Thursday, January 27, 2011

ABAP : BAPI_TRIP_GET_DETAILS

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.

1 comment:

syam said...

hi ..i want what are the sample inputs passed the std bapi for creation of BAPI_TRIP_CREATE_FROM_DATA..
plz sent me to my mail:syambabu.allu@GMAIL.COM

Post a Comment