02-09-2018 11:22 AM
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?
02-09-2018 12:52 PM
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."
02-09-2018 12:52 PM
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."
02-21-2018 10:49 AM
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)?
02-21-2018 10:55 AM
03-01-2018 6:51 AM