System fields

Hi all,
can u please
what is the difference between sy-index and sy-tabix
thanks
swapna rani

Hi Swapna,
SY-INDEX
SY-INDEX contains the number of loop passes in DO and WHILE loops, including the current loop pass.
Internal Tables
SY-TABIX
Current line in an internal table. With the following statements SY-TABIX is set for index tables. With hashed tables, SY-TABIX is not filled or it is set to 0.
·        APPEND sets SY-TABIX to the index of the last table row, that is the total number of entries in the target table.
·        COLLECT sets SY-TABIX to the index of the existing or appended table row. With hashed tables, SY-TABIX is set to 0.
·        LOOP AT sets SY-TABIX to the index of the current table row at the beginning of every loop pass. After leaving a loop, SY-TABIX is set to the value it had before entering the loop. With hashed tables, SY-TABIX is set to 0.
·        READ TABLE sets SY-TABIX to the index of the table row read. If no row is found with binary search while reading, SY-TABIX contains the index of the next-highest row or the total number of rows +1. If no row is found with linear search while reading, SY-TABIX is undefined.
·        SEARCH  FOR sets SY-TABIX to the index of the table row, in which the search string was found.
Plzz Reward if it is useful,
Mahi.

Similar Messages

  • List of system fields like sy-index, sy-srow......

    can any one give me list of system fields with there use. i would b very thankful.

    hi Amjad,
    Please find below the request fields, from table SYST.
    INDEX     Loops, number of current pass
    PAGNO     List creation, current page
    TABIX     Internal table, current line index
    TFILL     Internal tables, current number of lines
    TOCCU     Internal tables, initial main memory requirements
    DBCNT     DB operations, number of table lines processed
    FDPOS     Character strings, offset in character string
    COLNO     List creation, current column of list
    LINCT     List processing, page length of list
    LINNO     List creation, current line
    LINSZ     List creation, width of list
    MACOL     Print list, columns from SET MARGIN statement
    MAROW     List printing, lines from SET MARGIN statement
    TLENG     Internal tables, line width
    LILLI     List processing, current list line
    SUBRC     Return value, return value after ABAP statements
    CUCOL     Screens, horizontal cursor position at PAI
    CUROW     Screens, vertical cursor position at PAI
    LSIND     List processing, details list index
    LISTI     List processing, index of current list
    STEPL     Screens, current table line index
    SROWS     Screens, numbers of lines
    SCOLS     Screens, number of columns
    LOOPC     Screens, number of lines visible in table
    TZONE     Date and time, time difference from Greenwich Mean Time
    DAYST     Date and time, Daylight savings time flag
    FDAYW     Date and time, factory calendar weekday
    LANGU     R/3 System, current language
    MODNO     R/3 System, external modes index
    BATCH     Program running in background
    BINPT     Batch input, program running under batch input
    CALLD     ABAP program, ABAP program call mode
    DYNNR     ABAP program, number of current screen
    DYNGR     ABAP program, screen group of current screen
    WTITL     List creation, flag for standard page header
    CPAGE     List processing, current page number
    DBNAM     ABAP program, related logical database
    MANDT     R/3 System, client number from logon
    PEXPI     Print parameters, spool retention period
    PRIMM     Print parameters, print immediately
    PRREL     Print parameters, delete after printing
    PRBIG     Print parameters, selection cover page
    PRNEW     Print parameters, new spool request
    PDEST     Print parameters, output device
    PLIST     Print parameters, name of spool request
    PRDSN     Print parameters, name of spool dataset
    CALLR     Print list, ID for print dialog function
    RTITL     Print parameters, title of print program
    PRREC     Print parameters, recipient
    PRTXT     Print parameters, text for cover page
    PRABT     Print parameters, department on cover page
    PAART     Print parameters, print formatting
    PRCOP     Print parameters, number of copies
    DBSYS     R/3 System, name of central database system
    SYSID     R/3 System, name of R/3 System
    OPSYS     R/3 System, operating system of application server
    PFKEY     Screens, current GUI status
    SAPRL     R/3 System, system release
    TCODE     ABAP program, current transaction code
    UCOMM     Screens, function code triggered by PAI
    SPONO     Print list, spool number
    DATUM     Date and time, current (application server) date
    SLSET     Selection screens, name of variant
    UZEIT     Dat and time, current application server time
    REPID     ABAP program, current main program
    UNAME     R/3 System, user logon name
    LSTAT     List processing, list level IDs
    ABCDE     Constant: Alphabet (A,B,C,...)
    MSGLI     Messages, message line
    TITLE     Screens, title text
    LISEL     List processing, contents of selected line
    ULINE     Constants, horizontal line with length 255
    CPROG     ABAP program, caller in external procedures
    LDBPG     ABAP program, logical database program
    TVAR0     List creation, text variable for headers
    TVAR1     List creation, text variable for headers
    TVAR2     List creation, text variable for headers
    TVAR3     List creation, text variable for headers
    TVAR4     List creation, text variable for headers
    TVAR5     List creation, text variable for headers
    TVAR6     List creation, text variable for headers
    TVAR7     List creation, text variable for headers
    TVAR8     List creation, text variable for headers
    TVAR9     List creation, text variable for headers
    MSGID     Messages, message class
    MSGTY     Messages, message type
    MSGNO     Messages, message number
    MSGV1     Messages, message variables
    MSGV2     Messages, message variables
    MSGV3     Messages, message variables
    MSGV4     Messages, message variables
    VLINE     Constants, vertical bar
    STACO     List processing, initial column displayed
    STARO     List processing, first line displayed at top
    DATAR     Screens, display user entry
    HOST     R/3 System, Name of application server
    DATLO     Date and time, local date of user
    TIMLO     Date and time, local time for user
    ZONLO     Date and time, time zone of user
    Hope this helps,
    Sajan Joseph.

  • View with selection conditions with system fields.

    Hi Experts,
    I have a view. Now i want to control the data that is selected using 'Selection Conditions'.
    here i want to use system field SY-DATUM.
    My requirement is  i want to control the output like
    Valid_From_Date GE SY-DATUM and
    Valid_To_Date     LE  SY-DATUM
    which means that i would be showing only active users in this view.
    How can i go about this? System is not allowing system fields in comparision value.
    Any help on this is highly appreciated. Thanks.
    regards,
    Simha

    Hi,
    I am getting a warning first 'enter constant as comparision value'
    when i trying to activate the view i am getting the below error.
    A join condition on a field of the system table SY (or SYST) was defined.
    This is not permitted for database views because the system table is not known to the database
    Have tried to activate the view you created?
    How to go about this?
    Regards,
    Simha

  • Date / Time System fields - inconsistent

    This is a weird one...please bear with me
    Before I begin...note that this is not a problem that is difficult to fix, I'm just interested in better understanding why the system fields are behaving the way they are.
    We have 20 or so programs that use a function module to create a file header that includes a date/time stamp.  The programs also place a trailer with a date/time stamp that should match the one in the header.  However, the programmer used different system fields (after a GET TIME statement) to create the date/time stamp in the trailer.  On occasion, the date/time stamp comes out different. 
    Here's the code (sry about all caps):
      GET TIME.
      CONCATENATE SY-DATUM SY-UZEIT INTO BATCHID.
      CALL FUNCTION 'Z_YADAYADA'
           EXPORTING
                FILE_ID              = P_FILEID
                REFRESH_TYPE         = P_REFTYP
                START_PERIOD         = START_PER
                END_PERIOD           = END_PER
           IMPORTING
                STRING255            = OUTPUTSTRING
           EXCEPTIONS
                INVALID_REFRESH_TYPE = 1
                INVALID_BATCH_ID     = 2.
      ...sy-subrc check...
      TRANSFER OUTPUTSTRING TO P_FILE1.  <--header output
      CONCATENATE L_TRL BATCHID COUNT T_TOTAL SPACE
                  INTO OUTPUTSTRING SEPARATED BY L_DEL.
      CONDENSE OUTPUTSTRING NO-GAPS.
      TRANSFER OUTPUTSTRING TO P_FILE1.  <--trailer output
    inside function module *****
      CONCATENATE: SY-DATLO SY-TIMLO INTO DATESTAMP,
                   SY-SYSID SY-MANDT INTO MACHINE_NAME.
      CONDENSE: DATESTAMP, MACHINE_NAME NO-GAPS.
      CONCATENATE C_HDR DATESTAMP FILE_ID MACHINE_NAME
                  SY-CPROG ' ' REFRESH_TYPE START_PERIOD
                  END_PERIOD DATESTAMP
                  INTO STRING255 SEPARATED BY '~'.
      CONDENSE: STRING255 NO-GAPS.
    You can see that the function uses SY-DATLO and SY-TIMLO for creation of the header, while SY-DATUM and SY-UZEIT are used for the trailer.  What's wierd is that sometimes the trailer has a date/time stamp that is 1 second <b>greater</b> than the header, despite the fact that it is stored in the BATCHID variable <b>before</b> the header is created.
    Any help, references, explanations greatly appreciated (and rewarded with points)
    BMV

    Hi Brian
    Here is the related part from the weblog of ABAP expert Horst Keller. Hope it may help. For the full document, you can visit <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.wcm.compound.docs/library/uuid/f1391fc3-0301-0010-d384-fccd036f1c67">here</a>.
    The values of all system fields in this table are implicitly set when the program is started, every time a screen layout of a screen is sent, and when the internal mode is set. The GET TIME command explicitly updates the system fields, except for sy-dayst, sy-fdayw and sy-tzone.
    With the exception of sy-datlo and sy-timlo, all system fields refer to the local date and time of the current SAP system. The ABAP runtime environment clock is synchronized with the database server clock at regular intervals in order to calculate the local time of the SAP system. During the synchronization process, the ABAP runtime environment clock is set to the database server clock. Because this happens on all application servers in an SAP system, the ABAP runtime environment clock is synchronous with the clocks on all other application servers and with the database system clock, and thus shows the local time of the entire SAP system. The time zone on which the local time of an SAP system is based is the only entry in the database table TTZCU.
    The content of sy-zonlo is taken from the user master record of the current user. The values of sy-datlo and sy-timlo are calculated from sy-datum and sy-uzeit and from the time zone of the SAP system for the time zone in sy-zonlo. If the user master record does not contain a time zone, or if it contains an invalid or an inactive time zone, sy-datlo and sy-timlo are set to the values of sy-datum and sy-uzeit. All valid time zones are defined in table TTZZ.
    Is't the naming of sy-datum and sy-uzeit really geeky?
    Time Stamps
    The above system fields for date and time are not sufficient for many requirements of determining unique points in time: They represent local times and the values are measured in seconds. For more exact date and time determination, you use time stamps.
    A time stamp represents date and time in the form YYYYMMDDHHMMSS. YYYY is the year, MM the month, DD the day, HH the hour, MM the minutes and SS the seconds. There is a short form and a long form. In the long form, the format specified above additionally contains 7 decimal places for fractions of seconds, which allows for an accuracy of up to 100 ns. The maximum time resolution depends on the operating system of the application server and may be less.
    A valid time stamp must contain values whose date and time specifications before the decimal separator correspond to valid values for the data types d and t. Time stamps in this form are always considered as UTC (Universal Time Coordinated, basis for calculating worldwide time specifications; the UTC reference time is based on Greenwich Mean Time, GMT, but is not a time zone; it has no daylight saving time or summer time) time stamps when processed with the corresponding statements. You use the statement GET TIME STAMP to create a time stamp that represents the current UTC reference time.
    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>

  • Help on System fields.

    Hi all,
    I have always confusion when to use which system fields(tabix, index, tfill).
    í created one program first i used sy-tabix instead of sy-index.Then it doesnt work.
    Please clarify me with examples.
    that code is.
    FORM delimiting.
      DO.
    * assigns the next field in the current header to <f>.
        ASSIGN COMPONENT sy-index OF STRUCTURE i_itab TO <f>.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        IF sy-index = 1.
          excel_string = <f>.
        ELSE.
          CONCATENATE excel_string <delim> <f> INTO excel_string.
        ENDIF.
      ENDDO.
    ENDFORM.                    " delimiting
    Thanks and regards
    Chandu.

    Hi,
    Sy-index specifies about the current loop pass which is same as ur example.
    Sy-tabix stores the current line index of the table.
    loop at it_mara.
      < ur logic >
      modify table it_mara index sy_tabix.
    endloop.
    Sy-tfill tells abt the current number of lines in the internal table.
    describe table it_mara lines sy-tfill.
    if sy-tfill = 0.
      <ur code if table is initial>
    endif.
    Regards,
    Neelima.

  • Display system fields on web templates

    Is there any way to display system fields like SY-DATUM, SY-TZONE, etc. on a web template?
    I am talking about the fields NOT provided as general text elements (ROLLUPTIME, REPTXTLG, etc) in the text element web item.

    Sorry Nikhil, my java skills are not upto mark..
    but you can try the following
    <h4>It is now <script type="text/javascript">
    <!--
    var currentTime = new Date()
    var month = currentTime.getMonth() + 1
    var day = currentTime.getDate()
    var year = currentTime.getFullYear()
    document.write(month + "/" + day + "/" + year)
    //-->
    </script>
    </h4> ... I am sure some one over here will answer better..
    2) coming to accesing r3 tables.. i am afraid you may have to go for customer exits..
    regards,
    hari

  • Top of page system fields

    How to use Top of page system fields like sy-tvar0 to sy-tvar1
    thanks in advance
    Rishi

    Hello ,
    in the standard title you can have &0 ... &n. The program must put the values to fields SY-TVAR0 to SY-TVARN.
    see this sample:
    Pass the variables for the list heading
    MOVE SY-Title TO SY-TVAR0.
    MOVE SY-Datum TO SY-TVAR1.
    MOVE SY-Pagno TO SY-TVAR2.
    From output screen: System>List>List Header
    Click on first white line and enter the following title to the yellow box: Title: &0…………… Date: &1………. Page No: &2......
    Hope its what you mean.
    Vasanth

  • SY - System fields and return codes in ABAP

    Hi
    I'm new to ABAP, where do I find what the meaning of the system field return codes are ?
    example SY-SUBRC returns a number of codes 0, 2, 4, 8 etc what do they mean.
    Is there a resource somewhere that provides this information for all the system fields.
    I have searched high and low and have found little, they must be defined somwhere ?
    cheers Hugh

    Here is a listing of all of the system fields.
    http://help.sap.com/saphelp_scm50/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm
    As for what the return codes( 0, 4, 8) for SY-SUBRC mean,  that is a little tricky.  The meanings of the values are dependent on what statement was used previously. They would mean different things when used with different statements.  For example, if you check SY-SUBRC after a FIND statement, the return code value 4, would mean something different than if you had check the SY-SUBRC value after doing an OPEN DATASET.  So you need to look at the specific statements in help.sap.com and see what it says about the SY-SUBRC values for each statement.
    http://help.sap.com/saphelp_scm50/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    Regards,
    Rich Heilman

  • LIST OF SYSTEM FIELDS?

    CAN SOME ONE GIVE ME THE LIST OF SYSTEM FIELDS THAT WE CAN USE IN TEH PROGEAM.
    LIKE SY-DATUM...
    vj

    hi VJ,
    Please find below the request fields, from table SYST.
    INDEX     Loops, number of current pass
    PAGNO     List creation, current page
    TABIX     Internal table, current line index
    TFILL     Internal tables, current number of lines
    TOCCU     Internal tables, initial main memory requirements
    DBCNT     DB operations, number of table lines processed
    FDPOS     Character strings, offset in character string
    COLNO     List creation, current column of list
    LINCT     List processing, page length of list
    LINNO     List creation, current line
    LINSZ     List creation, width of list
    MACOL     Print list, columns from SET MARGIN statement
    MAROW     List printing, lines from SET MARGIN statement
    TLENG     Internal tables, line width
    LILLI     List processing, current list line
    SUBRC     Return value, return value after ABAP statements
    CUCOL     Screens, horizontal cursor position at PAI
    CUROW     Screens, vertical cursor position at PAI
    LSIND     List processing, details list index
    LISTI     List processing, index of current list
    STEPL     Screens, current table line index
    SROWS     Screens, numbers of lines
    SCOLS     Screens, number of columns
    LOOPC     Screens, number of lines visible in table
    TZONE     Date and time, time difference from Greenwich Mean Time
    DAYST     Date and time, Daylight savings time flag
    FDAYW     Date and time, factory calendar weekday
    LANGU     R/3 System, current language
    MODNO     R/3 System, external modes index
    BATCH     Program running in background
    BINPT     Batch input, program running under batch input
    CALLD     ABAP program, ABAP program call mode
    DYNNR     ABAP program, number of current screen
    DYNGR     ABAP program, screen group of current screen
    WTITL     List creation, flag for standard page header
    CPAGE     List processing, current page number
    DBNAM     ABAP program, related logical database
    MANDT     R/3 System, client number from logon
    PEXPI     Print parameters, spool retention period
    PRIMM     Print parameters, print immediately
    PRREL     Print parameters, delete after printing
    PRBIG     Print parameters, selection cover page
    PRNEW     Print parameters, new spool request
    PDEST     Print parameters, output device
    PLIST     Print parameters, name of spool request
    PRDSN     Print parameters, name of spool dataset
    CALLR     Print list, ID for print dialog function
    RTITL     Print parameters, title of print program
    PRREC     Print parameters, recipient
    PRTXT     Print parameters, text for cover page
    PRABT     Print parameters, department on cover page
    PAART     Print parameters, print formatting
    PRCOP     Print parameters, number of copies
    DBSYS     R/3 System, name of central database system
    SYSID     R/3 System, name of R/3 System
    OPSYS     R/3 System, operating system of application server
    PFKEY     Screens, current GUI status
    SAPRL     R/3 System, system release
    TCODE     ABAP program, current transaction code
    UCOMM     Screens, function code triggered by PAI
    SPONO     Print list, spool number
    DATUM     Date and time, current (application server) date
    SLSET     Selection screens, name of variant
    UZEIT     Dat and time, current application server time
    REPID     ABAP program, current main program
    UNAME     R/3 System, user logon name
    LSTAT     List processing, list level IDs
    ABCDE     Constant: Alphabet (A,B,C,...)
    MSGLI     Messages, message line
    TITLE     Screens, title text
    LISEL     List processing, contents of selected line
    ULINE     Constants, horizontal line with length 255
    CPROG     ABAP program, caller in external procedures
    LDBPG     ABAP program, logical database program
    TVAR0     List creation, text variable for headers
    TVAR1     List creation, text variable for headers
    TVAR2     List creation, text variable for headers
    TVAR3     List creation, text variable for headers
    TVAR4     List creation, text variable for headers
    TVAR5     List creation, text variable for headers
    TVAR6     List creation, text variable for headers
    TVAR7     List creation, text variable for headers
    TVAR8     List creation, text variable for headers
    TVAR9     List creation, text variable for headers
    MSGID     Messages, message class
    MSGTY     Messages, message type
    MSGNO     Messages, message number
    MSGV1     Messages, message variables
    MSGV2     Messages, message variables
    MSGV3     Messages, message variables
    MSGV4     Messages, message variables
    VLINE     Constants, vertical bar
    STACO     List processing, initial column displayed
    STARO     List processing, first line displayed at top
    DATAR     Screens, display user entry
    HOST     R/3 System, Name of application server
    DATLO     Date and time, local date of user
    TIMLO     Date and time, local time for user
    ZONLO     Date and time, time zone of user
    Hope this helps,
    Sajan Joseph.

  • Which system field returns the number of records returned after a select?

    Which system field returns the number of records returned after a select?
    a) sy-index
    b) sy-recno
    c) sy-lncnt
    d) sy-dbcnt
    e) sy-tabix

    Hi,
       SY-DBCNT
    Regards,
    Prashant

  • Empty System Fields after error creates a short dump

    Hello!
    Could someone please help me?
    After calling a function, I catch errors with sy-subrc NE 0.
    Handling this error the "normal" way throws a short dump (I marked the row bold), because all the system fields are empty!
    Could someone please give me a hint, how to handle this situation?
    Many thanx in advance!
    Perhaps some code:
    CALL FUNCTION 'Z_CONFIRM'
      EXPORTING
        is_bdnum      = is_bed-bdnum
      TABLES
        et_return     = lt_return
      EXCEPTIONS
        error_occured = 1
        lock_error    = 2
      OTHERS        = 3.
    IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    I get a short dump with this:
    Content of the system fields
    Name
    Wert
    SY-SUBRC
    1
    SY-INDEX
    1
    SY-TABIX
    1
    SY-DBCNT
    0
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    HTTP-Steuerung
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20080117
    SY-UZEIT
    080907
    SY-XPROG
    SY-XFORM

    Hi,
    You need to capture the message like this way
    IF sy-subrc eq 1.
       message e999(your mesage class) with 'Error Occured'.
    endif.
    IF sy-subrc eq 2.
       message e999(your mesage class) with 'Lock error'.
    endif.
    IF sy-subrc eq 3.
       message e999(your mesage class) with 'Other Errors'.
    endif.

  • Creation of random number through system fields

    Hi ,
    I like to create a random number generation program.(apart form system time) .
    I have noticed  that system response time differs (minimal variation in terms of milliseconds) every time
    when we execute a program .
    In that case could i know how to get the  system response time and interpretation time from system fields in program !
    Note : I like to know the table in which these values can be retrieved (like TRDIR for other system fields)

    use these function modules.
    QF05_RANDOM
    RANDOM_AMOUNT.

  • ADDING SOURCE SYSTEM FIELD IN MY QUERY

    HI ALL,
    i WANT TO DEVELOP A CUSTOM REPORT WITH SOURCE SYSTEM FIELD IN MY QUERY WHICH THE FIELD IS NOT COMING FROM THE CUBE . PLEASE COULD SOMEONE HELP ME IN THIS REGARD.
    MAX PTS GIVEN
    REGARDS,
    AXEL

    Hi Axel...
    if yo want ot jump from a query to some R/3 report, pgm, transaction...you can use the report-report interface (RRI)...but if you want to add a field on the same screen of your query, you can go for a virtual char/KF: it's enough to add it in your cube, let it empty and fill it runtime with some ABAP lines with an RFC link to the table field you need...
    pay attention to performance issues and to the consideration that this field will be empty if your RFC fails (foe unavailability of R/3 system, for example...)
    Otherwise try to use a virtual cube !
    Hope it helps!
    Bye,
    Roberto

  • Logical System field in BD10/BD14 need as a Mandatory Field

    Hi All,
    Good Day,
    We have Logical System field in BD10 or BD14 etc.. TCodes and I would like to make this field as a Mandatory field. The reason for this is, while sending the Materials using BD10, and If I haven't enter any value for this field, IDOCs are getting generated and sending to all the logical systems say Dev, Quality and Production too. I want to avoid this.
    So Is there anyway where we can make the filed "Logical System" as a mandatory field.
    Thanks in Advance.
    Param.

    HI Param,
    try  BAPI_IDOC_INPUT1and check it in WE57 tcode.
    hope this helps
    regards
    Aakash Banga

  • System field which stores the no.of lines in a main (table) window

    Hi,
       I would like to know which system field stores the value of height of the main window. based on that I would like to trigger an explicit page-break. Can anyone tell me that field name (table name). I have been looking into one solution which I couldnot find. this is the last option I have.
       I have posted couple of posts but still struggliing with the issue.
    based on the no.of lines remaining in the page I have to draw one line there and move to next page. (page break.) can anyone help me please
    thanks
    reddy

    Hi,
    In the main window if u create the table there r 3 options.
    header
    main
    footer.
    In footer option in outputoptions there r 2 option at print time.
    at page break.
    at end of table.
    U select both the options. Then u  r problem will be solved.
    Rewardpoints if useful.
    Regards
    (YUGANDHAR.P)

  • Update SQL statement in JDBC sender (system fields)

    All,
      Is it possible to update more than 1 field via the update sql statement ?
      Also, is it possible to use system fields ? 
      Something like this
      UPDATE database.table SET processed='Y', date = sy-datum
    Regards, Michel

    Hi
    use sysdate as suggested above
    Check your  generated SQL query format is correct
    At runtime you can find the genereated sql statements by doing configuraitons in Receiver JDBC adapter.
    In the JDBC Receiver adapter you have the Advanced Properties .
    Over there enter the following
    left column logSQLStatement
    right column true
    To see the query created ..
    Login to adapter monitoring ..select the relevant jdbc adapter.
    Now when any message is processed by the jdbc adapter in adapter monitoring at that time you will see a message link. When you click on that link a new window will open. In that window if you click on page down you will get to see the sql statement generated by the jdbc adapter.

Maybe you are looking for

  • Cannot delete file from error 109

    I tried to open a document and got an error 109.  the error message keeps flashing and even though I click CLOSE, it won't close.  This keeps me from closing or deleting the document or doing anything else on my MAC

  • UI Configuration Options - Soviet Style!!!

    Adobe Audition CS6. A few questions about the grid in edit view: 1) Why am I not allowed to disable it? 2) Why am I not allowed to change it's color? A question about color options for  waveform selection: 1) Why is it not possible to have the same c

  • P.o for scheduling agreement

    Dear SAPians Is it necessasry to create a Purchase Oredr for scheduling agreement or can it be directly send to a vendor

  • Update query error in php

    please help. I ran the query below in php4 + oacle9i <?php $quantity = 12345; $grace=20; $conn = ociLogon('username', 'pwd','host'); if (!$conn) { $e = ocierror(); print htmlentities($e['message']); exit; $query = "udpate product set status_dtm = (st

  • Regarding Universal Work Flow

    Hi all we are making use of universal work flow where when the publisher publishes the item is there any possibility to trigger any java code since we want to make use of that information in our WebDynpro java code. please help us in this regard from