BAPI_INTERNALORDER_CREATE plus profitability segment settlement

I am trying to create internal orders using BAPI_INTERNALORDER_CREATE, in the Settlement rules data I want to settle to profitability segment but I can't find away to do this. I can settle to other orders, cost centers and WBS elements but not PSG.
Are you guys aware of any way I cant do this. How can I derive profitability segment from PNL? is there other functions that will help do this?
Thank you very much
Omar

Hi All,
   I am also facing same problem. Please guide me how to create internal order using BAPI (BAPI_INTERNALORDER_CREATE) only with Profitability segment.
Regards
Uma Balasubramanya

Similar Messages

  • BAPI_INTERNALORDER_CREATE settlement rule for profitability segment

    I am trying to create internal orders using BAPI_INTERNALORDER_CREATE, in the Settlement rules data I want to settle to profitability segment but I can't find away to do this. I can settle to other orders, cost centers and WBS elements but not PSG.
    Are you guys aware of any way I cant do this. How can I derive profitability segment from PNL? is there other functions that will help do this?
    Thank you very much
    Omar

    Yes that field is enabled for settling from settlement profile configuration. The other enabled fields like order, cost centers and profit centers are available.
    I think the BAPI is missing this functionality since the profitability segment has to be derived from other characteristics like PNL.
    Are you guys aware of any functions that do the derivation of the profitability segment given PNL for example?
    In this case where the BAPI is missing some key function what is the best way forward?
    Thanks very much
    Omar

  • Maintenance Cost Settlement on Profitability Segment

    Hi, Can anyone tell me, that how can we settle our Maintenance Cost from PM to a Profit Center. In my company there is a Cost receiver defined as Profitability Segment and available in Settlement Rule. Can anyone explain, what does it mean. Are we settling out Maintenance Cost to profit Center directly or somewhere else. 

    Abhishek Sharma,
    Yes, you can settle a Profit Segment.
    Have a look at the Settlement Profile assigned to your order type (IMG: Maintain Settlement Profiles).
    PeteA

  • User exit for profitability segment in service order settlement rule

    Does anybody know if exit EXIT_SAPLKEAK_001 works for the profitability segment creation during the creation of a settlement rule of a service order?
    The context is the following: the company uses service orders which are settled periodically (it receives revenue from sales order which is posted to the service orders at time of billing, and also costs at time of goods issue). The profitability segment in the settlement rule of the service order needs to be the same as the one from the billing document that posted to the order.
    Can I use EXIT_SAPLKEAK_001 to find the characteristics from the billing document and populate it in the PSG of the settlement rule? If yes, could this be applied to only one specific service order type?
    Thank you.

    Hi
    If your settlement is triggered by a batch or is triggered by a workflow exit EXIT_SAPLKEAK_001 is not run. From release 5.00 on characteristic groups are indeed not considered any more during batch input processes because there were problems before with initial chars of a CO-PA line item resulting from a batch input process that actually shouldn't be initial.
    Refer SAP Note 581739, which put an end to usage of char groups during batch input processes. Also refer SAP Note 142628.
    Regards
    Sanil Bhandari
    Edited by: Sanil K Bhandari on Jun 23, 2011 10:12 AM

  • Material number in profitability segment in internal order settlement rule

    Hello,
    We have a process which is the following: the real posting for the revenue in the sales order is an internal order. Once the internal order settlement is done, then the values flow to COPA.
    The material shows up in the revenue FI document, but it does not show when we look at the internal orders line items.
    I need to have the material number from the sales order (from the revenue posting) automatically identified in the profitability segment in the settlement rule of the internal order.
    Would anyone  know how this can be done?
    Thank you!

    Hi,
       Where exactly are you checking for the material no ? When you settle the IO to COPA a record type C will be created in COPA. Is the material no missing in the record type C ?
       In that case if the sales order no is available on the internal order then you can in a derivation rule do a table lookup on VBAP and get the material no.
    regards
    Waman

  • Problem with profitability segment derivation while posting sales order

    Hello,
    We have the issue of profitability segment being not derived when the sales order is changed using BAPI 'BAPI_SALESORDER_CHANGE'. Subsequent to calling this BAPI we execute a BDC - to derive the profitability segment - which runs well in the foreground but fails in the background. Immediate help in this regards would be of immense help.
    I have searched the forum but could not locate anything useful. There is this thread (Re: BDC for profitability segment VA02 (sales order)) citing the same problem but without answers.
    Kind Regards,
    Indu Shekar

    Probability Segment is maintained but  Profitability Segment is still grayed out.
    The only way i was able to move things to COPA  was to do a project Settlement from
    WBS element to Profitability Segment (PSA).
    But does anyone know if we can move things to COPA during Sales Order (specifically for a project-based Sales Order)?
    Thanks.

  • Sales Order No profitability segment!! Account assignment error!!!

    Dear Experts
    We are running an MTO(make to order) scenario!
    First we create an contract in the system!Then we create sales order
    with reference to this contract!
    And when the sales order is sent to the planning department! They use
    TCODE:CO08 create production order with reference to the sales order!
    But we get an error message as follows:
    Account assignment cannot be carried out because of different origin no.
    Message no. V1134
    Diagnosis
    The sales document to which you want to refer is based on sales document 41033737 and item 000010.
    Therefore, the settlement and possibly inventory management are carried out using the number of the
    preceding document.
    ut when I entered the the contract in Co08 and then I am able to create
    the production order.
    And when I back to see the detail in the sales order ,I find there is no
    value in the account assignment to the profitability segment!!
    Why the sales order have no profitability segment??*
    Why we can not create production order with reference to sales order??
    It seems there are one problem!
    Thanks for any reply!!

    Please refer note 327195 or 35445
    thanks
    G. Lakshmipathi

  • Why we should assign Profitability Segment Number in sales Order

    Dear Gurus,
    Can any one tell me why we should assign profitability Segment Number in Sales Order?
    While i am createing the sales order system is asking to assign profitability Segment Number and WBS Element. Even though there is no specific assignment of these fields for incompletion log.
    Can anyone tell me what exactly is the functionality behind this Profitability Segment number?
    Good answers are rewarded with points
    Thanks and Regards
    SAP SD
    Yoganand

    Hi,
    If CO-PA is active settlement transfer the costs and revenue of the sales order item to profitability segment in CO-PA, if not active it gets transferred to G/L account in FI.
    Regarding functionality of Profitability segment - Need to specify Characteristics in CO-PA for profitability segments and these characteristics are used for Information system and planning. Charcteristics which are not involved in profitablity segment remains in the line item of CO-PA. In essence charcteristics decides on profitablity segments.
    Regarding removal of Profitablity segment no in Sales order .Kindly refer back to the earlier threads.
    Thanks & Regards
    Madhu

  • Sales order derivation on profitability segment from WBS element

    I have an issue where we are creating a contract in CRM. The contract then ties to a project in PS and then has a WBS element assigned to it. In looking at the settlement rule and the profitability segment the sales order/contract is not being populated. We looked into having user exit COPA0001 populate it for us, but sales order can not be a target field.
    My question is, shouldn't the sales order derive automatically already? If not, any ideas on how to get it populated in order to flow to COPA?
    BTW, we are on CRM 7 and ECC 6.0.

    Found the answer.
    Implemented note 332909, then ran transaction CJB2 to automatically add settlement rules to WBS elements. This in turn derived the needed characteristics on profitability segment for posting to COPA.

  • Profitability segment creation problem

    Hi,
    we have not defined order as a segment level charecteristic, but it is still creating new segment number for every service order settlement, is there any place where i need to maintain settings to avoid creaation of new profitability segment for every settlement.(all charecteristics of a segment are same in every settlement except order number which is not maintained as a segment level charecteristic) but my system is still taking the order number into consideration and creating new proftability segment for every new order. is there any way to fix this issue.

    Hi,
    please check that you have'nt included the following Characteristics as Profitability segment characteristics:
    KSTRG         Cost Object
    RKAUFNR         Order
    Regards

  • Profitability segment number

    hi
    when i settled internal order to profitablity segment , during the settlement time it is showing the different profitability segment number for every internal order settlement, but it is updating the ce4xxxx ,ce1xxxxx tables with different profitability segment number.  why it is showing the receveiver profitability segment number differently at the the time of settlement ?
    thanks
    monica

    hi
        sap guru's, in sales order profit center is missing
       kindly check it....
    Plz reward if any

  • Assign WBS and Profitability segment

    Dear Gurus,
    I want to make Sales Order for project but when the quotation creted from the project, it assign WBS element automatically and the profitability segment is unchangeable (grey). How to fill profitability segment automatically even we create quotation from Project?
    or can we fill both wbs and profitability segment in same time? if we do it, will it post as statistical n true?
    Thanks
    Regards,
    Marilyn

    Hi,
    If CO-PA is active settlement transfer the costs and revenue of the sales order item to profitability segment in CO-PA, if not active it gets transferred to G/L account in FI.
    Regarding functionality of Profitability segment - Need to specify Characteristics in CO-PA for profitability segments and these characteristics are used for Information system and planning. Charcteristics which are not involved in profitablity segment remains in the line item of CO-PA. In essence charcteristics decides on profitablity segments.
    Regarding removal of Profitablity segment no in Sales order .Kindly refer back to the earlier threads.
    Thanks & Regards
    Madhu

  • How to update sales order number (KAUFN) characteristic in the profitability segment of the PA document created at the time of service entry sheet confirmation, as a result of shipment cost document

    Hi,
    We have a scenario wherein we create shipment cost documents against delivery. As a result of shipments fully transferred, a PO for freight vendor is automatically created and a service entry sheet confirmation happens. As a result of service entry sheet confirmation, we have Financial accounting, Controlling and profitability analysis documents created. We have a requirement wherein we need to have the characteristic “sales order number (KAUFN)” populated in the profitability analysis document created as a result of service entry sheet confirmation.
    Could someone please advice how could this be attained in COPA. Thanks for your help in advance.
    Regards,
    Sandeep

    Hi Ajay,
    Thank you for the quick update.
    The document is updated to COPA through OKB9 settings. The profitability segment is updated with fields like customer, product, company code, plant, sales area data, profit center, etc; however the sales order number is missing.
    Could you please elaborate further how could FI substitution be implemented to call for the FM COPA_PROFITABILITY_SEGMENT through user exit? Are you recommending the substitution through GGB1? What could be the possible validation to call for the user exit to be implemented?
    Regards,
    Sandeep Kulkarni

  • Missing data: Profitability segment no. in Sale order creation

    Hi Gurus,
    while creating a Sales order, I am getting the Below Error;
    "Error while the Operating Concern being determined"
    Massage no: KE/AD817
    Error: Missing data: Profitability segment no.
    Its Urgent..
    Can anybody suggest....
    Thanks
    BKT

    Hi Bani,
    Please check if note 380102 helps in this case. From the long text of the error message you can find out which charachteristic is responsible for the error message.
    Regards,
    Abhisek

  • Profitability Segment while releasing invoice to Accounting

    Hi,
    I am configuring a scenario in which a debit memo request and a corresponding debit memo will be created. Users want to put in a WBS element at the line item level of the debit memo request (which is fine). Business gave me a GL account in which the profitability segment is a required entry. Now, when I try to release the invoice to accounting, I get an error saying "Field Prof.Segmt is a required field for G/L account" (Msg Number F5808). I know that by changing the field status group on the GL account, i can make it post, but that is not the point. I want to know
    a. Why system is unable to determine the profitability segment (i entered GL account in OKB9 and checked auto determination of profitability segment)
    b. Is it because I am using the WBS element and trying to post to both FI and CO (because, when i use WBS in sales order, during account determination, system looks for KOFK condition type to determine the GL account) and i am not supposed to do that? If i do not use a WBS, then, the posting happens (using KOFI) and the profitability segment is also determined.)
    Please let me know if you need more information.
    Your help is most appreciated.
    Regards,
    Mukund S

    We closed this issue by changing the field status group for the GL account. Though this is not the perfect answer, we had to do it for the business need.

Maybe you are looking for

  • Newbie: How to manage the number of files in a folder

    I have a backup application that runs each day and creates a file in a folder. I have an iCal scipt which automates this backup to run at a specific time but I would like to modify it so that it deletes the oldest file in the folder. I cannot figure

  • IDOC - Web Service scenario gives errors when processing multiple IDocs

    Hi, I have an integration process defined in PI 7.1 that contains four major steps : -     Receive DEBMAS IDoc -     Call a RFC to get additional information -     Call a MS Dynamics web service to retrieve the MS Dynamics customer account number via

  • A505-S6965 slow typing

    Hi,  i have a satellite A505-S6965, and when im either in a forum or writing an email.. i can type about 50-75 words and then it gets to where it wont respond to the keys when i type.. ill be going along and and all my words will be missing letters.

  • How to attach form painter to report painter.

    Hi All, I have created the Z form painter copying of standard form painter and also i created Z report painter . Then how to insert my Z form painter into in Z report painter. Please help any body knows. Regards Gangi

  • Data upload with stock catogories

    Hi experts, Can we upload the stock with their respective stock catogories through LSMW? Or through any other upload program? Please advice