Substitution of Plant
Hi all,
In one of the substitution rule defined for WBS a routine exit U555 is used to substitute Plant from additional fields of Cost center master data. Now I have to see whether this routine exit is active. How can I see?
In OPSN i see that routine exit mentioned in Step but missing under the EXITS tab in Prerequisite. So can I be sure it is inactive. The other problem is this substitution should come into play whenever project will be created and then we save it. But here projects are automatically changing status to REL during creation itself and substitution is missing. Later when I am changing project status to TECO and then saving then substitution is carried on.
I need to fix all these things up for proper functioning so that the routine exit is active and substitution is carried on during Release of project. To stop automatic release of projects too.
Dear Abdul,
We have found a program which substitutes Plants in mass from CC master data. But when I am running the program it throws an error " Fill in all required fields" and cannot save the data. Even though substitution and valaidation is carried out.
When I go to project builder I find all mandatory fields filled up. Only one problem I face when I go to Depreciation Simulation Tab and click on Distribution button it says error "Both asset class and capitalization date are not maintained!
Message no. AO365 "
But my question is for normal save of project it works. Is it that during substitution it is reading the above tab or during project saving? How to come out of this?
Similar Messages
-
Plant substitution issue:
Hi All,
We are using RBATP rule for ATP check for some plants.
We have an order for X material at plant AB for 100 Qty. AB plant not have the stock, where as DC having it. In production system when i enter the above order it is not flipping to DC plant. This is not a regular issue, but coming once in 2 or 3 months..
Recently we have copied Production to our test system, where we do not face the issue.. really a weird scenario.
Any body have any clue !
Venkat CheedallaDear Raj,
Thanks for your early reply,
As per standard behavior of system, in my case plant should be determine from customer master, but it is picking from material master.
why system giving preference to material master instead of customer master?
Is there any settings to change the priority to determine plant in to sales documents.
Thanking you,
Sudheer.U -
Profit center substitution ?
Hi ALL,
I am working on a client requirement u201CContract wise Profitabilityu201D (PCA is activated and Document splitting is not activated). thought i am able to get the Contract wise Profitability report , but PC reporting is effected
Business process:
1)Contract is created (T.code Va41) with different lines item and the profit center is populated on the line item based on Product hierarchy+ Plant combination (Z table maintained )
2) An internal order type u201Csapsu201D with revenue postings allowed is created and assigned to the line items (this is capture the actual revenue and Actual costs and develop a Contract wise profitability through BI)
3) But when the internal order is assigned to the line item, the profit center is getting changed to DUMMY profit center (as no profit center is maintained on the internal order type master data)
4) When ever the billing is done the off set account is getting posted to the Dummy profit center (I am aware this is STD behavior as the co real assignment profit center supersede the FI account assignment)
I am able to get the Contract wise Profitability as desired, but at the cost of Profit center reporting,
Please help me to get the posting to done on to the right profit center.
Can we achieve the desired result through Substitution? (If yes which is better, order substitution, PCA substitution or Gl line item substitution)
Or can we achieve this through any Note/BAdi/BTE
Kindly advice, waiting for your suggestions!
Thanks
RSHI, We used the mentioned BADI, we are able to change the profit center but the internal order is getting passed to the Accounting document and when we doing the reveersal , the reversal Accouting document (revenue account )is Getting populated with wrong Profit center (Dummy) Kindly advice,
This code is what we put in to the BDAI
thanks
Method IF_EX_AC_DOCUMENT~CHANGE_AFTER_CHECK.
**// This Badi is only for " ZYES " Contract Document Type
**// This Badi will get the Profit center at the time of Billing acc.doc generation
**// aswell at the time of Rev.Reg Document Generation
DATA: IMT_ITEM TYPE ACCIT_T,
IMS_ITEM1 TYPE ACCIT,
IMS_ITEM2 TYPE ACCIT,
IMS_HEAD TYPE ACCHD,
EXT_ITEM TYPE ACCIT_SUB_T,
EXS_ITEM TYPE ACCIT_SUB,
EX_DOC TYPE ACC_DOCUMENT_SUBST,
LV_VBELN TYPE VBELN_VA,
LV_POSNR TYPE POSNR_VA,
LV_AUART TYPE AUART,
LV_PRODH TYPE PRODH_D,
LV_VTWEG TYPE VTWEG,
LV_SPART TYPE SPART.
IMS_HEAD = IM_DOCUMENT-HEADER.
IMT_ITEM = IM_DOCUMENT-ITEM.
IF IMS_HEAD-AWTYP = 'VBRK' AND ( IMS_HEAD-TCODE EQ 'VF01' OR IMS_HEAD-TCODE EQ 'VF11' ). " Billing & Cancel
READ TABLE IMT_ITEM INTO IMS_ITEM1 INDEX 1.
IF SY-SUBRC EQ 0.
SELECT SINGLE AUART FROM VBAK INTO LV_AUART WHERE VBELN EQ IMS_ITEM1-XBLNR.
IF LV_AUART EQ 'ZYES'. " CRM Contracts
LOOP AT IMT_ITEM INTO IMS_ITEM2.
IF IMS_ITEM2-PRCTR IS NOT INITIAL.
CLEAR IMS_ITEM2-PRCTR.
SELECT SINGLE PRCTR FROM VBAP
INTO EXS_ITEM-PRCTR
WHERE VBELN EQ IMS_ITEM2-AUBEL
AND POSNR EQ IMS_ITEM2-AUPOS.
IF SY-SUBRC EQ 0.
EXS_ITEM-MANDT = SY-MANDT.
EXS_ITEM-AWTYP = IMS_ITEM2-AWTYP.
EXS_ITEM-AWREF = IMS_ITEM2-AWREF.
EXS_ITEM-POSNR = IMS_ITEM2-POSNR.
EXS_ITEM-GSBER = IMS_ITEM2-GSBER.
APPEND EXS_ITEM TO EXT_ITEM.
ENDIF.
ENDIF.
ENDLOOP.
EX_DOC-ITEM[] = EXT_ITEM[].
EX_DOCUMENT = EX_DOC.
ENDIF.
ENDIF.
ELSEIF IMS_HEAD-AWTYP = 'VBRR' AND ( IMS_HEAD-TCODE EQ 'VF44' OR IMS_HEAD-TCODE EQ 'VF46' ). " Revenue Reg & Cancel
LOOP AT IMT_ITEM INTO IMS_ITEM2 WHERE PRCTR IS NOT INITIAL.
CLEAR:LV_AUART,LV_VBELN,LV_POSNR,IMS_ITEM2-PRCTR.
LV_VBELN = IMS_ITEM2-ZUONR+0(10).
LV_POSNR = IMS_ITEM2-ZUONR+10(6).
SELECT SINGLE AUART VTWEG SPART FROM VBAK INTO
(LV_AUART,LV_VTWEG,LV_SPART) WHERE VBELN EQ LV_VBELN.
IF LV_AUART EQ 'ZYES'.
SELECT SINGLE PRCTR FROM VBAP
INTO EXS_ITEM-PRCTR
WHERE VBELN EQ LV_VBELN
AND POSNR EQ LV_POSNR.
IF SY-SUBRC EQ 0.
EXS_ITEM-MANDT = SY-MANDT.
EXS_ITEM-AWTYP = IMS_ITEM2-AWTYP.
EXS_ITEM-AWREF = IMS_ITEM2-AWREF.
EXS_ITEM-POSNR = IMS_ITEM2-POSNR.
EXS_ITEM-GSBER = IMS_ITEM2-GSBER.
EXS_ITEM-AWORG = IMS_ITEM2-AWORG.
APPEND EXS_ITEM TO EXT_ITEM.
ENDIF.
ENDIF.
ENDLOOP.
IF EXT_ITEM[] IS NOT INITIAL.
EX_DOC-ITEM[] = EXT_ITEM[].
EX_DOCUMENT = EX_DOC.
ENDIF.
ENDIF.
endmethod. -
APO gATP vs R/3 ATP - To check sales order ATP across multiple plants
Hi There,
I am trying to evaluate gATP functionality for SD sales orders.
The primary requirement is to have sales order ATP checking take place across multiple plants.
E.G.
Sales order line is entered for qty 100
60 is available in plant A, 40 is available in plant B
System checks both plants and creates 2 lines - one for delivery from plant A and one for delivery from plant B
(we are currently heading down the road of writing ABAP to do this 'multi-plant' check in R/3 but the more complex the requirements get the more interested I am in understanding more about APO/gATP)
I would like to understand the benefit of implementing APO / gATP as opposed to using standard R/3 ATP and perhaps writing custom ABAP code to search for inventory across multiple plants.
I would appreciate any insight regarding what is required to setp gATP to perform such checking and any other feedback regarding this issue - especially if you have had to implement something similar at your company.
I have looked here but not much clear help:
http://help.sap.com/saphelp_scm50/helpdata/en/26/c2d63b18bc7e7fe10000000a114084/frameset.htm
Thanks,
NiallHi Niall
you are probably looking at RBATP (Rule based ATP). Look at transaction /sapapo/rba04 in APO where you develop your own location and product substitution rules. Going down an ABAP road in R/3 may work short-term but not long-term as the requirements may get more complex.
Regards
Srinivas -
Having Multiple Material Codes with Different Profit Centers in one Plant
Hi,
Can someone explain me what impact it will have, if there are different Material Codes with multiple profit centers in a single plant? For example, say Material 1 has Profit Center as PC1 and Material 2 has Profit Center as PC2 and they are in a single plant. Will this have impact on Financial Transactions?
Thanks and Regards,
Sameer JoshiHi Sameer
No negative impact.. It is very much possible and logical
All the purchases made - > Stocks and vendor liability will be tagged to the PC of the Material
All the sales made -> COGS, Revenue and Customer Liability will be tagged to the PC of the material, unless you overwrite using a Substitution
Br, Ajay M -
Profit Center design by plant wise
Hi Experts,
My client is having central procurement unit and having 8 branches(warehouses) and they transfer the goods from head office to branch later on for their sale.And the legal requirement here is that cost is same across all warehouses and we adopted each branch as profit center for reporting.
My question is
1.How can I meet my requirement of cost is same as above at each storage location if I treated each one as plant ?
2.How I can assign profit centers if MM setup only one plant ?
3.And eventhough if I pick profit centers in above case as I need through substitution how can I record stock trnsfer in receiving profit center becz SAP we cannot get the fi/co document with intra plant transfer scenario with valaution type is same ?
Please give me your suggesitions and alternatives which is very helpful fo my project.
Good points will be assigned with better answer.Hello,
I hope I understood the question properly.
Assumption - Each branch is a profit center (i.e. you would like to allocate the sales of each branch and the COGS of each branch to a different profit center).
You have 2 (quite exotic) options:
1. Define each branch as a profit center. in customizing for MM you can define that the valuation level is the copmany code and not the plant. This is not a very common approach but I have tested it a little and it works. This means that the moving average price for ALL of the plants in the company code for a certaing material will be identical. Be careful when implementing this in an environment with transaction data in MM.
2. Define each branch as a profit center. Use one plant and each branch as storage location. In this case since it is all one plant, the material will have one value. Try using the profit center substitution for sales order to assign the profit center to the sales order according to the storage location.
Please note - you will probably not be able to use transfer prices in PCA If you select option 2.
Kind regards,
Avihay -
Profit center substitution in cross-company sales
Hi,
We're working here with cross-company sales and profit center.
Let assume that we have a final customer, sales organization (1090 and 1190) and plants (1090 and 1190).
1090 is selling to the final customer and 1190 will sell to 1090.
Everything is monitored from SD in 1090. So we create a sales order in sales organization 1090 for the final customer. Then for the item we change the plant (automatic proposed value 1090 => changed into 1190), this in order to represent a cross-company sale.
After we changed the plant ... we can see in the account assignment tab that we now have 2 "profit center fields". SAP notes 815972, 39254, 713228 ... explain that we can manage different values for the two fields (profit center and profit center billing) using subsitution (0KEL and 0KEM transactions). Unfortunately we're not able here to change the value for the Profit Center Billing field, even through an exit !!
Could anyone give us a hand on this ?
Regards.
Benjamin BROCHONHi we got the same problem where the substitution is not working, 0KEL we have set the status 2. but still the customer billing document contains the wrong profit center. can you help us on this issue? please replay to [email protected]
-
Profit Centre substitution on the line items
Hi Guys
I am replicating a contract from CRM to R/3 , the CRM contract will replicate as debit memo request / contract in r/3 with u201Cnu201D line items and these line items are populated with profit centers based on plant and product hierarchy ( Combination maintained in a Z table)
My problem is that these line items are also assigned to a internal order and this internal order is not assigned to any profit center , when ever I am billing the line item (or) running revenue recognition program (T.code Vf44) dummy profit center is getting populated on the accounting line items
Kindly suggest any exit/BAdi/ BTE to over come this standard behavior of the system THE IDEAL SOLUTION IS TO RESTICT THE DUMMY PROFIT CENTER AND THE LINE ITME OF ACCOUNTING DOCUMENT GETTING POPULATED WITH THE SAME PROFIT AS ON THE SALE ORDER/CONTRACT LINE ITEM
Thanks
Sashikanthuse a substitution rule and user exit .
-
Business Area & Plant not picked in CIN entries while doing MIRO
At the time of performing MIRO, the automated entries related to cenvat clearing account for excise in CIN are made by system.
At the time of excise capturing the Business Area and Plant are picked up at line item for Cenvat Clearing Account.
But at the time of MIRO the Business Area and Plant are not picked at line item for Cenvat Clearing Account.
The client requires the segregation of the entries on the basis of Plant / Business Area.
Regards
DharmveerGB01 is the table where you define it.
and for documentation u can start from:
http://help.sap.com/saphelp_47x200/helpdata/en/27/06e23954d9035de10000000a114084/frameset.htm
use various links in this page, u can know everything abt substitution.
Regards,
anantha -
Dear All,
We have a scenario where clients is having five plants under one legal entity.
Client wants F110 payment run separately for all vendor invoices specific to the plant.
For all plants , there are separate bank accounts and respective invoice must go to plant specific bank account as this is legal requirement of the country.
Could you please let me know configuration steps to manage this scenario.
Also can you let us know, how can we make payment to selected Vendors in F110 ( additional field tab).
In paramater tab,we have the option to incorporate the selected vendor codes.
In additional field tab,we have only 3 row with a range of Vendor codes.
Now i want to make payment to 50 vendors(specific to one plant) the vendor codes are 001,18,58,193,etc......how can we do this while we run the payment program.
Do suggest
RegardsWhen you are posting an invoice, some field in the invoice document must have plant information. Based on that you can substitute the House Bank. Lets say for example, You enter the value "Plant1" in the Assignment field of the vendor invoice. and you want to pay Plant1 invoices through house Bank HBK01. Then your should create a substitution rule saying if the value in say assignment field is "Plant1" then substitute House Bank field in the vendor line with value HBK01. If you are using a dedicated vendor number ranges specific to plant, then you can do the house bank substitution based on vendor ID as well, and then you don't have to enter Plant info in the invoice.
Then all the invoices will have right house bank data. Now to make sure that you are paying to vendor posting specific to a plant in the payment run. You can go to FREE SELECTION tab of payment run(F110) when you enter parameters, and in the drop down under field name double click others option and select the document and enter. and then select and enter the field that you are using to enter plant information. In my example I have used Assignment field to enter plant information. So, I will select BSEG-ZUONR. Then I will go to Values field and enter "Plant1". Then Payment run will pick up only "Plant1" invoices.
If you already using some rules to enter the house bank in the invoice, then you might not want to use the substitution rule. But find out which field in the vendor invoice has plant infomation, and select that field as i have shown above though FREE SELECTION.
Thanks
ROn -
Plant and Cost Center are not displaying in FI doc. for asset scrap ABAVN.
Hi All,
When we do asset retirement by Scraping using Transaction Code ABAVN, Plant and Cost center are not appearing in the FI document. But, in the master data the Plant and Cost center are assigned for the particular Asset.
When I see the FI document display, the fields Cost Center and Plant are blank. Business Area and Profit Center fields are getting updated.
Can any one help me how to get this Plant and Cost Center in the posted document. Is there any OSS notes for this. I am using ECC 6.0 version.
Thanks in advance for your help.
Regards,
RajeshRajesh
Aditional on me answer.
The systemtakes not the cost center from the asset you have to assign it in OKB9 or to fill in during this posting:
Steps
Click on Simulate, than you see the posting screen:
Click on the line (pk 40)
Click on Goto and Additional account assignment and fill in the cost center whatu2019s in the master record of the asset and post
An other option is to make a substitution to get this information -
all I have two different substitution rules for one vender
#1 is vendor and plant 1 or 2 or 3 and GL xxxxx then post to BA - 70
2 is vendor and plant 4 or 5 or 6 and GL xxxx then post to 81
When I created PO and did the GR/ it's posting to BA 70 where my plant is 5 and GL it's posted to is different from substitution rule
when I did the invoice, it's posting to the BA 81 where the plant and vendor combination is correct. The GL is not the same here again.
When I traced the substitution rule, it's showing true to #1 rule false to # two for GR. However, my document is no where matched to # 1 The plant is not correct and the GL is also not correct. The only true statement is the vendor.
Can someone help me why it's happening?
I would expect to post either to BA 81 or ignore as the GL is not correct.
Please advise.
Just fyi
Thanks,
SriThanks for your prompt response. We do want to keep BA as a criterion in automatic clearing. I have the following substitution rules
1) Vendor ABC and
plant 85 and
vendor recon GL 123456
substitute with BA 47
2) vendor abc and XYZ
plant 85 and
GL 654321
substitue with BA 43
the plant and divistion determination config is set to BA 47
The vendor on PO is ABC
the plant and division on PO is - 85
my FI entry is
Dr - FG (BA 43)
Cr - GR/IR ( 43)
when I traced the substitution rule it's saying true to Rule 2 above
why the rule is considering rule two as true when the condition is not fulfiling.
FI enty at invoice
Dr - vendor recon (47) which is ture and the substitution is working
Cr - GR/IR (47)
How does the system derives the BA on FI documents. To me, it should carry the same BA through out all FI documents.
Your help is greately appreciated.
Thanks,
Sri -
Hello,
I have some problem, my User have a material substitution in BOM component of my Finished Goods 25520. the Component material 10001520 was declared to be replaced by component material 10002520 but the effective date will be on September 7, 2008.
here come the problem, we made a production order for meterial 25520 on the date August 19, 2008. and made confirmation. when we check in the Prodcution order component Overview both the material 10001520 and 10002520 was pick up by the order and when examine closely material 10002520 (this is the one to be the substitute for 10001520 in september 7, 2008) it has zero req qty but it's backflushed indicator was tick, and when see the confirmation made to the order it has an error. since this material must not be pick by the order when the BOM exploded since this material is not yet effective in the BOM as desired.
why this happen?
please help, is am not clear on my description, please let me know.
thanks
Ryan
Edited by: Ryan Lazaro on Aug 26, 2008 8:53 AMHello Expert,
In CS11,
Material: 25520
Plant: 0160
BOM Usage: 1
Alternate BOM: 01
I see the following:
10001520 Valid from (14.10.2008) Valid to (05.05.2008)
10001520 Valid from (14.05.2008) Valid to (07.09.2008)
10002520 Valid from (07.09.2008) Valid to (31.12.9999)
same amount, this was the series of bom component in CS11.
Please give your findings.
Thanks
Edited by: Ryan Lazaro on Aug 26, 2008 12:13 PM
Edited by: Ryan Lazaro on Aug 27, 2008 3:33 AM -
Can we limit the profit center at plant level?
Hi Experts,
I need to limit a profit center for certain plant, is this possible?
Example:
Profit center should be inactive for plant P100.
Thanks,
KumarHi Kumar
This will have larger implications
1. You need to ensure that Mat Masters are updated with right PC.. You can use a BADI to substitute the PC automatically at the time of Mat master creation
2. In Cost centers, that you make per plant, you will have to ensure this manually or using Exit COOMKS02
3. Similarly, for Int orders and other Cost objects
4. you can also write a substituion in FI to check Plant and PC combination.. But if master data is ensured, you dont need substitution
Br. Ajay M -
Substitution for internal order
Dear friends,
I am trying to use substitution function for an order type, while the company code is what I set in substitution, the field of plant in order master must be substituted into specific plant code. Now I finished the setting, including OKC9 to activate, but it doesn't work. Could you please tell any details I missing or how do you think about this issue? Thank you in advance.
Best Regards,
HanchuI can suggest you one alternative. See how pracitcal it is in your case. If you are working with hanful of company codes and plants, then you may create a model order (KOM1) for every company code and plant combination. Maintain corresponding company code and plant in model order master. Number the model order by plant for example - that way it becomes easy for the user to remember.
While creating a new internal order, all user has to do is, to use appropriate reference model order in 'Reference order' field in first screen of KO01 transaction. System will default all the data from model order into the new order you are creating.
See if this works for you.
Regards
Subodh
Maybe you are looking for
-
I have purchased an iPhone 4s 2 years ago and recently purchased an iPod touch for my husband while he was abroad working. I used the same Apple ID when setting up the iPod touch but now I want to know how I can have two separate Apple IDs. One for h
-
i need safari on my ipod i had it now it is gone and it is really annoying i cannot download some apps all because of an ios thing i would appreciate it if i could get ios 7 so someone please help me
-
Need to create Idoc using with BAPI in BP
Hi Experts, Business Partners are created/changed in SAP either directly by using transaction BP or indirectly created from DTI or using the BAPIBUSISM007_CREATEFROMDATA BAPI for new customers and BAPIBUSISM007_CHANGE to change customers. When a busi
-
Dynamically generate JSF Source code in a JSP
Hi, I have a JSP and instead of writing the JSF source Code like: <h:inputText styleClass="entryInput" id="textNumberOfServerMachinesInput" value="#{DataAccess.value}" valueChangeListener="#{InputValueChanged.processValueChange}"> </h:inputText> manu
-
Hello World, In My application I need to write flat text files as from a PL/SQL script procedure. The application is third tier architecture, with a SGBDR server, a application server, and a Web server. The PL/SQL script procedure is running on the a