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: 

Exception with L_TO_CONFIRM for change data

tracyhang
Explorer
442

I used L_TO_CONFIRM with table T_LTAP_CONF for Bin change case as bellows, but after running there will be exception {"Specified alternative unit of measure is not defined"}.

"TANUM":"2100699207" //TANUM: Transfer order number

"TAPOS":"0001" //TAPOS: Transfer order item

"NLPLA":"CG03_SO-04" //NLPLA: Destination Bin

"NISTA": "1000.000" //NISTA: Subsequent actual quantity

"NDIFA": "0.000" //NDIFA: Subsequent difference quantity

"KZDIF": "" //KZDIF: Difference indicator

"ALTME": "PCE" //ALTME: Unit of measure

To be emphasized, if set "I_SQUIT" equal to "X" without the table, it can work.

Please kindly guide me how to handle the exception with priority since it has troubled me for many days. Many thanks!

1 ACCEPTED SOLUTION

DominikTylczyn
Active Contributor
375

Hello tracyhang

Refer to the note 447328 - L_TO_CONFIRM - Interface documentation for detailed documentation of the function interface and how to populate it for various scenarios.

Assuming you have standard configuration of units of measure, PCE is the ISO code for "pieces":

Use the internal unit of measure code, instead of the ISO code, i.e. ST instead of PCE, when calling L_TO_CONFIRM.

Best regards

Dominik Tylczynski

3 REPLIES 3

DominikTylczyn
Active Contributor
376

Hello tracyhang

Refer to the note 447328 - L_TO_CONFIRM - Interface documentation for detailed documentation of the function interface and how to populate it for various scenarios.

Assuming you have standard configuration of units of measure, PCE is the ISO code for "pieces":

Use the internal unit of measure code, instead of the ISO code, i.e. ST instead of PCE, when calling L_TO_CONFIRM.

Best regards

Dominik Tylczynski

375

Hello Dominik,

Thank you so much for your quick and right answer, and I run it successfully now.

Your professional guide is just like fuel in snowy weather for me. Great!

0 Kudos
375

tracyhang I'm glad I could help!