can u create internal table dynamically ? how?
Answers were Sorted based on User's Feedback
Answer / vidya
Yes we can.
Use this method.
call method cl_alv_table_create =>create_dynamic_table
and assign this to a field symbol.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ravi kiran sankuru
By Using RTTI , we can create internal table dynamically.
PARAMETERS: P_TABLE TYPE CHAR20.
DATA : lo_table_struc TYPE REF TO cl_abap_structdescr,
lt_itab type ABAP_COMPDESCR_TAB.
*-----> Get structure of Table.
lo_table_struc ?= cl_abap_typedescr=>describe_by_name( P_TABLE ).
*-----> Move Table fields to Internal Table.
lt_itab[] = lo_table_struc->components[].
Is This Answer Correct ? | 1 Yes | 0 No |
What are the two ways of producing a list within a transaction?
Advantages and Disadvantages of ABAP Object Oriented programing to Java programming ?
which command is used to flushes the database buffer?
30000 locks are done,u r having 15 min time .to leave u r job.how would u resolve it
What are conversion routines? : abap data dictionary
Explain the call transaction method? : abap bdc
Explain the relationship between a functional area, user group, and query when developing queries using the sap query tool?
how many main windows are there in scripts?
i have 3 screens say S1,S2,S3 and i want to validate only S3.What code shud i write in the flowlogic of the screen??
2 Answers Siemens, Tech Mahindra,
what are the table controls in BDC ?
What will you code in start-of-selection & end-of-selection ?
Why do we use FOR ALL ENTRIES and what is the pre-requisite