‎2007 May 22 1:42 PM
hi
am trying to use the fm PM_ORDER_DATA_READ to read the operations for an order..but strangely when it's called for the second time in the loop, it goes to dump raising ITAB_ERROR exception...even it does the same when executed for the second time giving order number as input in se37...what could be wrong? the FM is not released..any corrective measures to be taken to use this fm for the second time...i saw a similar thread related to this, but not many replies...am on 4.7
regards
Sathish. R
‎2007 May 22 1:46 PM
Hallo,
most likely the ITAB definition is defined something like Sorted tab. So during the second loop it tries to insert a duplicate record.
What is the exact ITAB error message?
Regards
Martin
‎2007 May 22 1:49 PM
hi
thanks for the answer...but no..this is my declaration
TYPES : BEGIN OF IAFVGD.
INCLUDE STRUCTURE AFVGD.
TYPES END OF IAFVGD.
DATA: MY_IAFVGD TYPE STANDARD TABLE OF IAFVGD,
WA_MY_IAFVGD LIKE LINE OF MY_IAFVGD.
i even tried initializing the work area and iafvgd...still same result...any thoughts?
Sathish. R
‎2007 May 23 6:48 AM
any thoughts on this friends? still am getting the same result
Sathish. R
‎2013 Aug 05 1:15 PM
Try FM 'CO_EXT_ORDER_RESET' and/Or 'CO_IT_SET_FLG_ITAB_NEW' Before PM_ORDER_DATA_READ