SAP Reports / Programs | Quality Management | Quality Planning | QM Control in Procurement(QM-PT-RP-PRC) SAP QM

RQBAAM10 SAP ABAP Report - QM Release: Collective Maintenance







RQBAAM10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to make mass changes to quality information records...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 RQBAAM10 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

QI06 - QM Releases: Mass maintenance


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 RQBAAM10. "Basic submit
SUBMIT RQBAAM10 AND RETURN. "Return to original report after report execution complete
SUBMIT RQBAAM10 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: ABNART1 = Source Inspection
Selection Text: ABNART2 = Source Inspection
Selection Text: IND_12 = Change Release Date
Selection Text: IND_22 = Change Release Quantity
Selection Text: IND_32 = Change QM System
Selection Text: IND_42 = Change Inspection Control
Selection Text: IND_52 = Change Source Inspection
Selection Text: IND_62 = Change Source/GR Inspection
Selection Text: IND_72 = Change Block
Selection Text: IND_82 = Set Values
Selection Text: KZ_EINF = Only for Purchase Info Records
Selection Text: NOABN1 = Source Instead of GR Insp.
Selection Text: NOABN2 = Source Instead of GR Insp.
Selection Text: PMATCLAS = Material Class
Selection Text: QSSYSFA1 = Existing QM System
Selection Text: QSSYSFA2 = Existing QM System
Selection Text: SPERGRN1 = Blocking Reason
Selection Text: SPERGRN2 = Blocking Reason
Selection Text: SPERRFK1 = Block Function
Selection Text: SPERRFK2 = Block Function
Selection Text: STSMA1 = Status Profile
Selection Text: STSMA2 = Status Profile
Selection Text: S_LIFNR = Vendor
Selection Text: S_MATNR = D .
Selection Text: S_WERKS = D .
Selection Text: VARIANT1 = D .
Selection Text: VARIANT2 = D .
Selection Text: VARIANT3 = D .
Title: QM Release: Collective Maintenance
Text Symbol: VAR = List Variant
Text Symbol: OFF = Inactive
Text Symbol: 001 = Reloading Data
Text Symbol: 00A = Selection of Q-Info Records
Text Symbol: 00B = Detail Data
Text Symbol: 00C = Release
Text Symbol: 00D = Certification
Text Symbol: 00E = Source Inspection
Text Symbol: 00F = Block





Text Symbol: 00G = Status Profile
Text Symbol: 00K = Release Until
Text Symbol: 00M = Existing QM System
Text Symbol: 00N = Inspection Control
Text Symbol: 00O = Insp.Type: Source Insp.
Text Symbol: 00P = Lead Time
Text Symbol: 00Q = Source Insp.- No GR
Text Symbol: 00R = Block Function
Text Symbol: 00S = Released Quantity
Text Symbol: 00T = Status Profile
Text Symbol: 00U = Valid To
Text Symbol: 00V = Display Variant
Text Symbol: A01 = >> Error: control key & not defined
Text Symbol: AC1 = Class Selection Active
Text Symbol: AC2 = Class Selection Inactive
Text Symbol: CL2 = Material Class
Text Symbol: CL3 = Only for Purchasing Info Records
Text Symbol: CL4 = No Deleted Q-Info Records
Text Symbol: CL5 = Add
Text Symbol: CL6 = Change
Text Symbol: CL7 = Display
Text Symbol: CS1 = Class Selection
Text Symbol: F01 = My Default
Text Symbol: LON = Active Processing Mode


INCLUDES used within this REPORT RQBAAM10

INCLUDE RQALVTOP.
INCLUDE RQ_ICON.


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:

QSS0_MAT_CLASS_SELECTION CALL FUNCTION 'QSS0_MAT_CLASS_SELECTION' TABLES t_matnr = g_matnr_tab EXCEPTIONS no_selection = 1 OTHERS = 2.

STATUS_PROFILE_HELP_REQUEST CALL FUNCTION 'STATUS_PROFILE_HELP_REQUEST' EXPORTING display = ' ' obtyp = c_qinf_status IMPORTING stsma = stsma1 EXCEPTIONS OTHERS = 0.

STATUS_PROFILE_HELP_REQUEST CALL FUNCTION 'STATUS_PROFILE_HELP_REQUEST' EXPORTING display = ' ' obtyp = c_qinf_status IMPORTING stsma = stsma2 EXCEPTIONS OTHERS = 0.

TQ08_READ CALL FUNCTION 'TQ08_READ' EXPORTING i_qm_pur = l_marc_tab-ssqss IMPORTING e_tq08 = tq08 EXCEPTIONS no_entry = 01.

REVISION_LEVEL_TABLE_EXPORT CALL FUNCTION 'REVISION_LEVEL_TABLE_EXPORT' EXPORTING ematnr = l_marc_tab-matnr TABLES wa = l_revlv_tab.

ME_READ_INFORECORDS_MAT





