cancel
Showing results for 
Search instead for 
Did you mean: 

Printing text in smartforms

former_member799868
Participant
0 Kudos

I'm trying to print some text which is stored in an internal table in a Smartform.

I have declared a table and workarea in the smartform.

next I have created a loop and looped at internal table into the workarea.

I have created a text in the loop which is printing the contents of the internal table.

The problem is.... The first 2 characters of each record of the internal table are not getting printed.... the rest of the contents are printing fine.

Have tried adjusting the window size... but no difference.

Hope you can help me.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

KEEP a BREAK-POINT and debug the internal table lines how it is coming

some overlap must be happening ..check.

Also check the code where you are getting this text into internal table.

1) One way to debug smartform is to debug the Function Module of that smartforms.

If you want to debug particular smartform node that the solution would be,

insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.

So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.

2) SFTRACE can be used for debugging SMARTFORMS.

Read More here.

http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

Reward points for useful Answers

Regards

Anji

Answers (1)

Answers (1)

former_member799868
Participant
0 Kudos

Hi Anji ,

I worked.... there was a mismatch in the table fields....

Thanks a bunch!!!

regards,

Karen.