SAP Reports / Programs

RM06BB30 SAP ABAP Report - Automatic Creation of Purchase Orders from Requisitions







RM06BB30 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RM06BB30 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

ME59N - Automatic generation of POs


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 RM06BB30. "Basic submit
SUBMIT RM06BB30 AND RETURN. "Return to original report after report execution complete
SUBMIT RM06BB30 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: P_ETERZ = D .
Selection Text: P_TXZ01 = D .
Selection Text: P_VRTYPK = D .
Selection Text: S_ANLN1 = D .
Selection Text: S_ANLN2 = D .
Selection Text: S_AUFNR = D .
Selection Text: S_BANFN = D .
Selection Text: S_BANPR = D .
Selection Text: S_BEDNR = D .
Selection Text: S_BESWK = D .
Selection Text: S_BSART = D .
Selection Text: S_DISPO = D .
Selection Text: S_EKGRP = D .
Selection Text: S_EKORG = D .
Selection Text: S_FLIEF = D .
Selection Text: S_FRGDT = D .
Selection Text: S_KNTTP = D .
Selection Text: S_KOSTL = D .
Selection Text: S_LFDAT = D .
Selection Text: S_MATKL = D .
Selection Text: S_MATNR = D .
Selection Text: S_NPLNR = D .
Selection Text: S_OBART = D .
Selection Text: S_PRIO_R = D .
Selection Text: S_PSEXT = D .
Selection Text: S_PSTYP = D .
Selection Text: S_RECNNR = D .
Selection Text: S_RESLO = D .
Selection Text: S_RESWK = D .
Selection Text: S_SEMPSL = D .
Selection Text: S_SGENR = D .
Selection Text: S_SGRNR = D .
Selection Text: S_SMENR = D .
Selection Text: S_SMIVE = D .
Selection Text: S_SNKSL = D .
Selection Text: S_STATU = D .
Selection Text: S_SVWNR = D .
Selection Text: S_SWENR = D .





Selection Text: S_VONBIS = D .
Selection Text: S_WERKS = D .
Selection Text: P_DETPRO = D .
Selection Text: P_AFNAM = D .
Selection Text: I_BUKRS = D .
Selection Text: S_VORNR = Operation Number
Selection Text: S_VBELP = Sales Order Item
Selection Text: S_VBELN = Sales Order
Selection Text: S_LGORT = Receiving Storage Location
Selection Text: S_KONNR = Contract
Selection Text: S_ADVCOD = Advice Code
Selection Text: P_STICH = Start of Settlement Period
Title: Automatic Creation of Purchase Orders from Requisitions
Text Symbol: S01 = Per Purchasing Group
Text Symbol: P02 = Real Estate Management
Text Symbol: 021 = Details Off
Text Symbol: 020 = Details On
Text Symbol: 019 = Error
Text Symbol: 018 = Warning
Text Symbol: 017 = Successful
Text Symbol: 016 = Other Parameters
Text Symbol: 009 = New Purchase Order
Text Symbol: 006 = Requisition could not be converted
Text Symbol: 005 = Requisition successfully converted
Text Symbol: 004 = Test run failed
Text Symbol: 003 = PO could not be created
Text Symbol: 002 = Test run successful
Text Symbol: 001 = Purchase order successfully created
Text Symbol: S02 = Per Plant
Text Symbol: S03 = Per Item Category
Text Symbol: S04 = Per Storage Location
Text Symbol: S05 = Per delivery date
Text Symbol: S06 = Per Vendor Subrange
Text Symbol: S07 = Per Requisition Item
Text Symbol: S08 = Generate Schedule Lines
Text Symbol: S09 = Per Requisition
Text Symbol: S10 = Per Company Code
Text Symbol: S11 = Omit Faulty Items
Text Symbol: S12 = Per Contract





Text Symbol: S21 = Detailed Log
Text Symbol: S22 = Test Run
Text Symbol: S23 = Set PReqs to "Closed"
Text Symbol: S24 = External Commit Work


INCLUDES used within this REPORT RM06BB30

INCLUDE FM06LCIM.
INCLUDE RM06BB30F00.
INCLUDE FM06BCS3.
INCLUDE RM06BB30F01.
INCLUDE RM06BB30F02.
INCLUDE RM06BB30F03.
INCLUDE IFVIIMSLF4.


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:

ME_CCP_ACTIVE_CHECK CALL FUNCTION 'ME_CCP_ACTIVE_CHECK' IMPORTING ef_ccp_active = lf_ccp_active.

ME_ITEM_CATEGORY_SELOPT_INPUT CALL FUNCTION 'ME_ITEM_CATEGORY_SELOPT_INPUT' TABLES ext_pstyp = s_pstyp int_pstyp = r_pstyp.

HELP_VALUES_EPSTP CALL FUNCTION 'HELP_VALUES_EPSTP' EXPORTING program = sy-cprog dynnr = sy-dynnr fieldname = 'S_PSTYP-LOW' * BSART = * BSTYP = IMPORTING epstp = s_pstyp-low EXCEPTIONS OTHERS = 0.

RS_SUPPORT_SELECTIONS CALL FUNCTION 'RS_SUPPORT_SELECTIONS' EXPORTING report = l_report variant = l_set_variant EXCEPTIONS OTHERS = 0.

ME_DELIV_STRG_LOC_ACTIVE CALL FUNCTION 'ME_DELIV_STRG_LOC_ACTIVE' IMPORTING ef_del_strg_loc_act = gv_del_strg_loc_act.

GET_DEFAULT_PRIO_ACTIVE CALL FUNCTION 'GET_DEFAULT_PRIO_ACTIVE' IMPORTING ev_mm_prio_active = gv_mm_prio_active EXCEPTIONS no_pact_entry = 1 OTHERS = 2.



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