Bapi for settlement rule in IW32

I want a bapi which will create settlement rule for IW32 ?It should be able to update Valid From And Valied to fields in IW32.
I have checked BAPI_ALM_ORDER_MAINTAIN it does not have Valid from and Valid to fields in structure BAPI_ALM_ORDER_SRULE.I need a bapi which can be used to update those fields.

HI
Check This Link
Re: Create/change settlement rule for inv.order - BAPI, funct.module???

Similar Messages

  • BAPI for settlement rules in WBS Elements

    Hi,
    Is there any standard bapi, method, or whatever... to create / modify settlement rules for WBS Elements?.
    Rgds,
    Jose

    Look at BAPI/FM of FG CJ2054
    BAPI_BUS2054_CHANGE_MULTI     Change WBS Elements by BAPI
    BAPI_BUS2054_CREATE_MULTI     Create WBS Elements by BAPI
    BAPI_BUS2054_DELETE_MULTI     Delete WBS Elements by BAPI
    BAPI_BUS2054_GET_GUID_FROM_KEY     Read the GUIDs Using the WBS Keys
    BAPI_BUS2054_GET_KEY_FROM_GUID     Read the WBS Keys Using the GUIDs
    CJ2054_CHANGE     
    CJ2054_CREATE     
    CJ2054_DELETE     
    CJ2054_WBSELEMENT_CHANGE_STRU     
    MAP2I_BAPI_BUS2054_CHG_TO_PRPS     
    MAP2I_BAPI_BUS2054_NEW_TO_PRPS     
    MAP2I_BAPI_BUS2054_UPD_TO_PRPS     
    Regards

  • BAPI For settlement rule for IW33 transaction

    hi,
    good day guys
    Iam searching for BAPI for iw33 for settelment rule..but i couldnt get it..
    Settlement rule is nothing but Rule that determines which portions of a sender's costs are allocated to which receivers.
    If you go to iw33 t.code.. give the order numbe and then enter..
    Go to tab--->Settlement Rule..
    plz can anyone tell me which bapi is fit for it...
    Regarsd

    hi,
    try the following BAPI
    BAPI_ALM_ORDERSRULE_CREATE
    hope this helps
    Regards
    Ritesh

  • Posting settlement rules in IW32

    Hi Everyone,
    I have to update settlement rule in IW32 for a particular service order without using batch input.Is there any function module to do that or any BAPI?
    Can I add events to Business object BUS2088 and use Workflow or FM to update?
    Thanks in advance,
    Regards,
    Srikar

    try fm...
    K_ORDER_SETTLEMENT_RULE

  • Mass maintenance for Settlement rule

    Hi,
    I want to maintain settlement rule of Network (cn22) and Internal order (Ko02). How can I carry out mass maintenence for these business process?
    PLease mention steps or any transaction.
    Thanks
    SIM

    HI,
    I don't know a standard transaction for settlement rules mass maintenance but you can use LSMW based on a batch-input recording  for the changes you want to make.
    Best regards, Christian

  • Business object for Settlement Rules

    Hi Experts,
    Is there any Business Object available in SAP for Settlement Rules ?
    I've identified Change Document Object RKABRV for Settlement Rules but I need respective BO to do the mapping in tcode SWEC.
    Please share.
    Thanks,
    Anirban.

    Hi Naval,
    To find out a BTE for a given tcode you can try this. In a session open SE37 tcode and open the function module BF_FUNCTIONS_FIND. Set a break point at CALL FUNCTION. Then in another session open FB08 tcode. Try creating a entry and save. When you press it will call this function module. Now check for the values in the container I_EVENT. It contains the BTE that can be used for the given tcode.
    Regards,
    Raj

  • Exit/BADI for creating settlement rules in IW32 upon release of order

    I need settlement rules to be populated in IW32 when an order is released.
    The data for the settlement rules population will be obtained from a Z table based on Order type and Maintenance Activity Type.
    I am not able to find out a suitable BADI/EXIT to fulfill this requirement. Has anybody worked on this kind of requirement earlier? Please suggest an EXIT/BADI/BTE for this.
    Thanks in Advance!!

    Hi Harveen,
    How did you populate the fields in K_ORDER_SRULE_ADD. Which ones did you populate. I keep getting an error message.
    Receiver categ. is not allowed by settlement prof. PM0001 for this sender
    Message no. KD031 Diagnosis The settlement profile specifies which receiver
    categories you can settle a sender to. Receiver category is not allowed by
    settlement profile PM0001 for this sender.
    Procedure
    You can do the following:
       Assign a settlement profile to the sender, that implements the
    required receiver category .
        Choose "Goto -> Settlement Parameters".
       Specify another receiver for distribution rule 009. If you already
    used this rule for a previous settlement, enter a valid-to period. Then
    enter a new rule for the next settlement with a receiver category. This
    category must be one that is allowed by settlement profile PM0001.
    Procedure for System Administration
    If necessary, maintain a suitable settlement profile.
    Would very much appreciate your help.
    Cheers
    Eunice

  • BAPI or FM for settlement rule

    Has anybody an idea how to cretate/update/delete the settlement rules of a production order via BAPI or FM?
    Thanks
    Raadha

    Hello Raadha,
                              You can use the following FM's:-
    SETTLEMENT_RULE_CREATE_OPR
    CO_SD_SETTLEMENT_RULES_UPDATE
    CK02_CO_PROD_GEN_SETTLE_RULE
    Hope thsi answers your question.
    Thanks,
    Greetson

  • Infoobject for settlement rule

    hi,
    Can anyone tell me the infoobejct for the settlement rule on WBS element.
    I am able to find only settlement area in OCOOM_CO2.
    thanks
    venku

    HI
    Check This Link
    Re: Create/change settlement rule for inv.order - BAPI, funct.module???

  • Can User Exit works for Settlement Rule in Maintenance Order creation?

    Dear Experts,
    I have this situation where I tried to create an Internal Maintenance Order via IW31 for multiple equipments from different functional location (different cost centers) using the Object List.  However, the settlement rule has a problem to pull out as there's no Equipment in the reference object. That's the reason, I'm looking at the User Exit which I understand the IWO10027, can do the work.  Since I'm new to User Exit, can I enhance the settlement rule by the following condition.
    The costs spent on each equipment will be used as a basis of calculating the weightage (via equivalence no) for the settlement rule.
    Can it be done that way?
    regards,
    Abraham

    Sanjay,
    This data can be checked in the following user-exits:
    COZF0001: Change purchase req. for externally processed operation
    COZF0002: Change purchase req. for externally procured component
    PeteA

  • Table for Settlement rule in production orders

    Hi All,
    Is there any table by which I can get list of production order numbers & the details of the settlement rule maintained in that order.?
    Regards,
    MHP

    There will be object number (OBJNR)  against each production order number which you can obtain from table AUFK.
    Later pass this object number to function module K_SETTLEMENT_RULE_GET to get the settlement rules.
    Also try function module K_SRULE_PRE_READ for reading the settlement rules. Here pass the object numbers to the tables parameters

  • PM:Action log for Settlement rule

    Dear all,
    May i know are there any way that i can see the changes that being done at screen maintain settlement rule. For example if I change the settlement type, system will keep the change/action log for that changes.
    One more question, what the different between settlement type 'FUL' and 'PER' (impact to the settlement)
    thank you so much,
    Siti Norbaida

    Hi,
          I Hope this Documentation will help you ........
    Settlement type
    Depending on the processing type, the settlement type determines which settlement rule is used in a particular type of settlement processing.
    The SAP system supports four settlement types. The AUC and PRE settlement types are used for settlement of capital investment measures. You can only use the PER settlement type for planned settlement.
    PER (periodic settlement):
    Settlement with this settlement type covers only the costs for the relevant settlement period.
    The following data from internal cost allocations:
    Sender cost center/activity type sent
    Business process
    Quantities
    is allocated further to the following receivers:
    Cost center
    Internal order
    Sales order
    WBS element
    Cost object
    Business process
    Actual activity prices, elimination of internal business volume and variances can then be calculated correctly in Cost Center Accounting and Activity-Based Accounting;
    FUL (full settlement):
    You can use this settlement type in automatic settlements.
    The difference to periodic settlement is that in full settlement you settle each time all the costs that have occurred for a sender object for all the periods prior to the settlement (and are not yet settled). If PER rules exist, they take precedence over the FUL rule.
    Quantities from internal activity allocations are not sent to the receiver. This means that there is no guarantee that actual activity prices, elimination of internal business volume, and variance calculation will take place correctly. For this reason, we do not recommend that you use FUL for cost centers or business processes.
    AuC (Capitalization in asset under construction):
    This settlement is automatically generated if you enter a capital investment profile with an AuC as its capital investment measure in the order control data.
    Settlement is conducted periodically and in full to the AuC
    PRE (periodic preliminary settlement):
    You can enter PRE rules in the settlement rule for the order. They are used as part of settling capital investment measures.  Depending on the rules you entered, posted debits are settled to the CO receivers or to a G/L account before the periodic settlement.
    It is good idea to do this for particular line items if there are additional costs assigned to a capital investment measure that should not be capitalized. This may be necessary, should you wish to monitor the total costs of the measure in controlling.
    Use
    Note that settlement type FUL permits quantity settlement for primary cost elements only.  You cannot settle quantities to assets.
    Note that you cannot manually create or change a distribution rule with settlement type AUC.  This has the following effect on settlement rule maintenance:
    The required rule is generated from the asset under construction, which is stored in the master data for a capital investment measure, ( order or WBS element)when you carry out settlement for the first time.
    Regards,
    Gangadhar

  • CJ88 in Background / BAPI for CJ88 / BAPI for Settlement

    Hi Experts,
    Is there any BAPI for CJ88. I am developing a report in which I need to pass a WBS element for its settlement which we do in CJ88.
    Thanks in advance
    Edited by: priti suryawanshi on Jan 10, 2009 11:39 AM
    Edited by: priti suryawanshi on Jan 10, 2009 12:14 PM

    Thanks a lot Shrikant for ur reply.
    Actually i have developed a y-report in which i give project def. as input. Now when i execute the report,
    in the report i read the wbs element of thar project def. whose settlement i need to do. The problem is that if any error comes during the settlement, i need to capture these errors and restrict the report from futher processing.
    When we manually execute through CJ88 transaction, we give the wbs element and if any errors, we can see them in the display. Now i am not able to cpture these errors. So was asking for a BAPI or FM which can serve the purpose.

  • WBSE Strategy creation for settlement rules

    For Automatcally creation of settlement rules:    I created the strategy for WBSE settlement rules at IMG but idid not find option of superior WBSE in account assignment category field at setting folder.
    can any one tell me why it did not not appear,

    this functionlaity is not standard
    apply note OSS 211324

  • Automatic Creation of Settlement Rule for Maintenance Order

    Hi,
    While doing TECO for Maintenance Order, its asking for Settlement Rule. IF I click settlement rule, message is coming as Maintain Settlement Profile with options like With Default, Without Default & Cancel.
    I have maintained the Cost center in Equipment Master. Also I maintained Cost Center as Default Settlement receiver.
    Also I have gone through setting in Automatic Creation of Settlement Rule under Controlling Category.
    But I couldnt understand that. Can you please tell what are the steps to be done?
    Regards,
    Maheswaran.

    Hi,
    Please check the indicatorsin Actual cost/cost sales  and Valid recevivers in settlement profile.
    If for cost center : 1 settlement optional is maintained in valid recevivers and also for order
    and in actual cost/ cost sales: indicator to be settled in full is selected.
    Also check Allocation structure too if you have assigned the valid allocation structure.
    **check if you have assigned the valid settlement profile to order types.
    *****Most important after doing all these settings you need to create new order. for same order you will not get the automatic settlement rule
    Hope this helps.
    Regards,
    PMAddi

Maybe you are looking for