Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI BAPI_PROCORD_CREATE - Process Order

Former Member
0 Likes
842

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

1 REPLY 1
Read only

Former Member
0 Likes
641

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.