cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_SALESORDER_SIMULATE ref contract

Former Member
0 Likes
1,037

Hello all,

I've create a contract with a price condition. Now I'm trying to simulate a salesorder via BAPI_SALESORDER_SIMULATE that orders an item from this contract. The problem I have is that it's not giving me the same price as I created in the contract. Instead I get the "standard" condition price (transactio VK13).

I've refered to the contract in the bapi via the Orderheaderin (fields REF_DOC and REF_DOC_CA). Maybe I'm missing a parameter? Does anybody have an idea? Thanks in advance!

Kind regards

Roel Vankerkom

Message was edited by: Roel Vankerkom

View Entire Topic
Former Member
0 Likes

hi Roel,

checkout the links..,

for basics..,

hope it helps..,

regards,

Vinoth

Former Member
0 Likes

Hello Vinoth,

Thanks for the quick reply.

I've already read that documentation like a 1000 times now , but I can't get it to work.

Kind regards

Roel

Former Member
0 Likes

Hello All,

I seem to have found it. Apparently you have to enter in OrdersItemsIn 2 extra parameters that refer to the contract: VAL_CONTR and VAL_CON_I. This did the trick.

Regard

Roel