SM35 logs explanation

In my scenario i executed a report in background ,bdc is being used in it.when i check in sm35 it seems that in one batch logs some of the transaction has errored out and others got executed successfully.how to identify the reason for that particular errors.

Hi,
either you run your BI in foreground (step by step) to see what´s wrong or select the BI-session and press Log. Select the log and press Analyse session or Display. See what´s wrong.

Similar Messages

  • SM35 Log

    Hi,
    I need the name of the standard table that stores the log that the sm35 shows you as a result when its done processing information.
    Regards,
    Roberto.

    Get the queue ID of the SM35 session & pass it to table APQI , you will get the logs.
    Please let me know if this resolves your query.
    Regards.

  • Kernel Panic Log Explanation

    I recently had scare when a Kernel Panic nearly turned my MBP into a paperweight.
    I was able to get the computer to turn on again, and I pulled up this log.
    Sun Jan 30 02:35:10 2011
    panic(cpu 0 caller 0x001368F4): stack_alloc: kernelmemoryallocate
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x1b9c3eb8 : 0x128d0d (0x3cc65c 0x1b9c3edc 0x131f95 0x0)
    0x1b9c3ef8 : 0x1368f4 (0x3ccfec 0x1b9c3f2c 0x4000 0x7fff)
    0x1b9c3f38 : 0x13bb58 (0x4ee01cc 0x4b2820 0x1b9c3fc8 0x4b2820)
    0x1b9c3f68 : 0x13bbab (0x13da85 0x0 0x5e 0x1b9c3f8c)
    0x1b9c3f98 : 0x13d261 (0x13da85 0x0 0x5e 0x1b9c3fbc)
    0x1b9c3fc8 : 0x19b21c (0x0 0x0 0x19e0b5 0x4ee0530) Backtrace terminated-invalid frame pointer 0x0
    Kernel version:
    Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386
    I have not installed any RAM, I haven't installed any new programs or peripherals, no new drivers, no other external devices. It may be a possibility that the heat got to the RAM, because my MBP has always run hot.
    Just wondering if anyone can explain this panic log so I can avoid a problem in the future.
    Joe

    Can you post some of your crash logs? Might be a clue. See Mac OS X: How to log a kernel panic http://support.apple.com/kb/HT2546
    Understanding crash logs isn’t easy and it’s hard (sometimes impossible) to decipher the cause of the problem. Take a look at Apple’s Crash Reporter document at http://developer.apple.com/technotes/tn2004/tn2123.html
    Also look at Tutorial: An introduction to reading Mac OS X crash reports
    http://www.macfixit.com/article.php?story=20060309075929717
    Kernel panics are usually caused by a hardware problem – frequently RAM, a USB device or a Firewire device. What external devices do you have connected? When trying to troubleshoot problems, disconnect all external devices. Do you experience the same problems?
     Cheers, Tom

  • Event Log - explanation needed

    Hi
    Can anyone explain why I see the following entries in the event log - these happen every 5 mins whether or not I have a wireless connection to my HH3. Over the past couple of weeks I have seen my wireless speeds drop from 56 mbits to 5 or 6 mbits (having had stable connections for the past couple of years around the 56 mbits mark). Tried a factory reset of the hub yesterday. Not sure if the undernoted could be causing my speed drop (which I can resolve by resetting the hub but the speed drops off again after a few hours or a day)
     08:11:47,23 Jan.
    CWMP:session start now, server:https://pbthdm.bt.mo, Event code:, 4 VALUE CHANGE
      08:06:47,23 Jan.
    CWMP:session completed successfully

    Hi Arunesh,
    Thank you for posting in Windows Server Forum.
    By default, auditing for WFP is disabled.
    Auditing can be enabled on a per-category basis through either the Group Policy Object Editor MMC snap-in, the Local Security Policy MMC snap-in, or the auditpol.exe command. 
    For example, to enable the auditing of Policy Change events you may:
    - Use the Group Policy Object Editor
    - Use the Local Security Policy
    Please check below article might useful for your case.
    Auditing
    http://msdn.microsoft.com/en-us/library/bb309058(VS.85).aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Kernel Panic Log Explanations

    Would anyone be so kind to tell me what these panic logs state so that I may continue to narrow down my issues? I have more, but these are the most recent ones and I think they look identical, but I could be missing something. Thank you in advance...
    Tue Jun 10 10:55:41 2008
    panic(cpu 0 caller 0x000AED04): "Uncorrectable machine check: pc = 0000000000D3A98C, msr = 0000000000149030, dsisr = 42000000, dar = 00000000002FC000\n" " AsyncSrc = 0000000000000000, CoreFIR = 0000000000000000\n" " L2FIR = 0000000000000000, BusFir = 0000000080000000\n"@/SourceCache/xnu/xnu-1228.4.31/osfmk/ppc/trap.c:975
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x0009B478 0x0009BE1C 0x00029DD4 0x000AED04 0x000AEF84 0x000B2A78
    Proceeding back via exception chain:
    Exception state (sv=0x1ef30a00)
    PC=0x00D3A98C; MSR=0x00149030; DAR=0x002FC000; DSISR=0x42000000; LR=0x00D3AB3C; R1=0x20183C70; XCP=0x00000008 (0x200 - Machine check)
    Backtrace:
    0x02457000 0x00D3AB3C 0x00CFDEA0 0x00356AC8 0x00355D2C 0x00355DE0
    0x000B05D4
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.driver.AirPortBrcm43xx(312.46.51)@0xcf4000->0xe20fff
    dependency: com.apple.iokit.IO80211Family(211.1)@0xcd0000
    dependency: com.apple.iokit.IOPCIFamily(2.4.1)@0x550000
    dependency: com.apple.iokit.IONetworkingFamily(1.6.0)@0xc72000
    Exception state (sv=0x18e8e780)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    9C7010
    Kernel version:
    Darwin Kernel Version 9.2.2: Tue Mar 4 21:23:43 PST 2008; root:xnu-1228.4.31~1/RELEASE_PPC
    System model name: PowerBook6,2
    Mon Jun 9 18:01:48 2008
    panic(cpu 0 caller 0x000AED04): "Uncorrectable machine check: pc = 0000000000D3A98C, msr = 0000000000149030, dsisr = 42000000, dar = 00000000052A4000\n" " AsyncSrc = 0000000000000000, CoreFIR = 0000000000000000\n" " L2FIR = 0000000000000000, BusFir = 0000000000000000\n"@/SourceCache/xnu/xnu-1228.4.31/osfmk/ppc/trap.c:975
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x0009B478 0x0009BE1C 0x00029DD4 0x000AED04 0x000AEF84 0x000B2A78
    Proceeding back via exception chain:
    Exception state (sv=0x21666a00)
    PC=0x00D3A98C; MSR=0x00149030; DAR=0x052A4000; DSISR=0x42000000; LR=0x00D3AB3C; R1=0x21683C70; XCP=0x00000008 (0x200 - Machine check)
    Backtrace:
    0x01E6F248 0x00D3AB3C 0x00CFDEA0 0x00356AC8 0x00355D2C 0x00355DE0
    0x000B05D4
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.driver.AirPortBrcm43xx(312.46.51)@0xcf4000->0xe20fff
    dependency: com.apple.iokit.IO80211Family(211.1)@0xcd0000
    dependency: com.apple.iokit.IOPCIFamily(2.4.1)@0x550000
    dependency: com.apple.iokit.IONetworkingFamily(1.6.0)@0xc72000
    Exception state (sv=0x10cfa00)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    9C7010
    Kernel version:
    Darwin Kernel Version 9.2.2: Tue Mar 4 21:23:43 PST 2008; root:xnu-1228.4.31~1/RELEASE_PPC
    System model name: PowerBook6,2

    Spammie5:
    Glad you were able to boot after removing the Airport Card.
    I've wiped the drive and reinstalled the OS 10.5.2...still acting weird.
    Wiping and re-installing is not a diagnostic technique, and should usually be considered the avenue of last resort.
    Dyld Error Message:
    Symbol not found: __CSAOSCopyStringForKey
    Referenced from: /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    I think this is where you problem lies, although, I have to admit, I am not sure exactly what it is. I seems as if something is amiss with some system software library. Here's what I suggest:
    • Download Mac OS X 10.5.3 Combo Update
    • Repair Disk Permissions in Applications > Utilities > Disk Utility
    • Install downloaded Combo update
    • Repair Disk Permissions as previously.
    Let me know if it helps.
    cornelius

  • Interpreting Crash Logs: Explanations Needed

    Hi Everyone,
    Allan Doyle just posted a crash report because Logic crashed on his system (sorry to hear about it Allan). Link is here:
    http://discussions.apple.com/thread.jspa?threadID=432758&tstart=0
    But the whole notion of a crash report... few if any of us are knowledgeable enough to understand the significance of any one part of it. Wondering if anyone here (Justin C. perhaps?) can help us make heads/tails of one of these reports. Maybe with a little information we can even understand if there's ANYTHING at all meaningful to be gleaned from them.
    For example, from Allan's crash report:
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x000007bc
    I know what "Exception" means, but maybe there are some of us who don't. And I think that the second line refers to a "kernel panic" which, while I've heard the term, I really don't know what this means exactly.
    Also, from Thread 0 (crashed) of Allan's report, I noticed a file called "com.apple.HIToolbox"
    So can someone please shed some light on what these things mean?

    I'm no expert at deciphering crash reports, but what is interesting [for the developer] is which thread crashed and what it was trying to achieve at that time. So all we can safely say here is a Logic thread branched somewhere in the CoreFoundation code while looping some audio soundbits: since you don't have the source code, you won't know why it crashed, although from the type of error, you can tell it attempted to read or write in a RAM area that wasn't owned by the process. Period.
    From then on, you might extrapolate, but it's no use, since you have definitely no way to check, debug, or change the code to assign an uninitialized pointer, or whatever — this is intended for the developer only... The register values won't tell you anything, the other threads running should have kept running, and the Binary Images Description only tells you which other processes were also involved at that point.
    Agreed, sometimes the report would give you a clue about which part of the code was wrong — caller or callee — when one of them is, for instance, a plug-in or a driver, so you may disable it, or merely avoid using it, and test whether Logic still crashes. But here, all you can do — as a user — is try and not recreate the specific conditions that lead to that crash...

  • How to track the session Logs ( SM35) in program

    Hi,
    I want to track the SM35 logs in my program. Using log information i want to move the filure records, Success records and warning  records spearately in my internal tabel.
    Based on that iinforamtion i want to analysis the records again for upload......Please help me.
    Thanks & regards
    Santhosh

    The actual requirment is, i want to get back the error records in my program.....My program is running in back end once the session is over i need to get the error files back to my program. That file i want to store in comman folder....
    after the session complet i want to get the error records in my program.....any bapi or functional module or methods is available for get the log information.....
    Help me....Please....
    santhosh

  • Session log from SM35-not fully displayed

    Dear Freinds,
    My requirement is to read the log of SM35, that is my intenstion is after my report being executed (BDC session method ) the session get processed in background only as i have used  rsbdcsub .
    Now i want to display the log which find in the SM35 for processed session i have tried below in my program
    i.e after running the session I should read log and store for which legacy numbers SAP customer is created and for which its failed.
    As specified in one of the logs in the SDN i have written as below.
    Get your TEMSEID MANDANT from APQL table, and call these four function modules in sequence.
    DATA: CHARCP LIKE RSTSTYPE-CHARCO VALUE '0000'.
    CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
    EXPORTING
    AUTHORITY = ' '
    CLIENT = APQL-MANDANT
    NAME = APQL-TEMSEID
    IMPORTING
    CHARCO = CHARCP
    EXCEPTIONS
    FB_ERROR = 1
    FB_RSTS_OTHER = 2
    NO_OBJECT = 3
    NO_PERMISSION = 4
    OTHERS = 5.
    CALL FUNCTION 'RSTS_OPEN_RLC'
    EXPORTING
    NAME = APQL-TEMSEID
    CLIENT = APQL-MANDANT
    AUTHORITY = 'BATCH'
    PROM = 'I'
    RECTYP = 'VNL----'
    CHARCO = CHARCP
    EXCEPTIONS
    FB_CALL_HANDLE = 4
    FB_ERROR = 8
    FB_RSTS_NOCONV = 12
    FB_RSTS_OTHER = 16
    NO_OBJECT = 20
    OTHERS = 24.
    IF SY-SUBRC > 0.
    EXIT.
    ENDIF.
    CALL FUNCTION 'RSTS_READ'
    TABLES
    DATATAB = LOG_TABLE
    EXCEPTIONS
    FB_CALL_HANDLE = 4
    FB_ERROR = 8
    FB_RSTS_NOCONV = 12
    FB_RSTS_OTHER = 16
    OTHERS = 16.
    IF SY-SUBRC > 0.
    EXIT.
    ENDIF.
    CALL FUNCTION 'RSTS_CLOSE'
    EXCEPTIONS
    OTHERS = 4.
    LOG_TABLE is having only  the below
    ENTERDATE LIKE BTCTLE-ENTERDATE,
    ENTERTIME LIKE BTCTLE-ENTERTIME,
    LOGMESSAGE(400) TYPE C,
    In t´he log message I am not getting any exact message displayed in SM35 log  . Please suggest me what i have to do
    regards
    divya

    better use:
    CALL TRANSACTION tcode USING bdcdata MODE mod MESSAGES INTO itab.
    and analyse sy-subrc and itab for every customer
    A.

  • SM 35 Session log with data in flat file.

    I have created a session from a flat file using LSMW, after running the session through SM35 is there a way by which I can get the details of data loaded in the log of SM35.
    Example I am loading SAP HR data to infotypes but the SM35 log gives index value in the flat file rather than actual employee number (PERNR) uploaded on printing the log.

    No That is not possible.

  • Batch Input Log's Table

    Hi there guys,
      does anyone know where the log's from a batch input are stored, i don't mean just the header of the log, but the messages that appear in the SM35 if we choose to view a log ?
    Hope someone can help me
    Best,
    Ricardo Monteiro

    Look at How to get error messages from SM35 log. How to get this from TemSe objects
    Regards

  • Session method

    hi all,
           i wrote the session method for f-02 transaction,
    if voucher number(bkpf-xblnr) found in bkpf i need to skip that voucher number.i need to display error report like (xblnr belnr bldat). and any errors experienced during batch input creation like format errors etc.these errors also i need to disply in error report.
    if voucher number(bkpf-xblnr) not found in bkpf i need to insert that voucher number.
    if in the flat file 2 records found in bkpf and 2 records not found in bkpf. in sm35 log file it must show 2 records processed and
    2 reocrds with errors.
    *& Report  ZFGLDIOO20                                                    *
    PROGRAM NAME   : ZFGLDI0020
    REQUEST NO     : CD1K900572
    APLICATION AREA: FI
    AUTHOR         : SRINIVAS M
    DATE           : 13-07-2006
    DESCRIPTION    :This interface will Developement of a Program to read
    and Upload the electronic file containig billing refunds information.
    *This upload file will generate transactions in the Accounts payble module.
    *After the payments have been done an out put file is created containing the cheque
    *information to be uploaded on the revenue billing databases.
    REPORT HEADER                                                        *
    REPORT zfgldi0020  NO STANDARD PAGE HEADING
                       LINE-SIZE 255
                       LINE-COUNT 65.
    ====[TABLES]======================================================
    TABLES: bkpf,   "Accounting Document Header"
            bseg,   "Accounting Document Segment"
            bsec.   "One-Time Account Data Document Segment"
    ====[TYPE-POOLS]======================================================
    TYPE-POOLS: slis.
    ===[INTERNAL TABLES]==================================================
    DATA : BEGIN OF it_file_up OCCURS 0,
             sgtxt(11),
             ls_c2(5),
             zuonr(21),
             name1(51),
             ls_c5(7),
             ls_c6(2),
             ls_c7(5),
             ls_c8(4),
             bldat(9),
             ls_c10(9),
             ls_c11(21),
             ls_c12(2),
             ls_c13(31),
             ls_c14(31),
             ls_c15(31),
             ls_c16(31),
             ls_c17(31),
             ls_c18(5),
             wrbtr(16),
             ls_c20(51),
             ls_c21(51),
             ls_c22(51),
             ls_c23(51),
             ls_c24(51),
             ls_c25(7),
             ls_c26(21),
             ls_c27(3),
             ls_c28(21),
             ls_c29(9),
             ls_c30(21),
             ls_c31(16),
           END OF it_file_up.
    DATA : BEGIN OF it_file OCCURS 0,
             bldat(10),                                   "Document Date"
             blart(2) TYPE c VALUE 'ZD',                  "Document Type"
             bukrs(4) TYPE n VALUE '0100',                "Company Code"
             budat(10),                                    "Posting Date"
             monat(2) TYPE n VALUE '1',                    " Period"
             waers(3) TYPE c VALUE 'ZAR',                  "Currency"
             xblnr(16) TYPE c,  " VALUE 'VOUCHER NUMBER',    " Reference"
             bktxt(25) TYPE c VALUE 'BILLING REFUNDS',    "Doc headertext"
             bschl(2) TYPE c VALUE '31',                  "Posting Key"
             hkont(7) TYPE n VALUE '490905',               "Account"
             name1(35) TYPE c,                            "Name"
             stras(35) TYPE c VALUE '66 Jorissen street', "Street"
             ort01(35) TYPE c VALUE 'JOHANNESBERG',       "City"
             pstlz(4) TYPE n VALUE '2001',                "Postal Code"
             wrbtr(16) ,                                  "Amount"
             mwskz(2) TYPE c VALUE 'V0',                  "Tax Code"
             zuonr(18) TYPE c,                            "Assignment"
             sgtxt(50) TYPE c,                            "Text"
             bschl1(2) TYPE c VALUE '40',                 "Posting Key"
             hkont1(7) TYPE n VALUE '8701120',            "Account"
             wrbtr1(16),                                  "Amount"
             zuonr1(18) TYPE c,                           "Assignment"
             sgtxt1(50) TYPE c,                            "Text"
           END OF it_file.
    DATA : BEGIN OF it_process OCCURS 0,
             bldat(10),                                   "Document Date"
             blart(2) TYPE c VALUE 'ZD',                  "Document Type"
             bukrs(4) TYPE n VALUE '0100',                "Company Code"
             budat(10),                                    "Posting Date"
             monat(2) TYPE n VALUE '1',                    " Period"
             waers(3) TYPE c VALUE 'ZAR',                  "Currency"
             xblnr(16) TYPE c,  " VALUE 'VOUCHER NUMBER',    " Reference"
             bktxt(25) TYPE c VALUE 'BILLING REFUNDS',    "Doc headertext"
             bschl(2) TYPE c VALUE '31',                  "Posting Key"
             hkont(7) TYPE n VALUE '490905',               "Account"
             name1(35) TYPE c,                            "Name"
             stras(35) TYPE c VALUE '66 Jorissen street', "Street"
             ort01(35) TYPE c VALUE 'JOHANNESBERG',       "City"
             pstlz(4) TYPE n VALUE '2001',                "Postal Code"
             wrbtr(16) ,                                  "Amount"
             mwskz(2) TYPE c VALUE 'V0',                  "Tax Code"
             zuonr(18) TYPE c,                            "Assignment"
             sgtxt(50) TYPE c,                            "Text"
             bschl1(2) TYPE c VALUE '40',                 "Posting Key"
             hkont1(7) TYPE n VALUE '8701120',            "Account"
             wrbtr1(16),                                  "Amount"
             zuonr1(18) TYPE c,                           "Assignment"
             sgtxt1(50) TYPE c,                            "Text"
           END OF it_process.
    *& BDC/Call transaction data.
    DATA: BEGIN OF bdcdata OCCURS 0.
            INCLUDE STRUCTURE bdcdata.
    DATA: END OF bdcdata.
    DATA: BEGIN OF it_error OCCURS 0,
          xblnr LIKE bkpf-xblnr,
          belnr LIKE bkpf-belnr,
          bldat LIKE bkpf-bldat,
          END OF it_error.
    *DATA: it_check LIKE bkpf OCCURS 0 WITH HEADER LINE.
    DATA: messtab LIKE bdcmsgcoll OCCURS 100 WITH HEADER LINE.
    DATA: lt_fldcat TYPE slis_t_fieldcat_alv,
          lt_errorcat TYPE slis_t_fieldcat_alv.
    DATA: BEGIN OF err_fld OCCURS 0,
          icon(8),
          rec_no(6) TYPE n,
          messg(100),
    END   OF err_fld.
    ===[DATA]=============================================================
    DATA: lv_subrc LIKE sy-subrc,
          f_session,
          f_session_created,
          lv_xblnr  LIKE bkpf-xblnr,
          lv_doc    LIKE bkpf-belnr,
          lt_files TYPE filetable,
          ls_files TYPE file_table,
          lv_return TYPE i,
          lv_filen TYPE string,
          lv_error,
          lv_repid LIKE sy-repid.
    DATA: lv_bldat(10),
          lv_budat(10).
    ===[STRUCTURES]=======================================================
    DATA: ls_fldcat TYPE slis_fieldcat_alv.
    *DATA: ls_fldcat1 TYPE slis_t_fieldcat_alv.
    DATA: ls_errorcat TYPE slis_fieldcat_alv.
    ===[SELECTION SCREEN]=================================================
    PARAMETERS:
      p_file  LIKE rlgrap-filename LOWER CASE OBLIGATORY.
    SELECTION-SCREEN SKIP.
    PARAMETERS:
      p_sess  LIKE d0100-mapn DEFAULT 'BILLING' OBLIGATORY.
    ===[AT SELECTION-SCREEN]==============================================
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM get_file_name.
    ===[START-OF-SELECTION]===============================================
    START-OF-SELECTION.
    *& Upload file into internal table
      PERFORM fm_upload_file.
    *& Process file
      PERFORM fm_process_file.
    ===[END-OF-SELECTION]=================================================
    END-OF-SELECTION.
    IF lv_error <> space.
       PERFORM output_error_tab.
    ENDIF.
    SKIP.
    *& No data in file
      IF it_file_up[] IS INITIAL.
        MESSAGE s016(rp) WITH 'No data found in file'.
      ENDIF.
    *& Build catalog for column headings
      PERFORM fm_build_catalog.
    *& Displaying output in alv grid
      PERFORM fm_alv_grid_display.
    *& Build catalog for column headings
      PERFORM fm_error_catalog.
    *& Displaying output in alv grid
      PERFORM fm_error_grid_display.
    ===[FORMS]============================================================
    *&      Form  fm_process_file
          text
    FORM fm_process_file.
      PERFORM bdc_open_group.
      LOOP AT it_process.
        SELECT SINGLE *  FROM bkpf
         WHERE bukrs = '0100'
           AND blart = 'ZD'
           AND xblnr = it_process-xblnr.
        IF sy-subrc = 0.
          it_error-xblnr = bkpf-xblnr.
          it_error-belnr = bkpf-belnr.
          it_error-bldat = bkpf-bldat.
          APPEND it_error.
          CONTINUE.
        ENDIF.
        REFRESH bdcdata.
        CLEAR   bdcdata.
        CONCATENATE : it_process-bldat6(2)  '.' it_process-bldat4(2)  '.'
      it_process-bldat+0(4) INTO lv_bldat.
        CONCATENATE : it_process-budat6(2)  '.' it_process-budat4(2)  '.'
      it_process-budat+0(4) INTO lv_budat.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05A-NEWKO'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BKPF-BLDAT'
                                      lv_bldat.
        PERFORM bdc_field       USING 'BKPF-BLART'
                                      'ZD'.
        PERFORM bdc_field       USING 'BKPF-BUKRS'
                                      '0100'.
        PERFORM bdc_field       USING 'BKPF-BUDAT'
                                      lv_budat.
        PERFORM bdc_field       USING 'BKPF-MONAT'
                                     '1'.
        PERFORM bdc_field       USING 'BKPF-WAERS'
                                      'ZAR'.
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                     it_process-xblnr.
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      'BILLING REFUNDS'.
        PERFORM bdc_field       USING 'RF05A-NEWBS'
                                      '31'.
        PERFORM bdc_field       USING 'RF05A-NEWKO'
                                      '490900'.
        PERFORM bdc_dynpro      USING 'SAPLFCPD' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'BSEC-PSTLZ'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEC-NAME1'
                                      it_process-name1.
        PERFORM bdc_field       USING 'BSEC-STRAS'
                                      '66 JORISSEN STREET'.
        PERFORM bdc_field       USING 'BSEC-ORT01'
                                      'JOHANNESBURG'.
        PERFORM bdc_field       USING 'BSEC-PSTLZ'
                                      '2001'.
        PERFORM bdc_field       USING 'BSEC-LAND1'
                                      'ZA'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05A-NEWKO'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      it_process-wrbtr.
        PERFORM bdc_field       USING 'BSEG-MWSKZ'
                                      'V0'.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      it_process-zuonr.
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      it_process-sgtxt.
        PERFORM bdc_field       USING 'RF05A-NEWBS'
                                      '40'.
        PERFORM bdc_field       USING 'RF05A-NEWKO'
                                      '8701120'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'BSEG-SGTXT'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      it_process-wrbtr.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      it_process-zuonr.
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      it_process-sgtxt.
        PERFORM bdc_field       USING 'DKACB-FMORE'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'COBL-KOSTL'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTE'.
        PERFORM bdc_field       USING 'COBL-KOSTL'
                                      '444615'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'BSEG-WRBTR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BU'.
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      it_process-wrbtr.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      it_process-zuonr.
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      it_process-sgtxt.
        PERFORM bdc_field       USING 'DKACB-FMORE'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'COBL-KOSTL'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      'ENTE'.
        PERFORM bdc_field       USING 'COBL-KOSTL'
                                      '21815'.
        PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/EESC'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'COBL-KOSTL'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0700'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05A-NEWBS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      'RW'.
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                      it_process-xblnr.
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      'BILLING REFUNDS'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0200'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=NO'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0700'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05A-NEWBS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      'RW'.
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                      it_process-xblnr.
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      'BILLING REFUNDS'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0200'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=YES'.
        PERFORM bdc_create_session.
      ENDLOOP.
      PERFORM bdc_close_session.
    ENDFORM.                    "fm_process_file
    *&      Form  bdc_dynpro
           Start new screen                                              *
         -->PROGRAM    text
         -->DYNPRO     text
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
      CLEAR bdcdata.
    ENDFORM.                    "bdc_dynpro
    *&      Form  bdc_field
           Insert field                                                  *
         -->FNAM       text
         -->FVAL       text
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
      CLEAR bdcdata.
    ENDFORM.                    "bdc_field
    *&      Form  bdc_create_session
          Create session
    FORM bdc_create_session.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          tcode            = 'F-02'
        TABLES
          dynprotab        = bdcdata
        EXCEPTIONS
          internal_error   = 1
          not_open         = 2
          queue_error      = 3
          tcode_invalid    = 4
          printing_invalid = 5
          posting_invalid  = 6
          OTHERS           = 7.
      IF sy-subrc <> 0.
        lv_subrc = sy-subrc.
        MESSAGE i398(00) WITH 'Cannot insert BDC into session' p_sess
                              'Return code='                   lv_subrc.
      ENDIF.
    ENDFORM.                    " bdc_create_session
    *&      Form  bdc_close_session
          Close session
    FORM bdc_close_session.
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          not_open    = 1
          queue_error = 2
          OTHERS      = 3.
      IF sy-subrc <> 0.
        lv_subrc = sy-subrc.
        MESSAGE i398(00) WITH 'Cannot close session' p_sess
                              'Return code='         lv_subrc.
      ENDIF.
    ENDFORM.                    " bdc_close_session
    *&      Form  fm_build_catalog
          text
    FORM fm_build_catalog.
      ls_fldcat-fieldname = 'BLDAT'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BLDAT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BLART'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BLART'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BUKRS'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BUKRS'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BUDAT'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BUDAT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'MONAT'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'MONAT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'WAERS'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'WAERS'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'XBLNR'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'XBLNR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BKTXT'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BKTXT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BSCHL'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'BSCHL'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'HKONT'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'HKONT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'NAME1'.
      ls_fldcat-ref_tabname = 'BSEC'.
      ls_fldcat-ref_fieldname = 'NAME1'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'STRAS'.
      ls_fldcat-ref_tabname = 'BSEC'.
      ls_fldcat-ref_fieldname = 'STRAS'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'ORT01'.
      ls_fldcat-ref_tabname = 'BSEC'.
      ls_fldcat-ref_fieldname = 'ORT01'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'PSTLZ'.
      ls_fldcat-ref_tabname = 'BSEC'.
      ls_fldcat-ref_fieldname = 'PSTLZ'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'WRBTR'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'WRBTR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'MWSKZ'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'MWSKZ'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'ZUONR'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'ZUONR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'SGTXT'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'SGTXT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BSCHL1'.
      ls_fldcat-ref_tabname = 'ZBSEG'.
      ls_fldcat-ref_fieldname = 'BSCHL1'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'HKONT1'.
      ls_fldcat-ref_tabname = 'ZBSEG'.
      ls_fldcat-ref_fieldname = 'HKONT1'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'WRBTR'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'WRBTR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'ZUONR'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'ZUONR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'SGTXT'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'SGTXT'.
      APPEND ls_fldcat TO lt_fldcat.
    ENDFORM.                    "fm_build_catalog
    *&      Form  fm_error_catalog
          text
    FORM fm_error_catalog.
      ls_errorcat-fieldname = 'XBLNR'.
      ls_errorcat-ref_tabname = 'BKPF'.
      ls_errorcat-ref_fieldname = 'XBLNR'.
      APPEND ls_errorcat TO lt_errorcat.
      ls_errorcat-fieldname = 'BELNR'.
      ls_errorcat-ref_tabname = 'BKPF'.
      ls_errorcat-ref_fieldname = 'BELNR'.
      APPEND ls_errorcat TO lt_errorcat.
      ls_errorcat-fieldname = 'BLDAT'.
      ls_errorcat-ref_tabname = 'BKPF'.
      ls_errorcat-ref_fieldname = 'BLDAT'.
      APPEND ls_errorcat TO lt_errorcat.
    ENDFORM.                    "fm_error_catalog
    *&      Form  fm_alv_grid_display
          text
    FORM fm_alv_grid_display.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = lv_repid
          it_fieldcat        = lt_fldcat
        TABLES
          t_outtab           = it_process.
    ENDFORM.                    "fm_alv_grid_display
    *&      Form  fm_error_grid_display.
          text
    FORM fm_error_grid_display.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = lv_repid
          it_fieldcat        = lt_errorcat
        TABLES
          t_outtab           = it_error.
    ENDFORM.                    "fm_error_grid_display
    *&      Form  get_file_name
          Get file name
    FORM get_file_name.
    Select file
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title            = 'Select File'
          default_extension       = 'Text Files (*.TXT)'
          file_filter             = cl_gui_frontend_services=>filetype_text
          initial_directory       = 'C:\'
        CHANGING
          file_table              = lt_files
          rc                      = lv_return
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 4
          OTHERS                  = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        READ TABLE lt_files INTO ls_files INDEX 1.
        p_file = ls_files-filename.
        CLEAR lt_files[].
      ENDIF.
    ENDFORM.                    " get_file_name
    *&      Form  fm_upload_file
          text
    FORM fm_upload_file.
      lv_filen = p_file.
    Upload file
      CALL METHOD cl_gui_frontend_services=>gui_upload
         EXPORTING
           filename                = lv_filen
         has_field_separator     = 'X'
         CHANGING
           data_tab                = it_file_up[]
         EXCEPTIONS
           file_open_error         = 1
           file_read_error         = 2
           no_batch                = 3
           gui_refuse_filetransfer = 4
           invalid_type            = 5
           no_authority            = 6
           unknown_error           = 7
           bad_data_format         = 8
           header_not_allowed      = 9
           separator_not_allowed   = 10
           header_too_long         = 11
           unknown_dp_error        = 12
           access_denied           = 13
           dp_out_of_memory        = 14
           disk_full               = 15
           dp_timeout              = 16
           not_supported_by_gui    = 17
           error_no_gui            = 18
           OTHERS                  = 19.
      IF sy-subrc <> 0.
        lv_subrc = sy-subrc.
        MESSAGE e398(00) WITH 'Cannot upload file:' p_file
                              'Return code='        lv_subrc.
      ENDIF.
    File did not upload or no data in file
      IF it_file_up[] IS INITIAL.
        STOP.
      ENDIF.
      LOOP AT it_file_up.
        CHECK it_file_up-ls_c2(4) = '9999'.
        it_file-bldat = it_file_up-bldat+0(8).  "Document Date"
        it_file-budat = it_file-bldat.          "Posting Date"
        it_file-xblnr = it_file_up-sgtxt+0(10).
        it_file-name1 = it_file_up-name1+0(35).  "Name"
        it_file-wrbtr = it_file_up-wrbtr+0(15).  "Amount"
        it_file-zuonr = it_file_up-zuonr+0(18).  "Assignment"
        it_file-sgtxt = it_file_up-sgtxt+0(10).  "Text"
        it_file-xblnr = it_file-xblnr.
        it_file-wrbtr1 = it_file-wrbtr.
        it_file-zuonr1 = it_file-zuonr.
        it_file-sgtxt1 = it_file-sgtxt.
        APPEND it_file.
      ENDLOOP.
      LOOP AT it_file.
        CHECK NOT it_file-bldat IS INITIAL.
        MOVE-CORRESPONDING it_file TO it_process.
        APPEND it_process.
      ENDLOOP.
    ENDFORM.                    " fm_upload_file
    *&      Form  bdc_open_group
          text
    -->  p1        text
    <--  p2        text
    FORM bdc_open_group .
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          group               = p_sess
          keep                = 'X'
          user                = sy-uname
        EXCEPTIONS
          client_invalid      = 1
          destination_invalid = 2
          group_invalid       = 3
          group_is_locked     = 4
          holddate_invalid    = 5
          internal_error      = 6
          queue_error         = 7
          running             = 8
          system_lock_error   = 9
          user_invalid        = 10
          OTHERS              = 11.
      IF sy-subrc <> 0.
        lv_subrc = sy-subrc.
        MESSAGE i398(00) WITH 'Cannot open session' p_sess
                              'Return code='        lv_subrc.
        STOP.
      ENDIF.
    ENDFORM.                    " bdc_open_group
    anybody suggest me any other way to display error report.
    and sm35 logfile logic.

    Hi,
    1) if you want to create documents pls use abap rfbibl00 (here's a documentation) or fm BAPI_ACC_DOCUMENT_POST
    2) if you want to change header , use bdc to FB02;
       to item use FB09
    A.

  • Mappimg and updation in bdc 'session ' and 'call transaction' methods

    What will happen if error record comes while updating in session method and call transaction method.

    Hi,
    If any error comes in Session method U can find that error in SM35->Log
    and updste again database for those enteries
    In cll transaction Method U have to handel error manually . for this u have to use structure BDCMSGCOL and Table T100.
    Regards
    Gaurav

  • FTP Inspection Failed

    We recently have problems with some clent ftp to our ftp site when they were using ftp active mode. And the session was terminated by the FW, ASA 5580.
    %ASA-4-406002: FTP port command different address: 174.129.205.194(10.204.138.136) to ftp.ncbi on interface outside
    It was working and don't know why only have trouble recently?
    It still works for some clients, like Windows 7 even when it is behind a router doing NAT.
    How we should tune the policy for "ftp inspection" on ASA. (Cisco Adaptive Security Appliance Software Version 8.2(4)5 )
    Thanks,
    Tony

    Hi,
    Attached is the explantion given for the mentioned log
    Explanation    A client issued an FTP port command and supplied an address other than the address used in the connection. This error message is indicative of an attempt to avert the site.s security policy. For example, an attacker might attempt to hijack an FTP session by changing the packet on the way, and putting different source information instead of the correct source information. The security appliance drops the packet, terminates the connection, and logs the event. The address in parenthesis is the address from the port command.
    Is the address in paranthesis that of the client accessing the FTP service?

  • Syslog server showing: Fatal error: : unable to send NTP packet to ::ffff:172.23.254.89.

    I am working o a case where a syslog server is showing the following log:
    "DW2WLC01.SYS: *sntpReceiveTask: #SNTP-3-FATAL_ERROR_OCCURED: sntp_main.c:233 Fatal error: : unable to send NTP packet to ::ffff:172.23.254.89."
    I have been doing reasearch around but I have not found cases related or log explanations, the only thing I found related is bug CSCug11763. However this bug doesn't offer further details.
    5508 WLC is running 7.6.100
    Anyone has any idea about the possible meanings of that log?

    Hi, Please try to disable IPv6 and then check it:
    (WLC) >config ipv6 disable
    If still same error comes then  please raise a TAC case.
    Regards
    Dont forget to rate helpful posts

  • LSMW AS92 Upload issue

    Hi gurus,
    i have 53000 assets to be changed in my client system for which there are two LSMW programs; one to upload header data and other to upload transaction data.
    But when i ran the LSMW program to update transaction data ( which changes, depreciation key(AFASL) and useful life(NDJAR))
    i get the following error, "Field ANLB-AFASL. is not an input field Field ANLB-NDJAR. is not an input field" for very few(just 38) records.
    Kindly suggest what could have gone wrong for these 38 odd men.
    Thanks and regards,
    ficoguy.

    hi alex,
    checking the SM35 logs gave me insight into the details of the failure.
    one point i noted is for all the 38 assets which failed, in AS92, the Deprec.Areas tab is grayed out and not editable. But for all other assets this is editable.
    don't know why is it so. I hope this difference is actually the cause of the error which running the LSMW program.
    regards,
    ficoguy.

