Controlling line item table
Is there a controlling line item table?
Moderator: Please, respect the rules and search SDN before posting
Hi
You can also look at COVP and COSP and COEPR
Hope it helps
Regards
Dawn
Similar Messages
-
Update Profit Center Field in CO Line item tables
Hi,
We are working on ECC6.0 NewGL with Real-time CO-FI integration for Cross Company Code and Cross Pofit Center.
For those CO internal documents (like activity confirmation at production order) where there is no cross company code or cross profit center postings, no FI document is generated and hence table FAGLFLEXA is not updated. So, we wanted to take data from CO table COEP / COVP for these internal CO documents. However, there is no Profit Center field in CO line item tables COEP / COVP. We don't want to refer to Object Number (OBJNR) of COEP / COVP tables and take profit center from master table of cost centers, IOs etc..,as Profit center in the cost center, IO masters may get changed latter.
I tried to generate a new report through report painter from structure CCSS, but Profit center is not defined as Charactericts there. Hence of no use.
Can we append Profit Center field in CO line item tables COEP / COVP and update tatabase at the time of posting? Is there any risk?
Please suggest any other alternative...
Thanks,
BijayHi,
As per the standard process we can't derive PC from CO-internal Object...as per my knowledge.
Better you can derive from IO-CC master PC ....if your question that it will change frequently then -no control can make.
Regd,
Kha -
Hi,
Apart from CO line item table which is COEP, is there a table which is specific for cost center line items ?
Thanks for your responseHi ,
Checck for COEJ table apart from COEP which may help you.
Best Regards,
Abhisek -
SPL - Deactivating Line Item Table - Trx GCL3
Hi.....
We currently have SPL ledger line item table activated.
That table is getting rather large and therefore increasingly costly in terms of performance and database cost.
We believe it is not strictly necessary given that we have FIGL account line item tables to support the audit trail.
In terms of deactivating - is it merely deselecting in Trx GCL3? Are there any implications?
Thanks in advance....Hi,
Yes. You just need to uncheck the checkbox 'Write Line Items' in transaction code GCL2. -
CO-PA extractor not showing certain characteristics from line item table
When I create a Cost Based CO-PA extractor in KEB0, I do not see all the characteristics from the line item table CE1XXXX for selection. For eg.COPA_BWZPT.As far as I am aware of, there are no settings to make characteristics show up in the extractor. What determines whether a characteristic from CE1XXXX shows up in the extractor or not? Any inputs would be appreciated
did you check other copa tables?
-
Control Line Items of table in Smartforms
Hi,
Please help me out for following problem which I am facing in smartforms.
Scenario u2013 I am trying to print Bank Payment voucher, In this I am passing two internal tables from my driver program, One internal table is for header details and other internal table for Line item details.
I am Looping for header details and under the templates, I am populating header data into itu2019s appropriate places, for line item details, I am using Table and able to populate line item details, Now say my line item should print only 5 line items in one page and if there are more than 5 line items , it should print next line items on next page. when new page will start it should print header details and footer details also,
In last last row, I have put the program code where I am counting the number of line items, and below that i have put 'Command' and in command condition, I have stated that if linecnt > 5 , go to next page%2 and in page 2, I have again copied the header details but , it is not working,
In short the Flow of Smartforms is given below.
Loop (For Header details)
Template
Template
Template
Table (For Printing Line Item Details)
(row 1
row 2
program line (Whre I am counting Number of Line items
Command (Go to next page is activated )
Template ( For Printing the footer details
Page%2
Template
Template
Template
Looking out for your valuable help .
Thanks and Regards
RaniAnd one thing more that line count may not be increasing. ..... so try to send the flag of page triggring from ur driver program.
as i have done here.
* Page Break after 21 Records means
count_rec = 1.
loop at it2_all_outlet_sale into wa_it2_all_outlet_sale.
count_loop = sy-tabix.
if count_rec = 21.
wa_it2_all_outlet_sale-zyear = '9998'.
modify it2_all_outlet_sale from wa_it2_all_outlet_sale index count_loop.
clear: count_rec.
endif.
add: 1 to count_rec.
endloop.
describe table it2_all_outlet_sale lines count_rec.
" This part of code for not page triggering after last 21 records
read table it2_all_outlet_sale into wa_it2_all_outlet_sale index count_rec.
if sy-subrc = 0.
count_loop = sy-tabix.
if wa_it2_all_outlet_sale-zyear = '9998'.
wa_it2_all_outlet_sale-zyear = '9999'.
modify it2_all_outlet_sale from wa_it2_all_outlet_sale index sy-tabix.
endif.
endif. -
Transaction KSB1(cost line items) - Tables or FM's to get data?
Hi,
For a current report, I need to obtain the data stored in transaction KSB1 - Actual Cost Line items for cost centers.
What tables contain this data? Are there any standard function modules available to obtain the data?
Please help.
Thanks,
JohnThe following content from SAP help file may help you.
Use
You can use Report Painter reports and line item reports from the Cost Center Accounting (CO-OM-CCA) and Internal Orders components (CO-OM-OPA) to evaluate archives. Generally, the following reports can read the relevant data from any archive:
· All Report Painter reports for table CCSS
· The actual line item report for internal orders
· The actual line item report for cost centers
· Document display
The SAP system includes a variety of report and archiving object .combinations. The standard system thus provides only a limited number of reports for given archiving objects. However, it is also possible to execute other reports for an archiving object.
Actions
Reading Report Painter Reports from the Archive via the Component
1. To execute a Report Painter report, choose Information system ®Report selection in the given component and select the desired report.
2. On the report selection screen, choose Data source.
3. On the following dialog box, select Read from archive and choose Continue.
4. On the following dialog box, enter the object from which you want to read the archived data.
Choose F4 Help to obtain a list of the archiving objects to which the report applies.
5. Choose Archive selection to determine the archive files for the report.
6. As in the standard transaction, you can start the report online or in a background job.
Reading Line Item Reports and Documents from the Archive via the Component
1. To execute a line item report or document display, choose Information system ® Report selection in the given component and select the desired line item report or document display.
2. On the report selection screen, choose Extras ® Data source.
3. On the following dialog box, select Archive as the data source.
4. On the following dialog box, enter the object from which you want to read the archived data.
Choose F4 Help to obtain a list of the archiving objects to which the report applies.
5. Choose Archive selection to determine the archive files for the report.
6. As in the standard transaction, you can start the report online or in a background job.
As it is often unnecessary to enter further selection criteria when reading data from an archive, you can enter an asterisk (*) under Cost center and Order where required.
Reading Reports from Archive Administration from the Archive (SARA Transaction)
1. Under Object name, enter the archiving object (such as CO_COSTCTR) and choose Evaluate.
Choose F4 Help for the Read program field to list all the reports for the archiving object.
2. Choose and execute the required report.
3. Branch from the selection screen to the data source selection:
a) For Report Painter reports, choose Data source.
b) For line item reports or for document display, choose Extras ®Data source.
4. The archiving object is already defaulted. Choose Archive selection to determine the archive files for the report.
5. As in the standard transaction, you can start the report online or in a background job.
Assigning Reports to Archiving Objects
The SAP system stores the report assignments to the archiving objects. The assignment controls which objects appear in the F4 Help for the data sources and which reports appear for the read programs in archive administration.
A warning message appears if you choose an archiving object that is not assigned the relevant report or a report that is not assigned the relevant archiving object. You can ignore this warning message. You can execute the report if you wish, but you must bear in mind that incomplete data will be the result.
To view the assignments in the standard SAP system, see the ARCH_REPOW table.
Importing Standard Assignments
The ARCH_REPOW table is a Customizing table that also allows user-defined assignments. Standard assignments are provided therefore in client 000 only. You cannot use reports in other clients for reading data from the archive.
1. To import standard assignments to other clients, go to the SAP initial screen, choose Tools ® ABAP Workbench ®ABAP Editor, and enter and execute program ARCH_REPOW_IMPORT.
2. Enter CO_* as the archiving object.
3. Accept the default settings in the other fields (source client 000, report type RW).
4. Choose Execute.
Creating Custom Assignments
In principle, you can read data from given archiving objects even if the standard SAP system does not have the relevant combination of report and archiving object.
· For Report Painter reports, the prerequisites are:
- The report applies to table CCSS
- The archiving object includes table COSP or COSS
Tables COSP and COSS may also appear in the archiving object definitions as COSPA and COSSA.
Of course, you may also use custom reports to read archiving object data.
· For line item reports, table COEP must be part of the archiving object. Table COEP may also appear in the archiving object definition as view COVP or COVPxy (where u201Cxu201D and u201Cyu201D stand for numerals).
If you want to work with previously unsupported assignments, enter these in table ARCH_REPOW in order to avoid confusion among end-users. In addition, you can include documentation justifying the use of the corresponding report for your own archive reading runs.
To enter a new assignment:
1. Start system transaction SM30.
2. Enter table ARCH_REPOW.
3. ChooseMaintain.
4. Choose New entries to enter the new assignments.
Make the following entries:
a) Under Object name, enter the name of the archiving object.
b) Under Report type, enter:
RW for Report Painter reports
TR for line item reports
c) Under Program name, enter:
The name of the report group for Report Painter reports
KSB1 for the actual line item report for cost centers
KOB1 for the actual line item report for internal orders
KSB5 for document display
d) Leave the Activate archive selection field empty.
Standard Contents of Table ARCH_REPOW
Report
Program Name
Report Type
Object Name
Cost Center Actual Line Items
KSB1
TR
CO_ALLO_ST
CO Documents, Actual Costs
KSB5
TR
CO_ALLO_ST
Cost Center Actual Line Items
KSB1
TR
CO_CCTR_EP
CO Documents, Actual Costs
KSB5
TR
CO_CCTR_EP
Area: Cost elements
1AIP
RW
CO_CCTR_ID
Area: Statistical key figures
1SKL
RW
CO_CCTR_ID
Cost centers: Drilldown by Partner
1SHK
RW
CO_CCTR_ID
Cost centers: Actual/plan variance
1SIP
RW
CO_CCTR_ID
Area: Cost Centers
1KSL
RW
CO_CCTR_ID
Area: Activity types
1SLB
RW
CO_CCTR_ID
Cost Centers: Period Breakdown Actual/Plan
1SMA
RW
CO_CCTR_ID
Cost Center Actual Line Items
KSB1
TR
CO_CCTR_ID
CO Documents, Actual Costs
KSB5
TR
CO_CCTR_ID
Area: Cost elements
1AIP
RW
CO_CCTR_PL
Area: Statistical key figures
1KSL
RW
CO_CCTR_PL
Cost centers: Drilldown by Partner
1SHK
RW
CO_CCTR_PL
Cost centers: Actual/plan variance
1SIP
RW
CO_CCTR_PL
Area: Cost Centers
1SKL
RW
CO_CCTR_PL
Area: Activity types
1SLB
RW
CO_CCTR_PL
Cost Centers: Period Breakdown Actual/Plan
1SMA
RW
CO_CCTR_PL
Area: Cost elements
1AIP
RW
CO_COSTCTR
Area: Statistical key figures
1KSL
RW
CO_COSTCTR
Cost centers: Drilldown by Partner
1SHK
RW
CO_COSTCTR
Cost centers: Actual/plan variance
1SIP
RW
CO_COSTCTR
Area: Cost Centers
1SKL
RW
CO_COSTCTR
Area: Activity types
1SLB
RW
CO_COSTCTR
Cost Centers: Period Breakdown Actual/Plan
1SMA
RW
CO_COSTCTR
Cost Center Actual Line Items
KSB1
TR
CO_COSTCTR
CO Documents, Actual Costs
KSB5
TR
CO_COSTCTR
Order Actual Line Items
KOB1
TR
CO_ITEM
Cost Center Actual Line Items
KSB1
TR
CO_ITEM
CO Documents, Actual Costs
KSB5
TR
CO_ITEM
CO Documents, Actual Costs
KSB5
TR
CO_KSTRG
List: Orders
6L00
RW
CO_ORDER
List: Cost elements
6M00
RW
CO_ORDER
Order: Actual/plan variance
6O00
RW
CO_ORDER
Order: Drilldown by Partner
6O08
RW
CO_ORDER
Order: Drilldown by Period
6Z02
RW
CO_ORDER
Order Actual Line Items
KOB1
TR
CO_ORDER
CO Documents, Actual Costs
KSB5
TR
CO_ORDER -
Copy control line item to sub item condtion gets removed
Hi All,
there is an problem happening when I create return order in CRM. when I try to create a sub line item from main item the sub item gets created with diffrent condition type. I check copy control setting all looks fine but while debugging I check that this is happening due to price zone field value in CRM which is coming as zero . When its get compare with ECC which is 008 at run time re-price happen when this condition gets fail.
I need to know how come I will be able to see the setting of prize zone and incase it needs to download from ECC with which object I can perform the load.
find my analysis below.
Price zone is there in CRMD_PRICING_I table
Setting define item category determination when copying defined
item cateogry mapped in Pricing option Assign copy type
Active pricing for item categories all seems correct except pricing indicator
ThanksHi,
Can you check few more things and tell me?
- In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
- In Sales order creation time, do these table have VBELN populated when this exit triggers.
- If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
Try this code. See if it works. Let me know if you still have a problem.
DATA: wa_hvbpa LIKE vbpa,
wa_xvbpa like vbpa.
CLEAR: wa_hvbpa, wa_xvbpa.
* check if HVBAP and VBAP line items are not same
IF vbap-posnr <> hvbap-posnr.
* read the ****-to partner from main-item
READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
parvw = 'WE'.
IF sy-subrc = 0.
* read the line item data for sub-item based on main item
READ TABLE xvbap WITH KEY posnr = vbap-posnr
uepos = hvbap-posnr.
* See if current line is the child of that BoM parent
IF sy-subrc = 0.
MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
MOVE xvbap-posnr TO wa_xvbpa-posnr.
MOVE 'WE' TO wa_xvbpa-parvw.
MODIFY vbpa FROM wa_xvbpa.
ENDIF.
ENDIF.
ENDIF.
Regards,
RS -
Hi Gurus,
In which table we can find the customer line items.
Thanks in advanceHI,
Table
BSID- customer open line items
BSAD- customer cleared line items
Regards,
Kiran -
Hi,
I have two facing two problem when using BADI.
1 - When I use BADI "FI80A001' and function EXIT_SAPF048_001'. How can I find that this function call by F-53 transaction code in runtime. In sy-tcode field appear FBZ2 instead of F-53.
2- When F-53 tcode using for outgoing payment. Correct me if I am wrong that BSIK table have liabilities of Vendor and these liabilities paid by company to vendor than sum of these payment append in BSIS table but line items in BSIK deleted. I want to about table of paid line item record.
Thanks
Tayab ShahHi syed Tayab Shah,
Don't worry about SY-Tcode...
Might be internally T-code F-53 is calling FBZ2...
BSAK Accounting: Secondary Index for Vendors (Cleared Items)
BSIK Accounting: Secondary Index for Vendors
BSIK-BUZEI ==> Line Item
BSAK-BUZEI ==> Line item
Might be (As per Ur requirement) U have to fetch the date from both these tables and appened it to a single internal table...
BSIS Accounting: Secondary Index for G/L Accounts
stores sum from this both tables...
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7 -
Enhancing the FAGLFLEXA(General Ledger: Actual Line Items) table
Hi All,
I am trying to add Material Number (MATNR) to the table FAGLFLEXA(General Ledger: Actual Line Items)
For this i have added Material number in the include CI_FAGLFLEX04 of the table FAGLFLEXA.
But still material numbers are not appeared in the table FAGLFLEXA.Material number exist in the structure COBL - Coding Block,i believe SAP standard programs has to pick up material number from coding block to FAGLFLEXA table.
Please advise me if anyone enhanced this table .
Regards
L AppanaHi Appana,
I also want to add MATNR to FAGLFLEXA. Can i know how did you go about creating new segment to flow MATNR in FAGLFLEXA?
Somar
Edited by: Somar on Mar 6, 2009 10:37 PM -
Validation for first line item ( table )
Dear Friends,
i have table with multiple line items, i want to validate first line item only, if first line item is initial, it should throw an error message, could any one pls help me with an example
Thanks
Vijaya
Col1
Col2
Col3Hi Vijaya,
Method get_static_attributes_table of interface if_wd_context_node will return a table of context elements. You can then either read the first row of that table or loop through it to validate the table's data and issue messages as needed. For example...
data lo_nd_ctx_node type ref to if_wd_context_node.
data lt_attributes_table type wd_this->elements_ctx_node.
lo_nd_ctx_node = wd_context->get_child_node( name = wd_this->wdctx_ctx_node ).
lo_nd_ctx_node->get_static_attributes_table( importing table = lt_attributes_table ).
If the row to be validated happens to be the table's lead selection, you can fetch attributes of the lead selection row directly, and again validate and issue messages as needed...
data lo_nd_ctx_node type ref to if_wd_context_node.
data lo_el_ctx_element type ref to if_wd_context_element.
data ls_attributes type wd_this->element_ctx_node.
lo_nd_ctx_node = wd_context->get_child_node( name = wd_this->wdctx_ctx_node ).
lo_el_ctx_element = lo_nd_ctx_node->get_element( ).
lo_el_ctx_element->get_static_attributes( importing static_attributes = ls_attributes ).
Both of these code patterns to read context data are available through the Web Dynpro Code Wizard.
Cheers,
Amy -
Hi dears,
can upls let me know some one which tables will update when we activate line item check box in master record.
ThanksDear,
You can use table SKB1. This will give you all details for GL CoCode master.
Additional Information.
SKA1 - GL Chart of Accounts segment
SKB1 - GL CoCode segment
LFA1 - General Information for Vendor.
LFB1 - CoCode info for Vendor
KNA1 - General Information for Customer.
KNB1 - CoCode info for Customer.
Regards,
Chintan Joshi. -
PO line item table EKPO-TECHS?
Dear Gurus,
Kindly inform me what is this EKPO-TECHS (Parameter Variant/Standard Variant) field?
The F1 doucmentaion does not explain the business process how it is used.
Also, where can we find this field in PO line item detail (ME21n)?
We have Zero entries in this field and we want to use this field for some other purpose.
Kindly share your inputs.
Thanks & Best Regards,
MohanHi,
As far as I could research this field (TECHS) has to do with PP and could lead to problem in the BOMs if it is not filled. Please read note 791750 with this information.
I hope this helps!.
Best Regards,
Arminda -
Working with the line item table in CAF application service
Hello SDNs,
I am trying to retrive a value from the Nested list of one of my application service.
for example, suppose i have 2 operations in a application service, 1, calls the BAPI_PO_GETDETAIL1 based on the PO number given it returns the POItem, POServices tables.
2, operation accepts itemno and PO number as a input, and inside calls the 1st operation and wants deal with the POItem and POServices tables which of type standard BAPI classes nested under the main structure created in application service.
For example, i want to compare the item number given as input with the item numbers in the Item table, which is a output of 1st operation .
How to get the itemnumber from the POItem table, as this is a nested structure under POOut(defined in AS level) and how to compare this.
i have written the code as follows but it is returning the error. Can any look into this and suggest me.
public com.xxx.demo.goodsnserviceack.types.POProcessOut getPOServices(@javax.jws.WebParam(name="PONumber")
* java.lang.String PONumber, @javax.jws.WebParam(name="POItem")*
* java.lang.String POItem) {*
// POProcessOut is a output node of current operation
* POProcessOut PPO= new POProcessOut();*
//POHeader details is the nested structure under POProcessOut
* POHeaderdetails header=new POHeaderdetails();*
//POOutDetails is the output structure of 1st operation
* POOutDetails pt=new POOutDetails();*
* try{
//calling the first operation *
* pt= executeBAPIPOGetDetail(PONumber,"X","X");*
* //setting header details*
* header.setPO_NUMBER(pt.getPOHeader().getPO_NUMBER());*
* header.setVendor(pt.getPOHeader().getVENDOR());*
* header.setCOMP_CODE(pt.getPOHeader().getCOMP_CODE());*
* header.setSTATUS(pt.getPOHeader().getSTATUS());*
* PPO.setPOHeaderdetails(header);*
* //comparing the POItem number from POItem table and input of current operation
List<BAPIMEPOITEM> itemlist= pt.getPOItem();*
* while(itemlist.isEmpty()==false){*
* String itemnum= itemlist.get(0).getPO_ITEM();*
* if(itemnum.equals(POItem))*
* PPO.setItemno(itemnum);*
* catch(CAFServiceException e){*
* e.printStackTrace();*
* return PPO;*
Your inputs will be appreciated.
Thanks,
Sireesha.Have you accessed the external webservice in this way:
EJBLocalHome localHome = HomeFactory.getInstance().getLocalHome("localejbs/sap.com/comptest/ACCRJAVAWSVI__DOCUMENT");
Method m = localHome.getClass().getMethod("create", new Class[]{});
ACCRJAVAWSVI__DOCUMENTLocal srv = (ACCRJAVAWSVI__DOCUMENTLocal)m.invoke(localHome, new Object[] {});
srv.validateLogin(input) ;
Aliaksei
Maybe you are looking for
-
Long story short, my one year old disabled my iphone5 and I need to "connect to itunes" as the screen instructs. I went through the steps and it says that I will be doing a factory reset and I will lose everything. Is there any way to get my phone op
-
My computer died. Can I get the music on my ipod on to my new computer?
-
Pages won't open document after installing update.
I made a Pages document on my iPad and emailed it (I know, I know) to myself and attempted to open it on my Mac (Lion). I got a message I needed a newer version of Pages. I went to the app store and downloaded the update. Since Pages was open, i g
-
Magic Mouse problems on Lion...
I just finished installing Lion and my first impression is that I hate it! I'm having the following issues (of which help would be greatly appreciated...) 1. With Magic Mouse I can no longer do a 2-finger swipe to go back/forward on Safari or Chrome.
-
Cannot open files produced by dimage scan multi-pro
I have a Minolta dimage multi-pro which I used to be able to launch from cs2. The XP died. I got another, reinstalled the scanner and cs2. When I first did this, I could launch the scanner from cs2 (could from the old xp) There is some trick to b