prakash


{ City } hyderabad
< Country > india
* Profession * sap abap consultant
User No # 107039
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { prakash }
Questions Answers Category Views Company eMail




Answers / { prakash }

Question { HCL, 10970 }

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

you can bulid three diffrent catlogues for three conditions.

asĀ 

if cond x.
perform build_cat1.
perform alv_display1.

elseif cond y.
perform build_cat2.
perform alv_display2.

elseif cond z.
perform build_cat3.
perform alv_display3.
endif.

Is This Answer Correct ?    0 Yes 0 No