cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript issue

Former Member
0 Kudos

Moderator message: please use an informative subject in future

hi all,

when i printing the main window of my form , there loops a table ztable which contain 2 parts(5 records in ztable for example) :

1st. no vat lines. (record 1,2,3)

2nd. vat lines. (record 4, 5 )

the problem is after the 1st part printed , i just want a header for vat lines , this header is show only once.

and these 3 parts : 1st part , vat line head , 2nd part are in same element in main window. and also i could not change the print program .

how do i do that , please guide me !

Best Regards

Kevin

Edited by: Matt on Dec 16, 2008 10:58 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hey Kevin,

would you get to know as to when your header or 1 st part end and the second part starts.

if you can get to know then based on that condition

you can print header text using if endif.

Regards,

Ravi Kiran

Former Member
0 Kudos

hi ,

my issue if solved .

Regards

Kevin

matt
Active Contributor
0 Kudos

Please use an informative subject in future

Former Member
0 Kudos

u r working on sap script or smartform?

in sap script u easly handle this condition . but in smartforms u have to insert text value after 3rd record.

Former Member
0 Kudos

hi kishan ,

i am working on sapscript . could you share ur idea ?

thanks and regards

Kevin

Former Member
0 Kudos

hello,

can u try this way:

if this is VAt line (like VAT amt <> 0) and &count& ne 'X'

include text for header or

header text.

/: define &count& := 'X'.

endif