There are times when we need to use the substitutions for particular fields but they are unavailable. This requires a small effort from our end to include the requisite field for the substitution rules. Here I would provide the steps, alongwith the screenshots, which will make things easier to understand.

1. Check if the field that needs to be substituted is already present or not.

2. If it is not present, go to SM30. Select the table VWTYGB01. Click on Maintain. For example, say the field cost center (KOSTL) needs to be substituted. This field will have the “Exclude” check box checked as shown below. Hence this is not present in the variables that can be substituted.

Capture5.PNG

3. Uncheck the “Exclude” checkbox for the requisite field. Since this field has been excluded, this is not showing up during the field search in substitution. Save it.

Capture6.PNG

4. Run the program RGUGBR00 via SE38 and execute it. The following showcases the selections that need to be made for running the program and including

     the appropraiate variables (in this case KOSTL).

     Capture3.PNG

     Capture4.PNG

5. The field KOSTL will get added to the substitution rules. Now this can also be used for substitution as and when required.

     Capture7.PNG

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply