How to open a system form

Hi,
I am urgently in need of help on opening a system from a user form. I want to use a link arrow on a matrix and go to a particular record on the system form.
For example I'd like to go to the record with deposit number 16 on the deposit screen.
Thanks.
Tayo

Hello Tayo,
you just need to create an arrow, define it taget (Form type) and link it to a cell or a texte box that contains the id (16 in your case)
Dim oItem As SAPbouiCOM.Item
Dim oLink As SAPbouiCOM.LinkedButton
Set oItem = oForm.Add("A", it_LINKED_BUTTON)
oItem.Linkto = "YourTexteBox"
Set oLink = oItem .ExtendedObject
oLink.LinkedObject = lf_lf_Deposit
In a matrix, you need to change oitem to Column object.
I think there is a sample in the UI sample called 06.MatrixAndDataSources that have a sample of linked button in a Matrix
Message was edited by: Sébastien Danober

Similar Messages

  • How to open a entity form in a new window using openEntityForm() method.

     How to open a entity form in a new window using openEntityForm() method.

    As far as I'm aware, there isn't a supported way to do this in the client-side API. You could use window.open instead
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • Opening a System-Form with selected Data

    Hi,
    i´m looking for a way to open a System-Form, e.g. Orders with
    selected Data.
    In the moment i do the following:
         application.ActivateMenuItem("2050");  // orders
         SAPbouiCOM.Form belegForm = application.Forms.ActiveForm;
         belegForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
         SAPbouiCOM.EditText edDocNum = (SAPbouiCOM.EditText)belegForm.Items.Item("8").Specific;
         edDocNum.Value = "4711";
         belegForm.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular);
    This works, but the screen is blinking, because first the form ist opened and shown with
    empty values and then filled.
    Is there a way to activate the form and do the search-Operation and afterwards show it ?
    I think ist must be possible, because when clicking on the link-Button near CardCode, the Contacts-Form
    is opened in this way.
    regards Matthias

    Hi Ibai,
    i have tested both: freeze and form.visible = false in
    the form_load-Event. It doesn´t work here.
    Also neither the call
       application.ActivateMenuItem("1281");  // find
    nor the call
       oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
    work in the form_load-Event.
    After the form-Load-Event the et_FORM_ACTIVATE-Event is called.
    Here the functions work, but here the screen is already visible.
    regards Matthias

  • How to open Batch Details Form using a LinkedButton?

    Hi all,
    I just want to know how can I open the Batch Details system Form, using a LinkedButton from my user form.
    Just like the Batch Number Transaction Report window, from the Batch Column.
    It's difficult because this document don't have the ObjectType.
    Thanks a lot.
    Cheers
    David

    Solved!
    I did this:
    From the MatrixLinkPressedEvent:
    if (pVal.BeforeAction)
                        switch (pVal.ColUID)
                              case "column":
                                BubbleEvent = false;
                                AddOnApplication.Application.ActivateMenuItem("12290");//Form for Batch Details
                                form.EnableMenu("12290", true);
                                bool _runThread = true;
                                while (_runThread)
                                    Thread.Sleep(500);
                                    try
                                        ((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("40").Specific).Value = _dtGrid.GetValue("ItemCode", pVal.Row - 1).ToString();
                                        ((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("62").Specific).Value = _dtGrid.GetValue("Batch Hide", pVal.Row - 1).ToString(); ;
                                        AddOnApplication.Application.Forms.ActiveForm.DefButton = "38";
                                        AddOnApplication.Application.SendKeys("{ENTER}");
                                        _runThread = false;
                                    catch (Exception){}
                                    finally
                                        _runThread = false;
                                        form.Freeze(false);
    And that's it.
    Hope this help to someone
    Cheers

  • How to open a pdf form with fdf data

    Hi all,
          I am working on a new project. In that, I have to load a PDF contract form with FDF data on Internet Explorer Window.
    I don't know how to do it. Actually I tried using this format on the URL (while loading the respective page)
    http://www.example.org/pdf_file_name.pdf#FDF=http://www.example.org/fdf_file_name.fdf
    But it opened as an empty pdf document. . Actually I need it with the fdf data.
    Can anyone know any other way to do this?
    Or is this not possible to open a pdf form with fdf data in a browser?
    Thanks in advance
    Annamalai

    @ Bernd. It still opens a text file
    Here's my FDF file sample
    %FDF-1.2
    %âãÏÓ
    1 0 obj
    <<
    /FDF << /Fields
    <</V (07/22/2009)/T (Loan_Note_Date)>><</V (22.29)/T (Loan_AnnualPercentage_Rate)>></V ()/T (Seller_ESignatureArea1_Date)>><</V (GA Dealer)/T (Seller_Signer_FullNameTitle)>><</V ()/T (ThirdParty_ESignatureArea1_Date)>>
    /F (MARSMFLZ.pdf)/ID [ <1f0b6b55f345db39e8246247138fe562><e960588530b0d06d35cd618b34d4c314>
    ]>>
    >> endobj
    trailer
    <<
    /Root 1 0 R
    >>
    %%EOF
    (I have uploaded the related pdf file before.)
    Just now I got an idea to use WScript (the code is written in javascript)
    ws = new ActiveXObject("WScript.shell");
    ws.Run('"AcroRd32.exe" "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"', 1, true);
    this opens my fdf document in Acrobat reader using command prompt.
    I have a doubt now, can i use some string in place of "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf" in the above command?
    I mean something like fdf_file = "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"
    and replace ws.Run('"AcroRd32.exe" fdf_file,1,true). I tried it but it doesn't work Any idea's? Since the path will not remain the same always. So i need to change it

  • How to open a MD form in insert mode when calling from URL ?

    I have a MD form and I want to open it in 'insert' mode when I click on the URL.
    How can I do that ?
    thanks,
    Mainak

    I think somebody has asked the same questions earlier but I cannot find the link to that message. Please can anyone help me ?
    How to open a form in Insert mode from url link ?
    Mainak

  • How can i update system form udf based on udt add event

    hello experts,
    i require small functionality on customized form add event,one of the system form udf value at row level should be update for particular row on based on the values on the customized form.
    so it should go like this on add event of customized form system form's row level udf should be update
    Regards,
    Bhavank

    Hi
    Are you opening your customised form with reference to any system form or it works alone?
    If it works alone then on the add event of customized form you haveto use update query with reference to the system form
    Regards

  • How to open A Windows Form from Crystal Reports

    Hello All
    We are using crystal Repors 10 with Visual studio .Net 2005. Our requirement is to open the Windows Form when a user click on the respective Hyperlink. Simillarly popping up the MessageBox when clicking hyperlink.
    How this is possible, I will be really thankful to anyone who solves my problem

    Depending if this is a web or win app, you have different solutions.
    Web or win, use hyperlinks and redirect to an aspx page (I think hyperlinks are supported in CR 10.2).
    Win, use events as described in the sample app csharp_win_viewer_events.zip / vbnet_win_viewer_events.zip. I have never used the events to pop up a new form, but you should be able to do this.
    BTW.; make sure you have sp 1:
    https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How to open user system "select program to open with" for given file?

    Hi,
    I'm trying to make file management application in Java.
    I already know how to open file in system preferred application. It's quite easy.
    The other issue I thinking about now is that I need to implement "Open With" functionality (like in Ubuntu: you right press on the file -> select "Open With" -> "Other" and system's default application selection window starts.
    I tried to manage that with some Java default classes, but I didn't found one.
    So, I'm working on solution, based on Runtime.getRuntime().exec("something");
    I already know what commands i should write in Mac and Windows to open "application selection" for file:
    1) Windows: RUNDLL32.EXE SHELL32.DLL,OpenAs_RunDLL <file.ext>
    2) Mac: open <file.ext>
    How to do same on linux (Gnome/KDE)? I still not found easy solution for that.
    Or maybe I am digging in wrong direction? If so - prease correct me.
    P.S. I tried Desktop.getDesktop() and Java Desktop Integration Components (JDIC), but it seems, that both of them don't have a function for functionality i need.
    Thank you for your replies.

    Never seen that one before. Maybe a Linux forum can help with that.
    Anyway. since ps seems to be working, you might try the following:
    before opening the dialog
    ps -auxww | grep <username> | grep -v grep | awk '{print $2}' | sort > beforeafter opeing the dialog (and while it is still open)
    ps -auxww | grep <username> | grep -v grep | awk '{print $2}' | sort > after
    diff before after
    ps -auxww <pidfromabove>

  • How to open file system file from Apex?

    Hi,
    Can someone help me to find how to open a pdf file e.g. test.pdf from apex when someone click on a button ABC?
    The file is located in /C/
    Thanks in advance
    Dip

    You can use the Onclick event and window.location to show the file when the user clicks a button.
    <input type=button onClick="window.location= 'file:///C:/Documents%20and%20Settings/rchamarthi/Desktop/test.pdf' + document.form1.cmuds.value;" value="Open File">The actual location of the file is "C:/Documents and Settings/rchamarthi/Desktop/test.pdf"
    Since the location is treated as a URL, remember that it should be URL encoded.
    Hence all spaces should be replaced by '%20' (32 being the ASCII for space and 20 in hex -> 32).

  • How to open word document form html container url iam getting internal_error while opening file

    Hi all,
    By using below code i am able to download word document file from html container. But before downloading i need edit these document to add Macro.
    I am unable to open word document.
    CREATE OBJECT G_HTML_CONTAINER
          EXPORTING
            CONTAINER_NAME = 'PDF'.
       CREATE OBJECT G_HTML_CONTROL
          EXPORTING
            PARENT = G_HTML_CONTAINER.
    * Convert xstring to binary table to pass to the LOAD_DATA method
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            BUFFER     = LV_CONTENT
          TABLES
            BINARY_TAB = LT_DATA.
    data_tab = LT_DATA ).
    * Load the HTML
        CALL METHOD G_HTML_CONTROL->LOAD_DATA(
           EXPORTING
             TYPE         = 'application'
             SUBTYPE      = 'DOC'
           IMPORTING
             ASSIGNED_URL         = LV_URL
           CHANGING
             DATA_TABLE           = LT_DATA
           EXCEPTIONS
             DP_INVALID_PARAMETER = 1
             DP_ERROR_GENERAL     = 2
             CNTL_ERROR           = 3
             OTHERS               = 4 ).
    * Show it
        CALL METHOD G_HTML_CONTROL->SHOW_URL( URL = LV_URL
          IN_PLACE = 'X' ).
    Before file download i want edit the file for that i am using below class.
    PROXY TYPE REF TO I_OI_DOCUMENT_PROXY.
    by using (get_document_proxy) method  getting proxy .
    call method control->get_document_proxy
    exporting
    document_format   = 'x'
    document_type      = 'Word.Document'
    register_container  = 'x'
    importing
    document_proxy     = proxy
    after these.
    call method proxy->open_document
    exporting
    document_url    = lv_url
    open_inplace    = 'x'
    hear i m getting retcode as INTERNAL ERROR
    can any one suggest me how to open document from html container.
    Thanks and reagards
    jogu yadav

    I got resolution
    Thanks and regards,
    Jogu yadav

  • How to open the PDF form in the same browser window

    Hi All,
       I have created a webdynpro application to display a PDF form.The form is displayed in the new window.I want it to be displayed in the same window.
    How to make the PDF form to be displayed in the same window
    Thanks
    Ponnusamy P

    Hi Ponnusamy
    Earlier there was <b>_self</b>  as the target property for LinkToURLUIElement, but it is not available anymore,instead we need to use exit plugs
    there is one way to do
    1) Create a viewset of type Grid in your window
    2) Create a new view with iFrame added to it
    3) Specify number of columns/rows as per your requirement
    to the viewset  Suppose 1 Column and 2 Rows
    4) In the second row embed  your view which has iframe
    Using Plugs[Inbound and Outbound] you can view your PDF in the same window.
    This is not solution but this is one of the way to achieve your need
    Best Regards
    Chaitanya.A

  • How to open a JClient Form from another JClient Form in different project?

    Sir,
    In my application, there are two model projects Ma and Mb, and two view projects Va and Vb. There two forms Fa and Fb in Va and Vb respectively.
    Now I like to open form Fb within form Fa. How can I do that?
    Please give me some code so that I can fully understand. Thanks a lot.
    Regards
    Stephen

    Here is how I got it working
    1. open the projects and make sure the Dependencies are checked for the other project
    2. open the JClient client project that contains the calling form
    3. select the databinding.cpx file and you see that one datacontrol is used
    4. To add the other datacontrol (the other BC project) select an attribute from it in the data control palette and drop it to the calling JClient panel.
    5. Delete the create item because all that we care for is to get the the second data control registered in the project's cpx file
    6. Open the databinding.cpx file of the second (the called JClient project) and copy everything between the <containee> elements into the clipboard. Note that you can have one or more of them
    For my example, the databinding.cpx content of the second JClient project contained the following binding reference
    <Containee
    id="FormUIModel"
    ObjectType="BindingContainerReference"
    FullName="mypackage3.FormUIModel" >
    </Containee>
    7. Open the databinding.cpx file of the calling project in a text editor and paste the content of the clipboard to it. Save the file.
    8. Add the following code to a button that calls the JClient form in the other project (in my example the called form has a name of "Form" and is in a packe mypackage3 that I imported
    Form frm = new Form();
    frm.setBindingContext(panelBinding.getBindingContext());
    frm.setVisible(true);
    The reason you have to do all this is because the binding context is passed from one form to the other, which means that its databinding.cpx file need to contain all the binding information.
    You could make your life a lot simpler if you don't use two model projects. But this is your design decision and i can only tell you how to get it working.
    Frank

  • How to open Developer 10gR2 Forms using clients OS JVM?

    Hi,
    My users are having trouble trying to open oracle forms 10.1.2.0.2 and downloading JInitiator file 1.3.1.22 from F&rR AS for the first time. I've heard there's a way to configure my AS to let my users open the same oracle forms but using their own operating system JVM.
    With that I would not only be solving problems related to slow downloading and installation of JInitiator file but also problems that come up due to diferent OS and web browsers (IE 6, IE 7, IE 8, Mozilla, etc.) and their versions which are also part of the problem.
    Thanx for your quick response
    Regards,
    Roberto P.

    This is a confused and confusing issue. There are no quick fixes. Bear in mind the following points:
    Word is a client program. It can only open documents that can be seen from a client PC. If you cannot see your database server's directories from a client PC (and I would hope you can't) you cannot open that document.
    what you are left with is creating a copy of that document, transporting it to the client realm, and then overwriting it back on the server after your user has finished with it (if they're editing).
    there are many different ways of doing this, but they will probably involve writing an API in VisualBasic or Java. Alternatively you might look at Oracle's IFS.
    This is not the right forum for a detailed solution - try the Developer forum (or IFS if that floats your boat).
    Good luck, APC

  • How to open an order form of a particular order in edit mode

    hi
    i need to open a order's order form in edit mode so that it can be approved or any other operations done on that.
    there is an similar post but the soln s nt available fr the abve mentioned prob
    " i dont knw what are the exact parameters that should be assigned in ordfind so that it will lead to the ordhead"
    thank u in advance for any guidance that cud be provided.

    I m using oracle appln server 10g forms. I m trying to open tat form using a url.. generally i m accessing via a java program where i m giving tis url.

Maybe you are looking for

  • Problems Usingt External VGA Monitor Through KVM Switch

    I have my ThinkPad x201 connected to a KVM switch along with three other machines.  The KVM is attached to a monitor with a resolution of 1920x1200.  Does the ThinkPad have to be rebooted with the KVM switch attached to the VGA port and with the swit

  • CPROJECTS - How does the calculation take place ?

    Hi, I am wokring in cprojects. I have done the following entries <u><b>cost revenue rate - defined</b></u> amount costs - 50 US dollars /Hrs amount revenue 10 US dollars/Hrs different revenue - 1.0 US dollars / Hrs. <b><u>resource assigned and staffe

  • Solaris 8, pam_ldap and SSL/TLS

    Has anyone got the experience of compiling and installing pam_ldap (padl version) with ssl/tls support on Solaris 8? I tried compiling pam_ldap with Netscape LDAP SDK, but it failed to compile ldap_ssl.h . So I am wondering... is that something I can

  • Problems syncing movie to iPad

    I purchased and downloaded a movie onto my MacBook Air, now it will not sync and put the movie on my iPad, says this computer is not authorized.  I've tried to restart both devices, same message.  Any advice?

  • No bounds checking in basic_string::operator[] despite compilation macro

    Hello, Despite setting the RWSTDBOUNDS_CHECKING macro with CC 5.6 (Patch 117549-06) on Solaris 8, we don't get any exception when doing array bounds write on strings. This is all the more confusing as setting this macro works for vector::operator[] a