A maior rede de estudos do Brasil

Grátis
5 pág.
OSS NOTE_198137

Pré-visualização | Página 1 de 2

1981372021-05-14
198137 - VL10: User exits / customer-specific 
enhancements
Version 20 Type SAP Note
Language Inglês Master Language Alemão
Priority Recommendations / Additional Info Category Consulting
Release Status Released for Customer Released On 29.05.2020
Component LE-SHP-DL-CP ( Collective Processing (VL10, VL04) )
Please find the original document at https://launchpad.support.sap.com/#/notes/ 198137
Symptom
You use the enhanced delivery due list (transactions VL10, VL10A, VL10B, 
VL10C...), and you want to, for example, display fields in the list output that 
are not contained in the standard field list of the list viewer. 
 
For this, you have the option of a customer-specific enhancement of the display 
structure (append structure) and includes that are intended to be changed by 
customer-specific enhancements (user exits in include technology with 
enhancement of structure SHP_VL10_ITEM). 
 
The user exits in the normal processing of the delivery due list (VL04) remain 
completely upwards compatible in transaction VL04. Transaction VL04 can be used 
in full upwards compatibility. A description of the user parameters to be set in 
order to return to the old VL04 can be found in the information dialog box that 
is displayed when you execute transaction VL04. 
 
Other Terms
VL10, user exit, user_exit, shipping due list
Reason and Prerequisites
.
Solution
Customer-specific enhancements of the enhanced delivery due list in the 
following includes: 
Include form routine
1. V50R_USEREXIT_PREPARE userexit_prepare_ledat
In this include, you can determine how the fields for the delivery creation from 
date and to date are filled on the selection screen when you select "9" as a 
rule for determining the delivery creation date. SAP Note 414484 contains an 
example.
2. V50RZTOP global data for user exits
In this include, you can define global data for processing 
the shipping due list.
3. LV50R_VIEWG04 userexit_prepare_fcode_prepare
1 of© 2021 SAP SE or an SAP affiliate company. All rights reserved 5
https://launchpad.support.sap.com/#/notes/%0d%0a%0d%0a%0d%0a%0d%0a%0d%0a%0d%0a%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20198137
1981372021-05-14
In this include, you can process your own function codes starting with the 
letter "Z" in the second loop. In the second loop, processing starts for the 
shipping due list.
4. LV50R_VIEWG01 userexit_prepare_fcode_liste
In this include, you can process your own function codes starting with the 
letter "Z" in the third loop. The third loop processes entries in the shipping 
due list.
5. LV50R_VIEWG10 userexit_prepare_key_type
In a two-level hierarchical display, you can use this include to create a 
relationship between the header line and the sub-line with alternative fields 
other than the default fields.
6. LV50R_VIEWH19 userexit_prepare_kumng_set
In this include, you can determine the quantity that would be delivered to the 
corresponding list line on a document list (list-type = 2) if it were selected 
and the function code SAMD (delivery in the background) were triggered.
7. LV50R_VIEWG05 userexit_prepare_layout_fill
You can change the ALV layout in this include.
8. LV50R_VIEWG09 userexit_prepare_packages_crea
You can use your own package formation in this include. In a package, items are 
grouped together that could be delivered together.
9. LV50R_VIEWF63 userexit_prepare_quantity
In this include, you can influence item-related data, such as the quantity to be 
delivered, for ONE item.
10. LV50R_VIEWF62 userexit_prepare_packages_chan
In this include, you can influence item-related data, such as the quantity to be 
delivered, for ALL items (orders and purchase orders). (For example, quantities 
to be delivered, sequence of delivery creation).
11. LV50R_VIEWG08 userexit_prepare_assign_tabs
If you use a customer-specific hierarchical list type (unlike the index list or 
document list that are linked to the ABAP Dictionary type of the xx_head, 
xx_item tables), you must define the global data for these internal structures 
here. These must be assigned before the function code of the third loop is 
called.
12. LV50R_VIEWF41 userexit_sort_all_packages
You can use the user exit userexit_sort_all_packages to influence the sorting 
within the created packages. In the standard system, the following sort sequence 
is set: 
SORT ct_packages BY panum ledat vbtyp vbeln posnr
13. Enhancements to table postab:
a) LV50R_VIEWG02 pos_item_fill_user
b) LV50R_VIEWG03 postab_vepvg_fill_user
2 of© 2021 SAP SE or an SAP affiliate company. All rights reserved 5
1981372021-05-14
c) LV50R_VIEWG06 postab_vetvg_fill_user
d) LV50R_VIEWG07 postab_delivery_fill_user
e) LV50R_VIEWG13 postab_fill_ship_to_adress
f) LV50R_VIEWG12 postab_delivery_new__user
In these includes, you can add fields to the internal table xx_postab or 
suppress list lines. 
The ABAP Dictionary type shp_VL10_item or shp_VL10_indx must be enhanced fpr 
this (see SAP Note 204899). For a document list use LV50R_VIEWG02, for an index 
list for orders LV50R_VIEWG03, for an index list for purchase orders 
LV50R_VIEWG06 or LV50R_VIEWG13, and for deliveries LV50R_VIEWG07 or 
LV50R_VIEWG12. You can suppress a list line by returning cf_subrc <> 0. You can 
also check enhanced selection criteria from customer-specific reports, such as 
ZZ50R10*. To do this, the ABAP Dictionary type SHP_VL10_SELECT_OPTIONS must be 
enhanced with a new selection criterion that can be added to a customer-specific 
selection screen. 
 
 
Each include contains a FORM routine with a typed interface. 
The CHANGING parameters can be changed and are the actual purpose of the user 
exit. 
A summary of all user exits from the include RVV50TOP is contained in the 
advance correction as comment includes. 
This means that every user exit is accessible via forward navigation from the 
include RVV50TOP via the include v50r_userexits. 
 
