on 02-03-2017 2:29 PM
Hi
I have 4 info objects zmat1, zmat2, zmat3 and zmat4.
I need to populate data for these in 1 row.
The internal table I have populated have got data in below format
zmat1
zmat2
zmat3
zmat4
All are separate row. I want to do the below example
loop at result_package assigning <result_fields>.
loop at internal table into wa.
c =c +1
<result_fields>zmat + c = wa value.
endloop.
endloop.
Any ideas?
Thanks
Use ASSIGN COMPONENT ('ZMAT1') OF STRUCTURE <result_fields> TO <zmat_dobj>
Instead of 'ZMAT1', use a variable to define the name at runtime.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.