How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??

Hi Experts,
How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??

Can you give us some more information? Background jobs primarily don't have anything to do with Webdynpro.

Similar Messages

  • 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.

  • How to find the back ground job details

    Hi All,
       I have a back ground  job running from many days, now we would like to know when this job was created on what date this job actvlly created and schuduled.
               Please informe me how to check this.
    Thanks & Regards,
    Muralikrishna

    On SM37 screen there is plenty of options are there:
    This is what i got from SAP help
    Explanation for each selection field:                                                                               
    o   Jobname: Name of the job as an identifier.                                                                               
    o   Username: Name of the user who designed and planned the job.                                                                               
    o   Start date: The start condition of the job, which could be a time 
    frame or an event that the job is waiting for. Specifying both will   
    yield jobs whose starting condition is  either of the two             
    conditions.                                                                               
    ABAP program step: Name of an ABAP program that acts as a step in a   
    job.                                                                               
    Status selection: The current status of the job. By default, the      
    SCHEDULED option is not marked. To see the scheduled jobs, you must   
    explicitly check this.
    also give the proper values in Job Satus also.

  • Genetare the back ground jobs of the program from the SM36 tcode

    Hi All,
        Consider the following points:
    -- My main program will schedule the jobs using the CALL TRANSACTION method
    -- Now i want to create a Variant for the Main program and generate the back ground job using the SM36 Tcode
    -- Finally it has all the jobs of the main program
    -- Program is working fine from the Frontend only.....
    Please provide solution for the same.
    Thanks in Advance.
    Regards,
    Ramana

    Sravya,
    On SM36 when you schedule jobs, you will see options like AFTER EVENT and AFTER JOB. You can use these to schedule you jobs accordingly. Else you can also think of making each of these jobs as a steps in one single job if your requirement allows you to do the same.
    In case of using events, you should make sure to raise the event using available FMs.
    thanks,
    Vikram.M

  • 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

  • How to debug the back ground job

    Hi All,
    I want to debug the program, but it is taking more time so iam running it in back ground, but i need to debug the program from some particular point....is there any other way to debug the program...
    Means...to run the program in background upto particular point and later i need to run it in debug mode.
    Please suggest.
    Thanks & Regards,
    Hari

    Hi,
    You can do this only after the job has finished execution. This will simulate the exact background scenario with the same selection screen values as used in the job and sy-batch set to 'X'.
    Use SM37 to get list of jobs , type 'JDBG' in the command line ( no '/' ), put the cursor on the job and press ENTER
    You are in debug mode now. Step through SAP program (press F7 couple of times) until you get to code you need.
    Hope this helps u.
    Thanks.

  • How should i start with web dyn pro abap

    Hi,
    I have been working on webdynpro java now i would like to start working on webdynpro abap
    could any one tel me how should i start with it.. pdfs, blogs would surely help??
    i do have sufficient knowledge of abap too..
    some brief idea about what is "web dynpro for abap" would surely help me
    Thank u in advance...

    hi,
    please do a search before posting for basic questions, i searched the same and got around 700 hit.
    any ways check these links.
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    The following r excellent websites containing PDF & PPT docs on ABAP Web Dynpro:
    Web Dynpro for ABAP in SDN
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9
    Developing ABAP Applications Using Web Dynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/d41b25d2216babe10000000a1553f6/frameset.htm
    Web Dynpro ABAP: Development in Detail
    http://help.sap.com/saphelp_nw2004s/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm
    WDA Sample programs & tutorials
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Web Dynpro ABAP Demonstration Videos
    Web Dynpro ABAP Demonstration Videos
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11
    SAP Web Dynpro Overview
    http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/12-WebDynpro-Overview.ppt
    Web Dynpro General Concepts
    https://admin.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/30ea953b-8e57-2910-4e85-f7be60b00407
    Web Dynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    Web Dynpro for ABAP: Tutorials for Beginners
    Web Dynpro for ABAP: Tutorials for Beginners
    Developing ABAP applications using Web Dynpro Configuration Scenario
    http://www50.sap.com/businessmaps/8729920B31E343F099B71340B15F06DB.htm
    Web Dynpro for ABAP
    http://www.vnsg.nl/temp/508773747/A1-WDA_Themadag.pdf
    Yogesh N

  • Back ground job for automatic MRP run

    Hi pp guru,
    my client want for a particularly  material no XXXXXX ,there should be automatic MRP rum daily at 8:00 pm.
    kindly suggest me how i will map  back ground job in sap..
    regards
    Aqueel

    Dear Aqueel,
    1.Either make a copy of the MRP type say PD and assign the new MRP type to that paticular material.
    2.Or else assign one MRP controller sepecifically for this material.
    3.Activate the User Exit M61X0001 which allows to run the MRP in background based on MRP type or
    a MRP controller.
    4.Create the varaint for running MRP in MDBT.Schedule from here.
    or else use SM36 select the program RMMRP000 and select the variant and go to scehduling and
    select the time and execute.
    Regards
    Mangalraj.S

  • Debugging of back ground job

    Hi gui's,
    How to debugg a back ground job.please any body give answer.
    Thanks,
    santhosh

    In SM37: Select the job, type JDBG in the OK-code and press enter.
    Taken from [http://searchsap.techtarget.com/tip/0,289483,sid21_gci933590,00.html]
    Greetings,
    Blag.

  • Back Ground Job not Working

    Hi,
    I have watched all the threads regarding Back Ground job like SE36 & SE37. I have given a back ground job and its not working.
    Its an ABAP Program which is creating an OLEDB Connection to MSACCESS and then retrieving and updating database table. The program is working very fine on foreground but when it is given to back ground job then it shows that the program is running, i mean in delay the time is ticking. But at last it is canceled by the system.
    What's the thing i am missing or what should i do here? I have already set my program at high priority.
    Thanks.

    Hi Atish,
    Are you sure that we cannot run in background? Can you please explain me why it cant be done.
    Thanks,
    Inder.

  • 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.

  • 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

  • If i want to schedule back ground job on dtp how to do

    if i want to schedule back ground job on dtp how to do

    I have got a link that perfectly matches your requirement
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e51543b11d1898e0000e8322d00/frameset.htm

  • How to download data which comes in back ground job to presentation server.

    HI ,
    I am creating one job which has to download data to presentation server.
    for back ground jobs gui_download will not work..
    plz sugest the alternative for this...
    thakns in advance,
    khasimsa

    there are so many posts in SCN , please search .
    write data to application server in background and then download to presentation server online.

  • Scheduled back ground job not finishing

    hie gurus, i need your help with back ground scheduling , i have created a background schedule to run my program after every 30min .  in the job overview it shows my job released and active but its not finishing processing . the program being run picks up data from an external data base and then inserting via BDC call transaction. i have tried with a different program that inserts data into a database table and its executing and finishing well in the back ground. What could be the problem ? and how can i debug a back ground job ??

    Daniel,
    To start, BDCs are very out-dated.  I would look for a BAPI if you are calling std SAP functionality.
    Also - direct updates into std SAP tables is a HUGE "no-no"... I hope that you are updating custom tables only.
    Pass that - to debug a b/g job---> 
    1) Set a breakpoint in your program
    2) select the job in SM37
    3) enter JDBG into the SAP fastpath of the SM37 screen and press ENTER
    This will navigate you into a b/g debug - you can then press the debugger buttons to move to your breakpoint.
    Hope that helps.

Maybe you are looking for

  • Elements 12 Install problems

    I purchased Elements 12 from the trial version and have been trying to download and install for a week now.  I have encountered errors about the files being downloaded to seperate areas to files being unable to be unzipped and am currently getting ha

  • Getting attributes from a XML File, stored in Oracle

    Hello, my problem is the following I have a xml file that looks like that: <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> <root path="H:\musik"> <directory name="Bj�rk - Homogenic" path="H:\musik\Bj�rk - Homogenic"> <file album="Homogen

  • Dynamic LOVs

    Hi All, I have a country parameter in report level.I need to get all the db list of values for country . And that should be dynamic. So whenever new country added in db that should come in the drop down list. Please help

  • Pkgbuild help[SOLVED]

    Hey, I trying to update the latest version of ardour on my system but the release is ardour-2.6-4004.tar.bz2. I edit the the PKGBUILD from extra and followed the wiki to change the pkgver to look like: pkgver=2.6_4004 instead of pkgver=2.6-4004 becau

  • Can you stylise the Submit button and can you manually place it

    Hello I have a large pdf document with the form in the middle of it, are you able to style the submit button and are you able to manually place it on a specific page when using FormCentral? Kind Regards Eugene