Variable screen/variant screen authorization issue

HI All,
We have implemented standard Cost Center Overview Report(0SR_C02_Q0002) in BI 7.
We have three selection fields:
1.Company Code which is mandatory
2.My controlling Area which is also mandatory
3.Costcenter which is not mandatory
The requirement we are facing over here is that in the Variable screen/variant screen when I enter a company code, then I need to display dynamically only those "My Controlling Area" values which are assigned to that particular company code and not all. In the same way after selecting the appropriate "My controlling area" value, I need to display only those cost centers in the cost center selection field which are assigned to the selected company code and My controlling area combination and not all.
can anyone guide me on how to go about on this authorization issue at the variable screen itself.
Please treat this issue/requirement on high priority.
Appreciated in advance.
Regards,
raps.

Hi,
I think that an alternative to solve your concern could be using Web Application Designer (WAD).  In this respect, there are several design options, with different levels of complexity.
As the simplest alternative, you could create a WAD including your query and three Dropdown Boxes: one for Company, a second for Controlling area and another for Cost center.  The four mentioned elements should be linked to the same dataprovider so, when you select a company, the options in the other two Dropdown boxes and the information in the query are updated.
In order to enforce mandatory filter selection at Company and Controlling area level, you should set NO_REMOVE_FILTER='X' in both two Dropdown boxes, so that "All values" option -which would mean no filtering- is not offered.
I hope this helps you.
Regards,
Maximiliano

