cancel
Showing results for 
Search instead for 
Did you mean: 

fields only to be displayed for last line item

Former Member
0 Kudos

I copied WESCHEINVERS3( goods receipt form) script to zxxxx and placed some fields in Main window using Perform statement. When i am displaying the output these fields are getting displayed under each line item. but i want them to be displayed under last line item.Please suggest how can i do this.

Thanks

K Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

data: v_cnt1 type i, v_cnt2 type i.

count the number line item using describe lines statement in V_cnt1

and in the table loop count the number of item into V_cnt2.

place the field that you want at the end of all line item in the footer of the table and put a condition in the condition tab v_cnt1 = v_cnt2.

Former Member
0 Kudos

Would the account window be above the footer and only printed after all the line items have been printed. If thats the case you could place the text of the account window in the main window between the commands "BOTTOM" and "ENDBOTTOM". I think that would sort out your problem.

Answers (1)

Answers (1)

Former Member
0 Kudos

answered