Smartform table
Hi all,
i have designed samrt form having one table,is having header ,one row.
now i want to increase the rows dynamically based on no of line items and at the same at the end of this record or at new record ,needs to print hte table.
table design :
Header:
values 1:
header:
values1
values2:
Header:
values1:
values2:
values3:
values6:
like this i want to print.Pls help me out in this.
Regards,
Kranthi.
Hi ,
Suppose assume the example
it_tab having the following data
No Name Desig
1 abd x
2 abc y
2 abd z
3 cde w
your o/p will be like this
No Name Desig
1 abd x
No Name Desig
2 abc y
2 abd z
No Name Desig
3 cde w
for that u have to copy the it_tab into it_temp
delete the duplicates of NO in the it_temp table
Ex: it_temp having
No Name Desig
1 abd x
2 abc y
3 cde w
in designing
create the LOOP node for the table it_temp
Inside the Loop Node create the table it_tab and put the condition as wa_tab-no eq wa_temp-no
print the wa_tab-no wa_tab-name wa_tab-desig
Hope you resolve your issue
Let me know if any concerns...............
Similar Messages
-
In smartform table data is repeating
in smartform table, data is repeating and filling the page...
actual data is only 3 rows...
but it repeats and fills the page...how can i stop this...Hi Rajkamal
You can easily debug the smartform; try hardcoding the break-point for your user ID. (Break <ID>)
Please check the number of entries in your table.
If the number of entries are correct it can be only some loop in smartform - happy hunting !!
Neer -
Dynamic color in cell of an SmartForm Table
Hi Experts,
How can i assign a color for a text in a cell (shading) in a smartform table?? Color depends of the data in smartform.
ThanxI don't think we can do it dynamically.
So, may be you have to create as many texts as you have colors conditions and assign relevent condition to each text.
Regards,
Naimesh Patel -
Problem in Smartforms table printing
Hi Friends
I have a weird problem with printing the smartforms table.
The problem is as follows.
Suppose there are 10 rows (entries/records) in the table and the page can accomodate only first 5 rows, it automatically overflows into the next page. Now typically the table should print the next 5 entries. But, instead, only the 6th row is printed and the rest 4 rows are not printed.
Please advice.
Thanks
sam.This is due to some technical reason in the ABAP. If you are passing the sorted table, you have to declare it as already sorted.
please read this
If in the form interface a tables was passed that was sorted before by the application, and it is now processed in the loop of a data node, you must again list the sort fields explicitly and, in addition, mark the checkbox "already sorted".
Due to technical reasons in ABAP, it is not possible to automtically pass the sort fields. -
How to display smartforms table lines useing different background colour
Hi all:
How to display smartforms table lines useing different background colour .
for example:
line1:green
line2:red
line3:green
line4:red
line5:green
line6:red
line7:green
line8:red
Any help is highly appreciated!!
启明星Hi,
Create a two lines one for header and second for data in the table.
1)In table painter we can find the pencil mark.
2)select the pencil mark
3)now select the line which you need to shade
4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
reward points if useful
Thanks and Regards,
Nishant -
Hi Friends..
I need information about smartform tables, how to draw tables in smartform and display the data inside the tables.
Thanks in advance
gowrishankarhi gowrishankar,
if u want to dispaly data item wise than u should use table....when data varies dynamically u should use tables....
in this u need to define cells under table tab in that goto details...
in data tab u will have to loop on internal table...
and in pattern u will have select the patterns...
for that table...
hope this will help u out...
please reward points in case usefull...
regards,
prashant -
Problem with smartform table node
hi i am working on smartform,
requirement is to put lot of barcodes , with a horizontal line separating them,
so i felt, displaying a table pattern inside a loop was the way to go,
but when i am setting table parameters in the details part,
i was giving the following and it was giving error saying
the width of matnr and barcode doesnopt correspond to the total width of the table
the total table width is 16 CM,
MATNR 15.50 MM 30.50 MM
BARCODE 15.50 MM 30.50 MM
what ever value i am giving in these columns, it continuosly giving errors,
if some budy has a sample parameters which worked with them, please give me,
i shal;l make necessary changes.
when i increase the table width it says doesnt fit in the page, page is DINA4 with portrait format.
please help.
rgds.hi check this for bar codes in smartforms..
http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
regards,
venkat -
Smartform Table Line types duplicate entries problem
Hi ,
I am getting one strange problem in Smartforms. i tried for information in SDN but i did not get any usefull ones.
I have created my main window with particular width. I created two different Line types. On particular condition i need use these line types.
First line item will have 6 columns in that one column is empty.
Second liitem will have 5 columns.
When i am generating the output, the last item data of the first line type is repeating twice, i.e with first line type and the second line type.
Can anyone give me the inputs to solve this.
Thanks,
Srinivas BhavanamDid you check SAP notes?
I don't understand what you get exactly:
For the last line of the internal table, you would like to get this:
A B C D E F
G H I J K
But you get that:
A B C D E F
A B C D E F
Did I understand correctly?
Did you use something special? (header, footer, conditions, ...) -
Doubt in smartform table control
hi,
in my smartform i want to display the table control, i got that normal table control, but i want to change the table control format, that means in write side in the tabs column no need of calculation i need event tab, how to make that?
Thanks and regards,
Gowri.Hi Gowri,
You cannt display Table control in smartform output. As it is reporting tool. Not Dialog Module.
In data tab of table control you can have events.
Reward if useful. -
Hi Experts,
In Smartform I am having a table in which data is coming at runtime more than a page and have to sum the column fields and to display at the end of the table.At the bottom of every page the table column lines look unfinished..How to put a line at the bottom of the table for every page.
thanks,
Yoganand.GHi,
Declare the table window in a TEMPLATE. Now declare the new line type which you would like to print at the end of the table on every page. So place this window below the table. Also put a condition like, when table window is displayed with some data, then print this line type, otherwise neglect it.
Regards,
Santhosh. -
Smartforms (Table Patterns)--very Urgent
M working on smartforms......but will i create table ......and clicked on table pattern.......no list is coming......is it deactive or wat??
Please help me in this....its vry urgentHi,
Please try doing it on somebody else's computer.
I have also experienced this once but donno the reason.
Regards
Nishant -
could nay one plz tell me how to create tables in smartform , how to write text in tables and can we use template with in tables.
could any one forward me links or study material on thisHi ram,
most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
Check these links.In this,I am explaining everything step-by-step.Kindly reward points by clikcing the star on the left of reply,if it is useful.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
Check these links also.
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://sap.niraj.tripod.com/id67.html
http://myweb.dal.ca/hchinni/sap/smartforms_home.htm
Step by StepGood one):
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
regards,
keerthi. -
Smartforms table: how to fix the number of rows to be display in the table.
Hello.
I´m having problems with a smartform. I have defined a window with 7 cm high. Then I have define a table to print the content of a table.
I'm using the header, the main area, and the footer. It seems to be ok. But the main area is sizeble. I mean, that if in the table has 2 records, it dispaly the 2 records and inmediatly display the footer. It probably use only 3 cm of the 7 cm defined for the high of the window.
And I want that the footer of the table would be display at the end of the 7 cm of the window. Is that posible ?
Please, tomorrow we will have our kick off the module and this is the last issue we have.
Thanks in advance for your help.Better idea wud be to create a WINDOW, just Below you Main window (After table) ..
In Form Layout (Form Painter) you can fix this Window on any place , Pass the FOOTER text node over there .. So you will get a Static FOOTER diplay ..
That what you need ?? Let me know
Edited by: Lokesh Tarey on Jul 22, 2010 7:15 AM -
Prinitng smartform tables in full sheet
Dear All Gurus,
This is my request. I need to print a customized smartform (ex :GRN) according to below.
Format of Smartform(1 page Smartform) :
Header Windows (Adress / LOGO)
Table Data
Footer window (signatuees / agreement texts)
(If the smartform prints 3 sheets (due to a lot of rows in the table) -
1st sheet should show the header windows & table
2nd sheet will carry out printing rest of the table data without priniting Header window (The total page space should be taken by table)
3rd sheet will print the last rows of table & footer windows )
I have designed the smartform & prints pages as above. But I cant figure out the way to expand the size of the table in the 2nd page to print it in full page.
Plz Help
Thanks'HI,
Thank you for the reply..
Kindly note that this smartform is 01 page smartform. (I have designed everything in single page.)
Header Windows (Adress / LOGO)
Main window (Table Data )
Bottom window (signatuees / agreement )
What happens here is if the table has 5 rows of Data, it is printed perfectly in a single A4 sheet according to my requirement because space is enough to print everything.
But if there are 500 rows of Data in the table, what needs to be done is from 2nd A4 sheet onwards the table should acquire the total space of the sheet (including space given to LOGO, Address windows & bottom windows) until the loop ends.
How do I get the total space because the table doesnt expand the size in main window of the smartform.
Can we get that by expanding main window in 2nd page as you said?
Thanks -
Smartform table with empty value in cell
Hi,
in my smartform i´ve got a table with four fields:
e.g. MATERIAL QUANTITY BAGS TEXT
the question is that if value of field BAGS is initial the smartform displays
the value of field TEXT in the cell of field bags,
that is, if BAGS = INITIAL i would get:
MATERIALl QUANTITY TEXT
(the value of field TEXT has been shifted to the left)
What do i have to do in order to avoid the shifting of values to the left if one
of the cells has an empty value?
Best regards.Hi,
I guess you are using tabs to print the four fields of tables.
As those are fields of tables make use of TABLES concept in smartform instead of tabs. Then it will print in the exact location.
Give each field as one cell in the table.
Br,
Laxmi. -
How to display smartform table content in condition basis
Hi experts
In smartform, can i display the content of table in a condition basis.
For example am displaying 4 rows in a page.
If the rows exists more than 4, remaining rows i want to display in next page.
Is it possible, if so, how to do, pls anyone help me on this.
Thanks in advance.
Regards
Rajaramhi,
use the command which is present in the flowlogic.
In that tick the <b>Go to new page</b> check box and write the page no. into the i/o bos besides it and write the condition whatever it is.
thanks
Dharmishta
Maybe you are looking for
-
Permissions Keep Getting Screwed up: WHY?
I upgraded my MacMini from 10.4.11, which I'd used for years, to 10.5.8 recently. In the final analysis, I shouldn't have. Although more and more applications I want to run seem to now require at least 10.5, I should've forgone the desire to use them
-
How do I save a photo when it is sms
how do you save photos in ios7 when some one sends it as a sms
-
? with java on what should i get also more ? help plz ?
i need to know what java i should use for the enternet this java i need is to run programs on the enternet like games exd. and ways can you give a link and step by step on how to instal java im useing redhat linux 8.0 yes i am a noobie
-
Install a Test/Dev instance for SAP MII.
Hi, I want to install a test/development instance for SAP MII on my laptop [2 GB RAM]. Per my understanding, for this i would need set up SAP NetWeaver CE instance and deploy SAP MII 12.1 component. I also want do some custom development & integratio
-
Compiling jsp pages in wl 10.0 2 times slower than wl 9.1
Hi: I have enterprise application. In weblogic 9 it took 4-5min to compile all the jsp pages, in weblogic 10 it takes 10-11min!! Is there anything I can do to speed it up?