CALL FUNCTION 'ME_READ_INFORECORDS_MAT' EXPORTING comim = bqpim TABLES xlief = l_lief_tab EXCEPTIONS not_found = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = 'OBJECT_TAB' i_structure_name = tabname i_client_never_display = ' ' CHANGING ct_fieldcat = g_fieldcat_tab[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

TQ08_READ CALL FUNCTION 'TQ08_READ' EXPORTING i_qm_pur = object_tab-ssqss IMPORTING e_tq08 = tq08 EXCEPTIONS no_entry = 01.

TQ08_READ * CALL FUNCTION 'TQ08_READ' * EXPORTING * i_qm_pur = marc-ssqss * IMPORTING * e_tq08 = tq08 * EXCEPTIONS * no_entry = 01.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = 'OBJECT_TAB' i_structure_name = g_tabname i_client_never_display = ' ' CHANGING ct_fieldcat = g_fieldcat_tab[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

DOKUMENTE_ZU_OBJEKT CALL FUNCTION 'DOKUMENTE_ZU_OBJEKT' EXPORTING key = l_doktab-objky objekt = l_doktab-dokob TABLES doktab = l_doktab EXCEPTIONS kein_dokument = 1.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

QAUT_CHECK_TCODE CALL FUNCTION 'QAUT_CHECK_TCODE' EXPORTING i_tcode = c_qi01 EXCEPTIONS auth_destroyed = 1 internal_error = 2 no_authorization = 3 OTHERS = 4.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '00' msgty = 'E' msgv1 = c_qi01 * MSGV2 = ' ' * MSGV3 = ' ' * MSGV4 = ' ' txtnr = '172' zeile = l_satznr.

QAUT_CHECK_TCODE CALL FUNCTION 'QAUT_CHECK_TCODE' EXPORTING i_tcode = c_qi02 EXCEPTIONS auth_destroyed = 1 internal_error = 2 no_authorization = 3 OTHERS = 4.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '00' msgty = 'E' msgv1 = c_qi02 * MSGV2 = ' ' * MSGV3 = ' ' * MSGV4 = ' ' txtnr = '172' zeile = l_satznr.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = l_messtab-msgid msgty = l_messtab-msgtyp msgv1 = l_messtab-msgv1 msgv2 = l_messtab-msgv2 msgv3 = l_messtab-msgv3 msgv4 = l_messtab-msgv4 txtnr = l_messtab-msgnr zeile = l_satznr.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'QB' msgty = 'I' msgv1 = object_tab-matnr msgv2 = object_tab-lieferant msgv3 = object_tab-werk msgv4 = object_tab-revlv txtnr = '130' zeile = l_satznr.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'QB' msgty = 'W' txtnr = '132' zeile = l_satznr.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'QB' msgty = 'I' msgv1 = l_saetze_gesichert txtnr = '131' zeile = l_satznr.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING show_linno = c_kreuz EXCEPTIONS no_messages = 0.

QAUT_CHECK_TCODE CALL FUNCTION 'QAUT_CHECK_TCODE' EXPORTING i_tcode = c_qi03 EXCEPTIONS auth_destroyed = 1 internal_error = 2 no_authorization = 3 OTHERS = 4.

QAUT_CHECK_TCODE CALL FUNCTION 'QAUT_CHECK_TCODE' EXPORTING i_tcode = c_qi03 EXCEPTIONS auth_destroyed = 1 internal_error = 2 no_authorization = 3 OTHERS = 4.

QSS1_LFA1_SHOW CALL FUNCTION 'QSS1_LFA1_SHOW' EXPORTING i_lifnr = object_tab-lieferant EXCEPTIONS no_lieferant = 1 OTHERS = 2.

QSS1_LFA1_SHOW CALL FUNCTION 'QSS1_LFA1_SHOW' EXPORTING i_lifnr = object_tab-lieferant EXCEPTIONS no_lieferant = 1 OTHERS = 2.




QSS1_MARC_SHOW CALL FUNCTION 'QSS1_MARC_SHOW' EXPORTING i_matnr = object_tab-matnr i_werk = object_tab-werk EXCEPTIONS no_material = 1 OTHERS = 2.

QSS1_MARC_SHOW CALL FUNCTION 'QSS1_MARC_SHOW' EXPORTING i_matnr = object_tab-matnr i_werk = object_tab-werk EXCEPTIONS no_material = 1 OTHERS = 2.

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'DOCS' object_name = 'RQBAAM10' object_type = 'PROG' EXCEPTIONS not_executed = 1 invalid_object_type = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_GREEN' text = px_tab_icon-append_led_on info = l_text_led_on IMPORTING result = px_tab_icon-append_led_on EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_INACTIVE' text = px_tab_icon-append_led_off info = l_text_led_off IMPORTING result = px_tab_icon-append_led_off EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_GREEN' text = px_tab_icon-change_led_on info = l_text_led_on IMPORTING result = px_tab_icon-change_led_on EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_INACTIVE' text = px_tab_icon-change_led_off info = l_text_led_off IMPORTING result = px_tab_icon-change_led_off EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_GREEN' text = px_tab_icon-display_led_on info = l_text_led_on IMPORTING result = px_tab_icon-display_led_on EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_INACTIVE' text = px_tab_icon-display_led_off info = l_text_led_off IMPORTING result = px_tab_icon-display_led_off EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = g_listheader_tab.



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