Issue with the ABAP program to find BI lookups and code Patterns

Hello dears,
I'm trying to use the ABAP program LOOKUP_FINDER:
http://wiki.sdn.sap.com/wiki/display/BI/ABAPprogramtofindBIlookupsandcodePatterns
But I have the following issue:
Runtime Errors        
RAISE_EXCEPTION
Short text
    Exception condition "NO_FIELDCATALOG_AVAILABLE" raised.
Error analysis
    A RAISE statement in the program "CL_GUI_ALV_GRID===============CP" raised the
     exception
    condition "NO_FIELDCATALOG_AVAILABLE".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
Source Code Extract
Line  SourceCde
    1 method set_sort_criteria.
    2
    3 *... (1) Trace?
    4   if not mr_trace is initial.
    5     call method mr_trace->add_trace_item
    6       exporting
    7         i_trace_item = 'SET_SORT_CRITERIA'
    8         ir_variant   = m_cl_variant
    9         it_data      = mt_data
   10         it_info      = mt_info.
   11   endif.
   12
   13   if m_cl_variant->mt_fieldcatalog is initial.
>>>>>     raise no_fieldcatalog_available.
   15   endif.
   16
   17   m_cl_variant->mt_sort = it_sort.
   18
   19   call function 'LVC_SORT_COMPLETE'
   20        exporting
   21             it_fieldcat = m_cl_variant->mt_fieldcatalog
   22        changing
   23             ct_sort     = m_cl_variant->mt_sort.
   24
   25 endmethod.
This issue is located in the FM 'REUSE_ALV_GRID_DISPLAY' called at the end of the program.... maybe because the catalog is empty?
For your information, I  called the program 'ZLOOKUP_FINDER'.
Can you help me to fix this issue?
Regards,
Vince.

Hi Vince,
If a table is empty field catalog usually return no error it just display your field catalog with headers .
I think the issue is with building of field catalog .
May be some settings are missing there .
Please check FM REUSE_ALV_FIELDCATALOG_MERGE where field catalog is getting generated.
Regards,
Jaya Tiwari

