Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problems with a loop

Hi experts!

I've a problem with my loop in my smartforms:

I put this code in data:

xform into zxform

line 10 to 15.

Now, I want to write the line 10, the line 11, the line 12.... but I don't know how can I do this, does anybody know how? Now the result is that I'm printing the last line (line 15)

After the loop I've a text and a field that's is

&ZXFORM-LINDA+50(30)& How can I reference this field to the line that correspond?

Thanks and regards

Rebeca

replied

Hi Rebeca

xform into zxform

line 10 to 15.

After Above.

Please creat line type according your number fields in internal table and assign to Main table and assign ZXFORM-<Field name>

Please make sure that your main window size is only for 7 lines ihope Becausae 10 to 15 and one text.

In footer you have to create text node, assign

&ZXFORM-LINDA+50(30)& to text node,

Thanks and regards

Jana

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question