OLE Methods Storage Table?

Hi everyone.
Where my methods related to OLE will be stored? (call method 'ACTIVESHEET' .,)
If you have an ideA,PLEASE post the reply.
Regards,
Kranti .

I am not sure to understand your question, do you want to know the list of OLE methods that can be called? Answer: refer to the windows software language reference guide (in your case it's EXCEL). "activesheet" is a property of "application" object. See sap documentation http://help.sap.com/saphelp_nw70/helpdata/EN/59/ae3c98488f11d189490000e829fbbd/frameset.htm
Example:
INCLUDE ole2incl.
DATA lole_excel_appli TYPE OLE2_OBJECT.
DATA lole_workbooks TYPE OLE2_OBJECT.
DATA lole_workbook TYPE OLE2_OBJECT.
CREATE OBJECT lole_excel_appli 'excel.application'.
* Next corresponds to VBA: "application.visible = true"
SET PROPERTY OF lole_excel_appli 'visible' = 1.
* Next corresponds to VBA: "set workbook = application.workbooks.open("c:\test.xls")"
CALL METHOD OF lole_excel_appli 'workbooks' = lole_workbooks.
CALL METHOD OF lole_workbooks 'open' = lole_workbook EXPORTING #1 = 'c:\test.xls'.
Instead of direct OLE, you can also use the Desktop Office Integration classes http://help.sap.com/saphelp_nw2004s/helpdata/en/e9/0be775408e11d1893b0000e8323c4f/frameset.htm .
(corrected code) Edited by: Sandra Rossi on Mar 24, 2008 6:09 PM

Similar Messages

  • Import OLE methods in Oracle Forms 6i

    Hi,
    I am experiencing some problems to import OLE methods in Oracle
    Forms 6i.
    In Forms 6i, I select Program->Import OLE Library Interfaces
    menu option. After the Import OLE Library Interfaces dialog box
    appears, I can see the OLE Class that I would like to access
    but none of its methods or events.
    Why the methods and events do not appear?
    Thanks in advance.

    If all you want to do is extract the documents from the Long Raw columns, you can use UTL_FILE to extract the binary content to the file system. You would have to loop through the records in your table to extract each file. Take a look at article Export BLOB Contents Using UTL_FILE that I googled. Granted, this article discusses exporting a BLOB not a Long Raw, but the concept is the same and you should be able to modify the code sample in the article to work with your Long Raw columns.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • I have a problem in formatting cells in Excel while using OLE method.

    Hi All,
    I have a problem in formatting cells in Excel while using OLE method.
    My requirement is to have certain fields of a cell as text and amount fields should be in number format.
    How to format a cell in Excel in OLE method of downloading data to excel.
    For example I have plant field whose value is 0002 in internal table while coming to excel it is showing as 2 .
    I want that field to be shown as 0002.(text format)
    Material field whose value in internal table is 000000000000000051 is shown as 51 which has to be shown as
    000000000000000051.(text format).
    Amount field should be in number format so that totalling is possible .
    So I need some cells in text format and some in number format.
    Please suggest a sloution.
    Thanks in advance,
    Regards,
    vidyulatha.U

    https://forums.sdn.sap.com/click.jspa?searchID=21931962&messageID=6852860
    hope this helps.

  • How to call a javascript method after table load on JSFF Fragment load?

    Hello,
    The usecase is to invoke a javascript method after table is done loading (fetching data) when user lands to a JSFF fragment. With JSPX pages I can achieve that by using PagePhaseListener. I have tried with RegionController as follows, and the problem i face is that I cannot prevent multiple calls to the Javascript call when user presses a tab or button in a screen, or changes drop-down value with autosubmit on.
    import javax.faces.context.FacesContext;
    import oracle.adf.model.RegionBinding;
    import oracle.adf.model.RegionContext;
    import oracle.adf.model.RegionController;
    import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
    import org.apache.myfaces.trinidad.util.Service;
    public class MyListener implements RegionController{
    public MyListener() {
    super();
    @Override
    public boolean refreshRegion(RegionContext regionContext) {
    int refreshFlag = regionContext.getRefreshFlag();
    System.out.println("Render flag is: "+refreshFlag);
    if (refreshFlag == RegionBinding.PREPARE_MODEL)
    initializeMethod();
    regionContext.getRegionBinding().refresh(refreshFlag);
    return false;
    public boolean validateRegion(RegionContext regionContext) {
    regionContext.getRegionBinding().validate();
    return false;
    public boolean isRegionViewable(RegionContext regionContext) {
    return regionContext.getRegionBinding().isViewable();
    public void initializeMethod() {
    FacesContext f = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service = Service.getRenderKitService(f, ExtendedRenderKitService.class);
    service.addScript(f, "myJSFunction();");
    @Override
    public String getName() {
    return null;
    I need the javascript to be called only once after the table is done loading when user lands to a fragment (jsff).
    Any ideas appreciated?
    JDeveloper version is 11.1.1.5.0
    Thank you.
    Valon
    Edited by: Valon on Apr 11, 2013 3:10 PM

    One of the requirements is to compare every row with the next row and highlight the changes. There are other requirements as well where JavaScript solution is used.
    The question remains the same. Is it doable or not without changing the solution from JavaScript solution to server-side solution ? Can we call a JavaScript only once when the user lands to a jsff fragment ?
    Hope that is clear.
    Thanks.
    Valon

  • Mail subject storage table

    Hi,
        In one program sending mail.When I run background job ,job will created.
        In another report I am displaying all background jobs in perticular date. Now I want that mail subject has to display correspong to perticular job.
       Please tell me any mail title storage table or FM.I checked SOOD,SOFD,SOFIND. No use.
    Thanks,
    Suma.

    Hi Suma,
    I dont think what you are doing is correct. There is no direct link between SOOD and TBTCP. So you cannot fetch the records with the way you are doing now. One possible way could be to find the program name which triggers the email and link it with the job name using the program name. Am still trying to figure how to link the email triggered with that of the program name. Lets wait and see if anyone else can suggest a better and alternative approach for this.
    Vikranth

  • MVC Problem with getter method of table attribute in model class

    Hi,
    I am on 620 SP34. I am writing a bsp application with mvc. One of the model classes has an attribute of type table. I use this attribute in a htmlb-tableview and '//MODEL/ZMY_TAB' for data binding. If I try to activate a getter method for this attribute, the application dumps with exception <i>BSP exception: Structure component with name "ZMY_TAB" does not exist</i>. I find the SAP source, that raising this exception (see below). The source code looks like: <i>"I don't support getter methods for tables in attribute path"</i>! The setter method works fine, so I am at a loss. Has anyone of you wrote a getter method for an table attribute in bsp-mvc? Have I to consider anything special?
    Thanks,
    Carsten
    Main Program CL_BSP_MODEL==================CP
    Source code of CL_BSP_MODEL==================CM00Z
    METHOD IF_BSP_MODEL_BINDING~GET_ATTRIBUTE_DATA_REF
           * check if attribute exists for binding!                                   
             if exists_attribute( l_name ) is initial.                                
               return.                                                                
             endif.                                                                               
    * setter or getter defined? Not supported for DATA REF requests            
             if get_getter( attribute_name = l_name ) is not initial.                 
               raise exception type cx_bsp_inv_component                              
                 exporting name = l_name.                                             
             endif.                                                   

    You have two options:
    1. Make your attributes public. It should work fine.
    2. If you need to process the attribute values before it is used, you can make the attribute private but will need three methods
    GET_T_ZMY_TAB that returns the table
    SET_T_ZMY_TAB that sets the values
    GET_M_T_ZMY_TAB that returns DDIC information about the attribute. The same holds good for structures(Change to GET_S_ and GET_M_S_ ) and simple attributes(Change to GET_ and GET_M_).
    The set and get methods are kind of documented at http://help.sap.com/saphelp_nw04/helpdata/en/fb/fbb84c20df274aa52a0b0833769057/content.htm but there is no mention of the GET_M_ methods. I could not find one single document on the Model part MVC.
    Once I added the GET_M_XYZ methods to my attributes, my BSPs started to work fine.
    Cheers
    Sreekanth

  • (500) Internal Server Error when create storage table use development account

    Yesterday, our team suddenly cannot use storage emulator all, it always said 'can not create database' when start the emulator. Finally, we found a issue may affect this, we delete the WAStorageEmulatorDb30.mdf file in C:\Users\[User], and create manully
    in localdb, and so we can start the storage emulator later.
    But we still can not use it, since it always throw exception when creating Tables/Blobs/Queues, the exception like this:
    Microsoft.WindowsAzure.Storage.StorageException was caught
    HResult=-2146233088
    Message=The remote server returned an error: (500) Internal Server Error.
    Source=Microsoft.WindowsAzure.Storage
    StackTrace:
    at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
    at Microsoft.WindowsAzure.Storage.Table.TableOperation.Execute(CloudTableClient client, CloudTable table, TableRequestOptions requestOptions, OperationContext operationContext)
    at Microsoft.WindowsAzure.Storage.Table.CloudTable.Exists(Boolean primaryOnly, TableRequestOptions requestOptions, OperationContext operationContext)
    at Microsoft.WindowsAzure.Storage.Table.CloudTable.CreateIfNotExists(TableRequestOptions requestOptions, OperationContext operationContext)
    at WorkerRole1.TableService..ctor() in c:\Users\<user>\Documents\Visual Studio 2013\Projects\WindowsAzure8\WorkerRole1\TableService.cs:line 21
    InnerException: System.Net.WebException
    HResult=-2146233079
    Message=The remote server returned an error: (500) Internal Server Error.
    Source=System
    StackTrace:
    at System.Net.HttpWebRequest.GetResponse()
    at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
    InnerException:
    And if we visit this url: http://127.0.0.1:10002/devstoreaccount1, it said Internal Error:
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <code>InternalError</code>
    <message xml:lang="en-US">
    Server encountered an internal error. Please try again after some time. RequestId:e9637e04-76ad-4237-8df0-31a511e4c116 Time:2014-04-25T00:56:16.9990136Z
    </message>
    </error>
    Any ideas of this? We still don't know what caused this whole trouble from yesterday, is it possible affect the storage emulator just by code? We were coding, not configuring anything. Strange.

    I have tried it before, but not works.
    Finally, I solved this issue by delete LocalDB instance, uninstall storage emulator and install LocalDB instance / storage emulator again, it works now. Quite strange.

  • Azure Storage Table Skip Query?

    Currently azure storage table api support limited query feature, i was wondering what other queries they plan to support in future.
    I am mostly interested in skip as i am trying to show audit log of my application though table which has paging, sorting and filtering capacity, for jumping through pages i need to have skip support otherwise i need to use some workaround .
    If azure team is planning to provide this it will be very helpful.
    Thanks.

    Hi,
    Skip is not support at currently, I would suggest you vote the feedback below.
    #http://feedback.azure.com/forums/217298-storage/suggestions/1097257-support-skip-in-azure-table
    #http://feedback.azure.com/forums/217298-storage/suggestions/2914587-please-give-us-count-takelast-int-i-skip-int
    All of the feedback in feedback forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • URGENT: Azure Storage Table Outage

    UPDATE: Problem appears to have been fixed, are affected accounts eligible for a refund due to the downtime?
    Hi. I'm having trouble querying an Azure Storage table that is essential to my business operations. The queries seem to simply not be going through, and when using the Azure Storage Explorer (a 3rd party problem); I encounter the same issue. For some reason;
    Azure does not seem to be responding to my storage requests. I also cannot open a support ticket with Microsoft; as our small business does not have a support agreement with Microsoft. The storage account name is chapteradviser, and it is not even possible
    to query the table service for a list of tables (it keeps timing out). This seems to be a problem at the Azure datacenter, not my end. I am also an IT consultant for the company and do not have the binding authority to enter into a support agreement with Azure.
    Thanks for any assistance,
    - Brian Bosak
    - Consulting with ChapterAdviser Llc.

    Yup I see it too.. it looks like tables is really slow :(
    Adding curl tracing if someone from MS is looking ..  (i redacted out the account name..)
    $ curl -v --trace-time -X GET https://xxxxxxxxxx.table.core.windows.net
    17:14:22.296000 * Adding handle: conn: 0x1e67e80
    17:14:22.296000 * Adding handle: send: 0
    17:14:22.296000 * Adding handle: recv: 0
    17:14:22.296000 * Curl_addHandleToPipeline: length: 1
    17:14:22.312000 * - Conn 0 (0x1e67e80) send_pipe: 1, recv_pipe: 0
    17:14:22.312000 * About to connect() to xxxxxxxxxx.table.core.windows.net port 443 (#0)
    17:14:22.312000 *   Trying 23.99.32.80...
    17:14:25.375000 * Connected to xxxxxxxxxx.table.core.windows.net (23.99.32.80) port 443 (#0)
    17:14:25.640000 * successfully set certificate verify locations:
    17:14:25.656000 *   CAfile: C:\Program Files (x86)\Git\bin\curl-ca-bundle.crt
      CApath: none
    17:14:25.656000 * SSLv3, TLS handshake, Client hello (1):
    17:14:30.859000 * SSLv3, TLS handshake, Server hello (2):
    17:14:30.875000 * SSLv3, TLS handshake, CERT (11):
    17:14:30.890000 * SSLv3, TLS handshake, Server finished (14):
    17:14:30.921000 * SSLv3, TLS handshake, Client key exchange (16):
    17:14:30.921000 * SSLv3, TLS change cipher, Client hello (1):
    17:14:30.937000 * SSLv3, TLS handshake, Finished (20):
    17:14:41.937000 * SSLv3, TLS change cipher, Client hello (1):
    17:14:41.953000 * SSLv3, TLS handshake, Finished (20):
    17:14:41.953000 * SSL connection using AES128-SHA
    17:14:41.968000 * Server certificate:
    17:14:41.984000 *        subject: CN=*.table.core.windows.net
    17:14:42.000000 *        start date: 2014-02-20 12:59:18 GMT
    17:14:42.000000 *        expire date: 2016-02-20 12:59:18 GMT
    17:14:42.031000 *        subjectAltName: xxxxxxxxxx.table.core.windows.net matched
    17:14:42.046000 *        issuer: DC=com; DC=microsoft; DC=corp; DC=redmond; CN=MSIT Machine Auth CA 2
    17:14:42.062000 *        SSL certificate verify ok.
    17:14:42.078000 > GET / HTTP/1.1
    17:14:42.078000 > User-Agent: curl/7.30.0
    17:14:42.078000 > Host: xxxxxxxxxx.table.core.windows.net
    17:14:42.078000 > Accept: */*
    17:14:42.078000 >
    17:15:35.078000 < HTTP/1.1 400 The requested URI does not represent any resource on the server.
    17:15:35.093000 < Content-Length: 360
    17:15:35.093000 < Content-Type: application/xml
    17:15:35.093000 * Server Microsoft-HTTPAPI/2.0 is not blacklisted
    17:15:35.109000 < Server: Microsoft-HTTPAPI/2.0
    17:15:35.109000 < x-ms-request-id: f2e0b20e-5888-43ce-bbf0-68589e7ad972
    17:15:35.109000 < Date: Sat, 09 Aug 2014 00:15:30 GMT
    17:15:35.125000 <
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
      <code>InvalidUri</code>
      <message xml:lang="en-US">The requested URI does not represent any resource on the server.
    RequestId:f2e0b20e-5888-43ce-bbf0-68589e7ad972
    Time:2014-08-09T00:15:31.4896331Z</message>
    </error>17:15:35.125000 * Connection #0 to host xxxxxxxxxx.table.core.windows.net left intact

  • Calling OLE methods from TOOL

    Thanks to those that responded to my previous E-Mail on how to get the
    Forte project & class generated. This worked great!! I'm able to start
    Word and create documents, etc.Thanks!
    Now I'm having a problem calling an OLE method that were generated. I
    have a project called Word and a class called Application of type
    CDispatch. The Application class has a method called "Insert" on it. I
    want to be able to start a Word document and then insert some text into
    it from Forte. When I try to call this method I get the following error:
    SYSTEM ERROR: Error during Invoke; status code:
    -2147352565(0x8002000B)
    Class: OLEException
    Last TOOL statement: method CDispatch.Invoke
    Error Time: Wed Mar 12 15:55:09
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId = 6C32C516-7616-11D0-B5DD-EE36DFEAAA77:0x8ff:0x1,
    taskId
    = [6C32C516-7616-11D0-B5DD-EE36DFEAAA77:0x8ff:0x1.4]) in
    application
    "Forte_cl0", pid 149 on node SCURD01-1 in environment
    CentralEnv.
    Here's my code:
    tWordApplication : Word.Application = new();
    when <wNewDocumentButton>.click do
    <YourDocument>.CreateEmbeddedObjectFromProgId(
    cacheFile = tCacheFileName,
    progId = 'Word.Document');
    tWordApplication.ObjectReference = <YourDocument>.OleObjectReference;
    tWordApplication.Insert( 'This is a test' ); <==== this is the line
    getting the error
    Since I've never worked with OLE & am not that familiar with how it
    works, any suggestions/comments are greatly appreciated.
    Doug Scurr
    Senior Technologist - Application Development
    Piper Jaffray Companies
    612-342-1748
    [email protected]
    Thanks,
    Doug

    I'm afraid we have to make it work for NT, 95 and probably 98 too, so we're
    looking for something a bit more robust than the environment variable.
    Thanks,
    Tim Sawyer
    PanCredit
    Leeds, UK.
    From: Daniel Nguyen[SMTP:[email protected]]
    Reply To: [email protected]
    Sent: 07 May 1999 20:40
    To: Tim Sawyer
    Cc: '[email protected]'; '[email protected]'
    Subject: Re: Calling Windows API from Tool
    Hi,
    If it's only for the UserName on NT you can get the environment variable
    USERNAME.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Url : http://perso.club-internet.fr/dnguyen/
    Tim Sawyer a &eacute;crit:
    Hi George,
    I think you need to find out which Windows DLL implements the functionand
    then wrapper it, using Fort&eacute;'s C Wrappering technique. I'm going to be
    doing this for the GetUserName() function, so we can login to our
    application automatically, using the username that the user logged intoNT
    with.
    Hope this helps!
    Tim Sawyer
    PanCredit
    Leeds, UK.
    From: Aberdour George <[email protected]>
    Date: Thu, 6 May 1999 09:08:03 +1000
    Subject: Calling Windows API from Tool
    Hi,
    Does anyone know how to call Windows API calls such as WinExec,
    CreateProcess, RegSetValue, etc directly from TOOL ?
    These are just examples calls. I know some Windows API calls can be
    called
    via equivalent OperatingSystem method calls, but I would really like toknow
    if it is possible to call Windows API routines directly.
    Thanks in advance,
    George Aberdour
    TAFE NSW-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Nodejs query azure storage table by timestamp

    I can query the table with partition key by using the query:
    var query=new azure.TableQuery().where('PartitionKey ne ?','test')
    But I tried to query with the timestamp but failed.
    var query=new azure.TableQuery().where('Timestamp ge ?',azure.TableUtilities.entityGenerator.DateTime(new Date(Date.UTC(2014,11,11,00,00,00))));
    I also tried 
    var query=new azure.TableQuery().where('Timestamp ge datetime?','2014-11-11T00:00:00Z')
    But it still didn't work
    in the azure sdk says that I should add datetime keyword before UTC time format. And in nodejs I think the DateTime is the keyword for the datetime. But the query is wrong. Can anyone help me with that?
    Thanks

    Please see my comment on your question on Stack Overflow:
    http://stackoverflow.com/questions/28198972/nodejs-query-azure-storage-table-according-to-timestamp.
    Essentially, can you try the following code for specifying where clause:
    where("Timestamp ge datetime?", '2014-11-11T00:00:00Z')
    I ran this code and didn't get any error.
    Hope this helps.

  • Is there any method r table 2 find corresponding printprograms 4 smartforms

    hi ..
    iam unable 2 find print programs for respective smartforms.
    through STXFADM and STXFADMT tables im getting only smartforms.
    and the following smartform print programs r not exits in my pc..
    is there any other method r table 2 find corresponding printprograms 4 smartforms
    thanks

    Hi,
    check the table TNAPR or the tcode NACE....NACT
    Reward Points if it is Useful.
    Thanks,
    Manjunath MS

  • OLE-Word with table

    Hi,
    i use OLE-Word to create a table in a word document and fill them.
    That's work OK, but i will position the table on a specific Positon on the page.
    Position shell be horizontal 7 and vertical 8.
    I have tried it with recording in word, bot i don't know the statements in ABAP.
    Has anyone an idea to solve it or an example?
    thanks.
    Regards, Dieter.
    Edited by: Dieter Gröhn on Jun 16, 2008 10:34 AM

    Here my code:
    REPORT ZGRO_MS_WORD_OLE_FORMLETTER_T0.
    *--Include for OLE-enabling definitions
    INCLUDE OLE2INCL .
    *--Global variables
    *--Variables to hold OLE object and entity handles
    DATA GS_WORD        TYPE OLE2_OBJECT . "OLE object handle
    DATA GS_DOCUMENT    TYPE OLE2_OBJECT . "Documents
    DATA GS_ACTIV_DOC   TYPE OLE2_OBJECT . "Active document
    DATA GS_APPLICATION TYPE OLE2_OBJECT . "Application
    DATA GS_OPTIONS     TYPE OLE2_OBJECT . "Application options
    DATA GS_ACTWIN      TYPE OLE2_OBJECT . "Active window
    DATA GS_ACTPAN      TYPE OLE2_OBJECT . "Active pane
    DATA GS_VIEW        TYPE OLE2_OBJECT . "View
    DATA GS_SELECTION   TYPE OLE2_OBJECT . "Selection
    DATA GS_FONT        TYPE OLE2_OBJECT . "Font
    DATA GS_PARFORMAT   TYPE OLE2_OBJECT . "Paragraph format
    DATA GS_TABLES      TYPE OLE2_OBJECT . "Tables
    DATA GS_RANGE       TYPE OLE2_OBJECT . "Range handle for various ranges
    DATA GS_TABLE       TYPE OLE2_OBJECT . "One table
    DATA GS_BORDER      TYPE OLE2_OBJECT . "Table border
    DATA GS_CELL        TYPE OLE2_OBJECT . "One cell of a table
    DATA GS_PARAGRAPH   TYPE OLE2_OBJECT . "Paragraph
    START-OF-SELECTION .
      PERFORM WORD_APPLIKATION.
      PERFORM TABELLE_ERSTELLEN.
      PERFORM TABELLE_ZELLE.
      FREE OBJECT GS_WORD .
    FORM WORD_APPLIKATION.
    *--Creating OLE object handle variable
      CREATE OBJECT GS_WORD 'WORD.APPLICATION' .
      IF SY-SUBRC NE 0 .
        MESSAGE S000(SU) WITH 'Error while creating OLE object!'.
        LEAVE PROGRAM .
      ENDIF .
    *--Setting object's visibility property
      SET PROPERTY OF GS_WORD 'Visible' = '1' .
    *--Opening a new document
      GET PROPERTY OF GS_WORD 'Documents' = GS_DOCUMENT.
      CALL METHOD OF GS_DOCUMENT 'Add' .
    *--Getting active document handle
      GET PROPERTY OF GS_WORD 'ActiveDocument' = GS_ACTIV_DOC .
    *--Getting applications handle
      GET PROPERTY OF GS_ACTIV_DOC 'Application' = GS_APPLICATION .
    *--Setting the measurement unit
      GET PROPERTY OF GS_APPLICATION 'Options' = GS_OPTIONS .
      SET PROPERTY OF GS_OPTIONS 'MeasurementUnit' = '1' . "CM
    *--Getting handle for the selection which is here the character at the
    *--cursor position
      GET PROPERTY OF GS_APPLICATION 'Selection' = GS_SELECTION .
      GET PROPERTY OF GS_SELECTION 'Font' = GS_FONT .
      GET PROPERTY OF GS_SELECTION 'ParagraphFormat' = GS_PARFORMAT .
    ENDFORM.                    "word_applikation
    FORM TABELLE_ERSTELLEN.
    *--Getting entity handles for the entities on the way
      GET PROPERTY OF GS_ACTIV_DOC 'Tables' = GS_TABLES .
      GET PROPERTY OF GS_SELECTION 'Range' = GS_RANGE .
    *--Adding a table
      CALL METHOD OF GS_TABLES 'Add' = GS_TABLE
           EXPORTING #1 = GS_RANGE
                     #2 = '1' "Number of rows
                     #3 = '1'. "Number of columns
    *--Setting border attribute
      GET PROPERTY OF GS_TABLE 'Borders' = GS_BORDER .
      SET PROPERTY OF GS_BORDER 'Enable' = '0' .                "0 o. 1
    DATA GS_ROWS   TYPE OLE2_OBJECT.
      GET PROPERTY OF GS_TABLE 'Rows' = GS_ROWS.
      SET PROPERTY OF GS_ROWS  'WrapAroundText' = '1'.
      SET PROPERTY OF GS_ROWS  'HorizontalPosition' = '3'.
      SET PROPERTY OF GS_ROWS  'RelativeHorizontalPosition' = '1'.
      SET PROPERTY OF GS_ROWS  'VerticalPosition' = '8'.
      SET PROPERTY OF GS_ROWS  'RelativeVerticalPosition' = '1'.
      set property of GS_ROWS  'AllowOverlap'     = '0'.
    ENDFORM.                    "Tabelle_erstellen
    FORM TABELLE_ZELLE.
    *--Getting cell coordinates
      CALL METHOD OF GS_TABLE 'Cell' = GS_CELL
        EXPORTING #1 = '1'
        #2 = '1'.
    *--Getting the range handle to write the text
      GET PROPERTY OF GS_CELL 'Range' = GS_RANGE .
    *--Filling the cell
      SET PROPERTY OF GS_RANGE 'Text' = 'Test' .
    ENDFORM.                    "TABELLE_Zelle
    in Word i record and get this:
    Sub Makro1()
    ' Makro1 Makro
    ' Makro aufgezeichnet am 16.06.2008
        ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1, NumColumns:= _
            1, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
            wdAutoFitFixed
        With Selection.Tables(1)
            If .Style <> "Tabellengitternetz" Then
                .Style = "Tabellengitternetz"
            End If
            .ApplyStyleHeadingRows = True
            .ApplyStyleLastRow = True
            .ApplyStyleFirstColumn = True
            .ApplyStyleLastColumn = True
        End With
        With Selection.Tables(1).Rows
            .WrapAroundText = True
            .HorizontalPosition = CentimetersToPoints(2)
            .RelativeHorizontalPosition = wdRelativeHorizontalPositionPage
            .DistanceLeft = CentimetersToPoints(0.25)
            .DistanceRight = CentimetersToPoints(0.25)
            .VerticalPosition = CentimetersToPoints(8)
            .RelativeVerticalPosition = wdRelativeVerticalPositionPage
            .DistanceTop = CentimetersToPoints(0)
            .DistanceBottom = CentimetersToPoints(0)
            .AllowOverlap = False
        End With
    End Sub
    i will translate it in abap. how can i do it.
    i tried something in FORM TABELLE_ERSTELLEN but i can see the table, but i don't get the right position.
    Any idea?
    thanks.
    Regards, Dieter

  • Microsoft.WindowsAzure.Storage.Table.CloudTable.ExecuteBatchAsync() truncates message

    When I call this method with large EntityProperty (around 17Kb of text), it truncates the string.
    I know that there is a limitation of 64Kb for a column and 1Mb for 1 entire row when it comes to Azure Table.
    Any insights?

    Hi,
    It sounds very strange, if you save the string value to other entity property, will it be truncated? If you use
    Azure storage explorer to save that string value, will it be truncated?
    If the string is not very confidential, could you share here? If you try to use the latest version of the azure storage client library, does this issue will be fixed? Please give us further information for a better support.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • OLE object storage and retrieval FORMS 6.0

    Hello All,
    Iam using forms 6.0 and iam using OLE object to store the data object into the database, using the block wizard i created the object and from the
    action->Save iam saving the ole object to the database....
    Now i want to retrive the ole object from the database....
    my sql is
    declare
    ol long raw;
    begin
    select ole_object into ol from drawing_files where draw_no=1;
    drawing_files.ole_object:=ol;
    end;
    Its showing error in "Bad bind variable"
    How to solve the error
    and if possible i need the sql coding for storage and retreival of OLE object data..
    Thanks......

    I have re-applied the patch and the problem has vanished??
    Everything appears to function properly.

Maybe you are looking for

  • I export from final cut pro 7 to idvd everything comes out fuzzy on the dvd

    I film using a canon fs10. I edit in final cut pro 7, then export to quicktime format, then I burn the dvd using idvd. But the final product always comes out blurry and fuzzy. I can't see what I am doing wrong. Is it because I am not filming in HD?

  • Error when combining Visio 2010 files in Acrobat X Pro

    Getting the error message No PDF was created because Acrobat encountered an unidentified error when i try to combine Visio 2010 files into one PDF with Acrobat X Pro.  Ive done this many many times before and it worked fine.  It also works fine on an

  • Duplicate Handling in not working fot FTP and working for NFS in PI 7.31 SP06

    Hi Experts,   To handle the duplicate files and I enabled the check box (Enable Duplicate Handling) in Sender File adapter , but this is working in case of NFS option and  it's not working for FTP protocol. What I observed is if the same file receive

  • Printing now in black & white

    I have an HP Deskjet D1520 connected to my Airport Extreme base station. It was working fine, but recently (not sure exactly when this started) color printing has failed. Now colors print only as black & white (like faint greyscale). I connected the

  • Syndication Mapping Issues: Tuples

    Hello experts, I am trying to map values in my Syndication map. I am trying to map the Tuple table itself to the corresponding segment in MDM, and child values (fields underneath its segment). For some reason, the synidcator is NOT letting me map ANY