Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8501

Re: Convert Rows(Entries) into Columns(Fields)

$
0
0

hi vijay,

 

Field-symbol: <fs> type any.

DATA: l_index TYPE sytabix.

 

DO.

l_index = l_index + 1.

ASSIGN COMPONENT l_index of ITAB1 to <fs>.

IF sy-subrc = 0.

  ITAB2-field1 = <FS>.

  APPEND ITAB2.

ELSE.

  EXIT.

ENDIF.

ENDDO.

 

this is the logic....

 

hope it helps...


Viewing all articles
Browse latest Browse all 8501

Trending Articles



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