No public:
SAP Technical
Author:
Matinal
Original Source:
http://www.cnblogs.com/SAPmatinal/
Original link:
[series] SAP ABAP ABAP ranks conversion method
The preface
We can focus on my public number, the number public in the layout better, read more comfortable.
Body part
Someone asked: Horseshoe give you an example of converting the ranks
I: Baidu a lot of it, look for
Back: Baidu did not understand ah come
Me: Well, write an example
Long useless in the blog hair code, send ranks of the conversion example
In fact, the principle of understanding is like, is to get to the line, then the dynamic assignment to the column
code show as below:
LOOP AT itab1 INTO wa_tab1. CLEAR wa_tab2. ASSIGN COMPONENT sy-tabix OF STRUCTURE wa_tab2 TO <fs1>. cline = sy-tabix. DO. ASSIGN COMPONENT sy-index OF STRUCTURE wa_tab1 TO <fs2>. IF sy-subrc NE 0. EXIT. ENDIF. IF cline = 1. ***hide*** ELSE. ***hide*** MODIFY itab2 FROM wa_tab2 INDEX sy-index. ENDIF. ENDDO. ENDLOOP.
More technical articles, I am concerned about the number of public right