Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MIGO exits

Former Member
0 Likes
605

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.

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
571

For Requirement 1, use the BADI MB_MIGO_BADI and method POST_DOCUMENT.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
571

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.