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: 

How to use enhancement ISQM001 / EXIT_SAPLIPW1_001

Former Member
0 Kudos

Hello experts,

I have a requirement to dynamically change the serial numbers generated per line item in a PO posted in MIGO. To test whether the exit would work, I tried posting two line items, debugged, and saw that the exit had a table TAB_SERNR that would accept inputs.

However, it seems that the breakpoint was only passed on the last item, and that the Serial Number I entered only took effect there and there didn't seem to be any opportunity to change the other line item/s. My result upon checking in IQ09:

361-001-0002 is the dummy serial number I entered for testing.

Am I missing something? TAB_SERNR didn't seem to have any primary keys to map serial numbers with so I'm not quite sure how to populate it correctly. How do I use it?

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Are you asking on Enhancment IQSM0001?

Did you add multiple records in the TAB_SERNR, if you only provide one, then

"If fewer serial numbers than required are generated, due to the customer-specific program logic of this customer exit, the standard generation logic creates the remainaing serial numbers with consecutive, numerical keys."
4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

Are you asking on Enhancment IQSM0001?

Did you add multiple records in the TAB_SERNR, if you only provide one, then

"If fewer serial numbers than required are generated, due to the customer-specific program logic of this customer exit, the standard generation logic creates the remainaing serial numbers with consecutive, numerical keys."

0 Kudos

I see. So if I have for example three entries, and I supply TAB_SERNR with the same number of entries, they will be mapped correspondingly (meaning 1st TAB_SERNR entry = 1st line item entry and so on)?

0 Kudos

Yes sequentially.

0 Kudos

Thank you very much.