Strike a word in abap

Hi All,
I need to strike a word in abap...
For ex :
daughter
It should come as daughter
Thanks,

Hi,
I checked the device type in SPAD, and changed it accordingly (as per IDES system). However, it still does not print the words striked out, only underline.
I need the words striked out only when the PO line items are deleted or blocked (EKPO-LOEKZ = 'L' or 'S'). The deleted/blocked PO items are not displayed in PO print preview as SAP feature is not so. These items are only appearing in the printout as per our customisation.
I tried setting the indicator EKPO-LOEKZ = 'L' or 'S' for item while debugging for print preview, and there I am able to see the strike out appearing perfectly. This proves one thing, that the negative spacing in Underline leads to strikeout. As I mentioned earlier, in IDES also, it works perfect.
However,in my system, in print out it appears only as underline. I really am not able to understand why.
Please let me know if there is any solution for this. Or can I try overwriting a '-' for each character in the line item, so that it appears as strike out.
Kindly help.
Regards,
Smruthi

Similar Messages

  • Help!!! Can Anybody tell me how to read bookmarks of MS word using ABAP?

    It took me around 3 days , but there is still no solutions...
    Can Anybody tell me how to read bookmarks of MS word using ABAP ?
    Many thanks.

    Dear Nick  ,
    Thanks for your attention!
    I have MS word installed in the R3 server , and I uploaded my word doc with some self-defined bookmarks into SAP R3 system.
    Now I want to read these bookmarks using ABAP in this R3 system...
    Is it clear enough?
    Looking forward to your solution ...
    Thanks again..
    Best Regards,
    Leon.

  • What is use of LOAD key word in ABAP-HR

    what is use of LOAD key word in ABAP-HR?

    Hi,
    LOAD keyword is used to load all the parameter values.
    Basic form
    LOAD REPORT prog PART part INTO itab.
    Variants
    1. LOAD REPORT prog PART 'HEAD' INTO itab.
    2. LOAD REPORT prog PART 'TRIG' INTO itab.
    3. LOAD REPORT prog PART 'CONT' INTO itab.
    4. LOAD REPORT prog PART 'DATA' INTO itab.
    5. LOAD REPORT prog PART 'DDNM' INTO itab.
    6. LOAD REPORT prog PART 'DATV' INTO itab.
    7. LOAD REPORT prog PART 'SELC' INTO itab.
    8. LOAD REPORT prog PART 'STOR' INTO itab.
    9. LOAD REPORT prog PART 'LITL' INTO itab.
    10. LOAD REPORT prog PART 'SYMB' INTO itab.
    11. LOAD REPORT prog PART 'LREF' INTO itab.
    12. LOAD REPORT prog PART 'SSCR' INTO itab.
    13. LOAD REPORT prog PART 'BASE' INTO itab.
    14. LOAD REPORT prog PART 'INIT' INTO itab.
    15. LOAD REPORT prog PART 'DATP' INTO itab.
    16. LOAD REPORT prog PART 'TXID' INTO itab.
    17. LOAD REPORT prog PART 'COMP' INTO itab.
    Effect
    Loads the specified part of the generated version of the program prog into the internal table itab (for analysis purposes only).
    The return code value is set as follows:
    SY-SUBRC = 0 The load for the program prog exists and is current.
    SY_SUBRC = 4 The load for the program prog does not exist.
    SY-SUBRC = 8 The load for the program prog exists, but is not current. In some cases, this SY-SUBRC may mean that the program load has been destroyed. You can resolve this by generating the program. With PART 'LREF' , SY-SUBRC = 8 means that the line reference table is incorrect for the program. With PART 'CONT' , it means that the reference part of the internal table is empty.
    itab has been filled only if SY-SUBRC = 0 .
    Reward points if useful.
    Regards,
    Sekhar

  • How to translate the key words in ABAp program from lower case to upper cas

    How to translate the key words in ABAp program from lower case to upper case?

    Hi Kittu,
    You need to set the Pretty Printer settings to achieve key words in ABAP program from lower case to upper case.
    Utilities -> Settings -> Pretty Printer (tab) -> Select third radio button.
    Thats all.
    <b>Reward points if this helps.
    Manish</b>

  • How to strike-through words in Pages on iPAd?

    How to strike through words in Pages on iPAd? Can't find out how to do it.........

    Click on the words to select them, then click on the "i" icon in the upper right, then select the style tab the select the s button. 

  • Use of "super" key word in abap oops...

    Hi,
      Can any one explain me what is the use of ' super ' key word in abap oops. excluding super class.
    With Regards,
    M.S.Amirtharaj Vijay.

    Vijay,
    please read the sap documentation or f1 help
    Thanks
    Bala Duvvuri

  • Creating Macros in MS word from ABAP

    How to create a macro in MS word from ABAP code.I want to generate tables dynamically in Word using Macro from the data generated by the code.
    Regards,
    Sinu.

    Hi Mathew
    Better is create a macro in MS Word and calling the macreo frol ABAP.
    Check my macros below.
    1. A macro to create a table
    Public Function CreateTables(Rows As Integer, Cols As Integer, Width1 As Double, _
                                 Width2 As Double, Width3 As Double, Width4 As Double, _
                                 Width5 As Double, Width6 As Double, Width7 As Double)
    ' CreateTables Macro
    ' Macro created 2007-06-11 by WINUEL SA
        Dim oRange As Word.Range
        Dim oTable As Word.Table
        Set oRange = ActiveDocument.Bookmarks("bmT01").Range
    '   Add table to range of bookmark (oRange)
        Set oTable = ActiveDocument.Tables.Add(Range:=oRange, _
        NumRows:=Rows, _
        NumColumns:=Cols, _
        AutoFitBehavior:=wdAutoFitFixed)
        ActiveDocument.Tables(1).Columns(1).Width = CentimetersToPoints(Width1)
        ActiveDocument.Tables(1).Columns(2).Width = CentimetersToPoints(Width2)
        ActiveDocument.Tables(1).Columns(3).Width = CentimetersToPoints(Width3)
        ActiveDocument.Tables(1).Columns(4).Width = CentimetersToPoints(Width4)
        ActiveDocument.Tables(1).Columns(5).Width = CentimetersToPoints(Width5)
        ActiveDocument.Tables(1).Columns(6).Width = CentimetersToPoints(Width6)
        ActiveDocument.Tables(1).Columns(7).Width = CentimetersToPoints(Width7)
    End Function
    2. A macro to fill table
    Public Function FillTabRowNo2(RowNo As Integer, S1 As String, S2 As String, S3 As String, _
                                 S4 As String, S5 As String, S6 As String)
        ActiveDocument.Tables.Item(1).Cell(RowNo, 1).Range.Text = RowNo
        ActiveDocument.Tables.Item(1).Cell(RowNo, 1).Range.Paragraphs.Alignment = Alig2
        ActiveDocument.Tables.Item(1).Cell(RowNo, 2).Range.Text = S1
        ActiveDocument.Tables.Item(1).Cell(RowNo, 3).Range.Text = S2
        ActiveDocument.Tables.Item(1).Cell(RowNo, 4).Range.Text = S3
        ActiveDocument.Tables.Item(1).Cell(RowNo, 5).Range.Text = S4
        ActiveDocument.Tables.Item(1).Cell(RowNo, 5).Range.Paragraphs.Alignment = 2
        ActiveDocument.Tables.Item(1).Cell(RowNo, 6).Range.Text = S5
        ActiveDocument.Tables.Item(1).Cell(RowNo, 6).Range.Paragraphs.Alignment = 2
        ActiveDocument.Tables.Item(1).Cell(RowNo, 7).Range.Text = S6
        ActiveDocument.Tables.Item(1).Cell(RowNo, 7).Range.Paragraphs.Alignment = 2
    End Function
    best regards
    John

  • How to select a bookmark in Word from abap?

    Hi,
    We are looking for a way to select a specific bookmark from a Word document (opened before from abap, using methods of class I_OI_DOCUMENT_PROXY). The bookmark needs to be replaced by a specific value.
    We tried call method 'execute macro' .... with par1 = '-1' and parm4 = 'GoTo'. The retcode is OK, but nothing happens. Any ideas what we are missing here?
    Regards,
    Hans van der Kooij

    Thanks Jayanthi,
    We had already read the article, but did not interpret it correctly. We found the solution in an SAP OSS note.
    We had to use method get_document_handle to get an OLE link and continue from there with OLE. The article however is very brief on that part and has no example.
    So for anyone who would like to do the same or simular:
    - call method do_document->get_document_handle:
        EXPORTING
           no_flush = ''
        IMPORTING
           error = do_error
           handle = do_handle
           retcode = do_retcode.
    - GET PROPERTY OF do_handle-obj 'Application' = do_ole_application.

  • How at send a Word document as an email attachment from an ABAP program?

    Hi all,
    i got request to develop background run program which check which staff is due CONFIRM and able to attach confirmation form (Microsoft Word file) to HR and CC staff manager as recipients.
    I try almost all relevant FM but still face problem below, please assist.
    1) FM SO_DOCUMENT_REPOSITORY_MANAGER
    - A window pops up requesting Recipient email ids. I couldn't get the window suppressed.
    2) FM SO_NEW_DOCUMENT_ATT_SEND_API1
    - Since the attachment is a pre-formatted Word Document and not an Excel or Text document, couldn't process the contents into the internal table (most sample in forum is Excel not word)
    Appreciate ABAP folks who have sample code attach a word file will help on this.
    Thanks and regards,
    Felicek

    Hi ,
    sorry for my request but I have to send an e-mail with word attachment and I would appreciate if someone could give the code for
    the first part of this link: http://www.divulgesap.com/blog.php?p=ODI=
    (I mean 'ZDIV_SEND_EMAIL' ) . The problem is that I have to load in an internal table the file word (by using "open dataset in binary
    mode" I suppose ) and then pass this table to a FM or a method for sending e-mail with this file WORD but I 'm facing some
    problems....  any suggestion would be very appreciated ... I'm in a "impasse"  ! It's seems there is no way out !!!
    Thanks in advance
    Andrew

  • How to use SET BIT and GET BIT in ABAP Programming

    Hi,
    Our team is currently working for an Upgrade  project which is using a tool automatically upgrades when we supplly the code. fine, But now the requirement is , we need to write different test cases for the available key words in ABAP. Now we r looking for the usage of  " BIT ", keyword. so , kindly provide any program or code using this key word.
    Please find the description Provided and give some relative ABAP code to satisfy the given description.
    The data object byte_string must be byte-type. The statement reads the bit at the bit position BITPOS of the variable byte_string and assigns its value to the variable val. A default mode can be specified if required *
    Thanks & Regards,
    P.N.Kumar.

    What on earth are you testing? That ABAP still works? I think SAP might have run that through rigourous testing themselves.
    If you want sample code, why not read the ABAP help, and work some out for yourself?
    matt

  • ABAP/4 Keywords for all SAP R/3 Versions

    Hello Experts,
          Is there any DB Table available in Data Dictionary where all these ABAP/4 Keywords available; if yes do please let me know if not available then do please provide me with all ABAP/4 Keywords of all versions of SAP R/3 if possible
    points will be awarded if helpful.
    Thanks in Advance

    Hello Arif,
    There no particular table to check all the key words in ABAP.
    To check system fields Go for
    Se11-- SYST.
    TO get the key words go to ABAPDOCU- type ur required key word in the search given in the last section.
    The best option would be to debug ABAPDOCU, when you do a click on Keywords
    Or Check the Pooled table : TSE05
    As you must be knowing ABAPDOCU is in SABAPDOCU Package.....!!
    There are a number of tables used; like ABTREE,etc !
    Explore and find whether you can get some clue!
    Find the keywords here...
    Keywords     Description
    , [, ], {, }     Syntax conventions, Syntax notation
    *, "     Comments
    **     Arithm. Operator: Exponentiation (COMPUTE)
    +, -, *, /     Arithmetical operators (COMPUTE)
    ->, =>, ->>, ~, ?=     Operators in ABAP Objects
    ABS     Mathematical function: Absolute amount COMPUTE)
    ACOS     Mathematical function: Cosine arc (COMPUTE)
    ADD     Add
    ADD-CORRESPONDING     Field string addition
    ADJACENT DUPLICATES     Delete duplicates from internal table (DELETE)
    AND     Comparison operator: and
    ANY TABLE     Generic table type for internal tables
    APPEND     Append line to internaltable
    ASIN     Mathematical function: Sine arc (COMPUTE)
    ASSIGN     Assign field symbol
    AT     Event, control break, field group determination
    ATAN     Mathematical function: Tangent  arc
    AUTHORITY-CHECK     Check authorization
    AVG     Aggregate expression: Average (SELECT)
    BACK     Positioning in list
    BETWEEN     Relational operator: Between
    BINARY SEARCH     Binary read of internaltable (READ TABLE)
      BIT-NOT     Bit calculation operator: NOT (COMPUTE)
      BIT-AND     Bit calculation operator: AND (COMPUTE)
      BIT-OR     Bit calculation operator: OR (COMPUTE)
      BIT-XOR     Bit calculation operator: AND/OR (COMPUTE)
      SET BIT     Set bit of an X field
      GET BIT     Read bit of an X field
    BLANK LINES     Switch on blank lines in list
    BREAK-POINT     Stop processing in debug mode
    C     Data type for fixed-length character string
    CA     Contains any characters -Relational operator forstring comparison
    CALL     Call external component
    CASE     Begin case distinction
    CATCH     Exception handling (catch runtime errors)
    CEIL     Mathematical function: Smallest whole value
    CENTERED     Output format: Centered(WRITE)
    CHECK     Check condition
    CHECKBOX      Display as checkbox
      PARAMETERS ... AS CHECKBOX     on the selection screen
      WRITE ... AS CHECKBOX     in a list
    CLASS     Definition of a class
    CLASS-DATA     Static attributes in classes
    CLASS-METHODS     Static methods in classes
    CLASS-EVENTS     Static events in classes
    CLASS-POOL     Introduction for type Kprograms
    CLEAR     Initialize data object
    CLIENT       Client handling when
      DELETE ... CLIENT SPECIFIED     deleting from a database
      EXPORT ... TO DATABASE ... CLIENT     Storing a data cluster
      IMPORT ... FROM DATABASE ... CLIENT     Reading a data cluster
      EXPORT ... TO SHARED BUFFER ... CLIENT     Storing a data cluster
      IMPORT ... FROM SHARED BUFFER ... CLIENT     Reading a data cluster
      INSERT ... CLIENT SPECIFIED     inserting into a database
      MODIFY ... CLIENT SPECIFIED     Insert/Modify in database(s)
      SELECT ... CLIENT SPECIFIED     reading from a database
      UPDATE ... CLIENT SPECIFIED     updating a database
    CLOSE     Close file/cursor
    CN     Contains Not Only - Relational operator for character comparison:
    CNT     Field groups: Number ofdifferent values
    CO     Contains Only - Relational operator for character comparison:
    CODE PAGE              Character set
      TRANSLATE ... FROM/TOCODE PAGE     Translate character codes
    COLLECT     Internal table: Add entries
    COLOR     Output format: Color (FORMAT)
    COMMENT                  Comment on selection screen
      SELECTION-SCREEN COMMENT     Generate comment
    COMMIT     Close processing unit
    COMMUNICATION     Data exchange
    COMPUTE     Perform calculations
    CONCATENATE     Concatenate character fields
    CONDENSE     Condense character fields
    CONSTANTS     Defing constants
    CONTEXTS     Communicate contexts
    CONTINUE     Exit current loop pass
    CONTROLS     Define controls for visualization
    CONVERT     Convert fields
    COS     Mathematical function: Cosine (COMPUTE)
    COSH     Mathematical function: Hyperbola cosine (COMPUTE)
    COUNT     Aggregate expression: Count (SELECT)
    COUNTRY     Set country ID (SET)
    CP     Relational operator forcharacter comparison:
    DATABASE                Contains Pattern
    CREATE     Generate an object or data object
    CS     Contains character - Relational operator forcharacter comparison
    CURRENCY     Output format: Correct format for currency (WRITE)
    CURSOR                   Cursor
      CLOSE                Close database cursor
      FETCH NEXT CURSOR     Read lines with a database cursor
      GET CURSOR FIELD        Get field name
      OPEN CURSOR            Open database cursor
      SET CURSOR            Position cursor
    CUSTOMER-FUNCTION      Call customer enhancement
    DATA     Define data
    DATABASE               Data cluster
      DELETE FROM DATABASE        Delete from a database table
      EXPORT ... TO DATABASE        Store in a databasetable
      IMPORT ... FROM DATABASE     Read from a database table
    DATASET                 Sequential file
      CLOSE DATASET          Close file
      DELETE DATASET        Delete file
      EXPORT ... TO DATASET        Store data cluster in file
      IMPORT ... FROM DATASET       Read data cluster from file
      OPEN DATASET    Open file     Open file
      READ DATASET        Read from a file
      TRANSFER       Output to a file
    DECIMALS     Output format: Places after the decimal point - (WRITE)
    DEFINE     Define macro
    DELETE     Delete from tables or from objects
    DEMAND     Request information from a context
    DESCRIBE     Determine attributes ofdata objects
    DIALOG     Call a dialog module (CALL)
    DISTINCT            Duplicates
      SELECT DISTINCT          Selection set without duplicates
      AVG( DISTINCT ... )        Average without duplicates (SELECT)
      COUNT( DISTINCT ... )        Sequential file
      MAX( DISTINCT ... )      Maximum without duplicates (SELECT)
      MIN( DISTINCT ... )      Minimum without duplicates (SELECT)
      SUM( DISTINCT ... )     Sum without duplicates (SELECT)
    DIV     Arithmetic operator: Whole number division
    DIVIDE     Divide
    DIVIDE-CORRESPONDINGField string division     Field string division
    DO     Loop
    DYNPRO               Screen      Screen
      DELETE DYNPRO    Delete     Delete
      EXPORT DYNPRO    Export     Export
      GENERATE DYNPRO    Generate     Generate
      IMPORT DYNPRO    Import      Import
      SYNTAX-CHECK FOR DYNPRO   Check     Check
    EDITOR-CALL     Call editor
    ELSE     Query
    ELSEIF     Query
    END-OF-DEFINITION     End of a macro definition
    END-OF-PAGE     Event: End of page handling in lists
    END-OF-SELECTION     Event: After processingof all records in a LDB
    ENDAT     End of an event introduced by AT
    ENDCASE     End of case distinction
    ENDCATCH     End of exception handling
    ENDDO     End of a DO loop
    ENDEXEC     End of a Native SQL statement
    ENDFORM     End of a subroutine
    ENDFUNCTION     End of a function module
    ENDIF     End of a query
    ENDINTERFACE     End of an interface definition
    ENDLOOP     End of a LOOP
    ENDMODULE     End of a module definition
    ENDON     End of a conditional statement
    ENDPROVIDE     End of a PROVIDE loop
    ENDSELECT     End of a SELECT loop
    ENDWHILE     End of a WHILE loop
    EQ     Relational operator: Equals
    EXEC SQL     Native SQL statement
    EXIT     Exit loop or terminate processing
    EXP     Mathematical function: Exponential function
    EXPONENT     Output format: Exponentdisplay (WRITE)
    EXPORT     Export data
    EXTENDED CHECK     Switch extended syntax check on/off (SET)
    EXTRACT     Generate extract dataset
    FETCH     Read line from a database table
    FIELD-GROUPS     Define field groups
    FIELD-SYMBOLS     Define field symbols
    FLOOR     Mathematical function:Largest whole value
    FORM     Define subroutine
    FORMAT     Output format for lists
    FOR UPDATE     Read database table with lock (SELECT)
    FRAC     Mathematical function: Fraction (COMPUTE)
    FREE     Release resources no longer needed
    FUNCTION     Define function module
      CALL FUNCTION     Call function module
    FUNCTION-POOL     Introduction for type Fprograms
    GE     Relational operator: Greater than or equal
    GENERATE     Generate a program or screen
    GET     Event, read settings
    GT     Relational operator: Greater than
    HASHED TABLE     Table type for internalhashed tables
    HEADER LINE     Define an internal table with header line (DATA)
    HELP-ID                Help ID for F1 help
      DESCRIBE FIELD ... HELP-ID      Determine help ID
    HELP-REQUEST              Self-programmed help (F1)
      PARAMETERS ... HELP-REQUEST          for parameters
      SELECT-OPTIONS ... HELP-REQUEST      for selection options
    HIDE     Store line information
    HOTSPOT     Output format: Hotspot,interaction by simple - mouse click (FORMAT)
    ICON     Icons in lists
    IF     Query
    IMPORT     Import data or a screen
    IN     Relational operator: Selection criterion
    INCLUDE     Include program components
    INDEX                    Line index in an internal table
    INDEX TABLE     
      DELETE ... INDEX     Delete line
      INSERT ... INDEX     Insert line
      MODIFY ... INDEX     Modify line
      READ TABLE ... INDEX     Read line
    INFOTYPES     Declare HR info type
    INITIAL     Relational operator: Initial value
    INITIAL SIZE     Define an internal table type (TYPES)
    INITIALIZATION     Event: Before display of the selection screen
    INPUT     Output format: Ready for input (FORMAT)
    INSERT     Insert into tables or objects
    INTENSIFIED     Output format: Intensified (FORMAT)
    INTERFACE     Definition of an interface
    INTERFACES     Class component interface
    INTERFACE-POOL     Introduction fortype J programs
    INVERSE     Output format: Inverse (FORMAT)
    IS                 Relational operator
      IS ASSIGNED      Relational operator: Is the field symbol assigned?
      IS INITIAL             Relational operator: Initial value
      IS REQUESTED          Relational operator: Existence of a formal
    parameter     
    JOIN     Join (SELECT)
    LANGUAGE     Set language for text elements (SET)
    LE     Relational operator: Less than or equal
    LEAVE     Leave processing
    LEFT-JUSTIFIED     Output format: Left-justified (WRITE)
    LIKE                     Use an existing field as areference
      TYPES ... LIKE     Create a type
      DATA ... LIKE     Create a field
    LINE                      Line in a list
      MODIFY LINE     Modify line
      READ LINE             Read line
    LINE-COUNT     Number of lines per page (NEW-PAGE)
    LINE-SIZE     Line size (NEW-PAGE)
    LIST-PROCESSING          List processing (LEAVE)
    LOAD     Load program componentsin internal table
    LOAD-OF-PROGRAM          Execution at load time
    LOCAL     Rescue actual parameters of a subroutine
    LOCAL COPY     Assign local copy to a field symbol
    LOCALE     Set text environment (SET)
       SET LOCALE     Set text environment
       GET LOCALE     Determine text environment
    LOG     Mathematical function: Natural logarithm (COMPUTE)
    Logical condition     
      SELECT ... WHERE         when reading database tables
      UPDATE ... WHERE         when changing database tables
      DELETE ... WHERE         when deleting fromdatabase tables
      SELECT ... FROM ... ON        when reading usinga join
    LOG10     Mathematical function: Base 10 logarithm (COMPUTE)
    LOOP     Loop
    LT     Relational operator: Less than
    M     Relational operator: Byte contains zeros and ones
    MARGIN     List output: Distance from edge (SET)
    MATCHCODE            Matchcode handling
    PARAMETERS ... MATCHCODE          for parameters
      SELECT-OPTIONS ... MATCHCODE      for selection options
    MAX     Aggregate expression: Maximum (SELECT)
    MEMORY                    ABAP/4 memory
      EXPORT ... TO MEMORY      Roll out data to memory
      IMPORT ... FROM MEMORY     Restore data from memory
    MESSAGE     Output message
    MESSAGE-ID     Specify message class (REPORT)
    METHOD     Definition of a method
    METHODS     Class component method
    MIN     Aggregate expression: Minimum (SELECT)
    MOD     Arithmetic operator: Remainder after division
         (COMPUTE)
    MODIFY     Modify tables or objects
    MODULE     Flow logic: Module
    MOVE     Assignment
    MOVE-CORRESPONDING       Component-by-component assignment
    MULTIPLY     Multiply
    MULTIPLY-CORRESPONDING     Field string multiplication
    NA     Relational operator forcharacter comparison:
         Contains not any characters
    NE     Relational operator: Not equal
    NEW-LINE     List processing: New line
    NEW-PAGE     List processing: New page
    NODES     Interface work area forlogical databases
    NO-GAP     Output format: Leave nogaps (WRITE)
    NO-HEADING     Display no column headers (NEW-PAGE)
    NO-SCROLLING     Do not scroll line (NEW-LINE)
    NO-SIGN     Output format: No preceding signs (WRITE)
    NO-TITLE     Do not display standardpage header (NEW-PAGE)
    NO-ZERO     Output format: No leading zeros (WRITE)
    NON-UNIQUE               Defines an
      TYPES     internal table type
      DATA                   internal table object
    NP     Relational operator forcharacter comparison:
         Does not contain pattern
    NS     Relational operator forcharacter comparison:
         Does not contain character
    O     Relational operator: Byte positions occupied by1
    OBJECT                External object
      CREATE OBJECT     Generate
      FREE OBJECT       Release
    OCCURS       Defines an
      TYPES     internal table type
      DATA                   internal table object
    ON CHANGE     Control break
    OPEN     Open file/cursor
    OR     Relational operator: OR
    ORDER BY     Sort table rows (SELECT)
    OVERLAY     Overlay character fields
    PACK     Conversion
    PARAMETER                Parameter in global SAP memory
      GET     Read parameter
      SET     Set parameter
    PARAMETERS     Define report parameters
    PERFORM     Execute subroutine
    PF-STATUS     Set GUI status
    POSITION     List processing: Defineoutput position
    PRINT     Print formatting (NEW-PAGE)
    PRINT-CONTROL     Define print format
    PRIVATE     Class area not visible from outside
    PROGRAM     Introduction for type Mand S programs
      LEAVE PROGRAM     Leave program
    PROPERTY                 Object property
      GET PROPERTY     Get property
      SET PROPERTY     Set property
    PROVIDE     Internal tables: Interval-related processing
    PUT     Trigger event
    RADIOBUTTON     Radio button (PARAMETERS)
    RAISE     Raise exceptions and events
    RAISING     Raise error message in function module
    RANGES     Define internal table for selection criterion
    READ     Read tables or objects
    RECEIVE     Receive results (RFC)
    REFRESH     Delete internal table
    REFRESH CONTROL     Initialize control
    REJECT     Do not process current database line further
    REPLACE     Replace characters
    REPORT     Introduction for type 1programs
      DELETE REPORT         Delete program
      EDITOR-CALL FOR REPORT        Call ABAP program editor
      INSERT REPORT        Insert program in library
      READ REPORT        Read program
    RESERVE     List processing: Conditional new page
    RESET     Output format: Reset all formats (FORMAT)
    RIGHT-JUSTIFIED     Output format: Right justified (WRITE)
    ROLLBACK     Roll back database changes
    ROUND     Output format: Scaled (WRITE)
    RTTI     Runtime type identification
    RUN TIME ANALYZER     Activate/Deactivate runtime analysis (SET)
    SCAN     Analyze ABAP/4 source code
    SCREEN            Screen
      CALL SCREEN     Call screen
      SET SCREEN     Set next screen
      LEAVE SCREEN     Leave screen
      LEAVE TO SCREEN     Branch to a screen
      LOOP AT SCREEN     Loop through screen fields
      MODIFY SCREEN     Modify screen fields
    SCROLL     List processing: Scroll
    SCROLL-BOUNDARY          List processing: Fix lead columns (SET)
    SEARCH     Find character
    SELECT     Read database table
    SELECT-OPTIONS           Define selection criterion
    SELECTION-SCREEN     Design selection screen
      AT SELECTION-SCREENEvent:     After editing ofselection screen
    SHARED BUFFER           Cross-transaction application buffer
      DELETE FROM SHARED BUFFER         delete from application buffer
      EXPORT ... TO SHARED BUFFER       Store data in application buffer
      IMPORT ... FROM SHARED BUFFER     Read data from application buffer
    SELECTION-TABLE     Selection table (SUBMIT)
    SET     Set different processing parameters
    SHIFT     Move character
    SIGN     Mathematical function: Sign (COMPUTE)
    SIN     Mathematical function: Sine (COMPUTE)
    SINGLE     Select single record (SELECT)
    SINH     Mathematical function: Hyperbola  sine (COMPUTE)
    SKIP     List processing: Outputblank line
    SORT     Sort internal table or extract dataset
    SORTED TABLE     Table type for internaltables that are always kept
    SPLIT     Split character fields
    SQRT     Mathematical function: Square  root (COMPUTE)
    STANDARD TABLE     Table type for standardinternal tables
    START-OF-SELECTION     Event: Before first access to LDB
    STATICS     Define static data
    STOP     Stop data selection (LDB)
    STRING     Data type for variable-length character sequence
    STRLEN     Character function: Current length (COMPUTE)
    STRUCTURE         Data structure
      INCLUDE STRUCTURE     Use structure
    SUBMIT     Program call
    SUBTRACT     Subtract
    SUBTRACT-CORRESPONDING     Field string subtraction
    SUM     Calculate control total
      SELECT ... SUM     Aggregate expression: Total
    SUPPLY     Supply context key fields
    SUPPRESS DIALOG     Suppress dialog
    SYMBOL     Output as symbol (WRITE)
    SYNTAX-CHECK     Syntax check for programs and screens
    SYNTAX-TRACE     Syntax check log
    SYSTEM-CALL     Call to various system services
    SYSTEM-EXCEPTIONS        Catch runtime errors (CATCH)
    TABLE LINE               Unstructured lines in internal tables
    TABLE_LINE               Unstructured lines in internal tables
    TABLES     Declare database table
    TABLE                    Set or array operations for database tables
      DELETE ... FROM TABLE     Delete block of lines
      INSERT ... FROM TABLE     Insert block of lines
      MODIFY ... FROM TABLE     Insert/update block of lines
      UPDATE ... FROM TABLE     Update block of lines
      SELECT ... INTO TABLE     Copy block of lines to internal table
    TAN     Mathematical function: Tangent (COMPUTE)
    TANH     Mathematical function: Hyperbola tangent (COMPUTE)
    TEXT      Locale-specific
      CONVERT TEXT     Set format
      SORT itab AS TEXT     Sort an internal table
      SORT AS TEXT     Sort an extract dataset
    TEXTPOOL                 Text elements
      DELETE TEXTPOOL     Delete
      INSERT TEXTPOOL     Insert
      READ TEXTPOOL     Read
    TIME                     Time measurement
      GET RUN TIME     Get runtime
      GET TIME     Get time
      SET RUN TIME ANALYZER     Switch runtime analysison/off
    TIME STAMP               Time stamp
      GET TIME STAMP     Get time stamp
      CONVERT TIME STAMP     Convert time stamps to date/time
      WRITE f TIME ZONE     Output of time stamps to lists
    TITLEBAR     Set screen title (SET)
    TOP-OF-PAGE     Event: Top of page handling in lists
    TRANSACTION              SAP transaction
      CALL TRANSACTION     Call
      LEAVE TO TRANSACTION     Leave to
    TRANSFER     Output to file
    TRANSLATE     Character conversion incharacter fields
    TRANSPORTING       Selective field transport
      MODIFY ... TRANSPORTING     Modify lines of an internal table
      READ   ... TRANSPORTING     Read lines of an internal table
      LOOP   ... TRANSPORTING     Loop through an internal table
    TRUNC     Mathematical function: Whole  number part (COMPUTE)
    TYPE                     Define a type
      TYPES ... TYPE     Define a type
      DATA ... TYPE     Define a field
    TYPE-POOL     Introduction for type Tprograms
    TYPE-POOLS     Include type group
    TYPES     Define types
    ULINE     List processing: Underscore
    UNDER     Output format: One under the other (WRITE)
    UNIQUE           Define an
      TYPES     internal table type
    DATA                   internal table object
    UNIT     Output format: Unit (WRITE)
    UNPACK     Conversion
    UPDATE     Update database table
    USER-COMMAND     List processing: Execute command immediately (SET)
    USING                    Use parameter or format
      USING                  Parameter of a subroutine
      USING EDIT MASK     Output format: Use template (WRITE)
    VALUE-REQUEST            Self-programmed value help(F4)
      PARAMETERS ... VALUE-REQUEST          for parameters
      SELECT-OPTIONS ... VALUE-REQUEST      for selection options
    WHEN     Case distinction
      SELECT ... WHERE      when reading from databasetables
      UPDATE ... WHERE       when changing database tables
      DELETE ... WHERE      when deleting database tables
      LOOP AT ... WHERE     when looping at internal tables
      DELETE ... WHERE       when deleting from internal tables
    WHILE     Loop
    WINDOW     List processing: Outputin window
    WITH-TITLE     Output standard page header (NEW-PAGE)
    WORK                     Processing unit
      COMMIT WORK     Close unit
      ROLLBACK WORK     Close unit, but undo changes
    WRITE     List processing: Output
    WRITE TO     Correct type output in a variable
    X     Data type for fixed-length byte sequence
    XSTRING     Data type for variable-length byte sequence
    Z     Relational bit operator: Bit positions occupiedby
    Regards
    Sasidhar Reddy Matli.

  • Under line in ABAP report

    Hi friends,
    How to underline a word in ABAP reporting like MS-Word?
    Name : <u>Thayalan            </u>
    Age  : <u>      30</u>
    Thanks & Regards,
    Thayalan

    There is no way to underline a word similar to MS word.
    You can have a similar ( but not as good ) functionality by writing a SY-ULINE ( just below the word ) in next line.
    You didnot specify whether you want a line on list screen or dialog screen.
    Cheers

  • Microsoft word

    Hi everyone,
    I've been asking to create a document word using ABAP programming.
    I am using the interface I_OI_DOCUMENT_PROXY.
    The question is how can I insert a "new page" in the document word ?
    Thanks a lot.
    Regards.

    Hi
    Herewith i am sending one report,i hope this will help you to solve your probelm.
      1 ----
      2 *   INCLUDE ZIOIEXCEL                                                  *
      3 ----
      4 * Instantiates the control framework using i_oi_document factory.
      5 * Excapsulates SAP Office Integration specific functionality.  Uses the
      6 * i_oi_document_proxy class to create the document link then
      7 * uses the i_oi_table collection for transporting SAP internal tables
      8 * from the server to the client for display in the active document
      9 * server.
    10
    11 INCLUDE <CTLDEF>.                "General Definitions For Controls (CET)
    12 * Platform- and application-indep. Office integration
    13 INCLUDE OFFICEINTEGRATIONINCLUDE.
    14
    15 CLASS COIEXCEL DEFINITION.  "Excel DOI wrapper class
    16   PUBLIC SECTION.
    17
    18 * Create the control framework and returns a document proxy interface
    19   METHODS: CONSTRUCTOR,
    20 * Clean up routine
    21            DESTROY.
    22 * Catch the on_close event to process cleanup
    23   METHODS: ON_CLOSE_DOCUMENT
    24              FOR EVENT ON_CLOSE_DOCUMENT OF I_OI_DOCUMENT_PROXY.
    25   METHODS: CREATEDOCUMENT   "Not used
    26              IMPORTING S_DOCTITLE TYPE C
    27              EXPORTING RETCODE TYPE T_OI_RET_STRING.
    28   METHODS: OPENDOCUMENT
    29              IMPORTING FILEURL TYPE C
    30              EXPORTING RETCODE TYPE T_OI_RET_STRING.
    31   METHODS: TRANSFERTABLE
    32               IMPORTING S_TABLENAME TYPE C
    33               EXPORTING RETCODE TYPE T_OI_RET_STRING
    34               CHANGING I_TAB TYPE TABLE.
    35   METHODS: LAUNCHSE16 IMPORTING C_TBLNAME TYPE C
    36                                 C_FILEPATH TYPE C
    37                       CHANGING  TBL_TAB TYPE TABLE.
    38   PRIVATE SECTION.
    39   DATA:
    40     H_FACTORY TYPE REF TO I_OI_DOCUMENT_FACTORY,
    41     H_TABLES TYPE REF TO I_OI_TABLE_COLLECTION,
    42     H_DOCUMENT TYPE REF TO I_OI_DOCUMENT_PROXY,
    43     S_RETCODE TYPE T_OI_RET_STRING,
    44     S_FILEURL(256) TYPE C,
    45     S_DOCURL(256) TYPE C.
    46
    47 ENDCLASS.
    48
    49 CLASS COIEXCEL IMPLEMENTATION.
    50   METHOD CONSTRUCTOR.
    51 *----
    52 *  For external execution we simply use the factory class.  (vs 4.5)
    53 *
    54 *----
    55 DATA: DOCUMENT_EXCEL TYPE SOI_DOCUMENT_TYPE
    56                  VALUE SOI_DOCTYPE_EXCEL97_SHEET.
    57
    58     CALL FUNCTION 'CONTROL_INIT'   "Initialize the control framework
    59          EXCEPTIONS
    60               CONTROL_INIT_ERROR = 1
    61               OTHERS             = 2.
    62 * Starting point - get a reference to the control framework
    63     call method c_oi_factory_creator=>get_document_factory
    64          exporting factory_type = 'OLE'
    65          IMPORTING FACTORY = H_FACTORY
    66                    RETCODE = S_RETCODE.
    67     call method c_oi_errors=>show_message exporting type = 'E'.
    68 * DOI Container object creation
    69     CALL METHOD H_FACTORY->START_FACTORY
    70          EXPORTING R3_APPLICATION_NAME = 'SAP-Excel DOI'
    71                    REGISTER_ON_CLOSE_EVENT = 'X'
    72          IMPORTING RETCODE = S_RETCODE.
    73 * Get a reference to the document proxy
    74     CALL METHOD H_FACTORY->GET_DOCUMENT_PROXY
    75       EXPORTING DOCUMENT_TYPE = DOCUMENT_EXCEL
    76       IMPORTING DOCUMENT_PROXY = H_DOCUMENT
    77             RETCODE = S_RETCODE.
    78     CALL METHOD C_OI_ERRORS=>SHOW_MESSAGE
    79                             EXPORTING TYPE = 'E'.
    80 * Register the on_close event
    81    SET HANDLER ME->ON_CLOSE_DOCUMENT FOR H_DOCUMENT.
    82
    83   ENDMETHOD.                           " Constructor.. COIExcel
    84
    85 * Cleanup
    86   METHOD DESTROY.
    87
    88     IF NOT H_TABLES IS INITIAL.
    89       CALL METHOD H_TABLES->REMOVE_ALL_TABLES
    90                     IMPORTING RETCODE = S_RETCODE.
    91       FREE H_TABLES.
    92     ENDIF.
    93
    94     IF NOT H_FACTORY IS INITIAL.
    95       CALL METHOD H_FACTORY->STOP_FACTORY.
    96       FREE H_FACTORY.
    97     ENDIF.
    98
    99     FREE H_DOCUMENT.
    100     CALL FUNCTION 'CONTROL_EXIT'.
    101
    102   ENDMETHOD.                           " Destructor.... COIExcel
    103
    104   METHOD ON_CLOSE_DOCUMENT.
    105 *        for event on_close_document of i_oi_document_proxy.
    106     IF NOT H_DOCUMENT IS INITIAL.
    107       CALL METHOD H_DOCUMENT->CLOSE_DOCUMENT
    108         IMPORTING RETCODE = S_RETCODE.
    109       CALL METHOD C_OI_ERRORS=>SHOW_MESSAGE
    110                                     EXPORTING TYPE = 'E'.
    111     ENDIF.
    112
    113 * Cleanup the DOI allocations and the control framework.
    114     CALL METHOD ME->DESTROY.
    115 *   message id 'mo' type 'S' number '001' with 'Enter selection table.'.
    116   ENDMETHOD.
    117
    118   METHOD CREATEDOCUMENT.
    119 *        importing s_doctitle type c
    120 *        exporting s_retcode type t_oi_ret_string.
    121
    122     IF NOT H_DOCUMENT IS INITIAL.
    123       CALL METHOD H_DOCUMENT->CREATE_DOCUMENT
    124         EXPORTING OPEN_INPLACE = ' '
    125                 DOCUMENT_TITLE = S_DOCTITLE
    126         IMPORTING RETCODE = S_RETCODE.
    127       CALL METHOD C_OI_ERRORS=>SHOW_MESSAGE EXPORTING TYPE = 'E'.
    128     ENDIF.
    129
    130   ENDMETHOD.
    131
    132 * Parameters are set to open the document specified by fileurl,
    133 *  opened externally, and run the startup macro that resides
    134 *  inside the Excel document.
    135   METHOD OPENDOCUMENT.
    136 *   importing fileurl type c
    137 *   exporting s_retcode type t_oi_ret_string.
    138
    139     CALL METHOD H_DOCUMENT->OPEN_DOCUMENT
    140            EXPORTING
    141                     DOCUMENT_URL = FILEURL
    142                     OPEN_INPLACE = ' '
    143                     STARTUP_MACRO    = 'Module1.LoadR3Data'
    144           IMPORTING RETCODE = S_RETCODE.
    145
    146     CALL METHOD C_OI_ERRORS=>SHOW_MESSAGE EXPORTING TYPE ='E'.
    147
    148   ENDMETHOD.
    149
    150   METHOD TRANSFERTABLE.
    151 *    importing s_tblname type c
    152 *    exporting retcode type t_oi_ret_string
    153 *    changing i_tab type table
    154
    155     IF H_TABLES IS INITIAL.
    156       CALL METHOD H_FACTORY->GET_TABLE_COLLECTION
    157                     IMPORTING TABLE_COLLECTION = H_TABLES
    158                               RETCODE = S_RETCODE.
    159       CALL METHOD C_OI_ERRORS=>SHOW_MESSAGE EXPORTING TYPE = 'E'.
    160     ENDIF.
    161
    162 *transfer data to presentation server
    163     CALL METHOD H_TABLES->ADD_TABLE
    164          EXPORTING TABLE_NAME   = 'ITAB'
    165                    TABLE_TYPE   = H_TABLES->TABLE_TYPE_OUTPUT
    166                    DDIC_NAME    = S_TABLENAME
    167                    DESCRIPTION  = 'Block Data'
    168          IMPORTING
    169                    RETCODE      = S_RETCODE
    170          CHANGING  DATA_TABLE   = I_TAB.
    171     RETCODE = S_RETCODE.
    172   ENDMETHOD.
    173
    174 * Specific method for use in the ZBTableListGeneration program.
    175 * Simplifies the dynamic program creation
    176   METHOD LAUNCHSE16.
    177 *      importing c_tblname type c
    178 *                c_filepath type c
    179 *      changing  tbl_tab type table
    180
    181     CALL METHOD ME->TRANSFERTABLE
    182                   EXPORTING S_TABLENAME = C_TBLNAME
    183                   IMPORTING RETCODE = S_RETCODE
    184                   CHANGING I_TAB = TBL_TAB.
    185
    186     CALL METHOD ME->OPENDOCUMENT
    187                  EXPORTING FILEURL = C_FILEPATH.
    188   ENDMETHOD.
    189
    190 ENDCLASS.                              "COIEXCEL Implemetation
    Thanks
    Mrutyunjaya Tripathy

  • SAP graphics to word document transfer

    Hi.....
    here is the problem whose answer i m seeking for.....
    suppose i execute the  graphics program NETZOCX2 and i have the o/p...the graphics is there ...
    now i want to transfer that Graphics o/p intoa word document...is that possible by any chance....
    Kind Regards,

    Prasenjit,
    Check the reply of Kris in this thread
    Re: Insert image in Word through ABAP
    K.Kiran.

  • Using SCAN ABAP-SOURCE keyword

    Hi,
    My requirement is to get a report program name from the user, drill down the report to see how many Includes and subroutines are there in the report and in which level.
    I was able to drill down the report for finding the Includes with their level using this key word SCAN ABAP-SOURCE.
    Can someone provide me with a code to find the number of subroutines along with the subroutine name and which level they are present.
    Thanks in advance.
    Harini

    Hi,
    I have already drilled down the report to find out thenumber of includes and their levels.
    By using CALL FUNCTION 'GET_GLOBAL_SYMBOLS'
    it accepts to search only for a character in the program.
    I require it to search for the keyword 'PERFORM' and also find in which level it is defined.
    Please let me know how to achieve this.

Maybe you are looking for