on 09-22-2008 5:23 PM
Hi, all.
May i know how to run the PERFORM subroutine for just one time only in sapscript ??
PERFORM READ_ADRNR IN PROGRAM ZYX
USING &EKPO-ADRNR&
CHANGING &ADRNR&
ENDPERFORM
Bcz the routine will run a lot of times, but i just want the first record/data only. what sohuld i do?
Thanks in advance.
Hi jiansi,
Create two pages:
page next page
first page---->second page.
second page--->second page
In first page create the variable window in that write the perform.
In second page display the data as per your requirement.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sorry...i wrong state already.
What i mean is, inside the main window in sapscript there, i have a perform routine. As we know, the routine will run repeatly. But I want take out the first and the only data, others will be ignored.
My problem now is each time after execute the program, the output result show out the final result. What i want is the first data.
What should i do in the script editor in main window (PERFORM)? or modify my print/report program (FORM) ?
tnx in advance.
Hi
It depends on when u have insert that perform: in which window? in which text elements?
U should insert it in a secondary windows placed in the first page only or in a text element u call once.
Max
Edited by: max bianchi on Sep 22, 2008 6:35 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.