Regarding tables coss and cosp
Hi Experts,
In table AUFK there is object number field against order and against that object number there are lot of entries in tables coss and cosp.
I need to know from which transaction these entries get updated and also can we come to know from these entries in tables coss & cosp, whether the order is newly entered or changed or any other operation happen on that order??
Thnx..
I can explain the costing frame work behind the Production order /Internal order.
For all the items and Item types (material, service, Employee, Variable items ) based on Production order/Internal order Objnr( Object number) Cost estimate number will be generated (KALNR) .
B Base Planning Object
E Internal Activity
F External Activity
L Subcontracting
M Material
N Service
P Process (Manual)
T Text Item
V Variable Item
then all the items will be posted against the OBJNR and KALNR.
Create the costing component for each item type using the function module
KKDI_OBJECTS_CREATE_FROM_RES
CL_COST_ESTIMATE is the class behind all the costings. for behind each item type different class will be there for costing. using cost estimate object all the Items will be inserted ( INSERT_COMPONENT method is responsible) .
after that calculation will happen using the calculate method of cl_cost_estimate ,then save_temporarily
finally cl_cost_estimate=>commit_all
Once it is commited then CKIS , COSP, COSS data will be updated from the items..
i hope it is very vague for you.
Similar Messages
-
Hello in which transactions do i get the data for tables COSS and COSP
Hello i have these two tables. i need to know which transactions correspond to them .thx
Hi Antish,
try with transactions KOAO & KOAP
Thanks,
Syf -
Controlling Business transaction field in COSS and COSP table
Hi all,
I am trying to understand the idea of the field business transaction in tables COSS and COSP (where as much as I understood are the line items in CO - please corect me if I am wrong). It seems logically that this field is connected somehow to the SAP transactions. Do you know where is this connection and how can I see it?
I need to know which SAP transactions will get business transaction COIN for example. If you have some documentaion or explanation of how this works, it will be very useful to me.
Thank you,
MariaHi Maria,
When you run settlement for internal orders using KO88, the records are saved into COSS table with the Business transaction KOAO.
Just for your understanding the meaning of the main CO tables:
- COEP: this is the CO document line items table (the one that is searched when you run, for example, KSB1 or KOB1 report transactions);
- COSS: this is the CO cost totals table for internal postings, that is, the postings done into CO module that is going to reflect on the same CO module;
- COSP: this is the CO cost totals table for external postings, that is, the postings done into any module that is going to reflect on CO module.
To complete what it had been explained: COIN means the postings done from any module to CO.
I hope it helps you.
Best Regards,
Daniel -
At what level are the records pooled in COSS and COSP Tables
Dear All,
I have a question for you. i wold like to know what is the criteria that is taken into consideration while arriving at the totals in the COSS and COSP Tables.
What are the fields that must be similar for some line items to be pooled and shown as a total record in COSS Or COSP Tables.
For Ex: If i have two records in COEP table, what are the fields that must be equall for them to be shown as one Record in COSS or COSP table.
Best Regards
Kumar.DCriteria for pooling in COSS/COSP is the following:-
Ledger
Object number
Fiscal Year
Value Type
Version
Cost Element
CO subkey
Bus.Transaction
Partner Object
Source Object
Dr/Cr indicator
Trans. Currency
Period block
should be same
Regards
Sach!n -
BAPI for COSS and COSP Table to Create and Update
Hi,
Is there a BAPI for COSS and COSP for creating and/or updating these tables?
Thankshi ,
u dont have any bapis for updatign specific tables
bapis are generally used for updating a transaction i mean number of tables
where is the use of the tables u can search bapis in transaction bapi
and where are the tables used i guess in fi/co so u can search under them
regards
afzal -
CJV4, WBS simulation version cost in COSS and COSP by cost element
Hi PS expert. (-:
IN PS When we freeze a simulation version with CJV4, (operative data to version), sap will create new object number in table VSCAUFV_CN for each network and VSPRPS_CN for each Wbs element related to the simulation Version.
In our environment, SAP will add record in COSS and COSP for the new object number for Network but NOT FOR THE WBS.
Is it standard to NOT record the cost in COSS and COSP for the simulation cost of the WBS (against the new object number?)
That mean we will able to see the simulation cost by cost element for network, but NOT FOR WBS element.
For the WBS, we only record the cost in RPSCO by cost category.
Is there a way to active (with an exit ..classu2026bapi) the recording of the cost of the WBS by simulation version in COSS and COSP
Thanks you very much for your help
Sophiehi sophie,
create separate network for each wbs in project. see if this can solve your issue.
vengaiah chowdary -
Regarding Table DRAD and DRAW.
Hi
I want to understand the structure and relationship between DRAD and DRAW table. And what is the object key actually in DRAD table represents.Hello,
DRAW is the DocumentInfoRecord header table and the DRAD stores the object links to the DocumentInfoRecord viz., ChangeNumber, Material, DocuumentInfoRecord, Vendor and so on....
Object key is the key of the object link.
for example <MATNR> - Material Number in case the object link is Material,
<DOKAR><DOKNR><DOKVR><DOKTL> - Keys of the DocumentInfoRecord
Hope this helps.
Best Regards, Murugesh AS -
Regarding tables REGUH and REGUP
Hi All,
I want to update the tables REGUH and REGUP.Please let me know how to get it done.
Thanks,
SavithaYou van use UPDATE statement with LUW concept.
generally SAP tables can be updated with BDC or other data input methods,
thanks
Chetan Shah -
Problem in retrieve data in COSS and COSP from PBS using FM /pbs/select_in
hi all i have problem in retrieving data from COSP and COSS tables from PBS using FM /pbs/select_into_table in this FM i couldn't find the tables if any body knows pls reply back with the Archiving object to be use and parameters to be used.
That are controlling tables-
Have you installed PBS for Controlling ?
try http://www.pbs-bensheim.de/
A. -
Help regarding 'table controls' and 'internal table' updation
Hi all.
Basically this is what i have done..... I have created a table control in module pool program. I declared an Internal table and also have populated it from a database table. I have also used insert statement to insert an blank record in the table control view and delete statements to delete any record, also in the table control view... .
But I am not able to update any new record into an Internal table or the original table ..
Any Ideas how to do it ,Gurus
ThanksHEllo,
Check thsi simple report.
REPORT ZTFH_TABLECONTROL .
TABLES : ZEMPTABLE.
DATA : SELLINE .
DATA : FLD(20).
DATA : LINNO TYPE I , OFF TYPE I.
DATA : ITAB LIKE ZEMPTABLE OCCURS 10 WITH HEADER LINE.
CONTROLS : CON_TAB TYPE TABLEVIEW USING SCREEN 100.
SELECT * FROM ZEMPTABLE INTO TABLE ITAB.
DESCRIBE TABLE ITAB LINES CON_TAB-LINES.
CALL SCREEN 100.
*& Module EXT_COMM INPUT
* text
MODULE EXT_COMM INPUT.
LEAVE PROGRAM.
ENDMODULE. " EXT_COMM INPUT
*& Module TAB_UPDATE INPUT
* text
MODULE TAB_UPDATE INPUT.
CASE SY-UCOMM.
WHEN 'DEL'.
IF SELLINE = 'X'.
DELETE ITAB WHERE EMPNO = ITAB-EMPNO.
MESSAGE I000(ZYF_DEL).
ENDIF.
WHEN 'UPD'.
IF SELLINE = 'X'.
MODIFY ITAB INDEX CON_TAB-CURRENT_LINE.
MESSAGE I001(ZYF_DEL).
ENDIF.
WHEN 'INS'.
IF SELLINE = 'X'.
GET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
SET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
IF FLD CP 'ITAB*' AND SY-SUBRC = 0.
IF LINNO >= 1.
LINNO = LINNO + CON_TAB-TOP_LINE - 1.
CLEAR ITAB.
INSERT ITAB INDEX LINNO.
CON_TAB-LINES = CON_TAB-LINES + 1.
ELSE.
CLEAR ITAB.
APPEND ITAB.
CON_TAB-LINES = CON_TAB-LINES + 1.
ENDIF.
ENDIF.
ENDIF.
WHEN 'SAV'.
MODIFY ITAB INDEX CON_TAB-CURRENT_LINE.
MESSAGE I002(ZYF_DEL).
ENDCASE.
ENDMODULE. " TAB_UPDATE INPUT
FLOW LOGIC
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
LOOP AT ITAB WITH CONTROL CON_TAB.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
MODULE EXT_COMM AT EXIT-COMMAND.
LOOP AT ITAB.
MODULE TAB_UPDATE.
ENDLOOP.
REgards,
Vasanth -
Table name and field name for voucher no
I have to create an output type for credit voucher. so i need information regarding table name and field name where voucher no is stored. it is urgent
When you create a credit memo, this gets posted to the customer account as a line item. You could use BSID table to read the data from there.
-
Logic regarding EVENTS OnFilter and OnLeadSelect for table ui element
provide me logic regarding EVENTS OnFilter and OnLeadSelect for table ui element for webdynpro abap application.
OnLeadSelect - What kind of logic do you want? There are many different things that you could do inthe OnLeadSelect
onFilter- Generally you use IF_WD_TABLE_METHOD_HNDL~APPLY_FILTER to perform the filter operation.
In the onFilter itself you probably just have one line of code:
wd_this->table_method_hndl->apply_filter( ).
In your WDDOMODIFYVIEW you probably have this code to capture the table_method_hndl object:
if first_time = abap_true.
* Get reference of the table view element
l_table ?= view->get_element( 'TABLE' ).
* Get reference to the Filter & Sorting API
wd_this->table_method_hndl ?= l_table->_method_handler.
endif. -
Performance problem with table COSS...
Hi
Anyone encountered performance problem with these table : COSS, COSB, COEP
Best Regards>
gsana sana wrote:
> Hi Guru's
>
> this is the select Query which is taking much time in Production. so please help me to improve the preformance with BSEG.
>
> this is my select query:
>
> select bukrs
> belnr
> gjahr
> bschl
> koart
> umskz
> shkzg
> dmbtr
> ktosl
> zuonr
> sgtxt
> kunnr
> from bseg
> into table gt_bseg1
> for all entries in gt_bkpf
> where bukrs eq p_bukrs
> and belnr eq gt_bkpf-belnr
> and gjahr eq p_gjahr
> and buzei in gr_buzei
> and bschl eq '40'
> and ktosl ne 'BSP'.
>
> UR's
> GSANA
Hi,
This is what I know and please if any expert think its incorrect, please do correct me.
BSEG is a cluster table with BUKRS, BELNR, GJAHR and BUZEI as the key whereas other key will be stored in database as raw data thus SAP apps will need to convert that raw data first if we are using other keys in where condition. Hence, I suggest to use up to buzei in the where condition and filter other condition in internal table level like using Delete statement. Hope its help.
Regards,
Abraham -
Create entry in Internal Posting table COSS
Hi All,
I want to create an entry in table COSS..
Please help me...
Thnx
RohitYou can enter data Programatically but it is not a correct approach.
Create a Table maintenance Generator to for table COSS to make an Entry.
follow below steps
1) go to se11 check table maintanance check box under
attributes tab
2) utilities-table maintanance Generator->
create function group and assign it under
function group input box.
also assign authorization group default &NC& .
3)
select standard recording routine radio in table
table mainitainence generator to move table
contents to quality and production by assigning
it to request.
4) select maintaience type as single step.
5) maintainence screen as system generated numbers
this dialog box appears when you click on create
button
6) save and activate table
OR.
Check Tcode for the COSS table and Use BDC.
Regards,
Gurpreet -
Key fields in tables ce31000 and ce41000
In transaction KE11 ( change sales and profit plan ), tables CE31000 and CE41000 are used. I have to read those tables in a report but I cannot find the relevant keys to find unique records. There are some fields I know, but using those fields I get about 300 records where I only should have one. I guess I should use another table which has the link to the other tables, but I have no idea which. Does anybody have a clue ?
As far as I remember there are 4 tables per operating concern, CE1xxxx for tha actuals, CE2xxxx for the planning, CE3xxxx for the summary lines and CE4xxxx for the objects.
Depending on the defined characteristics there is one PAOBJNR in CE4xxxx for each existing combination. In CE3xxxx you should also find this PAOBJNR. At the moment I have no access to a SAP with COPA, but I hope, this helps you a little bit for the further search.
Best regards
André
Maybe you are looking for
-
Making a book in iBook Author is very easy, but...
When Apple launched iBooks Author I was very happy with the simple way in which you can make your own book. In my book there are about 500 photos, 44 movies and it contents 150 pages. Now, several months later, I am very disappointed because it is im
-
Report Builder 9.0.4 and Terminal Server 2003
Is anyone running this config? I'm getting intermittent crashes, and wondering if anyone else has seen the same. We are primarily using Report Builder for non-English reports, but the server's base language is English. Prior to launching Builder, we
-
I am using Windows XP on a Toshiba laptop. In IE I can right click on a site and a pop up window offers an option to place a shot cut to the site on the desk top. Can I do this in Firefox and, if so, how?
-
Possible to change colors of mouse cursor?
I was wondering if it was possible to change the color of the mouse cursor. With out the use of a program/haxie. Is there a particular file/preference I can edit, some command line for teminal? Thanks in advance nerd2
-
What do the DB_BLOCK_GETS and CONSISTENT_GETS means?
what do the DB_BLOCK_GETS and CONSISTENT_GETS means?