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 |
hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.
What are the different OK Codes that can be used in batch input processing?
How to transfer a smartform from Development to Quality Server?
Advantages and Disadvantages of ABAP Object Oriented programing to Java programming ?
Write special commands of list?
Why do we use CALL FUNCTION ..IN BACKGROUND TASK and CALL FUNCTION ...STARTING NEW TASK? What is the difference?
What is the difference between Customizing Data, Master Data and Transactional data?
How to debug sapscripts ?
What is off cycle payroll run
Where are the LSMW events :BEGIN_OF_PROCESSING, BEGIN_OF_TRANSACTION and BEGIN_OF_RECORD declared? Why?
1 Answers Cap Gemini, Deloitte,
While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc
How many types of data classes are there in sap abap? : abap data dictionary