WIP - Internal order

Dear Guru's,
I need a clarifications regarding WIP caluclation for Internal order.
Our client use to run the WIP calculation for Internal order during month end. Even they use to run WIP for Internal order which doesn't have any actual cost for the month. As a result system is calculating calculated cost for finding the WIP for that month, even actual cost is not booked for that month in that internal order. So our client's requirement is that, system should not calculate WIP if Actual cost is zero for that month. But i saw system is caulcuating Calculated cost while running KKA1 which is almost equal to revenue of that month booked in the inernal order.
Few points to note:
1. Sale order is linked to internal order
2. Internal order is having revenue booked.
3. Actual cost not booked for the month
4. KKA1 is run to find the WIP(This client couldnt avoid since they have thousands of order during month end, unable to check each and every order)
5. WIP posting is done by using calculated cost caluclated by system during KKA1 run and settled to FI
6. Now system should not do WIP caculation if Actual cost is zero i.e. system should not calcaulted Calcualted cost if Actual cost is zero?
Kindly let me know if this approach is correct and provide us the soultion.
Regards,
Hem

Hi Hemkumar,
I presume when you say 'system should not calcaulted Calcualted cost if Actual cost is zero' you mean the periodic actual cost and not cumulative.
If this is the case you will have to go for RA enhancement.
With enhancement you can force the periodic calculated cost to be zero irrespective of revenue.
The revenue will go as revenue surplus in this case.
But before that I want you to try RA type and profit indicator as E, C and valuation basis I.
Note that it is not recommended that you ignore these orders from RA calcuation in any period.
You have to find a way to run the RA and get the desired results at the same time.
BR
ABHi

