<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956063#M66321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am using the code sample given ,it is displaying only 'This is an OLE example' in a opened document.I am not able to see the tables or any other text.I even tried replacing text symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2005 06:09:33 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2005-08-16T06:09:33Z</dc:date>
    <item>
      <title>Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956055#M66313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to pass values to the exporting parameters for the following methods?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a object as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create object gs_word 'Word.Basic'.&lt;/P&gt;&lt;P&gt;call method of gs_word 'Filenew'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;#1 = ????.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to display a table in word by using the object created.Kindly let me know how I should proceed with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J.Jayanthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2005 05:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956055#M66313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-11T05:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956056#M66314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  This type of programming is related to OLE Automation.&lt;/P&gt;&lt;P&gt;Here each method may provide an object as result.&lt;/P&gt;&lt;P&gt;You have to view the WORD Document to view the result.&lt;/P&gt;&lt;P&gt;in the Word Documet activate the VB Editor and open the &amp;lt;b&amp;gt;OBJECT BROWSER SCREEN&amp;lt;/b&amp;gt; and check the methods. The methods that you have used are of the WORD Document. Now each method can return an Object. So, you can only know the output of the method only when you view the WORD DOCUMENT.&lt;/P&gt;&lt;P&gt;check the below link for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an example of an excel sheet in the documentation.&lt;/P&gt;&lt;P&gt;Hope it would be of some help to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,v&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2005 11:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956056#M66314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-11T11:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956057#M66315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your information.&lt;/P&gt;&lt;P&gt;It is very much useful.&lt;/P&gt;&lt;P&gt;But I am not able to find WORD.BASIC in my object browser.&lt;/P&gt;&lt;P&gt;I am able to find EXCEL.APPLICATION and WORD.APPLICATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in TOLE table,WORD.APPLICATION is not there.&lt;/P&gt;&lt;P&gt;But WORD.BASIC is in the table.&lt;/P&gt;&lt;P&gt;Can you tell me any other methos for finding the parameters.&lt;/P&gt;&lt;P&gt;Waiting for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2005 12:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956057#M66315</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-12T12:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956058#M66316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can still use word.application instead of word.basic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for requirement of showing a table in word check the following tutorial, it has got the code sample for table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/technologies/an%20easy%20reference%20for%20ole%20automation.article"&amp;gt;An Easy Reference for OLE Automation&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Aug 2005 11:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956058#M66316</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-13T11:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956059#M66317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;I already tried coying the same code in that link for WORD.APPLICATION.&lt;/P&gt;&lt;P&gt;It is opening the document.But not showing the table.&lt;/P&gt;&lt;P&gt;If I copied the code for EXCEL.APPLICATION,it is working perfectly.&lt;/P&gt;&lt;P&gt;So I think since WORD.APPLICATION is not in TOLE table,I cannot use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is possible to WORD.APPLICATION even it is not in TOLE table,kindly let me know how I should proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;J.Jayanthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2005 04:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956059#M66317</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-16T04:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956060#M66318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have tried the same code and it works fine. the following are entries in my TOLE table&lt;/P&gt;&lt;P&gt;WORD.BASIC          &lt;/P&gt;&lt;P&gt;WORD97              &lt;/P&gt;&lt;P&gt;WORDPRO.APPLICATION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably the issue could be the versin of Word you are using. i tried it with word2003. which version of word are you using. if its still dosent work. let me know. i will write up a simple program for testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2005 04:24:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956060#M66318</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-16T04:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956061#M66319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOLE table:&lt;/P&gt;&lt;P&gt;App                     Version&lt;/P&gt;&lt;P&gt;WORD.BASIC              6     &lt;/P&gt;&lt;P&gt;WORD97                                 &lt;/P&gt;&lt;P&gt;WORDPRO.APPLICATION      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using word 2003 version 11.0.&lt;/P&gt;&lt;P&gt;If I am using the code sample,it is displaying 'This is an OLE example' only in a opened document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied the entire coding for Word given there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to proceed further.&lt;/P&gt;&lt;P&gt;Waiting for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2005 04:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956061#M66319</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-16T04:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956062#M66320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you tole entries look exactly the same as mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below given is the code copied from the referenced document and its working fine. copy paste the below code and give it a try and let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  Y_WORD_TEST1.
