0000128150-Vl06o Alan Eklenmesi

3
SAP Note Header Data Symptom You want to add your own fields to the standard display variants of the delivery monitor. Other Terms SAPLV50Q, outbound delivery monitor, inbound delivery monitor, VL06O, VL06I, VL06G, VL06P, VL06T, VL06F, VL06C, VL06IP, VL06IC, VL06IT, VL06IG, VL06IF, ALV, SAP List Viewer, list tool, LIPOV, LIPOVZ Reason and Prerequisites You can no longer branch from Customizing to maintain your own display variants. The documentation of the function modules in the SAP enhancement V50Q0001 was not delivered for Release 4.5A because of a transport error. Solution General information about the enhancement concept of the delivery monitor An internal table, the structure of which is derived from the structure LIPOV created in the ABAP Dictionary, is used for displaying the list of the delivery monitor. This structure can be enhanced by customer-specific fields in the structure LIPOVZ provided for this. Keep the following in mind: l If additional data from the delivery item table LIPS, the delivery header table LIKP or the item status table VBUP is to be set in the table, it is sufficient to create a field with the same name in the structure LIPOVZ. The program will automatically fill this field. You do not have to enter additional Customizing settings or enhancements in a user exit for this. Examples: ¡ If you want also want to display the batch number, you must only include the field CHARG in the structure LIPOVZ. This field is then filled automatically in a list of items. ¡ The weight group of the delivery is also read automatically if you include the field GRULG in the structure LIPOVZ. l All header status information relevant to the delivery (from the table VBUK) is also available after you create a field with the same name in the structure LIPOVZ. In this way, you can choose to have the following status information displayed if required: Field name Description RFSTK Reference document header status BESTK Confirmation status LFSTK Delivery status LFGSK Overall delivery status for all items WBSTK Total goods movement status FKSTK Billing status FKSAK Billing status (order-related billing document) BUCHK Accounting status of billing document ABSTK Overall rejection status of all sales document items GBSTK Overall processing status of sales document KOSTK Overall picking status KOQUK Confirmation status of picking LVSTK Overall status of warehouse management activities UVALS Totals incompleteness status of all items: general UVVLS Totals incompleteness status of all items: delivery UVALS Totals incompleteness status of all items: Billing document UVALL General incompleteness status of header UVVLK Incompleteness status regarding delivery UVFAK Header incompleteness status regarding billing UVPRS Document incomplete regarding pricing PKSTK Overall packing status of all items TRSTA Transportation planning status 128150 - VL06: Designing your own display variants Version 6 Validity: 20.02.2008 - active Language English Released On 20.02.2008 10:11:05 Release Status Released for Customer Component LE-SHP-DL-RM Reporting / Monitoring Priority Recommendations / Additional Info Category Consulting

description

VL06O genişletme

Transcript of 0000128150-Vl06o Alan Eklenmesi

  • SAP Note

    Header Data

    Symptom

    You want to add your own fields to the standard display variants of the delivery monitor.

    Other Terms

    SAPLV50Q, outbound delivery monitor, inbound delivery monitor, VL06O, VL06I, VL06G, VL06P, VL06T, VL06F, VL06C, VL06IP, VL06IC, VL06IT, VL06IG, VL06IF, ALV, SAP List Viewer, list tool, LIPOV, LIPOVZ

    Reason and Prerequisites

    You can no longer branch from Customizing to maintain your own display variants. The documentation of the function modules in the SAP enhancement V50Q0001 was not delivered for Release 4.5A because of a transport error.

    Solution

    General information about the enhancement concept of the delivery monitor

    An internal table, the structure of which is derived from the structure LIPOV created in the ABAP Dictionary, is used for displaying the list of the delivery monitor. This structure can be enhanced by customer-specific fields in the structure LIPOVZ provided for this. Keep the following in mind:

    l If additional data from the delivery item table LIPS, the delivery header table LIKP or the item status table VBUP is to be set in the table, it is sufficient to create a field with the same name in the structure LIPOVZ. The program will automatically fill this field. You do not have to enter additional Customizing settings or enhancements in a user exit for this.

    Examples:

    If you want also want to display the batch number, you must only include the field CHARG in the structure LIPOVZ. This field is then filled automatically in a list of items.

    The weight group of the delivery is also read automatically if you include the field GRULG in the structure LIPOVZ.

    l All header status information relevant to the delivery (from the table VBUK) is also available after you create a field with the same name in the structure LIPOVZ. In this way, you can choose to have the following status information displayed if required: Field nameDescription RFSTK Reference document header status BESTK Confirmation status LFSTK Delivery status LFGSK Overall delivery status for all items WBSTK Total goods movement status FKSTK Billing status FKSAK Billing status (order-related billing document) BUCHK Accounting status of billing document ABSTK Overall rejection status of all sales document items GBSTK Overall processing status of sales document KOSTK Overall picking status KOQUK Confirmation status of picking LVSTK Overall status of warehouse management activities UVALS Totals incompleteness status of all items: general UVVLS Totals incompleteness status of all items: delivery UVALS Totals incompleteness status of all items: Billing document UVALL General incompleteness status of header UVVLK Incompleteness status regarding delivery UVFAK Header incompleteness status regarding billing UVPRS Document incomplete regarding pricing PKSTK Overall packing status of all items TRSTA Transportation planning status

    128150 - VL06: Designing your own display variants

    Version 6 Validity: 20.02.2008 - active Language English

    Released On 20.02.2008 10:11:05 Release Status Released for Customer Component LE-SHP-DL-RM Reporting / Monitoring Priority Recommendations / Additional Info Category Consulting

  • CMGST Overall status of credit checks Some of these fields are already contained in the delivered structure LIPOV.

    Note that the changes to the structure LIPOV or LIPOVZ may affect the display variants only after you reset the ALV buffer (see Note 122975). Note: If you add a field to the structure LIPOVZ that has the same name in the tables LIKP and LIPS (for example, the change date AEDAT), the field is filled with the value from the table LIKP in header lists but, in accordance with the program logic, with the value from the item table LIPS at item list level. If you want to display the header information always and on all types of lists, you must implement the user exit V50Q0001 (see below).

    SAP enhancements

    If the added fields cannot be filled automatically by the program, you can use the SAP enhancement V50Q0001. You can use transaction CMOD to call it:

    l In transaction CMOD, choose 'Utilities -> SAP Enhancements'.

    l Enter the name of the enhancement 'V50Q0001' and choose 'Execute'.

    You are transferred to a list of function modules that you can use to enhance the functions of the delivery monitor. The function module EXIT_SAPLV50Q_001 is used to read your own data for display on the list.

    Using the function module EXIT_SAPLV50Q_001

    In the interface of the module, the internal table CT_POSTAB is transferred with the selected data of the delivery.

    l If you want to issue a list with header information of the delivery, internal table CT_POSTAB contains an entry for every delivery with a document number different from the initial value and item number '000000'.

    l If you want to issue item information, the table contains both the header lines mentioned above with the item number 000000, and for each item that matches the selection criteria an entry with an item number that differs from the initial value.

    l The header information of the delivery can also be found in the corresponding fields at item level. The fields for the ship-to party, for example, are also filled at item level.

    l The function module is called after all data that can be displayed on the list is read. Thus, the table CT_POSTAB is already filled with information that you can use to read your own data. Only the determination of the picking requests to be confirmed is carried out after this module because individual entries of the output table can be duplicated when this information is read. This occurs if there are several pick orders or putaway orders for a delivery.

    l For performance reasons, this module is not called separately for each entry in the output table. Rather, the output table is transferred all together as a parameter.To read the additional data and modify the table entries, you must program a loop through the internal table CT_POSTAB and transport the necessary data to the table.

    l Note that some fields of structure LIPOV do not appear in the display as visible fields, but are needed for technical purposes. Do not change the content of these fields.

    l The restriction to a maximum of 90 fields in structure LIPOV, which is mentioned in the documentation for function module EXIT_SAPLV50Q_001, is incorrect.No more than 90 fields can be included in a display variant, but there is no restriction on the number of fields in the structure on which the display is based.

    The function module EXIT_SAPLV50Q_001 contains two other parameters. They provide information about the processing mode of the delivery monitor:

    l IF_FLAG_INBOUND: This flag specifies whether inbound or outbound deliveries are being processed. It is not equal to SPACE in the case of deliveries.

    l IF_PROCTYPE: This parameter controls the current processing type. Fixed values for this parameter are stored in Include LV50QTOP. These values indicate the processing type (the names of the constants start with 'proctype_').

    Validity

    Software Component From Rel. To Rel. And Subsequent

    SAP_APPL 45A 45B

    46A 46B

    46C 46C

    470 470

    500 500

    600 600

    602 602

    603 603

  • Support Packages & Patches

    References

    This document refers to:

    SAP Notes

    This document is referenced by:

    SAP Notes (6)

    604 604

    605 605

    606 606

    616 616

    617 617

    Support Packages

    Software Component Release Support Package

    SAP_APPL 470 SAPKH47008

    1144147 Error during DIMP activation relating to structure LIPOVZ 565833 Distribution status VLSTK not filled in delivery monitor 367727 GR date not displayed in delivery monitor 320226 Delivery monitor: No negative quantities in returns 122975 Resetting buffering of ALV field catalog 113048 Collective note on delivery monitor

    122975 Resetting buffering of ALV field catalog 113048 Collective note on delivery monitor 367727 GR date not displayed in delivery monitor 320226 Delivery monitor: No negative quantities in returns 1144147 Error during DIMP activation relating to structure LIPOVZ 565833 Distribution status VLSTK not filled in delivery monitor