2008 May 22 9:41 AM
Dear all
Please see this simple piece of code.
Report ztest.
start-of-selection.
write:/ 'list1'.
set pf-status 'ztest'.
at line-selection.
write:/ 'list2'.
But in this case at line-selection is not working. the cursor is not moving to the secondary list.. why its happening.. The pf-status is necessary for me here. Please give me a way to move to secondary list eith the pf-status..
Thanks in advance
2008 May 22 9:48 AM
hi check this...
start-of-selection.
write:/ 'this is test'.
at line-selection.
set pf-status 'ZTEST'.
write:/ 'list2'.
regards,
venkat
Dear all
Please see this simple piece of code.
Report ztest.
start-of-selection.
write:/ 'list1'.
set pf-status 'ztest'.
at line-selection.
write:/ 'list2'.
But in this case at line-selection is not working. the cursor is not moving to the secondary list.. why its happening.. The pf-status is necessary for me here. Please give me a way to move to secondary list eith the pf-status..
Thanks in advance
2008 May 22 9:46 AM
2008 May 22 10:00 AM
use hide statement to make hyperlink for your line. Then check for the value. eg:
REPORT ztest.
DATA text(20).
DATA text2(20).
text = 'list1'.
text2 = 'list2'.
START-OF-SELECTION.
WRITE:/ text.
HIDE text.
SET PF-STATUS 'ztest'.
AT LINE-SELECTION.
CASE text.
WHEN 'LIST1'.
WRITE:/ text2.
ENDCASE.
2008 May 22 9:48 AM
hi check this...
start-of-selection.
write:/ 'this is test'.
at line-selection.
set pf-status 'ZTEST'.
write:/ 'list2'.
regards,
venkat
2008 May 22 9:50 AM
Hi Venkat
I need set pf-status 'ZTEST' before at line-selection.. Because i need to set it for my basic list.. Thats my problem plz help..
2008 May 22 9:56 AM
2008 May 22 10:08 AM
hi,
have u mentioned PICK for F2 fucntion code in the pf-status. Just check that.
this u can spot in the function keys section-> Recommended function keys setting.
regards,
madhu
2008 May 22 9:48 AM
Hi,
Use HIDE <fld> stmt after the write stmt (basic list) or the field for which u want a detailed view.
after AT LINE-SELECTION......use SY-LSIND....Use GET CURSOR.....
i think u'll get it
Thanks.
2008 May 22 9:51 AM
Hi
give that pf-status in caps...
start-of-selection.
write:/ 'list1'.
set pf-status 'ZTEST'.
at line-selection.
write:/ 'list2'.
it is working fine....
2008 May 22 10:05 AM
Hi ,
at line-selection
case sy-lsind .
when '1' .
write :/'list2' .
endcase .
2008 May 22 10:08 AM
use hide statement.it will stores data in memory temporarly.and use atline selection then use sy-lsind filed .
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |