Help needed in Screen variants

hi all,
i have craeted a screen variant ...but how do we activate it.
i used this function mod  RS_HDSYS_GET_SC_VARIANT..
and it returns nothing .....
does this means that my screen variant is not active
please advice
thanks
srinivas

sorry posted in the wrong forum

Similar Messages

  • Help needed in Screen variant for va11

    hi all,
    i have craeted a screen variant ...but how do we activate it.
    i used this function mod RS_HDSYS_GET_SC_VARIANT..
    and it returns nothing .....
    does this means that my screen variant is not active
    please advice
    thanks
    srinivas

    Did you get an answer to this or Have you figured it out because I am currently not getting anything back either for the FM I put into one of our custom Z programs.

  • Help needed on ALV variant with new GUI screen is created by set PF status

    Hi Gurus,
    I have created a new GUI screen for ALV grid display thru set pf-status, since i need two buttons on application toolbar.
    have been passing parameters to alv_grid_display FM for display-*
    i_save            = 'A'
    is_variant        = gwa_variant
    I have an ALV variant selection paramter on selection screen.
    Please guide me with some pointers on how to implement ALV variant selection thru selection screen.
    Many Thanks,
    Madan

    Hi,
    Search default variant for the report
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save     = 'A'
           CHANGING
                cs_variant = i_variant1
           EXCEPTIONS
                not_found  = 2.
    If default variant is found , use it as default.
    Else , use the variant LAYOUT1.
      IF sy-subrc = 0.
        p_var = i_variant1-variant.
      ELSE.
        p_var = 'LAYOUT1'.
      ENDIF.
    endform.                    " SUB_VARIANT_INIT
    *&      Form  SUB_CHECK_PVAR
    Once the user has entered variant, check about its existence
    FORM SUB_CHECK_PVAR.
    If the name of the variable is not blank, check about its existence
    if not p_var is initial.
      clear i_variant.
      i_variant-report = sy-repid.
      i_variant-variant = p_var.
      CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
             EXPORTING
                  I_SAVE     = 'A'
             CHANGING
                  CS_VARIANT = I_VARIANT.
    If no such variant found , flash error message
         if sy-subrc ne 0 .
          message e398(00) with 'No such variant exists'.
         else.
    If variant exists , use the variant name to populate structure
    I_VARIANT1 which will be used for export parameter : IS_VARIANT
    in the function module : REUSE_ALV_GRID_DISPLAY
           clear i_variant1.
           move p_var to i_variant1-variant.
           move sy-repid to i_variant1-report.
         endif.
    else.
       clear i_variant.
    endif.
    ENDFORM.                    " SUB_CHECK_PVAR
    *&      Form  SUB_VARIANT_F4
    Display a list of various variants of the report when the
    user presses F4 key in the variant field
    form SUB_VARIANT_F4.
    i_variant-report = sy-repid.
    Utilising the name of the report , this function module will
    search for a list of variants and will fetch the selected one into
    the parameter field for variants
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                IS_VARIANT         = I_VARIANT
                I_SAVE             = 'A'
                I_DISPLAY_VIA_GRID = 'X'
           IMPORTING
                ES_VARIANT         = I_VARIANT1
           EXCEPTIONS
                NOT_FOUND          = 1
                PROGRAM_ERROR      = 2
                OTHERS             = 3.
      IF SY-SUBRC = 0.
        P_VAR = I_VARIANT1-VARIANT.
    ENDIF.
    endform.                    " SUB_VARIANT_F4
    Thanks
    Ashu

  • Help needed in screen flow

    hi every one
    i have a screen with a mandatory field
    when i click in 'BACK' it should not leave the screen because the field is mandatory.
    when i click on 'CANCEL' it should come out of the screen.
    and when i click on 'EXIT' it should come out of the screen.
    how to code all these three conditions in my program.
    vamsi

    hi,
    i have a screen with a mandatory field
    when i click in 'BACK' it should not leave the screen because the field is mandatory.
    when i click on 'CANCEL' it should come out of the screen.
    and when i click on 'EXIT' it should come out of the screen.
    how to code all these three conditions in my program.
    in pbo event
    loop at screen.
      if screen-name =  'text field name'.
          screen-input = 1.
    modify screen.
    endif.
    endloop.
    in pai event.
    data: ok_code like sy-ucomm.
    ok_code = sy-ucomm.
    case ok_code.
    when 'back'.
                leave to screen 200. [going one screen back]
    when 'exit'
             'cancel'.
                  leave screen 0 or leave program. [back from all screens]
    endcase.
    if helpful reward some points.
    with regards,
    suresh babu aluri.

  • HELP NEEDED IN SCREEN EXIT

    hi,
    i'm trying to add custom fields in XD01.. we have 6 tabs in the second screen in XD01.. it should come as 7th tab..
    for this in the PREPARE MODIFICATION-FREE ENHANCEMENT OF CUSTOMER MASTER RECORD in SPRO, i have created one screen group 'Z1' and inside that screen group i have passed parameters NUMBER : 7, and FCODE : ZNEW
    and i have implemented the method 'CHECK_ADD_ON_ACTIVE' in the badi 'CUSTOMER_ADD_DATA' writing the following code :
    IF I_SCREEN_GROUP = 'Z1'.
    E_ADD_ON_ACTIVE = 'X'.
    ENDIF.
    but in the second screen in XD01, i found that tab is not getting displayed.. wht could be the problem..
    thanks

    HI,
    IF I_SCREEN_GROUP = 'Z1'. i think it should be Z1 without codes.
    E_ADD_ON_ACTIVE = 'X'.
    ENDIF.
    HERE remove the codes for Z1
    hpoe it will help you.
    regads,

  • Please help needed with Screen Sharing

    I've been using Leopards screen share successfully on my MBP, connecting to my iMac ever since Leopard was released.
    Now it connects, but the screen just flashes and I can't do anything. When I watch my iMacs screen the sharing icon on the menu bar is also flashing. So it looks like the sharing session is connecting and disconnecting rapidly.
    The firewall is open to all connections on both computers. I even tried re-formating my MBP, it fixed the problem for 2 days and the problem came back again.

    Hi, I've also been having this problem since I upgraded to 10.5.6 on my machines. Before the upgrade, it was rock solid. Now when I connect, it flashes and drops, then starts over again.
    I just discovered a way to get the connection to stay - TURN SCALING OFF
    In my case I have a G5 with two screens attached. When I turn scaling off, it still drops the connection once, but then starts working fine.
    Hope this helps you.

  • Help - need a screen saver effect in j2me

    Can someone please guide me, how I can create a screensaver in j2me.
    It Should be similar to the one in windows....
    Thanks

    You can't make a regular MIDlet into a screensaver, because:
    * On most phones you can't autostart a MIDlet when you turn on the phone (something a screensaver would need to do).
    * On most phones you can't run MIDlets in the background.
    * Even on the phones where you can run MIDlets in the background (like Symbian smartphones), if the MIDlet is in the background you won't be able to receive any keypress events.
    There might be some phones that have special ways to create screensavers (some might even be created with Java, I don't know), but these are not your regular MIDlets.
    shmoove

  • Some help needed with Screen sharing.

    Ok, so I am trying to set up screen sharing with a friend and I had a couple questions.
    1. If I am running Lion and my friend is Running Snow Leopard, is this possible to do?
    2. How will he connect to my computer for screen sharing? I have set up port fowarding on my router to my computer on port 3283.
    3. How will i connect to my Friends Computer?

    I would prefer to use the built in Screen Share abilitys in Mac OS X but I might look into it. However, as this is just something me and my friend will use every once in a while I do not want to download a whole bunch of software.

  • Help needed-white screen of death while attempting to migrated files from imac to macbook

    Using the migration program on my macbook (about a month old), I rebooted my imac (about a year old) while pressing down the 't' key.  Instead of rebooting and bringing up the firewire symbol, I got the white screen of death.  Thankfully, I have gotten the imac working again (except I can't get it to recognize my wireless mouse)…but am afraid to try the migration app again for fear of having the same problem and doing irreperable damage......any suggestions for what went wrong the first time and what I should do differently?  Also, any ideas on how to get it to recongize my mouse? It has recongized my keyboard with no issue.

    Download at www.memtestosx.org
    Power on your MBP while holding down the Command and S keys to force Mac OS X to boot into Single User Mode. Once you see a black screen with white text, you can release the key combination. After all the system logging is done scrolling past, type 'memtest all 2' (without the quotes) to test all memory two times. Two passes should be enough to detect any blatant problems, but I wouldn’t hesitate to let it run for hours on end if I suspected an intermittent memory problem (memtest all). When complete, you should be greeted with “All tests passed” if your RAM is in good condition. If your system locks up or freezes indefinitely during the test, you may have a bad memory module on your hands.
    (above taken from www.command-tab.com)

  • Help Needed - White Screen and that's it.

    Okay so I accidentally left my MBP on sleep while in my bag the other day (I was going to use it again that day but never) and apparently the battery had died while in there. Currently it's on about 3 out of the four green lights on the bottom and everytime I try to switch it on, I get the white screen prior to the apple logo appearing, the startup sound and then that's it. The light is just normal as it would be if it was on, which makes me think it's not a RAM issue.
    Any suggestions?

    Sooo, update on the MBP front. It's still doing it and now coming up with a flashing folder, think I already said that. Anyways, I've ran Disk Utility, everything is apparantly fine and I dont know what I ran, but It was something to do with mounting, I could still browse through everything on my HDD so I'm assuming everything is still there Which is good. I just dont have a clue why it wont start up lol.

  • URGENT HELP NEEDED: iMac screen suddenly going half dark?!

    Hi..
    So earlier tonight I was using my iMac perfectly, then had to stop since I was going out with friends for dinner and to see a performance and when I came back, shook my mouse awake my screen came back on from it's sleep mode and was fine and then the top half dimmed.
    I tried messing with the lighting because I thought maybe my roommate's cat may have stepped on it, but it was at 100%. I rebooted, turned it off for 5 minutes then turned it on again and it comes on fully lit for a split second then dims at the top again. It's not black, but you can see that the screen has dimmed a lot. I'm attaching a picture, hopefully you can tell what I mean. It's a kind of crappy phone pic but that's all I have right now.
    I bought this iMac in May 2007, so I doubt I have any warranty left and I can't remember or find paperwork to see if I bought apple care protection.
    Does anyone know what this could be? I've read on another forum that it might be a back light going out. Any idea how much that would cost me?
    Thanks!
    Message was edited by: CallyKhS

    Well, some questions ?
    I'm just another user and no expert, but:
    *Might not want to shut it down until you have backed up your data, First!*
    1.) Does everything else run good? --if "beach balling" badly, call an expert and I wouldn't shut it down or sleep it.
    2.) Is there a hardware test you could run? --each version of OSX generally has something like disk utilities you can run. Try apple's downloads page for useful 3rd party utilities, assuming you can run them o.k. and everything "seems" fine except for screen.
    3.) Do you have it plugged into a surge protector? --sometimes they get used up. You could (after verifying hardware and preferably backing up data) try it on another wall socket in another room, to check electrical viability. You might have a bad or dangerous wall outlet. If the wall gets really hot above the outlet, have it checked out immediately. Houses burn down every day from bad outlets and old aluminum electrical wire. (lol, I'm not saying anything bad about your house.....just trying to cover the basics).

  • Screen variant for Fb60

    Hello People,
    Can Anyone help me with screen variants for transaction FB60.
    Actually i want to make the field Business place/Section  as mandatory.
    I tried creating screen variants .But The checkbox for making the field required is greyed out.
    Can anyone help out?

    Hi,
    make use of Tcode SHD0 and see its documentation
    Reward points if useful..
    Regards
    Nilesh

  • Need some help in creating Search Help for standard screen/field

    I need some help in adding a search-help to a standard screen-field.
    Transaction Code - PP01,
    Plan Version - Current Plan (PLVAR = '01'),
    Object Type - Position ( OTYPE = 'S'),
    Click on Infotype Name - Object ( Infotype 1000) and Create.
    I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
    I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
    I specify again, I have to add a new search help to standard screen/field and not to enhance it.
    This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
    There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
    It's urgent.
    Thanks in advace. Suitable answers will be rewarded

    Hi Pradeep,
    Please have a look into the below site which might be useful
    Enhancing a Standard Search Help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
    edc983384237
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
    If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
    timepoints
    The following timepoints are defined:
    1. SELONE
    Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
    Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
    The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
    2. PRESEL1
    After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
    3. PRESEL
    Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
    4. SELECT
    Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
    5. DISP
    Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
    6. RETURN (usually as return value for the next timepoint)
    The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
    It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
    7. RETTOP
    You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
    8. EXIT (only for return as next timepoint)
    The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
    9. CREATE
    The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
    The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
    10. APP1, APP2, APP3
    If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
    Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
    If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
    F4IF_SHLP_EXIT_EXAMPLE
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several
    events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
    Hope this info will help you.
    ***Reward points if found useful
    Regards,
    Naresh

  • Help need my mac pro for school..it has Grey screen..spinning wheel...repaid disk ok...repair disk permission all repaired but one warning...

    Help need my mac pro for school..it has Grey screen..spinning wheel...
    I think I have  mountain lion OS X....I have done I think almost every suggestion I've seen in discussion boards.
    Boot in recovery repaired disk...ok...repair disk permission...all repaired but one warning...I've tried to reinstall lion (without losing data) and it Got all the way to one minute to be done and then the time change back two hours and kept doing this all night long.  I haven't done a back up due to no external for time machine.
    I hope someone can please help me I've been going crazy for a week now trying to figure this out.  I use my computer for school and I'm currently very behind from in my school work  thank you
    Also I've checked my available space  424.91 free of 750 gigs....disk is verified

    Welcome to the Apple Support Communities
    Try holding the Shift key while your Mac is starting to start into safe mode. Then, after starting in safe mode, open Finder, select Go menu (on the menu bar) > Go to Folder, and type /Library/StartupItems. Then, empty this folder and restart the Mac.
    If your Mac starts after doing this, it was a problem with a third-party app that starts automatically when you turn on the computer. It won't start automatically anymore after doing that

  • 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

Maybe you are looking for