MGV_MATNR_CLVL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Adjustment of Variable List Output in PP to the Extended Material Number The program performs the following steps: It selects all the characteristics in table LCABN that are connected to material number domains...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 MGV_MATNR_CLVL 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.
Title: Fits display blocks & list width for variable lists
Text Symbol: 015 = Client:
Text Symbol: 014 = ListProfile
Text Symbol: 013 = BlockPartner for
Text Symbol: 012 = therfore no processing necessary
Text Symbol: 011 = No list profile defined for
Text Symbol: 010 = nfoff newof ddlen dptxt
Text Symbol: 009 = bllin offst dplen newln imerk Ausgabe
Text Symbol: 008 = New list width
Text Symbol: 007 = Old list width
Text Symbol: 006 = OK
Text Symbol: 005 = Conversion: (can be changed afterwards with transaction CLVL) see prodgram documetnation
Text Symbol: 004 = * * * * * * * * * * * * * * * * Control list:
Text Symbol: 003 = * * * * * * * * * * * * * * * * Analysis...
Text Symbol: 002 = all display blocks with MATNR domains for list prof.
Text Symbol: 001 = * * * * * * * * * * * * * * * * Outbox list:
Text Symbol: 016 = DisplayProfile
Text Symbol: 030 = Own header
Text Symbol: 029 = Program could not be run correctly
Text Symbol: 028 = No. of Errors
Text Symbol: 027 = Number of Records Changed
Text Symbol: 026 = Start again
Text Symbol: 025 = Program
Text Symbol: 024 = Error while updating a table
Text Symbol: 023 = END
Text Symbol: 021 = Not required because Mat.No.Length =
Text Symbol: 020 = CLVL conversion -
Text Symbol: 019 = No list width defined for
Text Symbol: 018 = Display profiles for
Text Symbol: 017 = Chars of the Material No.
INCLUDE MGV_LOG_XPRA.
No SAP DATABASE tables are accessed within this REPORT code!
MGV_GET_DOMAINS CALL FUNCTION 'MGV_GET_DOMAINS' TABLES domains = gt_domname.
CLHI_STRUCTURE_CLASSES_LISTP CALL FUNCTION 'CLHI_STRUCTURE_CLASSES_LISTP' EXPORTING i_klart = '028' i_class = pro_class i_bup = 'X' * I_TDWN = ' ' TABLES daten = class_hiera .
CTMS_STRUCTURE_CLASSES * CALL FUNCTION 'CTMS_STRUCTURE_CLASSES' (45B) "test with RMCLHIVL * EXPORTING * ART = '028' * BATCH_FUNCTION = 'X' * BOTTOM_UP = 'X' * CLASS = PRO_CLASS * LANGUAGE = SY-LANGU * NO_CLASSIFICATION = 'X' * LIST_PROCESSING = 'X' * INCLUDING_TEXT = ' ' * TABLES * DATEN = CLASS_HIERA * EXCEPTIONS * OTHERS = 1.
CLHI_STRUCTURE_CLASSES_LISTP CALL FUNCTION 'CLHI_STRUCTURE_CLASSES_LISTP' EXPORTING i_klart = '028' i_class = pro_class i_bup = 'X' * I_TDWN = ' ' TABLES daten = class_hiera .
CLHI_STRUCTURE_CLASSES_LISTP CALL FUNCTION 'CLHI_STRUCTURE_CLASSES_LISTP' EXPORTING i_klart = '028' i_class = pro_class i_bup = ' ' i_tdwn = 'X' TABLES daten = class_hiera.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MGV_MATNR_CLVL - Fits display blocks & list width for variable lists MGV_MATNR_CLVL - Fits display blocks & list width for variable lists MGV_MATNR_AIS - Table conversion for TCOPS and TCPOAD in order info system MGV_MATNR_AIS - Table conversion for TCOPS and TCPOAD in order info system MGV_LOG_XPRA - MGVLOGXPRA MGV_LAMA_SHLP_APP=============S - MGVLAMASHLPAPP=============S