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 are the two methods of modifying sap standard tables ?
What is the difference between dialog program and a report?
Can we set page headers to details lists?
How do you execute the payroll
What are the various types of selection screen event?
What are conditional chain statement?
What is step-loop? Explain all the steps?
How can I get ascii value of any letter? Is there any function?
Explain what is a logical database?
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
How many main windows will be there in a page window?
How can we create callable modules of program code within one abap/4 program?
What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary
How you attach search help to data element? : sap abap data dictionary
How can we omit a leading sign and a leading zero in sapscript?