Profit center substitution in Sales Order item level

Dear all,
In Our senario for Sales Order creation time at item level that is material level sale B tab user specified Berth no: in Pricing group field ( KONDA), Based on the Berth no, concern profit center derived  from subtitution rule .That purpose I tried Profit center substitution in that substitution,SAP has given PCB SUB structure in that structure main field has given but KONDA field not available, so please guide me how I update that KONDA field to that stucture (PCB SUB) in Profit center substitution area with ABAPER or
I have developed a abap enhancement specifing berth no and profit center assignment and excuting the enhancement in sales order exit. Is there any problem for SD process, Our SD consultant using the sales order user exit for other purpose. He is not allowing to use that exit to execute the zdevelopment
Please suggest me How I update that field into that PCB SUB structure for creation profit center substitution or
can I use zdevelopment through sales order user exit . without affeting the SD process.

Hi 
I have the issue like..
1.  For each line item of the sales order check, whether the profit center is filled or not, if it is not filled then determine the profit center and populate.
2. If material of the line item is "sub component code" of a material that is "Offering component code", then compare the profit centers of line item with the profit center maintained for the material that is offering component code.  If the profit centers are different, replace the sales order line item profit center with the profit center of the offering component code material.
3.  Above activities should happen when the sales order is saved.
can somebody tell me which user exit ?? where coding can be dine.

