Open a screen painter file

Hi Dear;
what is the sentence that open a screen painter file.
thank you Dear.

Hi,
Open a srf where, if you need to sow the form in the SBO Client you need to load the form, you can use two ways:
One, for my the best, use the FormCreationParams, this is the sample in the UI API help:
Dim oForm As SAPbouiCOM.Form
Dim creationPackage As SAPbouiCOM.FormCreationParams
creationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
   creationPackage.UniqueID = "MyFormID"
   creationPackage.FormType = "MyFormType"
   creationPackage.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
   creationPackage.XmlData = FormXml     // You can load the form with XML
   // Add the form to the SBO application
   oForm = SBO_Application.Forms.AddEx(creationPackage)
And other is use the method LoadBatchActions of Application object, this is the sample in the UI API help:
Private Sub LoadFromXML(FileName As String)
'// Assuming a directory named "XML" under "C:\Program Files\SAP Manage\" exists
'// And a reference to Microsoft XML was added to the project references
    Dim oXMLDoc1 As MSXML2.DOMDocument
    Set oXMLDoc1 = New MSXML2.DOMDocument
    '// load the content of the XML File
    oXMLDoc1.Load ("C:\Program Files\SAP Manage\XML\" + FileName)
    '// load the form to the SBO application in one batch
    SBO_Application.LoadBatchActions oXMLDoc1.xml
End Sub
The srf file is an XML Document.
In booth cases you need to load the XML file, I think taht if you use MSXML API is very simple.
Best regards.

Similar Messages

  • Unable to open SAP Screen Painter on the current desktop.

    Hi,
    Whenever I try to open Screen painter through SAP GUI I am thrown with an error message "EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'". This error has been occurring since I have changed my workstation. When I use my SAP login ID on a different desktop, screen painter is working fine. This means that the problem is not with the SAP login or the SAP server, the problem lies with the GUI or current desktop setting. Please look into this issue and help resolving this issue. Please revert if any further information is required.
    I have already tried/checked the below steps:
    1. Reinstalled SAP GUI.
    2. gnetx.exe and eumfcdll.dll is already present in my system.
    3. I have checked the setting, Utilities->Settings->Screen Painter->Graphical Layout Editor (Checked)
    The issue is when is tested the RFC conection " EU_SCRP_WN32" it gives me the below error.
    Logon          Cancel
    Error Details     timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host mb5ap1039 / sapgw00
    Error Details     DETAIL: no connect of TP gnetx.exe from host %%SAPGUI%% after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 26638
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 6226
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Fri Jun 18 11:20:53 2010
    Error Details     VERSION: 2
    Can anybody help me with the above issue.
    Regards,
    Smithesh

    Hi Rich,
    I followed the correction instruction of the note 133903 but didn't work for me .
    I am using SAPGui 7.20.
    Details: (after replace the files)
    ABAP Development Workbench
    Release 7.20
    Graphical Screen Painter
    File Version 7200.0.1300.354
    Build 354w209
    05 May 2010 / 16 Jun 2010
    OS: Windows 7 Professional 32bit
    Some times appears the message box: No response  from Graphical Screen Painter - Exiting.
    On title bar of message box appears: gnetx.exe
    Can I do some thing else?
    Regards,
    Rodrigo
    Edited by: Rodrigo Bernardo on Jun 23, 2010 6:36 PM

  • Problem in opening of screen painter layout

    When I am opening screen painter using SE51 it opens,but layout should not be opened in a desired format.

    ... also the settings should be graphical screen painter.
    If this is not the issue, please explain what you mean by layout should not be opened in a desired format.. Shoud not? Is not? Whats the desire?
    Regards,
    Clemens

  • How do you open graphical screen painter

    Hi all-
    I'm using PlatinGUI 6.30r2.  How do I open the graphical screen painter (after going into object navigator, I want to place controls on a screen)?
    I clicked Layout, but get what appears to be a bunch of horizontal lines-- nothing like a screen painter.
    thanks,
    Kevin

    Actually, the GUI provided on the CD is 6.30r4.  After trying to install I got this:
    rpm –Uvh path/PlatinGUI-Linux-6.30-4.i386.rpm
    >./gui
    JAVA=/usr/lib/java/bin/java: Command not found
    PH=/opt/sapgui/6.30rev4/jar: Command not found
    SOI=/opt/staroffice7/program/classes: Command not found
    JAVA: undefined variable
    I read elsewhere on one of these forums that the free GUI on the sneak preview doesn't work so well with the database (and learned this by sad experience myself), so I downloaded and installed an earlier version from the website:
    ftp –d ftp.sap.com
    name: anonymous
    pw: email account
    cd to /pub/sapgui/
    get PlatinGUI-Linux-630r2.jar
    I installed that with java –jar PlatinGUI-Linux-630r2.jar, but I didn't see any prompts about installing specific components, so I have no idea what you are referring to (must be on the software that people pay for).  That is the version I am currently using, and it is working fine except for this graphical screen painter is not coming up.  Now my ABAP book is from 2002, so I'm sure it is included somewhere.  Do you have any suggestions?  Don't worry, you will get your points.
    thanks-

  • Error while opening a screen painter

    Hi all,
    I am trying to modify a screen in SE80. But when i am clicking on the screen painter it shows 'EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Message no. 37033. Please let me know how to resolve this issue. Thanks a lot for your help!
    Regards,
    Priti

    For the Future Problem Facers:
    I too faced the same problem and the below steps helped me.
    Re: SFLIGHT is NOT defined for the current logical database.
    You can check the completeness of the program installation by starting the program gneux.exe locally in the SAPGUI directory (for example, by double-clicking on the program name in the Explorer window).The Layout Editor is displayed with German texts and an empty drawing area for the pseudo screen EUSPDYND 0000.
    If the installation is not complete, an error dialog box provides information regarding the cause of the error, for example, sometimes the DLL eumfcdll.dll is missing after reinstalling the SAPGUI. For example, the eumfcdll.dll DLL was sometimes missing after the SAPGUI was reinstalled.

  • How to Open multiple form with only one screen painter file

    Hi all ,
    I want to reopen the form without closing the active form ,i want to use same srf file ..
    I have already try it but form already exist error occur .
    pl help me , how to do it ?
    how to open multiple form with same srf file without closing active forms .
    thanks in advance,
    msw

    <?xml version="1.0" encoding="utf-16" ?>
    <Application>
      <forms>
        <action type="add">
          <form appformnumber="-1" FormType="-1" type="0" BorderStyle="0" uid="BOE" title="Bill of Entry" visible="1" default_button="1" pane="0" color="0" left="365" top="62" width="801" height="410" client_width="785" client_height="372" AutoManaged="1" SupportedModes="15" ObjectType="">
            <datasources>
              <dbdatasources>
                <action type="add">            
                </action>
              </dbdatasources>
              <userdatasources>
                <action type="add"/>
              </userdatasources>
            </datasources>
            <Menus>
              <action type="enable">
                <Menu uid="1282"/>
              </action>
              <action type="disable">
                <Menu uid="5890"/>
              </action>
            </Menus>
            <items>
            </items>
            <ChooseFromListCollection>
              <action type="add">
                <ChooseFromList UniqueID="-1" ObjectType="-1" MultiSelection="0" IsSystem="1"/>          
              </action>
            </ChooseFromListCollection>
            <DataBrowser/>
            <Settings Enabled="0" MatrixUID="" EnableRowFormat="1"/>
          </form>
          <form appformnumber="-1" FormType="-1" type="0" BorderStyle="0" uid="BOE1" title="Bill of Entry" visible="1" default_button="1" pane="0" color="0" left="365" top="62" width="801" height="410" client_width="785" client_height="372" AutoManaged="1" SupportedModes="15" ObjectType="">
            <datasources>
              <dbdatasources>
                <action type="add">
                </action>
              </dbdatasources>
              <userdatasources>
                <action type="add"/>
              </userdatasources>
            </datasources>
            <Menus>
              <action type="enable">
                <Menu uid="1282"/>
              </action>
              <action type="disable">
                <Menu uid="5890"/>
              </action>
            </Menus>
            <items>
            </items>
            <ChooseFromListCollection>
              <action type="add">
                <ChooseFromList UniqueID="-1" ObjectType="-1" MultiSelection="0" IsSystem="1"/>
              </action>
            </ChooseFromListCollection>
            <DataBrowser/>
            <Settings Enabled="0" MatrixUID="" EnableRowFormat="1"/>
          </form>
        </action>
      </forms>
    </Application>

  • Problem opening secondary screen (add file, change info, add folder, etc)

    Whenever I open a secondary scren it automatically moves behind the itunes main window and it disables my ability to use itunes. My temporary solution is to press alt + tab to bring up the secondary creen. However the screen will intermitantly move behind the main itunes screen until i finish with it. It is very frustrating.

    I'm following the same book. Did you try starting j2ee first and then Cloudscape?

  • Screen Painter not working?

    Hi All,
    When i Open my screen painter and click on "Layout" button
    it shows error "No response from Graphical Screen painter-Exiting".  I have IDES 4.7c version on my pc at home. I'm an ABAPer and don't know about basis. Pls help to sort this problem.
    Thanks & Regards.

    Hi Beradze,
    1. Gui version is: 6.40.
    2. Files "gnetx.exe" & "gneux.exe" are available in the
        system.
    3.  "eumfcdll.dll" file is not showing in my installation.
    4. Two "eusp.dat*"  files showing in the system
        (euspdynd.dat, euspdyne.dat).
    5. I check the "sapsetup.log" file in my system and found only
        this error "SapFeiSv  3   Shell : file 'D:\47ides\GUI 4.0
        \GUI\WINDOWS\WIN32\sapgui\saplogon.exe' does not
        exist.
    6. I also checked the trace file, the error shown is given below:
        Sapgui 640 [Build 8965] Sat May 17 19:54:18 2008
        : 'partner not reached (host 192.100.10.1, service sapdp00)
        WSAECONNREFUSED: Connection refused
        How to disable firewall and antivirus? Pls let me know if you
        require any other information.

  • Layout problem in screen painter

    hi all,
            the screen is not appearing when i click 'layout' button in screen painter when i am enabling a wsp client proxy server. Is there any solution?

    some times SAP Gui behaves like this, in my case i faced this problem many times, some times after shutdown my sap logon pad. and restart the sap , go to se51 , it will open the Screen painter normally. But some cases i uninstalled the Gui, and re installed .then only it opens properly. select all components when installing.

  • Facing problem with layout editor in screen painter .

    Hi gurus,
    I have installed IDES ECC 6.0 in my home system. Now when I go to layout editor in screen painter, I am getting rows in the screen. As per my knowledge there is an installation problem ..How to rectify that ? Could any one please tell me.
    Thanks & Regards
    Vardhan

    some times SAP Gui behaves like this, in my case i faced this problem many times, some times after shutdown my sap logon pad. and restart the sap , go to se51 , it will open the Screen painter normally. But some cases i uninstalled the Gui, and re installed .then only it opens properly. select all components when installing.

  • Problems in screen painter

    Hi,
    whenever i used to open my screen painter for editing layout its giving me only alpha screen even i have checked the option in utilities or unchecked tell me what should be the problem

    Hi,
    Go to menu Utilities of screen painter
    User specific settings
    Select the tab Screen painter
    Select the check box Graphical layout editor.
    Hope your problem will be solved.
    <b>Reward if helpful.</b>

  • Graphical Screen Painter error

    When i try to create a screen, the system show a message timeout loading gaphical screen painter, and open a screen painter alphnumeric.
    I try this in minisap 6.1 and netweaver, using sapgui 6.4.
    Guive me sugestions o solve m problem.
    Regards, thanks.

    Hi Janish,
    Reinstall your SAP "Front End"
    Regards
    Allan Cristian

  • Is it possible to open a form created with screen painter more than once?

    I have created a form with the screen painter. In the screen painter the form is assigned a FormUID. Probably because this is done, it is impossible to open the form more than once??
    Thanks,
    Kind regards

    Hi J.
    The answer is yes You just have to give your form a unique id.
    1) Give your form in screen painter a name like BTWO_DYNAMIC_UID (just plain text).
    2) Make sure your <i>FormType</i> and <i>appformnumber</i> have a unique number (i.e. 2000060001). You can do this in the xml source.
    3) By loading your document replace the BTWO_DYNAMIC_UID with an unique id. I have a counter that's a member of my class and increase that number to get a unique id (BTWO_F_1, BTWO_F_2 etc)
    I have added a code sample, SBOApplication is my SAP application object and mFormNumber is a member (integer) of my class.
    <i>Succes d'r mee, en als 't nie lukt hoor ik het wel... ;)</i>
    <b>Code (C#):</b>
    // New xml document
    XmlDocument oXmlDoc = new XmlDocument();
    private Form LoadUniqueForm(string AMyFile)
      // Define your path to
      sPath = @"Forms" + AMyFile;
      // Load the form
      oXmlDoc.Load(sPath);
      // Replace the string with an unique id
      mFormNumber++;
      string sXML = oXmlDoc.InnerXml.Replace("BTWO_DYNAMIC_UID", "BTWO_F_" + mFormNumber.ToString());
      // load the XML file in SAP
      SBOApplication.LoadBatchActions(ref sXML);
      // Return the form
      return SBOApplication.Forms.Item("BTWO_F_" + mFormNumber.ToString());

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

  • What are file extension suppored by the screen painter

    hai
    i have small doubt at screenpainter.
    what are the file extensions supported by screen painter
       thanking
      nagababu

    It supports both files in .xml or .srf (at least I have opened both with the Screen Painter).  My guess it supports any extension ... as long as the contents in the file have the right xml code on them.

Maybe you are looking for

  • Can I share a bluetooth headset with my iPhone 4 and my Mac?

    Can I share a bluetooth headset with my iPhone 4 and my Mac? I don't mean both at the same time. I just think it's silly to buy a separate headset for each. I'd like to be able to sometimes use the headset with my Mac and other times use it with my i

  • [CS4] ReferenceError: Error #1065: Variable {ClassName}  is not defined

    A few days ago I decided to give Matrix3D a try, so I changed my publish setting to target flash player 10, and just to be safe, I hit the test movie magic combo (ctrl-enter) and got the dreaded Error #1065 all over the screen, so, ok, I thought I'll

  • Is soap provider agent only available for Sun app server 9.1?

    See the blue print on securing web services with soap provider agent. Is this agent embedded within the J2EE agent for sun app server 9.1? Is the same "soap provider agent" available for websphere 6.x or iis server? Thanks

  • Scheduling an sql script using dbms_scheduler

    Hi Experts, I am having an oracle 10g database on windows platform. I have an sql script which has a normal set of sql statements (insertion and updation). I would like to schedule to run this sql script using dbms_scheduler but I've gone through cer

  • RH10 SharePoint integration

    I'm expecting a flood of fully formed and accurate responses to this post I'm trying to get RoboHelp 10 and SharePoint 2007 working for a demo I'm doing to justify a budget increase next year to upgrade to RH10. My first step was to get the Resource