Trcing down to JOB or program level from Short dump or system log in APO.

Hi Guru's
Can anyone please guide me how to trace down to JOB or program level from ST22 and SM21 logs.
I have SQL errors and lock entries in APO system, I want to find which program or job writing them.
Thanks in advance,
Sreerama.

Hi,
Thanks for the replay,
I have checked same way as you suggested >>>> in ST22 dump, but it is taking me to Include "LARFCF06" which is trying to delete ARFCSTATE table.
and I have error message :
Database error text........: "[1205] Transaction (Process ID 291
deadlocked on lock resources with another process and has been
deadlock victim. Rerun the transaction."
Internal call code.........: "[RSQL/DELE/ARFCRSTATE ]"
Please check the entries in the system log (Transaction SM21).
User and Transaction
    Client.............. 100
    User................ "APORFC"
    Language Key........ "E"
    Transaction......... " "
    Transactions ID..... "002FE8DE2A71F1B182E80019BB345F90"
    Program............. "SAPLARFC"
    Screen.............. "SAPMSSY1 3004"
    Screen Line......... 2
    Information on caller of Remote Function Call (RFC):
    System.............. "P48"
    Database Release.... 700
    Kernel Release...... 700
    Connection Type..... 3 (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
    Call Type........... "synchron and non-transactional (emode 0, imode 0)"
    Inbound TID.........." "
    Inbound Queue Name..." "
    Outbound TID........." "
    Outbound Queue Name.." "
    Client.............. 100
    User................ "APORFC"
    Transaction......... " "
    Call Program........."SAPLERFC"
    Function Module..... "ARFC_DEST_CONFIRM"
    Call Destination.... "NONE"
    Source Server....... "debosap172_P48_21"
    Source IP Address... "10.132.184.172"
    Additional information on RFC logon:
    Trusted Relationship " "
    Logon Return Code... 0
    Trusted Return Code. 0
    Note: For releases < 4.0, information on the RFC caller are often
    only partially available.
Information on where terminated
    Termination occurred in the ABAP program "SAPLARFC" - in
     "DELETE_ARFC_ORPHANS_WO_COMMIT".
    The main program was "SAPMSSY1 ".
    In the source code you have the termination point in line 508
    of the (Include) program "LARFCF06".
    The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
    procedure "DELETE_ARFC_ORPHANS_WO_COMMIT" "(FORM)", but it was neither handled
     locally nor declared
    in the RAISING clause of its signature.
    The procedure is in program "SAPLARFC "; its source code begins in line
    489 of the (Include program "LARFCF06 ".
Now I want to find how this dead lock is created and which two (programs or JOB's) causing this dead lock.
And program "APLARFC" is not a exicutable program and even I try to where used list I am not able to find exicutable program.
now I need to find which are the two programs or jobs causing this loack.
Thanks in Advance,
Sreerama.

Similar Messages

  • How to Fetch Cancelled Jobs info along with the Short Dump Text

    Hi Gurus,
    I need to develop a report to fetch the cancelled jobs information for the given period. I also need to display the "Error Analysis" part of the Short Dump if it exists.
    I am able to fetch the Failed Jobs information and the Job log details using the FM "BP_JOBLOG_READ". But I need to show the "Error Analysis Text" on the report , if there is any Short Dump Exists for the Dump.
    Please give me your ideas to fetch the Error Analysis part of the short dump for a given Batch Job Name.
    Thanks in Advance.
    Best Regards,
    Sumalatha

    The dump information is in table SNAP. You could identify which dump you want by the date & time of the failed job - let's hope you don't have more than one dump with the same time. If it is ambiguous you could also compare the program name of the failed step with the program name in the SNAP data.
    The error analysis texts are in table SNAPT keyed according to which error occurred (which is data element code FC right at the start of the first record in the SNAP data). You will have to expand out the includes, and substitute the variable codes using values from the SNAP data. There is standard code to do this that you could copy - see program SAPMS380.
    To find out the details of the SAP process you could run transaction ST22 via the debugger and use the same mechanism.
    best wishes
    Ed
    PS Note these details apply to recent systems I think there may be differences if you go back to before ?2004, but I don't have such a system so can't check. You didn't say what release you have.

  • In 4.5b system, program temporarily buffered; short dump when changing

    Hi,
    I have a program needs to be activated in 4.5B system.. when I clicked on Change button it is displaying options: -
    a) get temporary version
    b) get from database and keep temporary
    c) get from database and delete temporary
    I tried all the 3 options... and try to change the program and activate it.. It is going to short dump.
    Could someone tell what needs to be done..to activate the program and delete the temporary version.
    Regards,
    HK

    Hi,
    Thats the real problem . Try this way which i used previously. dont know how effective in 4.5B
    1) In the SE38 screen, give the program name. in the menu list,
       Utilities ->Versions->Versions Management
    2) Try compare the latest with last version. Note down if there are any changes. If not much, you can select the previous version and press Retrieve button ( or CTRL + F5 )
    Then try enter the program again. It will be in previous version. then you can activate it
    If still this is not working, the practical way is to copy the program, save in local system. Delete the program and create a new one
    //Kothand

  • ABAP Program Short Dump in BW

    I have created a dynamic program which would read any table name as input parameter and print the contents. Its working if I use  a small table(3 fields) and the same program is throwing short dump if pass a big table.
    Shortdump
    "SAPSQL_SELECT_TAB_TOO_SMALL" C           
    "ZBW_DYNAMIC_ITAB1" or "ZBW_DYNAMIC_ITAB1"
    "START-OF-SELECTION"                      
    Error in the line below
       61                                  
       62 * Select Data from table.        
    >>>>> select * into table <dyn_table>  
       64            from (p_table).       
       65                                
    Program
    *& Report  ZBW_DYNAMIC_ITAB1
    REPORT  ZBW_DYNAMIC_ITAB1.
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    data: alv_fldcat type slis_t_fieldcat_alv,
          it_fldcat type lvc_t_fcat.
    type-pools : abap.
    data : it_details type abap_compdescr_tab,
           wa_details type abap_compdescr.
    data : ref_descr type ref to cl_abap_structdescr.
    data: new_table type ref to data,
          new_line  type ref to data,
          wa_it_fldcat type lvc_s_fcat.
    selection-screen begin of block b1 with frame title text .
    parameters: p_table(30) type c.
    selection-screen end of block b1.
    Get the structure of the table.
    ref_descr ?= cl_abap_typedescr=>describe_by_name( p_table ).
    it_details[] = ref_descr->components[].
    loop at it_details into wa_details.
      clear wa_it_fldcat.
      wa_it_fldcat-fieldname = wa_details-name .
      wa_it_fldcat-datatype = wa_details-type_kind.
      wa_it_fldcat-intlen = wa_details-length.
      wa_it_fldcat-decimals = wa_details-decimals.
      append wa_it_fldcat to it_fldcat .
    endloop.
    Create dynamic internal table and assign to FS
    call method cl_alv_table_create=>create_dynamic_table
                 exporting
                    it_fieldcatalog = it_fldcat
                 importing
                    ep_table        = new_table.
    assign new_table->* to <dyn_table>.
    Create dynamic work area and assign to FS
    create data new_line like line of <dyn_table>.
    assign new_line->* to <dyn_wa>.
    Select Data from table.
    select * from (p_table) into table <dyn_table>
    Write out data from table.
    loop at <dyn_table> into <dyn_wa>.
      do.
        assign component  sy-index  of structure <dyn_wa> to <dyn_field>.
        if sy-subrc <> 0.
          exit.
        endif.
        if sy-index = 1.
          write:/ <dyn_field>.
        else.
          write: <dyn_field>.
        endif.
      enddo.
    endloop.

    Hi,
    The dynamic table that is generated is not converting the exact output length in case of packed numbers.
    Foe eg : If there is an packed field of length 7 , the dynamic table is converting it to Char 7 , but the actual output length of Pack 7 is 15.Hence it is giving short dump saying that Internal Table length is not sufficient.
    Probably it might have worked for smaller tables for you because you might not have used Packed field in there.
    Regards,
    Vijay.

  • Short Dump while copying Org structure from ERP to CRM

    Hello Experts:
    We are trying to copy the Org structure from ECC to CRM.
    We have a standard transaction 'CRMC_R3_ORG_GENERATE' to copy the the org structure from ECC or the IMG path:
    SPRO->CRM->Master Data->Organization Management->Data Transfer->Coppy ECC Sales Structure
    We have a multiple assignment scenario where each sales groups are assigned to multiple sales offices and likewise,each sales office is assigned to multiple sales org unit in ECC.
    This can be achieved by turning on the enhanced version.
    In our current business,even though the sales offices and groups are created,but are not having relavance in the business,hence while running in the sandbox system, we ran the program to copy the structures in the standard mode(default) and we could copy it without issues and create the org units for every entity in CRM based on how the number ranges are defined.
    What happens when enhanced version switch is turned on ::
    While we turn the mode to enhanced version, The system automatically::
    - enhances the Function tab page in the ppoma_crm  transaction to include a grid table, in which you maintain multiple assignments of organizational units
    - generates an extra dialog box to the Organization tab page in business transactions for you to select the relevant assignment path for the organizational unit
    - adapts the consistency check in business transactions to take into account organizational units that have been multiple assigned
    Risk factor :
    Once you have switched to the enhanced backend integration version of the organizational model you cannot return to the standard backend integration version. The system will also automatically make changes to the organizational model version in CRM Mobile Sales.
    Also this structure will happen across all the clients in the system,so unfortunately cannot try in a sandbox client also of the new environment.
    We are building our development box,so while running the above step in standard mode,the program gives a short dump due to long execution time even though we have the same amount of data as in our prototype system.
    Also, we increased the idle time value to a very high value.
    When I approached SAP OSS,I was told that it is due to the multiple assignment scenario,hence we need to switch to enhanced version in CRM before we run the copy program ( CRMC_ORG_R3_GENERATE )
    I am not quite sure if the mismatch of the scenarios between CRM and ECC could be causing this short dump as we could run it in standard mode in our prototype/sandbox environment without issues even  with the same data volume as in the new development system .
    I am looking for help from all the experts if they have come across similar issue and your recommendations/feedback if this can be corrected.
    Appreciate your guidance/recommendation on this issue.
    thanks!!

    In CRM Best Practices Building block C05 is the step by step description how to replicate Org. structure and some of employee's master data.
    Follow link - http://help.sap.com/bp_crmv12007/CRM_DE/BBLibrary/html/C05_EN_DE.htm

  • Program giving short dump

    I have created an alv grid display .But when am pressing
    word processing or excel download buttons in the tool bar ,the program is giving short dump.The display and all are perfect the dump happens only if i press word processing or excel download buttons .Kindly help.
    You help will be greatly appreciated.
    The error is generated while in standard code.
    1095                                     using r_ucomm
    1096                                           ls_selfield.
    1097
    >>>>>   rs_stable-row = ls_selfield-row_stable.
    1099   rs_stable-col = ls_selfield-col_stable.
    1100
    1101   r_refresh = ls_selfield-refresh.
    1102   r_exit    = ls_selfield-exit.

    Hii
    plzz open excel in your computer .
    goto TOOLS>MACRO>SECURITY .Make sure that your security is set to Medium (or less). Microsoft has increased their default security setting to High. With the High setting, the output to Excel fails.
    plzz paste the part of the code where it is going for dump
    and also give the error analysis as mentioned in the dump report
    if you want i can give you a sample alv grid program for you can cross chk it
    for more refer to this guide
    <b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an easy reference for alv grid control.pdf</b>
    Regards
    Naresh

  • Logging errors from job's program

    Hello,
    I want to log error returned from the job's program and I wonder whether it is possible at all.
    What I have done is:
    1) write a procedure
    2) create a program executing this procedure
    3) create a job running this program
    From time to time this procedure returns error (it does some operation on objects and sometimes some of them are invalid). Normally, this error causes job to finish it's action (job failure as well). I needed this job to proceed so I added a clause 'exception when others then null'. Now it works, but it's a temporary solution because I need to capture this error and log it, so that it is available for further investigation.
    I searched through oracle doc and it seems the only choice is to create my own table or file and log the results into it.
    Does any of you know any other way? For example to log it in somehow into system tables (like dba_scheduler_job_run_details).
    Thanks in advance,
    Aliq

    Hi Dharmesh,
    Thanks for responding.
    This is a large deployment involving hundreds of applications and servers. My responsibility is to come up with development guidelines for applications hosted on TS. I have gone through the guidelines
    posted by Microsoft @
    http://msdn.microsoft.com/en-us/library/aa383490(v=vs.85).aspx. But it didn't cover the topic on logging.
    Do you know whether Microsoft has published any other document on this topic.
    Thanks,
    Raj

  • Jobs at OS level..

    How to schedule background jobs at OS level?

    Hi
    Each job requires a background process and a job may consist of one more steps
    You have to chose from the following
    1)ABAP program/with or with variant
    2)External command
    3)External program
    External command: These commands are used to execute certain functionality in the system,
    External Program: When it requires a program in the external system  we can use this facility. We need to specify the program, parameter and target host . Sap xpg is the  executable which will run the external program
    Regards
    Bhaskar

  • Program Running from Long Time

    Hi Friends,
    There is a program running from long time. Can anybody let me know how can i analyse this program other than SM50, SM51, SM66. Its a CRM Program.....there are no logs.......
    Points will be rewarded....
    Thanks,
    Nagesh.

    Hi,
    I will suggest you to check a few places where you can see the status
    1) SM37 job log. If its active make sure that the job log is getting updated at frequent intervals.
    2) Get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. See if its accessing/updating some tables or is not doing anything at all.
    If its running and if you are able to see it active in SM66 you can wait for some time to let it finish.
    3) You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
    If you feel its active and running you can verify by checking if the number of records getting updated/ inserted /deleted in table level.
    You can take the help of Basis/DB2 to find out what is actually happening in the background.
    This is the best way to identify of something is happening in the database level.
    Thanks,
    JituK

  • How to Schedule SAP background job at OS Level

    Hi All,
    Can Anyone tell me how to Schedule SAP background job at OS Level (unix).
    Regards,
    Anil

    Hi Anil,
    I donu2019t know your requirements, anyway itu2019s possible to setup your SAP job in order to start after an event, and after that you can get the event triggered from the Operating System in the following way:
    - log into you Operating System with the SIDadm user id (at the Operating System level) and go to directory /usr/sap/SID/SYS/exe/run
    - Run the SAPEVT executable as follows:
    sapevt YOUR_EVENT -t pf=/usr/sap/SID/SYS/profile/DEV_DVEBMGS00_server001 nr=01
    This will raise the event, and cause the job scheduled within SAP to execute.
    You can periodically execute this job with crontab.
    Thanks,
    Federico Biavati

  • Can you see ink levels from Eprint center for the OfficeJet 7500A/E910

    Can You monitor ink levels from eprint center for the OfficeJet 7500A/E910?
    This question was solved.
    View Solution.

    Hello Raimonds,
    To answer your question, you are not able to check your ink levels from ePrint Center. The only thing that you can do in ePrint Center is monitor the status of your recent print jobs that you send via ePrint and monitor the status of connection of your printer to the ePrint Servers.
    If I have SOLVED your issue, please feel free to provide KUDOS and make sure you mark this thread as SOLUTION PROVIDED!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • I have totally "uninstalled" what I had and then reinstalled the newest  version of itunes.  Still......  First, when I click on the itunes icon to load it takes the program anywhere  from two to three minutes to load.  None of my other programs take this

    I have totally "uninstalled" what I had and then reinstalled the newest
    version of itunes.  Still......
    First, when I click on the itunes icon to load it takes the program anywhere
    from two to three minutes to load.  None of my other programs take this
    long.
    When in the itunes program I can be moving around in my library and itunes
    when choosing a song or songs, choosing file, edit, etc,. whatever command I
    choose it just suddenly stops.  I can issue five commands and watch each one
    respond in 30 second to two minute intervals.  I can issue several commands,
    even shutting down, and it will do all but takes several minutes to do so.
    My itunes program was working fine when this problem suddenly arose.
    Terry

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99436)

  • Changing Batch Management Level from Material to Plant

    Hi all,
    We are investigating changing our batch management level from material to plant to meet business requirements.
    SAP has pointed us to a note with a program to reset the batch level, as well as highlighting some things to look out for.
    I've conducted the change in a playpen system and so far it looks relatively straightforward, with complexities arising only when characteristics exist, or when a batch exists in multiple plants.
    Seems that batch master data is moved from MCH1 to MCHA, including the object link number to classification. Unfortunately it seems a limitation of the conversion is that the batch master data is copied to ONE plant only in MCHA, no doubt due to the fact the object number link to classification must be unique.
    My question is this: has anyone performed this change before, and if so can you offer me any advice on what to look out for, or potential problems that arose after the change?
    Any help or comments are appreciated.
    Mark.

    hi..
    first of all try this simple one...
    You will have to delete all the materials, remove stock and then switch the batch management flag.
    Or
    To convert the batch from plant level to material there is Conversion Program defind by the SAP...
    1. For all releases lower than Release 4.5B, implement the corrections and the modification in the report RM07CHDX as described in the correction instructions.
    2. Create the report ZCHTCUCH, which is specified in the attachment.
    3. Run this report in the clients for which you want to reset batch level to plant level.
    4. Call transaction OMCT.
    5. Check whether the batch level for "Batch unique at plant level" is set.
    6. Implement Notes 821891, 944278, 950540 and 1091613 if you have not already done so (or you have not imported the corresponding Support Package).
    7. Execute the function "Batch Level -> Conversion".
    8. Define a plant for a plant view that may be missing.
    9. Always execute the report in the test mode first. Analyze the error log.
    10. If no errors occur, you can execute the report in production mode.
    11. If you are working with batch long texts, first execute the report ZM07CHDX_TEXT in test mode.
    try this out..hope is works,,
    Thanks..

  • APO DP: Disaggregation to product&plant level from higher levels.

    Hi.
    We do demand planning on groups of products and for country/region in general, we have around 48.000 CVC's in our current setup. It works very well.
    A new situation has arisen where we need to have the forecast split down to product and plant level.
    As is we simply don't have the information at this level of granularity.
    I don't see how we can add for instance product to our setup, we have around 20.000 products so the number of CVC's in DP would become massive if we did this.
    I was thinking that perhaps something could be done by exporting the relevant key figures to a new DP setup with fewer characteristics (to keep the number of CVC's down) via some infocubes, perhaps some disaggregation could be done via some tables and the BW update rules. This still leaves the issue of how to get the figures properly disaggregated to plant and product though.
    Does anyone have experiences on how to get the figures split to lower levels from DP when you're planning on a higher level?

    Simon,
    One approach as you mentioned can be creating Z Table where in you set up disaggregation proportion from product group level to product level or product location level.
    Product Group X  100       Product A@loc1 10
                                          Product B@loc1 90
    Download your planning area data into infocube C and then use BW routines to convert the data from group in infocube C to lower level refereing Z Table....into another infocube..
    SAP also provides such standard functionality of spliting the aggregate Demand plan to detailed level
    SNP plan..through functionality like location slit or product split.
    Essential you will be using same concept in yor BW solution or you may also want to consider the
    release your DP to SNP planning area its as solution of diaggregation of data  to lower level.
    Regards,
    Manish

  • User should drill down up to a certain level in obiee

    Hi,
    We have a requirement that a user should be able to drill down only up to certain level.
    We have hirarchy level region, country, state and city. A user should be able to drill down all the levels and some users should be able to drill down only upto certainlevel.
    I understand that there is some index column functionality for this. Apart from this can any one tell me how to restrict a user to drill down up to a certain level.
    Thanks.

    Hi Amith,
    I understand that rowlevel security can be done in admin tool, from the group/user permissions under the filter tab by using the query with where condition.
    How to achive this column level security. Can you please tell me.
    Thanks.

Maybe you are looking for