Application Development 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: 

Adding Tab and Field in MIGO

Former Member
0 Kudos

Hi,

Im recently new in programming in ABAP, and i have been asked to add a new Tabstrip at details level with a new field type MSEG-LLIEF.

I've created a BAPI implementation of MB_MIGO_BADI and copied the example code, I have been analyzing it carefully and also noticed that a field LLIEF already exists in the GOITEM structure. The tab and field for the user to fill must also appear only if the document is of movement 911 (BWART = '911'), it has to have a matchcode to table LFA1 (The Provider must exist in this table) and it must then be saved in field MSEG-LLIEF where MSEG-ZEILE = '0001'. My question is where to go from this point, cause im kinda lost.


Thanks.

1 ACCEPTED SOLUTION

thanga_prakash
Active Contributor
0 Kudos

Hello Ivo,

Implement your tabstrip logic in PBO_DETAIL and PAI_DETAIL methods.

Then you have to do a SPRO settings for the implementation in the below path.

Regards,

TP

2 REPLIES 2

thanga_prakash
Active Contributor
0 Kudos

Hello Ivo,

Implement your tabstrip logic in PBO_DETAIL and PAI_DETAIL methods.

Then you have to do a SPRO settings for the implementation in the below path.

Regards,

TP

0 Kudos

I have created a program which mantains my 2 subscreens (1 for display and 1 for mantaining data of field LLIEF). And I've re-written the code for most of the methods of the BADI. My problem is that i can't finish understanding where the field GOITEM-LLIEF displayed in my subscreen is saved internally. This is because my table GT_EXTDATA is always empty when the BADI executes, and when I want to display a material document CS_GOITEM in the method MODIFY_LINE comes with data, but when i want to transfer and save data to MSEG CS_GOITEM comes with emty MBLNR and MJAHR, so i can't fill my GT_EXTDATA, and then the method CHECK_ITEM triggers an error message.

Can you please tell me where the header data of the material documents are saved in the BADI?