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_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
671

Hi there,

I'm using this bapi and, when I pass values in the table ORDER_CONDITIONS_IN, it inserts the condition as new manual conditions, so it duplicate the condition.

It keeps the original condition with ZERO value, and put a new one under it, with the value that I passed.

There are anyway to avoid it?

Alexandre Nogueira.

4 REPLIES 4
Read only

Former Member
0 Likes
594

pass the update flag also in ORDER_CONDITIONS_INX structure.

ORDER_CONDITIONS_INX-UPDATEFLAG = 'U'.

Regards,

Ravi

Read only

0 Likes
594

But I don't have this structure ORDER_CONDITIONS_INX in this bapi.

thanks,

Alexandre Nogueira

Read only

0 Likes
594

Look for this declaration in the BAPI's IMPORT parameters:

ORDER_CONDITIONS_INX STRUCTURE BAPICONDX OPTIONAL

Or something that points to STRUCTURE BAPICOND

What version of R/3 are you running?

Read only

0 Likes
594

It's 4.6C