Design Folder in Screen Painter

Hello,
Where can I  find information on Design Folder in Screen Painter?
Because the information on the help is very basic.
Best Regards,
Jose.

Hello David,
I have fallowed all the instructions you give me, but i keep having problems.
The first think am doing is make an event from a menu, that loads the application, after these I need to assign the event to the form. I have replicated every step from the sample ComplexForm. I have added the events, the one from the menu and the one for the form in the same class. I don’t know if this is how I should do it, or I should follow another step?
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
        If (pVal.MenuUID = "Mymenu") And (pVal.BeforeAction = False) Then
‘//Here call the form but no function
            CodigoForm()
        End If
End Sub
Regards,
Jose

Similar Messages

  • How to show screen design in .srf (from Screen Painter) using SDK?

    How to show screen design in .srf (from Screen Painter) using SDK?

    You need to use the LoadBatchActions method of the Application object to load .SRF files.
    John.

  • Setting Folder Pane in Screen Painter

    Hi All,
    I have a question about setting a value of pane - folder's property. When I set this property in Screen Painter and choose form preview form's pane level changes, but when I save this form in xml file and load in my add on I have to add code that changes pane level after clicking on folder. Also SAPbouiCOM doesn't contain such property like Pane. What is this property for? Why it works in SP and doesn't when load from xml? Is this just for Screen Painter?
    Regards
    Szymon

    Form.PaneLevel is a property for form and it changes form panelevel.
    I think that comparable property for for Folder.Pane (in Screen Painter) would be val off and val on.
    The most important thing for me was to be sure that I have to handle changing of panelevel by myself. I thought that maybe this property wasn't handle by SAP SDK correctly.
    Regards
    Szymon

  • F4 help for the selection screen field designed in screen painter

    Hi all,
    I have designed selection screen in the screen painter. in that for one of the fields i have to give f4 help. for that i have writter the code in PAI event. in this event i have used the standard Function module for f4 help. but no f4 help is comming for that field. can any body suggest what i have to do.
    Thanks & Regards,
    Giri.

    Hi,
    You must use the correct event to meet ur requirement use  POV event instead of  PAI event.
    for more clarification and example program see  below the demo program
    DEMO_DYNPRO_F4_HELP_DYNPRO
    DEMO_DYNPRO_F4_HELP_MODULE
    Cheers
    fareed

  • Folder Creation by Screen Painter

    Hi All,
            I created a form through Screen Painter which contains 5 folder. I set Pane =1,Pane=2 etc in all five folder and set from Pane and To pane for each Item as 1:1, 2:2 etc.In the Preview mode it shows all item in the corresponding folder. When I run the same form in Debug mode, Sometime it shows only folder not its items. To view items in the folder, i have to open .srf form in screen painter and re run it in debug mode.
    Please suggest me a solution.
    Thanks in advance,
    BBN

    Hi
    Try setting the form PaneLevel in Code like this
                If pVal.Before_Action = True Then
                    Select Case pVal.EventType
                        Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                                Case "Folder1"
                                    oForm.PaneLevel = 1
                                Case "Folder2"
                                    oForm.PaneLevel = 2
                            End Select
                    End Select
                End If
    hope it helps

  • Problem with Folder created in Screen painter

    Hello,All
    I created six folder for UD screen with screen painter and i set pane level properties correctly. While running with screen painter we can see each and every item with respect to folder
    But the problem is while loading this user defined form in SAP B1 items related with folder is not coming. (Not at all coming any item under any folder) if will run same screen in screen painter items correctly.
    is der any coding is required for foder creation and manage
    By
    Firos.C

    Hi Firoz,
    You need to set a PaneLevel for each and every pane and that pane level is what you need to set as the From Pane and To Pane for the individual items within that corresponding pane.
    Say, you have a pane with PaneLevel = 3, then, for all the items within that pane, you need to have the from and to pane as 3.
    Hope this helps,
    Best Regards,
    Satish. B.

  • Development Steps for addon after design the screen in screen painter

    Dear All,
               I am new to SDK Development.Now am developing an screen for Sub contracting.Basically am not a B1 technical conultant but I have some knowledge in development. i was developed a screen in screen painter but i dont know how to intergrate and develop the coding in VS2005.
    Regards,
    Vijay

    Hi
    There are many samples in SDK folder in C driveProgram filesSAPSAp business one SDKSamples
    Have a look at them they will give you a good start..
    Thanks

  • How to design select-option through screen painter

    I am new to screen painter. I want to make a screen having range of values high/low (just like select-option)......How can I do this using screen painter?

    Hi!
    Method 1
    a) Create a subscreen area in your screen layout where you want to create the select options.
    b) In the top include of  your module pool program declare a selection screen as a subscreen e.g.
           SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
                 select-options s_matnr for mara-matnr.
           SELECTION-SCREEN END OF SCREEN.
    c) In the PBO and PAI of the main screen where the select options needs to be created do a call subscreen of the above screen (100).
           CALL SUBCREEN sub_area INCLUDING    
      This call subscreen statement is necessary for transport of values between screen and program.
    Note: All validations of the selection screen fields e.g. the s_matnr field created above should be done in selection screen events like AT SELECTION-SCREEN etc and not in PAI. These selection screen validations etc should be done in the top include only.
    Method 2
    a) Create 2 separate fields in your screen layout - one for the low value and one for the high value. Insert an icon beside the high value which will call the multiple selections popup screen on user command. Use function module COMPLEX_SELECTIONS_DIALOG to achieve this.
    struc_tab_and_field-fieldname   = con_cust.      " 'KUNNR'
    struc_tab_and_field-tablename = con_kna1.     " 'KNA1'.
    CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
              EXPORTING
              TITLE                   = ' '
                text                         = g_titl1                                " 'Customers'
                tab_and_field     = struc_tab_and_field
              TABLES
                RANGE                   = rng_kunnr
              EXCEPTIONS
                NO_RANGE_TAB          = 1
                CANCELLED                    = 2
                INTERNAL_ERROR     = 3
                INVALID_FIELDNAME = 4
                OTHERS                           = 5.
    IF NOT rng_kunnr[] IS INITIAL.
             Read the very first entry of the range table and pass it to
             dynpro screen field
               READ TABLE rng_kunnr INDEX 1.
               IF sy-subrc = 0.
                  g_cust = rng_kunnr-low.
               ENDIF.
    You can use the return table rng_kunnr to populate your own internal range table with the values entered by the user. Basically here you are just simulating the work of a select-options parameter by module pool screen elements
    You can go with it also ....
    Re: Select-options in dynpro
    Regards....

  • Matrix column position problem in screen painter.

    hi.
    i am facing one problem.
    ie.
    i am developing one screen.
    it is having 3 matrix
    each matrix is having some columns
    one matrix ok two matrix ok thrid  matrix ok.
    but
    under third matrix i put some columnes
    1, 2 ,3, 4,
    in screen painter design mode every thing is ok
    it is appearing like 1,2,3,4
    but at preview mode or through the code if i open
    it is  appearing like 1, 4,3,2
    in preview mode screen painter if i click on the form settings it is showing only..
    matrix one columns only  it is not showing either 2 or 3
    and if i open the form through the code..
    i am able to see the columns of matrix 1 n matrix 2 and matrix 3
    i am using some code.
    If (pVal.FormUID = "WIP2PROCESS" And pVal.ItemUID = "1000007") Then
                                oForm = SBO_Application.Forms.Item("WIP2PROCESS")
                                oForm.PaneLevel = 2
                                oForm.Settings.Enabled = False
                                oForm.Settings.MatrixUID = "59"
                            End If
    now through the source code i am able to see the each column under matrix.
    but if  i change the matrix position at form setting it is changing but
    if i click other folder and come back to previous  folder..
    again the column position is   1, 4,3,2
    previously i changed to  1,2,3,4
    how can i do it..
    screen painter can i change it..
    Any information plz update me..

    Hi Srinivas,
    Can you do one thing for me ? Open your form in screen painter, set the columns as you want to display. Now change the unique id for the matrix. Then try to open it through code or see in preview mode.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

  • F4_FILENAME in search help in screen painter

    Hello gurus,
    I want to design a screen in which the text input field is used to get file name. For that i need to enable file search in local folders and drives with f4 key press. I wish to use the functionality of function module 'F4_FILENAME" in screen painter. How can i do that?
    I tried creating search help for RLGRAP structure. It compiles fine but gives the message 'No inout for selection'.
    What should i do?

    Thank you all,
    The problem has been solved.
    I am posting the final code.
    1. In se38, i created program zprogram.
    2. In se51, i created a screen for the program zprogram.
    3. In layout, i took 2 buttons and one input/output field.
    1st button for import and 2nd button for exit.
    4.In flow logic-
    i wrote the follwing code.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_100.
    PROCESS AFTER INPUT.
    PROCESS ON VALUE-REQUEST.
    FIELD FILENAME1 MODULE F4_FILE_SEARCH.
    5. IN THE MAIN PROGRAM
    i wrote the following code-
    REPORT ZPROGRAM.
    DATA: FILENAME1 TYPE RLGRAP-FILENAME,
               OK_CODE TYPE SY-UCOMM.
    CALL SCREEN 100.
    MODULE F4_FILE_SEARCH INPUT.
    OK_CODE = SY-UCOMM.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
        FIELD_NAME         = 'FILENAME1'
    IMPORTING
        FILE_NAME           = FILENAME1
    ENDMODULE.
    MODULE STATUS_100 OUTPUT.
    CASE OK_CODE.
    WHEN 'IMPORT'.
    MESSAGE 'THE FILE IS RECIEVED' TYPE 'I'.
    WHEN 'CANCEL'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.
    I REFERRED TO THE DEMO PROGRAM MENTIONED
    IN OTHER POST
    NAME OF THE DEMO PROGRAM IS - DEMO_DYNPRO_F4_HELP_MODULE

  • Is it possible to display the standard function keys in screen painter

    Hi ,
    I design a screen in se51 where I use push buttons and input/output buttons and so on in the layout, here in the layout or in my final output screen(when i assign this screen to a transaction) I would like to display other standard keys, ie the function keys and application toolbar items. I would like to know whether there is a possibility to do this , if yes then how?
    In a menu painter there is a possibility where I can customize the keys or I can use the standard keys by going to se41 extras->adjust template. Is there similar possibilities in the screen painter.

    Ok I see. I should use &var.
    Edited by: xerosaburu on Aug 18, 2009 11:37 AM

  • Passing the values from selection screen to screen painter

    Hello Friends,
    I'm making one report program in which im calling  one screen which i have designed, in my selection screen there is a select option for customer  tht accepts value range now i want to select all the customers entered in select options and pass these values in screen(screen painter).
    pls guide me how this can be done.
    Regards,
    Sunny

    Screen painter is a tool in ABAP dev workbench used to create the screens using the
    T-code SE51. In the screen painter, you can define the following interface elements with their associated attributes.
    1. Input/Output Fields
    2. Field Names
    3. Checkboxes
    4. Radio Buttons
    5. Group Boxes
    6. Sub screens.
    7. Pushbuttons with No Fixed Position
    Create a Z program in tcode SE38.
    Go to transaction SE51.
    Enter the created program name and screen number.
    Click on flowlogic tab. 
    Uncomment the statement u201C MODULE STATUS_0100 u201C. 
    CASE SY-UCOMM.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN 'BACK'.
          LEAVE PROGRAM.
        WHEN 'DISPLAY'.
          SELECT SINGLE Fileds to selsct
               INTO (interanl table or tablename-fileds)
          WHERE Condition.    WHEN 'CLEAR'.
          CLEAR table.
      ENDCASE.
    ENDMODULE.

  • Cannot load XML file in Screen Painter in SAPB1

    Hi All,
    i am creating an xml file of existing purchase order through the following code
    Public Sub getxml(ByVal FormUID As String)
            Dim f As SAPbouiCOM.Form
            f = sbo_application.Forms.Item(FormUID)
            Dim oXmlDoc As Xml.XmlDocument
            Dim sXmlString As String
            oXmlDoc = New Xml.XmlDocument
            '// get the form as an XML string
            sXmlString = f.GetAsXML
            oXmlDoc.LoadXml(sXmlString)
            Dim sPath As String
            sPath = IO.Directory.GetParent(Application.StartupPath).ToString
            oXmlDoc.Save((sPath & "\ChangedXml.xml"))
        End Sub
    i am calling this function getxml in pageload of this form as
    Private Sub B1_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles sbo_application.ItemEvent
            If pVal.FormType = "142" And pVal.BeforeAction = False Then
                Dim oItem As SAPbouiCOM.Item
                Dim oFolder As SAPbouiCOM.Folder
                Dim oform As SAPbouiCOM.Form
                Dim oStaticText As SAPbouiCOM.Button
                Dim oEditText As SAPbouiCOM.EditText
                Select Case pVal.EventType
                    Case SAPbouiCOM.BoEventTypes.et_FORM_LOAD
                        getxml(FormUID)
                End Select
            End If
    End Sub
    it will create the xml file ChangedXml.xml in the destination folder, then i will copy that one and paste it and change the extension to .srf.
    then i will open screen painter and try to acceess this one it will open the form but it will give an error as Error: Menu - Image Type Not Supported
    it will open the screen but it won't open the matrix, the space which consists of matrix in the original form will come as blank.
    Please any one help me, it's urjent.
    Thanks,
    Vaithy
    09886807576

    Hi Vaithy,
    Not all the items you have in B1 forms are supported by the UI API and/or the ScreenPainter.
    If you need to reproduce a B1 system form you will have to remove all items giving you an error in the ScreenPainter and then have a reduced form.
    Why do you need the xml of the Purchase Order form? Please take care if you are trying to reproduce the behavior of the Purchase Order form, there can be some Formatted Searches or other customizations in the B1 form if you are using other addons.
    Hope it helps
    Trinidad.

  • Urgent problem ......In screen Painter

    Dear all,
    May problem is in the Screen painter. with out clicking the EXIT button, exits out of the screen.
    and also the Messages are not displayed.
    I designed the screen, using GUI status I created two buttons in the application Toolbar.
    one for INSERT.
    one for EXIT.
    In the main program I coded like this
    save_ok = ok_code.
      SELECT * FROM ziv_check_intfc INTO TABLE it_check_intfc.
       CASE sy-dynnr.
          WHEN '2000'.
            CASE save_ok .
              WHEN 'INSERT'.
               LOOP AT it_check_intfc INTO wa_check_intfc.
                    IF wa_check_intfc-ziv_intfc <> ziv_check_intfc-ziv_intfc.
                       IF wa_check_intfc-ziv_attr  <> ziv_check_intfc-ziv_attr.
                          IF wa_check_intfc-ziv_value <> ziv_check_intfc-ziv_value.
                              INSERT ziv_check_intfc.
                                                           MESSAGE 'RECORD INSERTED INTO TABLE' TYPE 'I'.
                                                     ELSE.
                                                      MESSAGE 'RECORD ALREADY EXISTS IN THE TABLE' TYPE 'I'.
                           ENDIF.
                      ENDIF.
                    ENDIF.
               ENDLOOP.
             WHEN 'EXIT'.
              LEAVE PROGRAM.
            ENDCASE.
    ENDCASE.

    Make sure that you clear the ok_code after processing it.
    save_ok = ok_code.
    SELECT * FROM ziv_check_intfc INTO TABLE it_check_intfc.
    CASE sy-dynnr.
    WHEN '2000'.
    <b>CASE ok_code.   "save_ok .</b>
    WHEN 'INSERT'.
    <b>clear ok_code.</b>
    LOOP AT it_check_intfc INTO wa_check_intfc.
    IF wa_check_intfc-ziv_intfc <> ziv_check_intfc-ziv_intfc.
    IF wa_check_intfc-ziv_attr <> ziv_check_intfc-ziv_attr.
    IF wa_check_intfc-ziv_value <> ziv_check_intfc-ziv_value.
    INSERT ziv_check_intfc.
    MESSAGE 'RECORD INSERTED INTO TABLE' TYPE 'I'.
    ELSE.
    MESSAGE 'RECORD ALREADY EXISTS IN THE TABLE' TYPE 'I'.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDLOOP.
    WHEN 'EXIT'.
    <b>clear ok_code.</b>
    LEAVE PROGRAM.
    ENDCASE.
    ENDCASE.
    Regards,
    Rich Heilman

  • Patches in screen painter

    Hi Experts...
    while designing screens in screen painter i am switching to the alpha screen editor...
    i have search for the problem but the the graphical layout editor is not getting started...
    any idea..

    Hi,
    Check Below links...........
    Where can I download SAPGUI 7.1 Patch 8
    Re: Distribute GUI patch via installationserver

Maybe you are looking for