Make your own free website on Tripod.com
 

SAP Functional, Basis Components, and ABAP Programming Books


Delivery/Billing Due List - Select/Unselect the Default

On the document lists of the delivery list (Transaction VL04), the billing due list (Transaction VF04) and the work list for invoice lists (Transaction VF24), all items are selected when you display the list for the first time.  If the user click save at the initial screen, where all items were selected, SAP will do a mass save for all the documents display on the due list.  Users might feel unsecured with this features.

To change the default selection, refer to R/3 note no. 16711.  However, it seems that the note have been removed from OSS.

Here is an extract of the remove note 16711.

If you do not want the list to be predefined with selections, you can carry out one or both of the modifications described in the attachment in your system.

o  The modifications to objects MV50SFS0 and MV50SFZC (the latter only Release 3.1I to 4.5B) are relevant for the delivery list VL04

o  For the billing due list and the work list for invoice lists, make the modification to object MV60SFS0. As a result of the
modification, the display of both lists is influenced at the same time.  However, the correction is only valid for the billing due list up to and including Release 4.0B; as of Release 4.5A, the modification in this note consequently only affects the work list
for invoice lists.  To create the function in the billing due list as of Release 4.5A, refer to Note 139888 or customer function 008 within customer enhancement V60P0001. You can activate this customer enhancement  using Transaction CMOD.

Remark: Note that this modification also affects background processing: If the list is set up without selections, no list entries to be edited can be found during background processing either. Nevertheless, you can use the modification for background processing if you replace the line to be inserted with the following source code:

       IF SY-BINPT NE SPACE OR SY-BATCH NE SPACE.
         POSTAB-SELKZ = 'X'.
       ELSE.
         POSTAB-SELKZ = '_'.
       ENDIF.

