on ‎2022 Jan 10 7:50 AM
Request clarification before answering.
Hello, you can do something like
FIELD-SYMBOLS: <fs> TYPE ANY,
<ftab> TYPE ANY TABLE.
READ TABLE A_INFOTYPE_REF_TABLE INDEX 1 ASSIGNING <fs>.
ASSIGN COMPONENT 'A_PRIM_INFTY_RAW_TAB' OF STRUCTURE <fs> TO <ftab>.
Then you have your desired internal table in <ftab>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to declare a data TYPE REF TO the class, and create a local friend to access this table. Did you see my comment ?
Hi liki999 ,
If A_PRIM_INFTY_RAW_TAB is a private attribute, you can invoke the corresponding method of class CL_ECPAO_IN_INFOTYPE_0000 to read it.
Your object will be <FS> and you can invoke it like <fs>-method_to_get_data() (sorry, i've not such class in my system).
Edit:
Refer to frdric.girod comment 🙂
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.