10-08-2013 3:48 PM
Dear All
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'
EXPORTING
entrysheetheader = wa_header
* testrun = 'X'
IMPORTING
entrysheet = ws_entrysheet_no
TABLES
ENTRYSHEETACCOUNTASSIGNMENT = i_service_acc1 <-- I am passing CC here
entrysheetservices = bapi_esll
return = i_return
.
Regards,
Venkat
10-08-2013 5:58 PM
I'm not particularly familiar with this one, but might you have to mark the field TO_COSTCTR?
Neal
10-08-2013 6:05 PM
A second thought. Did you do an alpha conversion to it as done in LMLSXF3Z
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' | "Kostenstelle |
EXPORTING | |
INPUT = B_ESKN-KOSTL | |
IMPORTING | |
OUTPUT = B_ESKN-KOSTL | |
EXCEPTIONS | |
OTHERS = 1. |
10-09-2013 4:41 AM
Hi Venkateswaran,
Give inputs as per the attachments. It will work.
The key is to use dummy pack no and sub pack no even though you have pack no & Sub pack no for the service master.
10-09-2013 4:42 AM