Setting display variant in BDC

Hi Guys,
   I am trying to set a particular custom display variant for item layout during BDC for MIRO. I am able to populate the MIRO screen field RM08M-ITEM_LIST_VERSION with the correct variant name, but the layout does not change accordingly. I tried doing a recording for this, but even in the recording when I try to switch between variants the layout does not change.
My questions are:
1) Am I doing someting wrong here?
2) Is this something which can be done through BDC? If yes, how can I do this?
Please let me know.
Regards,
Nanditha

Hi Nanditha,
You have to change the options when you do the call MIRO.
Parameter NOBINPT in OPTIONS must have the value 'X'.
Define the OPTIONS structure:
DATA: LF_OPT LIKE CTU_PARAMS.
Give the OPTIONS parameters a value:
MOVE 'E' TO LF_OPT-DISMODE.
MOVE 'S' TO LF_OPT-UPDMODE.
MOVE ' ' TO LF_OPT-CATTMODE
MOVE ' ' TO LF_OPT-DEFSIZE.
MOVE ' ' TO LF_OPT-RACOMMIT
MOVE 'X' TO LF_OPT-NOBINPT.
MOVE ' ' TO LF_OPT-NOBIEND.
CALL TRANSACTION 'MIRO' USING BDCDATA
                        OPTIONS FROM LF_OPT
                        MESSAGES INTO ERRORMESSAGES.
Regards,
Frans

