Getting Billing Detail Function Module
APPEND IF_BIL_NUMBER TO LT_BIL_NUMBER.
* read invoice data from db or buffer
CALL FUNCTION 'LB_BIL_INV_OUTP_READ_DBDATA'
EXPORTING
IT_BIL_NUMBER = LT_BIL_NUMBER
IF_LANGUAGE = IF_LANGUAGE
IS_DB_DATA_TO_READ = LS_DB_DATA_TO_READ
IF_READ_MODE = ' '
* IF_REFRESH_BUFFER = ' '
IMPORTING
ES_BIL_OUTP_DBDATA = LS_BIL_OUTP_DBDATA
EXCEPTIONS
RECORDS_NOT_FOUND = 1
RECORDS_NOT_REQUESTED = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
* Fehlerprotokoll
ENDIF.
Comments
Post a Comment