07-02-2015 8:08 PM
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.
07-05-2015 2:22 PM
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
07-05-2015 2:22 PM
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
07-06-2015 10:04 PM
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?