Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPSCRIPT Variable

Former Member
0 Likes
529

Hi,

I am printing the line item data in one of the elements. Since that is there in the loop it goes many times. This is a standard purchase order SAP SCRIPT that i am using. Now, i want to print a header line for these bunch of line items. Is there a SAPSCRIPT variable to do this or pls. tell me how can i achieve this. just first time it should print me and from the next time the line items should be printed as usual.

Thanks,

3 REPLIES 3
Read only

former_member425121
Participant
0 Likes
494

Hi Subbu

Wich Sapscript Form are you using ?

Does not this Form has a header so you can add your line in this ?

Frank

Read only

Former Member
0 Likes
494

hi,

if you are using standars po sap script (MEDRUCK) then it has a window header. you can put your header line inside it. since you can not sedit it. a simple way is to make your own zpo_script import medruck in it (menu->copy from) then put your header.

put a element in header and below it your lines.

then in your report program to print call function WRITE_FORM and element = your element.

hope this will work.

regards,

hemendra

Read only

0 Likes
494

This seems interesting but i have copied the layout of MEDRUCK and changing it and not the print program to put and element in it. With out touching hte driver(report) program i want to put a sub heading for my sub line items. hope i am clear. let me know if there is any solution for it.