SAP Reports / Programs | Logistics - General | Logistics Basic Data | Customer Master(LO-MD-BP-CM) SAP LO

RFBIDE20 SAP ABAP Report - Transfer Customer Master Data from Source Company Code: Receive







RFBIDE20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFBIDE20 can be used to read and transfer files created by program RFBIDE10 to the target company codes...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 RFBIDE20 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 RFBIDE20. "Basic submit
SUBMIT RFBIDE20 AND RETURN. "Return to original report after report execution complete
SUBMIT RFBIDE20 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: DS_NAME = File name
Selection Text: FL_CHECK = Check file only
Selection Text: GROUP = Batch input session name
Selection Text: STR_OLD = File from Release < 4.0A
Selection Text: UE_BUKRS = Target company code
Selection Text: XNONUNIC = File in Non-Unicode Format
Title: Transfer Customer Master Data from Source Company Code: Receive
Text Symbol: 001 = BUK DATEN DEBI;;
Text Symbol: BL4 = Program control


INCLUDES used within this REPORT RFBIDE20

INCLUDE RFDBRMAC.


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:

FI_MESSAGE_INIT CALL FUNCTION 'FI_MESSAGE_INIT'.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = 'FI_COPY_COMPANY_CODE_DATA_FOR_CUSTOMERS' PARAMETER_1 = DS_NAME IMPORTING FILE_NAME = DS_NAME1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-cprog CHANGING physical_filename = ds_name1 EXCEPTIONS OTHERS = 1.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = MSGTAB.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = MSGTAB.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = MSGTAB.

MOVE_FILE1_2_BKNB1 CALL FUNCTION 'MOVE_FILE1_2_BKNB1' EXPORTING I_WA = g_wa IMPORTING BKNB1 = BKNB1.

FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS NO_MESSAGE = 01.

FI_MESSAGE_SORT CALL FUNCTION 'FI_MESSAGE_SORT'.

FI_MESSAGE_PRINT CALL FUNCTION 'FI_MESSAGE_PRINT'.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = 'FI_COPY_COMPANY_CODE_DATA_FOR_CUSTOMERS' PARAMETER_1 = UZEIT IMPORTING FILE_NAME = DS_NAME2.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = JOBNAME JOBGROUP = 'FBID' IMPORTING JOBCOUNT = JOBCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING JOBCOUNT = my_jobcount JOBNAME = my_jobname EXCEPTIONS NO_RUNTIME_INFO = 1 OTHERS = 2.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING JOB_READ_JOBCOUNT = my_jobcount JOB_READ_JOBNAME = my_jobname JOB_READ_OPCODE = btc_read_jobhead_only IMPORTING JOB_READ_JOBHEAD = jobhead EXCEPTIONS INVALID_OPCODE = 1 JOB_DOESNT_EXIST = 2 JOB_DOESNT_HAVE_STEPS = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBNAME = JOBNAME JOBCOUNT = JOBCOUNT STRTIMMED = 'X' TARGETSERVER = xserver "Note 1021603 EXCEPTIONS "Note 1728590 cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBCOUNT = JOBCOUNT JOBNAME = JOBNAME EXCEPTIONS OTHERS = 1.

FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS NO_MESSAGE = 01.

FI_MESSAGE_SORT CALL FUNCTION 'FI_MESSAGE_SORT'.

FI_MESSAGE_PRINT





CALL FUNCTION 'FI_MESSAGE_PRINT'.



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 RFBIDE20 or its description.