2023 May 17 10:13 AM
I tried to run L_TO_CREATE_MULTIPLE, but there is system exception:
"Specified alternative unit of measure is not defined"
Please kindly guide what is wrong in it. Many thanks!
Note:I have filled with bellow parameters:
function.SetValue("I_LGNUM", "HV1");
function.SetValue("I_BWLVS", "999");
IRfcTable tTable = function.GetTable("T_LTAP_CREAT");
tTable.Append();
tTable.CurrentRow.SetValue("WERKS", "PL1"); //WERKS: Plant
tTable.CurrentRow.SetValue("LGORT", "SL01"); //LGORT: Storage Location
tTable.CurrentRow.SetValue("MATNR", "93-13063-00"); //MATNR: Material Number
tTable.CurrentRow.SetValue("ANFME", 1); //NISTM: Requested quantity
tTable.CurrentRow.SetValue("ALTME", "PC"); //ALTME: Unit of Measure
tTable.CurrentRow.SetValue("VLTYP", "N00"); //VLTYP: Source Storage Type
tTable.CurrentRow.SetValue("VLPLA", "N-033"); //VLPLA: Source Storage Bin
tTable.CurrentRow.SetValue("NLTYP", "N00"); //NLTYP: Destination Storage Type
tTable.CurrentRow.SetValue("NLPLA", "N-034"); //NLPLA: Destination Storage Bin
tTable.CurrentRow.SetValue("SQUIT", "X"); //SQUIT: Indicator: confirmation of a transfer order item
2023 May 17 10:32 AM
Replace
tTable.CurrentRow.SetValue("ALTME", "PC"); //ALTME: Unit of Measure
with
tTable.CurrentRow.SetValue("ALTME", "ST"); //ALTME: Unit of Measure
Internal format (There is a conversion exit on unit of measure)
2023 May 17 10:32 AM
Replace
tTable.CurrentRow.SetValue("ALTME", "PC"); //ALTME: Unit of Measure
with
tTable.CurrentRow.SetValue("ALTME", "ST"); //ALTME: Unit of Measure
Internal format (There is a conversion exit on unit of measure)
2023 May 17 3:24 PM
Hello raymond.giuseppi,
Thank you so much for your reply.
I tried again and it works now, great!
2023 May 17 11:00 AM
A very similar question has already been asked and answered: Exception with L_TO_CONFIRM for change data