01-29-2008 5:30 AM
Hi Friends,
I have implemented BADI ME_GUI_PO_CUST for adding a tab and subscreen in PO.
I have also implemented BADI ME_PROCESS_PO_CUST for displaying screen elements.
Everything is OK except it is not saving in the database through ME21N/ME22N.
I have added append structure in EKKO, MEPOHEADER and added flag in MEPOHEADERX; tried many things in code but it is not saving.
Please tell me if i am missing any step...
Points will be awarded.
01-29-2008 10:10 AM
Hi,
I solved the probelm by mine. We have to create a Z table with the same structure like screen and also with EBELN.
And save data in internal table TRANSPORT_TO_MODEL and read from internal table if entry saved in TRANSPORT_FROM_MODEL. (ME_GUI_PO_CUST)
After that in ME_PROCESS_PO_CUST, implement in OPEN method, write code for selecting from Z table.
Write code in POST method for saving in that Z table.
Do not forget for all these excersies we have to use function module that will reside in same function group where the subscreen resides.
Good i should give pat on my shoulder.
Regards
Krishnendu