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 / prakash235
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 |
Post New Answer View All Answers
Update function modules are classified as either v1 or v2. Which type of update is performed first and in what mode (asynchronously, synchronously or locally) can each type be processed in?
Business scenarios related to your objects( In my case -Rulebook and Pricing work flow)
How do you import pay scale data from non sap to sap? : sap abap hr
What is an interactive report?
What are the advantages and disadvantages of using views in abap programming ?
Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subarc after perform?
What is the difference between pnp and pnpce? : abap hr
What is a help view? : abap data dictionary
What are the main uses of the primary key?
What are the advantages/ dis-advantages of logical databases?
Hat are the different types of mode (run code) in call transaction method?
What is value table? : abap data dictionary
Why grouping of fields is required? What is the max no of modification groups for each field?
Explain the uses of the simple maintenance interface? : sap abap hr
Does the call transaction method allow multiple transactions to be processed by sap?