Form not getting displayed in sap b one

I have created a form using screen painter.But it is not getting displayed in sap b one.When I debugged the form it doesnot show any error.

Option Strict Off
Option Explicit On
Friend Class frmEmployee
    Private WithEvents SBO_Application As SAPbouiCOM.Application
    Private objForm As SAPbouiCOM.Form
    Public Sub New()
        MyBase.New()
        '// set SBO_Application with an initialized application object
        SetApplication()
        LoadFromXML("frmEmployee.xml")
        'LoadFromXML("MySimpleFormxml")
        '// Get the added form object by using the form's UID
        objForm = SBO_Application.Forms.Item("F_4")
        '// Show the loaded Form
        objForm.Visible = True
        '// Saving the Form as an XML file
        '// although it already exist as an XML file
        '// it is good for practice
        'SaveAsXML(objForm)
    End Sub
    Private Sub SetApplication()
        '// Use an SboGuiApi object to establish connection
        '// with the SAP Business One application and return an
        '// initialized appliction object
        Dim SboGuiApi As SAPbouiCOM.SboGuiApi
        Dim sConnectionString As String
        SboGuiApi = New SAPbouiCOM.SboGuiApi
        '// by following the steps specified above, the following
        '// statment should be suficient for either development or run mode
        sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
        '// connect to a running SBO Application
        SboGuiApi.Connect(sConnectionString)
        '// get an initialized application object
        SBO_Application = SboGuiApi.GetApplication()
    End Sub
    Private Sub LoadFromXML(ByRef FileName As String)
        Dim oXmlDoc As Xml.XmlDocument
        oXmlDoc = New Xml.XmlDocument
        '// load the content of the XML File
        Dim sPath As String
        'sPath = IO.Directory.GetParent(Application.StartupPath).ToString
        sPath = "D:\Final\Forms"
        oXmlDoc.Load(sPath & "\" & FileName)
        '// load the form to the SBO application in one batch
        SBO_Application.LoadBatchActions(oXmlDoc.InnerXml)
    End Sub
    Private Sub SaveAsXML(ByRef Form As SAPbouiCOM.Form)
        Dim oXmlDoc As Xml.XmlDocument
        Dim sXmlString As String
        oXmlDoc = New Xml.XmlDocument
        '// get the form as an XML string
        sXmlString = Form.GetAsXML
        '// load the form's XML string to the
        '// XML document object
        oXmlDoc.LoadXml(sXmlString)
        Dim sPath As String
        'sPath = IO.Directory.GetParent(Application.StartupPath).ToString
        sPath = "D:\Final\Forms"
        '// save the XML Document
        oXmlDoc.Save((sPath & "\frmEmployee1.xml"))
    End Sub
End Class

Similar Messages

  • Adobe Form NOT getting displayed in WebDynpro Modal Window  (Pop Up)

    Hi,
    I am trying to display the table data in a Interactive Form. I have used TABLE UI element in Interactive Form. When the user clicks on a EXPORT button this form is displayed in a pop up window (Modal Window). This form is not getting displayed for most of the users. In some PC's it is getting displayed, strange is all their browser versions and OS versions are same.
    Portal Version: NW04s SP8
    NWDS Version : NW04s SP8
    Adobe Live Designer: 7.1
    Acrobat Reader: 7.0.8
    I tried changing the display type (property of Interactive Form Element) to NATIVE, it is not working at all. If i change it to "activeX", then it works in some PC's.No logs are found in the server as well as in the client PC as well.
    Please let me know if you have come across this problem, looking forward to your solution.
    Thanks
    Senthil

    Hi,
    It seems to be available only for ABAP version. I cant find it in the java version.. check this..
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/656442a1c4de54e10000000a155106/frameset.htm">Help SAP Link for Java Reference</a>
    And even in ABAP , the pre-requisite seems to be installation of ACF,
    The exact words
    <i>
      Adobe Reader (>= 7.0) and, if you are creating interactive forms, also the ActiveX Control Framework (ACF) installed on your computer. Also see SAP note 834573.</i>

  • Adobe Form not getting displayed on the portal

    Hi,
    From the MSS portal when I run the process, the associated adobe form(using HCM) doesn't get displayed on the portal. Initially the problem was with higher version of acrobat reader but now it is solved. Now I am not getting any error or warning but adobe form still not getting displayed.
    Please help.

    Later

  • ADOBE Interactive Form not getting displayed in Browse

    Hi,
    Currently I am working on EhP4 project on ECC 6.0 environment. For HCM, We have interactive ADOBE forms for MSS. While testing we found that all buttons are displayed in a browser (we are are window 7 IE 8 ) but interactive form is not getting displayed in the browser (Fill out Form as part of MSS).  It only displays a line
    Checked ADS configuration as per oss note and works ok. Did HTTPWATCH - browser is getting (GET) the Adobe forms with values but not displaying it. If I copy URL from HTTPWATCH GET line in a separate browser window it displays the form.
    Thanks in advance your help.
    Regards
    Jitendra Pongurlekar

    Hey Chris (and others),
    We were having this same problem, and this Note fixed the issue (thanks!).  However, we are still experiencing another issue with HCM Processes and Forms under EhP4.  Before this Note, it took about ten minutes before "single line display" would show up.  Now after the Note, we get the full form, but it still takes ten solid minutes of waiting before it appears in the window.  We're pretty sure it's not a Portal issue, nor an ADS issue, but something with the web dynpros on the ABAP side.  However, we have not yet been able to resolve it.  Anyone else run into this performance problem with HCMP&F after upgrading to EhP4?  We don't have the problem with EhP3.
    Best regards,
    Matt

  • Adobe Form not getting displayed in WebDynpro Modal Window

    Hi,
    I am trying to display the table data in a Interactive Form. I have used TABLE UI element in Interactive Form. When the user clicks on a EXPORT button this form is displayed in a pop up window (Modal Window). This form is not getting displayed for most of the users. In some PC's it is getting displayed, strange is all their browser versions and OS versions are same.
    Portal Version: NW04s SP8
    NWDS Version : NW04s SP8
    Adobe Live Designer: 7.1
    Acrobat Reader: 7.0.8
    I tried changing the display type (property of Interactive Form Element) to NATIVE, it is not working at all. If i change it to "activeX", then it works in some PC's.No logs are found in the server as well as in the client PC as well.
    Please let me know if you have come across this problem, looking forward to your solution.
    Thanks
    Senthil

    Hi,
    even though this is quite an old post, it still could be worth for someone to have a look at Note 1342716.
    Michal

  • Attachment in portal not getting displayed in SAP Inbox

    Hi All.
    While creating travel expense requests from Enterprise Portal, travelers create few attachments and then save the travel expense reports.
    A workflow then gets triggered and these travel expense reports reach SAP Inboxes of the checkers [in the finance department].
    The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
    I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
    What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox? Please suggest!
    Br,
    Hari

    Hi,
      You may have to check with the stylesheet, Check if the iVIews are using portal stylesheets from portal theme. If you want to use WD style sheets, The parameter for the web dynpro to use special theme "sap.useWebDynproStyleSheet" should be "true" (configuration adapter->webdynpro->sap.com->tcwddispwda) in visual admin. If you want to set this option for particular iViews only, then from the WD iView properties, set 'Supply Portal stylesheet' property to 'No'.
    Regards,
    Harini S

  • Catalog codes not getting displayed in Field- QS41

    During my customisation activity, codes of catalog profiles are not getting displayed in SAP screen. Field for codes are showing as blank grey area in QS41 Tcode. If I try creating same codes again, system throwing error saying "key for entry is exisying already".
    Another observation is in the initial screen of QS41 if I select catalog and codes from folders all codes we can see for selection in initial screen, but same is not getting displayed in field for codes in QS41, its showing blank grey fields. Could anyone tell me what might be reason. Its happening for standard catalog profiles also.
    Could anyone tell me what might be the reason.

    Hello Vineeth,
    could you please apply note [1078292|https://service.sap.com/sap/support/notes/1078292] in your system this should resolve the discribed issue.
    Regards,
    Isabelle

  • In produstion one window in smart form is not getting displayed

    hello everyone,
    i had created one smartform report,
    its getting executed on development,
    but on production only one window not getting displayed,rest of the windows are displaying.
    can you give me some suggestions so i can make changes in smartforms.
    thaking ya
    chitra

    First check for window conditions
    which window is not displaying secondary window or copies window or Final window or address window
    and tell me the clearly

  • SUN ONE Ldap - Default value is not getting displayed

    Hello,
    I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf.
    The default value for the attribute has been given in the SUN ONE Ldap. But it is not getting displayed in our application.
    Can any one help me in this for this issue.
    Regards,
    K. Senthil Kumar

    I assume that you are referring to a brand new field on the second step that was not on the form of the first step. If this is the case, then you should put the field in a hidden block of the first steps form. Default values and Auto-population from shells/single record BPs only occur of the create step, even if they are not used on that step. As long as you put them on the create step (even in a hidden block) they should initialize.

  • Payslip(HR Forms) is not getting displayed

    Experts,
    We are using HR forms for pay slip, i am not able to display/print form for one of the employee. How to solve it/
    Pls advice.
    Also if we deleted any wage types which has paid in the past run, system is doing retro and getting stored in RTs. But it is not getting displayed in the form.
    My ABAPer is using standard function for picking the retro values, since the wage type is completely deleted (bec of ZERO value), it is not getting showed in slip.
    Pls advice

    Medi reimb allowance has been paid to an employee in apr 11 and then may 11 client realised, he is not eligible for that. so they need to recovery it fully. it was a master data issue while go live time in april.
    since it is null value, we had to delete it  completely, so the system performs retro and getting paid. But it is not getting displayed in pay slip HR Forms.
    ABAPer who developed the pay slip is saying, since we deleted the component it is not getting displayed by standard function. other scenarios like change value of wts, perfectly showing the retro and actual payments.

  • Portal Forms are not getting displayed in the new oracle environment.

    Hi All,
    The Forms in our Portal applications are not getting displayed after we have done the upgradation of Database in Unix from 8i to 9i. The reports are working fine.The forms that were added as portlets are not getting displayed and other forms that are called thorough links returns error when it is run. The Newly created forms are also not running but returns error. The Portal Version is 3.0.9.8.3. Pls help.
    Regards,
    Tom

    Hi ,
    Based on the requirement , check whether the customer contact has been done carried out for the invoice  , then possibility it must have gone out of the worklist , chekc whether the Invoice posted in the AR has been transferred to FSCM collection .

  • Default Value is not getting displayed in SUN ONE Ldap

    Hello,
    I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf.
    The attribute default value is given through SUN ONE Console. But, In our application the default value is not getting displayed.
    We need the default value to run our applicatin. Can anyone help me for this issue
    Regards,
    K. Senthil Kumar

    Hi anandkumar,
    I belive this issue can be resolved by changing the  Query proprties for the perticular field.
    Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
    __Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
    FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
    Hope this helps you!!
    Best Regards,
    Maruthi

  • Data is not getting displayed in my form

    hi,
    i have declared variable to hold amount in that as v_amt type konv-kwert in my program and in form interface in import parameters i gave it the same as v_amt type konv-kwert..............and in text i gave the variable v_amt.............
    but it is not getting displayed................

    Hi!
    on the application toolbar on the top a icon is there for Field list on/off.
    click on it.
    below left hand side field names will be displayed.
    now from the import parameter drag that parameter and drop it in the text boc where you are to display it.
    try this way.....it can work.....sometimes there is problem when u don't drag and drop the fields from the list box in the text nodes.
    Regards.

  • Object form is not getting displayed for few users

    Guys
    I have successfully implemented approval and provisining flows for a new resource in OIM 9.1.X. This resource has an object and a process form.
    It is working fine in production for few users. But for few users, the object form is not getting displayed to give the input while requesting this resource.
    Please let me know what might be the issue.

    Hi,
    Could you please check whether you have added ALL_USERS group as a resource administrator group in resource object definition?
    Add AL_USERS group as a resource administrators with the read access.
    We had similar issue and managed to resolved.
    Thanks,
    Pallavi Chaudhari

  • Data of one group not getting displayed (in rtf template)

    Hi
    We have build one rtf template it has 2 sectrions one is main section where data is being displayed with out any issues.
    where as for Sub section data is not getting displayed though there is data in xml file
    1) Main section
    <?for-each@section:G_ORDER?>
    <?for-each:G_PART_NUM?>
    data in this porting is getting displayed
    <?end for-each?>
    <?end for-each?>
    2) Sub section at the end of page
    <?for-each:G_SCH_SCH_B?>
    data in this portion is not getting displayed
    <?end for-each?>
    Regards
    Kamalakar.G
    Edited by: kamalakarg on Jul 13, 2012 8:47 PM

    Please, post sample XML and desired output.

Maybe you are looking for

  • Question about Game Center games...

    I have a 1st gen ipod so i can get 4.0 but i have 3.1. What im curious about is can i buy games that are from game center but require atleast 3.0 to play? i know if its a game center game and needs 4.0 i cant play it obviously, but if its a game cent

  • Regarding WAR files

    Hi All, I have developed a project for my client which involves uploading images. At present I am storing images within the project, i.e it gets stored within the build folder inside a folder named images. While working in my machine with Netbeans ID

  • HT1338 Turbotax in app store says i need to update to Mac OS X 10.8.2

    Turbotax in app store says i need to update my macbook pro to Mac OS X 10.8.2, and when I go to Software Update on my apple button to upgrade from my OS X 10.6.8 nothing appears as needing to be updated except iPhoto.  What do I need to do so my Macb

  • Need Material on BAPI

    Hi Follks, I need some material on BAPI in order to understand the use of BAPI and why BAPI are needed.  Regards, Imran

  • Connecting CV to AV

    Hello, We are looking for a way to join the attribute views into calculation views. We tried to join the attribute view in the calculation view with left outer join: But when we run a query against this CV  even if we don't select any field from the