How to get form's userid

Private WithEvents SBO_Application As SAPbouiCOM.Application
    Private Form As SAPbouiCOM.Form
'// Get the added form object by using the form's UID
Form = SBO_Application.Forms.Item("manager")
I have created a frmEmployee.srf file using screen painter.I converted this file in xml format and executed  LoadFromXML("frmEmployee.xml") function.
But I can not get form's uid.What is this forms user id ? What value should be given insted of manager ?

Hi Dilip,
    SAPbouiCOM.Form is an interface that represents any SBO form that exists or live in application. Since its not a class you cannot instantiate it but you can access any existing form opened by SBO or LoadForm() function and assign it to this. Each live form will be having a unique id to manipulate with it and get access of the form.
    For example you can open 2 Item master data forms. Each form will be having a unique id to identify for manipulation but these two forms will have a unique code. Using that unique code you can get that form instance and assign it to SAPbouiCOM.Form variable.
    But both forms are of same type 'Item Master Data'. In SBO it uses an number for each form type. For example 150 is an Item master data form type. This form type will be displayed on bottom left corner if System Information selected. Unique id is different and it will be unique across SBO application.
LoadForm() will return Form object
Try something like
Dim objForm as SAPbouiCOM.Form
objForm = ….LoadFromXML(xmlstring)
//I think you used File Name. You should try with xmlstring
HTH
B Ravi Shankar

Similar Messages

  • How to get form input in the same portlet using pageflow

    Hi this is premkumar
    i created 2 portlet in a portal how to get form input in the sampe portlet using
    pageflow
    help as early as possible

    Do to the complexity of the program we need to run it with sequences.  This is because we need to aquire data with DAQ until it reaches a certain point and then stop collecting so that it can do its process (only once for all times criteria is met), and then loop around till again collecting after DAQ drops back below certain point looking to once again reach that point.  Another flat sequence is going outside of this where I want to put the prompt and have a user input to affect how many times that that the inner loop is run (No a For Loop instead of the while loop will not work either for other reasons). 
    I just want to know if after the program starts you can have a user input that will change the effect of the rest of the programs action based on the number inputed.

  • How to get form upload value...?

    Hi, I'd like to know how to get form upload value?
    I have my initial page, index.cfm that has a upload input box
    (named "fileToUpload")that submits to action.cfm. In action.cfm I
    tried to get the value of the input by doing
    <cfoutput>#form.fileToUpload#</cfoutput> but instead I
    got a string like
    ("E:\JRun4\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\neotmp5263.tmp"),
    I expected it to be the value that was in the upload input field
    (i.e. "E:\My Pictures\Flowers.jpg"). How do I get this?
    Thanks,
    noijet

    CFFILE.ServerFile
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000192.htm#2712126
    CFFILE ACTION=Upload variables
    File variables are read-only. Use the CFFILE prefix to
    reference file
    variables; for example, CFFILE.ClientDirectory. The File
    prefix is
    deprecated in favor of the CFFILE prefix.
    CFFILE.AttemptedServerFile
    CFFILE.ClientDirectory
    CFFILE.ClientFile
    CFFILE.ClientFileExt
    CFFILE.ClientFileName
    CFFILE.ContentSubType
    CFFILE.ContentType
    CFFILE.DateLastAccessed
    CFFILE.FileExisted
    CFFILE.FileSize
    CFFILE.FileWasAppended
    CFFILE.FileWasOverwritten
    CFFILE.FileWasRenamed
    CFFILE.FileWasSaved
    CFFILE.OldFileSize
    CFFILE.ServerDirectory
    CFFILE.ServerFile
    CFFILE.ServerFileExt
    CFFILE.ServerFileName
    CFFILE.TimeCreated
    CFFILE.TimeLastModified
    Ken Ford
    Adobe Community Expert
    "noijet" <[email protected]> wrote in
    message
    news:efc7gq$n7s$[email protected]..
    > Hi, I'd like to know how to get form upload value?
    > I have my initial page, index.cfm that has a upload
    input box (named
    > "fileToUpload")that submits to action.cfm. In action.cfm
    I tried to get
    > the
    > value of the input by doing
    <cfoutput>#form.fileToUpload#</cfoutput> but
    > instead I got a string like
    >
    ("E:\JRun4\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\neotmp5263.tmp"),
    > I
    > expected it to be the value that was in the upload input
    field (i.e.
    > "E:\My
    > Pictures\Flowers.jpg"). How do I get this?
    > Thanks,
    > noijet
    >

  • How to get form fields in a dynamic page as a portlet

    I have a dynamic page(publish as portlet and added to a portal page) with a html form that has many radio button created dynamically (query a table and create as many radio button as records I found) and the name of each radio button is the id of the record from the table it represents.
    When I click the submit button of my form it will recall the same portal page and then I have to check which radio buttons where selected to update the database depending on it.
    The problem is that I can't get the radio buttons inside the dynamic page because they are created dynamically so I can't make them portlet parameters to be associated with page parameters.
    So How can I tell which radio buttons have been selected?
    Please help me.

    Hi,
    Write a procedure which will be called as the form action. This procedure should take an array of parameters like p_arg_names and p_arg_values. For example
    <html>
    <form>
    <input type="checkbox" name="p_radio">
    <input type="checkbox" name="p_radio">
    </form>
    procedure submit_form(p_radio in wwv_utl_api_types.vc_arr)
    begin
    for i in 1..p_radio.count
    loop
    htp.p(p_radio(i));
    end loop;
    wwv_redirect.url(<page_url>);
    end;
    Hope that helps.
    Thanks,
    Sharmila

  • How to get   ECC Mapped UserID

    Hi ,
    I need to get the ECC Mapped USerID (mapped in portal) and pass it to a BAPI. ANy Idea how do I get it from UME once it is mapped in Portal.
    Thanks,
    -Ashwani

    Hi,
    if you are using WD then your code will work will little modifications:
    IWDClientUser user = WDClientUser.getLoggedInClientUser();
    Iuser puser = user.getSAPUser();
    IUserMappingService iumser = (IUserMappingService) WDPortalUtils.getServiceReferences.(IUserMappingService.KEY);
    IUserMappingData iumdata = iumser.getMappingData("System Alias",puser);
    Map map = new HashMap();
    try {
    iumdata.enrich(map);
    } catch (Exception e) {}
    String userid = (String)map.get ("user");
    IWDClientUser and WDPortalUtils Api is already provided by webdynpro runtime,
    apart from this you have to add saaj-api.jar ,usermapping_api.jar which you have already included,
    and com.sap.security.api.jar for iuser.
    if you are using NWDI then these jars excluding usermapping api jars are available in webservice and com.sap.security.api.sda lib dcs.
    finally in webdynpro shared references you have to give the references like this:-
    PORTAL:sap.com/com.sap.portal.usermapping
    Regards,
    Siddharth

  • How to get Win NT userid for setting VPD application context?

    We are planning to implement row-level security using VPD. For that to happen, we need to capture the Windows NT userid since all the applications connect through a generic Oracle userid which will not help us.
    Has anyone done this before? Your responses are appreciated.
    Thanks.

    SELECT osuser
    FROM v$session
    WHERE audsid = (SELECT USERENV ('sessionid') FROM dual)

  • How to get former messages after synch my Blackberry with Office 365 ?

    Hello,
    I synchronised my Blackberry with Office 365, using the Blackberry Business Cloud Services interface. The synchronization worked perfectly, but I'd like to have on my smartphone messages dated before the day of the synchronization.
    Is there a setting to get the earlier messages?
    Thank you in advance for your reply.
    Isabelle

    Hi,
    According to your description, I notice that Outlook for Mac for Office 365 cannot open shared calendar.
    If I misunderstand your concern, please do not hesitate to let me know.
    Which account are you used, Exchange account or Microsoft account?
    Would you please login OWA and test to open this shared calendar?
    Outlook for Mac cannot open the shared calendar which is a sub-calendar, you have to ask calendar owner share all calendars under the default "Calendar" folder.
    More details about it, for your reference:
    http://support.microsoft.com/kb/2743766
    Best Regards,
    Allen Wang

  • Not able to get Form 16 A (SAP Business One 8.8 Version)

    Hi all,
    I am not able to get Form 16 A, after giving necessary information in Form 16 A Selection criteria screen (after posting  Outgoing payment for vendor and Govt authority), then system opens another window  u201CForm 16 A reportu201D  and clicked u201Cgenerate certificate nou201D , but not able to view form 16A.
    system is throwing a message "No certificate number marked to any invoice included in this form",
    where to mark the certificate number in the invioice?
    In BP master under accounting , tax subtab, for Subject to withholding tas there we have a feild for certificate no, update this feild also the same system mesaage is popping up
    Is there any other process to view?
    Am working on SAP Business One 8.8 (8.80.229)  SP: 00  PL: 10
    Can anyone help how to get Form 16 A
    Thanks
    Kumar
    Edited by: kumar on Jun 29, 2010 1:11 PM
    Edited by: kumar on Jun 29, 2010 1:12 PM

    Hello Dear,
    After posting outgoing payment and payment of TDS on TDS account,Update the challan entries.
    You can get the update challan entries form under Financial --CXS-TDS.
    After that open the Form 16 A form you will get the report.
    Thanks,
    neetu

  • How to get SSO userid to URL-based app?

    I'm developing a web-app using Struts that will be accessed by Portal (I guess as a URL-based app). The web-app will not require login. The web-app will not be Portal "aware", except that it requires the SSO userid for auditing/logging purposes.
    I know little about Portal and SSO. How can Portal be configured to send the Portal userid of the logged-in Portal user? Can it send it as a parameter in a GET or POST?
    The version of Portal will be 9.0.2 (or greater).

    This topic is answered in the PDK forum here:
    How to get SSO userid to URL-based app?

  • How to get HttpServletRequest parameters from two forms in a JSP

    I have this JSP with two forms calling the same servlet. Problem is, when I use a submit button in the second form, I am unable to retrieve the request parameters from the form through the servlet. I am wondering if anybody could give me some info on how to get the request parameters from the second form. I tried to see all the parameter names in the request by calling request.getParameterNames(). But the parameters in the second form are not even seen in the request although I am clicking the submit button in this form!

    First, two forms works fine in one jsp so no need to argue about that.
    Second, did you put the form actions and type ("multipart/formdata " ?) explicit in every form header ? Did you supply different form names ?
    Try to call the submit function through javascript - document.forms[0].submit() for your first, and document.forms[1].submit() for your second form...
    Did you forget to close the form tag by chance ?

  • How to get the last page  SAP Script form

    How to get the last page  SAP Script form.
    I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
    Regards

    Hi
    You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
    From SAP Help:
    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
    /: IF &NEXTPAGE& = '0'
       Last page
    /: ENDIF
    Max

  • How to get report in excel format instead of pdf from oracle forms.

    Hi,
    How to get report in excel format instead of pdf from oracle forms.
    Form & Report developer 10g
    report format .rdf

    create a report using report builder.
    call the report from form using the following procedure
    DECLARE
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(100);
         Str_Job_ID VARCHAR2(100);
         Str_URL VARCHAR2(100);
         PL_ID PARAMLIST ;
    BEGIN
    PL_ID := GET_PARAMETER_LIST('TEMPDATA');
         IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('RP2RRO');
         Add_Parameter(pl_id,'P_SUPCODE',TEXT_PARAMETER,:CONTROL.S_CODE);
    Add_Parameter(pl_id,'P_INVOICE_NO',TEXT_PARAMETER,:CONTROL.IN_NO);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'INVOICE_REG_DETAILS.rep');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'SPREADSHEET');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, 'rep_dbserver_frhome1');
         Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
         Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH('rep_dbserver_frhome1') + 2, LENGTH(Str_Report_Server_Job));
         Str_URL      := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=rep_dbserver_frhome1';
         WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
         DESTROY_PARAMETER_LIST(PL_ID);
    END;

  • How to get the PO no in the smart form and in the print program from ME23N

    hello all,
                     I am new to smart form printing.I want to make a smartform along with print program that will show PO Details.It has to be created as an o/p type in ME23N. I have created an o/p type ZPO using NACE ..Can some one tell me how to get the PO number in the smart form and in the print program  from ME23N ,so that I can then program the necessary calculations?plz help me with the code.Thanks in advance.
    Subhabrata.

    Hello Everyone,
    I am new to the forum and also to abap.
    Excuse me if it is a basic question.
    I am taking care of the output types.
    This is 1st time SAP will be implemented .
    For purchase order , I go to NACE ---EF----NEU---Processing routines
    print output---SAPFM06P---ENTRY_NEU----MEDRUCK
    FAX-----------SAPFM06P---ENTRY_NEU----MEDRUCK
    EDI------------RANASTED--EDI_PROCESSING
    DISTRIBUTION(ALE)---RANASTED---ALE_PROCESSING
    Are the above settings fine ?
    What are the standard programs for the PO outputs . I am looking for the smartforms and the driver program .
    I searched and found that IN ECC 6 , we have to install OSS notes .
    Gurus, please help  me . Let me know what all oss notes be implemented and how to proceed from here .
    Any help will be greatly appreciated ,
    Monalisa

  • I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where

    I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where I do not have a Wi-Fi connections.  I need to be able access files without going to acrobat.com.  Help!!!@

    Post the PDF files to a web site. The browse to them in Safari on the iPad.  When you Open the files specify the Open to occur in Adobe Reader.  Then you can have/Save them in your Documents folder on the iPad.   An iPad has limited access to files otherwise.

  • Hi, just need to know how to get my music, video, pictures and apps form my iPhone to my new laptop as the old computer, which I used before was stolen. I only have my phone left and if I try to conect it to my new laptop it's trying to delete everything.

    Hi, just need to know how to get my music, video, pictures and apps form my iPhone to my new laptop as the old computer, which I used before was stolen. I only have my phone left and if I try to conect it to my new laptop it's trying to delete everything.

    I have also noticed all my settings won't stay set, example....I removed the check mark from "third party cookies", the when I close Firefox and reopen the check mark is back, also my tool bar has screwed up....can't reset, been having trouble the up grade.

Maybe you are looking for

  • How to change the font color of a disabled item

    Can I change the default color of a disabled item from gray to something else? I've tried to put style="color:darkblue" in the HTML form element attributes but it didn't worked.

  • JDBC adapter - not initialized after error

    Hi, While doing maintenance on the DB2 server we get the following error: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'XXXXXXXXXXXX': c

  • ITunes 9.1 - CPU goes to 100% when playing prot. AAC - clicks and gaps

    Since downloading 9.1, there are clicks and gaps when I play protected AAC songs on iTunes. Songs play fine with QuickTime player. When a protected song is played in 9.1, iTunes absorbs all available CPU. I have followed all remediation steps in the

  • Firefox 7.0.1 works well with Adobe Reader 9.4 and XP, but not with Vista. Fix?

    I run Firefox 7.0.1 at work with XP and the Adobe Reader 9.4 plug-in works fine. At home I run Vista and the Adobe Reader buttons don't work. I can't use the search pane or the up and down buttons to page through. Scrolling works though.

  • Changing writting speed?

    Hi All, We have recently burned an Imovie project to idvd and for some reason it skips randomly on different dvd players. We changed to setting to best quality (instead of performance) but although it seemed a little better it still skipped. I just w