COEP table - settlement
Hello,
Does anyone know if it's possible when you do KO8G to settle the orders that we can have one line per employee settle to the receiver - instead of rolling up into one line item?
Example: In COEP table we have the details for the costs on a PM order by pernr # (BTran RKL)
Pernr #11227 3 HR $54.00
Pernr #12356 15.5 HR $354.95
Pernr #12451 8 HR $258.00
Right now when we settle this PM order in the COEP table you have one entry for the settlement - a credit of $666.95. So if I look at CJI3 for the project I'll see this one line entry.
There is a user exit (EXIT_SAPLKAEP_001) where we can add user defined fields to the CO line item report. So on CJI3 I can bring over the pernr number - but it only brings over one.
Can I have the settlement show as follows in the COEP table?
BTran KOAL -54.00 3 HR pernr 11227
BTran KOAL -354.95 15.5 HR pernr 12356
BTran KOAL -258.00 8 HR pernr 12451
So when we look at CJI3 we would see exactly how many hours and what the total cost was by pernr?
Please advise if you know of such a way.
Regards,
Karla
Hello,
Does anyone know if it's possible when you do KO8G to settle the orders that we can have one line per employee settle to the receiver - instead of rolling up into one line item?
Example: In COEP table we have the details for the costs on a PM order by pernr # (BTran RKL)
Pernr #11227 3 HR $54.00
Pernr #12356 15.5 HR $354.95
Pernr #12451 8 HR $258.00
Right now when we settle this PM order in the COEP table you have one entry for the settlement - a credit of $666.95. So if I look at CJI3 for the project I'll see this one line entry.
There is a user exit (EXIT_SAPLKAEP_001) where we can add user defined fields to the CO line item report. So on CJI3 I can bring over the pernr number - but it only brings over one.
Can I have the settlement show as follows in the COEP table?
BTran KOAL -54.00 3 HR pernr 11227
BTran KOAL -354.95 15.5 HR pernr 12356
BTran KOAL -258.00 8 HR pernr 12451
So when we look at CJI3 we would see exactly how many hours and what the total cost was by pernr?
Please advise if you know of such a way.
Regards,
Karla
Similar Messages
-
Line item for header material not updating in COEP table
Hi all,
from last few days, I found that when I do confirmation and GR for process order, system is updating all line ( i.e. components, activity types) but line for header material that is finished goods or semi finished goods is not updating in COEP table, I have done GR for order and transferred stock from quality too.
But still its not updating. What could be the reason for it .
Thanks
Vivek VarunHi Krishnendu,
Thanks for the reply , FI document is not getting generated.
What could be the reason for it, as before it was working fine.
Thanks
Vivek Varun -
Hi Experts,
I tried to display report Internal Order Actual Line Item (KOB1), but when i execute, it said " There is no actual line item".
Actually i have posted several line item for this Internal Order and I checked the FBL3n, I can see some posted line item to this Internal Order. I also checked from COEP table, the record is also missing there.
FYI, this issue happened today, and yesterday I can see actual line item in this report and COEP table.
Please kindly advise
Thank youBtw i can found the CO document in COBK table. Very strange..
-
Performance issue with COEP table in ECC 6
Hi,,
Any idea how to resonlve performance issue on COEP table in ECC6.0
We are not using COEP table right now. this table occupies 100gb of 900 gb in PRD system.
Can i directly archive/delete the table?
Regards
SivaHi Siva,
You cannot archive COEP table alone. It should be archived along with the respective archive object. Just deleting the table is not at all a good idea.
For finding out the appropriate archive object contributing to the entries in COEP, you need to perform CO table analysis using programs RARCCOA1 and RARCCOA2. For further informaton refer to SAP note 138688.
Hope this helps,
Naveen -
The "Aux. Account Assignment 1" field in COEP table appears as KSIN00011987
We are facing an issue with field "Aux. Account Assignment 1" in COEP table. When we display this field in our Z report it appears as "KSIN0001198763" (for example) where 1198763 is a cost center. Whereas; the same field for the same document when displayed in KOB1 appears as "CTR 1198763".
Can anyone share the logic of this formating in KOB1 so that the same can be used in our Z report please.
PS- There is no conversion routine at the filed level for "Aux. Account Assignment 1" in COEP table.Hi,
KSIN0001198763 would be the object number
KS - cost center
IN00 - should be your CO area
01198763 - the remaining nos should be your cost center
please check if i am correct
regards
Waman -
Dear All
In COEP table Value COCurr field how to calculate
Thanks and Regards
SureshHi,
well, what do you mean how to calculate? You do not need to calculate it yourself, the system does it without asking you. You cannot change the logic behind, at least not directly.
There are 3 fields in a line - beware the 2nd character in the field names:
wTgbtr = value in Transaction currency
wOgbtr = value in Object currency
wKgbtr = value in Controlling area (german Kostenrechnungskreis) currency.
The Transaction currency is the currency which is used for the original document. Assuming you are posting a vendor invoice in Japanese Yen JPY, this is the transaction currency then, WTGBTR = the value in JPY.
The Object currency is entered in the master record of the controlling object you are using, say, a cost centre. Let's say the cost centre has object currency EUR. If the company code has local currency EUR, then the EUR value from the FI document is just copied to WOGBTR. But if the company code has no EUR currency at all (say, company code currency is GBP), so there is no EUR amount in the FI document, only JPY and GBP. In this case, the conversion JPY to EUR (object currency) takes place in controlling only. Exchange rate type and date are specified in the fiscal-year specific version parameters for controlling, tranaction OKEVN or OKEQN. So WOGBTR becomes the converted EUR value then.
Finally, and this was your question, the controlling area currency was defined for the controlling area (not very surprisingly), in transaction OKKP Say, in this example in should be USD. Then the JPY value in transaction currency is translated to USD using the exchange rate type and date specified in OKEVN / OKEQN, and this will be insrted in WKGBTR.
To make it short:
document / transaction currency JPY --> COEP-WTGBTR
company code currency GBP --> not (necessarily) in CO
object (cost centre currency) EUR --> COEP-WOGBTR
controlling area currency USD --> COEP-WKGBTR
That should be clear now, if not please let me know.
Hope that helps, points welcome
Csaba -
COEP table query taking longer time
Hi ABAP guru's,
I have a problem with the performance of a Select query on table COEP(91 million records in QA),
i want to tune the program for better performance.
Presenlty it took nearly 6 hrs to execute the program in Background, if in foreground givig dump with
message for maximum time exceed.
the code which exists in the program is
SELECT WOGBTR OBJNR KSTAR OWAER PERIO FROM COEP
INTO TABLE T_COEP
WHERE KOKRS = P_KOKRS AND
OBJNR IN R_COSTCENTER AND
KSTAR IN R_COSTELEMENT AND
PERIO LE P_PERIO AND
GJAHR EQ G_YEAR.
I am in a support project and i need to fix this issue ASAP plz help me out in tuning the program.
I have seen some other posts in the forum for similar issues, the outcome of that is to use LEDNR = '00'.
I am not sure if this works for me or not.
I cant take chance of trail and error , as it has to move to QA untill i know the status of the change and it takes a minimum of week time.
Regards
Sunil kumarHi Experts,
I got a similiar issue, though I follow code specified above still the performance is slow. Please suggest what need to be done.
select dintinct objnr
uspob
INTO TABLE lt_srcc
FROM coep
WHERE kokrs EQ 'ESAM'
AND perio EQ p_period
AND lednr = gc_00
* AND objnr LIKE 'KSESAM%'
AND gjahr EQ p_fisyr
AND kstar LIKE '0000901%'
AND vrgng EQ 'RKIU'
AND uspob LIKE 'KSESAM%'
%_HINTS ORACLE 'INDEX("COEP" "COEP~1")'.
Thanks
Chandramouli -
Hi ,
I was looking at table COEP by objnr_n1 and kstar fields and found that it is taking almost 5 to 10mins to execute.
Is it the general case with this table or is it only with my sap system.
thx
RaghuYes it is you are using non primary key.. try to pass fiscal year and priod too .. you may get it bit faster.
thanks
mahesh -
FMBH , FMBL , FMBDT , COSP and COEP tables relations?
Hi Guys,
Can anybody tell me to which modules these tables belongs FMBH , FMBL , FMBDT , COSP and COEP?.I need to find the relation b/w these tables.
The requirement is ithat i have to download the Delta load (means daily i have to run the program so that it will get the records which are created or changed b/w last runned date and present run date)for all these tables based on their Date.Some don't have any create date or changed date.so i have to know the realtion b/w all these tables.Can any body tell me the Primary Key-Foreign key Relation b/w these tables?
Thanks,
Gopi.HI,
These Tables are used in FICO Module.
The Tables FMBH,FMBL,FMBDT are used in Funds Management for Budgets.
The Fields FM_AREA (Financial Management Area),DOCYEAR (Document Year),
DOCNR (Budget Entry Document Number) are same in FMBH & FMBL.Because FMBH is the Header for the Funds Management Budget & FMBL is the Item Level for the Funds Management Budget.
The Table FMBDT is the FM budget totals table.
The Field RPMAX(Period) is same in FMBL & FMBDT.This Table will contain the Budget Totals.
The Tables COSP & COEP is for Controlling Objects.
Regards,
Padmam. -
Hi,
When I am creating any material document, at that time one FI doc and it's corresponding controlling document is getting created. I want to do some modification in this Controlling document, Can anyone tell me the program name which I can access from BADI MB_DOCUMENT_BADI.
Thanks.
KuntalI guess the MB_DOCUMENT_UPDATE method should update all your tables. I remember working on this using the update task.
-
Settlements of internal orders: which table?
Hi All,
could anyone tell me in which table, the items of settlement (t.code KO88) for internal orders are stored?
ThanksHi,
the settlement result (CO document line items) as already explained in table COEP, the settlement rule / distribution rules in tables COBRA / COBRB.
best regards, Christian -
In which table may I find the settled values from the WO's settlement
Hello Expert,
Can anyone be so kind an let me know In which table may I find the value of settled costs from Work Order broken donwn into Settlement Receivers?
I have found the table COBRB where I'm able to see the settlement rules for the WO but where the values from settlement are stored?
Thank you in advance for valubale answers.
Regards:
Lukasz KurlitHello Kolla,
I was too quick with my last answer, still I have the problem with this relation between COBRB and COEP, let me clarify it again.
In WO I have manually modified the settlement rule that way that I settled costs split into two Cost Centers.
Both lines regarding settlement rules are visible in table COBRB.
Then I have found in COEP table that there are stored exact values regarding settlement for both Cost Centers, one value for one Cost Center but without any key shows which one refers to which Cost Center (I recognized it after values which were settled in different time and after modification of settlement rule)
What I need now is to find the relationship between COBRB and COEP that way that I will be able to know clearly (for reporting purpose) which line from COEP refers to which Cost Center recorded in COBRB.
Link via OBJNR gives me only both lines in COEP without knowledge which one is from which Cost Center, there is no such field which will indicate which Cost center is hidden behind the value.
I will be very appreciated for any hints how to find it.
Regards:
Lukasz Kurlit -
Function module to get the details from table COEP
hi all,
I have to select the data from COEP table based on OBJNR.i don't have any other key information.so i have to select the data based on OBJNR only.
can any one please tell me is there any function to get the data from this table.
Thanks.Hi
Try the fun module
K_CO_OBJECT_BALANCE_GET
see the sample select statement for COEP
clear cobrb_tab.
refresh cobrb_tab.
select objnr " Object No
rec_objnr1 " Ref Object No
bureg " Dostribution Rule
lfdnr " Sequence No
perbz " Settlement Rule
konty " Acct Assign Category
bukrs " Company Code
kostl " Cost Center
into table cobrb_tab
from cobrb
where kostl in rn_kostl.
sort cobrb_tab by objnr rec_objnr1.
delete adjacent duplicates from cobrb_tab comparing objnr.
Get the Settlement Costs from COEP Table
clear it_set_tab.
refresh it_set_tab.
if not cobrb_tab[] is initial.
select kokrs " Controlling Area
belnr " Acc Document
buzei " Line Item
perio " Period Block
wkgbtr " Value in CO Curr
lednr " Ledger No
objnr " Object No
gjahr " Fiscal Year
wrttp " Actuals
versn " Version
kstar " Cost Element
beknz " Dr/Cr Indicator
parob1 " Partner Object
into table it_set_tab
from coep
for all entries in cobrb_tab
where lednr = c_lednr and
wrttp = c_wrttp2 and
versn = c_versn and
gjahr = p_gjahr and
objnr = cobrb_tab-objnr and
parob1 = cobrb_tab-rec_objnr1 and
beknz in (c_o, c_a).
endif.
Reward points for useful Answers
Regards
Anji -
Dear All,
Please arrange the tables where the values of the overhead settlement stores ?
Regards
AnilkumarHi,
All CO actual figures posted by a document (no matter from which process they origin) are stored in COEP table.
Regards,
Eli -
Function module to get the details (WTGBTR) from table COEP
Hi all,
I have to select the data from COEP table based on OBJNR, KSTAR and KOKRS.I want WTGBTR from COEP Table.
Right now Iam using select query.But i want to use function module.
Can any one please tell me is there any function module to get WTGBTR from COEP table.
Thanks.This'll work:
SELECT objnr bukrs wtgbtr
INTO CORRESPONDING FIELDS OF TABLE gt_coep
FROM coep
WHERE lednr = '00' "<========
and kokrs = '1000'
AND kstar IN ('0000810001' , '0000830001')
AND objnr IN s_objnr
AND bukrs IN s_bukrs.
Rob
Maybe you are looking for
-
Why is my fan running more than usual? Seems like it is overworking.
-
Call library node - using a structure with dll
Hi folks. I was hoping to recieve some help or advice on solving this problem I am having in labview: Some background info - I am trying to use the 'call library node' to allow me to use a .dll to allow for control of a remote power supply over RS-23
-
Need Help! Ospprearm.exe not working with Windows 8 and Micorsoft Office 2013
I am running 64 bit win 8 and office 2013. I searched in my whole PC and I found Ospprearm.exe in this location C:\Program Files (x86)\Microsoft Office\Office15 That was the only place I found ospprearm.exe. When I opened it I got this error There
-
How can I stop Pages capitalising after i.e. or e.g.?
I do not want to turn automatic capitalisation off altogether, but I was wondering how I can make an exception for things like e.g., etc., i.e.?
-
JSP + internal java class
Hi, I have a small problem with my JSP, which is using an static internal class as a bean. The oc4j cannot find it. The code is working superb in the Tomcat, but not in the oc4j. The package can be found because the mother class of the internal class