Similar Messages

  • Performance issue with the ABAP statements

    Hello,
    Please can some help me with the below statements where I am getting performance problem.
    SELECT * FROM /BIC/ASALHDR0100 into Table CHDATE.
    SORT CHDATE by DOC_NUMBER.
    SORT SOURCE_PACKAGE by DOC_NUMBER.
    LOOP AT CHDATE INTO WA_CHDATE.
       READ TABLE SOURCE_PACKAGE INTO WA_CIDATE WITH KEY DOC_NUMBER =
       WA_CHDATE-DOC_NUMBER BINARY SEARCH.
       MOVE WA_CHDATE-CREATEDON  to WA_CIDATE-CREATEDON.
    APPEND WA_CIDATE to CIDATE.
    ENDLOOP.
    I wrote an above code for the follwing requirement.
    1. I have 2 tables from where i am getting the data
    2.I have common fields in both the table names CREATEDON date. In both the tables I hve the values.
    3. While accessing the 2 table and copying to thrid table i have to modify the field.
    I am getting performance issues with the above statements.
    Than
    Edited by: Rob Burbank on Jul 29, 2010 10:06 AM

    Hello,
    try a select like the following one instead of you code.
    SELECT field field2 ...
    INTO TABLE it_table
    FROM table1 AS T1 INNER JOIN table2 AS T2
    ON t1-doc_number = t2-doc_number

  • Firefox often hags with an error message somethng like_Script not complete or still running._I cannot uninstall Firefox with the uninstall program routine inthe control panel and the Mozilla uninstall helper.exe will not run either. How do I uninstall Fi

    Firefox hangs with an error message something like - Script not complete or still running.
    I cannot uninstall Firefox with the uninstall program routine in the Control Panel and the Mozilla uninstall helper.exe program will not run either. How do I completely uninstall Firefox so I can make a clean reload?
    == This happened ==
    Every time Firefox opened
    == Not sure but I think it was after the update

    Thanks for the reply.
    I am very new to these forums (or is it fora?).
    I didn't know there was a Tomcat forum.
    How to I find it.
    Ta much & best regards,
    Pete

  • Is there a compatibility issue with the Current USB 3 external Hard drives and MacBook Pro 2011 (USB 2)?

    I am currently having bad hangs with my 13" MacBook Pro (2011) which I book 2012 ad a New external Harddrive (WD My Passport Edge) which was given to me as a gift.
    Friends of mine told me there is a compatibility issue between the USB 3 cord and the USB outlet of my MacBook Pro.
    Although this shouldnt be the case as the box of the Hard drive I got said it was compatible.
    I even downloaded the WD Drive Utilities and sometimes whenthe Harddrive is plugged in the Utilities doean't Open but just bleeps in the Applications Dock.
    Before I used the Harddrive I read a lot from the WD Manual and went to their site and downloaded a firmware update so I really don't know what the problem is.
    What I am afraid of is that I may lose some files if I place them in the external Harddrive.
    Can anyone help me with this or should I be asking for a replacement harddrive?
    This is my first experience with an external hard drive as I never used one before.
    Thank you very much.

    To be honest, I've had back luck with Western Digital drives and I avoid them at all costs. If I were you, I would return the WD drive and look at externals from OWC or MacMall (LaCie, even G-Tech).
    That's just my personal opinion, mind you...
    Clinton

  • Maintenance View issues with an ABAP program

    Hi,
    I need to update a Maintenance view(V_JURIC) from a txt file. I created an ABAP module to do this and when I update the tables that compose the view(TABLE_A and TABLE_B), the view is not completely getting updated in the last field. Any suggestions? Here is  sample of the code:
    REPORT zbr_loc_mast_data_1 MESSAGE-ID fb.
    TABLES: j_1btxjurt,
            j_1btxjur.
    DATA wa_j_1btxjurv TYPE j_1btxjurv.
    DATA wa_j_1btxjurt TYPE j_1btxjurt.
    DATA wa_j_1btxjur TYPE j_1btxjur.
    DATA: BEGIN OF i_j_1btxjurt OCCURS 2000.
            INCLUDE STRUCTURE j_1btxjurt.
    DATA: END OF i_j_1btxjurt.
    DATA: i_j_1btxjurv LIKE j_1btxjurv OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF rec OCCURS 0,
          tbl_name(10)     TYPE c,        " Table name(Constant 'J_1BTXJURV')
          field_2(1)       TYPE c,        " Constant "X"
          jur_code(10)     TYPE c,        " Jurisdiction code
          municip(60)      TYPE c,        " Municipality Name
    END OF rec.
    DATA: w_num_recs TYPE i.
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
    PARAMETERS: in_file TYPE localfile OBLIGATORY
                DEFAULT 'C:\lista de municipios.txt'.
    SELECTION-SCREEN END OF BLOCK block1.
    START-OF-SELECTION.
      PERFORM read_file.
      IF sy-subrc = 0.
        PERFORM update_table.
      ENDIF.
    END-OF-SELECTION.
    *Summary
        WRITE: / 'Number of records read: ' COLOR COL_TOTAL INVERSE OFF INTENSIFIED ON,
             32 w_num_recs COLOR COL_POSITIVE INVERSE OFF
                INTENSIFIED ON.
    *       Form  read_file
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM read_file.
      DATA: l_filename TYPE string.
      MOVE in_file TO l_filename.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = l_filename
          filetype                = 'DAT'
    *      HAS_FIELD_SEPARATOR     = SPACE
    *      HEADER_LENGTH           = 0
    *      READ_BY_LINE            = 'X'
    *      DAT_MODE                = SPACE
    *      CODEPAGE                = SPACE
    *      IGNORE_CERR             = ABAP_TRUE
    *      REPLACEMENT             = '#'
    *      VIRUS_SCAN_PROFILE      =
    *    IMPORTING
    *      FILELENGTH              =
    *      HEADER                  =
        CHANGING
          data_tab                = rec[]
        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.
        MESSAGE e039 WITH in_file.
      ENDIF.
    ENDFORM.                    " read_file
    *       Form  update_table
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM update_table.
      CLEAR: w_num_recs,
             w_num_recs_btable,
             w_num_recs_atable,
             w_num_recs_inserted.
        LOOP AT rec.
        w_num_recs = w_num_recs + 1.
        MOVE 'BR'          TO wa_j_1btxjur-country.
        MOVE rec-jur_code  TO wa_j_1btxjur-taxjurcode.
        MOVE 'PT'          TO wa_j_1btxjurt-spras.
        MOVE 'BR'          TO wa_j_1btxjurt-country.
        MOVE rec-jur_code  TO wa_j_1btxjurt-taxjurcode.
        MOVE rec-municip   TO wa_j_1btxjurt-text.
        INSERT into j_1btxjurt values wa_j_1btxjurt.
        IF sy-subrc = 0.
          COMMIT WORK.
        ENDIF.
        INSERT into j_1btxjur values wa_j_1btxjur.
        IF sy-subrc = 0.
          COMMIT WORK.
        ENDIF.
      ENDLOOP.
      ENDFORM.                    " update_table
    Edited by: Thomas Zloch on Nov 5, 2010 9:24 AM - please use code tags

    MOVE 'PT'          TO wa_j_1btxjurt-spras.
    maybe change that to:
    MOVE 'P'          TO wa_j_1btxjurt-spras.

  • Issue with the recovery

    Hello, I have a Hp Pavillion laptop Model number: HP2000-2202TU with preinstalled Windows 8.I had some issues with the virus so i formatted my laptop and directly installed windows 10.I was unable to use the product key of the Windows 8 to activate windows 10.From friends and this forum i got an advice to recover the Windows 8 and then upgrade it to Windows 10.But i am trying it from two days i am unable to go back again to windows 8.I am unable to find which version of windows 8 is installed on this model.I am not finding the windows 8 64 bit to download.Can you please tell me what to do or can give me links for1. HP recovery management downloads2. which version of windows 8 was installed?3. Link for the windows 8 64 bit which i can use this OEM product Key.Any other methods to overcome this.  

    According to the matrix documentation of 11 release 1 which clearly state that 9.2.0.8 can support all as my installation
    as following
    databases version (9.2.1.0, 9.2.0.8, 10.2.0.4, 11.1.0.6)
    Rman catalog database + Schema + Rman utility is (9.2.0.8) database
    Now 11 release 2 matrix documentation says no you have to use 10.2.0.3 even oracle documents are confusing me
    I have successfully registered all the database in my catalog as well run ( crosscheck archivelog all, report schema ) was functioning smoothly
    when its came to the integration part to HP - Data Protector it started to through me an error ( this version of database its not compatible with recovery manager)
    and what does this oracle document senario means
    ====================
    RMAN Compatibility:
    Scenario
    Assume that you maintain a production databases of the following releases:
    9.2.0
    10.2.0
    11.2.0
    You want to record RMAN repository data about these databases in a single recovery catalog database. According to Table B-2, you can use a single 11.2.0 recovery catalog database with a 11.2.0 catalog schema for all target databases. Ensure that the version of the RMAN client used to back up each target database meets the following requirements:
    Use the 9.2.0 RMAN executable to back up the 9.2.0 database.
    Use either the 9.2.0 or 10.2.0 RMAN executable to back up the 10.2.0 database.
    Use any RMAN executable to back up the 11.2.0 database.
    ==================================
    All what i want is to achieve one single catalog for all the above mentioned oracle versions and can be integrated with HP-DP
    can anyone explain this doubts and give me a best solution to achieve desire solution if not what are the altarnative ??/
    thanks and sorry its quite log post
    Regards

  • [svn] 4488: Attempt to fix the heap-space issue with the doc target.

    Revision: 4488
    Author: [email protected]
    Date: 2009-01-12 12:10:58 -0800 (Mon, 12 Jan 2009)
    Log Message:
    Attempt to fix the heap-space issue with the doc target.
    Also removing some unused code.
    QE Notes: None
    Doc Notes: None
    tests: checkintests
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/airframework/build.xml
    flex/sdk/trunk/frameworks/projects/flash-integration/build.xml
    flex/sdk/trunk/frameworks/projects/flex/build.xml
    flex/sdk/trunk/frameworks/projects/flex4/build.xml
    flex/sdk/trunk/frameworks/projects/framework/build.xml
    flex/sdk/trunk/frameworks/projects/haloclassic/build.xml
    flex/sdk/trunk/frameworks/projects/rpc/build.xml
    flex/sdk/trunk/frameworks/projects/utilities/build.xml
    flex/sdk/trunk/frameworks/projects/wireframe/build.xml
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
    Removed Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/PumpStreamHandler.java

    1. Tell more about it, e.g.: OS, a sun jdk or a ibm jdk? 32-bit or 64-bit?
    for ibm jdk, look for *.hpd file within the dir.
    for sun jdk, add startup option -XX:+HeapDumpOnOutOfMemError
    Then analyze them with heap analyzer.
    2.MaxPermSize=1024m so big space for class files, really necessary?

  • LR5 Issues with the CC Version?

    Hello,
    I've had a few deal-breaking issues with the released version of LR5 for Windows and read about several others.  There seems to be some consistency with the types of issues people are having with, at least, the Windows version of the software.  I think that Adobe is splitting the code stream with LR5 since it is offered as both a stand-alone product and as part of the Creative Cloud.
    Done with LR5
    Spot Removal Mouse Movement
    (several other issues are mentioned within the above threads)
    I am wondering of any Creative Cloud users of LR5 are having the same problems that have been reported in this forum with the stand-alone version.
    Thanks,
    ~Steve

    Experiencing same problems with spot removal in Lightroom CC (2015).
    I'm going to look for a new LR CC thread but posting here for now.
    Using iMac 5K
    4Ghz i7
    16GB Ram
    AMD Radeon R9 M290X 2048 MB
    Wacom Intuos 3. Performance with tablet slower than mouse but still lots of lag with the mouse. Again, slower when 1:1 but also plenty of lag when FIT.
    Anyone having similar experience with LR CC - thoughts much appreciated?

  • Tool creation for checking program of ABAP in TXT format with the ABAP stds

    Tool creation for checking program of ABAP in TXT format with the ABAP stds

    Hello Jagrut
    There is a simple reason why we cannot do off-line ABAP development:
    - the <b>ABAP dictionary</b> (which contains all structures, tables, data elementes, etc.)
    Because even the simplest ABAP report (except for the "Hello World" report) will reference some objects from the ABAP dictionary and, thus, requires to access these objects directly. Therefore, we are still bound to server-side ABAP development.
    Regards
      Uwe

  • I am using system 10.8.2 and have an issue with the screen saver not filling the screen. the desktop does, but not the screen saver. I find adjustments for the desktop, but not the saver. Would appreciate any suggestions.

    I am using system 10.8.2 and have an issue with the screen saver not filling the screen. the desktop does, but not the screen saver. I find adjustments for the desktop, but not the saver. Would appreciate any suggestions.

    I have a group of my images that rotate, and yes it happens oneach. I do believethat I have at one time had the images cover the entire screen, however I cannor remember how I made that happen, just like the desktop. I am sure it is old'ites setting in!

  • I have an issue with the Recycle Bin. It does not respond if I click on the Icon. I have to empty the bin via another programve an issue with the Recycle Bin. It does not respond if I click on the Icon. I have to empty the bin via another program

    I have an issue with the Recycle Bin. It does not respond if I click on the Icon. I have to empty the bin via another program

    "CCleaner" is a scam and it may well have corrupted the operating the system. Get rid of it according to the developer's instructions, then see below.
    If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.
    If you use FileVault 2, then before running the Installer you must launch Disk Utility and select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon, usually with the same name. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main Recovery screen.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.
    *The linked support article refers to OS X 10.10 ("Yosemite"), but the procedure is the same for OS X 10.7 ("Lion") and later.

  • Termination occurred in the ABAP program "RK2APA00_POST" - in

    Hi everybody...I have a cancelled job when run only in applications servers , I see a dump "message typeX" , but when job run in Central Instance not cancelled and finish ok.
    The name Job is Zcupon and attach to continue dump info , sorry for extended but I want send all information possible.
    know if you can add a file with the abstract and not have to paste the text of the dump, thanks for the help they can deliver.
    Regards....Freddy Solar....
    Errores tiempo ejec.   MESSAGE_TYPE_X
    Fecha y hora           18.11.2008 06:35:30
    Texto breve
    The current application triggered a termination with a short dump.
    ¿Qué ha sucedido?
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).
    Anál.errores
    Short text of error message:
    RFC_ERROR 4 Conversation 93690218 not found / CPIC-CALL: 'ThSA
    Technical information about the message:
    Message classe...... "KE"
    Number.............. 628
    Variable 1.......... "RFC_ERROR"
    Variable 2.......... 4
    Variable 3.......... "Conversation 93690218 not found / CPIC-CALL: 'ThSA"
    Variable 4.......... " "
    Last error logged in SAP kernel
    Component............ "SAP-Gateway"
    Place................ "SAP-Gateway on host SCPAPP1 / sapgw03"
    Version.............. 2
    Error code........... 728
    Error text........... "Conversation 93690218 not found"
    Description.......... " "
    System call.......... " "
    Module............... "gwxxrd.c"
    Line................. 6156
    The error reported by the operating system is:
    Error number..... " "
    Error text....... " "
    Notas para corregir errores
    Probably the only way to eliminate the error is to correct the program.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    please use the following search criteria:
    "RK2APA00_POST" "MESSAGE_TYPE_X"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
    To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
    To obtain this, call the system log with Transaction SM21
    and select the "Print" function to print out the relevant
    part.
    3. If the programs are your own programs or modified SAP programs,
    supply the source code.
    To do this, you can either use the "PRINT" command in the editor or
    print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
    or which actions and input led to the error.
    Entorno sistema
    SAP-Release 700
    Application server... "SCPAPP1"
    Network address...... "10.1.40.130"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 3
    Shortdump setting.... "full"
    Database server... "BALTICO"
    Database type..... "DB400"
    Database name..... "SCP"
    Database user ID.. "R3SCPDATA"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Jun 30 2008 00:10:07"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "DB4_53"
    Patch level. 167
    Patch text.. " "
    Database............. "V5R3, V5R4, V6R1"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
    NT 6.0"
    Memory consumption
    Roll.... 16192
    EM...... 159213920
    Heap.... 0
    Page.... 5660672
    MM Used. 145143664
    MM Free. 5680112
    Usuario y transacción
    Client.............. 400
    User................ "ZUSRTARJETAS"
    Language key........ "S"
    Transaction......... " "
    Program............. "RK2APA00_POST"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Info posición de cancelación
    Termination occurred in the ABAP program "RK2APA00_POST" - in
    "INSERT_CE4_FLUSH_BUFFERS".
    The main program was "ZVI_CUPON ".
    In the source code you have the termination point in line 100
    of the (Include) program "RKEVRK2A_POST_COMMIT__FIX".
    The program "RK2APA00_POST" was started as a background job.
    Job Name....... "ZCUPON"
    Job Initiator.. "ZUSRTARJETAS"
    Job Number..... 02044200
    Detalle código fuente
    Lín.
    Txt.fte.
    70
    subrc = sy-subrc.
    71
    CLEAR: g_t_ce4a_dbbuf[], g_t_ce4_dbbuf[].
    72
    73
    case subrc.
    74
    when 1.
    75
        Records were to be inserted into the acct.ref. table CE4xxxx_ACCT
    76
        but the acct. reference numbers were already occupied. Most likely
    77
        This problem is due to a explicit or implicit change to the
    78
        number range COPA_OBJ (subobject is the operating concern)
    79
        e.g. caused by illegally transporting the contents of CO-PA
    80
        transaction data table contents (CE4xxxx / CE4xxxx_ACCT).
    81
        Please check OSS for notes with keywords RKEVRK2A_POST, KF216
    82
        and CE4XXXX_ACCT. If you do not find any applicable notes please
    83
        log an OSS message.
    84
    MESSAGE x216(kf) WITH gc_ce4acct_name.
    85
    86
    when 2.
    87
        Records were to be inserted into the segment table CE4xxxx
    88
        but the segment numbers were already occupied. Most likely
    89
        This problem is due to a explicit or implicit change to the
    90
        number range COPA_OBJ (subobject is the operating concern)
    91
        e.g. caused by illegally transporting the contents of CO-PA
    92
        transaction data table contents (CE4xxxx).
    93
        Please check OSS for notes with keywords RKEVRK2A_POST, KF203
    94
        and CE4XXXX. If you do not find any applicable notes please
    95
        log an OSS message.
    96
    MESSAGE x203(kf).
    97
    98
    when 3 or 4.
    99
        Communication error in RFC-Call
    >>>>>
    message x628(ke) with 'RFC_ERROR' subrc msg_text.
    101
    102
    endcase.
    103
    104
    ENDFORM.
    105
    Edited by: freddy solar on Jan 2, 2009 8:39 PM

    Hi,
    it looks like you have some problem with RFC. It stopped on the following line:
    * Communication error in RFC-Call
    message x628(ke) with 'RFC_ERROR' subrc msg_text.
    Ask your basis guy to check it. The job on application server tried to connect to the central instance and it failed. The job run on central instance does not need to make any RFC call. Hence there is no problem in this case.
    Regards

  • .msg files open in new tab or window, not with the default program

    Hello,
    I am having an issue with .msg files not opening with the default program, Outlook. They are opening in a new tab and it is just a bunch of gibberish from the email header. Does anyone know how to force IE to open the .msg files in Outlook? They open fine
    in Chrome and Firefox.
    Thanks for your help!

    Hi,
    First I suggest we take a try in IE with no-addons.
    Follow the steps below:
    1. Click Start -> All Programs -> Accessories -> System Tools -> Internet Explorer (with no add-ons)
    2. Press Shift, then right click Internet Explorer icon on taskbar, select run as administrator;
    Please also take a verify that if the outlook is set to the default open program of .msg files:
    Control Panel\All Control Panel Items\Default Programs\Set Default Programs, find the .msg file and take a look.
    Then we may try to use process monitor to track the root cause of this issue:
    The download link here:
    Process monitor
    And here is
    a blog talking about how to use it:
    Process Monitor - Hands-On Labs and Examples
    Hope this may help
    Best regards
    Michael Shao
    TechNet Community Support

  • Triggering a background job of class 'A' from within the ABAP program

    Dear All,
    We are implementing SAP ECC 6.0 on IBM System i, i5/OS V5R4,  SAP kernel 7.00, kernel patch level 173.
    Is there a way to control that when a background job is triggered from within an ABAP program using the : CALL FUNCTION 'JOB_OPEN' statement, the background job is of class A ?
    I know that through transaction SM37, the job class for a background job can be changed manually, but the situation is an outsource company did for us some changes in the native SAP ABAP programs related to some SAP native transactions, and those programs trigger at their end some background jobs, each job running with the name of user running the transaction.
    Through SM37, I can't find a template background job, to be changed to have class 'A'
    The following is an excerpt from the ABAP code, bearing the CALL FUNCTION 'JOB_OPEN' statement :
    FUNCTION z_cs_technical_completion.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(AUFNR) TYPE  VBRP-AUFNR
      DATA jobcount TYPE tbtcjob-jobcount.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname                = 'CS_TECH_COMPLETE'
      SDLSTRTDT              = NO_DATE
      SDLSTRTTM              = NO_TIME
      JOBCLASS               =
       IMPORTING
         jobcount               = jobcount
    CHANGING
      RET                    =
       EXCEPTIONS
         cant_create_job        = 1
         invalid_job_data       = 2
         jobname_missing        = 3
         OTHERS                 = 4
      SUBMIT zcs_technical_completion
              WITH p_aufnr EQ aufnr
                AND RETURN
              VIA JOB 'CS_TECH_COMPLETE'
              NUMBER jobcount.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = jobcount
          jobname              = 'CS_TECH_COMPLETE'
          strtimmed            = 'X'
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          invalid_target       = 8
          OTHERS               = 9.
    ENDFUNCTION.
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

    Dear Darren,
    Thank you very much for your cooperation and for your prompt reply.
    Could you please explain to me how to find out the template background job that was first used, or in other words, how things were set up in the first place, i.e. when first the ABAP program was written and executed, there had to be at least one background job created through transaction SM36 ?
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

  • How to read an IDoc with an ABAP program?

    Hi experts!
    I am new to SAP and I need to read an IDoc with an ABAP program... how to do it?
    Maybe it is possible to read an IDoc into inner table...?
    Hellpful answers and advices will be rawarded.
    Regards,
    Mindaugas.

    hi
    I understand your issue, to pickup an IDOC flat file & post it to R/3 (with or without mapping).
    There is no straight forward solution but there are some ways (Normal way of Working as of now ?!!!) provided in the "How to"
    check this link
    https://websmp101.sap-ag.de/nw-howtoguides
    and look for this guide
    How To Convert Between IDoc XML and Flat Files in XI.30
    Probably you need to automate this using some programs,
    - Create an ALE port of type File
    using transaction WE21 on your
    Integration Engine.
    - Run report RSEINB00 on your
    Integration Engine. The report will
    upload the file, filter the IDoc header
    data, perform the conversion to IDoc
    XML and put the data into the
    pipeline of the Integration Server.
    Therefore it is crucial, that the IDoc
    control record data is populated
    correctly and corresponds to the
    adapter-specific identifiers of your
    sender service. Once the message
    is put successfully into the pipeline
    of the Integration Server, the file is
    deleted.
    Hope this fixes your issue
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

