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
What has to be done to the packed fields before submitting to a BDC session.
Is the basic list deleted when the new list is created?
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
What is an abap data dictionary? : abap data dictionary
why particularly lock object name starts with EZ OR EY?
What are the screen painter and menu painter?
What is the purpose of sum statement?
How can I make a differentiation between dependent and independent data? : abap hr
Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul
What are extracts?
I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.
What is IMG in SAP?
How the at-user command serves mainly in lists?
Explain the relationship between a functional area, user group, and query when developing queries using the sap query tool?
What is an rfc?