2009 Sep 24 8:32 AM
Hi Experts,
I have created a value contract, in which the line items are assortment module number, which will further have materials.
Then If I create a sales order with reference to the contract, it validates the material quantity rate with contract quantity and it throws error it material quantity rate exceeds the value of contract.
But when I create sales order with reference to contract using BAPI_SALESORDER_CREATEFROMDAT2, it is not giving the error and it creates the sales order. It is not updating the contract released value also.
So, I am missing some parameters in BAPI. Kindly help me in populating the BAPI parameters to do this validation.
Thanks and regards,
Venkat
Hi Experts,
I have created a value contract, in which the line items are assortment module number, which will further have materials.
Then If I create a sales order with reference to the contract, it validates the material quantity rate with contract quantity and it throws error it material quantity rate exceeds the value of contract.
But when I create sales order with reference to contract using BAPI_SALESORDER_CREATEFROMDAT2, it is not giving the error and it creates the sales order. It is not updating the contract released value also.
So, I am missing some parameters in BAPI. Kindly help me in populating the BAPI parameters to do this validation.
Thanks and regards,
Venkat
2009 Sep 24 9:51 AM
2009 Sep 24 10:06 AM
2009 Sep 24 10:35 AM
Hi venkat,
sorry you have not yet discovered the forums search function, try
[Search for How to populate BAPI_SALESORDER_CREATEFROMDAT2|http://forums.sdn.sap.com/search.jspa?objID=f50&q=Howtopopulate+BAPI_SALESORDER_CREATEFROMDAT2]
Another common solution without bothering the community is
[How to populate BAPI_SALESORDER_CREATEFROMDAT2|http://www.google.cn/search?hl=en&source=hp&q=HowtopopulateBAPI_SALESORDER_CREATEFROMDAT2&btnG=GoogleSearch&aq=f&oq=Howtopopulate+BAPI_SALESORDER_CREATEFROMDAT2&cad=h]
Best regards,
Clemens
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |