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

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.

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

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

  • 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!

  • 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

  • HT5012 I am having difficulty XMIT/REC text messages to family members using Android phones?  I have a 3GB data plan and all switches and buttons are set properly.  Any suggestions?

    I am having difficulty XMIT/REC text messages to family members using Android phones?  I have a 3GB data plan and all switches and buttons are set properly.  Any suggestions?

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • TS1741 my iPhone and iPod are no longer being seen by iTunes on my computer. Everything is up to date.

    my iPhone and iPod are no longer being seen by iTunes. All software is up to date. I have tried following the fixes suggested by the support on iTunes, to no avail. my computer said that my iPhone 5 is "older" and that usb2 is not compatible with usb3 on my computer. it worked until a week ago. can someone help?

    See TS1538: iOS: Device not recognized in iTunes for Windows.
    tt2

  • Probably asked and answered a million times but my laptop died and my boyfriend and i are now sharing a computer when i went to back up my contacts i ended up with all of his! Is there a way to get them off and how do i prevent this from happening again?

    probably asked and answered a million times but laptop died and my boyfriend and i are now sharing a computer when i went to back up my contacts i ended up with all of his? Is there a way to get them off without deleting each one? Also how do i prevent this from happening again? can someone direct me to some info on multiple phones on one itunes i am lost.

    Hey there 79usma79!
    I have a couple of articles for you that can help you troubleshoot the issues you are seeing with iTunes on Windows XP. The first is a general troubleshooting article, which can be found right here:
    iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/TS1421
    This article can help you find out if there are any conflicts between your copy of Windows XP and iTunes, and can tell you what to do if there are. Before going down the troubleshooting route though, you should take a look at this article, which can help you back up your entire iTunes library to an external hard drive, so if this issue is recurring, you will be able to restore from that backup and will not have to worry about losing your playlists or music again:
    iTunes: Back up your iTunes library by copying to an external hard drive
    http://support.apple.com/kb/HT1751
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • HT3819 how do I share movies/music between my computers. I have opened shared on both computers and both are on, but i am not able to drag anything from one to the other. Does anyone know where the settings button is on the bottom of the itunes screen?

    how do I share movies/music between my computers. I have opened shared on both computers and both are on, but i am not able to drag anything from one to the other. Does anyone know where the settings button is on the bottom of the itunes screen?

    Oops, I forgot a step between 7 and 8 ... before syncing the iPhone I need to explicitly send the document back to iTunes on the iPhone, or the changes won't come over at all ...
    and then one more thing ... Numbers on iOS does NOT recognize a number of key features of the OSX app, such as conditional formatting ... so after editing my document on iOS and syncing it back to OSX on my Mac, all of those settings are lost (no more conditional formatting, have to do it all over again)
    What am I doing wrong ?

  • Logical systems assignment when SRM and ECC are on 2 different servers

    Hi SRM guru's,
    What is the standard practice for Logical system creation and assignment when  ECC and SRM are on 2 different servers.
    I could not able to find which i created a logical system  in SRM server which i created in ECC
    Same for the ECC also.
    how do i assign logical system of SRM to ECC
    vice versa.
    your prompt response is appreciated.
    Regards

    Hi Sai,
    Logical System Naming/Creation procedure is not dependent on the servers but it is just a logical representation of a system.
    As you are trying to name logical systems for ECC & SRM, please follow the below procedure which is usually recommeded by SAP and followed.
    Logical System : <SID>CLNT<Client Number>
    For Example if you have a client 300 in system DE0 (also called SID), the logical system name will be DE0CLNT300. And it will be same for SRM system.
    You can refer the below document which eplains the creation of logical system and RFC destinations etc
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    Note: Only while configuring the RFC Destination, the servers will play a crucial role.
    Regards
    Kathirvel

  • I have a 16GB iPhone 3GS. Tried synching my phone through iTunes (11.0.1 I think... on a 2009 Macbook Pro). Now when I connect to iTunes, it says it does not recognise the content on my phone. Is this because my phone (and laptop) are too old?

    I have a 16GB iPhone 3GS. Tried synching my phone through iTunes (11.0.1 I think... on a 2009 Macbook Pro). Now when I connect to iTunes, it says it does not recognise the content on my phone. Is this because my phone (and laptop) are too old?
    Also, when I tried to Restore the settings, an Error Message pops up that says " The iPhone software update server could not be contacted. The requested resource was not found.
    I'm trying to free up space on my phone by removing [literally] thousands of old photos which were originally synched to the phone, because I had forgotten to uncheck the photos button when I synched it ages ago.
    I have also tried synching it on my 24" iMac (running OSX Snow Leopard). But again, when I try restoring the phone through itunes, it says the file is corrupted. It sggests unplugging the device, and then plugging it in again. I have done this numerous times with no success.
    I'm guessing it must be because my phone (and versions of iTunes, and OSX) are all too old.
    Please can anybody help.
    Cheers,
    Dan_nz.

    There are multiple reasons that lead to issue. You should read the troubleshooting guide to get the right solution to solve the issue: iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support

Maybe you are looking for

  • JBL Home Theater Mod# AEH50

    Got a stupid question- like to get some info before I actually purchase. What I'd like to know is if I would need an amplifier hooked up between  some JBL AEH50 surround sound speakers and my TV, or can I hook straight to audio outputson the TV. The

  • Ceritified or not: DB on exadata, AP on Solrais on SPRAC (64 bit)

    Please confirm whether the following split configuratoin of EBS 12.1.1 is supported. EBS DB Tier: Oracle Exadata with Linux and X86-64 Architecture APP Tier: Oracle Solaris on SPARC (64-bit)

  • IPhone 5 died after installing iOS 8. Is Apple store responsible?

    We installed iOS 8.0 on iPhone 5, 16 gig. The second time we tried to charge it, the phone started flashing between the low battery screen and the Apple screen. Never got it going, tried the reset and all. Brought it to the Apple store and they told

  • Repartitioning S10e but still appears "...F11"

    I am new to have a S10e. But S10e only has one partition. I want to repartition the hd into two parts. I also delete the hiding partition for "one click recovery". After that I reinstall a new XP system. And the problem comes. I can't get into the ne

  • Help w/ Flash Object inserted into DW page

    Hi, I'm using DW MX2004 on a Pwrbk G4. I created a Flash object (a page-flipping gallery) in Flash, and while it previews fine in Flash MX'04 (size of the .swf in pixels, I WANT it to be 1050 W & 713 H so the page is big enough to view well on a brow