I am using BAPI_ENTRYSHEET_CREATE to create service entry sheets. However, the cost center is not updated in the service entry sheets. (though I am passing it in BAPI ). It by default take it from PO.
Can someone help me.
CALL FUNCTION 'BAPI_ENTRYSHEET_CREATE'
entrysheetheader = wa_header
* testrun = 'X'
entrysheet = ws_entrysheet_no
ENTRYSHEETACCOUNTASSIGNMENT = i_service_acc1 <-- I am passing CC here
entrysheetservices = bapi_esll
return = i_return