SAP Reports / Programs | Financials | Financial Supply Chain Management | Basic Functions(FIN-FSCM-CLM-CM-CM) SAP FIN

RFEBLBT3 SAP ABAP Report - Autocash: Lockbox - Create test data for IDoc-Format







RFEBLBT3 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program for Testing IDoc Settings for Lockbox Processing Use this program in the test system only...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFEBLBT3 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFEBLBT3. "Basic submit
SUBMIT RFEBLBT3 AND RETURN. "Return to original report after report execution complete
SUBMIT RFEBLBT3 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ZTERM = Payment terms
Selection Text: WASTEACC = Dummy account
Selection Text: UPDATE = Update mode (Don't change)
Selection Text: SNDPRTN = Idoc - Partn.No.
Selection Text: SNDPORT = Idoc - Port
Selection Text: RESTG = External Reason Code
Selection Text: ORIGN = Origin
Selection Text: MODE = Mode (Don't change)
Selection Text: FUNCTION = Function (Don't change)
Selection Text: DESTI = Destination
Selection Text: DEDUCT = Deduction (100$ each invoice)
Selection Text: DEDNOINV = Deduction not related to invoi
Selection Text: DATUM = Date
Selection Text: CUST_W_3 = Customer (Child 2)
Selection Text: CUST_W_2 = Customer (Child 1)
Selection Text: CUST_W_1 = Customer (Headquarter)
Selection Text: CUST_3 = Customer number 3
Selection Text: CUST_2 = Customer number 2
Selection Text: CUST_1 = Customer number 1
Selection Text: CMEMO = Credit Memo
Selection Text: CMEMNUM = Credit Memo with number
Selection Text: CK_DIFF =
Selection Text: BUKRS = Company Code
Title: Autocash: Lockbox - Create test data for IDoc-Format


INCLUDES used within this REPORT RFEBLBT3

INCLUDE: RFEBKATM, RFEBKATC. "HW661400
INCLUDE: RFEBKATM, RFEBKATC. "HW661400


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

IDOC_INBOUND_WRITE_TO_DB CALL FUNCTION 'IDOC_INBOUND_WRITE_TO_DB' EXPORTING PI_STATUS_MESSAGE = I_EDI_DS IMPORTING PE_IDOC_NUMBER = DOCNUM PE_STATE_OF_PROCESSING = STPROC PE_INBOUND_PROCESS_DATA = I_TEDE2 TABLES T_DATA_RECORDS = I_EDI_DD CHANGING PC_CONTROL_RECORD = I_EDI_DC EXCEPTIONS IDOC_NOT_SAVED = 1 OTHERS = 2.

IDOC_START_INBOUND CALL FUNCTION 'IDOC_START_INBOUND' EXPORTING PI_INBOUND_PROCESS_DATA = I_TEDE2 * PI_CALLED_ONLINE = ' ' * PI_DO_COMMIT = 'X' * PI_START_EVENT_ENABLED = 'X' * PI_NO_ALE = ' ' * PI_ORG_UNIT = ' ' TABLES T_CONTROL_RECORDS = T_EDI_DC * T_DATA_RECORDS = EXCEPTIONS INVALID_DOCUMENT_NUMBER = 0 ERROR_BEFORE_CALL_APPLICATION = 0 INBOUND_PROCESS_NOT_POSSIBLE = 0 OLD_WF_START_FAILED = 0 WF_TASK_ERROR = 0 SERIOUS_INBOUND_ERROR = 0 OTHERS = 0.

EDI_DOCUMENT_TREE_DISPLAY CALL FUNCTION 'EDI_DOCUMENT_TREE_DISPLAY' EXPORTING DOCNUM = DOCNUM EXCEPTIONS NO_IDOC_FOUND = 0 OTHERS = 0.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING I_TCODE = TCODE I_SGFUNCT = SPACE IMPORTING E_SUBRC = SUBRC E_MSGID = MSGID E_MSGTY = MSGTY E_MSGNO = MSGNO E_MSGV1 = MSGV1 E_MSGV2 = MSGV2 E_MSGV3 = MSGV3 E_MSGV4 = MSGV4 TABLES T_FTPOST = FTPOST T_FTTAX = FTTAX T_BLNTAB = BLNTAB.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING I_FUNCTION = FUNCTION I_MODE = MODE I_UPDATE = UPDATE I_USER = SY-UNAME. "#EC DOM_EQUAL

POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END'.

CURRENCY_AMOUNT_SAP_TO_IDOC CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_IDOC' EXPORTING CURRENCY = WAERS SAP_AMOUNT = P_AMOUNT IMPORTING IDOC_AMOUNT = C_AMOUNT EXCEPTIONS OTHERS = 0.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFEBLBT3 or its description.