Selection screen default value maintain,user cant chage the default value

hi Friends
SELECTION-SCREEN  BEGIN OF BLOCK SCLDBLOCK WITH FRAME.
SELECT-OPTIONS:   S_WERKS FOR EBAN-WERKS DEFAULT 'IN01' NO INTERVALS NO-EXTENSION ,
                  S_MATNR FOR EBAN-MATNR,
                  S_BANFN FOR EBAN-BANFN,
                  S_EBELN FOR EBAN-EBELN,
                  S_LIFNR FOR EBAN-LIFNR,
                  S_BSART FOR EKKO-BSART DEFAULT 'IN03'  OBLIGATORY NO INTERVALS NO-EXTENSION,
                  S_EINDT FOR EKET-EINDT OBLIGATORY.
SELECTION-SCREEN  END OF BLOCK SCLDBLOCK.
here i need  to maintain bsart in03 ,user cant able to chage anything instead of in03.what can i do for that one
Regards
ds

HI,
REPORT ZETA LINE-SIZE 350.
TABLES : EBAN , EKKO,EKET.
SELECTION-SCREEN BEGIN OF BLOCK SCLDBLOCK WITH FRAME.
SELECT-OPTIONS: S_WERKS FOR EBAN-WERKS DEFAULT 'IN01' NO INTERVALS
NO-EXTENSION ,
S_MATNR FOR EBAN-MATNR,
S_BANFN FOR EBAN-BANFN,
S_EBELN FOR EBAN-EBELN,
S_LIFNR FOR EBAN-LIFNR,
S_BSART FOR EKKO-BSART DEFAULT 'IN03' OBLIGATORY NO INTERVALS
NO-EXTENSION,
S_EINDT FOR EKET-EINDT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK SCLDBLOCK.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
      IF SCREEN-NAME = 'S_BSART-LOW'.
        SCREEN-INPUT = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSE.
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'S_BSART-HIGH'.
        SCREEN-INPUT = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.

