CO-PA Enhancement COPA0001 (ZXKKEU11)

Hi Gurus:
Iu2019m investigating CO-PA enhancement COPA0001 (Include ZXKKEU11), first in my KEDR configuration (Characteristic derivation) I added cost element (KSTAR) as source field and user defined characteristic (WW123) as target field, while debugging this include it is not populating Cost element! I tried with several other characteristics Iu2019m getting them fine but not KSTAR. Did anyone have any experience in this area? Thanks for your help.
Raghu

Hi
I believe, the field HKONT or SAKNR should be available and not KSTAR
moreover, you will be able to use this enhancement only for manual FI postings to COPA where only one line item posts to COPA... While Posting from SD, you can have Discounts, Revenues, etc where all of them post to COPA... In that case, which GL Account would you populate??
So, its not techniically feasible to achieve what you want... If thats the requirement, adopt Acct Based COPA
Moreover, you can achieve this using a Table Look up also... I dont remember fully now, but I guided someone to achieve that...
Try once to create a derivation step using BSEG Table... Map fields BELNR and BUZEI to temp Fields
And Assign HKONT to WW123
br, Ajay M

Similar Messages

  • Using enhancement COPA0001 in a derivation to clear value fields

    Dear colleagues,
    In our sales process, freight is added as an item of the sales order, which means we maintain different freight types as materials (mat type ZFRE - "Freight") and we create cost estimates, so that this cost can be valuated into COPA.
    Our problem is that we do not want to capture the cost of goods sold and the cost of sales for those materialss, as they only represent the freight cost that is paid by us and reimbursed by our customers. In addition, I we would like to move the value of the revenue value field to another value field (Freight sales).
    I am trying to accomplish this by using enhancement COPA0001 - I created an enhancement step and I added a code to include ZXKKEU11 which specifies the "clear" of 2 value fields and the "move" of the revenue to another value field.
    I had done this in the past to clear quantity fields, but I am testing this new config and it doesn't work.
    When testing the derivation analyzer tells me that "Derivation was not carried out. Reason: None of the target fields are to be derived".
    I looked in the known resources, but couldn't find any valuable information about such an issue. I did see in the SAP library that target fields can be "All quantity unit fields" , but value fields are not mentioned.
    Did anyone have a similar experience or knows if what I'm trying to do is possible?
    Thanks,
    Yoel.

    Hi
    You can try with exit COPA0005 as Christian mentioned...
    But, I would like to know your process in ddetail to see if any standard mechanism is possible...
    1. What does your sale order look like? Does it has one saleable material + Multiple freight materials?
    2. What purpose these freight materials serve? Do they have a revenue as well as cost in the sale order pricing procedure?
    3. Can you explain your total scenario with accounting entries? and what exactly are you looking at
    Regards
    Ajay M

  • COPA0001 -  Posting VGBEL and VGPOS

    Hi all,
    Using KEDR following dervation created
    28     Table lookup     Excise Document number updatoin
    Source
    VBRP     VBELN     Billing Document          GLOBAL     USERTEMP1     Temporary field 1 (user-defined)
    VBRP     POSNR     Billing item          GLOBAL     USERTEMP2     Temporary field 2 (user-defined)
    Target
    VBRP     VGBEL     Document number of the reference document CO-PA     VGBEL     Document number of the reference document
    VBRP     VGPOS     Item number of the reference item          CO-PA     VGPOS     Item number of the reference item
    requirement is
    pass vbeln and posnr from source to global_usertemp1 and global_usertemp2.
    based on this vgbel and vgpos should be passed to COPA.
    i have done the following coding in exit ZXKKEU11.
    TABLES : vbrp.
    DATA: ce0_1000  LIKE ce01000,       "Import CO-PA structure
          ls_global LIKE kedrcopa.      "Import USERTEMP field
    DATA : BEGIN OF vbrp_work_area,
           vbeln LIKE vbrp-vbeln,
           posnr LIKE vbrp-posnr,
           END OF vbrp_work_area.
    CASE i_operating_concern.
    Derivation enhancements for operating concern 1000
      WHEN '1000'.
        e_exit_is_active = 'X'.
        ce0_1000 = i_copa_item.
        ls_global = i_global.
        CASE i_step_id .
          WHEN '28'.
            SELECT vbeln posnr UP TO 1 ROWS
                   INTO vbrp_work_area
                   FROM vbrp
                   WHERE vbeln = ce0_1000-rbeln
                   AND   posnr = ce0_1000-rposn.
              ls_global-usertemp1 = vbrp_work_area-vbeln.
              ls_global-usertemp2 = vbrp_work_area-posnr.
            ENDSELECT.
            IF sy-subrc NE 0.
              e_failed = 'X'.
            ENDIF.
        ENDCASE.
       e_copa_item = ce0_1000.
         e_global = ls_global.
    fill temporary structures
       ls_global = i_global.
    ENDCASE.
    How to write coding for vgpos and vgbel posting?
    I have put breakpoint  in the exit.
    How to test this exit, which tcode should i use
    Help required.
    regards
    senthil.

    Hi
    Have you checked Note 124813 - Enhancement COPA0001: Documentation?
    Regards
    Eduardo

  • COPA0001

    we are trying to determin the sattelment rule for WBS in transection CJ20N.
    For this we are using BADI ' 'WBS_SETTLEMENT_RULE' and User Exit :COPA0001 and COPA0003.
    from the Given BADI  (triggering through transection CJB1/CJB2)we are able to determeine the stragegy for a given WBS.
    But we are not able to trigger COPA0001 through GIiven BADI.
    From which transection we are able to trigger COPA0001?
    Please help me out.
    Thanks & Regards:
    Avijit Khajanchi.

    Hi
    Have you checked Note 124813 - Enhancement COPA0001: Documentation?
    Regards
    Eduardo

  • Offset declaration too big for structure (unicode checks)

    Has anyone worked with this user exit to Derive values for co/pa?
    Enhancement COPA0001
    Comp ZXKKEU11
    I set up WA_CE1AWG1 as data: WA_CE1AWG1 like CE1AWG1.
    and tried to copy I_COPA_ITEM to this variable
    WA_CE1AWG1 = I_COPA_ITEM.
    I get a runtime error Offset declaration too big for structure.
    will I have to change program SAPLXKKE to remove unicode checks. Is there any other way to read in the fields from input structure I_COPA_ITEM?

    hi
    1.r u sure I_COPA_ITEM is structure or table.
    2. if it is a struccture make sure the WA_CE1AWG1 and  I_COPA_ITEM are with same structures and types..
    i think I_COPA_ITEM is table type --> to find it open in debugging mode then try to resolve.
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K

  • CO-PA characteristics population from coding block

    Hi I have defined couple of custom fields in my coding block (GL field extensions).
    Users will be populating these fields while posting the document.
    Is there nay way ( config, substitution or user exit ) thru which we can populate these fields in profitability segment ( CO-PA characteristics )?

    Hi,
    I reckon that you would like to have attributes in those custom fields as COPA characteristic? if so, firstly you would need to add a Characteristic to Operating Concern and Segment.
    Are the values in those custom fields in your coding block being derived from other attribute, for example, material master or customer master? If that is the case, you would be able to use Derivation or Table look up.
    If that is not possible to derive or look up from a table and need to transfer from coding block, you may explore the possibility to activate SAP enhancement COPA0001.
    Hope that helps
    taro

  • Need to add a  field for SEPA DME file format

    Hi SAP Gurus,
    I am working XML DME file format, i configured every thing properly But i am not able to Map below requirement
    I have to bring Client ID(GATTGB22@|@) as a first field in file then only bank can process
    This requirement we have to map this some where   other than DMEE T. Code
    Kindly Guide me on this
    Client required Below file format
    *GATTGB22@|@<?*xml version="1.0"; encoding="utf-8"?>
    <Document xmlns='xmlns="namespaceURI"' xmlns:xsi="www.XXXXXXXXX.com"; xsi:schemaLocation="C:\Documents and Settings\xxxxxxxxxx.CORP\Desktop\SEPA.txt";>
    <pain.001.001.02>;
    <GrpHdr>
    <MsgId>1000004409B</MsgId>
    <CreDtTm>2011-04-06T11:11:50</CreDtTm>
    <NbOfTxs>2</NbOfTxs>
    <CtrlSum>2000.00;/CtrlSum>
    <Grpg>MIXD</Grpg>
    <InitgPty>
    Now i am getting in below format
    <?xml version="1.0"; encoding="utf-8"?>
    <Document xmlns='xmlns="namespaceURI"' xmlns:xsi="www.XXXXXXXXXXx.Com"; xsi:schemaLocation="C:\Documents and Settings\XXXXXXXXX.CORP\Desktop\SEPA.txt";>
    <pain.001.001.02>;
    <GrpHdr>
    <MsgId>1000004409B</MsgId>
    <CreDtTm>2011-04-06T11:11:50</CreDtTm>
    <NbOfTxs>2</NbOfTxs>
    <CtrlSum>2000.00;/CtrlSum>
    <Grpg>MIXD</Grpg>
    <InitgPty>
    Thanks in advance

    Hi,
    check these enhancements
    COPA0001  Enhancement for derivation in Profitability Analysis (C
    COPA0002  Enhancement for valuation in Profitability Analysis (CO
    COPA0003  Enhancement for assignment to profitability segment (CO
    COPA0004  Enhancement for currency translation (CO-PA)
    COPA0005  Enhancement for actual data update (CO-PA)
    COPA0006  Enhancement for planning (CO-PA)
    COPA0007  Enhancement for external data transfer (CO-PA)
    i think you should get it provided you should follow proper procedure .
    otherwise you need to create Implicit Enhancement spot.
    regards
    fareed

  • PE51_checktab - Need to Add a field PA0210-FRMNR

    Hi,
    I am not a full time abapper, but a frequent abapper. I am trying to read up on PE51_CHECKTAB.
    Selecting Application help from the transaction takes me to SAP Library Home page. 
    Where can I find some information on PE51_CHECKTAB.
    Any particular path in SAP Library.
    Your help is appreciated.
    Thanks
    Paddy
    720 838 0600

    Hi,
    check these enhancements
    COPA0001  Enhancement for derivation in Profitability Analysis (C
    COPA0002  Enhancement for valuation in Profitability Analysis (CO
    COPA0003  Enhancement for assignment to profitability segment (CO
    COPA0004  Enhancement for currency translation (CO-PA)
    COPA0005  Enhancement for actual data update (CO-PA)
    COPA0006  Enhancement for planning (CO-PA)
    COPA0007  Enhancement for external data transfer (CO-PA)
    i think you should get it provided you should follow proper procedure .
    otherwise you need to create Implicit Enhancement spot.
    regards
    fareed

  • Need to add a field in KE24 transaction

    Hi,
    I need to add a field Order Reason (VBAK-AUGRU) in the ALV output for the transaction KE24. I didn't find any suitable exit or BADI for adding this field. Right now I'm looking for some enhancement spots to get the field value and also to add the field in the catalog before calling the GRID display.
    If you have come across this similar situation, please suggest me.
    Regards
    Itishree

    Hi,
    check these enhancements
    COPA0001  Enhancement for derivation in Profitability Analysis (C
    COPA0002  Enhancement for valuation in Profitability Analysis (CO
    COPA0003  Enhancement for assignment to profitability segment (CO
    COPA0004  Enhancement for currency translation (CO-PA)
    COPA0005  Enhancement for actual data update (CO-PA)
    COPA0006  Enhancement for planning (CO-PA)
    COPA0007  Enhancement for external data transfer (CO-PA)
    i think you should get it provided you should follow proper procedure .
    otherwise you need to create Implicit Enhancement spot.
    regards
    fareed

  • User exit in CO-PA

    Hi,
    Good morning.
    We use the Industry specific solution AFS(Apparel and Footware Solution).
    We have a requirement to concatenate Material or Product Number and dimension into a single filed using one of the
    user exits for CO-PA.
    I used the enhancement component COPA0005 and added the code to concatenate product number and dimension into product number field.
    I want to test this user exit for Sales and Distribution data coming to CO-PA. So I created sales order and when I save the sales order the program is not stopping at the stop point I put in user exit code.
    Can anyone tell me if I am using the correct enhancement component? If yes,how to stop the program at the user exit code in debugging mode?
    Thanks,
    Ashok.

    Hi Ashok,
    Your solution involves part configuration and part of development. Ask you function guy to create a ebhancement based derivation step for the field you want to populate with concatenated value for the concerned operating concern. The transaction code for this KEDR.
    The source fields will be product and dimention and target field will be your field to be populated.
    Then use enhancement COPA0001 , component EXIT_SAPLKEDRCOPA_001 to write your code. I hope it helps.

  • Exit EXIT_SAPLKEII_002 in profibility Analysis to change value fields

    Hello,
    I want to change some of the value fields in the records which are produced in the CO-PA with
    the user exit EXIT_SAPLKEII_002.
    The problem is that the table interface table T_ACCCR_PA which is for the "FI/CO document: CO-PA segment" is not filled with the generated records.
    How can I change the value fields in co-pa in the user-exit than? Do I have to generate these
    records myself?
    Thanks.
    Regards, Lars.

    Hi,
    Welcome To SDN!!
      use enhancement COPA0001 , component EXIT_SAPLKEDRCOPA_001
    Regards
    Kiran Sure

  • The transfer of sales plans into CO-PA

    At the present time sales plans are created in the several info-structures. There is only the one unit of measure in the each info-structure (for example: mt, meter and others). Further, the number of different units of measure for selling products will increase only, especially for services. It leads to the fact where we have to create new info-structures and have to implement additional customizes and create a new chain for the transfer of data into CO-PA each time a new unit of measure arises. Also it makes more comprehensive the process of the sales plans transfer for the End Users.
    We think that it is logically to create the info-structure, to collect there all kinds of units of measure and transfer the data into CO-PA by the one action. Practically we cannot to do it because we have to enter the one base unit of measure into characteristic and key figures customize area (MC7F). And after transferring sales plans into CO-PA all data are reflected in that base unit of measure, although initial data were in the different units of measure.
    Also our attempt to transfer units of measure as additional characteristic was fault. In that case the system gave us an error when we were trying to create a task for transfer.
    Is there a solution of above problem?

    HI,
    Are you using Costing based, Accounting based or both of them?
    We are already tried to use enhancement COPA0005 but this produces a duplication of segments and a different values of  characteristics between what is posted from FI documents and what is posted on COPA document; this situation is not acceptable by client.
    Concerning to enhancement COPA0001 i don't know which table i have to refer to for obtaining number of sales order, since accounting document (BKPF) and material document (MKPF) are not yet posted so far. Could you please give me this information?
    Thanks a lot in advance for your kind support.
    Erasmo

  • Enhancement to a cube

    Hi Gurus
    I am working on BI 7 and as per a requirement i had to add 2 fields i.e calmonth(0CALMONTH) & a key figure namely document number (0CRM_NUMDOC) to a cube, now in tranformation calmonth is being mapped to a field in the DSO name of the field being, date field(0CRM_CRD_AT) and the key figure is being mapped with field of the same name in the DSO.After adding the fields to the cube and performing the full load i do not see the result for all records of the 2 fields that were loaded in the cube.kindly suggest..points will be hansomely awarded

    Hi Sharma,
    As u said the fields to be added to the cude, in this case the DS is already having this fileds and not mapped at the intal satage of mapping....????
    Can you check in RSA3 whether these fields that you have added does contain the Data for this perticluar Datasource.
    If you have enhanced the data source then u have to chek at the source system level itself.
    Since you are using BI.7 the DTP method then there is only 1 place that you map is in Tranformations.
    In this place it is direct map and 0CALMONTH if you map to any data field it will take the conversion automatically.
    Same way the Key field also if it is a direct field then it has to come.
    Best Regards,
    VNK.

  • Enhance MR11

    Hello Gurus ,
    I am trying to enhance MR11 Transaction (Report : SAPRCKM_MR11) .  Here i am adding GR  and  IR  posting date(BUDAT)  as selection field  .
    Requirement is that MR11 should consider  Gr and IR for that period.. compare and show the difference .
    In the program
    I added posting date(BUDAT)  in the select query to  'v_ckmlgrir' .  and it is picking all the records with in that period , open and cleared both .
    1)   But I want only the open one .....and I dont see any flag for that ....so is there any way i can get only the open items ?
    2) I observed that if i dont specify posting date ...I mean just run the standard MR11 ...then also it picks up open and cleared items ....but during processing it is considering open only don't know why ..i debugged it  its going through every item item but in the end considering open only which is correct ....so not understanding why its not doing the same if i restrict it to posting date .....
    any suggestion is greatly appreciated !!
    PS : GR/IR account   open items I can see from FBL3N .

    If you are using an account assigned PO then possibly the order(PM order, internal order etc) to which your PO refers might have status as CLSD.
    Check and reverse the status.

  • Extractor 0FC_BP_ITEMS - Business Partner Items Enhancement

    I'm looking at using 0FC_BP_ITEMS extractor to extract Open and cleared items. Has anyone worked on the enhancement of this extractor. If so what are the steps involved in enhancing this extractor?  Is it similar to the Full load extractor 0FC_CI_01 and 0FC_OP_01. Any help will be great.

    Hi,
    Please have alook in help.sap.com- Netweaver- BI Content-FICA.
    This is not same as those two datasources which you mentioned. This datasource will give you delta records.
    Regards,
    Asish

Maybe you are looking for

  • I have two seperate itunes account and want to transfer them both to one of my two macs

    I have a 2006 15" Macbook pro with one itunes account, I have purchased a 13"macbook pro with my new itunes account, and wish to comine them both on one. I am giving the other to my daughter and need to pull my purchased music and my libray off to cr

  • Problems with the iPod Touch (sound)

    Hey, I was wondering (more like desperately hoping) someone can help me with my problem. I've had my iPod touch for almost 2 years now but lately I've been getting problems with the sound. When I bought the iPod, I bought some decent sennheiser plug-

  • The content menu in my Acrobat X Standard does not include the "multimedia" selection??

    What am I missing?  The Adobe Classroom In A Book clearly refers to it...

  • Keyboard help!

    I have a lenovo 3000 N100 and my 15 month old son broke keys off my laptop I need help with locating a repacement and  instructions on repairing as my computer is out of warranty. any help will be greatly appreciated. thanks!  

  • Slow boot problem

    I have recently installed a Seagate SATA HDD in my computer and since then, I have had a longer than normal (previous) delay in completing the BIOS boot.  I changed the IDE Primary and Secondary from AUTO to USER thinking that might speed things up b