Application Development 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: 

Reassign salesinquiry to a contract

b_deterd2
Active Contributor
0 Kudos

Hi,

I don't know if it is possible but the requirement is that salesinquiries which are created without a reference to a contract can be reassigned to a contract.

Is there any bapi or fm for this? I did have a look at bapi_customerinquiry_change but these do not have the input for refobjkey and refdoctype. Or should I look to change the document flow to do this?

Any help will be appreciated.

regards,

Bert

3 REPLIES 3

Former Member
0 Kudos

Hi,

Once the document has been created the reference document cannot be updated. It has to be performed at the time of creating the document.

Regards,

Darren

0 Kudos

Thanks for answering,

If not possible, is it possible to create a salesorder with reference to a contract from the salesinquiry ? With the bapi_salesorder_createfromdat2 for instance?

regards,

bert

0 Kudos

Yes, the reference fields need to be specified on the ORDER_HEADER_IN parameter.

Darren