RPRSEL01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to transfer purchase requisitions procured from systems external systems to the Enterprise Buyer 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 RPRSEL01 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: LS_BANFN = Purchase requisition
Selection Text: LP_TRADT = Transfer date to be achieved
Selection Text: LP_QNAME = Name of queue (QRFC)
Selection Text: LP_PKSIZ = Packet size for selection
Title: Selection and transf. of purch. requisitions to external purch.systems
Text Symbol: 001 = Number of transferred purchase requisitions:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EMEBANE CALL FUNCTION 'ENQUEUE_EMEBANE' EXPORTING * MODE_EBAN = 'E' * MANDT = SY-MANDT banfn = ld_eprtrans-banfn bnfpo = ld_eprtrans-bnfpo * X_BANFN = ' ' * X_BNFPO = ' ' * _SCOPE = '2' * _WAIT = ' ' _collect = con_charx.
FLUSH_ENQUEUE CALL FUNCTION 'FLUSH_ENQUEUE' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ENQUEUE_EMEBANE CALL FUNCTION 'ENQUEUE_EMEBANE' EXPORTING * MODE_EBAN = 'E' * MANDT = SY-MANDT banfn = ld_eprtrans-banfn bnfpo = ld_eprtrans-bnfpo * X_BANFN = ' ' * X_BNFPO = ' ' * _SCOPE = '2' * _WAIT = ' ' _collect = space EXCEPTIONS foreign_lock = 1.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = ch_header-crmt_logsys.
UNIT_OF_MEASURE_SAP_TO_ISO CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING sap_code = us_eban-meins IMPORTING iso_code = ch_item-bbp_unit_iso.
BAPI_CURRENCY_CONV_TO_EXTERNAL CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL' EXPORTING currency = ch_item-waers amount_internal = us_eban-preis IMPORTING amount_external = ch_item-bbp_bapi_price EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_KONPR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_KONPR_OUTPUT' EXPORTING input = us_ebkn-ps_psp_pnr IMPORTING output = ch_kont-bbp_wbs_elem.
READ_NETWORK_NPLNR_VORNR CALL FUNCTION 'READ_NETWORK_NPLNR_VORNR' EXPORTING aplzl = us_ebkn-aplzl aufpl = us_ebkn-aufpl IMPORTING * NPLNR = vornr = ch_kont-vornr.
SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING * CLIENT = SY-MANDT database_only = con_charx id = 'B0*' language = '*' name = da_name object = 'EBAN' * TEXTMEMORY_ONLY = ' ' * ARCHIVE_HANDLE = 0 * IMPORTING * ENTRIES = TABLES selections = da_text_head.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING * CLIENT = SY-MANDT id = da_text_head-tdid language = da_text_head-tdspras name = da_text_head-tdname object = da_text_head-tdobject * ARCHIVE_HANDLE = 0 * IMPORTING * HEADER = TABLES lines = da_tline.
LANGUAGE_CODE_SAP_TO_ISO CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' EXPORTING sap_code = da_text_head-tdspras IMPORTING iso_code = ch_lt-laiso.
RM_KOKRS_TO_PLANT_FIND CALL FUNCTION 'RM_KOKRS_TO_PLANT_FIND' EXPORTING werks = us_werks * T001W_IMP = IMPORTING compcode = da_bukrs.
CO_TA_T001_READ CALL FUNCTION 'CO_TA_T001_READ' EXPORTING t001_bukrs = da_bukrs IMPORTING t001wa = da_t001wa.
STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = lv_objnr status = 'I0045' EXCEPTIONS object_not_found = 1 status_not_active = 2 OTHERS = 3.
STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = lv_objnr status = 'I0046' EXCEPTIONS object_not_found = 1 status_not_active = 2 OTHERS = 3.
BBP_BC_EXTREQ_INB CALL FUNCTION 'BBP_BC_EXTREQ_INB' DESTINATION ld_banf-logsys EXPORTING i_header = ld_header * I_HEADER_CUST = * I_TRFC_CALL = ' ' TABLES i_items = lt_b_pos * I_ITEMS_CUST = i_acc = lt_b_kont * I_ACC_CUST = i_limit = lt_b_limit i_texts = lt_b_lt i_bup = lt_b_gp * I_ORGDATA = * I_ATTACH = e_return = lt_return.
TRFC_SET_QUEUE_NAME CALL FUNCTION 'TRFC_SET_QUEUE_NAME' EXPORTING qname = lp_qname.
CALL FUNCTION 'BBP_BC_EXTREQ_INB' IN BACKGROUND TASK DESTINATION ld_banf-logsys EXPORTING i_header = ld_header * I_HEADER_CUST = i_trfc_call = 'X' TABLES i_items = lt_b_pos * I_ITEMS_CUST = i_acc = lt_b_kont * I_ACC_CUST = i_limit = lt_b_limit i_texts = lt_b_lt i_bup = lt_b_gp.
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 RPRSEL01 or its description.
RPRSEL01 - Selection and transf. of purch. requisitions to external purch.systems RPRSEL01 - Selection and transf. of purch. requisitions to external purch.systems RPRRUECK - Include with Routines for Retroactive Accounting Indicator RPRRD_FORMS - Form Routines for CATSXT Integration RPRRD_DAT - RPRRDDAT RPRPRT00 - documentation and ABAP source code