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

BABI Issue while creating SALES ORDER

Former Member
0 Likes
764

Dear friends,

BAPI_SALESORDER_CREATEFROMDAT2

and

BAPI_TRANSACTION_COMMIT

The above standard BAPI's we are using to create SO through third party software and the commit bapi to commit the order in DB, but the issue is now, we have created one new condition type for determining

1.Loading and Unloading point

2.Inco1 and Inco2

3.PayT.

This will trigger when we are selecting the ORDER Reason, this is working fine when we create the Order manually in SAP, but through Third party software this is not triggering, it is taking its own values from the master.

Dear friends,

BAPI_SALESORDER_CREATEFROMDAT2

and

BAPI_TRANSACTION_COMMIT

The above standard BAPI's we are using to create SO through third party software and the commit bapi to commit the order in DB, but the issue is now, we have created one new condition type for determining

1.Loading and Unloading point

2.Inco1 and Inco2

3.PayT.

This will trigger when we are selecting the ORDER Reason, this is working fine when we create the Order manually in SAP, but through Third party software this is not triggering, it is taking its own values from the master.

3 REPLIES 3
Read only

Former Member
0 Likes
675

Hi

You can try the following

Create a RFC Function module and call the below mentioned BAPI's and After transaction commit.

Through BDC, click on order reason.

I hope this should work

Regards

MD

Read only

Former Member
0 Likes
675

Hi

Check whether the order reason is properly passed to BAPI.

Other way is to put the break point in the condition routine and try creating a new sales order. You can get the condition routine source code through TCODE V/08.

Read only

Former Member
0 Likes
675

Hi,

Here is the Example Program

Regards

Sudheer