SAP Program MGV_MATNR_CLVL - Fits display blocks & list width for variable lists

Description
Adjustment of Variable List Output in PP to the Extended MaterialNumber
The program performs the following steps:

  • It selects all the characteristics in table LCABN that are connected to
  • material number domains. (These are identified by the table name andfield name.)
    • It selects all the display profiles in table LKSML that display these
    • characteristics.
      • It finds all the list profiles in table LKLAH that belong to these
      • display profiles.
        • It finds blocks of displayed characteristics that are beneath each
        • other. Only the (material number) display blocks that belong to thesame list profile are read.
          • It checks the display profiles of the blocks to see whether there is
          • any overlap, and to ensure that the output length of material numbercharacteristics is the same as the output length in the ABAP, makingany adjustments required. If an adjustment goes into the next block,the program increases by the same amount all offsets that are greaterthan the offset that was originally moved.
            • It determines the list width required and changes it in the list
            • profile if necessary.

              Output
              The changed display blocks are displayed before and after conversion.If you upgrade your system, we recommend that you take a brief look atthem to check them. In case of errors, you can change a display profilesubsequently by using transaction CLVL.
              If you want to optimize this tool subsequently, you can set a detailflag in the code, allowing you to display additional information.

              Precondition
              This tool cannot be guaranteed to find all cases, because blocks areonly formed where the original list profile is organized in (visual)blocks.