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

Internal Order Creation

Former Member
0 Likes
1,313

Hi,

We are trying to create an internal order via the function BAPI_INTERNALORDER_CREATE. The documentation of this function says: "Investment management fields are also not supported.". But we need to enter the fields "Investment profile" - COAS-IVPRO - and "Investment reason" - COAS-IZWEK. These fields cannot be entered using the table EXTENSIONIN because you can only use the structure BAPI_TE_AUFK (an extension of the AUFK table) and the fields we need are already in AUFK.

How can we then enter the fields with this bapi?

Kind regards,

Lieselot

Hi,

We are trying to create an internal order via the function BAPI_INTERNALORDER_CREATE. The documentation of this function says: "Investment management fields are also not supported.". But we need to enter the fields "Investment profile" - COAS-IVPRO - and "Investment reason" - COAS-IZWEK. These fields cannot be entered using the table EXTENSIONIN because you can only use the structure BAPI_TE_AUFK (an extension of the AUFK table) and the fields we need are already in AUFK.

How can we then enter the fields with this bapi?

Kind regards,

Lieselot

9 REPLIES 9
Read only

Former Member
0 Likes
1,212

Anyone?

Read only

0 Likes
1,212

Debug the order transaction. You will find a function module which updates the fields COAS-IVPRO and COAS-IZWEK.

Once you found that FM follow the steps.

1. First call the BAPI and create the order.If the BAPI is successful then

2.Call the FM and update the above 2 fields(COAS-IVPRO and COAS-IZWEK.).

Read only

0 Likes
1,212

The problem is that the BAPI is never successful because the two fields are mandatory!

Read only

0 Likes
1,212

Then better search for another BAPi or FM.

Read only

0 Likes
1,212

Are there other BAPI's available to create an internal order where I can enter the required information?

Read only

0 Likes
1,212

Try this

ALE_INTERNALORDER_CREATE .

Read only

0 Likes
1,212

Deepti,

I do not think this will resolve my problem. The function ALE_INTERNALORDER_CREATE makes use of the same structures as BAPI_INTERNALORDER_CREATE, so we still cannot enter the required fields.

Any other suggestions?

Kind regards,

Lieselot

Read only

0 Likes
1,212

Anyone?

Read only

0 Likes
1,212