Maybe you are looking for

  • OCCI problem with Borland

    I try to compile OCCI example with Borland C and receiving this error in occiCommon.h: typedef OCCI_STD_NAMESPACE::basic_string<utext> UString; 1) Too few arguments in template class name 'basic_string' 2)Declaration terminated incorrectly

  • Magic Mouse Click Pressure

    I Just recently bought a Magic Mouse and noticed, I was clicking too hard on the LEFT side of the mouse, So, now I see a little more space on the RIGHT SIDE you know what I mean?, this action could be Broke or damage my Magic Mouse through the years?

  • Help!! It wont turn on..

    My phone was working untill i disconnected it from my computer, since then i have not been able to turn my phone on, the most i get from it is the apple logo for 1 second which subsequently disappears any thought? I'm at my wits end. I'v tried to res

  • HT1338 Calendar is missing on my macbook pro. how do I get it back please?

    I am on OS X 10.8.3 MacBook Pro Calendar was fine and in use until I suspect I had visitors and theirchild was on my mac. On the Dock is  a question mark with the number 28 (today being 28th April) where the Calendar used to be. No sign of it in Appl

  • Used black ink cartridge in use

    I own a HP Laserjet M2727 MFP series 5.2 . A message appears " Used  black ink cartridge in use". I have ink in the cartridge because i can print from the flat bed no problem. What does this message mean and how can i fix it? Thx.