Two User Exits have been provided which will provide the following:
- Subsequent validation can be carried out on the data selected from database based on the selection critereon entered on the selection screen.
- Data that is updated in the RG1 register can be changed as per the requirement. e.g: material form of the line item.
Two new fucntion modules need to be created in the function group J1I7.
Please follow the steps as listed Below.
For CIN 2.2B
- Go to transacion ‘SE80’.
- Goto function group J1I7 (Display)
- Keep cursor on ‘Function Modules’ and press ‘Create’ button.
- Give ‘J_1I7_USEREXIT_J1I5_VALIDATE’ as the name for the function module in the function group ‘J1I7’.
- In the ‘Admin’ tabstrip:
Application : M
Short Text : Userexit for subsequent J1I5 data validation
Proc. Typ : Normal, Start Immediately.
- In the Tables tabstrip:
Table parameters : T_MSEG
Ref. Structure : MSEG
Reference type : Blank
Optional : Checked
- Save and Genarate the Function Group.
- Go to transacion ‘SE80’.
- Goto function group J1I7 (Display)
- Keep cursor on ‘Function Modules’ and press ‘Create’ button.
- Give ‘J_1I7_USEREXIT_J1I5_MATFORM’ as the name for the function module in the function group ‘J1I7’.
- In the ‘Admin’ tabstrip:
Application : M
Short Text : Userexit for J1I5 material form changes
Proc. Typ : Normal, Start Immediately.
- In the Changing tabstrip:
CHANGING Parameter : S_RG1
Ref. Field/Structure : J_1IRG1
Reference Type : Blank
Proposal : Blank
Optional : Checked
Reference : Blank
- Save and Genarate the Function Group.
For CIN 30A
- Go to transacion ‘SE80’.
- Goto function group J1I7 (Display)
- Keep cursor on ‘Function Modules’ and right click the mouse and select the ‘Create’ option.
- Give ‘J_1I7_USEREXIT_J1I5_VALIDATE’ as the name for the function module
- In the function group ‘J1I7’ with the short text as ‘Userexit for
- subsequent J1I5 data validation’.
- In the ‘Attributes’ tabstrip:
Application : M
Proc. Typ : Normal, Start Immediately.
- In the ‘Tables’ tabstrip:
Parameter Name : T_MSEG
Type Spec. : LIKE
Reference type : MSEG
Optional : Checked
- Save and generate the function module.
- Go to SE80
- Goto function group J1I7 (Display)
- Keep cursor on ‘Function Modules’ and right click the mouse and select the ‘Create’ option.
- Give ‘J_1I7_USEREXIT_J1I5_MATFORM’ as the name for the function module in the function group ‘J1I7’ with the short text as ‘Userexit for J1I5 material form changes’.
- In the ‘Attributes’ tabstrip:
Application : M
Proc. Typ : Normal, Start Immediately.
- In the ‘Changing’ tabstrip:
Parameter name : S_RG1
Type Spec. : LIKE
Reference Type : J_1IRG1
Default Value : Blank
Optional : Checked
Pass Value : Checked
- Save and generate the function module.