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_CREATE

Former Member
0 Likes
679

Hi Guru,

I have one text file in which I have the data.

Based on the data I am creatinmg the Sales Order.

I have condition type in the text file. If the text file has the condition type then it should create the sales order with the condition type of file or else it should pock the condition type from the system.

After getting the data from the file I am calling BAP_SALESORDER_CEATE.

In my file I have the condition record and I am passing that record in BAPI.

But when I check in VA03 it is creating the two condition type one from file and one from the sysyem ( it is taking from the system).

But it sud be created from the file as I am passing the condition type of te file only.

Could you please sugget me that how can I stop that if it is taking from the system.

Thanks,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
619

Hi,

Try passing the logic_switch structure to the bapi call. Populate the following fields with the values mentioned below:

PRICING = 'B'

COND_HANDL = 'X'.

Br,

Advait

5 REPLIES 5
Read only

Former Member
0 Likes
620

Hi,

Try passing the logic_switch structure to the bapi call. Populate the following fields with the values mentioned below:

PRICING = 'B'

COND_HANDL = 'X'.

Br,

Advait

Read only

0 Likes
619

Thanks for reply.

In this case system is not taking the price value from te file, it is taking the system price value.

Is there any other option to take the pricing from the file.

Read only

0 Likes
619

OK , perhaps this will help.

PRICING = 'C'.

"Copy manual pricing elements and redetermine the others"

Please check with your functional consultant also if there are any config settings that adds the condition type.

Br,

Advait

Read only

Former Member
Read only

Former Member
0 Likes
619

.

Edited by: Krupaji on Jan 19, 2010 12:31 PM