Similar Messages

  • Line Item Display Variant MIRO-column position needs to be changed..

    Hi,
    What is the possible way of setting the column position in line item display variant in MIRO screen.
    I need to change the positions of couple of columns so need to have  one layout as per my requirement.
    Does this involve only confiuration or it also needs ABAP changes?
    Request to suggest in detail if any one has done it already.
    Thanks in advance.
    Reagrds,
    BM

    Hi Charlie,
    Thanks for this help.However I have couple of doubts.
    When I save the new variant it asks me for package or local object.
    Cutrrently I have selected n saved as local object but what is the real time scenarion.Do we need to select any package on this screen.I am not aware of these things in detail so nwant to know the difference between a local object and a package and is it functional consultant's task to do this or developers should do this since they can select the package
    Please advise on this.
    Thanks in advance.
    Regards,
    BM

  • Display variant for transaction FBL3N - can it be protected?

    Hi,
    I have made a display variant for transaction FBL3N (G/L account line item display).
    Can I protect this variant?
    I don't like other users to overwrite it.
    Thank you.
    Kind regards,
    Linda

    Hi Linda,
    Line layout variants depend on a few things.
    1 authorizations.
    you need to make sure general users cannot change the standard layout. This is done via settings, layout, administration.
    2. Personal variants, you can create your own variant and set it up just for yourself.
    This can be done by selecting the user specifc tick box. The naming will have to be different but a user wont be able to see or change your variant.
    3. Lastly you can set your variant in FB00, however all this does is assign a variant to a user, someone with either the correct authorization or a variant that is not a user specific one COULD be changed.
    Hope this helps.
    Please award points if useful.

  • User Specific Display Variants

    Hi
    Were on ECC 6.0 and when I choose to create and save a display variant from and ALV screen the user-specific box is ticked and I can not un-tick it because its grayed out - no matter what we do we can not un-tick this checkbox. We need to create global display variants so that all user can use these display variants.
    Is there a configuration setting that we can adjust ?? any suggestions to overcome this problem are welcome.
    Thanks

    Hi Eric,
    I'm a bit busy now and I cannot give you a complete solution, but sure can give you some c(l)ue. Just see if you have some success. If you do not, then i wuill get back to you later.
    Refer to the follwoing SAP Tables and see if you have some luck.
    ==========================================================
    LTDX  --> Generic storage of display variants
    LTDXD --> Default display variants
    LTDXS --> SAP Default Display Variants
    LTDXT --> Display variant texts
    ==========================================================
    The idea is to try and manipulate the table entries for various users.
    Regards,
    Anand Mandalika.

  • ALV display Variant

    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,
    Aviroop

    try 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

  • Setting default variant in QA32

    Hi Everybody,
    When the user goes to transaction QA32, the plant and other values which were there in his variant are replaced by other values. Please let me know how can a user set a variant as default so that whenever he comes to transaction QA32, his variant is used automatically without being selected from the variant list.
    Regards,
    Manish.

    Hi Sarasu,
    In QA32 screen, select Customize local layout tab(Alt+F12) - it is available very close to 'help tab'.
    QA32 -
    >Customize local layout tab(Alt+F12)---->Options-->Local data--->History---->Immediately
    If immediately is selected, you can see the last entered will be displayed.
    Hope your question is solved.
    Further you can change the output of QA32, by using change layout tab in Change data for Inspection lot / worklist screen and select options as required, save the same by your name. And you can input the same as layout in QA32 input screen.
    Reg,
    VRMP.

  • CN41 default display variant

    Hello,
    I have been struggling with this request for a while.
    We just upgraded from 46B to ECC60. for report CN41, the user want to setup a default display variant so every time they logon, they don't need to manually pick a display variant. In the 46B version, you can save a variant as a default variant through variant management on the report display page. But in the ECC60, it's gone. I tried and tried, but there is no way I can find to save a variant as default in the ECC60 version. Also, the users don't want to have the project expanded to WBS levels at all when they execute the report. They want all the projects to be collapsed when they execute the report. I don't know how to set this up either.
    I tried cn41n, but you can't do drill down and can't make the projects all collapsed either.
    Please help.
    I have tried every way I could and can't find the solution.
    thanks in advance.

    Hi Cindy
            Assuming that I understood your issue.here is the solution for one of your troubles.
    1) In the CN41 report Menu bar click on Evaluation --> Get Profiles/Variant
    2) In the pop-up that opens up note the subprofile you are using for displayed fields
    3) Goto SPRO --> PS --> Info Systems --> Technical project reports --> Define profiles for displayed fields --> select structure overview --> enter the subprofile you are using for displayed fields --> Add the fields you want to be defaulted as new entries -- SAVE.
    4) Once you have done this go back to the profiles/variant screen and select the profile once again
    This should solve your issue
    Regards
    Renjith

  • 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

  • Display variant in  ALV grid

    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.
    Patil

    hi 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 get the fields in a display variant

    Hello gurus,
    I have created variants for an ALV display that I can select on my selection. This works fine.
    Now I need to know during the execution of the program what are the fields that have been selected in the display variant so that I can export the selected fields in an excel sheet that I send by mail. The file is currently being sent with all the possible fields .
    Is there a module function that allows the program to know which field is present in the display variant?
    Thanks,
    Parvez

    Hi,
    Try these:     REUSE_ALV_VARIANT_DEFAULT_GET.
         REUSE_ALV_VARIANT_F4.
    .also see the link for more Details:
    http://www.abapcode.info/2008/09/selecting-variants-for-initial-alv-list.html.
    Hope it helps.
    Regards,
    Rahul

  • Does OS Lion 10.7.5 support Airplay mirror of Apple TV 3? I can't find the option in Setting Display on my mid 2012 MacBook Pro.

    Does OS Lion 10.7.5 support Airplay mirror of Apple TV 3? I can't find the option in Setting>Display on my mid 2012 MacBook Pro.
    I've rebooted all 3 devices, still does not work. Both Apple TV and MBP are on the same wifi. And the Apple TV AirPlay option is on. Can someone help? Thank you.

    About AirPlay and Airplay Mirroring
    AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). For non-qualifying Macs you can try using Air Parrot.
    Several Apple Articles Regarding AirPlay
    Apple TV (2nd and 3rd gen)- How to use AirPlay Mirroring
    How to set up and configure AirPort Express for AirPlay and iTunes
    About AirPlay Mirroring in OS X Mountain Lion
    iTunes 10- About playing music with AirPlay
    Troubleshooting AirPlay and AirPlay Mirroring
    Using AirPlay
    Thanks to the $15 Beamer, AirPlay streaming is still possible on Macs  that do not support Airplay and mirroring.
    Another solution is the Air Parrot.

  • How to get the name of the currently used display variant

    Dear all,
    I found the user-exit EXIT_SAPLGRAP_001 for programming download authorization.
    With us no standard user is allowd to download data from R/3. With the user-exit it would be possible to allow certain downloads. one problem i solved already.
    For programming the second authorization i need the name of the currently used display variant in RKPEP000. Where can i get the name. I tried user-exits for RKPEP000, but i didn't find the name. I didn't find it in SYST either.
    Thanks and reargs
    Monika

    First you need to enter those names. Right-click the songs (Windows) or go to File>Get Info (All Platforms), then go to the second tab from the left to insert the information.

  • Function Module that will retrieve the Field Catalogs of a Display Variant

    Hello Experts,
    Are there any function modules that I can use to retrieve the field catalogs (fields to be displayed in ALV report) by passing the display variant name?
    An RFC needs to apply this to determine which field(data) to be passed to XI (calling system) depending on user login.
    Thanks in advance!

    These are the various FM available for Variants (field Layout)
    REUSE_ALV_VARIANT_ALL_MAINTAIN Maintain all display variants for one object
    REUSE_ALV_VARIANT_DEFAULT_GET  Read default display variant (description only, w/o field catalog)
    REUSE_ALV_VARIANT_EXISTENCE    Checks whether a display variant exists
    REUSE_ALV_VARIANT_F4           Display variant selection dialog box
    REUSE_ALV_VARIANT_MAINTAIN     Definition of a display variant outside the list context
    REUSE_ALV_VARIANT_SAVE         Save a display variant
    REUSE_ALV_VARIANT_SELECT       Read a display variant
    Regards,
    Amit

  • How to set display size of a Region or Dynamic Region?

    Hi,experts,
    In jdev 11.1.2.3,
    I drag and drop a task-flow into a jsf page to create a Region,
    and set display size for the region, source code as:
    ===================
    <f:facet name="second">
    <af:decorativeBox theme="medium" id="db1">
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll" id="pgl1"
    inlineStyle="width:1200px;height:700px;">
    <af:region value="#{bindings.trainflow11.regionModel}" id="r1"
    inlineStyle="width:1200px;height:700px;"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    =================
    But, the Region is only showed a small fraction area on the parent jsf page whenever during design or run time.
    How to set display size of a Region or Dynamic Region?
    Thanks!

    Hi,
    the decorative box is supposed to stretch components in the center facet, so at runtime the region should stretch. Can you try with a static region to see if this is an issue with dynamic regions?
    Frank

  • Problem in saving ALV display variant with filter

    Hello,
    I'm displaying an ALV grid with function 'REUSE_ALV_GRID_DISPLAY'. When I load a diplay variant and apply a filter, I could save new layout. But when I run the report without a display variant, then apply a filter to the result, I couldn't save filter option when saving display variant. In the "save" tab of save layout dialog, filter checkbox is not displayed. This happens in 4.6C version. Is it a bug or am i missing a point.
    Thanks,
    Mustafa.

    Slm Burak,
    'IT_FILTER' parameter is empty. Users apply a filter but couldn't save filtered list variant. When they run the report with saved display variant, list is displayed without filters.

Maybe you are looking for

  • Adobe Photoshop CS4 Full Version and VISTA Service Pack 2

    I have brought CS4 Full and recall seeing VISTA Service Pack 1 as requirement.  I keep getting prompted by my computer to download and install Service Pack 2.  What to do: 1.  Install Photoshop on current setup (SP 1) and then upgrade to SP 2 2.  Ins

  • Homesharing only working on one computer

    Homesharing on computer#1 fully working, able to fully access computer #2's library.  Computer #2 can see Computer #1 library name but when I click it only does loading Computer #1 library for about 20 seconds then goes back to computer #2's music. 

  • Photoshop 7.0 from 2002

    How do you download photoshop 7.0 from 2002 on your laptop?

  • Contact sheet for all pages in a book

    In the Bridge there is a command to make a contact sheet for an InDesign document. Is there a way to make a contact sheet for all the documents in a book at the same time?

  • CS6 for MAC

    Is there a certain trial version of Dreamweaver to download for Macs?  I keep seeing trouble shooting questions for Macs so is there a way to bypass that by downloading the "correct" version?