Hi,
Good Morning !!!
We are trying to create the Sales Order in SAP ECC based on the Quote using the BAPI BAPI_SALESORDER_CREATEFROMDAT2.
While Sales Order creation we need to set the User Status at the Order line item level based on some specific rules .We have configured the Status Profile for this and the user Status field is now showing at the Sales Order line item level in the Status Tab.
But in the BAPI BAPI_SALESORDER_CREATEFROMDAT2 there is no option to update the User Status at Sales Order line item.
Please let me know the options for updating the User Status at the Sales Order line item level while performing the Sales order creation through
BAPI_SALESORDER_CREATEFROMDAT2.
Thanks,
Bintu
Hi Bintu,
You may have to use the EXTENSIONIN structure of the BAPI to pass the status value and use the FM STATUS_CHANGE_EXTERN inside user exit MV45AFZZ to change the user status.
take a look at the link http://scn.sap.com/docs/DOC-34891 also,which details about the tables involved.
Thanks
Hello Bintu ,
Can you make it clear what you mean by User Status as I was not able to find any related field in VBAP ( S O item Table ) with such Description .
Do you mean Sale Order Status , Overall Status , Delivery Status or anything else .
The status is stored in table "JEST". You can update the table using modify statement after successful update from BAPI.
Regards
Add a comment