
Thursday, January 27, 2011
at
12:04 AM
|
1 comments
Fungsi BAPI_TRIP_GET_DETAILS adalah untuk mengambil nilai yang ada di travel expense tcode PR05.
data :
t_framedata type table of bapitrmain with header line,
t_receipts type table of bapitrvreo with header line,
t_addinfo type table of bapitraddi with header line,
t_amounts type table OF bapitrvsum with header line.
CALL FUNCTION 'BAPI_TRIP_GET_DETAILS'
EXPORTING
employeenumber = '151515' " <- Employee Number
tripnumber = '15' " <- Trip Number
language = sy-langu
calculate_amounts = 'X'
IMPORTING
framedata = t_framedata
TABLES
receipts = t_receipts
addinfo = t_addinfo
amounts = t_amounts.
data :
t_framedata type table of bapitrmain with header line,
t_receipts type table of bapitrvreo with header line,
t_addinfo type table of bapitraddi with header line,
t_amounts type table OF bapitrvsum with header line.
CALL FUNCTION 'BAPI_TRIP_GET_DETAILS'
EXPORTING
employeenumber = '151515' " <- Employee Number
tripnumber = '15' " <- Trip Number
language = sy-langu
calculate_amounts = 'X'
IMPORTING
framedata = t_framedata
TABLES
receipts = t_receipts
addinfo = t_addinfo
amounts = t_amounts.
Posted by
Shanto
Labels:
ABAP Function