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
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 -
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.
RaghuHi
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 -
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 -
COPA user exit (COPA0001)
Hi,
I have a requirement where i need to populate the date field in COPA( called the reporting date) with the posting date of Invoice when the billing document is created.
But the problem what i have is the userexit doesn't get the billing document number and the date when it is triggered duing creation of Invoice(VF01) and this user exit depends on the config we do in KEDR transaction.
Now only those values mentioned as source field in the KEDR enhancement(Config) will be populated in the userexit, rest all values are blank.
But unfortunately the source field in KEDR does not have any field for Billing doument number so it doesn't get populated.
Thanks for any help or inputs.
Thanks,
BabuHi Krish,
Check this note: 134889 and 185826.
Reddy -
Batch wise rate and revenue for Profitability reports
Process are
We are doing GR of material based on Batch wise and we have moving average price for all trading material.
let say i did 2 GR
Material A
Batch x
MAP 10rs
QTY 10 kg
Material A
Batch y
MAP 15 rs
QTY 20 kg
now i have stock of 30 kg of material with batch X and Y
Now i got sales order of 15 qty and I issued 10 qty from batch X and 5 qty from batch Y
and did billing also.
Now my client want profitability batch wise and rate of consumption also batch wise.
I can create one characteristic WWBAT for batch and also planned Table lookup for Derivation from SD table LIPS.
But how to get cost Batch wise - 10 rs for batch -X and 15 rs for batch-Y. becoz price will come from VPRS which is my latest MAP
regards
RRHi
For Batch - You need to create a WW Char i.e. User Defined Char
Valuation Type - Should be available as a Standard Char in COPA.. You can pull it in your Op Concern from KEA5 using "Reference" option
To get the Batch No - You need to create a derivation step in KEDR using "Enhancement" method... SOURCE field can be ARTNR and Target Field will be WW Char.... Then you can write exit COPA0001 or COPA0005
Valuation Type can also be fetched using the same exit...
br, Ajay M -
Details from Billing doc line item in COPA
Hi,
We are posting billing docs with multiple ship-to parties on the different line items. In COPA I need to get hold of the ship-to party. There are no sales orders created in the process.
In neither the derivations (KEDR) nor in the user-exit am I able to get hold of the billing doc line item nr, as that is what I need to determine the ship-to party from the VBRP table.
Any ideas on how I can pick up the ship-to party from the billing doc?
Thanks in advance
Piet StrydomHI,
Thanks for your response.
Yes, we have ship-to party at the line-item level. Technically it is stored on VBPA, but the access into VBPA is the billing doc and line item number.
I have not been able to find good (SAP) documentation for exit COPA0005, but what I did find warned against changing characteristics? That should be done in COPA0001. However, the RBELN and RPOSN fields are not populated yet. -
CO-PA transfer from SD - conditional transfer
Hi,
We need to implement a new flow for 'early start' SD orders. These are uncommited towards the customer, but certain enough to start procurement activities. The point is to use a flag on SD order header to control 'early start' that prevents updates of planned values to CO-PA. Once order is firmed, the early start flag is removed, and normal CO-PA transfer should be used.
Reason for rejection seems like a candidate, but it disallows even procurement and delivery creation, so that will not work.
I was thinking about a user exit, but can not get any of the COPA000* to update relevant data.
COPA0001 via KEDR can only affect characteristics, not values.
COPA0003 is called when saving the order, but T_COPADATA is empty.
Most of the remaining COPA000* does not seem to be called when creating orders by transaction VA01COPA0002 need to be activated from transaction KE4U, setting the user exit field to U01
-
Hello gurus,
I want to allocate to CO-PA the sales order billing document (VF02). I have customized KE4I and the P&L account is cost element type 11.
when i create the billing document the profitability analysis object is derivated but no profitability analysis document is created. ONLY if I introduce the income account to OKB9 a profitability analysis document is created.
if i do not introduce in OKB9 that a profitability object is mandatory i do not obtain a CO-PA document. How can be possible that the acounting document does not have any co object allocated in spite of the P&L account is a cost element(no co-pa object, no cost center)...
thank you very much in advanceHi,
In case of billing documents the values are posted in COPA as per note 20254. Please read this note and check if the conditions are satisfied.
Please check if any value fields have been reset in KE4W. Also check if you clear any data in the COPA user exits (COPA0001 and COPA0002)
OKB9 should not come into the picture in case COPA is active (tcode KEKE) and billing documents are posted. Maybe you are clearing the PA segment in OKC9 ?
regards
Waman -
KE28 - Selection Criteria and Processing
Hello Expert,
we will need, when we are executing transacction ke28 that it runs this process excluding some products or
this does not consider some records
I review some recomendations but I dont found one solution.
1. http://scn.sap.com/thread/607526
2. http://scn.sap.com/thread/1887453
3. http://scn.sap.com/thread/1707542
4. Example: Selection Criteria and Processing Instructions - Profitability Analysis (COPA) - SAP Library
5. 77476 - Information: top-down planning
6. 1928710 - KE28 enhancements (this note oss not apply in SAP ECC 6.0)
7. 1933479 - KE28: Enhancements (this note oss not apply in SAP ECC 6.0)
I try explain:
Actual data:
From period 001.2014
Record type 1.
Reference data
From period 001.2014
Version
Record type Z, B.
1. Top-Down Distribution:Processing Instruccions
Int this point it cant use options (DLvl and Sum) when it use range because:
This processing rule is not allowed for the characteristic
Procedure
Select either "Retain" or "Copy to" for characteristics for which you have specified characteristic values.
For characteristic that you want to summarize or distribute ("Summarize" or "Distribution level" button), you must enter an asterisk (*) on the "Selection Criteria" screen.
=> In this case, it use optios CPY.
2. Selection Criteria (Characteristic)
=> In this case here, it consider characteristic values and excluding values.
Finally: it not get good result because it not distribute.!!
Then, ¿is it possible excluding records from derivation rule?
¿is there any exit in COPA for ke28?
For example ¿is it possible excluding records from exit COPA0001 ?
All your recomendations w ill be w elcome.
Many thanks for your support and recomendations.
Best regards,Dear Sap Expert,
All your recomendations will be welcome.
I try explain the following scenary:
This is actual data real (Record type Z, B from COPA) and it has only version 0.
Not plan and it does not use planning layouts or reports.
Example:
Client
Material
Product
Sub Line
C1
M1
P1
L1
C2
M1
P1
L1
C3
M3
P2
L2
C4
M4
P3
L3
C5
M5
P4
L4 (Excluding this records or Line)
C5
M6
P5
L4 (Excluding this records or Line)
The following entries are made on the screen 'Selection criteria':
Characteristic Characteristic value
Society CO *
Material *
Product *
Client *
Sub líneas L1,L2,L3
The following entries are made on the screen 'Processing rules':
Characteristic
Distribution level
Transfer
Summarize
Society CO
X
Material
X
Product
X
Client
X
Sub líneas
X
When we run trasacction ke28 then the result is not good because it does not distribute nothing.
But
when we change “selection criteria”
Characteristic characteristic value:
Sub línea *
The result is ok and distribute!
¿How does we exclude some records?
Could you explain better this distribution using only transaction ke28, please? or Could you give me other note oss about distribution KE28, please?
Many thanks for your support and recomendations.
Best regards,
a -
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 advanceHi,
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 -
Customer order number in CO-PA
Hello!
Does somebody know where I can see the rule for the derivation of the customer order number in CO-PA? As it is a standard characteristic I can not see the rule in transaction KEDR.
Our problem is... we use the typical third-party order process:
Customer order -> purchase requisition -> purchase order -> stock receipt (standard cost in CO-PA)
We use account based CO-PA.
Now we have the problem, that in the stock receipt there is no Customer order in Profitability Segment Number (CO-PA). But we have the customer order item and this leads to an error, not while booking the goods receipt, but later during foreign currency valuation. The error is that e.g. item number 10 is not a possible characteristic for order number "".
Now we tried to find out the cause. And we came to the conclusion that the problem is already generated when creating the customer order as here is already created the profitability segment number and in this special case the customer order is missing.
But, we have a company code, sales org etc. for Germany - here everything is fine. When I create a standard customer order the profitybility segment number is created with customer order number as well as when I create a third-party order. Now we copied the whole customizing to a new company code, sales org etc. for our company in Switzerland.
Now, when I create a standard customer order for this company code the profitability segment is created correctly with customer order number. Just in case I create a third-party order for this new company code the order number is missing in the profitybility segment.
Thanks in advanceHi,
Use COPA user exit COPA0001 to derive the batch numbers. Refer to SAP notes 70231 for further clarifications on this point.
If useful please award points as way of thaks.
Thanks
D.K.Lakshmi narayana -
Hi Gurus,
Using a Program for finding exits with transaction code. i found out that for Transaction KE26 there is an Exit Function Module:EXIT_SAPLKEII_002. And i have written codings . but when i tried to test it the exit is not triggered when i try to save my data in KE26 for Reposting Line Utems.
I have checked that the Exit is active and is assigned to a Project.
Or can u please tell me whether there is any Exit for KE26 by which i can change the Line items . My requirement is when i change line items in KE26 such as i have put NL G3 MARKET FIELD. then i clicked on Derivation and save. Now go to KE24 and check whether the data is in Q20 and not in F80. So basically i need a Exit where i can change the values.
Please help.
Regards
Abhishek Mohapatra.check below exits and put break point and check
COPA0001 Enhancement for derivation in Profitability Analysis (CO-PA)
COPA0002 Enhancement for valuation in Profitability Analysis (CO-PA)
COPA0003 Enhancement for assignment to profitability segment (CO-PA)
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) -
Exit for ke26 ....
Hi Gurus,
Using a Program for finding exits with transaction code. i found out that for Transaction KE26 there is an Exit Function Module:EXIT_SAPLKEII_002. And i have written codings . but when i tried to test it the exit is not triggered when i try to save my data in KE26 for Reposting Line Utems.
I have checked that the Exit is active and is assigned to a Project.
Please help.
Regards
Abhishek Mohapatra.Hi,
Following are the list of enhancements available for transaction KE26
COPA0001 Enhancement for derivation in Profitability Analysis (CO-PA)
COPA0002 Enhancement for valuation in Profitability Analysis (CO-PA)
COPA0003 Enhancement for assignment to profitability segment (CO-PA)
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)
Please go to smod and check the relevant enhancement for your requirement...
Hope this helps you
Regards
Sk
Maybe you are looking for
-
Hi Every one, I have an issue in one Oracle report developed in 10g. I am able to get pdf output in User Interface but not Excel output. so I have gone through other oracle report existing which have EXCEL output in UI. I have seen JAVA code as 'desf
-
11.5.10.2 (patch 3480000) upgrade space & time needed?
I am currently working on an upgrade to 11.5.10.2 from 11.5.9 and I ran into a out of disk space issue. I have cleared up some, but I was wondering how much more is needed? The current unpacked directory for 3480000 is 18GB and I have a total of 8GB
-
ITunes 6.0 and invalid billing address
I recently upgraded to iTunes 6.0. Now every time I try and purchase music iTunes tells me I have an invalid billing address. This is the same address I have been at for 5 years, and using for iTunes for 3. I tired the email support but just got the
-
Table for cost component in COPA
Hi All, I would like to know what is the table to get Cost component values of material in Product Costing like I have the material number and I want to know Cost estimate price of material against cost component rows? BR, Ankit
-
IS there a way to hack into someone iPad webcamera? and if there is can you get rid of it by yourself and not have to go into the store? Thank you sooo much!