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

update the document flow (VBFA table)

Former Member
0 Likes
1,590

I need to update the document flow (VBFA table) when a contract is

assigned to a sales order. I am creating sales orders using

BAPI_SALESORDER_CREATEFROMDAT2 and have the contract number in the

inbound file from legacy system.

I tried passing the reference document no in the BAPI but the document

flow was not updated. How can this be achieved?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
737

Hello

You could check you contract sales order type in config and ensure the document flow indicator is set as well as the copy controls you require. If forget off hand if there the doc flow flag is in the BABI itself but you could double-check.

2 REPLIES 2
Read only

Former Member
0 Likes
738

Hello

You could check you contract sales order type in config and ensure the document flow indicator is set as well as the copy controls you require. If forget off hand if there the doc flow flag is in the BABI itself but you could double-check.

Read only

Former Member
0 Likes
737

Pls. look into the return fields of bapi.

take return of bapi call in separate internal table, this can tell you the reason behind it.

reward point if helpful.

Rgs,

Ashok.