Sapnote 0000303453

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

SAP Note 303453 User exits for shipping data determination in STO

Note Language: English Version: 12 Validity:


Valid Since 09.07.2010

Summary
Symptom
Shipping data is determined as part of the creation of stock transport orders (STOs). This note provides the option of influencing the determination of shipping data using two user exits. The user exits do not serve the purpose of updating shipping data that was already determined. For this, after the function module SD_TRANSFERDATA_DETERMINE is called, a modification of the internal table PTV may be required.

Other terms
User exit, EKPV, VETVG, shipping data, stock transport order, STO

Reason and Prerequisites


The shipping data determination is too static in part.

Solution
Two form routines are proposed as user exits. Implement the attached modification with the corresponding calls in the function module SD_TRANSFERDATA_DETERMINE. Do not implement the modification in the include MM06EFPV_PTV_FUELLEN unless you also want the results of the user exits to be taken into account in change mode. Otherwise, these results may cause overlapping with manual changes that were carried out at the same time for the relevant shipping data. First, define the form routines in connection with the form routines in the include LV50NF01 or in a user-defined include LV50NFZZ, for example. Then regenerate SAPLV50N.

1.

Form zz_sales_area_determine: In this routine, you can change the sales area that is used for delivering. Check if Note 170082 is sufficient for your purposes. For consistency reasons, set the sales area as fixed or determine it only depending on the following parameters: Issuing plant (LLWERK) Goods recipient (LKUNWE). The sales area determined up to now is in the following fields: Sales organization (LVKORG) Distribution channel (LVTWEG) Division (LSPART) If required, reset these fields with the sales area that you have determined. Note that an entry exists in the distribution chain plant assignment (table TVKWZ) for the distribution chain that have you set and the issuing plant.
Page 1 of 3

21.10.2012

SAP Note 303453 User exits for shipping data determination in STO
In addition, note that a corresponding customer master segment (table KNVV) is defined for the sales area.

2.

Form zz_shipping_data_determine: You can change various shipping data in this routine: Delivery priority (FEKPV-LPRIO) Shipping point Route (FEKPV-VSTEL) (FEKPV-ROUTE)

Shipping condition (FEKPV-VSBED)

depending on the following parameters: Issuing plant (LLWERK) Goods recipient (LKUNWE) Material (LMATNR)

Fields of the internal table FEKPV.

In particular, note that by changing the shipping condition, no new standard shipping point determination can be started, and changing the shipping point does not result in a new standard route determination. The values are hard-coded, as is normal in user exits. In addition, ensure that the shipping data you have set is consistent throughout so that no errors occur when you generate deliveries. In particular, this affects the shipping point plant assignment (table TVSWZ) and the shipping point determination or manual assignment (table TVSTZ). ******************************************************************* Note that implementing the correction instructions is a modification. SAP will not provide maintenance for this modification or for any problems that occur as a result. *******************************************************************

Header Data
Release Status: Released on: Master Language: Priority: Category: Primary Component: Secondary Components:
21.10.2012 Page 2 of 3

Released for Customer 09.07.2010 08:48:00 German Recommendations/additional info Special development LE-SHP-DL-STO Stock-Transfer-Order

SAP Note 303453 User exits for shipping data determination in STO
MM-PUR-PO Purchase Orders

Valid Releases
Software Component SAP_APPL SAP_APPL SAP_APPL SAP_APPL SAP_APPL SAP_APPL SAP_APPL SAP_APPL SAP_APPL SAP_APPL SAP_APPL Release 40 45 46 46C 470 500 600 602 603 604 605 From Release 40A 45A 46A 46C 470 500 600 602 603 604 605 To Release 40B 45B 46B 46C 470 500 600 602 603 604 605 and Subsequent

Related Notes
Number 769579 118321 Short Text Changeability of shipping data in stock transport order Shipping condition in stock transport order

Correction Instructions
Correcti on Instruct ions 162034 Valid from Valid to Software Component Typ e *) C Reference Correction Last Changed

07.09.2000 15:12:06 597821 470 605 SAP_APPL C H6BK911818 31.10.2008 22:56:02 *) C Correction, B Preprocessing, A Postprocessing, M Undefined Work

40A

46C

SAP_APPL

21.10.2012

Page 3 of

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy