394204 - CO Line Item With Plant From SD Order Instead of From the PO
Transcript of 394204 - CO Line Item With Plant From SD Order Instead of From the PO
7/26/2019 394204 - CO Line Item With Plant From SD Order Instead of From the PO
http://slidepdf.com/reader/full/394204-co-line-item-with-plant-from-sd-order-instead-of-from-the-po 1/2
SAP Note
Header Data
Symptom
When you process the shipment cost you have the option of assigning the costs to the profitabilitysegment (CO-PA) of the underlying SD order. In particular, the derivation of the object may haveoccurred due to the plant in the order item.When you accept the services performed (goods receipt for the service), the line items in CO arealways posted to the plant of the assigned service order, which can deviate from the plant in the SDorder item.The same applies when you park invoices for these service acceptances.
Other Terms
KE396, sales plant, PAOBJNR, SCD, shipment costs, VI01, VI02, VFKN, MR42
Reason and Prerequisites
You can replace the plant from the purchase order for external service with the plant from the SDorder item by creating a substitution in CO.The following describes the procedure for creating a substitution exit in CO. This exit and itssource code are not delivered in the standard system. For further information on the user exit inthe substitution, refer to Note 48121.
Procedure for creating a CO substitution with user exit for the plant from the SD orderitem:
1. Create the ZZ_CO_SUBSTITUTION program attached to the note and start it.
2. Create the USCDW subroutine in the ZGGBS000 form pool (or in the form pool entered in tableT80D under 'GBLS'). Change the GET_EXIT_TITLES subroutine and specify the USCDW exit there. Thesource code corrections are attached to this note.
3. Create a substitution in CO Customizing (Transaction OKC9) for event 001 (document line item)or change a possible existing substitution.
4. Insert a new substitution step in which field COBL-WERKS (plant) is substituted. If yoursystem has Release 4.5, choose 'Exit' as a substitution method.
Under "Prerequisite", enter the following: ( COBL-GLVOR = 'RMRP' AND COBL-VORGN = 'RMRP' ) OR( COBL-GLVOR = 'RFBV' AND COBL-VORGN = 'RFBV' ) OR( COBL-KZBEW = 'B' AND
( ( COBL-GLVOR = 'RMLE' AND COBL-VORGN = 'RMWE' ) OR( COBL-GLVOR = 'RMWE' AND COBL-VORGN = 'RMWE' ) ) )
Under #Substitutions# insert the USCDW exit in the Plant field.
5. Activate the substitution in Transaction OKC9 (activation level = '1').
Type: If the substitution does not work as expected or the WERKS field is not available in theselection, use Transaction SE16 to check if the report run ZZ_CO_SUBSTITUTION (Step 1) removed theblocking indicator (Field BEXCLUDE) in the GB01 table:- Start Transaction SE16- Table name: 'GB01'- Selection criteria for the data display:
- BOOLCLASS = '001'- CLASSTYPE = 'S'
- BCLTAB = 'COBL'- BCLFIELD = 'WERKS'=> The BEXCLUDE indicator must not be set if you want to carry out a CO-Subsitution in the COBL-WERKS field.
Other Attributes
394204 - CO line item with plant from SD order instead of from the PO
Version 6 Validity: 09.09.2013 - active Language English
Released On 09.09.2013 08:40:45
Release Status Released for Customer
Component LE-TRA-FC-SET Freight Cost Settlement
CO-PA-ACT Flow of actual valuesPriority Recommendations / Additional Info
Category Workaround of missing functionality
Other Components
7/26/2019 394204 - CO Line Item With Plant From SD Order Instead of From the PO
http://slidepdf.com/reader/full/394204-co-line-item-with-plant-from-sd-order-instead-of-from-the-po 2/2
Validity
Correction Instructions
References
This document refers to:
SAP Notes
This document is referenced by:
SAP Notes (7)
CLEAR
COLOR
GB01
MR42
OKC9
VI01
VI02
Software Component From Rel. To Rel. And Subsequent
SAP_APPL 40A 40B
45A 45B
46A 46B
46C 46C
470 470
500 500
600 600
602 602
603 603
604 604
605 605
606 606
616 616
617 617
SAP_BASIS 46D 46D
Correction Instructions
Software Component Valid from Valid to Number
SAP_APPL 40A 617 263087
782631 Info KE 396: For cost distribution C and CO origin A
699343 Modification: Suppressing error VY012
549421 No plant specif.for profitability segment derivation (CO-PA)
185044 KE396 for 'Plant' characteristic during shipment cost process
147620 Not all accnt assignmnt objects substitutable in CO
48121 User Exits in Validations/Substitutions
147620 Not all accnt assignmnt objects substitutable in CO
185044 KE396 for 'Plant' characteristic during shipment cost process
699343 Modification: Suppressing error VY012
733981 Info: Update shipment costs into CO-PA
748028 Information VY 110: General error during transfer
782631 Info KE 396: For cost distribution C and CO origin A
549421 No plant specif.for profitability segment derivation (CO-PA)
Transaction codes