2008 Jan 09 8:12 AM
hi all,
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
jayasankar
2008 Jan 09 8:20 AM
Hi,
Call that functionmodule in asynchronusly,
call function 'xxxxxxxxxxxxxxx' STARTING NEW TASK....
Thanks and Regards,
Edited by: chandra madapati on Jan 9, 2008 9:22 AM
2008 Jan 09 9:09 AM
HI,
after using this
Call that functionmodule in synchronusly,
call function 'PM_ORDER_DATA_READ ' in update task
again it goes to dump and giving the error
Non-update function module called for update.
please correct me if i am wrong.
2008 Jan 09 10:20 AM
Hi,
when I use STARTING NEW TASK with call function it is throughing an error that
Field "EXPORTING" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
but here in my function module i need to export some of the fields and how come i solve this problem can u guide me with detailed infromation.
2013 Aug 05 1:08 PM
Try CALL FUNCTION 'CO_IT_SET_FLG_ITAB_NEW' Before PM_ORDER_DATA_READ
2013 Aug 05 1:25 PM
Hi Jaya,
You have mentioned that the FM is not released. Then it is better to look out for another FM. If you specify your requirement maybe we can help you with an FM?
2013 Aug 05 1:37 PM
Hi Jaya.
Use FM 'CO_EXT_ORDER_RESET' before to call FM "PM_ORDER_DATA_READ".
Regards,
Manuel H.
PD: This question was posted in Jan 9, 2008 9:12 AM :S
2013 Aug 05 2:07 PM
Hello,
FM CO_EXT_ORDER_RESET can help you or try to add FREE MEMORY statement before calling second time the above FM.
Thanks
Katrice
Tuesday
Use this code to refresh every loop, before calling your main FM
CALL FUNCTION 'CO_ZF_DATA_RESET_COMPLETE'
EXCEPTIONS
OTHERS = 0.
CALL FUNCTION 'CO_BH_DATA_RESET'.