This note is a modification and will not be included in a Hot Package.  Check whether you require the correction described in your system. When you apply a Hot Package, the system may overwrite parts of this correction. Therefore, when applying a Hot Package, make sure that this correction (SPAM/SPAU) is retained unchanged in your system.

     Source code corrections

     *$*$----------------------------------------------------------------$*$*
     *$ Correction instructions  : 0120024545 0000000398                   $*
     *$ Software component       : SAP_APPL   SAP Application              $*
     *$--------------------------------------------------------------------$*
     *$ Validity    : 30A          No patches                             $*
     *$             : 30B          No patches                              $*
     *$             : 30C          SAPKH30C01 - SAPKH30C14                 $*
     *$             : 30D          All patches                             $*
     *$             : 30E          SAPKH30E01 - SAPKH30E27                 $*
     *$             : 30F          All patches                             $*
     *$             : 310          No patches                              $*
     *$             : 31G          SAPKH31G01 - SAPKH31G13                 $*
     *$             : 31H          All patches                             $*
     *$--------------------------------------------------------------------$*
     *$ Changes/objects not contained in standard SAP system               $*
     *$*$----------------------------------------------------------------$*$*
     *&---------------------------------------------------------------------*
     *& Object          REPS MV50SFS0
     *& Object header   PROG MV50SFS0
     *&---------------------------------------------------------------------*
     *& This object has been generated from an advance correction           *
     *& attached to a R/3 note.                                             *
     *&---------------------------------------------------------------------*
     *&---------------------------------------------------------------------*
     *& Title: Correction A (VL04)                                          *
     *&---------------------------------------------------------------------*
     ...
     FORM SELEKTION_AUSFUEHREN.
      ...
       LOOP AT POSTAB.
         POSTAB-ACTIV = '0'.
     *   POSTAB-SELKZ = 'X'.                        "<<<<<< delete note 16711
         POSTAB-SELKZ = '_'.                        "<<<<<< insert note 16711
         POSTAB-ZAEHL = SY-TABIX.
         IF NOT ( POSTAB-LIFSP IS INITIAL ).
            POSTAB-SELKZ = 'Z'.
         ENDIF.
         MODIFY POSTAB.
         ...
       ENDLOOP.
        ...
     *&---------------------------------------------------------------------*
     *&---------------------------------------------------------------------*
     *& Object          REPS MV60SFS0
     *& Object header   PROG MV60SFS0
     *&---------------------------------------------------------------------*
     *& This object has been generated from an advance correction           *
     *& attached to a R/3 note.                                             *
     *&---------------------------------------------------------------------*
     *&---------------------------------------------------------------------*
     *& Title: Correction B (VF04 until 4.0B/VF24)                          *
     *&---------------------------------------------------------------------*
      ...
     FORM SELEKTION_AUSFUEHREN.
       ...
       LOOP AT POSTAB.
         POSTAB-ACTIV = '0'.
     *   POSTAB-SELKZ = 'X'.                        "<<<<<< delete note 16711
         POSTAB-SELKZ = '_'.                        "<<<<<< insert note 16711
         POSTAB-ZAEHL = SY-TABIX.
         IF RV60A-FKART IS INITIAL.
           POSTAB-V_FKART = POSTAB-FKART.
         ELSE.
           POSTAB-V_FKART = RV60A-FKART.
         ENDIF.
         ...
       ENDLOOP.
     ENDFORM.
       ...
     *$*$----------------------------------------------------------------$*$*
     *$ Correction instructions  : 0120024545 0000000399                   $*
     *$ Software component       : SAP_APPL   SAP Application              $*
     *$--------------------------------------------------------------------$*
     *$ Validity    : 31I          All patches                             $*
     *$             : 40A          SAPKH40A01 - SAPKH40A25                 $*
     *$             : 40B          All patches                             $*
     *$             : 45A          All patches                             $*
     *$             : 45B          All patches                             $*
     *$             : 46A          All patches                             $*
     *$             : 46B          All patches                             $*
     *$             : 46C          All patches                             $*
     *$--------------------------------------------------------------------$*
     *$ Changes/objects not contained in standard SAP system               $*
     *$*$----------------------------------------------------------------$*$*
     *&---------------------------------------------------------------------*
     *& Object          REPS MV50SFS0
     *& Object header   PROG MV50SFS0
     *&---------------------------------------------------------------------*
     *& This object has been generated from an advance correction           *
     *& attached to a R/3 note.                                             *
     *&---------------------------------------------------------------------*
     *&---------------------------------------------------------------------*
     *& Title: Correction A (VL04)                                          *
     *&---------------------------------------------------------------------*
       ...
     FORM SELEKTION_AUSFUEHREN.
       ...
       LOOP AT POSTAB.
         POSTAB-ACTIV = '0'.
     *   POSTAB-SELKZ = 'X'.                        "<<<<<< delete note 16711
         POSTAB-SELKZ = '_'.                        "<<<<<< insert note 16711
         POSTAB-ZAEHL = SY-TABIX.
         IF NOT ( POSTAB-LIFSP IS INITIAL ).
            POSTAB-SELKZ = 'Z'.
         ENDIF.
         MODIFY POSTAB.
         ...
       ENDLOOP.
        ...
     *&---------------------------------------------------------------------*
     *&---------------------------------------------------------------------*
     *& Object          REPS MV50SFZC
     *& Object header   PROG MV50SFZC
     *&---------------------------------------------------------------------*
     *& This object has been generated from an advance correction           *
     *& attached to a R/3 note.                                             *
     *&---------------------------------------------------------------------*
     *&---------------------------------------------------------------------*
     *& Title: Correction A (VL04)                                          *
     *&---------------------------------------------------------------------*
     FORM ZEILE_AUSGEBEN.
       ...
       IF POSTAB-SELKZ = 'Z'.
          SELKZFLAG = '0'.
     *    POSTAB-SELKZ = 'X'.                       "<<<<<< delete note 16711
          POSTAB-SELKZ = '_'.                       "<<<<<< insert note 16711
          COLOR = C_GESPERRT.
       ENDIF.
       IF POSTAB-SELKZ = '*'.

          ...
     ...
     *&---------------------------------------------------------------------*
     *&---------------------------------------------------------------------*
     *& Object          REPS MV60SFS0
     *& Object header   PROG MV60SFS0
     *&---------------------------------------------------------------------*
     *& This object has been generated from an advance correction           *
     *& attached to a R/3 note.                                             *
     *&---------------------------------------------------------------------*
     *&---------------------------------------------------------------------*
     *& Title: Correction B (VF04 until 4.0B/VF24)                          *
     *&---------------------------------------------------------------------*
      ...
     FORM SELEKTION_AUSFUEHREN.
       ...
       LOOP AT POSTAB.
         POSTAB-ACTIV = '0'.
     *   POSTAB-SELKZ = 'X'.                        "<<<<<< delete note 16711
         POSTAB-SELKZ = '_'.                        "<<<<<< insert note 16711
         POSTAB-ZAEHL = SY-TABIX.
         IF RV60A-FKART IS INITIAL.
           POSTAB-V_FKART = POSTAB-FKART.
         ELSE.
           POSTAB-V_FKART = RV60A-FKART.
         ENDIF.
         ...

       ENDLOOP.
     ENDFORM.

Back to Previous

Return to SAP Hints and Tips on Configuration and ABAP/4 Programming