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

Interactive Report

Former Member
0 Likes
622

Dear All ,

I am writting the given below code .

tables MARC .

DATA T_MARA LIKE TABLE OF MARA WITH HEADER LINE .

SELECT * FROM MARA INTO TABLE T_MARA UP TO 20 ROWS .

END-OF-SELECTION .

LOOP AT T_MARA.

WRITE : / T_MARA-MATNR , T_MARA-MBRSH .

HIDE T_MARA-MATNR .

ENDLOOP .

AT LINE-SELECTION.

if sy-lsind = 1 .

select * from marc where matnr = T_MARA-MATNR .

WRITE : MARC-MATNR , MARC-WERKS .

ENDSELECT .

ENDIF .

This code works fine and also responds to At line-selection event . Now if I add SET PF-STATUS 'ZSTATUS' immediately after END-OF-SELECTION. then my program do not navigate to detail list . what is the problem .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
600

HI,

I think u got a error chooes a valid function. ok first u double click the pf ststus name and open the function keys F2 function is there in Recommended function key settings now there Choose option is there u may delete and give pick it will be work.

5 REPLIES 5
Read only

Former Member
0 Likes
600

HI

AFTER THE END-OF-SELECTION THE DETAIL LIST CAN'T BE DISPLAYED

IF YOU WANT TO DISPLAY SECONDARY LIST THEN DON'T USE END-OF-SELECTION BECAUSE AFTER BASIC LIST GENARATED THE END-OF-SELECTION EVENT WILL TRIGGER WHICH IT WILL DISCONNECT THE CONNECTION TO THE DATBASE

SO IF YOU WANT TO DISPLAY SOME DETAILED LIST THEN DON'T USE END-OF-SELECTION EVENT

USE ONLY FOR THE CLASSICAL REPORT

REWARD IF USEFUL

Read only

Former Member
0 Likes
600

THATS WHY END-OF-SELECTION IS USED MAINLY IN LDB REPORTS

Read only

Former Member
0 Likes
600

Your problem is..

At a time you can't use AT LINE SELECTION & AT USER COMMAND unless you do following..

in SE41 open ZSTATUS in change mode.

in front of Funtion key 'F2' replace <..> with PICK ..save and activate

then it works...

Read only

Former Member
0 Likes
601

HI,

I think u got a error chooes a valid function. ok first u double click the pf ststus name and open the function keys F2 function is there in Recommended function key settings now there Choose option is there u may delete and give pick it will be work.

Read only

Former Member
0 Likes
600

Hi Raghavendra,

SET PF-STATUS IS ONLY USED FOR AT USER-COMMAND.

IT DOESNT WORK FOR LINE SELECTION.

IF WE WANT TO USE SET PF-STATUS IT CAN ONLY ACTICATE BACK,EXIT,CANCEL BUTTONS ONLY.

IT DOESNT GO FOR INTERACTION..

IF U R SATISFY WITH THIS ANSWER GIVE ME REWARD POINTS FOR ME

I AM SURE ABOUT WITH MY ANSWER