Similar Messages

  • I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Help please

    I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Does anyone have the same problem or know how to fix it?

    In Lion the Finder folder is now invisible.  To make it permanetely visible enter the following in the Terminal applicaiton window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    For opening your domain file in Lion for the first time or to switch between multiple domain files  Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an applicaiton.
    Just launch the applicaiton, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    OT

  • Select_list_from_lov, cant get the returning value

    Hi
    I try to use a apex_item.select_list_from_lov in a wizard. The LOV that I have is a dynamic list.
    everything works fine, only I cant get the return value of the selected items.
    multi select list
    htp.p(apex_item.SELECT_LIST_FROM_LOV
    ( 2,
    'MOS_ROL_OMSCHRIJVING',
    ' MULTIPLE HEIGHT=5',
    'NO',
    null,
    null,
    null,
    null,
    'NO')
    trying to see what the return values are, but got nothing.
    :p12_test := :f02;
    (p12_test is a textfield)
    any assistance would be greatly appreciated.
    Thanks
    using apex 4.0.

    >
    trying to see what the return values are, but got nothing.
    :p12_test := :f02;
    (p12_test is a textfield)
    >
    f02 is an associative array. See Referencing Arrays in the APEX API Reference for information on how to access values of items created using apex_item methods.

  • User.region and the default locale

    What is the difference between user.region, user.country and the default locale.
    Thanks

    Same problem here ! I called Apple Care and got two people during 2 hours on call, they were unable to explain why and just repeat that "the use of TVout for recording purpose are not supported by apple".
    Why this settings has to be hidden ?
    FYI : i'm able to capture Ipad 2 thru BMD Intensity Pro but not able to switch PAL and NTSC in TV OUT settings to get a correct input. TV OUT setting doesn't appear.

  • Configuration scenario cant see the default adapters

    hi could u plz tell why i cant see the default adapters. this is the trainee server which i sin stalled in our org.i have inported the two business systems one ecc and other xi server business system im unable to see the  adapters in communication channel that is created

    You need to down load the tpz file from
    https://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
    Search for the corresponding SAP BASIS SWCV here.
    You need to place this downloaded tpz file in your import directory
    D:\usr\sap\PI7\SYS\global\xi\repository_server\import
    and then in your IR, import this SWCV.
    Regards,
    Jai Shankar

  • HT201263 The home screen is locked and i cant remember the password. how can i unlock my screen?

    The home screen is locked and i cant remember the password. How can i open the screen?

    Hey 1966Gt6,
    I found an article that goes over what to do if you've forgotten or can't remember your passcode. Check it out here:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    Regards,
    David

  • "Open with" only has Picture Viewer as default. How do I change the default to Photoshop?

    "Open with" only has Picture Viewer as default. How do I change the default to Photoshop?

    Click on edit/preferences/file type associations.  Select extension and then browse to photoshop.exe and select.

  • How to auto populte selection screen for variant maintained in User Profile

    Hi,
    I have to auto populate selection screen of Custom Report , with the variant maintained in User profile of User .
    Helpful answers would be awarded .
    Thanks
    Umesh

    Hi,
    use the PARAMETER-ID clausole of the PARAMETERS / SELECT-OPTIONS instructions.
    See help for more informations.
    You have to know the parameter id of the field and also the parameters, must be tight to the right data element (example : parameters : p_mara like mara-matnr and NOT parameters : p_mara(18) ).
    Otherwise, use "get parameter id" in the initialization event to populate the selection screen.
    Bye
    Andrea

  • BEx Analyzer : missing Selection screen for NON- SAP_ALL User

    we have upgrade our BW from 3.1 to BI 7.0. Now we are testing and detect that Queries which are started by User who has user specific roles (not SAP_ALL like we as developer) this Selection Screen is missing. This leads to a complete selection of all data of the cube and this leads to very long runtime or auto logout.
    What is wrong in our configuration?
    Has anybody made the same experience ?
    Thank You, Frank HInzmann
    Schindler Informatik Ebikon (Switzerland)

    Frank,
    Any chance that somehow that user has set personalisation on all the variable values?
    Regards
    Gill

  • Selection screen to appear when user clicks on radio button

    hi
    i have severla radio buttor in a radio button group
    i want that whne user clicks on first radio butter selection scren 1 eg as below to apper
    when use clicks on radio buton2 selection scree2 will appear please suggest
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE
    text-008
    PARAMETER : fyr2_fy type FIMC-RYEAR default 2008,
                 fyr2_cg type FIMC-CGYEAR default 2008,
                 fyr2_bk type FIMC-PERID default 7.
    SELECTION-SCREEN END OF BLOCK B1.
    regards
    arora

    Hi,
    At selections screen on that radiiobutton group.
    if radio_button1-status = 'X' (Active)
    call screen 'scereen number' or set screen 'nuymber'.
    else.
    call screen...
    endif.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • How to skip the Selection screen completely for certain users?

    Hi All,
       I want to skip the entire selection screen based on sy-uname. I check if the sy-uname has sufficient authorization and based on that..I want to skip the entire selection screen. How do I do that?

    Hi Rachna,
    use
    <b>SUBMIT program
                with sy-uname = 'TEST'
                 and  return.</b>
    If u specify and return the control will come back and execute the next line in the report.
    It is giving the output directly without showing the selection screen.
    If u r pressing back also it is not showing the selction screen.
    This will work
    Regards
    Naresh

  • How to Restrict the users from changing the Default variant of report.

    Hello everybody,
    The requirement is to restrict the users to save and overwrite  the default layout variant (Layout for higher managenet)set for the report, but at the same time they should be able to change and save the other layouts for which they are having access.
    I have written the logic in the program which is working fine for all the scenario when we execute the report. But the logic doesnt work if the user is selecting the layout on the output screen of the report.
    for e.g if the user runs the report using the layout varaint for which he is having the authorization then he gets the all 4 options so he then he can select the layout for which he is not authorized and he can overwrite.
    i have debugged and check as i have found that after the report output is shown all the layout paramater is controllled by the statndard SAP objects.
    Can anyone help me out in this issue.
    Thankyou in advance.
    *to get the default layout variant.
      w_save = 'A'.
      if p_vari is initial.
        clear disvariant.
        disvariant-report = sy-repid.
        w_variant = disvariant.
        call function 'REUSE_ALV_VARIANT_DEFAULT_GET'
          exporting
            i_save     = w_save
          changing
            cs_variant = w_variant
          exceptions
            not_found  = 2.
        if sy-subrc = 0.
          p_vari = w_variant-variant.
        endif.
      endif.
    *logic to check user authorization to change the layout setting.
      if p_vari = c_layout.
        if not sy-uname is initial.
          select single * from agr_users
                  where agr_name = c_role
                  and   uname    = sy-uname.
          if sy-subrc = 0.
            w_save = 'A'.
          else.
            w_save = ' '.
          endif.
        endif.
      endif.
    Regards,
    Satish.

    Hi Maine,
    Thanks for your reply.
    As you mentioned for your own program, you can control the parameter "I_SAVE", when calling "REUSE_ALV_GRID_DISPLAY".
    so already i have use the same logic and control the parameter through I_SAVE and here i am calling method ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY instead of "REUSE_ALV_GRID_DISPLAY".
    and it works fine when we execute the report but the logic doesnt work when the user tries to change and save the layout variant on the output screen of the report.
    Regards,
    Satish

  • BEX Selection screen in an endless loop when pressing the Check button

    Hello SDN
    Has anyone faced this issue before where the BEX selection screen seems to get its knickers in a twist and goes into an endless loopp when the Check button is clicked? It goes through fine if I directly hit execute.
    Anyone ? Any ideas ?

    Never seen it before but here is something to check..
    Does the query have a variable with processing type of customer exit. If yes, look at the user exit code in step 3  which is used for input value validation.
    Vineet

  • BEx web report selection screen entries retain when closing and opening the report again

    Hello all,
    please help me in the below query.
    Till last month the entries we made in BEx web report selection screen are retained in the selection screen even when we close the web report and open it again from portal without logging off. But recently this functionality is missing and the entries in selection screen are not remembered when we close and open the same report again. It is a good feature for the users. Have you come across this issue?

    No...I think i can reframe the question very clearly......For ex:  we are opening a Bex Web report...so initally we would be prompted by the variable selection screen...in which we have to give the entries(Values) for those variables like Cal month, Sales org, Company code, etc.....Later on the report will get open based on the values we have given......
    Now if we close the particular report without logging off then if i try to open the same report that selected values are missing.....earlier it used to remember the values we have given until we log off....But now that functionality is missing....It was very useful feature.....Can you please tel me what can be done to resolve this??
    I hope the explanation would be clear now.

  • Impersonate User: Mimic another user similar to the Default Profile

    I'm looking for a way as an Administrator to impersonate another user similar to the way you can login to the portal using the Default Profiles.
    Example: I select a user to impersonate and then click a button. I'm then in the portal as that user.
    There may be a problem opening documents, etc, but I'm more interested in making sure that I see the content that the other person is seeing.
    It would be a great help to diagnose security problems such as "Why can't I see this portlet, etc."
    One solution I thought of was to switch ID's in the PTUSERS table. This solution wouldnt' want to go any further than dev though. I don't really like this solution because if you forget to switch them back or they are in the portal when you switch them......there's a problem.

    I think that changing the PTUsers table is unlikely to do what you want. It's likely to break the system because there are a number of other tables that contain data about users, and you have not changed those tables. Additionally, information may be cached in memory, so changing the tables would not change that information.
    I think that there is a significantly easier way to do this, though it may still not be easy. The IPTSession interface supports a function called ImpersonateUser. If you are logged into the Portal as an Administrator, you can call ImpersonateUser to switch your session over to that of another user- from then on, the Server will treat you as the second user.
    This is a very easy call to make, but it's only half the story- the UI also has to know to treat you as the new user (e.g. use the correct language settings, flush cached session info, etc.) This is basically like doing a login. I don't know the details of how this would be done (a discussion forum about UI customization would be more useful here), but I could imagine doing something like copying the login screen logic to a second, "hidden" login screen which takes in a username, but no password. The page would only operate if you were already logged in as an Administrator, but it would perform the "standard" login logic, except that it would do Session.ImpersonateUser on the pre-existing session instead of creating a new session and logging in as the new user.

Maybe you are looking for