cancel
Showing results for 
Search instead for 
Did you mean: 

About Smart Forms

Former Member
0 Kudos

HI Experts

I need to print dynamic data in vertical on specific window by using table or template or any one.

Example:

VORNA.

above data i need to show output like as bellow.

A

N

R

O

V

Regards,

Praveen.

<Has nothing to do with ABAP Objects - moved to Form Printing. Please choose your forums more carefully in future>

Edited by: Mike Pokraka on Jan 15, 2009 8:15 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Praveen ,

Don't use templates as you are passing dynamic data use normal text fields(Incase of templates the size is limited).

under windows

add a program line first and add the codes as.

*b is a global variable.

b = 0.

b = strlen( "string" ).

while b > 0.

move string+sy-tabix(1) to wa.

append wa to itab

then add a loop itab to wa.

*now add a text field and put the workare 'WA' for display.

hope this works.

Former Member
0 Kudos

Hi Praveen,

I have a doubt about the data you need to print in the smartform. Data format whether it is a word or sentence or other than these two?

Pls find the solution if it is in word format:

1. Move all the characters in the internal table in the sequence last character as first record.

2. Define a table in the smartform.

3. Loop the table

4. Display the table.

Regards,

Azaz.

Former Member
0 Kudos

IF U R using a tempalte design the tempate such that its width is enough to fit only one char and height should be big so it prints the txt as specified by u.

Former Member
0 Kudos

Hello Praveen Kumar,

You can display the dynamic data content in a window line by line inside a loop.

Hope this helps.

Thanks,

Greetson