Mass benefits enrollment upon cost change

We have a custom interface that passes employee plan deductions (plan and amount) to ADP. It's a relatively standard ABAP-coded interface that passes any changes through IDOCs.
Now a provider raises their plan costs. I enter the new costs into IMG, but this does not automatically create any new benefit infotypes. However an employee's current IT167, 168 etc infotypes now reflect the new costs. But as it is the current infotype and not a new record, none of the new deductions would get picked up by the interface to ADP.
How have you seen this done in the past? The only solution I can come up with is to use the same code we have for benefit plan conversions to do a mass conversion into the same plans, or a similar custom utility to create the new infotypes as of the cost change date (and thus raise the IDOC change pointers for the interface).
Thanks, Vlad

Looks like the custom ABAP program kicks-off only with a change in a infotype. I do not prefer creating new infotypes or new plans (when plan costs changes).
I would trigger the ABAP program if there are changes to cost rules tables.

Similar Messages

  • LOADING ADDITIONAL COSTS (change matches revenue cost of goods in warehouse

    Subject: LOADING ADDITIONAL COSTS (change matches revenue cost of goods in warehouse and not accounting for the year 2008)
    Problem:
    we must add the cost of goods of the raw material (for which was made a check invoice) of the costs, which are arising and charged by different suppliers (transport, freight, insurance, etc. ..). These are already included in FI with fb60.
    The result should be:
    - From the consignment of goods entering, add (only in Warehouse (STOCK), NOT IN ACCOUNTING ') cost accessory
    - Do not change the quantity
    - Having the total cost of stock
    - Exploiting the average cost to FIFO must consider the total cost after additional adjustment
    Example:                                                                                data
    ME21N: purchaise order No. 321 = article 1000kg a price of u20AC / kg 2.30               01/07/2008
    MIGO: goods receipt PO confirms price quantity x (u20AC 23,000) batch 298                      07/07/2008
    MIRO(enter incoming invoice): Check invoice OK per (u20AC 23,000) batch 298           07/08/2008
    Invoices received for costs Accessories:                                                                08/08/2008
    FB60: transportation bill on all'purchaise order above cost u20AC / 0.11 kg
    0.11 * 1000kg = 110 recorded in cost and accounting of stock.
    In accounting, the cost has been reported, in warehouse I need to reverse (add) u20AC / kg to 0.11 initial cost of u20AC / 2.30 kg without adjustments in general accounting, but only in warehouse value and not in the quantity.
    So in the end I should have:
    batch n° 298 -  kg  1000 at a cost of u20AC 2.41 (2.30 +0.11) for the year 2008. How should I do?
    thanks

    Thomas,
    I presume that your client has activated 'Revenue Recognition' component in SAP.
    If your client has already activated the RR component, they may be aware that the activation is unreversible.
    Recognition of costs in a deferred revenue scenario requires some customization effort but definitely do-able. It is not falling within standard SAP.
    I worked on scope of one such project but it did not happen unfortunately.
    Can you please post your regular updates in this forum?
    All the best.
    Thanks
    PS: I am not an employee of SAP AG and by answering questions, I am not getting any monetary benefits anywhere. I am answering questions here in my spare time for recognition and the points awarded, which gives me a sense of self-satisfaction. Awarding points is also a way of saying thanks and it will encourage me to answer more questions and share my knowledge and experience

  • Cost event and Cost change API

    Hello,
    based on the documentation of RMS 13.2 and tests performed, the cost change information applied throught RMSSUB_XCOSTCHG.CONSUME doesn't create Cost events in RMS, thus, the future cost engine have no invoirmation about the changed cost. Logical, that the ELC is not in concideration too.
    I have a question:
    Is there a common way (best way, already implemented way) to "push" the cost change API to trigger the Cost events creation or somehow force future cost engine to recalculate the base and related cost infomation?
    Suggestions are appreciated.
    Best regards,
    Eldar.A
    Edited by: Eldar.A on 24.07.2012 3:19

    Hi,
    Please maintain correct Profit center through OKB9.
    Or if the profit center is wrongly maintain by user then add the validation with the help of abapor using badi's MB_DOCUMENT_BADI / MB_DOCUMENT_UPDATE
    Regards,
    Sandesh Sawant

  • How Import any Cost Change for FIFO by DI API

    Dear all
    I have some problem about item cost change with FIFO Item.
    In SAP B1 2007A Standard Application.  It has 2 way to do that,
    first is use Landed Cost to add cost for Item that received.
    second use Item Revaluation with FIFO layer.
    But, If i want to import cost via DI API
    I don't found any method to do that.
    Anybody faced same problem before?
    I attempt to find any solution for solve this issue about 2 weeks.
    Please help me.
    Thanks, Exseang

    Hi Hi Suthee Thuratha...
    Check this SAP notes
    [SAP Note:1114111|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001114111]
    [Refer this SAP Note:1271133|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001271133]
    If u want do in SDK,please post this question to SDK forumn

  • CUSTOMIZED BENEFITS ENROLLMENT FORM NOT PRINTING PROPERLY

    Hi there,
    I customized the benefits enrollment form HR_BEN_ENRO and I am trying to print the form in HRBEN00CEWB but only the first page is printing and not all the plans are showing up even if th employee is enrolled in more than one plan.I dont know on what basis its getting the information and showing up.When I do a print preview of the form in SE71 the form shows up all the pages but when i goto transaction HRBEN00CEWB its not printing all the pages.Its just printing the first page even in print preview.i didnt modify the standard program.I modified the form and assignmend to the print program in the config.Any solutions??Please help
    Karthik.

    May be because the Main window is placed halfway in the second and third page. If you are using a single page may be you have restricted other windows by specifying conditions "only on first page".
    To rectify this you can copy the first page into second page and altering the position of the main window. Now assign the next page of first page as second and next page of second page as second page itself.
    Revert back if you have doubts.
    Regards
    Karthik D

  • Help with sql command for inventory cost change report

    Inventory Cost Changes within date range.
    Columns on report
    Item LastDateChanged CurrentCost PriorCost
    Source File-TransHst (Type 14 is inventory cost change)
    example data
    Type,Item,DtChg,Cost
    14,15825,02/01/2014,357.00
    14,45832,03/15/2014,95725.00
    14,15825,10/01/2013,322.00
    14,45832,06/22/2012,94632.00
    example output needed
    Item   LastDateChanged CurrentCost PriorCost
    15825     02/01/2014                 357.00               322.00    
    Using Crystal Reports 2008 with Oracle Database
    I cannot create sql to retrieve data to create report.
    Need Item, Last Change Date, Current Cost and Prior Cost as output of sql
    Thanks

    HI Jerry,
    I don't know real syntax of your database, try below SQL, you may have to modify the syntax wherever it is required.
    Select t.Item, Max(t.DtChg),(case when year(t.dtchg) = Year(sysdate) then t.Cost else 0) as currentCost,
    (case when year(t.dtchg) = Year(sysdate)-1 then t.Cost else 0) as PriorCost
    From TransHst t
    Where Type=14
    Group by t.Item
    Thanks,
    Sastry

  • How much costs change the iphone 5 retina screen?

    how much costs change the iphone 5 retina screen? i'd need know it, my retina screen is broken

    Apple reportedly now will replace the screen in an iPhone 5 for US $149. Availabllity of repair services may vary by country, and I'm not sure if other models of iPhone also can be repaired, so call Apple Support or visit an Apple Store and ask for information. For other problems Apple at this time does not at this time repair iPhones, but will replace the entire iPhone for a flat fee. If you have AppleCare+ coverage, the cost will low; in the US it's $49. If you do not have AppleCare+ on your iPhone, see the Service Pricing section here:
    http://www.apple.com/support/iphone/service/faq/
    There are independent iPhone repair services that may be able to do the repair for less than Apple's out-of-warranty charge. Do a web search for "iPhone repair". Note, though, that if you elect to have the iPhone serviced by an unauthorized shop, all further warranty and support from Apple will be voided.
    Regards.

  • Converting Warning Message to Error Message in Benefits Enrollment Screen

    Hello SAP,
    How to convert Warning Message to Error Message in Benefits Enrollment Annual Enrollment Screen.
    Warning Message: No beneficiaries selected for plan XXXX.
    As per my requriement, there is one warning message which is popping up when all the plans total donot count to 100 %. At that time we need to show a Error message instead of Warning Message. Now warning message is displayed.
    Reason: Insurance plans require error message when beneficiaries donot total to 100%
    My question is in which message class or in which Table these messages are maintained and how to modify it.
    Thanks,
    Sankar Narayana

    which badi you are using?
    You cant use all methods to raise a error message
    for example
    Error_table of the method CHECK_DEPENDENTS of user exit PBEN0032 should
    olny be used to raise configuration errors. Please use
    CONSISTENCY_ERRORS to display any error message[move the content of
    error_table to consistency_errors and clear the error_table inside the
    method CHECK_DEPENDENTS].

  • Mass transaction for maintaining cost collector

    Hi experts,
    Is there any mass transaction for maintaining Cost Collector.
    Regards,
    ( Rajneesh Gulati )

    HI,
    You can maintain Product Cost Collector in mass maintanance in following transaction :
    KKF6M Create Multiple Product Cost Collectors for Production Versions
    Enter Plant, No of materials you want to create Product cost collectors enter in multiple selection , enter order type as RM01 which is default for REM and then execute so system will create Product Cost Collectors for all production versions.
    Follow above procedure & revert in case any doubt.
    Regards,
    Tejas

  • How to keep the overall sales price same after basic material cost changes

    We have a below requirement from clientu2026
    Sales Order with quantity 100 created. Letu2019s say the Basic material cost is $10  each and after the pricing procedure of SD (i.e taking condition types etc in account) overall sales order price came to $1200 .
    After sales order creation material cost has changed to $12  each. Now if the same sales order line item is split to 80 and 20, we still want the overall sales order price ( i.e taking both the line items of 80 and 20) to be $1200 .
    Is it possible to achieve the above requirement? If yes, pls share the possible solution.

    1)  Letu2019s say the Basic material cost is $10 each
    2)  overall sales order price came to $1200 .
    3)  we still want the overall sales order price ( i.e taking both the
            line items of 80 and 20) to be $1200 .
    I think you are confused over material cost and selling price.  From SD perspective, whatever you maintain in VK11 for your pricing condition type (PR00), that will fetch into your sale order.  This means, I presume, you have maintained in VK11 for the given material as USD 1200 and this will only fetch into your sale order.  Cost will vary automatically depending upon the material valuation type and you need not bother about this
    thanks
    G. Lakshmipathi

  • Does anyone had done mass adjustment on Asset Cost to the Asset's NBV?

    Hi,
    I want to see if any one had done Asset Cost Revaluation due to acquisition; to Compliance with GAAP accounting rules related to the acquisition of our company. We want to adjust all our Asset Cost to their current NBV and adjust the current Accumulated Depreciation to $0. Then Assets will be depreciated begining on the acquisition date of the company using the existing depreciation useful lives, not the remaining useful life. All the other depreciation conventions and methods will not be changed.
    I can't use the AM Mass Revaluation process as it can only adjust cost by amount or percent. We don't want to do an IUT to the same BU with action of ADD as we don't want to generate any new asset id. Any advice or suggestion will be greatly appreciated.
    Thanks,
    Ali

    Doug,
    I had already started along that path, by removing the Microsoft mouse driver (which didn't fix the problem). However, starting the system in safe mode was a good baseline, as it went to sleep as it should - confirming a software-related issue.
    I figured it would actually be easiest to shoot this bug by starting from scratch with an erase and install. After each tweak (ie, turn firewall on), software add (ie, clamXav), or update to the system, I tested it's sleep ability. And I found the bug/issue.....checking 'enable firewall logging' under the advanced options on the firewall tab, in the sharing preferences pane. No kidding. Stealth mode and UDP can be checked, just not firewall logging. Dunno why, however, the world is now at peace, able to sleep as needed.

  • OAB/OSB Oracle Advanced/Standard Benefits Enrolling Issue manually.

    Hello Everyone - The issue I am about to list below maybe peculiar in ERP nature and I think it will get lot of Benefits Guru thinking as it has got me(tho I am no Benefits Guru).
    First, lets get basic nuts and bolts in place about the environment,
    1. We are using Oracle 11i for just HR with functionality of payroll and benefits as suitable to client.
    2. Payroll is outsourced, maintaining benefits is outsourced.
    3. Deciding if it is OSB or OAB is bit tricky here, as parts of both are used.
    4. Only one Life Event - 'UnRestricted' is used.
    5. Benefit Programs, Plans, Options are built just as it is in outsourced Benefits Portal.
    6. Activity Rate is built and attached to Payroll Elements. This maintains the correct information for employee benefits and this information is pushed to outsourced Payroll for deductions.
    7. Open Enrollements were done in NOV.11 FOR THE year-2012.
    8. No Benefits or Payroll concurrent processes are executed in Oracle.
    9. New enrollments and changes to current enrollments are done via Benefits Service Center-->Non-Flex Program form.
    Now that we have established the ground, lets detail out the issue,
    10.A new plan is created for LTD as of Jan.01,2012. This plan falls in a Plan Type. We just have one single Benefit Program. Variable Rate Profile and Standard Rates for LTD plan started as of Jan.01,2012.
    11. Eligibility Profile is created for this plan based on only Age band, e.g., 1-20..21-29...etc.
    12. Variable Rate Profile is built as per the age band and attached with above Eligibility Profile. Details of important information for Variable Rate profile is as the following,
    - Employee Payroll Contribution
    - Aftertax
    -Monthly
    - Multiply By
    - Rates
    Calculation Method - Multiple of Compensation
    Multiplier - .07
    Operator - PER hUNDRED
    Comp. Factor - Monthly Salary
    Rounding COde - Round to Nearest Hundreth
    13. Standard rate details are as below,
    - Calculation Method - Flat Amount
    - Enter Value At Enrollment is selected.
    Values for Min,Max,Increment,Default is enter
    No other information on any other form is enter.
    Lets come to the issue now, please keep in mind that Non Flex Program form is used via Benefits Service Center to execute below situations,
    ============================================================================================================
    Situation 1-
    Client wanted to put employees on this plan from Jan.01,2012 BUT is not able to because the pay period start date for Jan.01,2012 falls on Dec.19,2011. As plan is created on Jan.01,2012 so it is not allowing to enroll employees on Jan.01 so instead they are enrolled as of Jan.02,2012(pay period start date for second period 2012).
    Questions 1-
    Is it ok to start them on Jan.02,2012? Does that mean employees are not covered for one day? Is it possible to change the start date of the plan, variable profile and standard rate before or on Dec.19,2011? OR can we force to enroll employees from Jan.01,2012?
    ===========================================================================================================
    Situation 2 -
    New employees are created after January 2012 and and benefits administrator tries to enroll them on the plan. Employee start date falls in middle of the pay period start and end date hence while enrolling a system error pops up that employee assignment is not active as of the pay period start date. This is true so as a workaround, these employees are enrolled on the plan from the next pay period from the date of joining.
    Question 2 -
    Is this expected functionality in benefits? IF it is then is there a way to enroll employees on the benefit plan as of the joining date, without worrying about the pay period start date?
    ===============================================================================================================
    Situation 3 -
    Different behavior on non flex program form for just one employee who has been with the company for 2 years on full-time basis. When tried to enroll this employee on the LTD plan, a pop-up window appears with all rate options setup as per the variable rate profile. If a rate is selected from this list than it defaults the amount in the Defined section of Amount Tab. While for everyone else, when enrolling them on the Plan, no pop-up window appears and the benefits administrator can enter the Amount in Defined section.
    Question 3 -
    Is this an expected functionality? Can someone please shed some light on why this is happening and how to fix it?
    =============================================================================================================
    Thats all I have for now and I really need advice on the 3 situations above. I have hit the road block and not sure how to proceed.
    Looking forward to the post replies.
    Thanks in Advance.

    Hello Everyone - The issue I am about to list below maybe peculiar in ERP nature and I think it will get lot of Benefits Guru thinking as it has got me(tho I am no Benefits Guru).
    First, lets get basic nuts and bolts in place about the environment,
    1. We are using Oracle 11i for just HR with functionality of payroll and benefits as suitable to client.
    2. Payroll is outsourced, maintaining benefits is outsourced.
    3. Deciding if it is OSB or OAB is bit tricky here, as parts of both are used.
    4. Only one Life Event - 'UnRestricted' is used.
    5. Benefit Programs, Plans, Options are built just as it is in outsourced Benefits Portal.
    6. Activity Rate is built and attached to Payroll Elements. This maintains the correct information for employee benefits and this information is pushed to outsourced Payroll for deductions.
    7. Open Enrollements were done in NOV.11 FOR THE year-2012.
    8. No Benefits or Payroll concurrent processes are executed in Oracle.
    9. New enrollments and changes to current enrollments are done via Benefits Service Center-->Non-Flex Program form.
    Now that we have established the ground, lets detail out the issue,
    10.A new plan is created for LTD as of Jan.01,2012. This plan falls in a Plan Type. We just have one single Benefit Program. Variable Rate Profile and Standard Rates for LTD plan started as of Jan.01,2012.
    11. Eligibility Profile is created for this plan based on only Age band, e.g., 1-20..21-29...etc.
    12. Variable Rate Profile is built as per the age band and attached with above Eligibility Profile. Details of important information for Variable Rate profile is as the following,
    - Employee Payroll Contribution
    - Aftertax
    -Monthly
    - Multiply By
    - Rates
    Calculation Method - Multiple of Compensation
    Multiplier - .07
    Operator - PER hUNDRED
    Comp. Factor - Monthly Salary
    Rounding COde - Round to Nearest Hundreth
    13. Standard rate details are as below,
    - Calculation Method - Flat Amount
    - Enter Value At Enrollment is selected.
    Values for Min,Max,Increment,Default is enter
    No other information on any other form is enter.
    Lets come to the issue now, please keep in mind that Non Flex Program form is used via Benefits Service Center to execute below situations,
    ============================================================================================================
    Situation 1-
    Client wanted to put employees on this plan from Jan.01,2012 BUT is not able to because the pay period start date for Jan.01,2012 falls on Dec.19,2011. As plan is created on Jan.01,2012 so it is not allowing to enroll employees on Jan.01 so instead they are enrolled as of Jan.02,2012(pay period start date for second period 2012).
    Questions 1-
    Is it ok to start them on Jan.02,2012? Does that mean employees are not covered for one day? Is it possible to change the start date of the plan, variable profile and standard rate before or on Dec.19,2011? OR can we force to enroll employees from Jan.01,2012?
    - This depends on your business case. Product feature wise, all are possible options. Some easier than others. You can control when the coverage starts and when the employee starts paying in separate codes. So, one can be different from the other.
    ===========================================================================================================
    Situation 2 -
    New employees are created after January 2012 and and benefits administrator tries to enroll them on the plan. Employee start date falls in middle of the pay period start and end date hence while enrolling a system error pops up that employee assignment is not active as of the pay period start date. This is true so as a workaround, these employees are enrolled on the plan from the next pay period from the date of joining.
    Question 2 -
    Is this expected functionality in benefits? IF it is then is there a way to enroll employees on the benefit plan as of the joining date, without worrying about the pay period start date?
    - The only requirement in OAB is that the person should be available as of the life event occured date. Of course in case of a new hire, you cannot write any data before the start date of the person. this needs to be handled via correct configuration. If you want the employees to get enrolled from the next pay period, chose appropriate rate and coverage start date codes.===============================================================================================================
    Situation 3 -
    Different behavior on non flex program form for just one employee who has been with the company for 2 years on full-time basis. When tried to enroll this employee on the LTD plan, a pop-up window appears with all rate options setup as per the variable rate profile. If a rate is selected from this list than it defaults the amount in the Defined section of Amount Tab. While for everyone else, when enrolling them on the Plan, no pop-up window appears and the benefits administrator can enter the Amount in Defined section.
    Question 3 -
    Is this an expected functionality? Can someone please shed some light on why this is happening and how to fix it?
    -- I think this is a data/setup issue. Please investigate accordingly.=============================================================================================================
    Thats all I have for now and I really need advice on the 3 situations above. I have hit the road block and not sure how to proceed.
    Looking forward to the post replies.
    Thanks in Advance.
    Edited by: Vinayaka Prabhu on Apr 23, 2012 9:24 AM

  • Benefit costs changes year after year impact

    Dear SAP gurus,
    I am involved in benefits implementation now and as part of the implementation, I have the following query and request your expert guidance to help me solve the issue.
    The benefit costs are changed year after year.  If an employee enrolls into a benefit during the previous year, the costs for that year are featuring in the BN infotype.  When the costs are changed for the subsequent year, the EE continues with the same benefit options hence there is no changes done to his benefit inofytpe.  The end date is end of period.
    Now for this current year, how will  the new costs be displayed in the infotype.   Is there any process that should be followed in these cases.
    Request your expert opinion on this.
    Thanks
    Lakshmi

    Benefit costs are dynamically calculated and not store in the infotype record. Please note for Pension plans in Ifotype 169 you must update the records if the percentage or the amount changes, as these are stored in the infotype record.
    You don't have to update the record in 167 and 168. However, there are some implications in payroll. Please check how these infotypes are processed in payroll if payroll is implemented as well. Consult with the payroll group with regards to how these premiums are to be reflected in payroll in the period where the premium chnage is effective. You will have the complete picture of what may be required to be done in benefits in terms of what the effective date of the configuration change will be and or if you may require to update the records in infotypes 167 or 168

  • LOADING ADDITIONAL COSTS (change matches revenue cost of goods in Stock and

    Problem:
    we must add the cost of goods of the raw material (for which was made a check invoice) of the costs, which are arising and charged by different suppliers (transport, freight, insurance, etc. ..). These are already included in FI with fb60.
    The result should be:
    - From the consignment of goods entering, add (only in Warehouse (STOCK), NOT IN ACCOUNTING ') cost accessory
    - Do not change the quantity
    - Having the total cost of stock
    - Exploiting the average cost to FIFO must consider the total cost after additional adjustment
    Example:                                                                                data
    ME21N: purchaise order No. 321 = article 1000kg a price of u20AC / kg 2.30          01/07/2008
    MIGO: goods receipt PO confirms price quantity x (u20AC 23,000) batch 298          07/07/2008
    MIRO(enter incoming invoice): Check invoice OK per (u20AC 23,000) batch 298       07/08/2008
    Invoices received for costs Accessories:                                                                08/08/2008
    FB60: transportation bill on all'purchaise order above cost u20AC / 0.11 kg
    0.11 * 1000kg = 110 recorded in cost and accounting of stock.
    In accounting, the cost has been reported, in warehouse I need to reverse (add) u20AC / kg to 0.11 initial cost of u20AC / 2.30 kg without adjustments in general accounting, but only in warehouse value and not in the quantity.
    So in the end I should have:
    batch n° 298 -  kg  1000 at a cost of u20AC 2.41 (2.30 +0.11) for the year 2008. How should I do?
    thanks

    Hi Rahul,
    In My GRPO in all there are e items in 2, 3 and 4 qty respectively.
    During GRPO:
    Finished Product=149610
    During Landed Cost:
    Finished Product= 35764.22
    So (149610+35764.22)/GRPO Qty (9) = Per Unit Cost during GRPO (20597.135)
    Now when you sale against above GRPO then
    you COGS Will be
    In my invoice i sold all the above items in qty 1 each so
    COGS= Per Unit Cost during GRPO ( 20597.135) * Sales Qty(3)  Dr,
    Finished Product= 32634.71 (CR) does not come to this
    So this Finished Product 32634.71 (CR) is nothing but Per Unit Cost during GRPO*Sales Qty
    Am i doing something wrong ?
    Thanks
    Malhaar

  • POI Information Updates when Costing Changes are not Saved

    Hi All,
    When you go to the costing screen of a party in Oracle HRMS, make changes to the costing string (Cost Allocation Flexfield) and not save them. Then, exit from the costing form and go to the Purchase Order Information (POI) screen and press Ctrl+F11, the POI information updates to the new changes. It was my understanding that in order for the purchase order info to be updated you need to make changes or "touch" the costing screen and save. I have noticed that the purchase order changes after being in the costing screen even without saving anything. Was this intend?
    Thanks,
    Naveen Gagadam

    The Changes on the Assignment reflect because of the changes on the Costing Screen. This is due to the custom.pll implementation. Is there an event name that I can use for the Assignment form such that the changes on the Assignment screen show up only after the changes are SAVED on the Costing Screen. Here's the code that we are using in the Procedure: Event of the custom.pll
    ====================================================================================
    If Event_name = 'WHEN-VALIDATE-RECORD' then
    --     1. Costing checks at Assignment (PERWSEAC). This code copies first 4 segments of costing string
    --               to Default Expense Account on the Assignment screen.The Code will perform this function for
    -- the first Costing record but no other record.
    if name_in('system.current_form') in ('PERWSEAC') then
         Step_identity := 'Costing to Expense Account Population';
                   if name_in ('system.cursor_block') = 'COST' then
    -- Check if current record is the first record in the block
    -- prior to 4/6/05 this code only ran if first costing record. now runs for all and passes
    -- whether first record to package. B Wagner                    
    if name_in('system.cursor_record') = '1' then
              lvc2_first_rec := 'Y';
    else
         lvc2_first_rec := 'N';
    end if;
                        if name_in('COST.SEGMENT1') is not null
                   and name_in('COST.SEGMENT8') is not null
                   and name_in('COST.SEGMENT2') is not null
                   and name_in('COST.SEGMENT3') is not null then
                             lvc2_company_nm     := name_in('COST.SEGMENT1');
                             lvc2_LOB := name_in('COST.SEGMENT8');
                             lvc2_location := name_in('COST.SEGMENT2');
                             lvc2_dept := name_in('COST.SEGMENT3');
                             FND_PROFILE.get('USER_ID',ln_user_id );
         -- It has been assumed that the seperator for the flexfield segments is a period ('.') .
         -- If the seperator is changed then the following line of code has to be modified.
         -- If the number of segments in the flexfield definition is changed then the number of
         -- separators has also to be modified.
    ln_assignment_id := name_in('COST.ASSIGNMENT_ID');
    ld_session_dt := name_in('CTL_GLOBALS.SESSION_DATE');
    smc_customlib.set_exp_act(
                                                                     ln_retcode,
                                                                     lvc2_errbuf,
                                                                     ln_user_id,
                                                                     ln_assignment_id,
                                                                     ld_session_dt,
                                                                     lvc2_company_nm,
                                                                     lvc2_LOB,
                                                                     lvc2_location,
                                                                     lvc2_dept,
                                                                lvc2_first_rec
    if ln_retcode = -1 then
         -- b wagner 4/6/05 - raise trigger failure so bad combinations can't be entered into costing screen
         fnd_message.set_string(lvc2_errbuf);
         fnd_message.error;
         raise form_trigger_failure;
    end if;
                        end if; -- If costing string is complete
                   end if;   If First Record of COST Block
                   end if; -- If Block is COST
         end if;     -- For Assignment form.
    ================================================================================================================
    Its the custom package that actually populates the changes in Costing Screen onto the Assignment Screen, but I want to activate this only when I save the changes on the Costing Screen. Right now the changes are seen on Assignment Screen when I hit CTRL=F11 even when I don's save the Costing Screen changes.
    Thank You,
    Ngagadam.
    Message was edited by:
    Naveen Gagadam
    Message was edited by:
    Naveen Gagadam
    Message was edited by:
    Naveen Gagadam
    Message was edited by:
    Naveen Gagadam

Maybe you are looking for