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
What is the use of 'table index'?
Can we create field without data element? If yes, how?
What are null values?
How do you restrict the data to be entered in the payroll area? : sap abap hr
What are the basic objects of the data dictionary? : abap data dictionary
how can we enable hyperlink in screen painter?
What is payroll area
What is transparent table?
Explain the properties of selection screen?
What is an Unpack command?
What is the function of a data element? : abap data dictionary
There is a situation where there is a field "MATERIAL DESCRIPTION" in say 20 display only transaction. You want that whenever user opens any of these transaction, this particular field is masked with ****. But table does not holds ****. It holds the actual value. What are different ways of doing it? Which is the best way.
What are the page windows?
what are the various types of parameters and how are they distinguished from one another?
What are the data classes in abap?