Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Get Cursor

$
0
0

Hello Experts,

 

Im trying to generate a secondary list using get cursor i/p range of mat no. when the user double clicks on mat no. it should display the selected material no. in sec list but im getting only the last mat no. details. I have tried hide and clear statements too but for me its not coming.

 

IF FNAM = 'WA_MARA-MATNR'.

    SELECT SINGLE * FROM MARA INTO WA_MARA WHERE MATNR = FVAL .

      WRITE:/ WA_MARA-MATNR, WA_MARA-MBRSH, WA_MARA-MTART, WA_MARA-MATKL, WA_MARA-MEINS, WA_MARA-ERSDA, WA_MARA-ERNAM.

  

 

 

  ELSEIF FNAM = ''.

...

...

... 

...

...


  ENDIF.

 

 

ENDFORM.

 

O/P:

 

Basic list:

 

23                 ROH  EA  1

38                 HALB PC  M

43                 HAWA HR  1

58                 HIBE PC  M

59                 HIBE PC  M

68                 FHMI PC  A

78                 DIEN PC  M

88                 FERT PC  M

89                 FERT PC  M

98                 HALB PC  M

 

Secondary list if mat no.

 

98                 M HALB 002       PC

 

 

only last value is coming


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>