Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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?

976


Business scenarios related to your objects( In my case -Rulebook and Pricing work flow)

1295


How do you import pay scale data from non sap to sap? : sap abap hr

1166


What is an interactive report?

1098


What are the advantages and disadvantages of using views in abap programming ?

1109


Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subarc after perform?

1073


What is the difference between pnp and pnpce? : abap hr

1653


What is a help view? : abap data dictionary

1076


What are the main uses of the primary key?

1228


What are the advantages/ dis-advantages of logical databases?

962


Hat are the different types of mode (run code) in call transaction method?

1106


What is value table? : abap data dictionary

1102


Why grouping of fields is required? What is the max no of modification groups for each field?

1017


Explain the uses of the simple maintenance interface? : sap abap hr

1058


Does the call transaction method allow multiple transactions to be processed by sap?

999