Similar Messages

  • Screen variants--screen number and program

    Hi,
    I am a functional consultant and not familiar with coding/development.I needed some help with regards to creating a screen variant.
    -->In which scenarios can one use a screen variant?
    -->How do we find the screen number and program?I checked the' source' info too...all it gives me is the template details.But,i haven't been able to find the screen number and program.
    Any inputs!
    Trey

    Hi,
       The transaction code for screen variants is SHD0.
    Generall screen varaints are used to chnage the screen display i.e. to add a new field/make the fields editable etc...
       In SRM,for screen enhancements genrally some BADI's are provided but if not then screen variants  is the next option to implement the same.Finally if screen varaint is not possible then you can do the changes in the relevant ITS templates.
      The foll screen varaints are available in SRM:
    Determine Screen Variants
    Use
    · Item data overview in the invoice without purchase order reference: Screen variant BBP_IV_NON_PO
    Method GET_SCREENVARIANT_INV
    · Item data overview in the invoice with purchase order reference: Screen variant BBP_IV
    Method GET_SCREENVARIANT_INV
    · Item data overview in the confirmation: Screen variant BBP_CF
    Method GET_SCREENVARIANT_CONF
    · Item data overview in the confirmation for time recording: Screen variant BBP_CF_TIMEREC
    Method GET_SCREENVARIANT_CONF
    · Item data overview in the purchase order: Screen variant BBP_PO
    Method GET_SCREENVARIANT_PO
    · Item overview for contracts: Screen variant BBP_CTR_ITEMLIST
    Method GET_SCREENVARIANT_CTR
    · Item overview for contract selection: Screen variant BBP_CTR_ITEM_SELLIST
    Method GET_SCREENVARIANT_CTR
    · Search results for creating an invoice and/or confirmation: Screen variant BBP_SEARCH_PO
    Method GET_SCREENVARIANT_SEARCH
    · Search results for creating a purchase order: Screen variant BBP_SEARCH_SC
    Method GET_SCREENVARIANT_SEARCH
    · Search results for displaying/changing an invoice: Screen variant BBP_CHANGE_IV
    Method GET_SCREENVARIANT_SEARCH
    · Search results for displaying/changing a confirmation: Screen variant BBP_CHANGE_CF
    Method GET_SCREENVARIANT_SEARCH
    · Item overview for creating/displaying/processing/status of a shopping cart: Screen variant BBP_SC
    Method GET_SCREENVARIANT_SC
    · Worklist for Sourcing: Screen variant BBP_SOCO_WL
    Method GET_SCREENVARIANT_SOCO
    · Work area in Sourcing: Screen variant BBP_SOCO_GA
    Method GET_SCREENVARIANT_SOCO
    HTH.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Screen Variant Not  working

    Hi,
    I have created one screen variant for screen for SAPLBBP_SC_UI_ITS screen 230.
    It's getting called while i checked by debugging .
    But its not working in ITS Template & in transaction also .
    In SAPgui it's not working .
    Is there any more setting for Screen variant apart from just save it & called in screen variant BADI .
    Thanks,
    SS

    Hi
    <u>This BADI as you can see by name is for Screen Variants.
    BBP_SCREENVARIANT in this case.</u>
    <b>Please read the following documentation to get the clear difference</b>
    Transaction Variants and Screen Variants
    Transaction variants can simplify transaction runs as they allow you to:
    Preassign values to fields
    Hide and change the 'ready for input' status of fields
    Hide and change table control column attributes
    Hide menu functions
    Hide entire screens
    In particular, hiding fields in connection with screen compression, and hiding screens, can result in greater clarity and simplicity.
    Transaction variants are made up of a sequence of screen variants. The field values and field attributes for the individual screens found in transaction variants are stored in screen variants. Each of these variants is assigned to a specific transaction, can, however, also contain values for screens in other transactions if this is required by transaction flow. The transaction that the variant is assigned to serves as initial transaction when the variant is called.
    There are both client-specific and cross-client transaction variants. All screen variants are cross-client, but may be assigned to a client-specific transaction variant.
    A namespace exists for cross-client transaction variants and screen variants and both are automatically attached to the Transport Organizer. Client-specific transaction variants must be transported manually.
    In principle, transaction and screen variants can be created for all dialog and reporting transactions. There are, however, certain Restrictions that apply to certain transactions, depending on their internal structure.
    No transaction variants are possible with transactions already containing preset parameters (parameter transactions and variant transactions).
    Screen variants
    Screen variants allow you to simplify screen editing by:
    Inserting default values in fields
    Hiding and changing the ready for input status of fields
    Hiding and changing the attributes of table control columns
    A screen variant contains field values and attributes for exactly one screen.  A screen variant can, howevever, be assigned to multiple transaction variants. Screen variants are always cross-client; they may, however, be assigned to a client-specific transaction. They can also be called at runtime by a program. The different possibilities for calling screen variants guarantee great flexibility of use.
    For more information, see: Calling Screen Variants
    A specific namespace has been designated for screen variants and they are automatically attached to the Change and Transport System.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Screen Variant for VA02

    Hi,
    I have a requirement according to which I need to make few fields of transaction VA02 as output only.
    While we create a sales order using VA01, all fields should be writable but when we open the sales order in change mode(using VA02) fields Ship-to-party, Net-Value should not be editable whereas all others should be. I have created a transaction variant for VA02 and also activated it. But the changes are not getting reflected when I open a sales order using VA02.
    Can any body help please. Thanks in advance.
    Regards,
    Dhiraj

    HI
    After Creation of Screen for reflecting changes you have to active screen variant
    Screen Activation procedure:-
    STEP1: T-code:SHD0 --> Enter transaction code: VA02
    STEP2: Click on "Stanrad Variant" tab --> Again choose "Standard variants tab"
    STEP3: Enter your variant name --> click on Active(Button)[it is in right  side of inputfield name]
    Appreciate points if it is useful.
    Thanks & Regards
    Sudheer Madisetty

  • Screen Variant for BBP_POC

    Hi,
    in transaction BBP_POC,
    is it possible to create a screen variant via SHD0 so that  field ITEMTYPE (BBP_PDH_PO_SCREEN_ITEMS-POS_TYPE) has a fixed content?
    e.g. itemtype = 'M'.
    I´ve tried via "Modify with processing" button  but i´m not able to.
    Best regards.
    Edited by: Pablo Casamayor on May 25, 2009 10:54 AM

    Hi Pablo,
    Have you tried using the following Screen Variant:
    Screen variant       BBP_PO
    Program               SAPLBBP_POC
    Screen                 4000
    Thanks,
    Pradeep

  • Issue in Creating a screen variant for FV50 through SHD0

    Hi,
    I need to create a Screen variant for FV50 to hide the post button through the Transaction SHD0, It was working fine and the function keys BU and BS  i disabled in the variant, but the problem is when i disabled the Function keys from FV50 it is not allowing me to post the transaction in FBV0 also. I found that T code FV50 is using the program :SAPMF05A  and FBV0 is using : SAPMF05V.
    Is there any way to overcome the issue through the transaction SHD0 ?
    Regards
    San

    Hi,
    To Create  aVariant You can use Tcode : SHD0.
    Provide the tocde and clik on Screen variant and create...
    You can follow the below link as Reference ..
    Link:[http://help.sap.com/saphelp_nw04s/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm]
    Hope it helps you.
    Thanks
    Arbind

  • No authorization for screen variant

    Hi,
    one of my user getting the error " No Authorizatin for screen variant" in KB11N.
    sateesh

    Dear Sateesh,
    Have you checked the authorizations for the object K_PVARIANT? In order to access different screen variants, the user should have the appropriate values for this object.
    Regards,

  • PS: Activity Allocation Screen Variant  Display Issue

    I'm having a problem in SAP v5.0 when I create a screen variant for Trans KB21N (Activity Allocation).  The variant is available in the drop down list and works fine during the data entry session, however, when I press the 'Enter' key the system restores the screen variant back to the default variant. This is very disconcerting, am I missing something simple in the config?
    Thanks,
    Dave Flick
    972-821-4211

    I'm answering this post myself because SAP support gave me OSS note 913227 and this corrected the problem.
    Thanks,
    Dave Flick

  • Can't get rid of Company code  in variant screen

    hello,
      I have a report whereby if I delete the values in company code variant screen it comes back next time I run the report again.
    I don't want these values to appear everytime.
    I checked the company code  variable used in query designer and it set as  "process by Authorization".
    how do i get rid of these.
    thanks

    Hi,
    thanks for your input. although it didn't solve the issue because the predefined selection is not a variant but authorization. Anyways I used your method to create a workaround solution by creating a new variant without any predefined selections. the user can now choose the variant without any selections at any time
    points is now awarded to you
    thanks

  • To display the selection screen variant name in WAD report output.

    Hello experts,
    I have a requirement which is to display the selection screen variant description in the output of the WAD report.
    I managed halfway, by using the object "Information field", which displays all the values which are selected by the variant.
    Example:I have created a cost center report created using WAD, since I need some graphical displays..
    In the selection screen, I have the characteristic "cost center" as input field. I have created a variant " GM - IT" which will include few cost centers managed by GM. In the output, I want the dispaly to be "Cost center - GM IT". Currently it displays "Cost Center - a,b,c,d" as the values a,b,c,d are the values from the variant name "GM-IT"
    Please let me know if this required any java script. I am not familiar with java / html codes and any help would be much appreciated (and rewarded)
    Thanks in advance
    KS

    Hi,
    Try this.
    If you want to include your variables in your WAD means you have to choose "Force Variable Screen" option to be in enabled condition.
    TO enable this,in WAD select your Template(New Template1) click the WEBITEM , it'll shows all generic properties , here you can enable this "Force variable screen"
    Save and execute your WAD now you can get your variable screen.
    Thanks,
    JituK

  • Custom Data Entry Profie screen variant needed

    hi All,
    Our client was asking for making modification to the Order the columns currently being displayed for CAT2 trx.
    Ex:
    For profile 1, the client wants the column display in the following order:
    Receiver WBS Element - Network - Actvity type - CO Area - Rec. CCtr
    For Data entry profile 2, the client wants the column display in the following order, and doesn't want WBS Element to be displayed:
    CO Area - Rec. CCtr - Network - Actvity type
    I have searched if there are any screen variant options available, but not of much help. This is bit urgent, so awaiting your replies.
    -thnx

    Sreekanth,
    Thank you for responding. I am in 'Data Entry view' (CAT2 trx), and, I do see a small icon with 3bars on top right hand corner. When I click on it & on 'Administrator' button, I see the 'Position' column vaues grayed out. I have tried using SHD0 for CAT2, and it wont work either. However, it is working just fine for MIRO trx. 
    Q-1: Can you please guide which 'Authorization' under SU21 -> HR I shall check in order to be able to change the layout?.
    Q-2: I also see in Pg. 58 in http://help.sap.com/printdocu/core/print46c/en/data/pdf/CATS/CATS.pdf, the other option listed as -> worklist [Extern]. Do you have any idea on how I can track through this option?.
    -thanks

  • Why I cannot create a screen variant?

    Hi Gurus,
    In transaction SHD0 I am trying to create a screen variant but it is marking the following error:
    Attribute for user MYUSER contains errors. Inform system admin.
    Message no. BBP_PU245
    In transaction SU53 display message: The last authorization check was successful.
    The screen variant I am trying to create is for:
    Transaction code: BBPSC02
    Program: SAPLBBP_SC_UI_ITS
    Screen: 300
    Somebody can say to me why marks the error?
    Thanks

    Thanks Jay,
    MYUSER was not in PPOSA_BBP. I added it and no longer display error.

  • Cannot select the newly created Screen variant in ENJOY transactions.

    Hello All,
    I have created a screen variant for a specific requirement from the client in transaction SHD0.
    However I am unable to select this new screen variant in all ENJOY transactions.
    When I try to select the screen variant in FB50-Post GL through>EDIT>Screen Variant, Select,Reset and Create Screen variants are greyyed out.
    I have checked the setting in SU3, as well as FB00 for the Parameters, it appears to be correct.
    Kindly help at the earliest!!
    Regards
    Shrutika

    Hi,
    Shrutika.
    Try this I hope this may help you.
    Go to FB50 at above left hand side will see Tree On option button. Click on that you will see Screen vairants for items option with drop down object. Simply click on that now select your desired screen variant by double clicking applied. 
    I hope this may help you to solve your issue. If you have any doubts feel free to ask.
    Regards,
    Pankaj A Bhalerao.

  • How to uncheck a checkbox using Screen Variants?

    Hi Masters!
    Anybody knows how to uncheck a checkbox that is already checked by default?
    I'm trying to do this using screen variants. I uncheck the checkbox and save the value (I also tried filling other values there like 'a', space, etc. and it didn't work), but at runtime it always shows the checkbox checked.
    At the same transaction there is a unchecked checkbox by default witch I can check it with a screen variant, but somehow I can't do the other way around...
    Any suggestions?
    Many thanks in advance,
    José Omar

    I checked the code and found something interesting. The
    variable I'm trying to uncheck is GV_WITH_CONTACT_PERSON.
    It's declaration:
    DATA: GV_WITH_CONTACT_PERSON TYPE XFELD VALUE 'X'.
    At the initialization of the program (at the first screen module):
    PROCESS BEFORE OUTPUT.
    MODULE INITIAL_STATE.
    And inside the MODULE INITIAL_STATE there is also:
    MOVE 'X' TO GV_WITH_CONTACT_PERSON.
    So there are places in the code that the checkbox is checked.
    Now we get another problem. I don't now when the values set at a screen variant are inserted in the screen. Is it possible that the code itself is overwriting the value set with a screen variant? Or is this not possible at this point in the code?
    Many Thanks,
    José Omar

  • Selection Screen Variant (optionally default) -I dont think it's possible!?

    I have spent a lot of time looking at this issue - researching forums/sap help/on the system  - so any help appreciated...
    On the selection screen (for tx me59n) is it actually possible for users to set a variant as default on the selection screen?  It's actually that I want "Test Run" to be defaulted.
    This is the ideal scenario:
    - The selection criteria variant is created centrally (or even individually by the user)
    - The user can then optionally set this variant as their default selection criteria for the transaction
    - Next time the user runs the transaction, the defualt variant is used
    What I do not want is:
    - User having to select the variant each time they run the transaction
    - The variant always being default (it should only be default when user decides they want it as such)
    Any ideas?  I can't see that it's possible....?
    thanks in advance,
    Matt

    I've been trying SHD0 alot, but doesnt seem to work - again, i've spent time reading and trying it out but with no luck.
    This is how I'm doing it to try to default "Test Run" checkbox for ME59n
    - Run transaction SHD0
    - Input "ZDefault" into Transaction Variant field
    - Click create
    - ME59n loads
    - I tick "Test Run" (which is what I want defaulting for the transaction)
    - Click save
    - It prompts me to create screen variant
    - I input ZTEST_VARIANT and click save
    - I get a pop-up box which I enter ZTEST_VARIANT to name field but dont make any other changes
    - Get message saying ZTEST_VARIANT saved
    - Click back to Transaction Variant screen
    - Save it as a local object
    - Get message saying "Trans Variant and Screen Variant Saved"
    - Click back to initial SHD0 screen
    - Click TEST to try it out.
    - ME59n loads, but "Test Run" is not checked - the variant appears not to have been loaded at all.
    I run ME59n independently and still nothing seems to get loaded when I run the transaction. Although the new screen variant is availbale in the variant list, which if I select it it works perfectly.  But I want make it default??? How do I do it?
    Any ideas what i'm missing?
    Usually I can figure these things out pretty quickly, but this one has me stumped!
    thanks
    Matt

