How to transport display variants in alv
Hi,
Can any one please help me in transporting alv display variants?Actually I have transported the variants ,but only selection variants are getting transported.I want to transport ALV display variants accross the clients.
Please reply soon.It is very urgent.
Hi,
Please use the following :
First execute the report .
Then Menubar Settings> Layout> layout management>select your variant> menubar layout--> transport
This will work only when your variant management is activve in your ALV report.
Similar Messages
-
How to transport BEX variants in BI?
Hi,
after the bw-upgrade we have problems with the transport of our variants created in BEX. In BW 3.1 we used saplsvar ( with report-id and variantname) to create a transport. But this doesn't work with BI. Does anyone know which parameter saplsvar need to create a transport in BI?- Or which other alternativ exists to transport a variant.
Thanx in advance.Hi,
the new variants will be stored only in RSRVARIANT, but not in the VARID. In VARID are only the variants saved in 3.x version.
But how can I transport RSRVARIANT; its a SAP-table?
I'm looking for a program like RSTRANSP, because this program will not work with BI.
Detlef -
How to transport Query variant used in APD
Hello Experts,
I have created 2 query variants for a query in Development system. And, these variants are being used in APD. Now, when APD is transported to next system, query variants does not exist in next system, so cannot execute APD.
Please let me know how can i transport the query variants.
Note: Gone through SDN, and found, query variants can be transported through some tables.
Please let me any other possibile sloutions for the same.
Thanks
LavanyaHi Lavanya,
To the best of my knowledge, you cannot transport query variants. You have to manually create them in each system. The reason being, when you try to create variants through RSRT -> Query Variants, you are basically trying to create variants for a temporary program generated during run time!
These run time programs do not have TADIR entries (not transportable) and hence any sub elements (like variants) created on these programs are not transportable as well.
Actually you can export variants.Please follow the below steps:
1. Go To TCode SE38.
2. Execute "RSTRANSP".
3. Input your program name.
4. Input your variant name ie. "Z**** ".
5. Execute.
6. Click on continue.
7. You should be able to create a new transport at this point.
Hope It Helps,
Thanks,
Amit Kr. -
Hi,
I copied an existing Z report program to a new program to conform to the naming standards and deleted the old program. (I could do renaming as well but did it this way)
When copying the program, all object including the selection variants were copied but the ALV display variants were not copied to the target program. Any thoughts on this please?
I tried using a simple program to copy the LTDX (Generic storage of display variants) and LTDXT (Display Variant Texts) entries of the old program to the new program. I checked that all entries in LTDX of the old program now exist for the new program too. When I execute the program, only the global ALV display variants are available for selection i.e all display variants that start with u2018/u2019. The user specific variants are not available although all entries in LTDX and LTDXT for the user display are in the respective tables
Thanks for respondinding.Thanks Satyasuresh. I used a similar program that copies variant entries from tables ltdx and ltdxt for a source program to new entries in the same table for the target program.
parameters report like ltdx-report obligatory.
parameters report2 like ltdx-report obligatory.
select * into table lt_ltdx from ltdx
where report = report.
select * into table lt_ltdxt from ltdxt
where report = report.
loop at lt_ltdx.
lt_ltdx-report = report2.
modify ltdx from lt_ltdx..
endloop.
loop at lt_ltdxt.
lt_ltdxt-report = report2.
modify ltdxt from lt_ltdxt..
endloop. -
Hi ,
i have developed an interactive report in which form the first grid display i will move to the second grid display.
Problem:
For the first list there is an display variant. when i navigate to the second list it is using the same display variant form the first list ( this should not hapen ). so many of the fields are not be displayed in the second list.
Is there any way to differentiate the display variant from first and second list.
Please help me. sample code will be more helpful.
Patilhi santhosh
You can very well create 2 variants in your report for grid display...just restrict some fields n create 2 variants and while executing jus choose which variant you need to run..
REWARD IT IF USEFUl...!!!! -
How to make display variant layout as default ?
Hi All,
I have created display variant for VA05 layout as per user requirement.
Now whenever I execute VA05, I want that display variant layout should get defaulted. Currently SAP default one is executing and everytime I have to select manually my own display variant layout.
Please suggest.
Thanks.
Swarup.Hi,
you can set your layout as default.
Goto VA05, enter necessary info. press enter. system will give list of sales order
Goto settings, select layout and choose administration.
click on default setting for your layout ( you get right symbol for your layout) and save it.
Regards,
Chandra -
How to transport variable variants
Hi Gurus,
I want to transport the variable variants? how can i do that? in BI7 system.
Regards
Kiran Kumar Manku.Hi,
Looks Funny, but i got the variants i have created in Dev to QAS. I thought of creating in QA but when i checked them, they already exists. Did u checked in RSRT , Query Variants after transporting the Query ?
In my case i have used the Variant in the APD's.
-Sonti- -
How to fix a variant in ALV layout management
Hi experts
I have a requirement to fix one of standard layout of a ALV when user execute it, is there a way to excecute it (variant) from code lines in program?
I will appreciate any information.
Regards
mggSolved.
I create a layout variant and transport it.
Thanks. -
How can i display light in ALV
hi gurus ,
i want to use lights in my program. i don know how to proceed. can anyone of you pl help me with code.
An early reply will be highly appreciated..
regards,
Neeraj Srivastavahi,
In simple words.
1) Create a field in your internal table which is used in the ALV Grid. Call it LIGHT.
2) Create this field in your field catalog also, and make sure to set the field in the field catalog for ICON.
fieldcatlog_wa-ICON = 'X'.
3) Now to fill the field you simply WRITE the icon to the field.
Loop at itab.
case itab-field1.
when 'A'.
write icon_green_light as icon to itab-light.
when 'B'.
write icon_yellow_light as icon to itab-light.
when 'C'.
write icon_red_light as icon to itab-light.
endcase.
modify itab.
endloop.
Rgds
Reshma -
OOPs : SAVE and ALV Display Variant
Can you please send me the code for 'Save and Display Variant' in ALV OOPs.
DATA : l_layout TYPE disvariant.
l_layout-report = sy-repid.
l_layouth-zebra = 'X'.
CALL METHOD gr_alvgrid->set_table_for_first_display
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
i_structure_name = 'ZQM01'
<b> is_variant = l_layout
i_save = 'A'</b>
I_DEFAULT = 'X'
is_layout = gs_layout
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
it_outtab = gt_list[]
it_fieldcatalog = gt_fieldcat
IT_SORT =
IT_FILTER =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How could I transport the variant and layout setting in SE16
Hi ABAPers,
Would any of you please advise me on how to transport the variant and layout setting in SE16? I cannot see any transport request in the menu but would like to understand how to manage through transport requests.
Thanks in advance
Kind regards
taroHi Taro ,
Use the below 2 links to solve your problem,
Problem in Layout Variant transport - variant not attached to TR
http://www.sap-img.com/basis/transport-guide-tips-for-different-sap-objects.htm
Regards ,
Saravana -
Variant in ALV selection screen
Hi friends,
How to protect a variant in ALV selection screen from changing or deleting by other users.
Thanks,
RajeshRajesh,
You still need someone to be able to change the variant, right? That is what exactly PROTECT VARIANT does.
If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.
Regards,
Ravi
Note :Please mark the helpful answers and close the thread if the quesiton is answered -
hi,
I wrote a code for allowing the user to choose a display variant in the selection screen. The user chooses the required variant in the selection screen and views the ALV grid accordingly. This code is working fine in the development server but as it was transported to the quality server, somehow it has stopped working.
Any new variants that are created are displayed in the selection screeN F4 help, but somehow the variants are not working.
Could anyone suggest where i am going wrong?
Thanks,
Avirooptry to comment it and see./
it will work..
you are telling that alv Fm set the default variant.
if you don't want then comment it, then what ever you choose in selection screen will come in the output otherwise defaut variant overrides the selected one.
Regards
vijay -
Transport a display variant ( screen variant )
Hi,
I have copied a standard display variant (screen variant to choose the fields on output) to Z variant with some more fields added into it.
I need to tranport this Zvariant to the production system
Can any one help to how do i insert this variant into the tranport.
thanks
Sandhyathe program RSTRANSP is to be run for transportin variants.
plz chk this link:
Re: Transporting Screen variants -
How to display total in ALV Header
How to display total in ALV Header?
Hi Venkey,
As far as your issue is concerned I would like to quote my perception.
Create a header internal table with title and number of records.
At the later part of your program you should have found the total number of records ,now assign it to the header internal table and print it.
For further clarification you can go check this link:
http://wiki.sdn.sap.com/wiki/display/ABAP/AddHeadertoALVreport
Thanks
P.Srikanth
Maybe you are looking for
-
How do I implement a stop trigger for my 6602 counters?
I currently have the start of data acquistion for two channels syncrhonized with a start trigger. I am doing simple event counting using two seperate counters. For my start trigger, I use a third counter to generate a single pulse and put the output
-
Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive
-
Image capture won't recognize Canoscan lide 700f
Hello. I have OS X, v. 10.6.7 I have been using Image Capture to run the Canoscan lide 700f scanner. Then, it stopped recognizing the scanner. Image capture is opened and says "no camera or scanner attached." The scanner is operational. The M
-
My ipod works and does all other functions but even with the volume all the way up, no music plays when my earphones are plugged in. I've checked the earphones with my other ipod and they are fine. Someone help!!! and yes I've already done the restor
-
Chrome Create PDF Extension Doesn't Convert Secure Web-pages (Acrobat XI)
I still cannot convert secure webpages in Google Chrome using the Acrobat XI Create PDF Extension. This is annoying when for example I checkout from a site and I want to convert my receipt to a PDF, however it simply does not work. see other posts