How to insert an Active X control in a ABAP form

Hi All,
    I am learner, want to embed an Active X control in ABAP form, and how can i communicate from Active X control to ABAP form. if you refer screen shots it will be great.
Thanks & Regards
Chandra

check this weblog.
<a href="https://weblogs.sdn.sap.com/pub/wlg/995">Using Classic ActiveX Controls in the ABAP Control Framework</a>
In future kindly post ABAP related questions in ABAP forum.
Raja

Similar Messages

  • How to insert a table with variable rows in smart form

    Hi all,
    How to insert a table with variable rows in smart form?
    Any help would be appreciated.
    Regards,
    Mahesh.

    Hi,
    Right click the mouse->create->table
    If you want 5 columns, you need to declare 5 cells in one line type of the table
    Click on Table -> Details, then do the following
    Line Type 1 2 3 4 5
    L1 2mm 3mm etc
    Here specify the width of the columns as many as you want..
    then in the header/main area of the table, click create Table Line, Rowtype is L1, automatically 5 cells will come,In each cell create a text element, display the variable to be printed there.

  • How to insert row in table control and save the data in tables

    Hi,
    I have one table control i am displaying data into table control ,
    my problem is : i want to display data into read mode in table control.
    but when i click on insert button on the same screen i want one blank line should inserted into table control , then i want to insert some data into table control on that row , when i click the save button . the new data inserted into the table control is insert that data into ztable ,
    please give me solution
    main problen is  how can know inserted line in table control and pass that data into ztable.

    Hi,
    Follow the below logic,
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0001.
      MODULE POPULATE_TABLE_CONTROL. --> Get the data from table store in 
                                                                          ITAB
      LOOP AT GT_CTRL_LP_D516 INTO GS_WA_CTRL_LP_D516
           WITH CONTROL CTRL_LP_D516
           CURSOR CTRL_LP_D516-CURRENT_LINE.
      The following module moves data to control
        MODULE MOVE_TO_CONTROL.--> Move data from ITAB to table control
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT GT_CTRL_LP_D516.
      ENDLOOP.
      MODULE EXIT AT EXIT-COMMAND.
      MODULE USER_COMMAND_0001.  --> Here you have to take out the values from table control and update database table
    Reward points if helpful.
    Thanks and regards,
    Mallareddy Rayapureddy,
    Munich, Germany.

  • How to insert data into table control

    hi experts,,
           i have inserted data into data base table through table control .
    now i want to insert data into table control through database table.
      how to delete data from table control for selected row

    Hi
    go through this link.
    http://www.****************/Tutorials/ABAP/TableControl/Demo.htm

  • How do I get Active X control for flash player registered?

    I have been having problems with flashplayer.  I continue to get different messages when I try to download.  The latest message is:  Active X control for flash player could not be registered.  What do I do to get the system working?

    Looks to be a permission issue.  Do you have administrator priveleges on the machine?
    http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header_4
    You may also want to try this method to fix permissions with flash player.
    http://forums.adobe.com/thread/987370?tstart=0

  • Urgent! How to insert into and query video from database in forms???

    In forms 6i demos CD, There is a demo form ocxvideo.fmb,
    but it just for video in file system.
    I want to read *.avi file from file system, and insert into
    database, and query from my forms.
    I create table with long raw, with default forms wizard,
    long raw for [image] item in forms.
    I change item type to ActiveX ,and right_click mouse
    ==>[Insert object]==>Oracle Veideo control.
    still can not insert avi data into database and query from my forms.
    Please give me some advice to solve this problem?
    Thank you very much!
    Ming-An
    [email protected]

    In forms 6i demos CD, There is a demo form ocxvideo.fmb,
    but it just for video in file system.
    I want to read *.avi file from file system, and insert into
    database, and query from my forms.
    I create table with long raw, with default forms wizard,
    long raw for [image] item in forms.
    I change item type to ActiveX ,and right_click mouse
    ==>[Insert object]==>Oracle Veideo control.
    still can not insert avi data into database and query from my forms.
    Please give me some advice to solve this problem?
    Thank you very much!
    Ming-An
    [email protected]

  • How to insert values in table control & how to place listbox in table ctrl

    Dear all,
                I have created table control in Module pool program.  My requirement is first
                   1)How to place list box in table control
                   2)Based on listbox selection i have to enter values in table control row..
    With Regards,
    Baskaran

    Hi Baskaran,
    For displaing list box, use FM: VRM_SET_VALUES.
    Code like that:
    TYPE-POOLS: vrm.
    DATA: name TYPE vrm_id,
    list TYPE vrm_values,
    value LIKE LINE OF list.
    PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 15.
    Instead of parameter for module pool , you declare data:
    AT SELECTION-SCREEN OUTPUT.
      name = 'PS_PARM'.
      value-key = '3500000002'.
      value-text = '3500000002'.
      APPEND value TO list.
      value-key = '3500000003'.
      value-text = '3500000003'.
      APPEND value TO list.
      name = 'PS_PARM'.
      value-key = '3500000004'.
      value-text = '3500000004'.
      APPEND value TO list.
      name = 'PS_PARM'.
      value-key = '3000000007'.
      value-text = '3000000007'.
      APPEND value TO list.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = name
          values = list.
    make the necesary change for module pool.
    Hope this can solve your problems.
    Regards,
    Tutun

  • How to insert button(or other control) in row of  Datagrid

    Hi Friends,
    i create button with in datagrid but the button it can't display of datagrid ..If i any mistake the below coding please any one help to me..
    coding Is:
    <mx:DataGrid id="grd1"  x="41" y="203" width="159">
    <mx:columns>
       <mx:DataGridColumn headerText="Button" >
        <mx:itemRenderer>
         <fx:Component>
          <mx:HBox>
             <s:Button name="OK"  id="btn_ok"/>
          </mx:HBox>
         </fx:Component>
        </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:DataGridColumn headerText="Cancel button" >
        <mx:itemRenderer>
         <fx:Component>
          <mx:HBox>
             <s:Button name="Cancel"  id="btn_cancel"/>
          </mx:HBox>
         </fx:Component>
        </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:columns>
    </mx:DataGrid>
    Thanks,
    Magesh R.

    There are few mistakes in your code. The one with red color are mistakes.
    <mx:DataGrid id="grd1"  x="41" y="203" width="159">
    <mx:columns>
       <mx:DataGridColumn headerText="Button" >
        <mx:itemRenderer>
         <fx:Component>
          <mx:HBox>
             <s:Button name="OK"  id="btn_ok"/>
          </mx:HBox>
         </fx:Component>
        </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:DataGridColumn headerText="Cancel button" >
        <mx:itemRenderer>
         <fx:Component>
          <mx:HBox>
             <s:Button name="Cancel"  id="btn_cancel"/>
          </mx:HBox>
         </fx:Component>
        </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:columns>
    </mx:DataGrid>
    instead of fx type mx. even for s:button use mx:button
    you should have a closing tag fro columns </mx:columns>
    you sould not use name property for button unless it is your custome property. use label instead of name.
    I am sending you sample MXML code as attachment after correcting your code. Just go through it. try to execute.

  • How to insert date picker from drop down calendar in forms

    I want to insert a calendar to select the date from in the 'Date of Training' column in my forms instead of manually typing in the date each time - how do I do this please?

    There's no built-in calendar component in Acrobat forms. There are some third-party ones, though. The main ones are a free one that uses fields by FormRouter and a paid tool which uses a dialog object, developed by Max Wyss.

  • How to use active X controls to read/write protect an excel or word document created by created by Save Report to File VI

    Hi all,
    I'm trying to creat a word and excel documents using Save Report to File VI. When wiring a password to this last VI, the document created are only protected against writing but not reading. How can I use active X controls to password protect these documents against reading?
    Thanks a bunch!
    O

    There is no predefined functionality available in LabVIEW. So you have to implement this on your own.
    It seems to me that you own the Office Report Generation Toolkit. You can use the Excel Get ActiveX References.vi from the Excel Specific >> Advanced palette to get access to the "generic" ActiveX Excel references. Starting from this point, you can use property and invoke nodes to get to the setting you are going to modify.
    Please refer to this link for information on Excel password protection. I have not searched for the object giving you access to those settings though....
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Oracle Reporting Active X control object

    Whether somebody can adduce an example of use of the Oracle Reporting Active X control object in a form (Forms 6)? I tried to insert this object into the form - but nothing turns out.
    Thank you!

    ActiveX is only supported by C/S previous versions of Forms (until version 6). It won't work with Web versions. You have to search/find a Java Bean equivalent.
    Francois

  • Why doesn't firefox use Active X Controls

    I need to have Active X Control to access my banking process. I have this on IE but prefer to use Firefox, how can I make Active X Control work on Firefox

    Firefox does not support ActiveX technology for multiple reasons.
    * ActiveX is only available on Windows operating systems, and as a result webpages that require it will not work on Linux or Mac.
    * ActiveX integration with the Windows operating system has made it a target for malicious software.
    [https://support.mozilla.com/en-US/kb/ActiveX]

  • Third party ocx controls with oracle 6i forms

         I would appreciate if anyone can get the solution on how to work with the ocx controls on the oracle forms.i am doing the same thing and when I embed the ocx control on the form during design time and then execute it then the ocx control is lost during run time as I have to insert the object on the oracle form during the run time again and then how do I call the functions of the ocx ?please guide me at the earliest.thank you.

    Firstly upgrade to the latest patch of 6i, early version of 6i have a bug where OCX licence information is not correctly stored with the container, so in some cases the control will not instanciate at runtime.
    To call functions in the control, the simplest thing to do is to use the OLE Importer (MENU: Program -> Import OLE Library Interfaces). Choose the class of your control and Forms will generate you a PL/SQL package to call all the functions in the control.
    The rest is up to you - you have to know the API of the control you are using.

  • How to Add data in HR infotype 2011 through ABAP

    Hi All,
    Can any one please give me an idea about how to insert time record in Infotype 2011 through ABAP. I cannot use the front end recording (SHDB) as it locks the person's master data. I need to Add the record through ABAP Query. I have inserted record in Table TEven and it works fine but then there is a conflict of sequence number field and system does not allow to change the data in infotype 2011 and gives error message.
    Thanks

    Hi amit
           even i have same requirement i tried with the same code but i'm getting error No data stored for infotype 2011 in the period.
    code:
       CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
            EXPORTING
              number        = wa_modify-pernr
           IMPORTING
             RETURN        = return
          clear return.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty                  = p_infty
              number                 = wa_modify-pernr
    *         SUBTYPE                =
    *         OBJECTID               =
    *         LOCKINDICATOR          =
    *         VALIDITYEND            = wa_modify-ldate
    *         VALIDITYBEGIN          =
    *         RECORDNUMBER           =
              record                 = wa_modify
              operation              = 'MOD'
             TCLAS                   = 'A'
             DIALOG_MODE             = '0'
    *         NOCOMMIT               =
    *         VIEW_IDENTIFIER        =
    *         SECONDARY_RECORD       =
           IMPORTING
             RETURN                 = return
    *         KEY                    =
          CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
            EXPORTING
              number        = wa_modify-pernr
    *       IMPORTING
    *         RETURN        =

  • I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I've gotten a little further on this. The dynamic select is
    working fine. It's the "a href" code that isn't. I'm wondering if
    someone can look at this line and tell me if it's okay to build the
    query string this way. The storeid comes through fine but I'm still
    not getting the employeeid value to pass. Here's line that's not
    working:
    td><a href="registerStoreCust.php?storeid=<?php echo
    $row_storeRS['storeid']; echo "&employeeid="; echo
    $_GET['employeeLM']; ?>">Register
    Customer</a></td>

Maybe you are looking for