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: 

Serial Number and MSEG table while MB11, Co11n, MIGO and QA11

0 Kudos

Hello all,

I need your expert advice. I have to populate custom table on clicking save from any of the following transactions

MB11, Co11n, MIGO and QA11.

I found the enhancement spot in MM07MFB9_BUCHEN_AUSFUEHREN which is called by all the transactions and this enhancement has details about MSEG table and MKPF table which i want. However I need one extra information which is a serial number. GET_SERNOS_OF_DOCUMENTfunction module is not able to read the Serial Number from memory and user exit: EXIT_SAPLIE01_005 is called before the save button so i don't have MSEG table details at this point.

And what I don't understand is later when the debugger goes to another program it reads the serial number. how is this serial number is being passed, how can I access it?

Looking forward to your suggestions.

Thanks in advance.

Regards,

Reshu

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Did you use implicit enhancement or BAdI MB_DOCUMENT_BADI?

Are you able in debug to display internal table XSER03 of function group IPW1 (program SAPLIPW1)

Else could you consider moving your insert into this customer table in an update V2 FM, a perform at commit form or some RFC FM executed IN BACKGROUND task?

0 Kudos

Thanks Raymond. I will try the way you mentioned.

I could able to read the serial number with the help of export from serial number user exit and import at the enhancement point where I need to read it but have to check is this user exit is being called while performing QA11 and Co11n. if not then I have to again find the corresponding user exit.