Need a table to be printed at end of line items for each Header level
Hi Friends,
I have to print a table in the smartform at the end of all the line items.
The problem is
For example there are 2 Header Details say A B and header A has 15 line items and B has 8 line items.
Now I am printing header A line items first. Suppose each page can have 5 line items. At the end of line items for header A I need to print a table at the end of line items for each header
Page1
A1
A2
A3
A4
A5
Page2
A6
A7
A8
A9
A10
Page3
A11
A12
A13
A14
A15
Table1 has to be printed on this page
Page4
B1
B2
B3
B4
B5
Page5
B6
B7
B8
Table2 has to be printed on this page.
Does any one had this kind of situation?
Waiting for your replies.
Thanks,
Chaithanya
Edited by: chaithanya k on Mar 20, 2008 5:08 PM
Hi,
Thanks for your reply and sorry for the late response.
I have 2 tables one is the Header table and the other is Item table. After printing all the item details and then it should print the Header level details at the end of the items details.
Hope you understand. Please see my question where I have given an example.
Thanks,
Chaithanya.
Similar Messages
-
Fbl5n: The printer provides me only one customer items for each page...
Hi all,
launching t.code FBL5N, and printing the repost list, the printer provides me only one customer items for each page...
I'd like obtaining more customer items for each page...
What to do?
ThanksHi Umberto..
Thats how the standard report works..
To meet your requirement, you would probably need to look at another standard report.
In case you need further clarification, please feel free to write to me..
Good Luck!
Lucid-Mind... -
Printing in only last line item printing in main window
Hi All,
My requiremnet is to print same data in two blocks for F110 payment cheque
Iam using 2 main windows to print same data if block exceeds it will go to next page
iam calling the windows as shown below
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN00'
element = hlp_ep_element
function = 'APPEND'
EXCEPTIONS
window = 1
element = 2.
IF sy-subrc EQ 2.
err_element-fname = t042e-zforn.
err_element-fenst = 'MAIN00'.
err_element-elemt = hlp_ep_element.
err_element-text = text_525.
COLLECT err_element.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN01'
element = hlp_ep_element
function = 'APPEND'
EXCEPTIONS
window = 1
element = 2.
IF sy-subrc EQ 2.
err_element-fname = t042e-zforn.
err_element-fenst = 'MAIN01'.
err_element-elemt = hlp_ep_element.
err_element-text = text_525.
COLLECT err_element.
ENDIF.
Iam getting only last line item printing in main window
Please provide the inputs.
Thanks,
Kamalakar.
Please use code tags.
Edited by: Rob Burbank on Nov 25, 2011 11:51 AMHi,
My requirement was to print same block twice in cheque printing of F110.
I have used the function module 'WRITE_FORM_LINES' to print more than one line item in secondary window in the script .
fill the Lines internal table as shown below.
Example :
lines-tdformat = 'TM'.
CONCATENATE regup-xblnr ',,' w_date ',,' w_bsak-sgtxt ',,' w_gross ',,' w_dis ',,'
w_net INTO lines-tdline.
APPEND lines.
CALL FUNCTION 'WRITE_FORM_LINES'
EXPORTING
function = 'APPEND'
header = header_t
type = 'BODY'
window = 'MAIN01'
IMPORTING
FROMPAGE =
PENDING_LINES =
TABLES
lines = lines
EXCEPTIONS
function = 1
type = 2
unopened = 3
unstarted = 4
window = 5
bad_pageformat_for_print = 6
spool_error = 7
codepage = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. -
SAPF150D-Dunning Notice Print - With Update of Line Items and Master Record
When I am running this program SAPF150D(Dunning Notice Print - With Update of Line Items and Master Records) with a variant containing run date, runc id, update mode, pimmed & pcount; the job is failing to execute. It is giving message like,
"The field symbol is no longer assigned because there was an attempt makde previously in a Unicode program to set the field symbol using ASSIGN with offset and/or length specification. Here, the memory addressed by the offset/length specification was not within the allowed area."
"GETWA_NOT_ASSIGNED_RANGE" "SAPF150D" or "F150DFS0" "SORTFELDER_ERMITTELN"Hi,
Search for routine FORM SORTFELDER_ERMITTELN
in SAPF150D.
Put a breakpoint in statement
ASSIGN (T047F-FELDN) TO <H1>.
in above routine and debug to the point where error is occuring.
Most likely there is a mismatch in the length assigned to some field FELDN in table T047F.
In that case, simply change the T047F-LENGT field accordingly in change mode.
Cheers,
Vikram
Edited by: Vikram Jalali on May 27, 2008 5:56 PM -
Table where i see actual cost line item for order (KRMI)
Dear.
I need to know the table of every single document number of a cost element that I see in the actual cost line item for orders using transaction KRMI.
Thanks
Moderator: Please, search SDNHi
Refer the field Object No (OBJNR) in COEP.. In your case, the OBJNR would be ORXXXXYYYYYYYYYYY, where OR means Order, XXXX = Contr Area and YYYYYYYY = Int Order No with preceeding zeroes
Qty is also recorded in COEP
BR,Ajay M -
Table containing Line items for a Cost center group ?
Please help me in locating the table which will contain 'Line items' for a given 'Cost center group'.
Hope my question is clear.
Thanks.check the tables
SETHEADER and SETLEAF
SETLEAF will contain all the line items where set class is equal to 0101 for cost center group -
Table where i see actual cost line item for order (KKBC_PKO)
Dear.
Using transaction KKBC_PKO i can see the actual cost line item for order.
In which table I see these data ?
ThanlsHi,
check COEP (CO actual line items) the objectnumber is OR+the order number.
Best regards, Christian -
Table for line items for parked documents
Hello all,
Do anyone know what is the table for line items for parked documents(fbv3)?
Because I check bseg and these doc. aren't there.
Thanks a lot!Hi,
Please Check table "VBSEGS" you will get parked document ine items .please check below link it will clear...
Find tables for GLs on Parking Documents by FB60
Thanks in advance
Chakri -
Horizontal line at the end of page within for each
I try to do the following with PO :
When a PO lines take several page to print I want to draw a line at the end of the page.
<xsl:for-each select=".//LINES_ROW" xdofo:ctx="3" >
<fo:table-row keep-with-next.within-page="always" keep-together = "always" xdofo:repeat="R">
<fo:table-cell keep-together="always" xdofo:use-attribute-sets="lc_4" >
<fo:block xdofo:use-attribute-sets="lb_2 lb_5">
<fo:inline id="Text12{$_XDOFOPOS}"/>
<fo:inline id="Text10{$_XDOFOPOS}"/>
<fo:inline id="Text11{$_XDOFOPOS}"/>
<fo:inline id="Text5{$_XDOFOPOS}"/>
<fo:inline xdofo:use-attribute-sets="li_1">
<xsl:value-of select=".//ITEM_DESCRIPTION" xdofo:field-name="ITEM_DESCRIPTION"/>
</fo:inline>
>
</fo:table-row>
</xsl:for-each>
Now when i reach the end of a page I can't draw a line is there a way to draw an horizontal line ?
Thanks for the quick answerDid you ever get an answer to this? I have the same question.
-
Add BOM line items for printing those line items in cs03 transaction
User will display the BOM line items and when he go by menu path EXTRAS->More-> so at the end of sub menu we need to add one more option for View and Print for that we need to use the menu exit and accordingly we need to add code to capture the related function code and display respective BOM line items in the ALV format. Further on if user wants to print those he should be able to do the same.
The BOM item node number STPO-STLKN is an 8 digit field therefore I would imagine that you could have a maximum of 99999999 items..
But you could use multi-level BOMs which would allow you to organise your components better.
PeteA -
I need to show grouped id and only the max order value for each unique id
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select #Temp1.id, max(#Temp1.[OrderOfVisit]), #Temp1.VisitNote
from #Temp1
group by #Temp1.id, #Temp1.OrderOfVisit, #Temp1.[VisitNote]
ORDER BY #Temp1.id
drop table #Temp1
---I need to show grouped id and only the max OrderOfVisit for each unique id, and the VisitNote for each OrderOfVisit
----------------need help-------------Sounds like this
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select id,OrderOfVisit,VisitNote
from
select #Temp1.id, #Temp1.[OrderOfVisit], #Temp1.VisitNote,ROW_NUMBER() OVER (PARTITION BY #Temp1.id ORDER BY #Temp1.[OrderOfVisit] DESC) AS Seq
from #Temp1
)t
WHERE Seq = 1
ORDER BY id
drop table #Temp1
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Table name pls - ACH and wirepayment info,Payment amt for each invoice ,
can anyone tell me which table hold ACH and wire payment info.PAYR table will contain only check info.
Also i need which table is storing payment amt for each invoice..
Thanks in advance.
KumarHi KUmar,
See the tables,
REGUH, REGUS, REGUT, REGUV.
Regards,
Ravi -
Need Profit Centre,WBS element fields in Customer/Vendor Line item display
Dear Experts,
In Standard SAP we do not have the Profit Center, WBS Element in Customer / Vendor line item functionality. Now we need to develop user exit, when User try to post transactions like MIRO, F-02, FB01 system should ask the Profit Center field and WBS Element field in Vendor / Customer line items.
I dont know the actual functionality, The consultant has given example as 3 transactions, Do we need to update any other transactions also. If yes please provide me the information.
Can anyone help me with the solution.
Thanks in advance.
Regards,
Abdur RafiqueI have used User exit, to obtain the above scenario.
-
Table to see the line items for cost center-ECC 6.0
Hi,
Which is the table to get the line items in controlling with cost center & WBS information.
Regards,
VipinCheck with below tables :
COSS, COSPP, COSSP, COSL, COSR ,COSP.
Check with below link
http://www.sap-img.com/financial/important-tables-in-sap-co.htm
Thanks
Seshu -
Table which contain Purchase order number, PO line item, PO type
Hi experts,
Can you please tell me which table contains the fields Purchase order number, Purchase order item number and purchase order type with respect to the fields of the table MKPF--MBLNR.
I am given a conditon where i have to select MBLNR, VGART, BLART from MKPF and after selecting these line items, i have to validate for purchase order of type ZSPM,ZSFIAND ZINS.
Can you any one suggest me what shall i do... Thanks in advance.
Regards,
BuvanaPassing MKPF-MBLNR to MSEG
get the EBELN (Purchase order).
Pass this EBELN to EKKO to get Order type (BSART)
and to EKPO to get the line item.
Maybe you are looking for
-
A while back I had to restore my laptop to factory settings due to a virus. Until that time, I was able to sync my newer Ipod Touch 4th Generation. Now, even though when I connect my Ipod, it shows it there, I am unable to sync it with my Itunes on
-
I'd been using it normally, I turned it off yesterday, and when I tried turning it on today, it didn't answer (the screen changes slightly colour, but no apple to be seen!), I have already pressed both buttons for 10 sec, I plugged it in, but nothing
-
My weblogic has been consistently crashing. This is the last dump that it gives. Any clue? I went to Sun site and they've posted that if the Hotspot error happens on a third party product, contact the vendor. # HotSpot Virtual Machine Error, Internal
-
My new/used G5...trouble ack! help please
I bought a used powermac G5 single 1.8 3gRAM. I installed tiger and have been trying to run an audio app called Digital Performer 4.6, but there has been terrible cpu spikes. The DP forums suggest that the new 4.6 version has some troubles with tiger
-
Hi GURUS: I got the following error when loading selection criteria from flat file thru Infopackage. Error 26 - related to IDOC'S Pls suggest ... Thanks & Regards