2007 Nov 07 6:55 AM
hai abap gurus ,
iam useing set pf status to get secondary list for which i was select check box in basic list , i got the secondary list but i want to refresh the list when i use other check box in basic list to get other values ,
help me how i can refresh my secondary list data.
2007 Nov 10 12:06 AM
Hi Upender,
Before populating the data to internal table of secondary list, use REFRESH ITAB2 statement.
Reward if it helps,
Satish
Hi Upender,
Before populating the data to internal table of secondary list, use REFRESH ITAB2 statement.
Reward if it helps,
Satish
2007 Nov 10 12:06 AM
Hi Upender,
Before populating the data to internal table of secondary list, use REFRESH ITAB2 statement.
Reward if it helps,
Satish
2007 Nov 12 7:37 AM
hai satish ,
i used refresh but its not working ,
i write code like this ....
SET PF-STATUS '100_S'.
AT USER-COMMAND.
IF SY-LSIND LT 2.
CASE SY-UCOMM.
WHEN 'CANCEL'.
LEAVE TO SCREEN 0.
WHEN 'CLICK'.
*select ebeln lifnr from ekko into table itab1.
DESCRIBE TABLE ITAB LINES W_LINES.
CLEAR ITAB1.
DO W_LINES TIMES.
READ LINE W_RECORD : FIELD VALUE ITAB-CHECK INTO CHK,
FIELD VALUE ITAB-EBELN INTO ITAB1-EBELN,
FIELD VALUE ITAB-LIFNR INTO ITAB1-LIFNR.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
IF CHK EQ 'X'.
APPEND ITAB1.
refresh itab1.
ENDIF.
ADD 1 TO W_RECORD.
ENDDO.
LOOP AT ITAB1.
AT FIRST.
WRITE:/ 'EBELN' , 15
'LIFNR'.
ULINE.
SKIP.
ENDAT.
ok thanks.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |