12-23-2013 5:33 AM
Hi All,
I am doing an STO process using mvt scenario 15 & 16, during the ticketing processing i am getting the following message all of sudden:
No quantity could be derived from item 00001 in T_OIGISVMQ.
message class:O9 message no:868.
For the same STO and nomination earlier tickets were actualized without any issue. All of sudden tickets are getting created with the following error message.
Searched the forum, and saw a posting, but that did not help me much.
Please advice.
regards
srinivas
12-23-2013 6:29 AM
Hi,
Are you facing the issue with all the STOs or only for this particular STO? It seems an inconsistency.
This Error is called in only a program, LOIGIU05, function module OIGI_DEL_CONF_CREATE. Please analyze the code.
FORM T_PREPARE_QTY
TABLES T_OIGSVMQ STRUCTURE ROIGSVMQ
T_OIGSVMQ2 STRUCTURE ROIGISVMQ2
T_OIGISVMQ2 STRUCTURE ROIGISVMQ2
USING I_OIGISVMQ STRUCTURE ROIGISVMQ
O_PA1 STRUCTURE OIB_A04
I_TRSUM E_FACTOR.
data: l_trqty like oigsvmq-lgmng,
l_tfill like sy-tfill.
describe table t_oigsvmq lines l_tfill.
LOOP AT T_OIGSVMQ.
T_OIGSVMQ2-ITEM = SY-TABIX.
if sy-tabix = l_tfill.
t_oigsvmq-trqty = i_oigisvmq-trqty - l_trqty.
else.
T_OIGSVMQ-TRQTY = T_OIGSVMQ-TRQTY / I_TRSUM.
t_oigsvmq-lgmng = t_oigsvmq-trqty.
T_OIGSVMQ-TRQTY = T_OIGSVMQ-LGMNG.
l_trqty = l_trqty + t_oigsvmq-lgmng.
endif.
IF I_OIGISVMQ-HPM_EXTRN = '3'.
E_FACTOR = T_OIGSVMQ-TRQTY / I_OIGISVMQ-TRQTY.
LOOP AT T_OIGISVMQ2
WHERE ITEM = I_OIGISVMQ-ITEM.
T_OIGSVMQ2-MSEHI = T_OIGISVMQ2-MSEHI.
T_OIGSVMQ2-MANEN = T_OIGISVMQ2-MANEN.
T_OIGSVMQ2-ADQNT = T_OIGISVMQ2-ADQNT * E_FACTOR.
APPEND T_OIGSVMQ2.
ENDLOOP.
ENDIF.
T_OIGSVMQ-REAS_CODE = I_OIGISVMQ-REAS_CODE.
MODIFY T_OIGSVMQ TRANSPORTING TRQTY reas_code.
ENDLOOP.
IF NOT SY-SUBRC IS INITIAL.
MESSAGE E868(O9) WITH I_OIGISVMQ-ITEM.
You may take help from Abaper and check this code for correction
Regards,
12-23-2013 6:52 AM
hi Rahul,
I facing this error for this particular STO and shipment document numbers. While i analyze the coding, please let me know how to correct the ticketing documents & delivery documents which got created.
regards
srinivas
12-23-2013 6:55 AM
Once the Root cause for the issue becomes clear, only then we may be able to find a way to correct the tickets. Debugging the aforementioned code will definitely let you know the cause.
Regards,
12-23-2013 2:06 PM
Hi,
I have tried debugging, but not able to find the cause for the error message, any other way to address this issue ?
12-23-2013 2:22 PM
You may open an OSS message to SAP for thorough analysis of the issue.