SAP Reports / Programs

RCPTRA01 SAP ABAP Report - Data Transfer of Task Lists from External Systems







RCPTRA01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RCPTRA01 creates a batch input session for transferring external routing data to the SAP system...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 RCPTRA01 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OP8D - Data transfer APL


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 RCPTRA01. "Basic submit
SUBMIT RCPTRA01 AND RETURN. "Return to original report after report execution complete
SUBMIT RCPTRA01 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: INPFILE = Input file
Title: Data Transfer of Task Lists from External Systems
Text Symbol: 029 = Read PLMK texts
Text Symbol: 028 = Start date..................
Text Symbol: 027 = Hold processed sessions.....
Text Symbol: 026 = Client......................
Text Symbol: 025 = User........................
Text Symbol: 024 = Session.....................
Text Symbol: 023 = Input file..................
Text Symbol: 022 = PLFH texts read.......
Text Symbol: 021 = PLPO texts read.......
Text Symbol: 020 = PLFL texts read.
Text Symbol: 019 = PLKO texts read.......
Text Symbol: 018 = BTCI sessions created.
Text Symbol: 017 = PLMW read.............
Text Symbol: 016 = PLMK read.............
Text Symbol: 015 = PLWP read.............
Text Symbol: 014 = PLFV read.............
Text Symbol: 013 = PLFT read.............
Text Symbol: 012 = PLPH read.............
Text Symbol: 011 = PLMZ read.............
Text Symbol: 010 = PLFH read.............
Text Symbol: 009 = PLPO read.............
Text Symbol: 008 = PLTX read.............
Text Symbol: 007 = PLAB read.............
Text Symbol: 005 = PLFL read.............
Text Symbol: 004 = PLKO read.............
Text Symbol: 003 = EAPL read.............
Text Symbol: 002 = MAPL read.............
Text Symbol: 001 = *Counter for objects processed by RCPTRA01*


INCLUDES used within this REPORT RCPTRA01

INCLUDE FC270T04.
INCLUDE FC27DATE.


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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_logical_filename CHANGING physical_filename = inpfile EXCEPTIONS OTHERS = 1.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

CM_DI_GET_FTREL_FLAG CALL FUNCTION 'CM_DI_GET_FTREL_FLAG' IMPORTING e_flg_ftrel = l_flg_ftrel.

CM_DI_DET_BOMAT_BTCI CALL FUNCTION 'CM_DI_DET_BOMAT_BTCI' EXPORTING i_bomat = plmzd_data-bomat i_werks = plmzd_data-werks i_boman = plmzd_data-boman i_bomal = plmzd_data-bomal IMPORTING e_bomat = e_bomat e_werks = e_werks e_boman = e_boman e_bomal = e_bomal.

CS_BOM_EXPL_MAT_V2 CALL FUNCTION 'CS_BOM_EXPL_MAT_V2' EXPORTING aufsw = const-flg_yes ftrel = l_flg_ftrel mdmps = const-flg_yes mdnot = const-flg_yes capid = space datuv = sttag_expl mehrs = const-flg_yes mtnrv = e_bomat " PLMZD_DATA-BOMAT stlal = e_bomal " PLMZD_DATA-BOMAL stlan = e_boman " PLMZD_DATA-BOMAN werks = e_werks " PLMZD_DATA-WERKS IMPORTING topmat = topmat TABLES stb = stb_tab EXCEPTIONS missing_authorization = 01 no_bom_found = 02 no_suitable_bom_found = 03 OTHERS = 04.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING group = bi000-group holddate = bi000-start keep = bi000-xkeep user = bi000-usnam.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_logical_filename CHANGING physical_filename = inpfile EXCEPTIONS OTHERS = 1.

CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING input = plko_tab-datuv IMPORTING output = sttag_expl EXCEPTIONS plausibility_check_failed = 1 wrong_format_in_input = 2 OTHERS = 3.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = plko_tab-aennr IMPORTING output = aennr_int.

CC_CHANGE_NUMBER_CHECK CALL FUNCTION 'CC_CHANGE_NUMBER_CHECK' EXPORTING eccin = ccin_hlp IMPORTING adatuv = sttag_expl EXCEPTIONS OTHERS = 1.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = previous_transaction TABLES dynprotab = bdc_tab.

RFC_GET_NAMETAB CALL FUNCTION 'RFC_GET_NAMETAB' EXPORTING tabname = const_bipmz_tabname IMPORTING header = table_header_definition TABLES nametab = bipmz_definitions EXCEPTIONS table_not_active = 01.

TQ27_READ CALL FUNCTION 'TQ27_READ' EXPORTING * KZEINSTELL = ' ' vsteu = p_plmk_wa-vsteuerkz IMPORTING tq27_exp = l_tq27_wa EXCEPTIONS no_entry = 1 OTHERS = 2.

QPSD_FEATURE_VALID_READ CALL FUNCTION 'QPSD_FEATURE_VALID_READ' EXPORTING kz_aufloesung = ' ' "read no methods kz_nichtfrei = ' ' "only released master char.

QPSD_FEATURE_VERSION_READ CALL FUNCTION 'QPSD_FEATURE_VERSION_READ' EXPORTING kz_aufloesung = ' ' "read no methods kz_nichtfrei = ' ' "only released master char.

QSS0_QMKST_RQMST CALL FUNCTION 'QSS0_QMKST_RQMST' EXPORTING qmkst_imp = pi_qmkst IMPORTING rqmst_exp = pe_rqmst EXCEPTIONS OTHERS = 1.



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