on 03-06-2009 1:38 PM
Hi
We are creating sales order with BAPI_SALESORDER_CREATEFROMDAT2 .
We have to pass cost center field to header doc. thorugh BAPI
As cost center filed is mandatory to complete S.O.
but we dont find Cost Center field in this BAPI, then how we have to pass this field to make S.O success
Thanks in advance
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any solution now?
I tried to use "BAPI_SALESORDER_CHANGE" to update the cost center because the input parameter "ORDER_HEADER_IN" of this bapi has a field named "COSTCENTER". But it is quite strange inside the FM, ORDER_HEADER_IN will be assigned to a variable with structure = BAPISDHD1, and then cost center becomes meaningless totally inside change bapi, so till now, there is no way to update cost center both in create bapi and change bapi.
Any ideas, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.