Exit for Material Costing CK11N

Hello Experts ,
I used Function exit EXIT_SAPLCK21_002 for material costing for CK11N .
Its giving wrong value in valuation and effected in wrong Cost element or GL .
please suggest me which parameter shoul i used to get correct value and affected in
correct GL .
Becuase when i enter fixed value opf EXP_PRICE_COMPONENTS_TABLE then five different value and wittout this then different .
Thanks
Gaurav sharma

Hello ,
How can get Material no which we enter on intial screen of CK11N in Exit EXIT_SAPLCK21_002 ?
Is there any enhancement for that ?
Thanks & Regards
Gaurav Sharma

Similar Messages

  • PC-WQS: User exit for material valuation

    Hello,
    Currently we use data from the purchase info records to carry out material valuation of raw materials in the cost estimate. The client would like to get this data from the contracts instead of the info records since all purchase orders get information from the contracts. The second reason is that maintenance of the info record is very cumbersome and prone to errors when creating or updating the cost/ quantity.
    My question is, has anyone used the user exit COPCP005 - User exit for material valuation (strategy U) in the valuation variant and has anyone gone after the contracts to get the purchase price?
    If yes, I would like to know how you did it.
    Thanks,
    dinesh

    Can you explain a little more where you encountered the problem?
    1. Is there a Val Strategy before the Val Strat U that is probably able to find a price for costing?
    2. Is the User Exit being triggered?
    3. Can you run CK11N in the debug mode (/h) and check if the User Exit is triggered?
    4. If all of these occur, the problem probably lies in the ABAP code... check for changes in the material number range or plant codes, or the plant-specific material status - the system does not valuate if the status does not permit it to.
    If nothing works, come back with confirmation of the above and we'll go forward from there.
    Cheers.

  • Unit costing for materials assigned to activity - for material cost plannin

    The requirement is that material cost to the company will vary depending upon the project/customer. Eg.: Material cost = basic material cost + a % for P&F + 2 % for Clearance + a % for excise + 2 % for insurance + a % for Customs
    It can be a % or a lump-sum value. It can be all the components listed or part of them. This will be project specific.
    Hence the following preference for material cost planning is required:
    1. Material cost based on quotation or Purchase order - If quote/PO is not available, then
    2.Material cost based on unit costing done for the material in the project - If this is not available, then
    3. material cost from material master depending on price indicator i.e. Std cost or Moving average price
    We are working with valuated project stock.
    SAP Help says"
    "Prices are calculated in one of the following ways:
    u2022     Using the strategy in the valuation variant
    u2022     Manually, using the invoicing plan
    u2022     Using unit costing"
    But how to get the cost as per the priority required when these three options are there is not clear.
    I have tried to work with valuation variant in the costing variant assigned to Network. No valuation strategy explicitly refers to unit costing of material.
    During various testings, at times, unit costing of material gets updated as planned cost; at times not. What triggers in also not clear.
    Pl. clarify
    Thanks and regards
    A.Saravanan

    Hi All
    I have psoted to service market place and got the reply; we have implemented also.
    there were 2 suggestiosn:
    1. Valuation price with user exit - (EXIT_SAPLCK21_002) - This user exit has to be implemented; we have implemented - it is working. But this is taking effect when overhead calculation is done - this we rae managing that way now
    2. Alternatively you can try to use BAdI VALUATION_CK.: This BADI is not editable by us now; SAP has not released for our editing!
    The problem is solved although
    There is one more clarification  required:
    As SAP Help documentation: -> Unit costing is used instead of strategy sequence, but not in between steps of strategy.
    How to get this done ? right now we are using the strategy - inbetween steps of strategy with user exit
    Thanks and regards
    A.Saravanan

  • Issue Search Help Exit for Material Group

    Dear Expertsl,
    I developed a search help exit for material group for the search helps both H_T023 and H_2023_MEPO to restrict certain material groups from the actual display as follows
    1)  I developed custom table to hold the Invalid material groups
    2) Developed search help as same as in the bellow link
    link:[https://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterial+Group]
    3) Before the statement
        SELECT matkl wgbez wgbez60 FROM t023t INTO s_t023t
          WHERE matkl IN t_matkl
    i selected the Invalid materials from the custom table into an internal table
    4)    i am restricting the entries with the following code.
    LOOP AT a_tab.
    only move values that meet the requirements
    after you convert to upper case.
         MOVE a_tab-wgbez60 TO a_tab-wgbez60_test.
         TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
            MOVE      a_tab-wgbez        TO a_tab-wgbez_test.
            TRANSLATE a_tab-WGBEZ_test   TO UPPER CASE.
            MOVE      a_tab-wgbez60      TO a_tab-wgbez60_test.
            TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
          IF a_tab-wgbez60_test IN i_wgbez60 AND
             a_tab-wgbez_test   IN i_wgbez   AND   
             a_tab-matkl        IN i_matkl.
            ADD 1 TO findex.
            MOVE a_tab-matkl   TO temp_tab-matkl.
            MOVE a_tab-WGBEZ   TO temp_tab-WGBEZ.   
            MOVE a_tab-wgbez60 TO temp_tab-wgbez60.
            IF findex > callcontrol-maxrecords.
              MOVE 'X' TO callcontrol-maxexceed.
              EXIT.
            ENDIF.
            READ TABLE i_invalid INTO w_invalid
            WITH KEY matkl = a_tab-matkl.
            IF sy-subrc NE 0.
              APPEND temp_tab.
            ENDIF.
            CLEAR temp_tab.
          ENDIF.
        ENDLOOP.
    This is working fine when we press F4 in ME21N Transaction and give some description and then press enter the popup screen.
    But my requirement is user will enter some description in ME21N material group field and press enter ( Not pressing the F4 here) at this moment this is not going through the search help exit and displaying all the entries including the Invalid materials.
    Note: We can delete the Invalid material groups but the documents which are having the invalid material already will have an issue and need to be corrected all the documents. But our requirement is only to use the correct materials  groups from now onwards.
    I would appropriate if any one can helping this regard.
    Thanks in advance.,
    Regards,
    Venkat

    Hi Venkat,
    You can call your ZSEARCH_HELP from the PAI , on the event SY-UCOMM = Enter using the function module F4IF_FIELD_VALUE_REQUEST.
    For example, your screen field is MARA-ZXXXX, screen 0100 and search help :  ZSEARCH_HELP
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname                   = 'MARA'
          fieldname                  = 'ZXXXX'
          searchhelp               = 'ZSEARCH_HELP '
          dynpnr                      = '0100'
          dynprofield                =  'MARA-ZXXXX'
    TABLES
       return_tab                = lt_returntab.
    This F4IF_FIELD_VALUE_REQUEST will call your custom search help exit.
    Regards
    Deepa.

  • Exit for Material Master UPdate

    Hi Friends,
    could anyone let me know any user exit for Material Master UPdate.
    Thanks in Advance
    Regards

    hi
    good
    MGA00001            Material Master (Industry): Checks and Enhancements
    MGA00002            Material Master (Industry): Number Assignment
    MGA00003            Material Master (Industry and Retail): Number Display
    thanks
    mrutyun^

  • User Exit for Material Plan Costs

    I have an escenario where the client needs another option to calculate the material plan costs, but need to identify the correct user exit.
    In transaction OKYF exist the option "U Valuation Price with User Exit" but need the user exit to use.
    Hope to receive information soon...
    Best Regards...

    Hi
    you can use unit costing for material option for this...
    Automatic netowrk costing for material component
    you need to maintain proper costing variant for material component in config.
    in projects assign material then select material -edit - cost - unit costing.
    which will get reflected in network cost in CJ40.
    Venkatesh

  • Report for Material Cost Estimate

    Hi Everyone,
    Is there any way that I could download a report from the SAP showing all the material cost estimates? Hope someone could help me. When I try using CK11n, there is no tab there for report downloads and it only shows one material.
    Thank you in advance
    Jahziel

    Dear Jahziel,
    In standard SAP the following reports are available:
    T Code : CK84_99 : COST_ELEMENT - Cost Elements
                 CK80_99 - Cost Components
                 CK84_99 - Itemization
    These reports will provide you the information at individual material level.
    Regards,
    Pavan Kumar Arvapally

  • How to update only Raw material cost(CK11n) in Material Master ?

    Hi Everybody,
    My client has a requirement where only raw material costs from the BOM should get updated in Material Master (Accounting 1 view in Standard Price field).
    But in Receipe & BOM for the Process Order, the client wants all Packing Materials and activites to be maintained.
    Pls help me in this regards,
    Ankita

    Hi Jagdish,
    Let me put it this way to explain you my problem.
    When running CK11n,
    Total Cost is =
    Total Raw Materials used Cost = QTY from BOM * Price from   Material Master
    +
    Total Packing Materials used Cost = QTY from BOM * Price from   Material Master
    +
    Total Utility cost = Qty from receipe * price in KP26
    When viewing the cost componenet view in CK11n tcode, I can view the break up as follows
    Raw Material Cost = XX rs
    Packing Material Cost = XX rs
    Overheads = XX rs
    Total cost = sum of all above XX rs ( this is the cost which gets updated when realasing price thru t code CK40n)
    But my client wants that at time of price relase, system should relase only total raw materil cost as standard price for the Finished Good in Material Master Accounting 1 view.
    I hope now you are getting me.
    Regards,
    Ankita

  • MIRO Emptry rows for Material Costs in PO reference tab

    Hi
    I have done GR and Its Reversal against Purchase Order. Then, agai, I did the GR. During execution of MIRO for Invoice Verification, I can see one empty row before the each Material Costs in PO reference tab. why it is so?
    is there a way to suppress these additional empty rows displayed in MIRO due to earlier GR and its reversal.
    Thanks,
    JK

    Hi
    Have to ticked GR based invoice verification in Purchase order invoice tab?

  • Table for Material-Cost center-Settlement Rule_REM product cost collecter

    I want to generate a report to see for particular material which cost center and which settlement rule is available.
    If we go in Product cost collecter (PCC) there we have an option to see settlement rule under header tab, I want to fetch that data for material as selection parameter, can anyone suggest how to get the data as,
    Material        Cost Center        Settlement Rule
    Thank you.
    Regards,
    Deven

    Hi,
    pleasefind tables related with cost.
                          TKA01               Controlling areas
                         TKA02               Controlling area assignment
                         KEKO               Product-costing header
         KEPH               Cost components for cost of goods manuf.
         KALO               Costing objects
         KANZ               Sales order items - costing objects
         Cost center master data
                        CSKS               Cost Center Master Data
                        CSKT               Cost center texts
                        CRCO               Assignment of Work Center to Cost Center
                        COSP               CO Object: Cost Totals for External Postings
                        COEP               CO Object: Line Items (by Period)
    .     COBK               CO Object: Document header
         COST               CO Object: Price Totals
    Regards
    SANIL

  • User exits for Material Master in ECC 6.0

    Hello,
    We would like to have a function for checking descriptions when we are saving a material in the material master. We are today running R/3 on release 4.6C and as I understad there are no user exits at that point for this release. We are going to do an upgrade to ECC 6. Do you know if there are more user exits for the material master for this release?
       Regards
       Ann-Sofie

    Following are the user exists available for Material master :-
    -> MGA00001
          Enhancement and addition of checks and (limited) changes to data
    -> MGA00002
         Control for the material number assignment
    -> MGA00003
         Control for the material number display
    -> MGV00001
         Distribution via ALE
    -> MGV00002
         Read customer-specific filter objects for a material

  • User Exit for Material Master

    Hi everybody,
    I'm looking for a BAdi or an userexit for material master data (TA MM01/MM02). This BAdi should be used every time a user press the save button. I could not find any BAdi in the SAP help.
    Do anybody of you know if there is a BAdi implementation or userexit exists?
    Regards
    Berthold

    Hi Berthold,
    Here are user exits and BADI available for MM01/MM02.
    User Exits:
    MGA00001                             
    MGA00002                             
    MGA00003                             
    BADIs:                     
    MG_MASS_NEWSEG                       
    MATGRP_SKU_UPD                       
    CDT_CHECK_MATERIAL                   
    BADI_MM_MATNR                        
    BADI_MAT_F_SPEC_SEL                  
    BADI_MATNR_CHECK_PVS                 
    BADI_MATERIAL_REF                    
    BADI_MATERIAL_OD                     
    BADI_MATERIAL_CHECK                  
    BADI_GTIN_VARIANT                    
    BADI_EAN_SYSTEMATIC       
    Regards,
    Ferry Lianto

  • User exit for material code based on number range

    Hi viewers,
    Can you please tell me the User exit to be identified for material code t based on  the number range (External or Internal)
    For ex: LAFAMLP is the material code I want this material code as case sensitive .
    It should take what ever case we give.
    Regards
    Kumar

    Hi,
    First goto MM01 transaction code in menu System-> status..pick the program name ,then
    Goto SE38 give that program name select Attributes radio button click on Display button,
    you will get one popup from the popup pick Package ...
    Then now goto SMOD transaction in menu utilities(or/any one of the menu you will find (find option ))->Find this will list out all the possible exits...As follow
    mga00001 material master (industry): checks and enhancements
    mga00002 material master (industry): number assignment
    mga00003 material master (industry and retail): number display
    I think second one will help for you ,,,here you can code your requirement

  • User-Exit for material

    Hi!
    I have to create an user-exit for a material to force a water content value to be added to it. Can anyone tell me what user-exit should I be using for it please.
    Thanks

    Actually there is a material by number 20000 which alreday has this functionality set up for it and the method (ABAP objects) for it is :
    ZCL_IM_SD_SHP_DEL_PROCESS    IF_EX_LE_SHP_DELIVERY_PROC~SAVE_DOCUMENT_PREP
    . But I am not sure if this can be used for the other material too which si 73420.
    I have never used a user-exit like this before so not aware how to use it or what to do. Can anyone explain me plz.
    Thanks

  • FM for material costs from KEPH

    Is there an FM which will bring back the material costs from KEPH based on a date parameter?

    Did not use a FM.  Coded straight abap.

Maybe you are looking for