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

Similar Messages

  • Maintain settlement rules for order category 30(Maintenance order).

    Hi Gurus,
    Can we maintain two settlement rules for an order without distribution rule?
    Eample:-  In an order there are three  different costs i.e. material cost,external labour cost and internal labour cost.We want to settle the material cost and external labour cost to Profitability segment and the internal cost to a particular GL account directly.
    Note: No distribution rule is required,because all the cost should settle directly to correspoanding heads i.e. PSG or GL.We don't want to assign  the GL# again and again for different orders in the corresponding order's  settlement rule.
    Require your valuable inputs to proceed.
    Best Regards,
    Ramakanta

    Hi Govardhan,
    If you are working in ECS, the Shopping cart will not create any follow on document in backend R/3.
    I think your Product category is 30, thats why the error says Manual reservation for order category 30 is not allowed.
    Where did you get the maintenance order? Generally maintenance order is created in the backend R/3 (Plant Maintenance) and a P.R will get generated against that order.
    Using PDP (Plan driven procurement) you can transfer that P.R to SRM and can carry out sourcing and can complete the procurement cycle.
    Can you please tell me what is your exact business requirement?
    Hope this will make you more clear.
    Clarifications are welcome.
    Award points for helpful answers.
    Rgds,
    Teja

  • Plan settlement rules for internal orders

    Hi all,
            I am having a problem in setting up plan settlement rules for the internal orders. I have created a order and tried to set up a plan settlement rule. I am trying to settle the order to a Profitability segment PSG category. Everything is fine until here. Then when I am trying to change the profit center in the Profitability segment it is greyed out. I am unable to change it. This is not the case with actual settlement. In actual settlement you can change the profit center in the settlement rule but not in case of plan settlement. Can someone please help me in this. I need to change the profit center in the plan settlement rule. This is very urgent.
    Many thanks,
    Sarada

    Hi,
    Please check if it has any planned values already posted on this order already.  In this case, unless these values are settled it will not allow you to change the profit center.
    Also, the reason for the allowing a change of profit center in actual settlement rule might be that there are no actual values posted in the order.
    Good luck!!!
    Thanks and Regards,
    Bhuvaneswari.S

  • Settlement rule for SO through sales order

    Hi,
    In my scenario,service order is being created through sales order.Earlier we used to have default settlement rule for the service order as Profiltability segment.Now we  have changed as SD1-Sales document in the settlement profile.
    Now If I create service order through sales order,in the service order settlement rule is not getting created and If I gone through IW32,its asking for With Default/Without Default.If I select with default,now its picking up the rule automatically.
    why rule is not getting created during creation itself .
    I though that in the sales order,first service order is getting created and at that time sales order number is not available and hence settlementy rule is not getting populated.
    Is it right?
    Regards
    KRISHNAN

    Hi Pete,
    The system status is  CRTD MANC NMAT PRC.
    People are suggesting that we can able to populate the settlement rule as SDI(Sales document Item) during creation of service order through sales order.(Also adding the point that after creation of sales order only service order is created with details of  Sales document number in the order header)
    In that case why in my case its not pouplating?
    Regards
    KRISHNAN

  • Capital Project Settlement Rule for lower WBS

    Hello,
    At my present client, for Investment projects the client want to settle top level WBS to AUC and capitalise it. So ideally the cost from lower level WBS should flow to top WBS. I am using substitution to remove investment profile from lower WBS.My concern is how do I auto populate the settlement rule for lower WBS to top WBS. I am aware about settlement strategy and OSS note 211324 (however dont want to implement this note)
    The appraoch I am looking for is using "WBS_SETTLEMENT_RULE' BAdI . However this BADI calls for strategy and I could not maintain the required strategy (settlement to top WBS). Is there some BADI/Function module available which can be called for updating the settlement rules on lower WBS while saving or Release ? Can I make use of exits in Substitution?
    Please let me know your opinions.
    Thanks
    Sarang

    Thanks Virendra. I agrree the only approach is development. But I need to give inputs to my developer.
    We tried with BADI "WBS_SETTLEMENT_RULE" but it didnt work as it calls strategy in configuration.
    So I am checking for some other options for e.g "WORKBREAKDOWN_UPDATE" which is called during save or Fn modules K_SETTLEMENT_RULE_FILL or K_SETTLEMENT_RULE_SAVE which I can use. This is a client requirement to create AUC only at top level n all cost to be rolled up to superior WBS n then settle to AUC.
    The other option I was thinking is of using exits thru substitution.
    What will be the best approach?
    Thanks
    Sarang

  • Settlement Rule for Internal Order

    Hi All
    I have Maintained Settlement rule for Internal order as under
    CAT - FXA
    Settlement Receiver - Asset
    % - 100
    Settlement type - Full
    Now after settlement of above Order in KO88 . I want again use above internal order. Hence i have trying to put Settlement rule 50% for some anther asset but system gave me following error. Please guide on this issue.
    Total = 50.00%, ( Set.Type PER / Version / Actual settlement ), period 010/2011
    Message no. KD042
    Diagnosis
    You have entered distribution rules which settle 50.00% in total. This applies for settlement view ( Set.Type PER / Version / Actual settlement ) in period 010/2011.
    When checking the percentage total, the system found one of the following errors:
    The total percentage for the distribution rules is more than 100%
    The total percentage for the distribution rules is less than 100% and this is a rule for full settlement.
    The total percentage for the distribution rules is less than 100% and the 100% check is switched on in the settlement profile.

    Hi:
            Please refer to the contents of OSS Note 45612 - IM: pre-settlement does not work, or KD042... which states
    "Symptom
        1. If a preliminary settlement rule (for example, to cost center) is entered for individual items of capital investment measures with line item management, this rule is not considered during periodic settlement. There is no settlement to cost centers.
        2. If you enter a final settlement rule for individual line items of investment measures with line item management for a partial capitalization (that is, the percentage rate is less than 100%), then you receive the unjustified error message KD042 "Total percent = xx%".
    Additional key words
    KOB5, CJ70, CJ88, CJ8G, KO88, KO8G, preliminary settlement, partial settlement, partial capitalization
    Cause and prerequisites
        1. You did not enter the settlement type ACT in the preliminary settlement rule.
        You can check this in the Line Item Apportionment transaction by choosing the menu option "Goto" -> "Overview dist. rules" to display the distribution rule groups entered so far.
        The system displays rules which have no entry in the "SetTyp" field (settlement type, field name PERBZ).
        2. The check of the percentages is incorrect.
    Solution
        1. Install the following correction. Afterwards reverse the incorrect settlement, re-enter the preliminary settlement rule and settle again.
        2. Install the following correction. Afterwards, you can maintain the settlement rule for the partial settlement.
        Note: If you want to use a default settlement rule (maintaining the settlement rule from the master data maintenance transaction), then you are required to distribute the line items at 100%. In order to carry out a partial capitalization (settlement of less than 100%), you have to use menu path "Actual postings -> Period-end closing -> Settlement -> Line item "
    Regards

  • Error-M2O-Settlement rule for assembly order for item...could not be genera

    Hi,
    When I am creating Sales Order (VA01) for M2O, I am able to do the costing and copy the EK02 condition type. I have verified the the incompletion log, it indicates that document is complete.
    But while saving the sales order, the below error message is displaed:
    Settlement rule for assembly order for item 000010 could not be generated. Should the order still be saved?
                    Yes/No
    1. If No is choosen the following error message is displayed
           Error when processing Production order
          Error when processing Production order
          Message no. V1380
          Diagnosis
            A technical error has occurred. On calling up the assembly interface, exception 5 was triggered. The exceptions have the  following meanings:
    1 = External block,  2 = General error,  3 = Insufficient data for the interface,  4 = Order was not found, 5 = Update has been rejected, 6 = Final document number for Production order is not issued.  Procedure: Inform your system administrator.
    2. If Yes is choosen, it is creating Production Order without settlement rule. Able to perform GI & Gr. If I try to enter settelement rule (Settlement receiver SDI - Sales document item) in production order (CO02), the belwo error message is displayed
    "Distribution rule for Sales document item can only be created automatically Message no. KD063"
    We are using the requierement class with below details:
    Reqmts class: ZSO- for M2O
    AAC = E, Valuation = A, Settlement profile =SD1, RAKey = 000004, Assembly type = 3.
    Settlement profile contain:
    Allocation structure, PA structure, Default object type = SDI. Valid receivers: Optional -Sales Order / Prof. seg.
    If I make the Valuation field as blank in Reqmts class, there is no error while creating Sales order. And also Settelemnt rule with sales document item as receiver is successfully creating for the production order. Since the Valuation is blank in requirement class, it is Non valuated Sales order stock. All GIs & GR are non valuated
    The business requirement is it should be valuated sales order stock and the production varinaces has to be settled to Sales order. Then Sales order has to be settled to COPA.
    Need your valuable inputs to meet this requirement.
    Let me know if you need any further details.
    Thanks in advance.
    Regards,
    ADI

    Dear SAP PP Consultant ,
    What is the strategy group you are maintained in the material master ?

  • Settlement rule for Asset Under Construction not automatically generated.

    Hi Experts,
    I am working on a capital project scenario where in i configured the SAP IM and SAP PS module. i am able to create AUC at the WBS level on project release,but i am not able to generate the settlement rule for AUC automatically.
    Please suggest as to what i am missing to generate settlement rule for AUC automatically.
    Thanks,
    shiv

    i think for automatically AUC to be generated, u need to create investment profile in OITA in that u have to tick mange AUC in investment measure. & select settlement for summary settlement.
    This investment profile u need to specify in Project Profile OPSA.
    do this setting & let me know whts happen?
    ok best of luck.
    Regards,
    ANSAR

  • Settlement rule for AUC

    Dear SAP gurus,
    In AIAB, I have assigned the settlement rule for AUC asset id. However I am not able to see the settlement rule assigned in  As03. Is there any report

    Hi,
    you can see the settlement rule only in AIAB.
    regards Bernhard
    Edited by: Bernhard Kirchner on Jun 15, 2010 12:52 PM

  • Creation of settlement rules for WBS element

    Hi,
    Iam having problem when creating the settlement rules for WBS elements. The business goes like this.
    We have XI interface which creates the Idocs and an inbound program(customized) to process the Idocs. When the Inbound program is run the WBS elements are created and settlement rules are created for the WBS elements. The inbound program is run automatically thru batch job.
    First time when the Idocs are processed about 95% of the WBS elements have settlement rules created and for other 5% settlement rules are not created. The Idoc is in status 64. I tried reprocessing the Idoc and then the settlement rules are getting created succussfully. The problem is Iam not able to find why the Inbound program is not processing succusfully when its run first time but works when reprocessed.
    I appreciate if anyone can send their views.
    Best Regards
    SK

    Hi!
    You might set the processing to check not only once the relevant IDocs, but more times...
    Check out these programs, and set them into a batch job periodically...
    RBDMANI2
    RBDAPP01
    Regards
    Tamá

  • Automatic Generation of Settlement Rules for PM order

    Hi All,
    I am doing a maintenance orders settlement and I have the fallowing issue:
    My client has 2 types of equipment, namely vehicles and industrial equipment. Both have particular rules.
    For vehicles, we need to control all cost by an internal order
    Industrial equipment costs will be control by cost center.
    So, cost center is maintained for industrial equipment, and Settlement Order for vehicle equipment.
    I have a unique order type for which in Settlement profile I have entered Order and Cost Center as 'Settlement Optional' and default object type as CTR.
    When I create a PM order for vehicle, system cannot generate automatically the settlement rule, because in order type I have entered default object type as CTR and in equipment I just have the Settlement Order.
    But if I create a PM order for industrial equipment system create automatically the settlement rule, because cost center is maintained for industrial equipment and order type has default object type as CTR.
    In the allocation structure I have a receiver category for CTR and ORD.
    So, Could you help me how to generate automatically settlement rule for both cases without 2 order types?
    Thanks & regards,
    Hélder Nunes

    hi
    i think it is not possible to generate settlement rule based on equipment ,if you have specified the default settlement category in IMG ,it will be generated .
    check with your technical team whether user exit IWO10027 can be mapped
    regards
    thyagarajan

  • Auto Run Program not updating Settlement Rules for few WBS elements

    Hi,
    Addition of settlement rules for OPEX WBS.
    In producion system, two jobs are running daily for generating settlement rules of WBS elements but, all WBS elements are not updating with Settlement rules.
    It is becoming a problem in the Period end while doing the settlement. Currently we are updating the settlement rule manually.
    We have investigated and found the following WBS element with Profile name  are not updating Settlement rule.
    H-U0DU0204DE-EX-J0  - HHDC01
    H-N0U00ULD01-P1-D1-W2 - 000090
    H-U0DU0204DE-EX-U0-T1-OB - HHDC01
    H-U0DU0204DE-EX-U1-W1-ON - HHDC01
    H-U0DU0204DE-EX-U2-W1-ON - HHDC01
    H-U0DU0204DE-EX-I0-E1 - HHDC01
    H-U0DU0204DE-EX-I0-B1 -HHDC01
    H-U1DU0204DE-EX-U0-W1-ON - HHDC01
    Job Names :
    ZFPD_UK_SETTLEMENT_RULE_GEN
    ZFPD_NO_SETTLEMENT_RULE_GEN
    Please suggest on this issue
    Regards

    Hi,
    I suppose these are background jobs. Usually there is an issue with background jobs that are run for a custom developed program. Not sure why that happens. Even i faced this issue with a couple of jobs in my system. I have still not found out the reason as to why this happens. There might be a possibility that these projects were being processed in the foreground by some user and hence they were omitted from the run.
    I would suggest you to consult your technical guys on this.
    Regards,
    Gokul

  • Validation for profitability segment in Account document

    Hi Team,
    Currently We are using validation for cost object i.e. either cost center or WBS elements enter  in a  GL account line items and if we are enter both cost object then system will be give Error message . in this validation we have added validation for profitability segment . System will be allow only one at a time enter in Gl accounts (i.e. cost center /WBS elements / profitability segment ). But it is not working for  profitability segment so can you help regarding this.
    Thanks in Advance
    Regards,
    Manas deo

    Hi
    I think you should check
    BSEG-KOSTL <> "" (Blank) AND BSEG-PROJK(WBS) <> ""
    OR
    BSEG-KOSTL<> "" AND BSEG-PAOBJNR <> ""
    OR
    BSEG-PROJK <> "" AND BSEG-PAOBJNR <> ""
    trigger the error msg
    br, Ajay M

  • Settlement rule for several assets but one internal order number

    Hi,
    I have a question regarding the settlement rule for an internal order. I have issued an internal order number to capture costs for a construction project.  When the project is completed how do I update the settlement rule for the internal order to several assets all for different amounts?
    For example an internal order number has collected costs of 150,000.00 for the completion of a building.  When the building is complete and I want to do a final settlement of the internal order.  I have one asset for land improvements for 43,000, another asset for the HVAC system for 33,000 and building costs of 74,000.  When updating the settlement rule I know to create the assets and update the settlement rule with these asset numbers, but I am unclear on how to assign multiple assets with differnt amounts.

    Hi ,
    In the settlement rule , you need to select the Receiver as FXA and then enter the Asset number and then you will have to put the % that you want to settle to .
    Like if you have 100/- Rs. total cost and you want to settle it to 2 assets in 60/- Rs. and 40/- Rs.
    Then you will have to enter 2 line items in settlement rule with diffrent asset numbers and in proportion you will have to say 40 % and 60% , based on which the final settlement would happen .
    So make the proportion changes in the settlement rule accordingly .
    Regards ,
    Dewang T

  • GL Account Subject for Profitability Segment

    Hi gurus,
    I just want to ask if how will I know if a certain GL account is subject for Profitability Segment (CO-PA).
    Regards
    Andre

    Hi
    I think you should check
    BSEG-KOSTL <> "" (Blank) AND BSEG-PROJK(WBS) <> ""
    OR
    BSEG-KOSTL<> "" AND BSEG-PAOBJNR <> ""
    OR
    BSEG-PROJK <> "" AND BSEG-PAOBJNR <> ""
    trigger the error msg
    br, Ajay M

