Subscreen area

Hi Gurus,
           How to disable controls of subscreen area.
m calling subscreen area and creating controls on subscreen area.
i want to disable controls when i selected check box selecte = 'x'.
M using Module pool programming .
Thanks and Regards
Vinayak Sapkal

Hi,
Same requirement in this [Link|Re: diabling subscreen]
follow the same, hope it helps.
Regards!

Similar Messages

  • Script doesn't work, if GUI subscreens are collapsed

    Hello all,
    I am to code some scripts to automate some boring, but necessary steps in trainings. Unfortunately my scripts don't work ("The control cound not be found by ID"), if the GUI looks different compared to the reording phase (e.g. other tabs are selected or subscreens are collapsed).
    The problem with the tabs could be solved by clicking on the needed tab regardless whether it is already open or not.
    But I was not able to solve the problem with the collapsed subscreens. Clicking on the "Open subscreen"-button without looking at the current status doesn't help. The state just toggles and noone can say, whether its closed or open afterwards. Furthermore, according to the API-Doc, there is no possibility to check, whether a control is available or not. Is that true? If there was a method, I could make use of an if-clause to click on the "open subsreen"-button conditionally.
    Has anyone good advise for me?
    Thx a lot!
    Klaus

    I found another possible issue while looking at a similar problem. I was unable to execute a PowerShell script as a Task Scheduler action, even though the script ran correctly when logged into Windows as the target user and running within PowerShell.
    Task Scheduler would consistently display the 0xFFFD0000 error when I nominated the script in the task's action arguments using what I believed to be normal PowerShell quoting rules:
    -ExecutionPolicy Bypass -File 'D:\full path\to\script.ps1'
    PowerShell acquiesced and Task Scheduler fired off the task immediately and without issue when I changed the quotes I used from single to double:
    -ExecutionPolicy Bypass -File "D:\full path\to\script.ps1"
    Dropping to a command prompt and executing the full command immediately revealed the problem:
    D:\>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File 'D:\full path\to\script.ps1'Processing -File ''D:\full path\to' failed: The given path's format is not supported. Specify a valid path for the -File parameter.
    Notice the strange use of two single quotes before the path and one single quote after.
    The moral of the story: When feeding the full path of a script to PowerShell as a command line parameter,
    use double quotes!

  • Facing problem with call subscreen area in standard infotype

    Dear SAP Guru's,
    I have enhanced standard infotype 0185 from PM01, in assign enhancement tab it create multiple screens ,
    my program name ZP018500, screen number 0200 generated,
    on  0200 screen i need to display two subscreens tfor that
    i have created subscreen area  on srcreen 0200 which is already a subscreen.
    and i am calling two subscreen 0201 and 0202 on that  subscreen area.
    while creating entries for 0185 infotype  my screen keep going in continious loop for call subscreen statement on 0200 screen number.
    roll in fail, session terminated error coming because of this.
    is it correct to create subscreen area on subscreen and calling subscreen on that.
    Guide me to solve the issue.
    Thanks and Regards,
    Syed

    Dear Gopal,
    Thanks for the reply,
    But i can't make 0200 screen as normal screen because it is automatically generated by system while enhancing the standard infotype,
    Please let me know any other solution.
    Regards,
    Syed Taj

  • Dialog Programming(module pool):call a screen to subscreen area.

    Hi experts,
    I want to call a screen created in the function group into my
    subscreen area of current screen of main program.
    I have done the below way :
    1. Created a screen 100 in the module pool program z_bpmodule.
    2.created a subscreen area SUB in screen 100.
    3. I hav created function group :zfungroup
    and  a screen 300,a function module Z_EXPORT_FUN for exporting the data to the screen 300 from report.
    Now my prog is lik below :
    PROGRAM  Z_SUBSCREEN1.
    DATA : ZMATNR LIKE MARA-MATNR.
    DATA : DYNNR LIKE SY-DYNNR .
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
      SET TITLEBAR 'TITLE'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  EXPORT_DATA  OUTPUT
          text
    MODULE EXPORT_DATA OUTPUT.
    CALL FUNCTION 'Z_EXPORT_FUN'
                              EXPORTING Z_INPUT = ZMATNR.
    ENDMODULE.                 " EXPORT_DATA  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
    WHEN 'EXP'.
    DYNNR = '0300'.
    *ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    and the flow logic is lik this :
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    MODULE EXPORT_DATA.
    CALL SUBSCREEN SUB INCLUDING SY-REPID ' 0300'.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    CALL SUBSCREEN SUB.
    Now the main problem is i am not able to call the screen from function group to subscreen area...
    kindly provide the solution.....
    Thanks a lot in adv ....
    Brahma.

    I am just getting the main screen and the subscreen is not at all displaying .....
    but when i perform the PAI .. I am getting the dump ..
    Short text
        Dynpro does not exist
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "Z_SUBSCREEN1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        The system attempted to use dynpro 0000 in program "Z_TX1".
        This dynpro does not exist.
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DYNPRO_NOT_FOUND" " "
        "Z_SUBSCREEN1" or "Z_SUBSCREEN1"
        "EXPORT_DATA"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    hope i have given the full information.
    Thanks a lot.

  • Can I include a "SelectionsDynpro" in a Subscreen Area``?

    Hello at all,
    i have a questions about Dynpros/ Selections???
    I have a "normal Dynpro" with one Subscreen Area.
    In this Subscreen Area i want include another Dynpro, which is defined by "SelectionsDynpro".
    Is that possible??
    With Kind regards
    ETN

    Hi,
    Please check if this one is ok for your requirement.
    You say you havent been able to include a selection screen in your subscreen. What you can do is, place a table control, remove the headers and make it look like a selection screen. You can add the parameters and select options by defining it in the program and using the 'Add from Program' button. Let say you have placed a table control with three columns. Let the first column be for the selection screen text. Try to populate them in the PBO manually.
    When you are using a parameter, disable the third column cell so that it acts like a parameter. For the select option, you can leave the third column enabled, so that it acts like LOW and HIGH. For an F4 on the parameters and select-options on the table control, you can find a lot of threads on how you can implement an F4 differently for different rows and different columns.

  • Dynpro - Subscreen area

    Hello ,
    I have to display error message or resultats of querry in subscreen area or sub screen  of main  screen .
    Could someone tell me how to push them (results , messages )to right place .
    Thank you
    Krsto

    HI Krsto,
    Without knowing your code it is hard to suggest what you want to transfer to Sub Screens.
    Please go through the program
    demo_dynpro_subscreens
    Cheerz
    Ram

  • Unable to declare fields in the subscreen area of the the tabstrip created.

    Hi All,
    I am doing the screen enhancement for the Tcode ME52N using exit MEREQ001. I have added a screen 0111 in the Function Group XM02. On this subscreen i have created a tabstrip with 2 tabs and created element of the type Subscreen Area in the tab strip.
    My requirement is to create few fields in the tabstrip subscreen area for update or display. But in the screen painter when i am trying to insert any of the screen elements i get the error "Illegal type for page element in Tabstrip".
    Please advice me on how to get this done.
    Thanks

    Hi ,
    I am afraid that this forum is not a correct forum for this issue. Since this forum is discuss about Windows form development. In my opinion, it is an issue regarding Windows System. I suggested you to post this thread to
    answer.microsoft.com-Windows OS
    Have a nice time!
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Subscreen and subscreen area

    Hi all
        Can anybody please explain both subscreen and subscreen area..
    Thanks and regards
    popin

    Hi,
    Subscreens are screens which can be embeded into another screen. These can be used and created with both selection screen as well as screen painter.
      They differ from normal screens in the way that that they don't have OK_CODE field of ther own and there PBO and PAI transfer data to the ABAP program in which these screens were created and the cannot have module calls which change status or leave screen and module call AT EXIT-COMMAND AND E type function codes.
    In screen painter(SE51) choose the subscreen tool button and draw a subscreen area on the screen,this subscreen area will be used to hold the subscreen at run time.To make a subscreen select the attribute screen type as subscreen and specify the size of the subscreen according to the size of the subscreen area in which it will be placed.
    We use ABAP statement to embed and start the flow logic of the subscreen area in the PBO of a screen. A subscreen can contain another subscreen.
    CALL SUBSCREEN subscreen_area INCLUDING program screen_number.
    A similar call should also exist in PAI of screen.It will also call the PAI modules of the subscreen and will transfer data from subscreen to ABAP program.
    CALL SUBSCREEN subscreen_area.
    Subscreen can be created in selection screen using ABAP ststement and can be used with tabstrip defined on the selection screen or with the screen defined in the screen painter.
    SELECTION-SCREEN BEGIN OF SCREEN screen_number AS SUBSCREEN NO-INTERVALS.
    SELECTION-SCREEN END OF SCREEN screen_number .
    to use such a subscreen with tabstrip defined on the selection screen we should
    use the DYNNR compnent of the structure which is created when the tabstrip is created and specifying the number of the screen .We can also define the subscreen statically for such a tabstrip by using
    DEFAULT PROGRAM program SCREEN subscreen_number when declaring a tabstrip in selection screen.
    SELECTION-SCREEN BEGIN OF TABBED BLOCK tab_area FOR height LINES.
    SELECTION-SCREN TAB (width)tab_name USER_COMMAND funct_code DEFAULT program SCREEN subscreen_no .
    END OF BLOCK  tab_area .
    For each tabbed apge TAB addition is used with SELECTION-SCREEN statement. At the initialization event we can fill the tabstrip structure to dsiplay the default screen or specify it with DEFAULT addition.
    tab_area-PROGRAM = SY-REPID.
    tab_area-DYNNR  =  subscreen_nummber.
    tab_area-ACTIVETAB = tabname.
    Regards,
    Sruthi

  • Display Logo in Subscreen Area Using OO-ABAP

    Hello,
    I have a requirement to display a logo in SCREEN, Which contains TABSTRIP , In that A SUBSCREEN AREA.  What could be the procedure to display the LOGO . let me know if any suggenstions.
    I have already uploded the IMAGE in to SAP Form GRAPHIS Via SE78.
    Thanks in Advance
    Regards
    Nags

    Hi Naganjaneyulu,
    Check the below sample program.
    put a custom control on the subscreen and write the logic in the subscreen's PBO....
    Screen Flow logic
    PROCESS BEFORE OUTPUT.
      MODULE pbo.
    PROCESS AFTER INPUT.
      MODULE pai AT EXIT-COMMAND.
    Program
    DATA : go_container       TYPE REF TO cl_gui_custom_container,
           go_pic             TYPE REF TO cl_gui_picture,
           gt_picbin          TYPE solix_tab,
           gt_filetable       TYPE filetable,
           gv_bindata         TYPE xstring,
           gv_filename        TYPE string,
           gv_url             TYPE char255.
    PARAMETERS : p_object TYPE tdobjectgr DEFAULT 'GRAPHICS',
                 p_name   TYPE tdobname   DEFAULT 'SAP LOGO + TRADEMARK',
                 p_id     TYPE tdidgr     DEFAULT 'BMAP',
                 p_btype  TYPE tdbtype    DEFAULT 'BMON'.
    CALL SCREEN 100.
    MODULE pbo OUTPUT.
      SET PF-STATUS 'BASIC'.  " just a BACK button with application type 'E'.
      PERFORM fetch_binary_data.
      PERFORM create_url.
      CREATE OBJECT go_container
        EXPORTING
          container_name = 'CUSTOM'. " name of custom control
      CREATE OBJECT go_pic
        EXPORTING
          parent = go_container.
      go_pic->load_picture_from_url( EXPORTING url = gv_url ).
    ENDMODULE.                 " pbo  OUTPUT
    MODULE pai INPUT.
      SET SCREEN 0. LEAVE SCREEN.
    ENDMODULE.                 " pai  INPUT
    FORM fetch_binary_data.
      CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
        EXPORTING
          p_object  = p_object
          p_name    = p_name
          p_id      = p_id
          p_btype   = p_btype
        RECEIVING
          p_bmp     = gv_bindata
        EXCEPTIONS
          not_found = 1
          OTHERS    = 2.
      gt_picbin = cl_document_bcs=>xstring_to_solix( gv_bindata ).
    ENDFORM.                    "fetch_binary_data
    FORM create_url.
      CALL FUNCTION 'DP_CREATE_URL'
        EXPORTING
          type    = 'image'
          subtype = 'X-UNKNOWN'
        TABLES
          data    = gt_picbin
        CHANGING
          url     = gv_url
        EXCEPTIONS
          OTHERS  = 4.
      CHECK sy-subrc = 4.
      MESSAGE 'Exception occured' TYPE 'I'.
    ENDFORM.                    "create_url
    ~Jose.

  • Graph in a subscreen area

    Hi Experts,
    How do you create a graph in a subscreen?
    I checked out transaction GRAL but all the graph charts popup in a separate screen.
    Moreover I do not want the BOXES internal table attached to the chart.  How do you suppress this functionality? Because in it's place I need an ALV tree instead.
    Thanks!

    Hi Guys,
    Very helpful, but this presents a new problem.
    The chart data is not static, I need to refresh the graph when data is changed.
    The Gantt chart generated by the Chart Designer is an XML file that is very very huge to code into abap using the IF_XML_ELEMENT classes as per sample program GRAPHICS_GUI_CE_DEMO.
    So I would like to use the XML file as a template in my dialog program and change it when the data changes. Any ideas how to do this?
    Thanks!

  • Can we use same subscreen area with two tabs in same tabstrip

    I have a tabstrip and i want to use same pushbutton for both the tabs.
    Is it possible

    problem solved.
    we have to give same subscreen name in the attribute of the second tab
    regards,
    kushagra

  • Subscreen Area into a Screen.

    Hi,
    i have a subscreen into a screen. How can i call a transaction or a program into subscreen into screen?
    Can somebody help me please?
    Thanks.

    hi,
    In the main screen in which u want to display two subscreens just add this :
    In PBO of main screen
    CALL SUBSCREEN sub1 INCLUDING SY_REPID 'pie chart screen no'.
    CALL SUBSCREEN sub2 INCLUDING SY-REPID 'bar grph screen no'.
    In PAI of main screen
    CALL SUBSCREEN sub1.
    CALL SUBSCREEN sub2.
    Regards,
    sravan

  • Call a new SAP session within a subscreen area.

    Hi,
    I will really appreciate your help on this.
    How could I call a new SAP session (other transaction or whatever) within a sub screen area?
    Many thanks.

    Hi Lezarazo,
    http://help.sap.com/saphelp_46c/helpdata/en/73/69eba655bb11d189680000e829fbbd/content.htm
    If you need to have functionality where you can kick off a transaction in another window then do the followingu2026.
    To call the function:
    The Structure: ZSE_ITAB
    with FIELD  CHAR40 and VALUE CHAR40
    DATA: itab_fields type STANDARD TABLE OF ZSE_ITAB,
          wa_field    type ZSE_ITAB.       wa_field-field = 'BELNR'.
          wa_field-value = t_invoice.
          APPEND wa_field TO itab_fields.
          CALL FUNCTION 'Z_CALL_TRANSACTION_SESS'
            STARTING NEW TASK 'TA'
            EXPORTING
              tcode          = 'VF03'
              skip           = 'X'
            TABLES
              itab_data      = itab_fields
            EXCEPTIONS
              no_transaction = 1
              OTHERS         = 2.
    Function Module Defined: Must be a remotely enabled function module
    Its just the same procedure as of ordinary Function module, but in the Attributes Tab, under Processing Type you have to select Remote-Enabled Module instead of Normal Function Module.
    Example :
    FUNCTION z_call_transaction_sess.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(TCODE) TYPE  TCODE
    *"     VALUE(SKIP) TYPE  FLAG OPTIONAL
    *"  TABLES
    *"      ITAB_DATA STRUCTURE  ZSE_ITAB OPTIONAL
    *"  EXCEPTIONS
    *"      NO_TRANSACTION
    The additional info about calling transactions can be found in the following link
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9da935c111d1829f0000e829fbfe/content.htm
    or Lezarazo you can create your own zfunction module call that function module in your program using the CALL TRANSACTION Statement inside a Remote-Enabled Function Module and then using the STARTING NEW TASK addition while calling the Function Module.
    Hope this helps,
    Revert for further clarification.
    Thanks and Regards
    Srikanth.P

  • Hiding a Complete Subscreen in a main Screen

    HI All,
             I have a req in which there is 5 subscreens present in one main screen. My issue is i want to hide a complete Subscreen based on 1checkbox present in that mainscreen itself.
    After checking that checkbox user will be pressing ENTER. After that i need to hide some of the subscreens.
    Thanks in advance,
    Shyam

    HI,
    You can check for the subscreen_area that you use to put the subscreen and in the PBO of the main screen you can avoid calling this subscreen or you can hide the subscreen area by making SCREEN-ACTIVE=0 for the subscreen area.
    For the check box you can set some fcode and in the PAI you can set some global flag which you need to check in PBO and then deactive the subscreen area.
    PAI module.
    if ok_code is <your check box>.
    if check_box = 'X'.
    global_flag = 'X'.
    else.
    clear global_flag.
    endif.
    PBO Module.
    if global_flag = 'X'.
    loop at screen.
    if screen-name = 'SUBSCREEN_AREA'.
    screen-active= 0.
    modify screen.
    endloop.
    endif.
    Regards,
    Sesh

  • Add button to BP subscreen Identification Numbers

    Hi gurus,
    in transaction BP there is a tab called Identification. On this tab a subscreen area Identification Numbers exists which contains a screen (SAPLBUD0 - 1520). We want some added logic on the screen by means of a new button. I think it is not possible to add a button because the screen is hard-coded, so what I thought should happen is that a copy of the screen is made including the new button.
    And now my problem occurs, how do I replace the former screen(SAPLBUD0 - 1520) with the new screen on that particular screen area?
    kind regards,
    Wim van Erp

    I've found it. trx. BUS3 contains the specific screen.
    regards.

Maybe you are looking for

  • How can i tell if a plugin is Intel-native or not?

    i have CS3 and i'm upgrading from a G5 to an Intel Mac. is there a way to tell if installed plugins are PPC or Universal/Intel? thanks

  • BPC 7.5NW: Hierarchy Upload from BW - Sort Order

    Hi, we are currently updating from BPC 7.0NW to 7.5 NW SP10. (BW has been upgraded to 7.02 SP09) As master data and hierarchies had been uploaded using the coding from 'HowTo Upload automated...' so far, we now have to use standard Data Manger packag

  • Error with receiver java proxy

    for a XI type communication channel for receiver Java proxy I see following error in SXMB_MONI. <i>Unable to read user password from communication channel of type Error when accessing the secure store (access ID = 3650CAFA1FBAA04E8F260C6C4C1923FA) Er

  • Camera sound cannot be disable

    got my iPhone 4s yesterday..it was cool but when i tried the camera, the shutter sound wont shut up even i already had it silent and volume down..any help please?

  • Apple needs to bring back the month preview on IOS7 calendar.

    Am I the only one who finds this a not very well thought out move? The preview is so helpful! Instead of going into each day and looking at the individual appts/events, it was so much easier to look at a month, tap a day and it would show a list of a