Submit Back ground job with error log

Hi Gurus
Can anyone help with Back ground job with error log. i want put all the error logs in to 1 internal table and submit the back ground .how can i do that .please help me

Hi reddy ,
i am not experienced this in real scenarion .. even though i would like to give my idea
Put your logic inside the FM and execute in in background task mode on your action button .
call function 'Function module name' in background task
exporting
   parameter =
importing
   ret =
refer the below link for more detail on executing FM as  background task
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/frameset.htm
Regards
Chinnaiya P

Similar Messages

  • Schedule the Back ground Job with Fiscal Year Vaient????

    Hello Guru's,
    Please let me know the process of "Schedule the Back ground Job with Fiscal Year Vaient" in APO DP?
    Great thanks for your help.
    Regards,
    Sree

    Hi Venkat,
    As i told i am maintaining the periods as 5-4-4, So i want schedule the job as first after the 5th week, then after the 4 th week, then after the 4th week and again after the 5th week ...... like that....
    can we schedule the job in back ground as per this periodically???
    Thanks for the response.
    Regards,
    Sree!!
    Edited by: sree gunti on Nov 26, 2008 3:30 PM

  • Back Ground Job Printing Problem

    Dear Experts,
    We schedled one back ground job with spool generation. Ecery thing is working fine but in printing selecton parameters are printing along with out put data.
    That means, if i gave 1000 materials in my variant, in spool first 1000 materials are printing an then actually out put is printing. i need to avoid these printing of selection set.
    Please help me...
    Thanks in advance

    Hello,
    Pleas find if there is any "PRINT_SELECTION" function module in report, which should be responsible for printing selection screen parameter values.
    Thanks.

  • How To Handle With Back Ground JOB From WEBUI When Click On "Appove"

    Hi
    How To Scheduled A Job Through ABAP Report In back end  Of CRM when i click on "Approve" Button in WEBUI  From result list.
    As per My requirement I have a Search View and Result View
    In Search View I have  Below Fields
    ITC Vendor ID    
    Claim Status
    User status (date status changed)
    Model
    Serial Number
    Date completed of Service Completion
    Based on Search Criteria I will get Result In Result View.(Suppose 10 Records I got In Result View)
    In the Result View I need to Add one Button As "Approve"
    When i Click On Approve button One Pop up Message Need to Open And In that popup window I need to Display Below Text
    "Approve  Claim Job Has Started In Background  
    Note: Only Claims Which are in Submitted  Status  Will be  Approved. you May Close This Window"
    In SAP CRM System  Back Ground Job Need To Start When Click On "Approve" Button In WEBUI .
    In the Back Ground ABAP Report which will validate based on Result List Records"
    In the Result List we may have all types of Claims which are status in "Submitted" "Pending" "Rejected" "Approve".
    I need to collect all records from Result list and validate Those Records who's Status in "Submitted
    1)Sort all the claims based on ITC Vendor ID.
    2)Grouped all the submitted claims against each ITC Vendor ID from the search result
    3)Change the status of the selected submitted claims to Approved.
    4)Displays information messages as mentioned whenever a claim is approved, the same message will be captured in the job log.
    ‘Claims <ClaimID 1>,…<ClaimID N> now approved for ITC Vendor ID’.
    5)Sending Email to each IRC.
    6)Capture all the approved claims in the below format (Format Attached "Screen Shot Attachment")
    7)Store the file in the Application Server AL11 in .csv format
    Please Find Attachement For Reference.
    1)ITC Claim Screen Shot
    2)Screen Shot For Attachment
    Thanks
    Raj

    Hi,
    You can add the following code in on approve method to show popup to the user,
    IF req_edit IS NOT BOUND. " gloabl attribute in impl class of the view
        REFRESH lt_buttons.
        lss_button-id  = 'btnyes'.
        lss_button-text = 'YES'.
        lss_button-on_click = 'YES'.
        APPEND lss_button TO lt_buttons.
        CLEAR lss_button.
        lss_button-id  = 'btnno'.
        lss_button-text = 'NO'.
        lss_button-on_click = 'NO'.
        APPEND lss_button TO lt_buttons.
        CLEAR lss_button.
        CALL METHOD comp_controller->window_manager->create_popup_2_confirm
          EXPORTING
            iv_title          = 'ATTENTION'
            iv_text           = 'Are you sure you want to edit this document?'
            iv_btncombination = '99'
            iv_custombuttons  = lt_buttons
          RECEIVING
            rv_result         = req_edit.
        req_edit->set_on_close_event( iv_event_name = 'EDIT' iv_view = me ). "#EC NOTEXT
        req_edit->open( ).
        RETURN.
      ELSE.
        lr_node ?= req_edit->get_context_node( 'OUTPUTNODE' ).
        lv_outbound = lr_node->get_event_name( ).
    *  CLEAR ptc_pricing_status.
    *    lv_outbound = req_edit->get_fired_outbound_plug( ).
        IF lv_outbound = 'YES'.
    you can use the submit report code here and you can al the validations here
        ELSE. " No
    if user clicks no nothing to do..
        ENDIF.
        CLEAR req_edit.
      ENDIF.
    Best Regards,
    Dharmakasi.

  • Error while activating ODS is not caught in the back ground job..

    Hi All,
    We have a back ground job to load data to ODS and to activate it..If there is any error while loading or activating the data, back ground job is going into loop instead of cancelling the job..As the job is going into loop we are unable to trace the error unless we cancel the job manually and checking it..We have switched off displaying any messages while doing the back ground job...also we can not set any time limit for the job as it always depends on the volume of the data.
    My requirement is , back ground job must get cancelled if there is any error while loading the ODS..Can anybody suggest any idea on this..
    Thanks for reading.
    Umamaheswar kumar

    Hi Uma,
    A few hints for running and schedule and monitoring process chains:
    - always schedule the process chain in tcode RSPC
    - check the log in RSPC for error messages, or
    - check BW monitor for the ODS concerned (tcode RSMO, tab Details)
    if anything is not working fine, the status of the corresponding load will show you the errors, warnings ...
    either in RSPC - log or RSMO.
    hope it helps.
    Regards,
    Lilly

  • Error while using Back ground Job for Planning function in BPS

    I have created FM and Program for scdualing  Back ground Job for Planning function.
    I have created Planning function with exit option and passed parameter  Global seqence name.
    Error is lot of Jobs are creating while exe in BPS0
    Kindly help me the same
    Regards
    GR

    Hi Rama,
    It seems there are two diff. functional modules (UPC_BUNDLE_EXECUTE AND UPC_BUNDLE_EXECUTE_STEP). The second one divides the planning sequesces on the basis of something you specify (e.g. company code). Just make sure that you are using correct FM.
    just a thought.......
    Regards,
    SK

  • Back Ground Job scedule (emergency)

    Hi all ,
    I have scheduled Back Ground Job in Production System at morning 11am, now the job is in running status,but i wonder that before the status come to completed the
    LAST RUN Column is filled with Date and time same at 11:am.
    Please find the below job log details i am pasting last few lines of job log
    Jun 5, 2008 2:15:22 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
    INFO:  Job ID:6 : Before GC => memory usage: free=481M, total=1009M
    Jun 5, 2008 2:15:22 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
    INFO:  Job ID:6 : Analysis starts: HTREMGMT2
    I would like to know wheather job is running or terminated.
    Wat is the sequence of JOB status in CC5.2.
    Kindly do the needfull.

    Hi Amol,
    Thank You very much for ur quick reponse,
    please find the view job log details
    (last few lines)
    Jun 5, 2008 3:07:12 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
    INFO:  Job ID:6 : 464 out of 818 (56%) done
    Jun 5, 2008 3:07:12 PM com.virsa.cc.xsys.bg.BgJob setStatus
    INFO: Job ID: 6 Status: Running
    Jun 5, 2008 3:07:12 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
    INFO:  Job ID:6 : Before GC => memory usage: free=347M, total=1009M
    Jun 5, 2008 3:07:12 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
    INFO:  Job ID:6 : Analysis starts: MACTUSER17
    Jun 5, 2008 3:07:21 PM com.virsa.cc.xsys.meng.ObjAuthMatcher <init>
    FINEST: ObjAuthMatcher constructed: 0ms, #singles=970, #ranges=0, #super=0
    Jun 5, 2008 3:07:22 PM com.virsa.cc.dataextractor.bo.DataExtractorSAP getObjPermissions
    FINEST: getObjPermissions: elapsed time=891ms
    can u tell me the job status sequence

  • Back ground job schduling

    hai  experts ,
    iam write report upload data from excell file and posting  tcode mb31 by useing bapi.
    but i schdule  back ground job   results come cancelled.
    error is like .
       job started                                                                00                     516       s
      step started001 (varient ,user id sapadmin)             00                    550      s
    error during import of clipboard content                   alsmex              037       a
    job cancelled                                                               00                   518       a
    thanks in advance.

    The dump suggests that your report use a clipboard GUI functionality in background, so i fear there are very few chance of success (Usage of ALSM_EXCEL_TO_INTERNAL_TABLE which call CLPB_IMPORT or CL_GUI_FRONTEND_SERVICES->CLIPBOARD_IMPORT in background ?)
    Perform some search at sdn with keywords Excel, upload and Background in [forums|http://forums.sdn.sap.com/search.jspa?threadID=&q=ExcelBackgroundupload&objID=&dateRange=last90days&numResults=15&rankBy=10001] and [wiki|http://wiki.sdn.sap.com/wiki/dosearchsite.action?searchQuery.queryString=ExcelBackgroundupload&searchQuery.spaceKey=conf_global].
    Regards,
    Raymond

  • Back ground job bdc session

    Hai All,
    Can any one tell me how to catch the erros in BDC session method back ground job.
    I need to update Sales orders in BDC session, back ground job.
    Finally at the end I need to generate a report which contains all the succesfull updates & errors.
    I tried this using call transaction with messtab and is working fine.
    Please tell me how to do this in Session method.
    Thanks & Regards,
    Bhaskar.

    Hi Bhaskar,
    In Session method what you need to do is before processing of hte BDC first you need to check all the data. And if any error found then populate it into the internal table. And that internal table you need to display it on the output......
    I think this is the solution but I am not to sure........
    &********Reward Point if helpful*******&

  • How to analyse Back Ground Jobs in BI

    Hi,
    How to analyse Back Ground Jobs in BI
    RSDB2MA1 and RSDB2MA2
    My requirment is to check the error logs for these job
    How to navigate there
    Thanks

    Dear BW user,
    Sm37 and sm50/51
    1)Go to Sm37
    2) Give the job name and in user give as *
    3)press execute or f8
    4) Press job log in the screen..keep refreshing it for update
    5)Press job detaisl..get pid no and wp no..in it
    6) go to sm50/51
    check for given wp no... and pid no..job is running or waiting or not
    sm66
    1)go to sm66
    2)in sm66 you can see only the central instance job running in
    3)You cant find any application server in it
    Hope it helps you,Revert me back if you have any queries
    Assign points if helpful
    Regards
    Bala

  • Create Back ground job for data recieved from a legacy system

    Hi All,
    I have a requirement where i need to schedule a back ground job once a proxy is triggered for the address data sent from a Legacy system. This proxy is triggerred from SAP PI, then i need to create a job shedule where address data is created as BP's(Business Partners) and assigned to a already created Target Group. Then once the Target group is completed with all BP needs to assigned to aCampaign Id. As the data is large it takes lot of time to execute. Please Advice.
    Regards,
    Nagesh Thanneeru

    Hi
    If you can divide the data into two internal tables and later collect into the one internal table, this could solve yuor problem.
    Also you need to make sure that enough memory is available in the system. Check DB6cockpit for that.
    Also there are a lot of correction notes available with SAP for the error"TSV_TNEW_BLOCKS_NO_ROLL_MEMORY"
    Check what the job exactly does, and search for the relevant notes, as there are different notes for different application areas...
    if its a loading job(Infopackage) you can reduce the data packet size of the IP, but that might hamper the loading performance.
    Hope this helps
    Regards
    Shilpa

  • FIREFIIGHTER Back Ground Job !

    I am on FF 3.0 CC 4.0
    On I run the FF Log, I am told that the File is not genereated as the Back Ground Job is not scheduled.
    Which is th e back ground Job needed to get these reports ?
    Thanks

    What i guess from your query is:
    1) Probably there is no activity by firefighter users or you need to schedule background job on hourly basis, the general practice is every 2 hours.
    2) You can use any id with super administrator previledges to schedule background jobs.
    Hey, I just wanted to ask you, does your firefighter controllers getting logs attached to e-mails and is the format of log report seems fine to you?
    just confirm, cause there are two notes required to be applied in sequence.
    1) 1046405
    2) 1053315
    Also it would be great, if you upgrade your GRC FF, CC solutions. I was in college when these products were rolling in the market and I never had the honor to experiment.
    Best Regards,
    Amol Bharti

  • The back ground job gets cancelled which feds the delta queue?

    Hi all,
    I can see the delta is empty for the 2lis_11_vahdr ( sales order header datasource) when i happened to check the background job name which feds the delta queue, all the background job gets failed for the same!!
    Can anyone let me know what needs to be carried out ?
    Thanks

    hi,
    when i happened to check the logs for that back ground job i got the below message
    Extraction queue processing started MCEX11 with 54,331 LUWs
    ABAP/4 processor: CALL_FUNCTION_NOT_FOUND''
    Thanks

  • RMCB0300 is not working in back ground job

    Hi
      I call t-code MC.9 program (RMCB0300) in back ground by using sample code given below.
      SUBMIT RMCB0300 WITH SL_WERKS-LOW = u2018ABCDu2019
                      WITH SL_LGORT = 'W001'
                      EXPORTING LIST TO MEMORY AND RETURN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          LISTOBJECT = LISTOBJECT
        EXCEPTIONS
          NOT_FOUND  = 4
          OTHERS     = 8.
      IF SY-SUBRC <> 0.
      ENDIF.
    The 'LIST_FROM_MEMORYu2019 is getting correct output in four ground but
      not in back ground job.
    Kindly help.

    When you use 'LIST_FROM_MEMORY' it basically imports the memory id '%_LIST'.
    When running MC.9 in foreground the memory id '%_LIST' is saved (you can check in debugging) but in background the memory id is not saved
    This is why you are not getting the data correctly in background.
    BR,
    Suhas

  • How to download the application file to local file by back ground job?

    hi:
      can any one tell me how to download the application file to local file by back ground job? thanks in advance..
    Monson

    Hi,
    In order to download a file from application layer to a local file in background,
    first write a report(ZREPORT1) in which do the following steps:
    OPEN DATASET g_file_1 FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    loop the g_file and append all the data into another internal table.
    end of this report you shd have all the data in the application layer file into your internal table.
    Now create another report(ZREPORT2) and submit this report in background.
    that is,
    JOB_OPEN
    JOB_SUBMIT and
    JOB_CLOSE
    and in job_submit submit ZREPORT1 which downloads the file in application layer.
    Please reward points if helpful.
    Regards,
    Arul.

Maybe you are looking for

  • Transfer Posting for Line Items between Reconciliation Account

    HI, My customer want to transfer costing the line items between a old Reconciliation Account and a New Reconciliaton Account. For example, i have a Account Group Vendor with a old Reconciliation Account " Vendor CEE". This reconciliation account has

  • Adobe forms to webdynpro

    Dear sir I hav created one adobe form in SFP also i connected webdynpro using interactive form tool and template source i given the form name its working fine. while im executing  adobe form im giving one material as a input . its working fine. after

  • How can I use other webcams?

    Can I use a diferent cam other then the one that's built in? I want to use a Logitech cam with a USB conection. Can that happen?

  • Start full synchronisation with Mobilink

    Hello, all I have the following situation. There is a consolidated DB with a data table containing data from multiple DBs. The synchronization for this table is one way: from remote to consolidated. Now a new remote DB wishes to synchronize the data.

  • Goods Recepit(GR)

    hi Any another transaction code in goods receipt in SAP R/3 (except: MIGO)