Maybe you are looking for

  • Automatic Delivery Completion Required Indicator to be defaulted to "SET"

    Hi Guru's, My client's requirement is whenever there is a GR posted in the system the system should automatically set the "Delivery Completion indicator" to complete even though there are open items in the purchase order. The reason is to discourage

  • Performance issue in Select Query on ERCH

    Dear Friends, I have to execute a query on ERCH in production system having around 20 lakh data which keeps on increasing. "Select BELNR VERTRAG ADATSOLL from ERCH where BCREASON = u201803u2019 " . The expected volume of data that the query will retu

  • Can connect via Ethernet but not on Airport

    I am able to connect fine with Ethernet. Initially when I brought up Safari it launched the modem and I had to enter my ISP username and password. Then I was able to connect fine with Ethernet. My problem is that I cannot connect with Airport. I disc

  • How can I stop random photos showing up in photo stream?

    I keep getting photos of houses and pictures of women in my photo stream! My iPod Touch is 4th generation and it's secondhand. I have just deleted like at least 100 photos that I never took. How can I stop the photos from being synced into my iPod?

  • Calling JPA from a Java Stored Procedure

    Is it possible to call JPA from a java stored procedure? If so, does anyone have example? How do you setup the persistence.xml? How does the peformance compare with straight JDBC in a java stored procedure? Thanks for any help! Johnny