Count of no of line items in the report
Hi All,
I have the following reporting requirement.Can anybody please provide me the solution.
Data in the cube
User id Accounting Doc No Lineitem Amount
abc1 10001 001 100
abc1 10001 002 100
abc1 10001 003 100
abc2 10002 001 1000
abc2 10002 002 1100
abc1 10003 001 100
Requirement:
The report output shuold look like this
User id No of Accounting Docs Total no of Lineitem count Amount
abc1 2 4 400
abc2 1 2 2100
I got the count of No of accounting documents.For lineietms I am unable to Get the count.
The system is version BI7.0
Thanks for your time.
Srinivas
Hi Srenevas,
Check out the following document. This might help you.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
regards,
Rakesh
Similar Messages
-
How to Count Number of completed line items in past 6 months / 12 months ?
How to Count Number of completed line items in past 6 months / 12 months ?
Hi,
I am trying to count "Number of Completed Line Items in Purchase Order Document" for my Key Figure ZPO_CNT.
Purchase Order document = ZEBELN
Line Item = ZEBELP.
I need to find and count if the Line Item has been received in the past 6 months from today and similarly in the past 12 months.
I have "Delivery Completed" field, ELIKZ.
So, based on this would I be able to calculate it in Query Designer?
If so, Please let me know howHello Deva
If youe want to calculate the completed line item for last 6 or 12 month then i think u will be displaying the query data for these montrhs...create a customer exit to give you date range and restric it in filter area....
Now Choose any of the below option
1. I would suggest to implement an additional key figure "counter" in cube and fill values with one for which delivery is completed.
Now use calculated key figure in Query Designer based on logic
IF counter = 1 THEN counter ELSE 0
OR
2. create a formula variable based on ELIKZ and use replacement path variable, it will display you no. of docs for which delivery is completed....
Award points if it solves your problem
Revert back in case of further assistance...
Thanks
Tripple k -
Please let me know how to Count Number of completed line items in past 6 mo
How to Count Number of completed line items in past 6 months / 12 months ?
Hi,
I am trying to count "Number of Completed Line Items in Purchase Order Document" for my Key Figure ZPO_CNT.
Purchase Order document = ZEBELN
Line Item = ZEBELP.
I need to find and count if the Line Item has been received in the past 6 months from today and similarly in the past 12 months.
I have "Delivery Completed" field, ELIKZ.
So, based on this would I be able to calculate it in Query Designer?
If so, Please let me know how
KrishnaHi Experts,
I dont have a defined Restricted key figure yet.
I have populated 0COMPL_DEL(Delivery Completed Indicator) and 0EBELN (Purchasing Document Number) and 0EBELP (Line Item Number in Purchasing Document) .
This is what I think how I need to calculate:
Number of completed line items in past 6 months:
If Delilvery Completed Indicator (0COMPL_DEL) = x, calculate No. of Line Items (ZPO_CNT) from 0CALDAY to 6 months
and
Number of completed line items in past 12 months:
If Delilvery Completed Indicator (0COMPL_DEL) = x, calculate No. of Line Items (ZPO_CNT) from 0CALDAY to 12 months
Please let me know if the logic is correct. If so, how I can create this in report -
PERNR - Personnel Number on vendor line item of the FI document Posting
After posting a time sheet (PR05, PRFI, PRRW), the FI document created (display via FB03) has the personnel number on each of the GL line items, but the field is blank on the vendor line item. Does anyone know how to get this to be populated with the same data as being populated on the GL line items (it's the same field BSEG-PERNR)? I've made the field optional on the vendor reconciliation account as well as on the posting key, but no success yet. thanks.
Thanks all for responding.
The vendor master was populated. The strange thing is that the GL line item gets populated but not the vendor line item in BKPF/BSEG. We talked to SAP and to get the vendor line item to populate we would have to do an SAP coding change.
I created a quickview (SQVI) between the appropriate tables to get the report out that we needed (a bit easier than an ABAP) - but nontheless it worked.
thanks again. -
General Ledger Accounting (New): Line Items of the Leading Ledger
Hello Guys,
We are planning to implement
General Ledger Accounting (New): Line Items of the Leading Ledger
0FI_GL_14
We are in ECC6 sap_appl 6.00 and BI 7.0 SP 14, BI Content 7.3 level 4.0
The new GL line item is available
Financial Accounting: General Ledger Accounting (FI-GL)
Available as of Release - SAP Enhancement Package 3 for SAP ERP 6.0
Shipment - SAP NetWeaver 7.0 BI Content Add-On 3 Support Package 08
Content Versions- 1.0; 703
Just we have to install SAP NetWeaver 7.0 BI Content Add-On 3 Support Package 08 and on ECC side SAP Enhancement package 3 for ERP 6.0 --. Financial accounting - SAP APPL 603.
Is it correct. Can you please confirm.
Thanks
SenthilHello Senthil,
Yes, thats engough, since SAP is recommending the same for that datasource 0FI_GL_14. I think you are already in that version.
See this SAP help document
[DataSource Transactional Data: 0FI_GL_14|http://help.sap.com/saphelp_nw04s/helpdata/en/45/4f8e8bbf3f4f63a5dd197ef7d53fa2/content.htm]
Thanks
Chandran -
How to select Vendor information as per the line item of the shopping cart
SRM ABAPers,
I want to create a custom report and needs to produce SC's item details with vendor's information.
So I want to select the vendor information(including the partner function- 00000019 or 00000039) as per the line item of the shopping cart, which SRM table can give me this information?
Thank you!
MPHi,
To get the SC item details,you an use the FM 'BBP_PD_SC_GETDETAIL".
Also to get the vendor details,you can use the FM "BBP_PARTNER_GET_PURCH_DATA_NEW".
BR,
Disha.
Pls reward points for useful answers. -
1 line item in the sales order ship to different shipping address
Hi,
Our customer A have 3 different branches (meaning 3 different shipping address).
During the creation of the sales order for 1 material A, I want to ship 50pc to this customer A:
10pc to address A1
20pc to address A2
20pc to address A3
In my sales order, is there a way I just create 1 line item with the order qty 50pc for this material A, but split into 3 schedule line with 3 different ship to address?
I know there is alternate way where I create 3 different line item (with order qty 10, 20 and 20) and change the ship to address in the Item -> Partner tab. But using this method, I have to create 3 times of the same material in 1 sales order, just with the different shipping address.
I want to know is there a way I just need to create 1 line item?
Kindly please advise. Thank you.Hi there,
When you have 3 different ship-to address, system will anyway create 3 different deliveries. This is coz if the header data in shipping (ship-to) is different, system will split the deliveries. Routes are different to 3 ship-to addresses & they cannot be combined in the same delivery.
So as mentioned in above thread, create 3 different line items or create different sales orders all together for different ship-to parties.
Regards,
Sivanand -
How to create an inspection lot for each line item of the Purchase order?
Hi,
How to create an inspection lot for each line item of the Purchase order ?
In detail if possible.Hi
please check this
[thread|Create Inspection Lot; -
Problem in invoice printout for second line item of the contract.
Hi,
There are two line items in the contract. Both with different material and different plants. 1st line item with plant japan, and 2nd line item with plant singapore. But, when i try to take printout for 2nd line item after invoicing it, the address appearing in printout is of Japan instead of singapore.
Any idea why this happening?
Please revert back asap.Hi Chetan,
If that is a header output, then there are issues at the design level itself. You have an output as header output and you expect the item level details to be printed in two different printouts.How is this handled in the program. Mostly header outputs are used to print the details abotu all the items in the doucment , not for a specific item. If you want to print a specific item only , then it is always advisable to configure the output as item output.
Leaving that aside, the problem lies in the code. You may be selecting the item number when you are printing the details of the second item, but for printing address, you are not coding using the item number.
To prove this test this scenario.
Create an order with first item belonging to Singapore plant and second item Japan plant.
Now create the otuput for item1----it will work fine
Do the same for item2-----Now, the plant address will be of Singapore, while the material belongs to Japan.
If this happens, it can be safely assumed that problem lies in the code. Do this test and then if the problem is in the program, discuss with your developer, he will rectify the bug for you.
You can reward me if this solves your problem. -
Copy service line items to new line items in the same contract (ME32K)?
Hello friends,
Requirement: There are many contracts (account assignment K) has service line items (type 9). I need to copy a contract line item along with its service line items (1 or more) into a new line item in the same contract. I tried bapi_po_change but it says Contracts can't be processed with it, as only in this bapi we have a structure for ESLL services. BAPI_CONTRACT_CHANGE or create don't have structure for ESLL..how to achieve this through a bapi or a fm?
So, in what way I could accomplish this? I came across some threads, which was helpful, but is not solving the purpose
Any guidance here would be of great help.
Thanks in advance.
MayankUse BAPI_AGREEMENT_MAINTAIN
This BAPI can be used to create new service items in the contract but won't change existing lines. You can query the contract lines that you want to copy and later call the BAPI to recreate them -
To split the payment document value as per the line items of the P O
To split the payment document value as per the line items of the purchase order in the period of payment, so that the payment amounts are measured against the Capex order assigned as account assignment in the purchase order.(Account assignment tab for the individual line item in the PO.
Example:
Inputs:
Purchase Order 3100012345, line item 10 value 6000 line item 20 value 4000
VAT @10% , account assignment for PO line item 10(Internal Order no 10001) & line item 20 Internal Order 10002) G/ R no 5105105101 for Rs10,000.
The I/R doc 501501501 appears as follows: (MIRO)
Line 10: Value Rs 6,000
20: Value Rs 4,000
VAT Rs 600
Rs 400
Total Rs11, 000
Withholding Tax Rs 1,100
The accounting entry for MIRO happens as follows: doc 2102102101
GR/IR Dr Rs 10,000
VAT Dr Rs 1.000
Vendor Cr Rs9, 900
TDS due Cr Rs1, 100
The business expects the payment report as follows:payment doc 2001200101
PO Line item Internal Order MIRO Invoice Payment Payment period Amount
A/c doc number doc number
3400012345 10 10001 5605605601 2102102101 2001200101 001/2009 5940
3400012345 20 10002 5605605601 2102102101 2001200101 001/2009 3960
Currently we are able to show the amounts as Rs 6000 for line item 10 & Rs 4000 for line item 20.
The problems faced.
1. The VAT line items are auto created, hence the reference of purchase order number and line item are not available. So the VAT portion which is part of payment liability does not get reflected against the PO.(not able to show the VAT portion , when we try to show the payment amount per PO line item.)
2. The withholding tax is also a problem; WHT is not calculated and assigned per line item. It is calculated on the total amount of basic and VAT. Because of these reasons, the payment could not be shown properly according to the line item of the purchase order.
3. When part payment is made, against invoices, there is no provision to assign a payment amount against a particular line item. Further, when final payment is made in different period, the clearing document will get generated. That adds to the complexity of differentiating full payments and part payments final clearing.
4. When residual payment is made, a new line item is created. Here assignment of Purchase order line item against payment for residual items become a problem.
5. Many a times advance payments are made. Later the invoice is created and balance payment is made. In those situations, the clearing document creates one more line item and makes payment for the balance item. This adds complexity in bringing balance payment alone and to split as per the purchase order line item. The clearing document number system is multi dimensional. It creates two line items for the same item (one at the time of advance and another the time of clearing.)
6. When full payment is made, the payment document number and clearing document numbers are same. In cases of subsequent or partial or residual payment, the document numbers are different. Because of this, the part payment amounts are shown in the period, where the final payment and clearing are made.
Please suggest a way to split the payment amount in the exact posting period with all the considerations given above.
Regards
Sundararajan
Edited by: Sundarajan Venkatachari on Sep 30, 2009 11:04 AMHi,
See Note 301077 - User exits for the interface to accounting, although I think that there isn't this kind of option. Note 429117 - Collective note advice note SD-FI interface will be useful too.
I think that SAP Note 1085921 - Document split perhaps will help you
Regards
Eduardo -
Same material can exist on multiple line items for the same order.
Hi
Is there any specific customising setting or web shop setting through which we can restrict user to add same material on multiple line items for the same order ?
RegardsNo.
But if this is a must requirement, you can do an elaborate check during order save in ORDER_SAVE BAdI and return error. So, it will be only during order save.
Eawar Ram
http://www.parxlns.com -
To make service entry sheet for multiple line items of the service PO.
Hello MM Gurus,
Please help me for the following
I create a service PO with say 10 line items. Then while doing the service entry sheet the system automatically picks the line item 10 by default. When I try to enter the other items it throws an error" unplanned services cannot be entered"
So how to make a service entry sheet which shall include all the line items of the service PO at the same time.
So if I have 100 items in the PO do we make the service entry sheet 100 times against each item? Is there any seeting/solution on this?
Please help.
Regards,
Prasanna.Dear,
I have two solution for u.
1) Create different service entry sheet -ML81N for each line item and create single invoice verification for all service entry sheet - MIRO
2) Create service purchase order - ME21N for only one line item.
And include all services in service tab available at item detail level of service purchase order. Enter it's quantity and rate.
Than create one service entry sheet for purchase order.
So you can create one service entry sheet for all line item of services.
Note: - Use option 2 for easy process.
Regards,
Mahesh Wagh. -
How to delete a line item from the sales order
Hi all,
how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
Regards
KumarHi
U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
This is called short close ( as the qty is not delivered fully).
Thx. -
Sample Material in the 3rd Line item of the Sales Order
Hi,
We have configured the system in the sales order as follows.
1. Commercial Material
2. Bonus Material.(ie Free Material)
Now, i want to add the 3rd line item in the sales order as Sample with different Material number. How go about this. kindly let me.
Regards
RaviHi there,
Enter the material in the sales order & change the item catg manually in VA02.
But free goods & sample materials are dealt differently..
Freegoods is entered as TANN item catg along with nornam TAN item in standard order OR.
But sample materials or free of charge items are processed through different order type FD for eg.
Even thought the item catg proposed in FD is TANN,, the whole process will not have pricing as TANN items arenot relevant for pricing.
Regards,
Sivanand
Maybe you are looking for
-
Update 10.5.4 installed and now I can't read the LCD
10.5.4 update installed and when the computer restarted, it made the chime sound, looked ok, the keyboard lit up (it's night) and then the screen went black. After a bit, I can faintly see the log in but I can't make it bright enough to read. I'm abl
-
Unable to print to wireless hp printer
Just set up a HP wireless printer (HP officejet pro 8500) and I am not able to print from my iPad. It looks for the printer but it comes up with no printer available. I am able to print to this printer wireless using my laptop not sure why the iPad
-
Payables 11.5.10.2 - Electronic Payments
Apps: 11.5.10.2 Today, all vendor payments are done via a single check run on Friday. Physical checks are printed (generally 500 - 600 per week) by the AP staff, stuffed and mailed. We are currently looking at implementing a more efficient process wh
-
Hello, I am currently a pc user and will soon switch to apple. I sell instructional videos online and work with a company that puts it online and protects it from illegal copies. Problem is .. I have to send them my vids in wmv or wma format. Does Im
-
Free video game imbedded in Final Cut Pro 5
The game is called "Guess the appropriatre video/audio settings for you video files" and I'm losing every time. Panasonic GS-500 camera, standard 16:9 DV PAL video/16-bit 44.1KHz audio. Can ANYONE provide the FCP audio/video, capture and sequence set