Similar Messages

  • Profit Center Substitution in Sales order

    Hello All,
    I have a Small Issue here.
    we have a substitution rule for the PCA Derivation in the SO with the combinations of few Sales Org, Distribution Channels and Divisions.
    But when a WBS Element is Assigned in the Sales order it is over writting the Substitued profit center with the profit center in the WBS Element.
    If we have not maintained any thing in the WBS it is Deriving the Dummy Profit Center from the controlling Area Settings in PCA
    Best Regards
    Ravi

    Ravi-
    Generally, the following prioritization in ascending order applies during the determination of the profit center:
    a) Material master
    b) Profit center substitution
    c) Manual entries
    d) Actual account assignment, for example: internal order.
    a) = Lowest priority , d) = Highest priority.
    This is standard.
    Hope this helps.
    Shail

  • Profit Center derivation in Sales Order

    Dear Gurus
    I have a requirement where profit center should be derived in sales order on the combination of customer country and plant.
    In standard SAP it can be defaulted at plant level from material master.
    How can this be defaulted on Customer country and shipping plant.
    Looking for experts opinion.
    Regards,
    Neeraj Srivastava

    Dear Neeraj,
    It is possible to achieve this by using Profit Center Substitution in Sales Orders but as per your requirement Customer country is not available in Table fields but wherein Plant is available. Please find the below example process
    The profit center is entered in the material master in the Sales: general/plant view.
    When sales order is created the profit center in the material master will be populated in the sales order line item profit center field, which is present in the account assignment tab. This is the standard SAP behaviour.
    To substitute the profit center, substitution rules have to be created. To define the substitution rules, use transaction 0KEM or the menu path IMG -> Enterprise Controlling -> Profit Center Accounting -> Assignments of Account Assignment Objects to Profit Centers -> Sales Order -> Sales Order Substitutions -> Define Substitution rules. Once in this transaction, click on Substitution icon to create a new substitution rule.
    Enter the code say ZZ01 and description of the substitution rule and click on save.
    Select the new substitution rule i.e. ZZ01 and click on the Step icon. System will give a pop up window in which the second option (profit center) has to be selected. Press enter or click on the green OK icon.
    After pressing enter, another pop up box will be seen. Here, select the first option i.e. constant value and press enter.
    You will be taken to the Step 001 - Overview screen. Enter the description for the Step and then click on Pre-requisites on the left side.
    In the next screen, double click on EC-PCA: Substitution in Sales Order under List of Structures. In the next screen, select the item based on which the substitution has to be done. For eg: Division in item. 
    After you double click on Division in item, you will find the Division in item in the box above. After this click on "=" button which is next to the table fields. You will now find "=" next to Division in item in the box above. 
    Now click on constant button. System will give a pop up box in which enter the division number on which the substitution rule has to be built for eg. Division 10 i.e. whenever the division at item level is equal to 10 the profit center has to be replaced. After entering the value, press enter. After this you will find in the box above Division in itm = '10'. 
    Click on Substitutions on the left hand side. On the right hand side enter the profit center number which has to be populated (i.e. the profit center that has to be substituted with) in the sales order line item if the pre-requisite is met. Check the check box next to profit center also. 
    Click on the save icon. System will give a message save and generation successfully completed. The substitution rule is now created. 
    Now the substitution rule has to be assigned to the relevant controlling area. To do this, use transaction 0KEL or menu path IMG -> Enterprise Controlling -> Profit Center Accounting -> Assignments of Account Assignment Objects to Profit Centers -> Sales Order -> Sales Order Substitutions -> Assign Substitution Rules. To assign the substitution rule to the controlling area click on new entries and enter the controlling area, substitution rule and active status. Appropriate active status can be given as per requirement for eg: 3. 
    When the sales order is created, you can observe that the profit center for the line item is 'YYYY' because the pre-requisite is met i.e. the item division of the material in the line item is 10. This means even though in the material master the profit center is 'XXXX', it has been substituted by 'YYYY' based on the substitution rule logic

  • Profit center derivation in sales order with New GL

    Dear Gurus,
    We are using the New GL, so EC-PCA is not activated.
    We would like to set-up a substitution rule in order to derive the profit center in the sales order and customer invoice (we don't want the profit center to always be derived from the costing view of the material master data).
    I created a substitution rule with transaction 0KEM and assigned it to the controlling area with active status"3" (Other transactions + cross-company (orders + billing doc.)).
    Unfortunately, it doesn't seem to be called when I create a sales order.
    Can you please confirm gthat 0KEM is the transaction to use even when we use New GL without EC-PCA?
    Where should I put a breakpoint in order to trace the call to the substitution rule?
    Thanks a lot in advance for your help.
    Regards,
    Simo

    Dear Gurus,
    We are using the New GL, so EC-PCA is not activated.
    We would like to set-up a substitution rule in order to derive the profit center in the sales order and customer invoice (we don't want the profit center to always be derived from the costing view of the material master data).
    I created a substitution rule with transaction 0KEM and assigned it to the controlling area with active status"3" (Other transactions + cross-company (orders + billing doc.)).
    Unfortunately, it doesn't seem to be called when I create a sales order.
    Can you please confirm gthat 0KEM is the transaction to use even when we use New GL without EC-PCA?
    Where should I put a breakpoint in order to trace the call to the substitution rule?
    Thanks a lot in advance for your help.
    Regards,
    Simo

  • Sales order costing - tracking of actual costs at sales order item level

    Hi
    We are going with sales order costing for services
    Service material is non-valuated hence the scenario is non-valuated sales order stock
    PP module is not implemented.
    I am having following questions
    1. How to track the actual costs at sales order item level? Is Internal order/CO production order is required to be created for the same?
    2. Can I do activity confirmations directly from cost center to sales order item.
    3. Can Raw material is issued directly against sales order item.
    4. Is Sales order is a real or statistical account assignment object?

    dear friend,
    please look here:
    http://help.sap.com/saphelp_47x200/helpdata/EN/42/d7248ab27111d19e9a080009b0db33/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/EN/90/ba6cfb446711d189420000e829fbbd/frameset.htm
    reagrds,

  • Sale Order Item Level Text Field which table and field

    Hi,
    Thanks for your prompt reply and best solution.
    Can you please tell me one more thing, in sale order at item level the TEXT Field maintaining by user at transaction level now they want that field in one of the report, so can you please tell what is the table and field where i will get this sale order item level text details.

    Hello,
    is this going to work for item level text as well.
    can you tell how to proceed with this functional module
    or is there any other thing required.Please elaborate to
    understand better way.
    You can check out two table in respect to Sales TEXT i.e. STXH (STXD SAPscript text file header) and STXL(SAPscript text file lines).
    The best approach of tracing out the Text in respect to Sales Order would be to use the Function module READ_TEXT and put this FM in SE37 and execute with the following parameter.
    Client
    Text ID of text to be read
    Language of text to be read
    Name of text to be read
    Object of text to be read
    Archive handle
    Text catalog local
    When you are essentially looking to read item level Text with respect to Sales Order then your Text OBject would be VBBP.
    Regards,
    Sarthak

  • Mandatory partner function at sales order item level

    Hi all,
    I'm customizing partner schema at item level for sales order. I have created a custom partner function, I put it in a new sales order item partner procedure and i set this partner function as mandatory (I want that system show me a message if this function is missing at item level in sales order). This partner function is defined only at sales order item level (not at header level or customer master).
    If i create and save a sales order with an item type that use the item partner procedure I have created, system don't show me any message for the item custom partner function missing, else if it is set as mandatory in sales order item partner procedure.
    I have read some posts in these forums about this functionality, but it seems a different situation.
    Someone had a similar type of problem?
    Thank you in advance for any possible suggestion.
    Regards
    Gianpaolo

    Hi,
    First you have to create a new partner function.
    Then assign that partner function to the account group.
    Then assign that partner function to partner determination procedure for the item category.
    Over here click on the mandatory button also.
    Then assign that partner determination procedure to item category.
    Then to XD02 and give your customer number and in the partner tab maintain the data for that partner function.
    Now go to VA01 and create your sales order you will see you partner function.
    If you wont have maintained it in the customer master then it will prompt an error.
    Regards
    Raj.

  • Update Purchase order number in Sales order item level from inbound ORDCHG iDoc

    Hi Gurus,
    I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
    Which exit I need to use?  where to update?  Can you please help.
    Thank you in advance.
    Regards,
    San

    Finally Resolved the problem by writing 2 exits.
    one exit 'EXIT_SAPLVEDB_007'  for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX.  if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
    2nd exit for updating the purchase order number. 
    I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
    when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number.  so to update ship-to party's purchase order number it is going to that screen. 
    so I have used that thing to update purchase order number in sold-to party's purchase order number.
    so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata.  Then it is worked.
    This is the solution I found in my time.
    Any way it is solved.  Hope it will be helpful for others who will get this problem.

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to add three fields in Sales order item level and supress/hide many

    Hi Gurus,
    My client requirement is :
    1. Three fields to be added at Sales order Item level and they should flow till billing.
    2. Supress/hide most of the fields in Sales order, so that end user will be happy( thru SHDO how to do)
    Please share your experiences and help me.
    BEST REGARDS
    Srikanth

    Hi Subba Rao
    in VA01 screen - Material /qty/ after entering this client wants to enter three more details say X/Y/Z
    and after that he dont want to see maximum fields displayed in VA01 Screen.
    I think it makes sense.
    Regards
    Srikanth

  • How to make a field profit center mandatory in sales order?

    Dear GURUS,
    Please help in getting answer for following question.
    How to make a field profit center mandatory in sales order?
    With Regards
    Sandeep D.

    Hi,
    There are 2 ways to make profit center mandatory
    1.Transaction Variant
    2.Incompletion procedure
    1.Transaction Variant
    Step 1:Goto Tcode shd0 and input transaction as va01 and give name of transaction variant as ( example. zva01 ) and click on create or F5
    Step 2.Then it takes you to sales order screen.Just click on enter untill you see profit center field.
    Step 3.check the box required against profit center.
    Step 4.click on save ( under a package name or as local object ) and exit
    Step 5.Assign transaction variant to your sales order type through tcode v0v8.
    2.Incompletion Procedure
    You can add the field  table-vbap,field- prctr,status-04,check-warning to your existing incompletion procedure Tcode- ova2 assigned to your order type in tcode vov8  and check the box - incomplete messeges for your order type through tcode vov8.
    If incompletion procedure is not assigned to your order type than you have to create a new incompletion procedure and assign it to order type.

  • Collect funding at sales order item level

    Hi all,
    Is there a FM or BAPI that will allow me to feed in a WBS element to retrieve a list of all sales orders and associated line items. I have a need to sum the funding at the sales order item level.
    Thanks,
    Mat

    Hi,
    Perhaps you can read directly from table VBBE to get all sales order and item based on WBS element (PSPEL).
    Regards,
    Ferry Lianto

  • Split at sales order item level

    Hi SD gurus...
    Iam trying batch determination at sales order item.
    I could get every thing except batch split/ Even though required split are maintained in batch search record, it is getting as 001 only at the time of determination during sales order.
    I think this is a standard phenomena. is there any work arround possible to get the required batch split at sales order item level.
    warm regards
    sairam akundi

    Hi Sairam,
    Contrary to deliveries, batch splits are not possible for sales orders (as opposed to delivery). Even if you have defined a certain number of batch splits in the batch search strategy, the system overrides this default setting.
    Maybe you can explore USEREXIT_MOVE_FIELD_TO_KOMPH

  • Changing address in sales order item level

    Dear very good mng
    i want to know , i am trying to change ship to party address in sales order line item level
    but showing Gray mode only ..  i have maintained Sales document item level ( partners) Removed check box not modifiable
    And i activated Item partners check box at partner tab
    even i am not able to change address in sales order item level plz tell me
    Thanks a lot

    Hi Madhuri
    I  have checked my self.system does allow to change different ship to Party on line Item level .
    Please do the following steps .
    1. Replace/delete  the WE partner Number ( Example -1) in my case  in change mode.
    2. system will show some error message as show below while deleting or replacing WE with some other ship to Party code.
    3. Ignore the message and go ahead  . Please put the new Partner's number and double click
    address Screen will Pop up . You can Change the address .
    Hope this helps .Let me know for more clarification needed .
    Regards
    Santosh Verma

  • In sales order item level billing tab

    in sales order item level billing tab you have nine fields for payment terms
    i want to know from where is the payment terms coming in the fields , i have checked that whatever payment term is there in SP/SH/PY they are not getting updated in the nine fields
    can anyone tell wat is the possible ways to fill these tabs

    Hi,
    Payment terms are coming from Customer Master on Sales order , I did checked by removing the payment terms from customer master and created the sales order were it has not defaulted.  Updated the Customer Master with Payment Terms and created the sales order now Payment terms got defaulted.
    Regards
    Raj

Maybe you are looking for

  • Generic Object Services for Custom Object Type

    I would like some advice please. I am not an ABAP Developer but I would like to enable the generic object services for transaction PP01 for a custom object type. I have searched for information, which suggests that the object needs to be published us

  • How to restrict/hide  the CREDIT BLOCK RELEASE LINK AT ITEM LEVEL of Servic

    Hi, We are using CRM2007 Stack 4. In WEB UI Change Service Order  screen for a credit service order which is blocked for credit, at item level a link is available for release of credit block. This link is currently accessible by all users. Please adv

  • How to remove crop effect on Event

    Hi, I'm editing a video on iMovie and playing with the crop feature I've set a crop on the event itself so now I can't move video to my project without the crop effect so I get just a piece of the actual video. How can I remove the whole crop thing o

  • SOLARIS SIGNALS in JAVA

    Hi, I am writing a java program which will be triggered by a shell script on solaris machine. how can i handle signals SIGUSR, SIGUSR2 etc... in the java program? Thanks in advance Regards Hunger

  • Words - Not enough memory  or disk space

    In Words I receive message : There is not enough memory or disk space to complete this operation? Any Idea what can i do?