on 05-29-2007 10:36 AM
Hi friends,
I have to display data using script.
for each and every customer record i have to print the adress of the customer in a address window. the custoemr name and related details in the info window. all the item data should get printed in the main window. i have defined a select option for custoemer. For each and every customer related address , info and data should be printed.all the customers should be displayed in a single form. totally there are 9 records at header level. How can i do this using SAP Scripts.
Hi you can try it as below:
for each customer details start a new page.
to idendity the address needs to be printed in the address widow and info windows, declare two variables integer variables adds, info.
In the address window:
if adds = 1.
print first customer address.
else if adds = 2.
print 2nd customer address.
so ...
endif.
In the main window.
print the item details.
In print program
when ever customer changes call new page using CONTROL_FORM
and increment the values of adds and info by one.
Thanks
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.