Hello expertise
I just wanted to know the condition which will display the data of particular row in to another page .
how to declare the particular ebeln in to some variable and then display it .
Here's the code -
AT LINE-SELECTION.
IF sy-lsind = 1.
WRITE : /5 'EBELN',
15 'MATKL',
30 'INFNR',
40 'NETPR',
60 'NETWR',
70 'BRTWR',
80 'SPINF',
90 'PRSDR',
100 'PRDAT',
120 'EFFWR'.
ULINE.
ENDIF.
* READ TABLE it_EKPO INTO wa_EKPO WITH KEY ebeln = wa_EKKO-ebeln.
* LOOP AT it_FINAL INTO wa_FINAL WHERE EBELN IN S_EBELN.
* wa_FINAL-EBELN = wa_EKPO-EBELN.
* wa_FINAL-MATKL = wa_EKPO-MATKL.
* wa_FINAL-INFNR = wa_EKPO-INFNR.
* wa_FINAL-NETPR = wa_EKPO-NETPR.
* wa_FINAL-NETWR = wa_EKPO-NETWR.
* wa_FINAL-BRTWR = wa_EKPO-BRTWR.
* wa_FINAL-SPINF = wa_EKPO-SPINF.
* wa_FINAL-PRSDR = wa_EKPO-PRSDR.
* wa_FINAL-PRDAT = wa_EKPO-PRDAT.
* wa_FINAL-EFFWR = wa_EKPO-EFFWR.
* APPEND wa_FINAL to it_FINAL.
LOOP AT it_FINAL INTO wa_FINAL WHERE EBELN IN s_EBELN.
WRITE: /5 wa_FINAL-EBELN,
20 wa_FINAL-MATKL,
50 wa_FINAL-INFNR,
60 wa_FINAL-NETPR,
70 wa_FINAL-NETWR,
80 wa_FINAL-BRTWR,
90 wa_FINAL-SPINF,
100 wa_FINAL-PRSDR,
110 wa_FINAL-PRDAT,
120 wa_FINAL-EFFWR.
ENDLOOP.
Can anyone help.
Thanks
Regards
karan