If your changes do not appear in the list immediately, it may be that the old 
field catalog of the SAP List Viewer is still buffered in the application 
server. To update the buffer, SAP Note 122975 provides a solution.
Software Components
Software Component Release
SAP_APPL 46A - 46B
SAP_APPL 46C - 46C
SAP_APPL 470 - 470
SAP_APPL 500 - 500
SAP_APPL 600 - 600
SAP_APPL 602 - 602
SAP_APPL 603 - 603
SAP_APPL 604 - 604
SAP_APPL 605 - 605
SAP_APPL 606 - 606
3 of© 2021 SAP SE or an SAP affiliate company. All rights reserved 5
1981372021-05-14
SAP_APPL 616 - 616
SAP_APPL 617 - 617
SAP_APPL 618 - 618
S4CORE 101 - 101
S4CORE 102 - 102
S4CORE 103 - 103
S4CORE 104 - 104
S4CORE 105 - 105
Correction Instructions
Software Component From To Version Changed on ID
SAP_APPL 46A 46B 2 01.02.2000 14:19:30 0000137172
Other Components
Component Descrição
LE-SHP-DL-STO Stock-Transfer-Order
Support Package
Software Component Release Support Package
SAP_APPL 46B SAPKH46B02
This document refers to
SAP Note/KBA Title
593431 VL10: missing type definitions in user exit
4 of© 2021 SAP SE or an SAP affiliate company. All rights reserved 5
1981372021-05-14
587329 VL10: Item sorting
524424 VL10: Transfer customer-specific selection criteria
489327 VL10: missing user exit for document list of purchase orders
421791 VL10: Including new fields in the shipping due date list
332276 Collective note: VL10 consulting
308119 VL10: User field added to index list
306882 VL10: 'Save display variant' can be activated
302966 VL10: Address data in index list not in user exits
204899 VL10: Name of goods recipient is missing in VL10A/B
122975
113411 Collective note: VL10
This document is referenced by
SAP Note/KBA Title
3014370 Delivery priority is not considered during delivery creation with VL10* transactions
587329 VL10: Item sorting
421791 VL10: Including new fields in the shipping due date list
593431 VL10: missing type definitions in user exit
489327 VL10: missing user exit for document list of purchase orders
524424 VL10: Transfer customer-specific

Crie agora seu perfil grátis para visualizar sem restrições.