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 / 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


Please Help Members By Posting Answers For Below Questions

Suppose there is check box along with the rows. The requirement is, select the require check boxes and press a used defined button to save all these checked row data to another table. How can you do it?

2005


What happens if we use leave to list-processing without using suppress-dialog?

1087


Can you create a table with fields not referring to data elements? : abap data dictionary

1228


What are the differences between domain and data element?

1029


What is the function of a data element?

1027


Which objects are independent transport objects? : abap data dictionary

962


How can we create callable modules of program code within one abap/4 program?

1051


What is the function of a data element? : abap data dictionary

1007


What is the difference between bdc_okcode and bdc_cursor? : abap bdc

1048


What are the functional modules used in sequence in bdc? : abap bdc

1022


What are dml commands in abap?

1198


What are logical data bases used in hr module? : abap hr

1208


Where do you create indexes in abap?

1057


What are the types of records that are transferred to sap r/3 and used by interfaces? : abap bdc

1076


What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary

1072