Based on certain condition how can we show different columns in output of ALV?? For Ex if Condition A is met we need to show 1 5 and 7 column , If condition B is met we need to show 1 2 and 4 and if condition C is met we need to show 1 3 and 6.
Answer Posted / prakash rao
built three diffrent filedcatlogs for three diff conditions
and display output.
if cond x.
perform buildcat1.
perform alv display1.
elseif cond y
perform buildcat2.
perform alv display2.
elseif cond z.
perform buildcat3.
perform alv display3.
endif.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between tables and structures?
please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?
What are the fields in the memory table ‘screen’?
what will happen if called program is not executable ?
In se11 -->Tech. settings --> Data class. If I save table as Mater data OR Transaction data, what effect will it has for 'Storage' in Database after activation. or In Database how it will store in both the cases.
How do you execute the payroll
What is the disadvantage of a call by reference?
What are the basic object types? : sap abap hr
What are the types of data types in the sap abap?
What is the significance of delivery class? : abap data dictionary
How does the interface between the dynpro and the abap/4 modules take place?
In delivery processing which step comes first picking, packing, posting goods issue ?
What are internal tables? : abap hr
What is a fall back class?
What are the client dependant objects in abap / sap?