Maybe you are looking for

  • I need to uninstall Adobe Flash Player Installer/Uninstaller 14.0 r0

    I need to uninstall Adobe® Flash® Player Installer/Uninstaller 14.0 r0 but have looked everywhere for how to do this & can not find out how to do this can someone please help? I am using A Sony Vaio, Windows Vista Home Premium 32 bit, I use Chrome Ve

  • PLEASE HELP - I AM OUT OF OPTIONS - NOTHING IS WORKING!

    OK, I've done the 5 R's, updated my itunes and i-pod software. downloaded the ewido anti-malware. seems like i've done everything. finally my itunes opened, BUT didn't allow me to transfer my purchased music to my ipod or any playlists. iTMS suggeste

  • FRUSTRATED! PLEASE HELP

    I was on the phone with adobe today for approx. 6 hours. My inital call was to get help installing CS4 on my Vista laptop. After 6 hours, I'm not exagerating, my computer now has NO adobe programs on it and the tech said she had to get with her super

  • Bmp files - easy ?

    maybe this is a begginner's question: how do i load a bmp file into a BufferedImage ? i'm guessing it should be as easy as a jpeg (with the JPEGdecoder and all). or do i have to write my own format reader for this ??? thanks

  • Sync interrupted

    Desktop manager successfully begins Intellisync process. It processes the handheld calendar, then reads from the Outlook calendar. After it has "read" all the records in the Outlook calendar, it stops working and delivers an error report: "Blackberry