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
How can we handle table control in bdc? : abap bdc
What happens if we use leave to list-processing without using suppress-dialog?
Can we control the sequence in which multiple implementations of a multiple use BADI are called? If yes, how?
What are the aggregate objects in the dictionary? : abap data dictionary
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization
Explain the difference between call screen and leave screen?
What does the extract statement do in extract datasets? : abap modularization
What is the difference between a structure and a table?
When a program is created and need to be transported to prodn does selection texts always go with it? If not how do you make sure? Can you change the cts entries? How do you do it?
Did you use buffering?
What is the use of message command in a report? What are the different message types?
I just wanted to know that when I am recruiting somebody, I am generating his personal no also. Then I want to give him training also. Now I just want to create 2 scenarios to clear my doubts? : sap abap hr
How did you transfer legacy data in the mid of the financial year (us) to the sap system? : sap abap hr
When will the current screen processing terminates?
In BDC, data transfer is done success in foreground mode but if we done the same in background mode it shows errors. What is the reason?