Maybe you are looking for

  • 10.1.3.4 - FTP adapter error while file get

    I created an esb service that reads from a remote server and processes the file locally. It works fine in dev. When I migrated my esb flow to a test environment it is now throwing some error. <AdapterFramework::Inbound> Adapter Framework instance: Or

  • Can I install RAC in my pc computer?

    I am learning RAC, trying to install RAC on my PC computer. Both computer are dell, same configuration, and each computer has two network cards. I have another USB external hard disk, used for the storage, is that doable? Now I will try to install li

  • Create outgoing SSL connections in WebLogic 4.5.1 using JSSE

    Hi, Does anyone know how to create outgoing SSL connections from a WLS 4.5.1 using JSSE. I've implemented an application using JSSE for POSTing data to an HTTPS server that requires client authentication and it worked fine. But when used inside the W

  • ICR Process 003 - Running Data Selection for Accounts without a Group CoA

    Hi Everyone, I am getting an error "Account 'CoCode'/xxxxxxxxxxx: Group Account Number could not be determined" on the reconciliation of some accounts when I run FBICS3. Currently, the operating chart of accounts is not assigned to a Group Chart of A

  • Automation of transaferring Excel data to table in Database

    Hi,        I am new to SSIS. I need to do automation process to transfer data from excel to table in database. I will get the report daily. So how to make the automation process without manually placing the excel table into excel source everyday? 1.