Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartform question

Former Member
0 Likes
597

Hi gurus,

i need to create a smart form,

i have an internal table which has 6 columns.

these data has to be shown in the smartform,

but aftyer each row, a horizontal line should appear.

and also the 4th and 6th column values should appear as barcodes.

now i have a slight idea of how to handle barcodes ,but how to put a horizontal line afetr displaying each row.

rgds.

6 REPLIES 6
Read only

Former Member
0 Likes
576

hi,

use sy-uline for horizantal line between each field so that u will get a horizantal number.

use template there u can use the horizantal lines i think.

please reward me if useful.

gupta

Read only

Former Member
0 Likes
576

hi sanjana ,

just think it , can you write a line at the end of a table line for every row in a genefal program..once think it and ask the the requirement is....

regards,

venkat.

Read only

Former Member
0 Likes
576

i thank you people for your time,

actually,

i need to print in the smartform,

one customer number his matnr, his other detail, and a barcode,

after thsi we draw a line,

then we display the same details of another customer.

after thsi we draw a line,

then we display the same details of another customer.

.

.

.

.

If it was a report program,

after every write stmt we could have kept a sy-uline in teh loop.

but is it possible in smart form to loop around a set of program lines.

rgds.

Read only

0 Likes
576

Hi Sanjana,

1.Define a fied symbol say <FS> in the global definitions field symbols type the structure of your internal table.

2. Creata a table under the Main Window in the smart form.

3. In the Data tab of the table check internal table and assign it to the field symbol <FS>

4. Now in the table main area create a table line .

5. You can create a text under each cellline for your 6 columns .

6. Give each field value in each text. like <FS>-field1, <FS>-field2,...

7. For barcodes use the B1 character format.

Hope this helps you.

Thanks ,

Suchitra

Read only

0 Likes
576

Hi Sanjana,

If i have not mistaken u have to print the details in the form a table, right!!?

if that is the case, hope u have all data in the internal table

just u need to create a table in the smartform.

click on main(any window u want)

->create->table.

then u can see table painter window.

click on Details button on the right hand side

divide the table line into differnt columns according to your requirement

and again come back to table painter

now in the table painter window u can see the columns of the ur table

then select each column and select the boarders.

hope this helps u

bye

Read only

Former Member
0 Likes
576

hi sanjana ,

listen one thing you requirement is like you had a table of 10 lines means the table is a continious structure ...the ten lines are assembled with out no gaps the data may be place inbetween the lines .then how can you put a underline at end of every line..

regards,

venkat