Similar Messages

  • Down payment against the Internal Order - for Capital Expenditure

    Dear friends
    I am getting an error while making down payment against the purchase order.
    The order of my entries or steps are as follows:
    Created one internal order for Capital WIP with budget and availability control activation.
    Created one purchase order against a vendor with reference to the above Internal Order.
    When I am making the down payment to the vendor through tcode:F-48, the system throwing an error
    "Define Cost Elements for Down Payments".
    Can any one please explain why this error is coming. When I checked in Internal orders, there is a TCode: OKEP for Define Default Cost Elements for Down Payments.
    System is asking for cost element, but where as what ever the down payment we are making is nothing but advance which is current asset. Why system is asking for cost element?
    Can any one give me the guidance how to handle the issue.
    Thanks in Advance
    Kiran Kumar A

    The reason is when you want the down payment for AUC to be capitalised, then you would need to create cost element for Downpayments.
    Normally as per design of SAP, down payment being a Balance Sheet Account (Current Asset as you rightly mentioned) doesnot need / accept an Cost object, as a special case since down payments for AUC needs to be capitalised and hence need to be carried to Controlling (Internal Order) by creating Cost Element for Downpayments.
    Go ahead and create the cost element. That would resolve your issue.

  • Internal Order Error

    Dear friends
    I am getting an error while making down payment against the purchase order.
    The order of my entries or steps are as follows:
    Created one internal order for Capital WIP with budget and availability control activation.
    Created one purchase order against a vendor with reference to the above Internal Order.
    When I am making the down payment to the vendor through tcode:F-48, the system throwing an error
    "Define Cost Elements for Down Payments".
    Can any one please explain why this error is coming. When I checked in Internal orders, there is a TCode: OKEP for Define Default Cost Elements for Down Payments.
    System is asking for cost element, but where as what ever the down payment we are making is nothing but advance which is current asset. Why system is asking for cost element?
    Can any one give me the guidance how to handle the issue.

    The reason is when you want the down payment for AUC to be capitalised, then you would need to create cost element for Downpayments.
    Normally as per design of SAP, down payment being a Balance Sheet Account (Current Asset as you rightly mentioned) doesnot need / accept an Cost object, as a special case since down payments for AUC needs to be capitalised and hence need to be carried to Controlling (Internal Order) by creating Cost Element for Downpayments.
    Go ahead and create the cost element.  That would resolve your issue.

  • Internal Order Cannot Be Closed

    Upon attempting to close an internal order the system returns "There is still a purchase requisition commitment for ORD M4171B5D58." However, when I search for purchase requisitions tied to this order, the system says there are none. The purchase requisition has most likely been archived off.
    How can I go about closing this internal order?
    Thanks - points will be rewarded.

    Dear ,
    You can take back the WIP  by canceling Production Order Confirmation (CO11N/CO12)  and also reversing the GI -261 in MIGO .
    So you need to check the folloiwng steps :
    1.Ask your MM person to check wether MM period are opened or not in MMPV
    2.Ask your FI persion to check wther FI period is opend or not
    3.Perfom CO13-Cancel Confriamtion of Production order .You can check in COHV/CO16N/CO13
    3.You can reverse the GI through MIGO-262 or MBST
    Check the Order status after reversing confirmation as well as GI  and check the WIP stsatus of the Order -Costing-Select Costing trend or WIP .
    Try and come back
    Regards
    JH

  • Internal Order Receiver category.

    Hi Gurus,
    Please tell me the significance of receiver category in Internal Order master data.
    And the receiver type following need to settle for which??
    1. FXA - for Fixed Assets
    2.CTR - for Cost Center for product costing
    3.ORD - ???
    4.G/L - ????
    And in Control data of IO master data the significance of system status & Allowed transactions is for what ??
    How can we know the order is locked and by whom ??
    Thanks,
    Raj

    Hi,
    The signification of Receiver Category is Vital for
    1. FXA- This will be Created as Fixed Assets and will be capitalsed in Books it will show in FA and in Asset Module it will be Asset in Asset Register.
    2. Cost Center - Generally Maintenence orders will be settled to Cost Centers so that maintenance cost will be available on order basis as will as the cost will be captured in Correct cost center.
    3. Order:- Generally in the Scenario where material issued against  production order ,  in that case that will be settled against production order or Material (Finished Part) so that the status of WIP and Finished goods depends on the Order Status Like DLV(Delivered) or Tech (Techinically completed).
    4.GL :- Generally in some companies they want to capture the Development cost seperately (mainly in Automobiles) so that all the expese to a particular order type will be settled to Particular GL (New Product Cost Account).
    regards
    N.Kumar

  • MIRO, posting at an assetnumber with a reference to an Internal Order

    Hi,
    At this moment I am busy implementing MIRO. There is one big obstacle. The company is making investments, these investments have an investmentnumber (no link with the future assetnumber) I want to register these investmentnumbers as a statistical internal order. At the moment when a purchase order is made for this investment, there will be made an assetnumber and in this assetnumber I have made it possible to refer to the Internal order number. When creating the PO-number (ME21N) I refer in the PO-number to the assetnumber and also to the Internal order number. The next stage is MIRO. I am entering the invoice, posting the invoice. The transaction in MM is showing me all the details (assetnumber and internal number). However the financial posting is not showing the internal order number. The field AUFNR is empty. And therefore  SAP has also not created a controlling document. On the other hand, when I am posting this invoice directly in Fi (FB60) and entering assetnumber and Internal order number, SAP shows all these data in the posting line and there fore also generating a document in Controlling.  My question is: Is it possible to post in MIRO at an assetnumber and also on an internal ordernumber, that is also be posted in FI and generates a posting in controlling?

    Hi,
    Thanks for your reaction. However, the point is that I don't want to create any real postings on this Internal Order. In the current organisation the Internal Order is only used for statistical reason. And so I want to use the Int.Order functionality for managing investments. There for the internal order should also be statistical So therefore no real posting, no settlement and WIP accounts. The problem is that SAP is aware of this problem, see note 380748, but the correction program ZACORR138  is in release 4.7 present, but not working.
    Kind regards Bert

  • Open Items in GR/IR Account Internal Order wise

    Hi,
    Is it possible to view Open Items in GR/IR Account Internal Order wise?. We are assigning Internal Order in Goods Receipt and want to view Open items for the particular Order.
    Regards,
    Amanullah

    Thanks for your response.
    I already review the accounting and is pretty fine.
    The system creates document type WE and RE for the Goods Receipt and Invoice Receipt.
    Unfortunately in transaction FBLN the system shows as a Open Item, and honestly I don't know the reason.
    I really appreciate any help for this issue.
    Regards.

  • Problem in creation of Internal Order

    Dear Experts,
    We've configured Asset Accounting in Development server for our newly implemented Company but the problem is when I'm going to create Internal Order (T-code: KO01) our company not showing there. Fyki, we've three CO area like MGH0, MGHI and MGHP but when I'm going to KO01 it is showing only those companies which are under MGHI only.
    Would you please advise us, whether I left any configuration or not. Please also let me know how can I solve this issue.
    Thanks in advance and your suggestion will be highly appreciated.
    Best Regards.
    Ripon Paul

    Dear Both,
    Thank you very much. Yes I found my problem.
    Best Regards.
    Ripon Kumar Paul

  • Purchase order to Asset non imposed the Internal Order.

    I'm entering a purchase order of an asset tied to an internal order of investment. The order has a budget X. If I enter a purchase order with value greater than the amount budgeted in the internal order, the system allows me to create the request and not imposed the internal order. In the report S_ALR_87013019, the order has no value released.
    How can the system do not allow the purchase of assets with values greater than estimated and how to make that encumbers the purchase order and appear in the report S_ALR_87013019?
    This only happens in the purchases of assets!
    Thanks in advanced!
    GLMacedo

    My friend, see my answer to witch point.
    1. Your Asset APC account should be Category 90 (Statistical) Cost element
    The Internal Order is Statistical (I see in KO03). Should I verify in another place?
    2. your Internal Order must be of category "Investment" and not "Overhead"
    OK
    3. Assign this Internal order in your Asset Master in the field "Investment Order"and not "Internal Order"....
    OK
    if Investment Order is not visible in Asset Master, change your screen layout of the asset and plug it in (IMG > AA > Master Data > Screen layouts)
    4. Do settings in T code ACSET - Allow EAUFN for Trn Type = *, Acct Assign Type = APC Postings, and check the Acct Assgn check box
    I don´t know how can I do this. How Can I Do?
    Allow commitment management in your contr area OKKP and in your Internal order type (KOT2_OPA)
    My type Order (investment) in KOT2_OPA is OK (commitment management was allowed). But in OKKP it is not! It is a critical setting. Should I flag this field?
    6. Feield Status Group of Asset must allow CO/PP Order in OBC4
    OK
    Thank you very much!

  • SAP Report to track cost by Internal Order

    Hi Expert,
    for audit purpose, I want to track the Cost by Internal Order, please suggest me in sap have any report to track down?
    below format is an example.
    release code   cost center        internal order number   PR number  PO number  SES number  vendor name  desc of item cost of item
    Thanks.

    Hi Pal,
    Many Thanks for your input, as per your recommendation
    Mani as you suggested ME2K was working fine, but anyway we need to drill down further to double of each field.
    As Nico suggested building a query, to view all at a same time is good & perfect to use.
    So please suggest me, what are the tables and fields map to build a query? because Itu2019s very easy for me to assign fast.
    Regards,

  • Including down payment made to vendor in the internal order

    Hi all
    My requirement is like this.
    We use IM and IO(Capex orders) for procuring and capitalising assets. We are able to assign all the costs of procuring assets (both APC and incidental expenses to the internal order). We use purchase orders and assign the internal order while raising purchase order.
    Sometimes we do make Down payments(advances) without raising purchase orders. My question is how to include this down payment made in the internal order. We cannot assign any internal order while making the down payment. But, can we include this down payment made to vendor in the internal order(commitment) while making down payment or after that.
    FYI:I came to know that there is some functionality in Controlling (Project systems) where we can assign the down payment made to the internal order after making payment.But, i do not know how to do that.
    Pls somebody reply me.
    Thank you very much in advance.
    Regards,
    Vishnu
    VST-IT.
    Pls somebody answer my query.

    The functionality is available in Controlling. I dont know about PS.
    I need to know how to do it.
    Regards
    vishnu
    Pls anybody suggest me on this issue.

  • Vendor line item display with internal order

    In Vendor line item display is it possibe to see details of the line item of offsetting account .
    For example a expense account is debited & vendor account is credited .At the time expense account debit a internal order has been assigned in line item.
    User wants to see the vendor line item display ( T code FBL1N) with details of internal order appearing in open  line items display  etc .
    Is this possible .I created a layout with order as a field but order does not show any values in the line display of vendor.
    Please revert back if this can be possibe.
    Thanks
    Manoj

    with a combination of notes
    112312 - Line item - Display of offsetting ac information
    373268 - Line item - new display field
    569939 - Line item - Open FI - Absolute amounts
    1034354 - FAGLL03 - Display of offsetting account information
    you should be able to get it there.

  • Vendor invoices to internal order

    Hi Experts,
    Create Asset Under Construction using asset class for AUC .
    Create Vendor invoices to Internal Order (not to asset account) F-90
    How can i create the vendor invoice to internal order..please send the transacction code and procedure ..with one example.
    this is urgent ..
    Regards
    msr

    Dear,
    in F-90 only you can post the asset aquisition.
    You should do it in F-43.
    Before doing invoice for AUC - please check the GL account assign for AUC.where check the field status group internal order field it should be optional/required.......
    After that go for F-43 ther you can find a internal order field as
    Order
    Don,t forget to assign points,if it helps you.
    Rgds,
    Madhuri

  • A report for 'Responsible CCtr' and 'Requesting CCtr' in Internal Orders

    Hi All,
    displaing the master data of an Internal Order, in the tab 'assignment' I can see the fields 'Responsible CCtr'
    and 'Requesting CCtr'.
    I wonder, is ther a report in which these field are recalled?
    Thanks

    Hi,
    T-code KOK5.
    Define a sel. variant, run KOK4 with this variant to create an order group, view this order group in KOK5 and in the layout choose the fields you need.
    best regards, Christian

  • Production Order and Internal Order for each item of the sales order

    Hi
       I am developing Make To Order Report where I have to display the MTO Line Items and non MTO Line Items. For non MTO Line Items I have to display Internal order with Planned and Actual Costs and also Production Order with Planned and Actual Costs. Could anybody tell how to get the Internal order no and production order with Planned and Actual costs for each line item for a sales order.
    Thanks
    Naga

    Hi,
    You can get the Production orders, Planned orders, Internal orders generated for Sales order item from AFPO table (use fields KDAUF-Sales order number & KDPOS-Sales order item). Then to identify the order type use order category (AUTYP) from table AUFK.
    Once you have the Production/internal order, you can ge the cost from COSS and COSP table. Use the object number from AUFK to get the cost entries from COSS & COSP.
    You can use the following sample code as reference.
    Hope this is helps.. (Don't forget to mark it... )
    Form GET_COSTS                                                       *
    Get the material cost, labour hours and the labour cost for the      *
    sales order material.                                                *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_COSTS.
      DATA V_OBJNR LIKE AUFK-OBJNR.
    DATA v_menge LIKE vbap-kwmeng.
      SELECT SINGLE OBJNR
        INTO V_OBJNR
        FROM AUFK
       WHERE AUFNR EQ AFPO-AUFNR.
      SELECT * FROM COSS
       WHERE OBJNR EQ V_OBJNR
         AND WRTTP IN ('01', '04'). " p_wrttp. "Labour Cost ( Plan, Actual)
        PERFORM GET_VALUES_FROM_COSS.
      ENDSELECT.
      SELECT * FROM COSP
       WHERE OBJNR EQ V_OBJNR
         AND WRTTP IN ('01', '04')         " p_wrttp
         AND KSTAR NE '0000510033'. " EQ p_kstar2.      "Material Cost
        PERFORM GET_VALUE_FROM_COSP.
      ENDSELECT.
    Get the unit cost of the production order by dividing the production
    cost by the order quantity. The result will be multiplied by the
    GL posting qunatity (Delivery quantity) to get the production cost
    for the quantity being deluivered.
      IF NOT AFPO-PSMNG IS INITIAL.
        OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_HOURS_ACT =
                          OUT_REC-ADDNL_LABOUR_HOURS_ACT / AFPO-PSMNG.
        OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_HOURS_PLN =
                         OUT_REC-ADDNL_LABOUR_HOURS_PLN / AFPO-PSMNG.
        OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_COST_ACT =
                         OUT_REC-ADDNL_LABOUR_COST_ACT / AFPO-PSMNG.
        OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_COST_PLN =
                         OUT_REC-ADDNL_LABOUR_COST_PLN / AFPO-PSMNG.
        OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_MATERIAL_COST_ACT =
                         OUT_REC-ADDNL_MATERIAL_COST_ACT / AFPO-PSMNG.
        OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_MATERIAL_COST_PLN =
                         OUT_REC-ADDNL_MATERIAL_COST_PLN / AFPO-PSMNG.
      ENDIF.
    Multiply the calculated Unit Production costs with the GL quantity to
    get the actual production cost of the quantity delivered.
    Calculation for Labour Hours
      OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT *
                                 OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_HOURS_ACT = OUT_REC-ADDNL_LABOUR_HOURS_ACT *
                                 OUT_REC-QUANTITY.
      OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN *
                                 OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_HOURS_PLN = OUT_REC-ADDNL_LABOUR_HOURS_PLN *
                                 OUT_REC-QUANTITY.
    Calculation for Material Cost
      OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_MATERIAL_COST_ACT =
          OUT_REC-ADDNL_MATERIAL_COST_ACT * OUT_REC-QUANTITY.
      OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_MATERIAL_COST_PLN =
          OUT_REC-ADDNL_MATERIAL_COST_PLN * OUT_REC-QUANTITY.
    Calculation for Labour cost
      OUT_REC-LABOUR_COST_ACT   = OUT_REC-LABOUR_COST_ACT *
                                   OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_COST_ACT = OUT_REC-ADDNL_LABOUR_COST_ACT *
                                  OUT_REC-QUANTITY.
      OUT_REC-LABOUR_COST_PLN   = OUT_REC-LABOUR_COST_PLN *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_COST_PLN = OUT_REC-ADDNL_LABOUR_COST_PLN *
                                  OUT_REC-QUANTITY.
    Get the planned material cost from the total of the planned cost of
    the component materials in the production order confirmations.
      SELECT BWART MENGE MATNR SHKZG FROM AUFM
        INTO (AUFM-BWART, AUFM-MENGE, AUFM-MATNR, AUFM-SHKZG)
       WHERE AUFNR EQ AFPO-AUFNR.
        CHECK AUFM-BWART NE '101'.
        READ TABLE I_MBEW WITH KEY MATNR = AUFM-MATNR
                                   BWKEY = AFPO-DWERK.
        IF SY-SUBRC NE 0.
          SELECT MATNR BWKEY ZPLPR LPLPR PEINH
            FROM MBEW
            INTO I_MBEW
           WHERE MATNR EQ AUFM-MATNR
             AND BWKEY EQ AFPO-DWERK.
            APPEND I_MBEW.
          ENDSELECT.
        ENDIF.
        IF SY-SUBRC EQ 0.
          IF I_MBEW-ZPLPR NE 0.
            IF AUFM-SHKZG EQ 'H'.
              OUT_REC-PLANNED_MATERIAL_COST =
              OUT_REC-PLANNED_MATERIAL_COST +
                           ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ELSE.
              OUT_REC-PLANNED_MATERIAL_COST =
              OUT_REC-PLANNED_MATERIAL_COST -
                           ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ENDIF.
          ELSEIF I_MBEW-LPLPR NE 0.
            IF AUFM-SHKZG EQ 'H'.
              OUT_REC-CURRENT_MATERIAL_COST =
              OUT_REC-CURRENT_MATERIAL_COST +
                           ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ELSE.
              OUT_REC-CURRENT_MATERIAL_COST =
              OUT_REC-CURRENT_MATERIAL_COST -
                           ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDSELECT.
    Get the Future material cost per Unit by deviding the calculated
    Future material cost above with the goods reciept quantity to, then
    multiply the unit cost with the GL quantity to get the Future material
    Cost for the Quantity delivered. (Quantity in the entery from GLPCA
    Table).
      IF NOT AFPO-WEMNG IS INITIAL.
        OUT_REC-PLANNED_MATERIAL_COST =
           OUT_REC-PLANNED_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
        OUT_REC-CURRENT_MATERIAL_COST =
           OUT_REC-CURRENT_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
      ENDIF.
    ENDFORM.                               " GET_COSTS
    Form GET_VALUE_FROM_COSP                                             *
    Get the Material cost from COSP table.                               *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_VALUE_FROM_COSP.
      FIELD-SYMBOLS: <FS> TYPE ANY.
      DATA: V_COMPONENT TYPE I.
    Cummulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the aprtial posting of
    prodction order values in diffrent periods.
      V_COMPONENT = 15.
      DO 16 TIMES.
        ADD 1 TO V_COMPONENT.
        ASSIGN COMPONENT V_COMPONENT OF STRUCTURE COSP TO <FS>.
        IF COSP-WRTTP EQ '04' AND COSP-KSTAR EQ P_KSTAR2.
          ADD <FS> TO OUT_REC-MATERIAL_COST_ACT.
        ELSEIF COSP-WRTTP EQ '04'.
          ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_ACT.
        ELSEIF COSP-WRTTP EQ '01' AND COSP-KSTAR EQ P_KSTAR2.
          ADD <FS> TO OUT_REC-MATERIAL_COST_PLN.
        ELSEIF COSP-WRTTP EQ '01'.
          ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_PLN.
        ENDIF.
      ENDDO.
    ENDFORM.                               " GET_VALUE_FROM_COSP
    Form GET_VALUES_FROM_COSS                                            *
    Get the Labour cost and Labour hours from the COSS table.            *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_VALUES_FROM_COSS.
      FIELD-SYMBOLS: <FS1> TYPE ANY,
                     <FS2> TYPE ANY.
      DATA: V_COMPONENT1 TYPE I,
            V_COMPONENT2 TYPE I.
    Cummulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the aprtial posting of
    prodction order values in diffrent periods.
      V_COMPONENT1 = 15.
      V_COMPONENT2 = 111.
      DO 16 TIMES.
        ADD 1 TO: V_COMPONENT1, V_COMPONENT2.
        ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
        ASSIGN COMPONENT V_COMPONENT2 OF STRUCTURE COSS TO <FS2>.
        IF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ P_KSTAR1.
          ADD <FS1> TO OUT_REC-LABOUR_COST_ACT.
          ADD <FS2> TO OUT_REC-LABOUR_HOURS_ACT.
        ELSEIF COSS-WRTTP EQ '04'.
          ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_ACT.
          ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_ACT.
        ELSEIF COSS-WRTTP EQ '01' AND COSS-KSTAR EQ P_KSTAR1.
          ADD <FS1> TO OUT_REC-LABOUR_COST_PLN.
          ADD <FS2> TO OUT_REC-LABOUR_HOURS_PLN.
        ELSEIF COSS-WRTTP EQ '01'.
          ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_PLN.
          ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_PLN.
        ENDIF.
      ENDDO.
    ENDFORM.                               " GET_VALUES_FROM_COSS

Maybe you are looking for