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: 

Data is not saving in customer subscreen of ME21N

krishnendu_laha
Active Contributor
0 Kudos

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.

1 REPLY 1

krishnendu_laha
Active Contributor
0 Kudos

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