*--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_documents TYPE ole2_object . "Documents
DATA gs_actdoc 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_table_border TYPE ole2_object . "Table border
DATA gs_cell TYPE ole2_object . "One cell of a table
DATA gs_paragraph TYPE ole2_object . "Paragraph
DATA gv_pos(5) TYPE n . "Position information for table
START-OF-SELECTION .
*--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_documents .
CALL METHOD OF gs_documents 'Add' .
*--Getting active document handle
GET PROPERTY OF gs_word 'ActiveDocument' = gs_actdoc .
*--Getting applications handle
GET PROPERTY OF gs_actdoc '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 .
*--Setting font attributes
SET PROPERTY OF gs_font 'Name' = 'Arial' .
SET PROPERTY OF gs_font 'Size' = '10' .
SET PROPERTY OF gs_font 'Bold' = '0' . "Not bold
SET PROPERTY OF gs_font 'Italic' = '1' . "Italic
SET PROPERTY OF gs_font 'Underline' = '0' . "Not underlined
*--Setting paragraph format attribute
SET PROPERTY OF gs_parformat 'Alignment' = '2' . "Right-justified
CALL METHOD OF gs_selection 'TypeText'
EXPORTING
#1 = 'This is an OLE example!'.
*--Setting the view to the main document again
SET PROPERTY OF gs_view 'SeekView' = '0' . "Main document view
*--Reseting font attributes for the title
SET PROPERTY OF gs_font 'Name' = 'Times New Roman' .
SET PROPERTY OF gs_font 'Size' = '16' .
SET PROPERTY OF gs_font 'Bold' = '1' . "Bold
SET PROPERTY OF gs_font 'Italic' = '0' . "Not Italic
SET PROPERTY OF gs_font 'Underline' = '0' . "Not underlined
*--Setting paragraph format attribute
SET PROPERTY OF gs_parformat 'Alignment' = '1' . "Centered
CALL METHOD OF gs_selection 'TypeText'
EXPORTING
#1 = text-000.
*--Advancing cursor to the new line
CALL METHOD OF gs_selection 'TypeParagraph' .
*--Reseting font attributes for ordinary text
SET PROPERTY OF gs_font 'Name' = 'Times New Roman' .
SET PROPERTY OF gs_font 'Size' = '12' .
SET PROPERTY OF gs_font 'Bold' = '0' . "Not bold
SET PROPERTY OF gs_font 'Italic' = '0' . "Not Italic
SET PROPERTY OF gs_font 'Underline' = '0' . "Not underlined
*--Setting paragraph format attribute
SET PROPERTY OF gs_parformat 'Alignment' = '3' . "Justified
CALL METHOD OF gs_selection 'TypeText'
EXPORTING
#1 = text-001.
*--Skip some lines
DO 4 TIMES .
CALL METHOD OF gs_selection 'TypeParagraph' .
enddo.
*--Getting entity handles for the entities on the way
GET PROPERTY OF gs_actdoc 'Tables' = gs_tables .
GET PROPERTY OF gs_selection 'Range' = gs_range .
*--Adding a table with 3 rows and 2 columns
CALL METHOD OF gs_tables 'Add' = gs_table
EXPORTING
#1 = gs_range " Handle for range entity
#2 = '3' "Number of rows
#3 = '2'. "Number of columns
*--Setting border attribute for the table
GET PROPERTY OF gs_table 'Borders' = gs_table_border .
SET PROPERTY OF gs_table_border 'Enable' = '1' . "With border
*--Filling the table with dummy data
*--Reseting font attributes for table content
SET PROPERTY OF gs_font 'Name' = 'Garamond' .
SET PROPERTY OF gs_font 'Size' = '11' .
SET PROPERTY OF gs_font 'Bold' = '0' . "Not bold
SET PROPERTY OF gs_font 'Italic' = '0' . "Not Italic
SET PROPERTY OF gs_font 'Underline' = '0' . "Not underlined
*--Getting cell coordinates
CALL METHOD OF gs_table 'Cell' = gs_cell
EXPORTING
#1 = '1' "first row
#2 = '1'. "first column
*--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' = 'OLE' .
*--Getting cell coordinates
CALL METHOD OF gs_table 'Cell' = gs_cell
EXPORTING
#1 = '3' "third row
#2 = '2'. "second column
*--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' = 'OLE' .
*--Advancing the cursor to the end of the table
GET PROPERTY OF gs_table 'Range' = gs_range .
GET PROPERTY OF gs_range 'End' = gv_pos .
SET PROPERTY OF gs_range 'Start' = gv_pos .
CALL METHOD OF gs_range 'Select' .
*--Skip some lines
DO 3 TIMES .
CALL METHOD OF gs_selection 'TypeParagraph' .
enddo .
*--Reseting font attributes for ordinary text
SET PROPERTY OF gs_font 'Name' = 'Times New Roman' .
SET PROPERTY OF gs_font 'Size' = '12' .
SET PROPERTY OF gs_font 'Bold' = '0' . "Not bold
SET PROPERTY OF gs_font 'Italic' = '0' . "Not Italic
SET PROPERTY OF gs_font 'Underline' = '0' . "Not underlined
*--Setting paragraph format attribute
SET PROPERTY OF gs_parformat 'Alignment' = '3' . "Justified
*--Indent the paragraph once
GET PROPERTY OF gs_selection 'Paragraphs' = gs_paragraph .
CALL METHOD OF gs_paragraph 'Indent' .
CALL METHOD OF gs_selection 'TypeText'
EXPORTING
#1 = text-002.
FREE OBJECT gs_word.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2005 04:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956062#M66320</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-16T04:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956063#M66321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am using the code sample given ,it is displaying only 'This is an OLE example' in a opened document.I am not able to see the tables or any other text.I even tried replacing text symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2005 06:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956063#M66321</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-16T06:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956064#M66322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am seeing both 'This is an OLE example'  and the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go into debuggin and see whats the sy-subrc value at the following places.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GET PROPERTY OF gs_actdoc 'Tables' = gs_tables . 
GET PROPERTY OF gs_selection 'Range' = gs_range . 
*--Adding a table with 3 rows and 2 columns 
CALL METHOD OF gs_tables 'Add' = gs_table 
EXPORTING 
#1 = gs_range " Handle for range entity 
#2 = '3' "Number of rows 
#3 = '2'. "Number of columns 
*--Setting border attribute for the table 
GET PROPERTY OF gs_table 'Borders' = gs_table_border . 
SET PROPERTY OF gs_table_border 'Enable' = '1' . "With border&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2005 06:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956064#M66322</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-16T06:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956065#M66323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sy-subrc eq 3.&lt;/P&gt;&lt;P&gt;CALL METHOD OF gs_selection 'TypeText'      &lt;/P&gt;&lt;P&gt;EXPORTING                                   &lt;/P&gt;&lt;P&gt;#1 = text-001.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                       &lt;/P&gt;&lt;P&gt;*--Skip some lines                          &lt;/P&gt;&lt;P&gt;DO 4 TIMES .  &lt;/P&gt;&lt;P&gt;sy-subrc eq 4.                                &lt;/P&gt;&lt;P&gt;CALL METHOD OF gs_selection 'TypeParagraph' &lt;/P&gt;&lt;P&gt;enddo.                                      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PROPERTY OF gs_table            &lt;/P&gt;&lt;P&gt; 'Range' = gs_range .               &lt;/P&gt;&lt;P&gt;GET PROPERTY OF gs_range 'End' = gv_pos .&lt;/P&gt;&lt;P&gt;SET PROPERTY OF gs_range 'Start' = gv_pos .&lt;/P&gt;&lt;P&gt;CALL METHOD OF gs_range 'Select' . &lt;/P&gt;&lt;P&gt;Sy-subrc eq 4 after this line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO 3 TIMES .                                   &lt;/P&gt;&lt;P&gt;CALL METHOD OF gs_selection 'TypeParagraph' .  &lt;/P&gt;&lt;P&gt;Sy-subrc eq 2 here&lt;/P&gt;&lt;P&gt;enddo .                                        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All other places in the coding[including the code you mentioned],sy-subrc is zero.&lt;/P&gt;&lt;P&gt;Could you kndly let me know what I need to change in coding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2005 07:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters/m-p/956065#M66323</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-16T07:11:12Z</dc:date>
    </item>
  </channel>
</rss>

