2010 Apr 30 9:02 PM
Hi All:
I´m having problems with BAPI BAPI_PROCORD_CREATE, it is used for creating Process Orders.
When I execute it in Dialog mode everithing is OK, but in Background mode a RAISE EXCEPTION is called (At function module ACDP_FLUSH_LARGEPARAM).
The problem is when the BAPI is calling screen 5115 in funtion module CO_KO_ORDER_ENTRY_EXT. I don´t know WHY it is called in dialog mode. I´ve checked all flag for SUPRESS DIALOG and also the 'Assembly type' for structure ORDPAR (field MNTGA).
I´m working with ECC 6.0
Does any one know anything about this ? or Somethig is missing ?
I hope you can help me.
Regards.
Edited by: EDUARDO AVILA on Apr 30, 2010 10:18 PM
2010 May 06 5:01 PM
Well the problem is solved but I don´t thing it's the best solution.
The problem is when Method IF_EX_WORKORDER_EXEC_STEPS~CREATE is called (Assigment of Xsteps), several messages are triggered at this time and class CL_GUI_OBJECT is executed, so here is the problem, I had to implement an enhancement in order to set IS_INIT attribute.
Like I said, I don´t like the solution even if it is well validated.
Does anyone Know or have any idea of this ?.
Thanks in advanced.
P.D. I´ve checked notes:
0000991923- Exception condition "DP_ERROR_SEND_DDBEHAVIOR"
0001118142 - CLOCO - short dump DP_ERROR_SEND_DDBEHAVIOR
0001296784 - Short dump RAISE_EXCEPTION w/ excpn DP_ERROR_SEND_DDBEHAVIOR
0001401937 - BOM selection during manufacture of co-products using BAPI
0001404598 - BAPI: Data from Sales order is lost during order creation
0001450677 - No automatic deletion of XSteps with invalid context
Mi problem is just like the mentioned in note 1118142, but the solution for this is implemented in another moment.