COPA Valuation User Exit

When posting a document to COPA, I want to swap the value of one of the value field with another value field.
1. Is it possible?
2. Do we have a user exit for the same?
I tried COPA0002 but somehow when I create my billing document, control is not coming to that user exit at all.

COPA0002 need to be activated from transaction KE4U, setting the user exit field to U01

Similar Messages

  • Zero values in Periodic Valuation User Exit (EXIT_SAPLKEAB_001)

    Dear All,
    Can anyone give a perspective on the following issue:
    We are using periodic valuation (ke27) and user exit EXIT_SAPLKEAB_001 in order to valuate COGS. There are instances where we have to zero our specific value field COGS for a material for all previous months of the year.The issue is that although we initialize the specific line items in the exit properly, no revaluation postings are made. When, instead of initializing, we give a specific value ( i.e. '0.01' ) the posting is made.
    Kind Regards,
    Orestis

    Hi Dalip !
    Welcome on board !
    "Has anyone figured out how/where step 3 is used ?"
    SURE !!!
    Take a look to https://websmp101.sap-ag.de/bi -> Services & Implementation -> HOW TO... Guides -> Guide List SAP BW 2.x -> How to... Verify the Variable Input
    Hope it helps!
    Bye,
    Roberto
    (and please don't forget to assign points to the answers...it's THE way to say thanks here!)

  • User exit during Sales order settlement to COPA (through VA88)

    Hi All
    I need uergent help.
    We are settling SO to COPA through VA88. We are looking for some user exit/mehtod to change soem value fields and quantity feilds in COPA document.
    Thanks
    Neeraj

    Hi,
       In your valuation strategy (tcode KE4U) you should specify that user exit will be used for record type C.
       The user exit in this case is COPA0002.
    regards
    Waman

  • Currency Conversion for billing doc and after user exits in COPA

    Hello Friends,
    Need your view on this issue:
    1. Company codes currency and Operating currency is different., Costing Based CO-PA.
    2. Value filed "Gross Sales" get posted via Billing doc. In case of correction billing or re-posting (after reversal of original one) of billing doc value
    field "Gross sales" get posted based on exchange rate of original (very first) posted document because system is updating "Translation date"
    in table BKPF from very first document posted and not taking current date as a translation date. SAP standard program is  reading "Translation date" from BKPF to chose exchange rate and valuating "Gross Sales" on that ex.rate.
    3. Some user exits in COPA valuation to populate some values for other value field (Example - Gross Sales value should populate in value field
    "Sales ASP"). After valuation in exits, SAP standard program is re-valuating value fields value (program statement is : perform currency conversion for fields that were changed in exit ) and for this valuation system is taking posting date for exchange rate.
    Due to above logic company code currency value is different in Gross Sales and Sales ASP.
    Requirement is : Sales ASP value should be same as Gross Sales.
    Can you please share your thought to find the solution.
    Thanks
    Ravi

    Check if the currency key and the unit of measurement are filled in (these will be the reference fields specified in the field definition of the structure at the database level).

  • COPA user exits

    Hi,
    I am working an issue and was hoping to get confirmation I'm on the right track or some advise otherwise.
    We are executing KE27 at month end.  In certain cases the COPA doc created holds the revaluation only in value field vvcml.  There is no cost component split because the material is purposely assigned a price determination of 2.  Is there an exit that is called during KE27 that I can use to copy the amount in vvcml to a cost component value field so the PA doc created by KE27 holds a revaluation amount in multiple value fields?  Can I use enhancement COPA0002 / function module EXIT_SAPLKEAB_001 to accomplish this?  Would it also be necessary to add a step in my valuation strategy to assign the user exit via KE4U?  I tried enhancement COPA0005 but seems code added to include ZXKKEU08 was not called during execution of KE27.  Thanks.

    Hi
    Go to KE4R and see if you have assigned one single Val Field against Record Type 02??
    Ideally, you can assign a different VF per cost component at this place.. Does this help you?
    br, Ajay M

  • Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)

    Hi all,
    i am facing problem finding enhancement when creation of sales order of Valuation price with user exit/BADI/Enhancement Spot  (In valuation variant)
    For refferenece:
    When going to t.code VA03, select one item and go to extras in the menu bar and select costing then you find some amounts calculation i.e valuation price automatically.
    So when creation of sales order i am giving material and that material price automatically takes from material master and creating sales order.
    My customer requirement is to get the valuation price of the input material from Z-table during the sales order cost estimate.
    This Z-table contains the material code, plant , grade  of the material.
    Ex:
    Material         Plant   Grade Price
    A                1000    XYZ     25000
    A                1000    PQR     35000
    A                1000    BCD     45000
    Suppose it depends on sales document type and which grade price i have to take.
    So first of all i am unable to find enhancement where to change this code to get change the valuation price.
    Does anybody have any idea , is there any user exit/BADI/enhancement for this.
    So please help me in this issue.
    Thanks & Regards,
    lokeshgoud

    pls allow me to post the questions

  • USER-EXIT / ENHANCEMENT / BADI -- Material Valuation Class (MBEW-BKLAS)

    Hi,
    I m looking for any user-exit, enhancement or BADI  which is triggered while executing MIGO!!!! .
    For example, for good movement 101related to a purchase order.
    If  MIGO item (material) have batch management we have to inform the batch number (mandatory). When material document is posted system updates material master data with a new valuation type (MBEW-BWTAR) with the same name of the batch number.
    We need to inform the valuation class (MBEW-BKLAS) related to this valuation type (MBEW-BWTAR) but we don´t know where it´s possible.
    Thanks and sorry for my english!!

    Hi Orion,
    You can refer to the following user exits for MIGO:
    Exit Name           Description                                                                               
    MBCF0002            Customer function exit: Segment text in material doc. item   
    MBCF0005            Material document item for goods receipt/issue slip          
    MBCF0006            Customer function for WBS element                            
    MBCF0007            Customer function exit: Updating a reservation               
    MBCF0009            Filling the storage location field                           
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1   
    MBCF0011            Read from RESB and RKPF for print list in  MB26              
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.   
    Hope this will help you...

  • How to use user exit to complete the PR item valuation price?

    Hi Experts,
    I am working on a user exit about Purchase requisition and the description is as following:
    In standard SAP, the Purchase Requisition (PR) is an internal document to translate a pur-chasing requirement. Standard, at the moment of a PR, no supplier is known and therefore no purchase price is known.
    In standard SAP, the purchase price and price conditions are introduced in the Purchase Or-der (PO); these fields are not available in the PR. Instead, the PR contains an estimated valuation price per item, this is the historic purchasing price (standard price or moving aver-age price).   
    For the GFP project, the purchase price needs to be introduced in the PR. This is due to the fact that budget reservations are made for PRu2019s. Therefore, each PR needs to have a correct purchasing value. As budget forecasting also takes into account the tax (VAT), the PR value needs to be VAT inclusive.
    The goal of this development is to ensure that the user does not need to complete the PR item valuation price manually. Instead, this field should be filled with the item contract or info record price.
    The purpose of this development is to extract the correct purchasing price from the agree-ment / info record when applicable. Thus:
    u2022If the user does not assign a source to an item, do not overwrite the item valuation price
    u2022If the user assigns a source to an item based on an agreement, use the agreement number and item to extract the purchasing item price
    u2022If the user assigns a source to an item based on an info record, use the info record number and purchasing organisation to extract the purchasing item price
    The enhancement trigger is the assignment of a source of supply by selecting a certain pur-chasing agreement (contract) or a certain info record.
    can anyone help me on this? do you know how to know the time when the trigger of the source of supply by selecting a certain pur-chasing agreement (contract) or a certain info record happens? thanks in advance!
    Kind regards
    Dawson
    Edited by: Julius Bussche on Jul 25, 2009 7:06 AM
    "Hi" removed from subject title...

    Hi Debadatta,
    Welcome to SDN.
    Have you looked report program <b>RM07MAAU</b> (Report for Material Document Archiving)?
    Hope this will help.
    Regards,
    Ferry Lianto

  • User Exit for material valuation is not called up

    Dear all,
    We want to add special logic when user process the material valuation through CK11N.
    We have also activated the project with the user exit COPCP005, changed valuation variant to "valuation price with user exit" and modified ZXCKAU08 in the component EXIT_SAPLCK21_002.
    And this special logic is correctly workd on development but we are not able to get the desired result on pre-production and production.
    Could you please guide that I check anything more?
    Thanks in advance.
    SK Roh.

    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.

  • Valuation price change in PR - User Exit

    Hello all,
    In Purchase Requisition valuation tab there is the field BPUEB (PO Price EBAN-BPUEB) that is used to transfer the valuation price from the PR to the PO.
    The field's values are :
    0. Do not adopt
    1. As gross price
    2. As net price
    The default value is "Do not adopt".
    How can I change the default value to "As net price" ?
    I am looking for a user exit, because i need to do some condition check before i change this to "As net price".
    Pl suggest.
    Thanks

    Solved Myself.
    Solution:
    Exit : EXIT_SAPLMEREQ_005
    Include : ZXM02U05
    Code:
    FIELD-SYMBOLS: <IS_ACC> TYPE LINE OF MMPUR_ACCOUNTING_LIST.
    DATA : ACCOUNTING_LIST TYPE MMPUR_ACCOUNTING_LIST.
    DATA : RE_EXKN TYPE EXKN.
    DATA : L_AUART TYPE VBAK-AUART.
    DATA : L_PSTYV TYPE VBAP-PSTYV.
      CLEAR RE_EXKN.
      ACCOUNTING_LIST = IM_REQ_ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ).
      LOOP AT ACCOUNTING_LIST ASSIGNING <IS_ACC>.
        CALL METHOD <IS_ACC>-MODEL->GET_EXKN
        RECEIVING
        RE_EXKN = RE_EXKN.
      ENDLOOP.
      CLEAR : L_AUART, L_PSTYV.
      SELECT SINGLE AUART FROM VBAK INTO L_AUART
                             WHERE VBELN = RE_EXKN-VBELN.
      SELECT SINGLE PSTYV FROM VBAP INTO L_PSTYV
                             WHERE VBELN = RE_EXKN-VBELN
                               AND POSNR = RE_EXKN-VBELP.
      IF SY-TCODE = 'ME51N' AND L_AUART = 'ZMO' AND L_PSTYV = 'ZTAB'.
        LS_MEREQ_ITEM-BPUEB = '2'.  "AS NET PRICE - PO Price field
      ENDIF.
    Thanks,
    Senthil

  • 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.

  • Valuation price with user Exit on activity types

    Hi All,
    Our customer could have different activity cost for different products even if they are processed on the same cost center, same activity type and same activity time. So I wonder whether SAP has valuation price with user Exit on activity types as what on material valuation, when we select "U" in the relevant valuation variant. Could anyone knows advise please?
    Regards
    Walter

    Hi Walter,
    an idea might be to include an ABC template into the costing. ABC tempaltes allow a big degree of freedom in determinin which processes to use and in which quantities. To use the product as a cost driver is certainly not an issue. I doubt that you can directly influence the process 'price' to be applied, but to change the quantity could bring the same result.
    See the docu for more info:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/7e/cb7d1443a311d189ee0000e81ddfac/frameset.htm]
    best regards,
                        Udo

  • Table for Valuation Price from USER EXIT - Cost Estimation

    Hi All,
    Can you let us know from where the system picks the price for VALUATION PRICE from USER EXIT when we have following setting in valuation variant
    1.Valuation Price from USER EXIT
    2.Price from Purchasing Info Records
    3. Planned Price 1
    Sub Stratergy.
    1.Effective Price from Purchase Order
    2. Net Quotation Price
    3. Gross Quotation Price.
    Now when we execute CK11N for a material, the system displays a cost price as 316 Euro/ unit.
    But Standard price is 290 euros, info record price is 294 euros & planned price 304 euros.
    Our previous cost estimation ( period 1, current period is 5) was 316 euro/unit (which was not correct), so deleted the cost estimation with CKR1 and try to rerun the cost estimation to update the value (new price), but still the system is picking the old price.
    Can you let us know from where does(transaction code & table) the system is picking the old values.
    In CK11N Material valuation (Valuation tab) its showing as Valuation Price from USER EXIT.
    We have activated Material Ledger with price control "s"and we in ECC 6.0.
    Do suggest.

    Hi,
    Where & how can i find the exit.
    Do suggest.
    Regards,

  • User exit  for checking  Goods Receipt, Non-Valuated when creat po (ME21N)

    Hi All:
    I want to check the field of Goods Receipt, Non-Valuated when i create PO with ME21N.
    It require as plant and Account assignment category
    For example,  plant A and account assignment  category (K), I want to check it.
    How can I do this?
    Please help me.

    No need for any user exit ,  you can copy the account assignment category "K"  and make your own , in that  account assignment category you can tick "GR-Nonvaluated" ,  then whenever you create a PO with this category "GR-Non Valuated"  will come ticked automatically.
    Regards
    Raviraj

  • User-exit during settlement of PM orders to COPA

    HI,
    We have a situation where a plant maintenance order type is sometimes charged to a customer. In those cases, the costs are sent to SD using a DIP profile, the customer invoiced. with the PM orders as the cost object for the revenue posting. At the end of the month, the PM order is settled to COPA. But I also need to duplicate the entry on the cost centre....
    So I need two user-exits, one of which I have.
    I need a user-exit to override the automatically derived settlement rule, so that I can put in a PSG as settlement receiver.
    Then somewhere, either at the time of the billing doc release to accounting, but preferably at the time of the settlement posting into COPA, I need a user-exit where I can quickly post an FI document.
    COPA0002, which we use for something similar in postings from SD to COPA, seems not to be triggered during settlement postings. The same is true of the Fm's for COPA0005.
    Does anybody know of a user-exit that gets triggered during settlemnt to COAP from orders?

    Hi
    Your settlement rule says "Settle to Cost Center" only.... I dont think any user exit can help in this case, if you want to settle occasioanlly to 2 cost objects
    Try with these options
    Option A
    1. Remove the 100% validation tick in the settlement profile...
    2. Maintain 2 settlement rules... i.e. One with Cost center and another with PSG... If any warning comes, ignore it
    3. Execute settlement now
    Option B
    1. Maintain settlement rule with PSG as settlement receiver
    2. In the same Settlement rule, Menu GO TO > DETAILS and maintain Cost Center also....
    3. Now execute settlement...
    Option C
    1. Maintain settlement rule with PSG as settlement receiver
    2. In the same Settlement rule, populate Cost Center also as a Valid Characteristic
    3. Now execute settlement...
    BR,Ajay M

Maybe you are looking for