Detecting if insert  or modify a footnote

Hi
I want to detect in my plugin if insert or modify a footnote on current document.
If user insert or modify a footnote, I will do something in my plugin.
How can I do?
thanks

You can use following code.
FUNCTION zcmbalance.
""Local Interface:
*" IMPORTING
*" REFERENCE(DATE) TYPE ZFINTBCM017-GLDATE
*" REFERENCE(COMPANY_CODE) TYPE ZFINTBCM017-GLCCODE
*" REFERENCE(GL_ACCOUNT) TYPE ZFINTBCM017-GLACCOUNT
*" REFERENCE(PROFIT_CENTER) TYPE ZFINTBCM017-GLPRFCENTER
*" REFERENCE(SUBSIDIARY_BALANCE) TYPE ZFINTBCM017-SUBBALANCE
TABLES:
ZBALANCEINT.
<b>DATA: ZBAL LIKE ZBALANCEINT.</b>
ZBAL-ZDATE = DATE
ZBAL-ZCODE = COMPANY_CODE
ZBAL-ZACCOUNT = GL_ACCOUNT
ZBAL-ZCENTER = PROFIT_CENTER.
SELECT SINGLE *
FROM ZBALANCEINT
WHERE ZDATE = DATE
AND ZCODE = COMPANY_CODE
AND ZACCOUNT = GL_ACCOUNT
AND ZCENTER = PROFIT_CENTER.
IF sy-subrc <> 0.
<b>ZBAL-ZBALANCE = SUBSIDIARY_BALANCE.</b>
<b>INSERT ZBALANCEINT FROM ZBAL.</b>
ELSE.
<b>ZBAL-ZBALANCE = SUBSIDIARY_BALANCE.</b>
<b>MODIFY ZBALANCEINT FROM ZBAL.</b>
ENDIF.
COMMIT WORK.
ENDFUNCTION.

Similar Messages

  • Detecting slow inserts

    We have an application that does hundreds of inserts per second to a specific table.
    Naturally we are worried about performance there.
    Is there a way to detect when insert into the table takes over X seconds? Ideally the time this occured, the insert command and how long it took will be written to another table, so we can later analyze the results.
    Note that we don't want to do extra inserts just for testing how long they will take, we want to monitor the performance of the real application inserts.
    Is it possible at all? Does Oracle "know" how long the insert took?

    One simple approach is to monitor wait events on relevant segments - your table and its indexes. So using Statspack you can identify (in a 15 minute period, for example) whether there are any buffer busy waits, row lock waits etc, and if so, how long they took. If you have the level right (7, I think) you can also see the cumulative cost of specific SQL including inserts (counts, plus elapsed time and cpu if TIMED_STATISTICS are switched on).
    Statspack generally reports the top 5 or 10; you can easily modify that if you like, but if this insert isn't in the top 10, you're probably not interested in tuning it....
    HTH
    Regards Nigel

  • Insert or modifying employee status in pa0000 using HR_MAINTAIN_MASTERDATA

    hi abapers
    i am using HR_MAINTAIN_MASTERDATA   to insert or modify employee status (pa0000-stat1).
    IN HR_MAINTAIN_MASTERDATA  there is return statement. and i am giving BAPIRETURN1.and pass data to proposed_values table.
    when i check return iIS iNITIAL or not.  return is coming  initial. what does it mean??
    actually i am new in HR module. plz help
    thanks
    Sachin

    If you paste the code where you call the Function Module it will help.  You don't pass anything to Return, this is where the system places the information after you call the Function Module.  If Return-Type is  ' ' or Return-Type = 'I', it should indicate that the function module did what you wanted.

  • Detection Method of Date Modified fails due to copied files date modified change

    I've been working through an issue for some time now and I think it's a bug with SCCM 2012 SP1. I've built literally 50 deployments in "Application Management" in SCCM 2012, but I've been chasing my tail on a few of them throwing the
    "succeeded but couldn't detect" error. The few that have given me problems are all copying text files and then detect the modified date to verify that the file is there. All worked when I initially built them in Windows 8 but are now failing
    randomly...even on a machine where they previously worked and I deleted the files to test the deployment again. 
    What I'm doing:
    My java deployment requires policies which we control with the Deployment.config, deployment.properties and java.policy files. A simple script creates the directories and copies the files. I then create a deployment type for this "ConfigFileCopy.cmd"
    and create a detection rule for each file that I am moving over. The detection rule looks for a "date modified" date between the beginning and end of the date for the day I modified the file. This allows me to modify the files to change our
    java policies and then redeploy them with the "new" modified date as the detection rule, which forces the update.
    The problem:
    When I first created my deployment, everything worked pretty well. The files copy out and the script runs successfully. There were some minor tweaks I need to make to my scripts, so I did and then updated the content for the deployment type. I believe this
    is where things go a little wonky. At this point, my deployment starts failing with the "0x87D00324" error.
    Looking through the logs, everything looks good. The reason configuration manager is failing on detecting the modified date for those files, as it turns out, is because the modified dates don't meet the criteria. So that part is properly failing the detection.
    The problem is that the modified dates are correct on the server but not the client. Looking in c:\windows\ccmcache, I can see multiple folders....presumably one for each version of the application that I updated. Looking at any of the newer content folders
    for this app, the modified dates are the date and time the file was copied out to the workstation, which is incorrect as the file hasn't been modified during that process.
    The odd part, is that this doesn't happen EVERY time on EVERY machine. My primary desktop is windows 8.1 and received the files correctly and installed without issue. My test win 8.1 laptop initially received them correctly, but then as I refined the scripts
    it began picking up the wrong modified dates and started failing.
    I found a similar issue to this existed in SCCM 2007 (http://support.microsoft.com/kb/2276865) so I suspect that this is truly just a bug that hasn't been addressed (or maybe is fixed in R2). Unfortunately
    we have business reasons we can't upgrade to R2 at this time so I'm hoping someone has experienced this and has some sort of work around that might get me by for now. If someone can confirm it is fixed in R2, that would help my case to upgrade as well.  
    I can work around the issue by changing my logic to detect any date greater than a specific date. But I shouldn't have to do that and I'm concerned there are scenarios I haven't thought of that will cause unexpected behavior or failures with that.
     

    This outlines the behavior. It's apparently by design. 
    "SCCM has a habit of changing the ‘Date Modified’ timestamp of all files it delivers when it detects an ‘upgrade’ of the source files for that application. It typically does not touch the timestamp
    of the source files if it delivers a brand new install to a client that has never received the software, however if a single file in the source folder is changed for that application, then SCCM tries to use a previous version of the application in the cache
    (C:\windows\ccmcache) and only downloads the new file that has change. This results in all files having their ‘Data Modified’ timestamp changing (except for the brand new file). Therefore determining if that application has delivered
    successfully using ‘Date Modified’ timestamps is not recommended. The key to seeing this process in action is looking at the file properties in the
    C:\windows\ccmcache\<sccm code> folder for that application, particularly before and after a file is updated in the original source SCCM application folder."
    http://blog.kloud.com.au/tag/sccm/

  • INSERT or MoDIFY statement

    hi,
    I have to insert a data for my ztable,for 1st time it is updating the data,but for the second time (since all the key fields are same as 1st record),it is going to modify the data in my table.(since i have used modify statement),But i want both the records.
    any idea?

    hi
    MODIFY - Will update the table, if the data already exists, if NOT inserts new rows.
    UPDATE - Will update the table, errors out if the data is not found.
    In case of MODIFY the sy-subrc is always 0 so you would't know whether the data is actually updated or not.
    INSERT - Inserting Data in Database Tables
    Update Modify Insert stmts we use when we want to do some change / Insertion
    (1) to database table from internal table or
    (2) from work area to internal table.
    ( AA ) Update
    If the intended record in the internal table is found in databse table means it will just update that record.
    syntax to update database table from itab:::::
    UPDATE dbtab FROM TABLE itab
    Changes to lines made with the UPDATE command only becomefinal after a database commit
    Without using internal table we can update database table directly as shown below:::::::::::::::::::::
    TABLES SFLIGHT.
    UPDATE SFLIGHT SET SEATSOCC = SEATSOCC + 3
    WHERE CARRID = 'LH' AND
    CONNID = '0400' AND
    FLDATE = '19950228'.
    ( BB ) Modify is used to insert new record if the record doesnt exist in datbase table.system check this on primary key basis.
    If the intended record in the internal table is found in databse table means it will just update that record.So here its equal to UPDATE stmt.
    For changes to database table we use syntax as below ::::
    MODIFY DatabaseTable FROM TABLE itab.
    For changes to Internal table we use syntax as below ::::
    MODIFY itab FROM wa INDEX idx.
    http://TRANSPORTING f1 ... fn WHERE cond.
    ( CC ) Insert stmt is used to insert New records into databse table from internal table or to internal table from work area.
    By default, data is only inserted in the current client. However, ifyou use the CLIENT SPECIFIED addition, you can switch off theautomatic client handling.
    You cannot insert a table line if the table alreadycontains a record with the same primary key.
    Syntax::::::::::
    INSERT INTO dbtab CLIENT SPECIFIED VALUES wa.
    or
    INSERT (dbtabname) CLIENT SPECIFIED FROM TABLE itab.
    Example
    Adding customer "Robinson" to client 002:
    TABLES SCUSTOM.
    SCUSTOM-MANDT = '002'.
    SCUSTOM-ID = '12400177'.
    SCUSTOM-NAME = 'Robinson'.
    SCUSTOM-POSTCODE = '69542'.
    SCUSTOM-CITY = 'Heidelberg'.
    SCUSTOM-CUSTTYPE = 'P'.
    SCUSTOM-DISCOUNT = '003'.
    SCUSTOM-TELEPHONE = '01234/56789'.
    INSERT INTO SCUSTOM CLIENT SPECIFIED VALUES SCUSTOM.
    Re: difference update and insert
    The specified item was not found.
    /message/4622903#4622903 [original link is broken]
    regards,
    Vipul

  • Using NI-VISA to detect USB insertion/​removal

    Is there a way to use NI-VISA to detect when a USB device has been inserted or removed?
    I am currently using Windows API in my LabWindows application to capture the WM_DEVICECHANGE event.  When this event is called, I check to see if the USB devices are still connected to my PC  by using viFindRsrc function.  On Windows XP 32-bit, this approached worked successfully.  On my Windows 7 64-bit system this is no longer working.  After I remove the USB device, the viFindRsrc function is still indicating that the device is connected even though it isn't. 
    Also, when a USB device is controlled by a NI-VISA driver, I cannot capture the Windows DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE events.  I am able to see these events for other USB devices that are not controlled by a NI-VISA driver.
    Solved!
    Go to Solution.

    I solved the issue.
    The behavior of the NI-VISA driver requires that you register to receive Windows notifications. The other USB devices that weren't controlled by a NI-VISA driver didn't require me to register to receive the DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE events.  I received them by default...
    Here is the code to register USB events
    Here is the code where I register the USB events:
    DEV_BROADCAST_DEVICEINTERFACE NotificationFilter;
    intptr_t postHandle = 0;
    /* Windows HWND */
    HWND hWnd = 0;
    long long unsigned int hWndVal = 0;
    /* Get HWND of LabWindows\CVI panel */
    GetPanelAttribute(panelHandle,ATTR_SYSTEM_WINDOW_H​ANDLE,&hWndVal);
    hWnd = (HWND)hWndVal;
    * USB Raw Device
    * Device Interface Class GUID = {a5dcbf10-6530-11d2-901f-00c04fb951ed}
    GUID_CLASS_USB_DEVICE.Data1 = 0xA5DCBF10L;
    GUID_CLASS_USB_DEVICE.Data2 = 0x6530;
    GUID_CLASS_USB_DEVICE.Data3 = 0x11D2;
    GUID_CLASS_USB_DEVICE.Data4[0] = 0x90;
    GUID_CLASS_USB_DEVICE.Data4[1] = 0x1F;
    GUID_CLASS_USB_DEVICE.Data4[2] = 0x00;
    GUID_CLASS_USB_DEVICE.Data4[3] = 0xC0;
    GUID_CLASS_USB_DEVICE.Data4[4] = 0x4F;
    GUID_CLASS_USB_DEVICE.Data4[5] = 0xB9;
    GUID_CLASS_USB_DEVICE.Data4[6] = 0x51;
    GUID_CLASS_USB_DEVICE.Data4[7] = 0xED;
    NotificationFilter.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
    NotificationFilter.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
    NotificationFilter.dbcc_classguid = GUID_CLASS_USB_DEVICE;
    * Installs a callback function for WM_DEVICECHANGE Windows message posted
    * or sent to a LabWindows/CVI panel.
    InstallWinMsgCallback (panelHandle, WM_DEVICECHANGE,
    WindowsDeviceDetection, VAL_MODE_INTERCEPT, NULL, &postHandle);
    * Register device notification for USB Raw Device interface class GUID
    RegisterDeviceNotification(hWnd, &NotificationFilter,
    DEVICE_NOTIFY_WINDOW_HANDLE);
    Here is the code that responds:
    static int CVICALLBACK WindowsDeviceDetection (int panelHandle, int message,
    unsigned int* wParam, unsigned int* lParam, void* callbackData)
    PDEV_BROADCAST_HDR lpdb = (PDEV_BROADCAST_HDR)lParam;
    switch (message)
    /* Received Windows WM_DEVICECHANGE message */
    case WM_DEVICECHANGE:
    switch (*wParam)
    * Received Windows device-change event "DBT_DEVNODES_CHANGED".
    * Device has been added or removed from the system.
    case DBT_DEVNODES_CHANGED:
    printf("[%s] DBT_DEVNODES_CHANGED\n",TimeStr());
    break;
    * Received Windows device-change event "DBT_DEVICEARRIVAL".
    case DBT_DEVICEARRIVAL:
    printf("[%s] DBT_DEVICEARRIVAL\n",TimeStr());
    break;
    * Received Windows device-change event "DBT_DEVICEREMOVECOMPLETE".
    case DBT_DEVICEREMOVECOMPLETE:
    printf("[%s] DBT_DEVICEREMOVECOMPLETE\n",TimeStr());
    break;
    default:
    break;
    return 0;

  • Database Updation and Insertion using Modify Statement

    Hi All,
    I am using Modify statment for data insertion and updation
    MODIFY zmpit_ven_bgg_rg FROM TABLE t_ven_bgg .
    But I am getting error
    The type of the database table and work area (or internal table) "T_VEN_BGG" are not compatible.
    I have defined my internal table of below type :
    TYPES : BEGIN OF ty_ven_bgg,
            mandt             TYPE mandt,
            lifnr                 TYPE lfa1-lifnr,
            bgg                 TYPE zmpit_ven_bgg_rg-matkl,
            ind                  TYPE zmpit_ven_bgg_rg-active_ind,
            created_by      TYPE zmpit_ven_bgg_rg-created_by,
            created_on      TYPE zmpit_ven_bgg_rg-created_on,
            last_changed_by TYPE zmpit_ven_bgg_rg-last_changed_by,
            last_changed_on TYPE zmpit_ven_bgg_rg-last_changed_on,
            remarks              TYPE zmpit_ven_bgg_rg-remarks,
            ind1(1)                TYPE c,
                 END OF ty_ven_bgg.
    Here, ind1 is not field  of the table.
    I have added a new field Remarks in the table and thus i included it in the Internal table also.
    Above Modify statement was working fine without Remarks field. I am not able to understand the error
    as work area is also of type ty_ven_bgg.
    Please suggest some solution.
    Regards,
    Nibha

    Hi,
    Though you have creaated one more internal tsble without the indc field, but you can do it using the same intrenal table by simply using
    1. MOVE-CORRESPONDING <internal table> to <ztable>.
    2.MODIFY <ztable>.
    will solve your problem
    Secondly declare the internal table using DATA after structure has been declared using TYPES.
    This is better approach to follow.
    Pooja

  • I need insert /update/modify  ztable from  internal table or work area

    I have one simple problem.
    TYPES: BEGIN OF t_account,
            acc_no          LIKE zztaccountheader-acc_no,
            cust_id         LIKE zztaccountheader-cust_id,
            acc_type        LIKE zztaccountheader-acc_type,
            od_option       LIKE zztaccountheader-od_option,
            od_limit        LIKE zztaccountheader-od_limit,
            od_issue_date   LIKE zztaccountheader-od_issue_date,
            END OF t_account.
    data: lwa_account TYPE  t_account,
         li_account TYPE STANDARD TABLE OF t_account,
    bu scerrin i am inputing data :
    i want modify updare or insert record into ztable by work area  i put following thing
    MOVE : zztaccountheader-acc_no        TO lwa_account-acc_no,
               zztcustomer-cust_id            TO lwa_account-cust_id,
               zztaccountheader-acc_type      TO lwa_account-acc_type,
               zztaccountheader-od_option     TO lwa_account-od_option,
               zztaccountheader-od_limit      TO lwa_account-od_limit,
               zztaccountheader-od_issue_date TO lwa_account-od_issue_date.
        INSERT   zztaccountheader CLIENT SPECIFIED FROM lwa_account .
        CLEAR lwa_account.
      ENDIF.
    i am etting error
    The type of the database table and work area (or internal table)
    "LWA_ACCOUNT" are not Unicode convertible.
    please solve it

    hi,
    decalre like this.
    tables : zztaccountheader.
    data : t_account like zztaccountheader occurs 0 with header line.
    data: lwa_account TYPE t_account,
    li_account TYPE STANDARD TABLE OF t_account,
    MOVE : zztaccountheader-acc_no TO lwa_account-acc_no,
    zztcustomer-cust_id TO lwa_account-cust_id,
    zztaccountheader-acc_type TO lwa_account-acc_type,
    zztaccountheader-od_option TO lwa_account-od_option,
    zztaccountheader-od_limit TO lwa_account-od_limit,
    zztaccountheader-od_issue_date TO lwa_account-od_issue_date.
    INSERT zztaccountheader CLIENT SPECIFIED FROM lwa_account .
    CLEAR lwa_account.
    ENDIF.
    rgss
    anver
    if hlped mark points

  • How to correctly set detection rules for date modified

    How are application detection rules for modified or created date calculated.  For example if I want the detection rule to use a file that was modified today or any day after today do I set it as Greater than or equal to or less then or equal to in
    the Detection rule?

    You would use Greater than Or Equal To. Greater than or equal to means that time or anything after. The latter would be that time or before
    Dustin Estes - MCP | www.dustinestes.com

  • Computer doesn't detect newly inserted RAM

    Hello,
    I own a dual core 2.0 GHz G5. I just purchased more RAM 1GB x2. I have inserted them into the memor slots and my computer is not detecting them. What gives? I could use some help trouble shooting the situation. Thanks in advance for any assistance.

    Sometimes they take some effort. And sometimes you just need to boot into Open Firmware on startup holding down the four keys
    command + option + o + f
    then reset nvram using three commands:
    reset-nvram
    set-defaults
    reset-all
    ... Mac will now reboot and tried to find system startup disk. you may want to use the OPTION key at that point and you will need to reset the Startup Disk.
    Give that a try. (And they are in the correct paired slots.)

  • Insert or Modify statement from internal table to database table

    Hi All,
    I have three tables wakh, wrf and wakp. I have an internal table with 5 columns col1, col2, col3, col4 and col5.
    The value in Col1 is my article no and the articleno. is in the table wakh. The value in col2 is my ccode and it is in the table wrf. The rest three columns col3, col4 and col5 are unit, qty and price and they are in the wakp table. Now when my articleno is equal to ccode I need to update the col3, col4 and col5 values  in the wakp. wakp has around 20 columns.
    Can anyone of you guys please give me the code for this issue. Your help is highly appreciated and thanks for all for your time.
    Cheers,
    Cheng

    Hi Rob,
    let me explain you the whole process what i am trying to do. I have a screen where there are 3 fields. In my first field I have a promoiton no. As soon as the user enters the promotion no. its description will be populated in my second field. If the promotion is not maintained then it will throw an error. In my third field User will upload an excel sheet which has 5 columns articleno, colorcode, salesunit, qty, mdprice. Here articleno is coming from wakh and colorcode is in wrf_charval table and the rest three fields are coming from wakp table. So for the article no. which is in col1. and for its corresponding colorcode which is in col3 i need to update col3, col4, col5 values.
    With my below code I am able to upload the excel into internal table and display it. So instead of displaying I need to update in the database. Can you please let me know how I need to attach the function module within my code and update accordingly.
    REPORT  ZTest.
    tables : wakh, wakt.
    Parameter: PromoID type wakh-aktnr, PromoDec type wakt-aktkt, p_file LIKE rlgrap-filename
                   DEFAULT 'c:\test.xls' OBLIGATORY.   " File Name
    *FileName type string.
    *file_nm type localfile.
    TYPES:   BEGIN OF t_datatab,
             col1(25)  TYPE c,
             col2(30)  TYPE c,
             col3(30)  TYPE c,
             col4(30)  TYPE c,
             col5(30)  TYPE c,
             END OF t_datatab.
    DATA: it_datatab TYPE STANDARD TABLE OF t_datatab INITIAL SIZE 0,
          wa_datatab TYPE t_datatab.
    Data : p_table type t_datatab occurs 0 with header line.
    DATA : gd_scol   TYPE i VALUE '1',
           gd_srow   TYPE i VALUE '2',
           gd_ecol   TYPE i VALUE '5',
           gd_erow   TYPE i VALUE '65536'.
    DATA: it_tab TYPE filetable,
          gd_subrc TYPE i.
    field-symbols : <fs>.
    AT selection-screen on PromoID.
    select single * from wakh where aktnr = PromoID.
      if sy-subrc EQ 0.
    select aktkt from wakt into PromoDec where aktnr eq PromoID.
    endselect.
    else.
    message A000(ZI) with 'Promotion ID is not Maintained.'.
    endif.
    *Title : Excel Uploading
    *Selection screen definition
    *SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    *PARAMETERS:  p_file LIKE rlgrap-filename
                  DEFAULT 'c:\test.xls' OBLIGATORY.   " File Name
    *SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      REFRESH: it_tab.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title     = 'Select File'
          default_filename = '*.xls'
          multiselection   = ' '
        CHANGING
          file_table       = it_tab
          rc               = gd_subrc.
      LOOP AT it_tab INTO p_file.
       so_fpath-sign = 'I'.
       so_fpath-option = 'EQ'.
       append so_fpath.
      ENDLOOP.
    START-OF-SELECTION.
      PERFORM upload_excel_file TABLES   it_datatab
                                 USING   p_file
                                         gd_scol
                                         gd_srow
                                         gd_ecol
                                         gd_erow.
    END-OF-SELECTION.
    END-OF-SELECTION.
      LOOP AT it_datatab INTO wa_datatab.
        WRITE:/ wa_datatab-col1,
                wa_datatab-col2,
                wa_datatab-col3,
                wa_datatab-col4,
                wa_datatab-col5.
      ENDLOOP.
    *&      Form  UPLOAD_EXCEL_FILE
          upload excel spreadsheet into internal table
         -->P_TABLE    Table to return excel data into
         -->P_FILE     file name and path
         -->P_SCOL     start column
         -->P_SROW     start row
         -->P_ECOL     end column
         -->P_EROW     end row
    FORM upload_excel_file TABLES   p_table
                           USING    p_file
                                    p_scol
                                    p_srow
                                    p_ecol
                                    p_erow.
      DATA : lt_intern TYPE  kcde_cells OCCURS 0 WITH HEADER LINE.
    Has the following format:
                Row number   | Colum Number   |   Value
         i.e.     1                 1             Name1
                  2                 1             Joe
      DATA : ld_index TYPE i.
    Note: Alternative function module - 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
        EXPORTING
          filename                = p_file
          i_begin_col             = p_scol
          i_begin_row             = p_srow
          i_end_col               = p_ecol
          i_end_row               = p_erow
        TABLES
          intern                  = LT_INTERN
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        FORMAT COLOR COL_BACKGROUND INTENSIFIED.
        WRITE:/ 'Error Uploading file'.
        EXIT.
      ENDIF.
      IF lt_intern[] IS INITIAL.
        FORMAT COLOR COL_BACKGROUND INTENSIFIED.
        WRITE:/ 'No Data Uploaded'.
        EXIT.
      ELSE.
        SORT lt_intern BY row col.
        LOOP AT lt_intern.
         MOVE lt_intern-col TO ld_index.
         assign component ld_index of structure
         p_table to <fs>.
    move : lt_intern-value to <fs>.
        MOVE lt_intern-value TO p_table.
          AT END OF row.
            APPEND p_table.
            CLEAR p_table.
          ENDAT.
        ENDLOOP.
      ENDIF.
      ENDFORM.
    Thanks for your valuable time.
    Cheng

  • Ess wda: updating Iban for insert/copy/modify in bank detail screen for germany

    Hi,
    We are using standard detail screen HRESS_CC_PER_DTL_BANK_DE for Germany, We have observed that even if the user changes/updates/creates the new record without filling Iban field system will not throw any error which is correct as per V_T588MFPROPC as we have not made it mandatory. but we have an option to populate Iban using specific button in PA30, can we have the same functionality in ESS? Can we implement HRPAD00INFTYDB for this purpose? Is there any other option for this functionality?
    Thank you,
    Krishna kishore T.

    I can solve this issue implementing the BAdI HRPAD00INFTYDB
    Summary of configuration options in ESS Personal Information scenario
    Regards

  • Detecting inserts with OdiWaitForData

    Hi,
    I want to detect the inserts done from a source table using ODI’s environment, and then export those changes to a xml file. How can I do that? I suppose that for the first step I have to use OdiWaitForData, but how is it used?
    Thanks in advance.
    Hibai.
    Edited by: user5422265 on Jun 22, 2009 9:01 AM

    Hi Cezar,
    First of all, thanks for your reply.
    I knew CDC concept. In fact, my intention was to simulate its functions inside ODI, because I didn’t know that ODI offered such capturing management.
    However, I have problems after having read the article and trying to perform a similar scenario. When I start the journal (after set all that seems to be necessary), it fails in (at least) one of the steps. The first that it fails is “Prepare Oracle statements”. What I can see in step’s description tab is the following:
    BEGIN
         DBMS_CAPTURE_ADM.PREPARE_TABLE_INSTANTIATION(TABLE_NAME => 'HIBAI.PRUEBA');
    END;
    And what it shows in execution tab:
    439 : 67000 : java.sql.SQLException: ORA-00439: función no activada: Streams Capture
    ORA-06512: en "SYS.DBMS_CAPTURE_ADM_INTERNAL", línea 275
    ORA-06512: en "SYS.DBMS_CAPTURE_ADM", línea 314
    ORA-06512: en línea 1
    java.sql.SQLException: ORA-00439: función no activada: Streams Capture
    ORA-06512: en "SYS.DBMS_CAPTURE_ADM_INTERNAL", línea 275
    ORA-06512: en "SYS.DBMS_CAPTURE_ADM", línea 314
    ORA-06512: en línea 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:595)
    I’m working with Oracle Express Edition, and with a dba account (so it can´t be a privelege issue). Any advice?
    Thanks again.
    Hibai.

  • Detect Entire row change status

    Hi All,
    I have a use case in which I have editable table(Table has 4 columns) where user can change some rows. I want to detect all the rows modified by the user and want to save the old rows from data base in another table before committing new values(modified values).
    I have seen some samples where we can detect a particular attribute has changed or not but I don't know how to implement entire row change. Please help me regarding this issue.
    I am using ADF Rich Components , ADF BC , JDev 11.1.1.5 and Oracle data base
    Thanks,
    Rajesh.

    Frank Nimphius-Oracle look to be the wrong thread you answered
    You can overwrite the prepareForDML() method of the EO in question as this gets called foe every row you changed. There you have access to the old values by eo.getPostedAttribute(index) and can insert the row into another table.
    Timo
    Message was edited by: TimoHahn
    @Frank ah, you already fixed it :)

  • Short Dump while INSERTING to a DB Z table

    There is one report that we are running in production. Earlier it was taking about 2hrs to run and now it's taking about 14-15 hours to run after we applied the Support Pack. I must agree that the report is not well written by the previous developers and I have been asked to rewrite it but in the meanwhile, they want to continue running the old one.
    This report deletes all the existing records first and then updates a Z table. Last week when they tried to run the report as batch job it got cancelled after running 22000 secounds and my basis team told me that logs are getting saturated and we need to use Truncate Statement instead of DELETE from table statement and that is what I did but again when they tried running the report in production it got cancelled again and this time after 55000 secs and this time it's getting cancelled in the last step when we are inserting the records back to the table from the internal table.
    So can you please tell me how can I take care of this.
    My Findings:
    1. Report updates a Z table for 700K records which is really not a very big size.
    2. Z table size category is customized for upto 48K to 93K . Does this matter when I try to update 700K records at a time.
    3. There is no foreign key relations in the Z table
    4. I feel that, it could be a basis problem like, memory related. Any light on this?
    5. The program currently uses INSERT statement.Can I try for a success using MODIFY statement. All validations are handled before inserting to remove the duplicates.So I dont see any issues using INSERT statement
    6. Can we use a commit statement after INSERT or MODIFY?
    7. From SAP help, I see that there is a limitation on the number of records can be inserted or modified. Any idea on the number?
    Thanks & Best Regards,
    Kiran Babu Dasari

    Dump:
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          01/01/2009 10:17:22
    Short text
    SQL error in the database when accessing a table.
    What can you do?
    Note which actions and input led to the error.
    For further help in handling the problem, contact your SAP administrator
    You can use the ABAP dump analysis transaction ST22 to view and manage
    termination messages, in particular for long term reference.
    How to correct the error
    Database error text........: "SQL0964C The transaction log for the database is
    full. SQLSTATE=57011 row=1"
    Internal call code.........: "[RSQL/INSR/ZTMM_PU_FOR_BW ]"
    Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "ZPMM_BWLOAD_R_V2" or "ZPMM_BWLOAD_INC02"
    "FILL_ZTMM_PU_FOR_BW"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "FILL_ZTMM_PU_FOR_BW" "(FORM)", or its possible occurrence must be declared in
    the
    RAISING clause of the procedure.
    To prevent the exception, note the following:
    System environment
    SAP-Release 700
    Application server... "ucerp13"
    Network address...... "192.168.254.23"
    Operating system..... "AIX"
    Release.............. "5.3"
    Hardware type........ "00C4B5BE4C00"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 34
    Shortdump setting.... "full"
    Database server... "ucerp10"
    Database type..... "DB6"
    Database name..... "RP1"
    Database user ID.. "SAPRP1"
    Terminal................. " "
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Oct 26 2008 20:51:39"
    create on........ "AIX 2 5 005DD9CD4C00"
    Database version. "DB6_81 "
    Patch level. 183
    Patch text.. " "
    Database............. "DB6 08.02., DB6 09."
    SAP database version. 700
    Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5, AIX 1 6"
    Memory consumption
    Roll.... 16192
    EM...... 234631488
    Heap.... 0
    Page.... 24576
    MM Used. 28706288
    MM Free. 197532304
    User and Transaction
    Client.............. 400
    User................ "BATCHUC"
    Language key........ "E"
    Transaction......... " "
    Transactions ID..... "49597E9619C40076E1008000C0A8FE17"
    Program............. "ZPMM_BWLOAD_R_V2"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where terminated
    Termination occurred in the ABAP program "ZPMM_BWLOAD_R_V2" - in
    "FILL_ZTMM_PU_FOR_BW".
    The main program was "ZPMM_BWLOAD_R_V2 ".
    In the source code you have the termination point in line 2886
    of the (Include) program "ZPMM_BWLOAD_INC02".
    The program "ZPMM_BWLOAD_R_V2" was started as a background job.
    Job Name....... "ZPMM_BWLOAD_R_V2"
    Job Initiator.. "BATCHSCHED"
    Job Number..... 10261500
    The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
    procedure "FILL_ZTMM_PU_FOR_BW" "(FORM)", but it was neither handled locally
    nor declared
    in the RAISING clause of its signature.
    The procedure is in program "ZPMM_BWLOAD_R_V2 "; its source code begins in line
    2751 of the (Include program "ZPMM_BWLOAD_INC02 ".
    Source Code Extract
    Line
    SourceCde
    2856
    itab_result-rec_no   = recnum.
    2857
    ENDIF.
    2858
    2859
    11/30/05 - Change it back after sorting
    2860
    IF linetype = 'AAA'.
    2861
    itab_result-linetype = 'INI'.
    2862
    ENDIF.
    2863
    itab_result-extractdate = e_sdate.
    2864
    itab_result-mandant     = sy-mandt.
    2865
    MODIFY itab_result INDEX indx.
    2866
    2867
    SELECT SINGLE
    2868
    rec_no
    2869
    ponumber
    2870
    FROM ztmm_pu_for_bw
    2871
    INTO CORRESPONDING FIELDS OF itab_duprec
    2872
    WHERE rec_no     = recnum
    2873
    AND ponumber   = pono
    2874
    AND   linetype = linetype
    2875
    AND   line_no  = lineno
    2876
    AND   changenr = chgno
    2877
    AND   chgind_h = indh
    2878
    AND   chgind_p = indp
    2879
    AND   tblname  = tbl
    2880
    AND   fldname  = fld.
    2881
    IF sy-subrc <> 0.
    2882
    MOVE-CORRESPONDING itab_result TO itab_result_bw.
    2883
    APPEND itab_result_bw.
    2884
    nrecs_results = nrecs_results + 1.
    2885
    >>>>>
    INSERT ztmm_pu_for_bw FROM TABLE itab_result_bw.
    2887
          INSERT zztmm_pu_for_bw FROM TABLE itab_result_bw.
    2888
    2889
    CLEAR itab_result_bw.
    2890
    REFRESH itab_result_bw.
    2891
    ENDIF.
    2892
    ENDLOOP.
    2893
    *change to array insert for performance
    2894
          INSERT ZZTMM_PU_FOR_BW FROM TABLE itab_result_bw.
    2895
    2896
    ENDFORM.                    " fill_ztmm_pu_for_bw
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    4
    SY-INDEX
    0
    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
    Load Purchasing Info. for BW Reporting
    SY-MSGTY
    E
    SY-MSGID
    TD
    SY-MSGNO
    600
    SY-MSGV1
    T710-08L04
    SY-MSGV2
    K01
    SY-MSGV3
    EN
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20081231
    SY-UZEIT
    190013
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    2 FORM         ZPMM_BWLOAD_R_V2                    ZPMM_BWLOAD_INC02                    2886
    FILL_ZTMM_PU_FOR_BW
    1 EVENT        ZPMM_BWLOAD_R_V2                    ZPMM_BWLOAD_R_V2                      192
    START-OF-SELECTION
    Chosen variables
    Name
    Val.
    No.       2 Ty.          FORM
    Name  FILL_ZTMM_PU_FOR_BW
    SY
    #######ৡ###################A###P#################ż#############################T#######린 u#̀##
    00000000000000000000000000000000000000010000000000000000000000000000000000000000000000FB000000
    000000090000000000000000000000000000000A0000000001000000000000000000000000000000000000F9000300
    0000000E0000000000000000000400050000000B0000000007000000000000000000000000000105000000FB270000
    0000010100000000000000000101010000000000000000040C000000000000000000000000000604000000F005000C
    ITAB_RESULT_BW-WAERS
    USD
    00000
    00000
    55422
    53400
    ITAB_RESULT-WAERS
    USD
    00000
    00000
    55422
    53400
    ITAB_RESULT_BW+5358(10)
    #U#C# #
    0205040202
    0005030000
    ITAB_RESULT+4160(10)
    #U#C# #
    0205040202
    0005030000
    AMTCRCHGPOSREGUA2
    00000000000
    0000000000C
    ITAB_RESULT_BW+5378(572)
    #S#h#i#p#p#i#n#g# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    0205060607070606060202020202020202020202020202020202020202020202020202020202020202020202020202
    000308090000090E070000000000000000000000000000000000000000000000000000000000000000000000000000
    ITAB_RESULT+4170(572)
    #S#h#i#p#p#i#n#g# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    0205060607070606060202020202020202020202020202020202020202020202020202020202020202020202020202
    000308090000090E070000000000000000000000000000000000000000000000000000000000000000000000000000
    C_INITIAL
    @0E@
    000000
    000000
    434422
    005000
    ITAB_RESULT_BW-ORT01
    Cincinnati
    00000000000000000000000000000000000
    00000000000000000000000000000000000
    46666666762222222222222222222222222
    39E39EE1490000000000000000000000000
    ITAB_RESULT-ORT01
    Cincinnati
    00000000000000000000000000000000000
    00000000000000000000000000000000000
    46666666762222222222222222222222222
    39E39EE1490000000000000000000000000
    ITAB_RESULT_BW-PSTLZ
    45206
    0000000000
    0000000000
    3333322222
    4520600000
    ITAB_RESULT-PSTLZ
    45206
    0000000000
    0000000000
    3333322222
    4520600000
    ITAB_RESULT_BW-REGIO
    OH
    000
    000
    442
    F80
    ITAB_RESULT-REGIO
    OH
    000
    000
    442
    F80
    ITAB_RESULT_BW-STRAS
    2709 Woodburn Ave.
    00000000000000000000000000000000000
    00000000000000000000000000000000000
    33332566667762476222222222222222222
    270907FF4252E0165E00000000000000000
    ITAB_RESULT-STRAS
    2709 Woodburn Ave.
    00000000000000000000000000000000000
    00000000000000000000000000000000000
    33332566667762476222222222222222222
    270907FF4252E0165E00000000000000000
    %_SPACE
    0
    0
    2
    0
    ITAB_RESULT_BW+6154(4)
    0202
    0000
    ITAB_RESULT+4908(4)
    0202
    0000
    LW_LINES
    164
    000A
    0004
    ITAB_RESULT_BW-TELF1
    961-1122
    0000000000000000
    0000000000000000
    3332333322222222
    961D112200000000
    ITAB_RESULT-TELF1
    961-1122
    0000000000000000
    0000000000000000
    3332333322222222
    961D112200000000
    ITAB_RESULT_BW-LAND1
    US
    000
    000
    552
    530
    ITAB_RESULT-LAND1
    US
    000
    000
    552
    530
    COUNTROCHGNEGCONOVER1K2
    0
    0000
    0000
    ITAB_RESULT_BW+6158(337)
    #0#3#6#0#-#0#0# # # # # # # # # # # # # #M#R#O# #&# #C#o#n#s#t#r#u#c#t#i#o#n#A#t#h#l#e#t#i#c
    0203030303020303020202020202020202020202020405040202020406060707070706070606060407060606070606
    00000306000D0000000000000000000000000000000D020F000600030F0E030402050304090F0E0104080C05040903
    ITAB_RESULT+4950(337)
    #0#3#6#0#-#0#0# # # # # # # # # # # # # #M#R#O# #&# #C#o#n#s#t#r#u#c#t#i#o#n#A#t#h#l#e#t#i#c
    0203030303020303020202020202020202020202020405040202020406060707070706070606060407060606070606
    00000306000D0000000000000000000000000000000D020F000600030F0E030402050304090F0E0104080C05040903
    ITAB_CHGLOG[]
    Table IT_33[587x1576]
    \PROGRAM=ZPMM_BWLOAD_R_V2\DATA=ITAB_CHGLOG[]
    Table reference: 25
    TABH+  0(20) = 070000009070DB38000000000000000000000000
    TABH+ 20(20) = 00000019000000210000024B00000628FFFFFFFF
    TABH+ 40(16) = 040000000000149000082C9401800000
    store        = 0x070000009070DB38
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 25    (0x00000019)
    label        = 33    (0x00000021)
    fill         = 587   (0x0000024B)
    leng         = 1576  (0x00000628)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000095
    occu         = 8     (0x00000008)
    access       = 1     (ItAccessStandard)
    idxKind      = 1     (ItIndexLinear)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x07000000A0E13E70
    pgHook       = 0x07000000B2EBC728
    idxPtr       = 0x07000000906BA5E0
    shmTabhSet   = 0x0000000000000000
    id           = 32    (0x00000020)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 1024  (0x00000400)
    lineAlloc    = 592   (0x00000250)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 469   (0x000001D5)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ITAB_RESULT_BW+3592(1026)
    0202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ITAB_RESULT+5798(1026)
    0202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ITAB_RESULT_BW-MANDANT
    400
    000
    000
    333
    400
    ITAB_RESULT-MANDANT
    400
    000
    000
    333
    400
    AMTTCCHGPOSREGST2
    00000000000
    0000000000C
    ITAB_RESULT_BW[]
    Table IT_132[1x6760]
    \PROGRAM=ZPMM_BWLOAD_R_V2\DATA=ITAB_RESULT_BW[]
    Table reference: 51
    TABH+  0(20) = 07000000A9A1FEA8000000000000000000000000
    TABH+ 20(20) = 00000033000000840000000100001A68FFFFFFFF
    TABH+ 40(16) = 0400000000003140000224C401800000
    store        = 0x07000000A9A1FEA8
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 51    (0x00000033)
    label        = 132   (0x00000084)
    fill         = 1     (0x00000001)
    leng         = 6760  (0x00001A68)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000248
    occu         = 2     (0x00000002)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 8     (cmpManyEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x07000000A283E980
    pgHook       = 0x0000000000000000
    idxPtr       = 0x0000000000000000
    shmTabhSet   = 0x0000000000000000
    id           = 141   (0x0000008D)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 2     (0x00000002)
    lineAlloc    = 2     (0x00000002)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 1     (0x00000001)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ITAB_RESULT_BW
    400##͒4500034945
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    3330053333333333222222222222222222222222222222222222222222222222222222222222222222222222222222
    4000024500034945000000000000000000000000000000000000000000000000000000000000000000000000000000
    %_DUMMY$$
    0000
    0000
    2222
    0000
    COUNTTCCHGNEGCONST3
    0
    0000
    0000
    <%_TABLE_ZTMM_PU_FOR_BW>
    AMTTOTAL3
    00000000000
    0000000000C
    No.       1 Ty.          EVENT
    Name  START-OF-SELECTION
    T023T
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    T024
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    T161
    00000                                   00000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222223333322222222222222222222222222222222222333332222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    TWLAD
    000000000000000000000000
    000000000000000000000000
    222222222222222222222222
    000000000000000000000000
    ZTMM_BOA
    0000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222223333333333333333222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ZTMM_PU_FOR_BW
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2220002222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ZTPU_DOCTYPE
    0000000000000000000000000000000000
    0000000000000000000000000000000000
    2222222222222222222222222222222222
    0000000000000000000000000000000000
    USR02
    ####0000000000000000             #                        000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222220000333333333333333322222222222220222222222222222222222222333333333333333333333
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SSCRFIELDS
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    C_BLUESQUAREX
    @3X@
    000000
    000000
    435422
    038000
    Internal notes
    The termination was triggered in function "HandleRsqlErrors"
    of the SAP kernel, in line 786 of the module
    "//bas/700_REL/src/krn/runt/absapsql.c#11".
    The internal operation just processed is "SQLS".
    Internal mode was started at 20081231190002.
    Internal call code.........: "[RSQL/INSR/ZTMM_PU_FOR_BW ]"
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    => 64 bit R/3 Kernel
    => 64 bit AIX Kernel
    => Heap limit      = unlimited
    => Stack limit     = 4294967296
    => Core limit      = 1073741312
    => File size limit = unlimited
    => Heap address  = 0x0x11c0f5d60
    => Stack address = 0xfffffffffff8040
    => Stack low     =  0xfffffffffff8040
    => Stack high    =  0xffffffffffff800
    => Stack Trace:
         AixStack() at 0x1000c945c
         CTrcStack2() at 0x1000c9554
         rabax_CStackSave__Fv() at 0x1000b3ee0
         ab_rabax() at 0x1000b0628
         ab_rsqlerr__FPCUsiT1P11RS_HEADER94T1Pv() at 0x10058c010
         HandleRsqlErrors__F9RsqlError9CloseMode() at 0x1017f1e94
         SqlsExecuteCall__FUcP11DynCallInfo() at 0x1017efc68
         ab_jsqls__Fv() at 0x1017ea82c
         ab_extri__Fv() at 0x100419ca0
         ab_xevent__FPCUs() at 0x10094e47c
         ab_trigg__Fv() at 0x10094e168
         ab_run() at 0x1011aabb8
         N_ab_run() at 0x100f6edc0
         dynpmcal() at 0x100f6d9c4
         dynppai0() at 0x100f6b2c8
         dynprctl() at 0x100f7375c
         dynpen00() at 0x100f6761c
         Thdynpen00() at 0x1000e3c6c
         TskhLoop() at 0x1000e5b64
         ThStart() at 0x1001000c0
         DpMain() at 0x101301d34
         nlsui_main() at 0x101abea68
    List of ABAP programs affected
    Index
    Typ
    Program
    Group
    Date
    Time
    Size
    Lang.
    0
    Prg
    ZPMM_BWLOAD_R_V2
    0
    12/31/2008
    10:10:08
    409600
    E
    1
    Prg
    SAPMSSY0
    1
    05/30/2008
    12:59:05
    92160
    E
    2
    Prg
    SAPMSSYD
    1
    08/16/2006
    12:06:37
    21504
    E
    3
    Prg
    SAPFSYSCALLS
    1
    09/09/2004
    14:18:32
    7168
    E
    4
    Prg
    RSDBRUNT
    0
    12/13/2008
    02:15:03
    254976
    E
    5
    Prg
    SAPLSPRI
    5
    12/13/2008
    02:14:06
    342016
    E
    6
    Typ
    PRI_PARAMS
    0
    11/02/1998
    09:46:12
    5120
    7
    Typ
    ARC_PARAMS
    0
    08/28/1997
    08:36:28
    6144
    8
    Typ
    PRI_LAYOUT
    0
    11/06/2003
    20:30:04
    2048
    9
    Typ
    PRIPAR_EXT
    0
    05/18/2004
    14:07:03
    3072
    10
    Typ
    PRIPAR_EX2
    0
    11/09/2000
    14:10:39
    2048
    11
    Typ
    PRIPAR_EX3
    0
    05/18/2004
    14:07:03
    5120
    12
    Typ
    TPRI_DEF
    0
    11/09/2000
    14:24:28
    5120
    13
    Typ
    USR01
    0
    05/30/2008
    19:06:47
    4096
    14
    Typ
    TSP1D
    0
    11/15/2000
    17:58:02
    5120
    15
    Prg
    SAPLSPOO
    15
    12/13/2008
    02:14:06
    160768
    E
    16
    Prg
    SAPLRSPOLSTDRV
    16
    12/13/2008
    02:13:54
    58368
    E
    17
    Typ
    TSPOPTIONS
    0
    01/29/1997
    19:13:56
    2048
    18
    Typ
    TSP03
    0
    11/02/1998
    09:57:05
    5120
    19
    Typ
    TSP0A
    0
    11/15/2000
    17:58:02
    6144
    20
    Typ
    TSP03C
    0
    11/21/2003
    11:41:10
    7168
    21
    Typ
    TSP03T
    0
    03/23/1998
    18:21:38
    6144
    22
    Typ
    TSP06A
    0
    11/15/2000
    17:58:02
    7168
    23
    Prg
    SAPCNVE
    23
    09/09/2004
    14:36:10
    8192
    E
    24
    Prg
    SAPLSPOC
    24
    12/13/2008
    02:15:07
    137216
    E
    25
    Typ
    TSP03L
    0
    07/10/1997
    00:46:18
    2048
    26
    Typ
    RSPOCHECK
    0
    08/13/1997
    12:53:10
    4096
    27
    Typ
    TSP03A
    0
    07/10/1997
    00:46:15
    3072
    28
    Prg
    SAPLSPOR
    28
    12/13/2008
    02:15:07
    39936
    E
    29
    Prg
    SAPLSPOB
    29
    05/30/2008
    09:36:14
    67584
    E
    30
    Prg
    SAPLSDEX
    30
    09/09/2004
    14:20:42
    22528
    E
    31
    Typ
    DD07T
    0
    05/30/2008
    00:38:18
    3072
    32
    Typ
    DEVPAR
    0
    12/04/2000
    12:46:11
    3072
    33
    Typ
    RSPOATTR
    0
    11/10/1999
    17:44:19
    2048
    34
    Typ
    RSSCR
    0
    03/30/2005
    10:21:45
    5120
    35
    Prg
    RSDBSPBL
    0
    03/30/2005
    10:21:58
    72704
    E
    36
    Prg
    SAPDB__S
    0
    03/30/2005
    10:22:01
    19456
    E
    37
    Typ
    VARID
    0
    05/12/1997
    16:51:30
    4096
    38
    Typ
    SSCRFIELDS
    0
    05/13/1997
    12:54:26
    5120
    39
    Prg
    %_CSYDB0
    0
    03/30/2005
    10:21:45
    35840
    E
    40
    Prg
    RSDBSPVA
    0
    12/13/2008
    02:15:03
    133120
    E
    41
    Typ
    RSVAMEMKEY
    0
    05/07/1997
    13:07:49
    5120
    42
    Prg
    RSDBSPMC
    0
    08/16/2006
    11:55:58
    79872
    E
    43
    Typ
    DDSHDESCR
    0
    09/03/1997
    03:05:16
    4096
    44
    Typ
    SPPARAMS
    0
    05/07/1997
    13:10:38
    2048
    45
    Prg
    SAPLICON
    45
    05/30/2008
    13:22:44
    27648
    E
    46
    Prg
    %_CICON
    45
    05/30/2008
    13:22:44
    107520
    E
    47
    Typ
    ICONT
    0
    08/16/2006
    11:55:57
    2048
    48
    Prg
    SAPLSABE
    48
    09/09/2004
    14:18:36
    12288
    E
    49
    Prg
    SAPLSECU
    49
    05/30/2008
    11:07:13
    87040
    E
    50
    Typ
    RSSUBINFO
    0
    10/14/1999
    22:01:03
    2048
    51
    Typ
    RSEXFCODE
    0
    08/13/1997
    12:52:57
    2048
    52
    Prg
    SAPLDSYA
    52
    05/30/2008
    12:53:05
    45056
    E
    53
    Prg
    SAPFSDS1
    52
    03/30/2005
    10:22:01
    52224
    E
    54
    Typ
    TDCLD
    0
    11/02/1998
    09:51:35
    6144
    55
    Prg
    SAPLSDOD
    55
    01/25/2006
    10:59:45
    45056
    E
    56
    Typ
    DOKIL
    0
    05/12/1997
    16:46:17
    3072
    57
    Prg
    SAPLLANG
    57
    09/09/2004
    14:18:35
    10240
    E
    58
    Typ
    T002
    0
    05/30/2008
    00:53:58
    2048
    59
    Prg
    SAPFSPOR
    0

Maybe you are looking for