2008 Aug 11 2:15 PM
I have 2 requirement:
1)
Need to update a ztable when post button is clicked.
2)
Need to added new tab in MIGO, add a text box(for one field of the ztable which we updated in requirement 1) in it and write a F4 help for that field.
So, some expert please tell me what is the exit in need to use for each of this requirement.
I have 2 requirement:
1)
Need to update a ztable when post button is clicked.
2)
Need to added new tab in MIGO, add a text box(for one field of the ztable which we updated in requirement 1) in it and write a F4 help for that field.
So, some expert please tell me what is the exit in need to use for each of this requirement.
2008 Aug 11 2:20 PM
For Requirement 1, use the BADI MB_MIGO_BADI and method POST_DOCUMENT.
Regards,
Naimesh Patel
2008 Sep 05 6:38 AM
Step 1: Create a new function group and add a new screen in it.
Step 2: Create a new implementation of MB_MIGO_BADI.
Step 3: Go to PBO_HEADER method of the badi. In this method there willl be three parameters: E_CPROG, E_DYNNR and E_HEADING. Give ur scrren name, screen number and heading that has to displayed.
e_cprog = 'XYZ'.
e_dynnr = '0001'. "External fields: Input
e_heading = 'Additional Screen'(004).
Create a new function module in this method to transfer header data value to your Z table . You can have a look at the sample class implementation.
Step 4: Now in status and header method transfer the values to gs_exdata_header.
Step 5: In Post document method . Create a new function module.Move ur header fields value to ur work area which is of type of ur z table.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |