Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

Learning SHD0 with Example

$
0
0

Hello All ,

 

I would like to share a document with you all which is related to my recent work using SHD0.

 

This is a very familiar Tcode both used by a Technical and Functional Consultants but if its used correctly and appropriately am sure it can avoid many Enhancement and Modification developments.

 

And I was not able to find any related documents about this here when I needed that's why I would like to take this opportunity to provide an informative content to our own SCN so that its helpful for all others.

 

Lets take a very general example of CO11N ( I was to work over this only ).

This tcode is used to confirm Production Order , Production Order indeed contains all BOM related materials required for a Particular Production. Now what happens sometimes end users use to delete or alter these BOM materials and in our company the requirement was to stop this at user ID level.

 

Usually while using SHD0 everyone use to create a ZTcode for using it , but we can do it without creating a Ztcode which I am going to explain.

 

Steps :

 

1. Tcode SHD0

 

SHD0_1.PNG

Give Tcode name and Transaction Variant name.

Transaction Variant can contain many Screen Variants inside it.

 

With the press of Enter it will start simulating CO11N and with each processing , system will propose for Screen Variants to be created for each screen elements such as Buttons , Tool Bars , Menu functions , Sub Screens with fields.

 

Which will continue as below :

 

SHD0_2.PNG

 

SHD0_3.PNG

 

By clicking on the Menu Functions button here you can also Edit functionality of Menu Functions

 

SHD0_4.PNG

 

SHD0_6.PNG

 

The above screen variant is for the Pushbuttons of CO11N and you can see that I have done some settings . We will see their effects in the last.

You can see the above proposal gives whole description about that Screen element like Program name with screen number , if you have any confusion you can simulate the same using SE51 and confirm.

 

We will continue like this ,

 

SHD0_7.PNG

 

This for making Order field mandatory with Material field Output only.

 

SHD0_8.PNG

 

SHD0_9.PNG

 

shd0_10.PNG

 

Now press Goods Movement , for further processing.

 

shd0_11.PNG

 

with the press of enter it will again continue in the same fashion ,

 

SHD0_12.PNG

 

Here comes the ToolBar and you can see that I have set DELETE option to Output only.

 

shd0_13.PNG

 

And Here I have removed the change in Quantity option.

 

Now press Exit and Save ( when you get your things done ) option .

 

 

2. Assigning Users

 

shd0_14.PNG

 

Now create a Group lets say ZSIJIN ( option available under the Variant Groups tab which is under Standard Variants tab ). Inside this Group we can collect various transaction variants along with their properties.

Here we are now going to assign Users. And for this Users Transaction variant will come into action.

 

SHD0_15.PNG

 

Don't forget to press Assign and Set Proposal Buttons.

 

 

3. Now lets see the overall effect. I have highlighted them.

 

SHD0_16.PNG

 

shd0_17.PNG

 

shd0_18.PNG

 

Hope this will be helpful to many and is a worthy document


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>