2011 May 06 12:11 PM
Hi,
We are creating the sales order through a Non -SAP system for this we have made the RFC by suing BAPI
BAPI_SALESORDER_CREATEFROMDATA, after this later we update some text by using the BAPI , BAPI_SALESORDER_CHANGE, as in BAPI_SALESORDER_CREATEFROMDATA there is no filed for Usage indicator which is present at Header level in create sales order with VA01 we found this field in BAPI_SALESORDER_CHANGE in ORDER_HEADER_IN field DLVSCHDUSE, but when we pass this value to RFC it is not saving the passed Usage value in the sales order what can be the problem.
regards,
zafar
2011 May 06 3:50 PM
Are you getting any error in RETURN structure ? I didn't find any problem when i tried to simulate the same scenario. May be you are missing something while calling the bapi (may be the order_header_inx structure).
PS: Updation of this field is even possible while creating order through BAPI-BAPI_SALESORDER_CREATEFROMDAT2.
Regards, Vinod
Hi,
We are creating the sales order through a Non -SAP system for this we have made the RFC by suing BAPI
BAPI_SALESORDER_CREATEFROMDATA, after this later we update some text by using the BAPI , BAPI_SALESORDER_CHANGE, as in BAPI_SALESORDER_CREATEFROMDATA there is no filed for Usage indicator which is present at Header level in create sales order with VA01 we found this field in BAPI_SALESORDER_CHANGE in ORDER_HEADER_IN field DLVSCHDUSE, but when we pass this value to RFC it is not saving the passed Usage value in the sales order what can be the problem.
regards,
zafar
2011 May 06 3:50 PM
Are you getting any error in RETURN structure ? I didn't find any problem when i tried to simulate the same scenario. May be you are missing something while calling the bapi (may be the order_header_inx structure).
PS: Updation of this field is even possible while creating order through BAPI-BAPI_SALESORDER_CREATEFROMDAT2.
Regards, Vinod
2011 May 09 5:29 AM
Hi,
In preset case in the structure ORDER_HEADER_INX i am passing only Flag 'U' in the filed UPDATEFLAG so along with this what setting required to update the usage indicator the usage indicator value i am passing thorugh ORDER_HEADER_IN i.e structure BAPISDH1 field DLVSCHDUSE.
regards,
zafar
2011 May 09 5:40 AM
Alongwith the value passed to field in ORDER_HEADER_IN, you have to pass 'X' to corresponding field in ORDER_HEADER_INX also (in this case field DLVSCHDUSE).
Regards,Vinod
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |