Repeted line items in blll
Dear Experts,
in my bill printout i am getting repeated line items .means if i have some shortfall charge (100rs)
this amount also triggering in arrears line, actual arrears is (30rs) , but actual arrears are not fetching,
when i see the doc overview (ea00) i found that there are repeated line items.avb.
how can i del or change that line items, ?
help will be more appreciable.
thanks..
Hi,
In a print document the line items are divided on two parts on a higher level. The first set coming from bill document line items related to current bill period charges and the other set comes from the balance brought forward items ( you can say it arrears).
The print document line items related to the bill document are stored in table DBERDLB and the balance brought forward line items are stored in table DBERDL.
You can see that every print document line item are linked with a unique line item number and a line item type. First you identify the line item is related with current bill document or balance brought forward items.
To control how the line items will be generated in the print document for a bill document, you have to see the variant control of a variant program in the rate steps. Identify which variant program of which rates are generating that line item. Then see the variant control setting of that rate step. There may be several types of check boxes such as info lines written about calculation / qualtity etc. It geerates the information lines in the print document. Depending on your requirement you can tick or untick the check boxes. If you have ticked the check boxes for info lines written about calculation method, it might generate multiple line items for a single rate steps in the print document to display the calculation steps.
To control how the balance brought forward will be displayed in the print document, you need a setting at the following path:
SPRO-> SAP Utilities-> Invoicing-> Invoice Processing-> Item Selection in Invoicing-> Item Selection in Account Maintenance/ Define Sub-Items.
In the above path for a clearing type, in the item selection for bill print out area you can define which accounting information will be included in the invoice line items and how it will be printed and whether it will be included in the bill sum total etc.
Hope it will help.
Thanks.
Nirmalya
Similar Messages
-
How to dispplay line items in script ?
dear experts,
i want to display the line items in box, but that box should be dynamic according the number of line items
thanks in advance.Hi Munvar,
In the print program u have an variable to get the count of the number of line item.
By repeted testing u display the box according to that
variable value.
In the BOX comand ..in the hight addition use that variable as the hight.
For EG: u have 5 line items, item_count = 5.
make item_count = item_count * 20 ( hight of the
box u want)
In the script u use
BOX WIDTH 87 MM HEIGHT &item_count& MM FRAME 1
TW INTENSITY 0
Note : The field item_count must be of char ( check it i
am not sure)
Regards,
Santhosh -
Outgoing cash Payment line item account not printed
Hi,
In case any cash payment raised through outgoing payment, line item(account name, amount, etc..) table is printed. If check payment, we can get the print(Line item) out. If anybody knows the reason for not printing the table. please tell me.
Thanx in advance,
Suresh.Kevin,
If it's one line, we can do as say, We have more than one line. we need repetative area.
Scenario,
Screen: Outgoing Payment
Select: Account ( not customer or not supplier)
line table(Account) : Enter more than one line.
Payment mode: Cash.
finally Check the printout: Line table which contains accounts are not coming in the printout.
Created: Own PLD.
Suresh. -
Hi , I have a scenerio to extarct the billing plan items in my report. When I run the report it gives me the required output but with multiple line items . I am not sure if my sleection is bring in data from both billing plan header as well as billing plan item data . I just need to bring in the data from the item level which will resolve the issue of multiple line items showing up in the report, my selection is as follows , please comment if I am selecting form both the header as well as item level,
IF p_rental = 'X' .
SELECT a~vbeln a~ktext a~erdat a~ernam a~audat a~vbtyp a~auart a~vkorg
a~vtweg a~spart a~vkbur a~guebg a~gueen a~kunnr a~kvgr4
b~posnr b~matnr b~charg b~matkl b~arktx b~pstyv b~zmeng
b~zieme b~kdmat b~werks b~lgort b~vstel b~netpr b~kpein
b~vkaus b~aufnr b~kmein b~shkzg b~oid_extbol b~oid_miscdl b~netwr
b~oidrc b~oid_ship AS kunwe b~zzwprofid c~datbi c~datab b~route
e~fkdat e~nfdat e~fakwr e~fksaf e~afdat
f~fpart f~bedat f~endat f~horiz g~bezei
INTO CORRESPONDING FIELDS OF TABLE gt_sel
FROM vbak AS a
INNER JOIN vbap AS b ON a~vbeln = b~vbeln
INNER JOIN vbkd AS d ON a~vbeln = d~vbeln
INNER JOIN fplt AS e ON d~fplnr = e~fplnr
INNER JOIN fpla AS f ON e~fplnr = f~fplnr
LEFT OUTER JOIN tvlvt AS g ON b~vkaus = g~abrvw
AND g~spras = 'E'
LEFT OUTER JOIN zsdsched AS c ON b~vbeln = c~vbeln
AND b~posnr = c~posnr
WHERE a~vbeln IN s_vbeln
AND a~ktext IN s_ktext
AND a~erdat IN s_erdat
AND a~vbtyp = gc_g
AND a~ernam IN s_ernam
AND a~vkorg IN s_vkorg
AND a~vtweg IN s_vtweg
AND a~spart IN s_spart
AND a~vkbur IN s_vkbur
AND a~guebg IN s_guebg
AND a~gueen IN s_gueen
AND a~auart IN s_auart
AND a~kunnr IN s_kunnr
AND b~oid_ship IN s_kunwe
AND b~werks IN s_werks
AND b~lgort IN s_lgort
AND b~vstel IN s_vstel
AND b~route in s_route
AND b~matnr IN s_matnr
AND e~afdat IN s_afdat
AND e~fksaf IN s_fksaf
AND b~pstyv in s_pstyv.
SORT gt_sel.
IF NOT gt_sel[] IS INITIAL.
** Get Bill-to Party's for Item Lines
SELECT vbeln posnr parvw kunnr INTO CORRESPONDING FIELDS OF TABLE gt_vbpa
FROM vbpa
FOR ALL ENTRIES IN gt_sel
WHERE vbeln = gt_sel-vbeln
AND parvw = gc_re.
ENDIF.
* Loop through captured data for additional information
LOOP AT gt_sel INTO gs_report.
* Find the bill-to party
READ TABLE gt_vbpa INTO gs_vbpa WITH KEY vbeln = gs_report-vbeln
posnr = gs_report-posnr
parvw = gc_re.
IF sy-subrc <> 0.
READ TABLE gt_vbpa INTO gs_vbpa WITH KEY vbeln = gs_report-vbeln
parvw = gc_re.
CHECK sy-subrc = 0 AND gs_vbpa-kunnr IN s_kunre.
ELSE.
CHECK gs_vbpa-kunnr IN s_kunre.
ENDIF.
if sy-subrc = 0.
gs_report-kunre = gs_vbpa-kunnr.
endif.
* Get the Customer's Name
gs_report-kunnrt = zcl_kna1=>get_name1( itp_kunnr = gs_report-kunnr ).
gs_report-kunwet = zcl_kna1=>get_name1( itp_kunnr = gs_report-kunwe ).
gs_report-kunret = zcl_kna1=>get_name1( itp_kunnr = gs_report-kunre ).
APPEND gs_report TO gt_report.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM gt_report .
ThanksHi,
Try debugging the code and after the select query and sort just check the gt_sel table if it contains any duplicate entries, if it is so, then there is some problem in inner join and left outer join and left outer join takes all the entries from left hand tables and only selected entries from right hand table so if the right hand table contains 3 to 4 entries then the same records from the left hand table is repeated for 3 to 4 times due to which you feel that the records are repeated.
just check with the query and instead of using joins which is very costly statement try separating the query for each table and then using different internal tables you can collaborate the data into one single and avoid repetation.
Regards,
Ravi -
Unable to capture field values in Master agreement Line Items
I am trying to get the field values from master agreement line items page. I have written the following code to get the line item details which is working fine to capture part number and quantity->
agreementBean = doc.getRootParentIBean();
lineItemCollection = agreementBean.getLineItems();
collectionsize = lineItemCollection.size();
for(i=0;i<collectionsize;i++){
collectionbean = lineItemCollection.get(i);
partNum = ""+collectionbean.getPartNumber() ;
Quantity = ""+collectionbean.getQuantity();
throw doc.createApplicationException(null,partNum + " , " + Quantity );
Now, my problem is that I am unable to capture the following field item values in the master agreement > line items page.
1. Price Unit
2. Unit Price
3. Product Category
4. Plant
Please help me to find the values.
Thankx in Advance.
Su
Edited by: subrataindra on Aug 10, 2010 11:11 AMThis will return the name of the plant.
.getExtensionField("PLANT").get().getDisplayName(session);
Check if this returns the product category
collectionbean.getExtensionField("ITEM_CAT").get().getDisplayName();
This will Return the Price
collectionbean.getExtensionField("PRICE").get().getPrice();
(return type :BigDecimal)
This will return the currency
collectionbean.getExtensionField("PRICE").get().getCurrency;
(Return type:String)
Similarly to retrieve other fields for which there are no standard functions, use .getExtensionField("Field ID")
Hope this helps
Regards,
Immanuel -
Vendor Line Item not cleared after F110
Hi Gurus,
We encountered an issue. The payment run was processed last April 18 and the vendor invoices were captured during the payment run and in the aging report, these invoices didn't appear as Open Item.
In between April 19 until August 19, these invoices are not part of the proposal list until the when they run payment on August 20. The value is zero and in the proposal list, there is a value in the Reason to Print Advice "A".
What is the reason for this?
Thank you.Hi Dianne Obviar,
For that invoice payment delete uncompleted payment
proposal.
U go through this path select F4 in run date field
There check it any un completed proposal is there and delete
that invoice line item will come for payable
Regards
Surya -
Open Item and Line Items are not matching
Hi Gurus,
I ran the EFT for vendor #1600109 for payment on 10/18/07. If I run the vendor open items report (ZFI019) for today, it shows the balance net of the EFT that is $203,466 ( $263869 - EFT Value is $60,403).
When I ran the vendor line items display (FBL1N), it shows all the invoices including the invoices paid on the Oct 18 EFT $263,869 which is (2034,66+60,403).
User wants the open item report should tally the line item display.
I will assign good points.
Thanks for your help
PrashanthHi Gurus,
EFT is working fine. But the Vendor Open item Report (Custom Report) and Vendor line item report (FBL1N) is different.
We are looking a balance for a vendor as on 15th where the balances are not matching between the reports but if i run FBL1N on 18th the balances are matching.
Clearning date is 18th
Posting Date is 15th.
Thanks
Prashanth -
Urgent - "Vendor balances carried forward and line items report."
Hello,
Is there any report which will give me the vendor balance carried forward and the line items during that period.
==============================================
Format-
eg: statement taken from 1.8.2006 to 30.9.2006 is required as
Bal b/f 25000 cr.
3.8.2006 Purchase Inv XXX 3000 cr.
5.9.2006 Payment Chq XX 26000 dr.
Bal c/f 2000 cr.
==============================================
Please advise on this.....
Regards,
Jthanks for the response, but i have already tried those transactions.
FK10N will give me the periodic bal statements and NOT line items display which will also have balance carried forward.
F.41 and F.43 again gives the periodic and line items...but i want the vendor balances to be in the format given above..
like say, account statement.
Please advise............
Regards,
J -
Report for bom wise target and actual cost as well as qty at line item
Dear Experts,
Is there any standard tcode for bom wise target and actual cost as well as qty at line item level for the month.
there is one tcode s_alr_87013127 but user has to double click in order to get line item details.
I want to see line item wise breakup/bom wise target and cost cost as well as qty.
Thanks in advance.
regards
RKDear experts,
I am still looking for a revert.
regards
RK -
Customer/Vendor A/C with line item details and with opening and closing Bal
Dear Sir / Madam,
Is it possible to have a customer and / or vendor Sub-Ledger account-
with line item details and with opening and closing balance detail
for a particular period.?
Regards
Chirag Shah
I thank for the given below thread which has solved the same problem for G/L Account
Re: Report to get the ledger printout with opening balancesHello Srinujalleda,
Thanks for your precious time.
I tried the referred T-Code
But this report is not showing Opening balance, closing balance detail.
It only gives transactions during the specified posting period and total of it.
Please guide me further in case if I need to give proper input at selection screen or elsewhere.
Client Requires Report in a fashion
Opening Balance as on Date
+ / - Transactions during the period
= Closing Balance as on date
As that of appearing for G/L Account by S_ALR_87012311
Thanks once again & Regards
Chirag Shah -
Vendor Line item with Opening and Closing Balances report regarding
Dear All,
I need a report for vendor line items with Opening and Closing balances.
Thanks in advance
SateeshHi
Try S_ALR_87012082 - Vendor Balances in Local Currency
Regards
Sanil Bhandari -
Is there any std BAPI or FM to get Vendor Line Items?
Is there any database Table which shows all Vendor line items (open and cleared)?
Note : table BSIK shows only open line items.
Thanks in advance. Points will be rewarded.hi Nikhil,
yes, open items are in BSIK, cleared items are in BSAK. There is no table where you can find both! Acc. to my knowledge, there is no FM or BAPI to give back the information you need. You have to select from the tables. In fact you can find all items in BSEG (together with debitor and G/L items), but selecting from that table can take ages...)
hope this helps
ec -
Hi,
This is in 11.5.10.2.
For Balance Sheet review/clean up of GL Accounts, we are facing following Problems.
When we query a particular GL account the number of lines fetches are more than 6 lakhs line items due to which we are not able to extract complete dump .
The data Extracted is not getting classified into open and cleared items (Clearing) at GL level and therefore the data line items are enormous. Can you suggest something in this regard as to how to proceed further? IF you can share the methodology being adopted by any of you, it will be a great help.
ThanksHello.
Can you please try the following query? I'm not sure were are you keeping the data that indicates that the lines are not adjusted so i included the JGZZ_RECON_STATUS field but you can adjust the query to your needs.
SELECT l.effective_date,
h.je_source,
h.je_category,
l.description,
nvl(sum(l.accounted_dr),0),
nvl(sum(l.accounted_cr),0),
l.jgzz_recon_status
FROM gl_je_lines l,
gl_je_headers h
WHERE l.je_header_id = h.je_header_id
AND l.set_of_books_id = <your set_of_books_id>
AND l.effective_date >= '1-jul-09'
AND l.effective_date <= '2-jul-09'
GROUP BY l.effective_date,
h.je_source,
h.je_category,
l.description,
l.jgzz_recon_status
Hope this helps, otherwise repost.
Octavio -
Report for GR/IR line items - with PO details - profit center wise
Hi
My client uploaded stock and instead of using MIRO, directly passed the journal entry
Consumption
To Vendor
Now, the original entry of
Stock
To GR/IR
remains.
How can I make the GR/IR account nil and also remove the open items in the corresponding Purchase Order ?
Thanks in advance.Hi,
You can use a substitution to update the field through FI. Use GGB4 for wirting a substitution you may need some ABAP coding to substitute PO no and line items in the assignment field. rule would be Co code =XXX and GL account =xxx and Posting date earlier than =xxxx then concatenrate EBELN and EBELP in Assigment field Zounr.
Then execute FBL3N and edit the assignment field by selecting all the documents and then save it you should see the PO line items populated. You can leave the substitution on or you can remove it after updating,
Regards
K.R -
Can it not possible that i can retrive it for all line items in a single qu
I have to make report for my application in which I am facing a following problem:
In the application there are multiple suppliers and each supplier having multiple line items and each item having multipale events. each evant having three status GREEN,RED and BLUE.
When a user select 'all suppliers' to show the the status time span for a supplier (i.e. for a supplier how many parts and upto how much time parts are in blue, red and green status)
to show the cumulative status time span I have to find out a event for each line item which is having nearest lower entry time from the lower part of the given time span.for this i have write following query
SELECT * FROM parts_events
WHERE vendorid = ? AND partid = ?
AND visible = 'visible' AND active = 1
AND entrytime = (SELECT MAX(entrytime) as
entrytime from parts_events
WHERE vendorid = ?
AND partid = ?
AND entrytime < ?
AND visible = 'visible'
AND active = 1)
the problem is that i have to fire this query for each line item, can it not possible that i can retrive it for all line items in a single query?maybe if you can post some sample data and output will help us analyze more youre requirement.
Maybe you are looking for
-
Many Songs No Longer Sync From iTunes to my iPhone
I look in the folders in iTunes Media/Music and they're still there, but they are no longer on my iPhone or iPad and I can no longer sync them to these devices. Some of these songs I've had on my devices for years. This started when I tried to update
-
How can I change the color of the buttons in Firefox 8?
I have Stylish, and had a code to change the button colors (Home, Forward/Back, Reload, etc.). But now it isn't working. Is there an HTML code in order to be able to do this with Firefox 8? I would also like a code to change the background color of t
-
Presets - only applying to images as they are seen in library pane
I have lightroom version 1.2 Mac user 10.4.11 2.1 ghz processor When I apply one of my presets to a large number of images (as in more than you can see at any one time in library pane) I notice it will only apply the preset to the images that I can s
-
How to create a journal entries by sdk
hi Experts I know how to create invoice or order by sdk . but I do not know how to create Journal Entry by sdk. i mean what fields are required. Plz send me a basic template for Journal Entry. Regards Gorge
-
installed firefox 7, the latest update. When I go to transfer to applications, error saying I do not have the authorization. I am the administrator. Cant go further.