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

Similar Messages

  • Replace words with images, in a table, using the search/replace tool

    Hello everybody
    I have a question:
    Is it possible to replace words with images, in a table, using the search/replace tool?
    My case:
    I have a table with about 9000 articles on about 400 pages. In this table there are words which I like to replace with Logos.
    Example: The word "DM" should be the Logo "DM" (.eps). This word is about 1200 times in this table.
    Is it possible to replace it automatically?
    Thank you very much for your helb.
    Kind regards Alex

    Hello Mr. Werner
    Thank you for your reply.
    Can I ask you which Version of InDesign do you use?
    I use CS 5.5 and there I can't find the change field "other" you told me.
    Can you see it on the screenshot? (Sorry it is german...)
    Thank you very much for your support.
    Kind regards Alex

  • Converting Word (97-2003) docs with tables

    I have tried converting a few Word docs with tables using Acrobat.com. There is one small image in the upper right corner that in the converted doc stays in the same place so I know that is not the issue. What happens is that the converted document takes a nicely formatted document with tables and nested tables and turns it into a 4 page document and places all of the information in a larger table in the first column and looks nothing like the original with the exception of the header.
    I figured out that if I save the file to ODT that only the font gets changed (but this can be fix on my end by using a supported font). However, the person responsible for converting documents in the future after me neither has Acrobat pro or a way to save files in ODT format (they refuse to upgrade to Word 2007 for some reason so no ODT or Convert the PDF/XPS plug-in for them) so Acrobat.com is a sollution I was looking into to keep productivity going.
    If needed, I can send the original documents for anyone who would like to troubleshoot them and give feedback on what I could try so that they will work on Acrobat.com in ODT format.

    Thank you for your post. Would you please send along some sample files to us? Please reference this forum post, and I'll pass the files along to our QA folks for testing. Hopefully we'll be able to resolve the issue shortly! One more thought - you might try either creating your original document in Buzzword, then converting to PDF OR importing the word file to Buzzword, making any edits, and then converting to PDF. Could help. Let us know!
    Michelle

  • Importing word 2004 docs with tables into Pages

    I work in video production, and my clients send me shooting scrips as word documents formatted with tables. Needless to say, I was quick to discover that Pages doesn't really 'like' these documents. I can't keep asking my clients to reformat their docs as txt files for me - it's very unprofessional.
    What I've found is that all the text is there, but the tables don't 'translate' (one cell tries to fit on a whole page and the text gets 'lost' at the bottom). Is there a quick and easy way to remove the tables in Pages but keep the text?
    In Word, it's Alt+A, V, B, 0 (I've been formatting and reformatting scripts for 8 years!).
    Thanks for your help. I REALLY don't want to have to get Office - I've read so many horror stories about 2008 (especially the excel part).

    sknygrydg07 wrote:
    Is there a quick and easy way to remove the tables in Pages but keep the text?
    In Word, it's Alt+A, V, B, 0 (I've been formatting and reformatting scripts for 8 years!).
    Hello,
    Have you tried: Select table, then from the Pages Menu; Format > Table > Convert Table to Text?
    It might be of some value in this situation.
    Jerry

  • Open a word or RTF document with table doen't shown right

    I found some problem opening rtf or word documents with pages if they have a table
    Rtf doesn't import table
    Word has problem with merged cells

    I don't understand the point of your post.
    If you're trying to report a problem or "bug" with Pages, that is not the purpose of this user-to-user forum. You should leave feedback for the Pages team on this page.
    I've not had a problem opening Word files with tables in Pages. If you're saying Word can't handle tables with merged cells, then don't use merged cells in files you are going to export as Word. Word & Pages must handle merged table cells differently, as I know both can do that. As far as RTF, Pages can open & export as RTF. Again, if you are going to export as RTF, don't use tables. Neither of these is a fault of Pages, just limitations of the formats/programs.

  • Problems with saving Word 2007 table as PDF

    I have a table in MS Word 2007 with some merged cells. If I use the Save as ... PDF or XPS option in Word 2007 to save this document as a PDF, the resulting PDF has a table with a discontinuous table grid. The table lines around the cells are broken.
    Is this a problem with the Word table or does the Save as PDF command not work well with tables.
    Thanks,
    Karl Smith

    What versions of both programs and how did you create the PDF? Can you post an example of the PDF?

  • Generating RoboHelp for Word with RH6 in HTML Doesn't Remove MSO styles

    Here's the Word portion of the question, which I really
    should post under a separate heading. (The WebHelp portion is under
    WebHelp - DiMost, posted March 19, 2007)
    In RHx5, I use(d) RoboHelp for Word to convert my documents
    from an Information Mapping format (with tables) to a stripped-down
    document that I converted to HTML without all the Word inline
    styles.
    - Applied a "conversion" template to the doc
    - Imported the doc into the RH for Word file.
    - Converted the styles and removed page breaks
    - Converted ONE heading to the main topic
    - Created WinHelp and checked to be sure there are no
    corrupted tables and the topic converted
    - Generated in WebHelp
    - Imported the HTML document output to the main WebHelp
    project. (The document arrives without all the MSO word inline
    styles)
    - Applied the CSS for the project.
    Document conversion complete....all the inline styles were
    removed.
    NOW, RH 6 retains all the styles and converts every heading
    style to a topic, even though RH5 did not.
    Converting it in RoboHelp for Word x5 worked really well, but
    doesn't appear to work now. And importing the Word doc directly
    into RH6 for the WebHelp project is still the huge mess it was
    before. It looks like it still requires hand-stripping all that
    code out by hand.
    Believe me, I have tried everything (including freestanding
    apps) to get rid of the Word (MSO-whatever) embedded styles out of
    the Word HTML.
    I welcome any ideas. Thanks!
    Diana

    I don't think anything changed on defining what should be a
    new topic. Check the options as you import as that can make such a
    difference and of course your RH6 settings will be different
    initially.

  • RE: Ole Automation with forte.

    Tran,
    Here is a piece of code(using Forte Version 3OF2 & Word 97) that we've
    used to determine if there is already an instance of Word running:
    // Create an instance of a Word Application and activate it.
    // If an a Word application exists, just activate it.
    if ( aTasks <> NIL and aTasks.Exists(aWordApplication.Name) )
    then
    aWordApplication.visible = TRUE;
    aWordApplication.Activate();
    else
    aWordApplication = new();
    aTasks = new();
    aWordApplication.CreateUsingProgID( 'word.application'
    aWordApplication.visible = TRUE;
    aWordApplication.Activate();
    aTasks is an attribute of type Tasks on our window & aWordApplication is
    an attribute of type _Application on our window. This code will work if
    there already is an instance of Word that was started from a Forte
    applicaiton. It doesn't recognize a instance of Word that was started
    outside of a Forte app. Hope this helps!!
    From: Quy Tran[SMTP:[email protected]]
    Sent: Wednesday, May 20, 1998 11:17 PM
    To: [email protected]
    Subject: Ole Automation with forte.
    Good Day forte users,
    I'm trying to invoke MSWord from a forte application.
    I set the objectreference using CreateUsingProgId(This is the only way
    that I could get it to work).
    The problem is when using CreateUsingProgId, forte will create another
    instance of Word. Is there a way to know if the instance already
    exists
    and retrieve the objectreference of that instance?
    Any help would be appreciated.
    Thanks
    Quy Tran
    Lumley Technology
    Analyst/Programmer
    [email protected]
    Ph : 612 93186722
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    If you are not the intended recipient, please notify the Sender.
    Non-business opinions may not reflect opinions of Piper Jaffray

    Hi Aurang
    You can call almost all methods using OLE. What is required is to know how to interpret a script to ABAP OLE call. This is explained in the tutorial<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c1d54348-0601-0010-3e98-bd2a2dcd9e6c">"An Easy Reference For OLE Automation"</a>
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Regarding the count(*) while using with table alias

    Hi,
    I have question in Count(*). Will it work with table allias.
    It works when I use like below
    "select count(*) po_header_id from po_headers_all" -- its working perfectly
    but , when i queried like below its not working,
    "select count(*) poh.po_header_id from po_headers_all poh"
    I like you guys to clarify my query.
    Thanks in advance.
    Regards,
    Uvaraja

    the words you write just after a column or an expression or a function will become an ALIAS and aliases don't have any table or scheme.
    select count(*) RRRR from mytable;RRRR is an alias in this example. maybe you have a column called RRRR in the table but this is not it. so you can not put your table name as prefix to it. mytable.RRRR will indicate the column not alias. if it doesn't include a dot, it could be used as alias but dot is violating naming rules.
    you could do that:
    select count(*) "mytable.RRRR" from mytable;now, "mytable.RRRR" becomes your alias.

  • How to insert Thai or Chinese Word into table in IQ 16.0?

    Hi guys,
    I need your help. How I can insert chinese/ thai words into table?
    I have a text file with data (save in unicode)
    test你好| test
    When I load this file into a table,
    The result will become
    ÿþt e s t i n g 'O}Y | t e s t
    ÿþt e s t i n g 'O}Y - 14 characters
    t e s t - 10 characters
    How I can load the chinese word properly in the table?
    Thanks.

    Hi .
    You can use these method in sequence as follow:
    1)  CALL METHOD cl_gui_frontend_services=>file_open_dialog
         this method let the user choose a file form his computer ad return the file path (ex.: C:/..../file.txt)
    2) CALL METHOD cl_gui_frontend_services=>gui_upload
         this method upload the file and return the file content.
    After you got the content of the file you can store it inot a custom table .
    There are similira merhod for the inverse problem (file download).
    Regards,
    Fabri

  • Compare word by word  with stopword list

    I write my program to read file text and separate the word by word. Now I want compare the word with stopword list. Please help me how to I compare the word with stopword list...please help me..thanks...
    import java.io.*;
    import java.util.*;
    import java.util.StringTokenizer;
    class token {
    int flag = 0;
    public static void main (String args[])
         token baca = new token();
         baca.readFile();
    } // end main
    void readFile()
         String record = null;
    try {
              FileReader fr = new FileReader("farrago.txt");
              FileWriter out = new FileWriter("test1.txt");
              BufferedReader br = new BufferedReader(fr);
              BufferedWriter br1 = new BufferedWriter(out);
              record = new String();
         while ((record = br.readLine()) != null)
              StringTokenizer stTok = new StringTokenizer(record," ");
              while (stTok.hasMoreTokens())
                   //System.out.println(stTok.nextToken());
                   br1.write(" " + stTok.nextToken());
                   br1.newLine();
         } // END WHILE
         br.close();
    br1.close();
         } catch (IOException e)
         // catch possible io errors from readLine()
         System.out.println("IOException error: ");
         e.printStackTrace();
    } // end of readMyFile()
    } // end of class

    okay, thanks..now i add all stopwordlist in hash table,see my code..
    Now how I want to COMPARE this stopwordlist in hashtable with my text file.
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class MySword {
    public static void main (String args[])
         Hashtable ht;
    String s;
         ht = new Hashtable();
         try {
         BufferedReader in = new BufferedReader(new FileReader("stopwordEnglish.txt"));
         while ((s = in.readLine()) != null)
              ht.put(new Integer(s.hashCode()), s);
         catch(IOException e)
              System.err.println("IO ERROR: " + e.getMessage());
         System.out.println("words:"+ ht);
    }

  • Can this be done with table styles?

    Hello,
    Can someone tell me if this table layout is possible to achieve with table styles? Specifically the first column being slightly darker is proving a problem with the alternating rows, I feel like I need a 'column style' option but there isn't one (in CS5) that I can see. Thanks very much.

    Sans cell styles, this Javascript adds 20% to the tint of cells in the very first column for each table. It does not change header rows (and on 2nd thought, maybe it shouldn't do footer rows either).
    .. Without trying, I couldn't tell what happens with complickated merged cells. The document I'm working on contains 8 tables, but the idiotic author pasted them as figures into Word. All of my scripting prowess can't work around that ...
    tables = app.activeDocument.stories.everyItem().tables.everyItem().getElements();
    for (t=0; t<tables.length; t++)
    processTable (tables[t]);
    function processTable (table)
    var i, cells = table.columns[0].cells;
    for (i=table.headerRowCount; i<cells.length; i++)
      cells[i].fillTint += 20; // percentage to add

  • Beginner Web Design help with tables

    For my college Web Design course we are building a basic website using tables and basic coding. Right now I am trying to align this img with the text on the left. The width of the outer table is 1024px and everytime I try and add the img into its own <td> it pushes outside the outer table. I would add screenshots of the code and css, but for some reason it isn't allowing me to insert images into the post.

    SnakEyez02 wrote:
    I don't agree 100% with previous comments made about tables because they are still relevant for email layouts due to archaic applications like Outlook using the brilliant "Word" rendering engine or Google disabling CSS in the header for GMail. 
    Hear, hear!!
    I have never bought into the nonsense about how tables should be used for tabular data only. Adobe has been touting the power of tables as layout tools for as long as I can remember, and still are: http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7da3a.h tml (Although the wording has been toned down some).
    DIV/CSS based layouts were not a part of my workflow until a couple of years ago. At that time, my plan was to make the switch from table based layouts (which already used a fair amount of CSS) to strictly DIV & CSS layouts. That’s when I discovered that Outlook and Gmail were unable to render DIV & CSS based newsletters. When I studied the newsletters of the industry leaders, and realized that almost all of them use tables with inline styles, I decided to put my workflow switch on hold.
    While all of my mobile work is strictly HTML5 (DIV’s & CSS), I have given clients the option to go with either CSS or table based layouts for their websites. Most choose table layouts. Design migrations from Photoshop to Dreamweaver are 10 times faster with tables, with little to no CSS hacks, and far easier to maintain than the purists are telling you. This makes table layouts less expensive in the short and long run.
    As far as SEO is concerned, Google doesn’t care either way: http://www.youtube.com/watch?v=fL_GZwoC2uQ
    With all of that said, the W3C is planning on having the HTML5 recommendation finalized by 2014, at which time it should be completely stable and away from the bleeding edge. And while it is my hope that I will be done with table based layouts by then, I do not feel it is right that Adobe should make that choice for me by continuing to remove critical table, image, and text based tool sets from Dreamweaver. If for nothing else but newsletter design and development, we need those tools back.

  • Issue with table ROOSPRMSF entries for data source 0FI_AP_4

    Hi Experts,
    I am facing with an issue where we found incosistencies with table ROOSPRMSF in R/3 system.
    In BW , we have done initializations based on fiscal period selections (none of the selections overlap) for data source 0FI_AP_4.
    We have done in total 7 initializations. So in BW system in table RSSDLINITSEL we have 7 initialization requests.
    But in R/3 system we have 49 records for data source 0FI_AP_4 in ROOSPRMSF table out of which 42 are invalid records.
    I suspect that these 42 invalid records are created due to the execution of program RSSM_OLTP_INIT_DELTA_UPDATE when the tables ROOSPRMSF are actually holding the 7 initialization request entries.   Due to this each and every initialization request is linked to rest of the other intialization requests and ended with 49 records in table ROOSPRMSF table.
    Now our data loads are running fine but daily a short dump is raised . In the daily loads, BW init records in RSSDLINITSEL are compared with ROOSPRMSF entries and all the other 42 records which are invalid are written into system log and a short dump is raised.
    In order to fix these inconsistencies i checked for OSS note 852443. (Point 3 in OSS note)
    But it is specified to delete the delta queue for data source 0FI_AP_4 in RSA7 and instructed to execute the program RSSM_OLTP_INIT_DELTA_UPDATE so that the ROOSPRMSF table will be reconstructed with valid records available in RSSDLINITSEL. 
    From OSS note 852443 point 3
    "3. If the RSSDLINIT table in the BW system already contains entries, check the requests listed there in the RNR column in the monitor (transaction RSRQ). Compare these entries with the entries in the ROOSPRMSF and ROOSPRMSC tables with the INITRNR field. If, in the ROOSPRMSF and ROOSPRMSC tables for your DataSource source system combination, there are more entries with different INITRNR numbers, use transaction RSA7 in an OLTP source system to delete all entries and then use the RSSM_OLTP_INIT_DELTA_UPDATE report mentioned in the next section. For a DataMart source system, delete the entries that you cannot find in the RSSDLINIT table using the procedure described above."
    My question is if we delete the delta queue in RSA7 then all the tables in R/3 (ROOSPRMSF, ROOSPRMSC, Time stamp table) and BW (RSSDLINITSEL, initialization requests will be deleted) will be cleared. Then how will the program RSSM_OLTP_INIT_DELTA_UPDATE  copy entries into ROOSPRMSF table in R/3 ?
    Could any one please clarify this ?
    Thanks
    Regards,
    Jeswanth

    Hi Amarnath,
    Did you unhide the new field in RSA6 and regenerated the DataSource?
    Often SAP will populate newly added fields (belonging to the same (set) of table(s) used for extraction) automatically (e.g. SAP uses 'move-corresponding' in it's extractor-code, or, in this case, reading all fields from the DD, FM BWFIU_TRANSFORM_FIELDLIST).
    If the DataSource looks fine to you and the field is still not populated in RSA3 you can't go without a user-exit.
    Grtx,
    Marco

  • Dont work 'REUSE_ALV_FIELDCATALOG_MERGE' with table type

    Hi Experts ;
    My problem about   'REUSE_ALV_FIELDCATALOG_MERGE' .
    I use intarnal table with Table Type ( with header line ). And 'REUSE_ALV_FIELDCATALOG_MERGE'  is not working . Field catalog is employ. I dont use 'REUSE_ALV_FIELDCATALOG_MERGE' have any problem.

    'REUSE_ALV_FIELDCATALOG_MERGE' expects a flat structure.
    Give the reference of the line type of the table type if you wish to have fieldcatalog as per that..
    Even if you dont use 'REUSE_ALV_FIELDCATALOG_MERGE' you can create your own Fieldcatalog..

Maybe you are looking for

  • New Development and CA

    We are in process of developing new eCommerce application on ATG. We also have a business requirement to manage images and products using BCC. Most of the business requirements in phase 1 of the project is to configure and deploy application code alo

  • Problem in Automatic PO creation

    Hello, There is a batch job at our end that creates PO from PR. But after observing in EKKO i got to see that most of the POs are created manually. just a couple of tehm are created by batch job. I've checked the materials and vendors of the PO which

  • Displaying the path of the file selected by a FileChooser in a TextField

    I'm just getting started with Swing. I developed a simple dialog box that has two text fields and two buttons. The objective is to open two files using those two buttons. I used FileChooser to select the files. Now, I want to display the path of the

  • Error installing SOA Suite 10.1.3.1.0

    Hi, I am trying to install SOA Suite 10.1.3.1.0 in my PC (Window XP). But the installation fails with the following error message: "Caught exception running the command via the script file D:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\a

  • Sql command

    Hi all, I typed that command in the terminal and it worked mysqldump --user=root --password= --opt      HOTEL> /root/15now I want to execute it a java application, but it's n't working, here is the code public void run()           try {