Dunning run as periodic background job - TA F150

Hi Gurus,
do you know a functionality how to set up the dunning run (selection + printing) as as a periodic background job.
The issue is, that the parameters have to be changed with each run. For example we would like to run the dunning programm all 2 weeks in background. Is there a possibility to create a new dunning run and ID automatically. The date parameters should be also changed (+2 weeks). We do not want to change the proposal, we would like to print out the letters automatically.
Thanks for your response!
XmchX

Use Program RF150SMS

Similar Messages

  • Can the standard program RFBIBL00 be run as a background job ?

    Hi all,
    Can the standard program RFBIBL00 be run as a background job for the call transaction mode.
    As I tried I got the job cancelled with message"Job RFBIBL00: Data does not match the job definition; job terminated".
    As i run it in foreground it executes properly.
    Why is it failing in background? Please help.
    Thanks ,
    Stock

    Hi,
    You need to copy the program RFBIBL00 & modify the program to build the logic to upload through application server. Then schedule the modified program in background & it wl work.
    Best regards,
    Prashatn

  • Periodic background job scheduling

    Hello fellow SDNers,
    I have a background job which has to run periodically. So I schedule it in SM36 to run after every 10 minutes and it executes without a problem. However, I have a scenario which requires that the next execution of the job should happen only after ensuring that the first one is not active (either it should have finished execution or aborted with error).
    I need to understand the options available to handle this. Of course there is an option of writing another program to handle these jobs dynamically using JOB_OPEN, JOB_SUBMIT etc. or to create an event and trigerring it through another program and setting the job to run after this.
    Is there any other option/setting available which can save me from the programming effort (which i wish to keep as my last resort to handle this)?
    Any pointers are appreciated!!
    -Priyank

    `hi,
      u hav after event in dat select--> sap_end_of_job
    in job start conditons or esle u can check start condition in extended job selection.
    read the usage tip there..

  • Dunning procedure as a background job

    Hello to you all,
    Does any one know how can I define running all of the dunning procedure (define the parameters + schedule + dunning printout) as a daily background job.
    Where can I find info about it?
    Thanks,
    Amir

    Hello,
    Dunning is not for such purpose. You cannot daily dun the customer, he will become mad 
    At least there must be a gap of 7 days you should maintain.
    There is no such daily scheduling of dunning is available unlike automatic payment program, where you can schedule through F110S
    Regards,
    Ravi

  • Run RFEBKA00 as background job

    Hello,
    I want to run program RFEBKA00 as background job. On selection screen, there is parameter "Execute as background job", but even if I tick this checkbox, report is ran on foreground.
    How can I run this program as background job?
    Thanks&regards,
    Jirka

    Hi,
    You can run the program in background by selecting 'Execute in background' option in 'Program' menu.

  • Error when running SWN_SELSEN as background job.

    Hello Gurus,
    I am facing a typical problem these days.
    The background job for program SWN_SELSEN is scheduled in every 5 mins. It has started to fail intermittently with the error message 'An instance of the report SWN_SELSEN is still active'. But the stange thing is that the program completes its execution in approx. 12 - 15 secs  then why this kind of error it is throwing.
    This error message should not come as the program completes itself in 12- 15 secs and it has more than 4 mins as free time.
    Please help as this kind of failure is happenning quite frequently i.e. once in nearly every three times it executes. In a day around 100 times.
    Please help.
    Thanks in advance.
    Neha

    Hello,
    I assume you've checked in SM37 to see how often it actually runs and whether perhaps two instances have been scheduled?
    Also check the log in SLG1 to see if there is any clue there.
    regards
    Rick Bakker
    Hanabi Technology

  • Periodic Background Jobs after another Job finishes

    Hi
    I have to schedule a job 'B' to run after job 'A' finishes.
    When i schedule job 'B' to run after job A , it runs only once , while i need the job B to run periodically after job A finishes.
    1) I cannt make job B as step 2 of job A , because job A is not scheduled by me and i cannt change that.
    Can anyone tell me how to i trigger the job B periodicaly after job A finishes .
    Any solution or hint would be appreciated.
    Looking forward to some helpful replies from the gurus of SAP.
    Regards
    Purva

    Dear Team,
    Job ES_RPTMC_CREATE_CHANGEPOINT_AUTH  ran only once where as SEC:INDX_UPDATE_FOR_STRUCT_AUTHS ran daily.
    CAUSE:
    “The start condition "Start after job" is internally mapped by means of "Start after event SAP_END_OF_JOB with the parameter <Jobname><Jobcount> of the predecessor". The pair <Jobname><Jobcount> is the unique key for a job.
    If a job is executed periodically, the SAP_END_OF_JOB event is always triggered with different parameters.
    The successor in turn waits for SAP_END_OF_JOB with just one particular parameter (this is the parameter with <Jobname><Jobcount> from the first predecessor). When the successor is rescheduled, the key fields from the next predecessor must therefore always be known in advance, something which is not always technically possible.”
    SOLUTION:
    This task can be completed with the new ABAP program Program  BTC_EVENT_RAISE.
    The program is delivered by Support Package for Basis Releases 640 and 700, and is included in the standard system in all subsequent releases.
    The program is used to trigger a batch event. Existing programs do not therefore have to be changed. The BTC_EVENT_RAISE program has several parameters in the selection screen, including the event (and parameters) that is to be triggered.
    PROCESS:
     Go To SM64
     Click on Create
     Create two events.
    Our Case:
    We created Z_ES_CP_AUTH and Z_SEC_AUTHS
     Go to SE38
     Give the event name as BTC_EVENT_RAISE
     Select Variants and click on Display
     Give the variant name as the one you created.
    Our Case:
    Z_ES_CP_AUTH
     Click on Create
     Give in the details for variants
     Click on attributes and give the details for attributes
     Go to the job which needs to be run first
    • Select the job in released status
    • Job->Change
    • Step
    • Add BTC_EVENT_RAISE as the last step of the job with the parameter as the variant created
    Our Case:
    Step: BTC_EVENT_RAISE, Parameter: Z_ES_CP_AUTH
     Go to the job which needs to be run next
    • Select the job in released status
    • Job->Change
    • Start Condition -> After Event.
    • Give the BTC_EVENT_RAISE parameter of the first job as the event of the second job.
    Our Case:
    After Event: Z_ES_CP_AUTH
     Save the changes.
     The jobs will start running one after the other with the given frequency.
    Thanks
    Joginadham U

  • Run ALV in Background JOB (DUMP)

    HI Experts,
    Before post  i have already  look at this forum and tried many solutions , im on  SAPGUI 7.20 and already creatde a doc container... so nothing has work yet...
    Im trying to run a alv report in a  scheduled JOB...!!
    Below the Dump Description and My source code...!
    Many Thanks for any help..!!!!
    DUMP.
    Short text
        Exception condition "CNTL_ERROR" raised.
    What happened?
        The current ABAP/4 program encountered an unexpected
        situation.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the
         exception
        condition "CNTL_ERROR".
        Since the exception was not intercepted by a superior
        program, processing was terminated.
        Short description of exception condition:
        For detailed documentation of the exception condition, use
        Transaction SE37 (Function Library). You can take the called
        function module from the display of active calls.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
    SOURCE CODE:
    DATA: gro_doc_container     TYPE REF TO cl_gui_docking_container,
            w_off                 TYPE  INT4.
      IF w_1c_container IS INITIAL.
      CALL METHOD cl_gui_alv_grid=>offline
       RECEIVING e_offline = w_off.
    IF NOT w_off is initial.
        CREATE OBJECT w_1obj_alv
                 EXPORTING i_parent = gro_doc_container .
      else.
          CREATE OBJECT w_1c_container
            EXPORTING
              container_name = c_1alv.
          CREATE OBJECT w_1obj_alv
            EXPORTING
              i_parent = w_1c_container.
        ENDIF.
        CREATE OBJECT w_event_receiver.
        SET HANDLER: w_event_receiver->handle_data_changed FOR w_1obj_alv,
                     w_event_receiver->handle_toolbar FOR w_1obj_alv,
                     w_event_receiver->handle_user_command FOR w_1obj_alv.
        CALL METHOD w_1obj_alv->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_modified.
        CALL METHOD w_1obj_alv->set_table_for_first_display
          EXPORTING
            i_save               = c_a
            is_layout            = e_1layout
            is_variant           = e_1variant
            it_toolbar_excluding = is_1func
            i_structure_name     = c_1strucs1
          CHANGING
            it_outtab            = is_1pant
            it_fieldcatalog      = is_1fcat[].

    HI ,
    The ALV grid will not work in background. You need to check sy-batch (for background processing ) and write a seperate code .
    The better way of doing is to use SALV factory methods - It works both in background and foreground modes.
    Remember It will work on ECC and it doesnot support editable ALV directly.
    For Demo program  SALV_DEMO* and F4
    Hope this brings clarity and neccassary help to you.

  • Scheduling periodic background jobs with changing parameters

    Greetings,
    I am wondering if anyone knows a way to do the following:
    Say I have a report that I want to schedule in the background to run at the end of every month.  Is there a way to set up the jobs to use different parameters (dates, etc.) each month without creating a variant for each month and scheduling the jobs separately?  I hope that I am being clear in this question. 
    Another example would be if I wanted to run the report each day for the previous day.  As you can see, it would be quite tedious to create a variant and manually scheduled job for each day.
    Thanks in advance for any help or tips.
    Geoff

    Yes, when setting up your variant, you can pull in "dynamic" variants. 
    At your selection screen, click go to,  variants, save as variant. Name it and give description. 
    Now for you particular field, check the "selection variable" check box for that field.  Now at the top of the screen, click the selection variable button.  This will take you to a new screen.  Here you can choose to get the variable from the TVARV table, use a dynamic date calculation, or user defined.
    In the case where you want to run for yesterday.  Double click the icon under the "D", now click the down error.  Double click current date -/+ ???,  enter the -1.    Now click save.  This variant will now always take sy-datum - 1 and put it into that field. 
    Now for your monthly report.   What we do here is we have variables set up in the TVARV table, which include current fiscal month, current calendar month, previous fiscal month, and so on.  We run a program which re-calculates these variables everyday so that they are always accurate.  You can set up the selection variable to use the table variable from TVARV.  You would do this the same way as the dynamic date calc except click on the icon under the "T".
    Regards,
    Rich Heilman
    Rich Heilman

  • How to make a periodic background job to specific duration time.

    Hi, all
    Is it possible to make a periodic back ground job to specific time? (ie, run job hourly from 08:00 to 19:00, everday)
    I don't define backgorund job to offline time of legacy server.
    Thanks

    Hi
    I don't think "No start after" will work for this situation. "No start after" is only for the individual job not for whole schedule.
    I guess you have to create different job for each hour as daily job.
    Thanks.

  • Periodic Background Job Deletion

    Dear All ,
    i want to Permamently Delete a  particular Periodic Jobs in my Production server , pls let me know any suggestion
    note : Job  has been  Scheduled Daily at 1:00
    regards

    Hello,
    Login into the client where the job runs, do not give any input in the feilds From date and To date.
    Just give the job name and status scheduled, released and press F8, this will give you the scheduled jobs in future just select and delete.
    Regards,
    Yoganand.V

  • How to get the Status code of rwclient when run as a background job

    Hi all,
    i have to get the return code(status code) of the rwclient.exe while running as a batch script. is it possible to get the return code to check whether the report generated succefully or not?
    please help me if anyone has the solution.
    Thanks in advance
    Deena

    Hi Andi,
    Please see my Blog : /people/dhanabal.thangavel2/blog/2009/12/16/getting-daily-failed-message-list-in-xi-and-sending-an-alert-mail-with-attachementcsv-file-of-that-list
    I think it 'll help you on this.
    Cheer,
    Dhanabal

  • How to Prevent the Executing a Program but Allow to Run as Background Job?

    Hi All,
    I have an ABAB List Program. I need to restrict this program from executing. This has to always run as a Background Job. How do I check this condition in the program?
    Thanks,
    Kishan

    Check for the system variable SY-BATCH. If this field is 'X', then allow the execution of the program. If not then exit. Do this coding in the initialization event or start of selection.
    INITIALIZATION.
    IF sy-batch IS INITIAL.
      STOP.
    ENDIF.
    Manoj

  • Setting format for spool requests in background jobs, for emails

    Hi,
    Don't know if this is the correct forum, but I'll give it a go (will appricate info regarding what forum is applicable otherwise.)
    For some periodical background jobs that we run in ECC, we have in the job set up that a mail group of people to receives the spool request via mail. Vi have used this a few years now. When we recently uppgraded from R/3 to ECC, the format of the spool request sent as mail attachment changed from .txt to .htm. This is however not the problem for us.
    We now have a scenario with a daily mail report, i.e. delivered as an attachment (htm-format) in our email system (Lotus Notes).
    So far so good, and nothing really new about this, except the changed format.
    What the users want is to print this report. It can be done, but it is a wide report, so it cuts the report in three pieces, as there is no automatic sizing to landscape printout and/our automatic sizing to one page. The best solution would be if it automatically was set up to landscape + automatically fit page size. Which format (.txt .htm .xls .pdf...) we receive the file in, is not really important, as long as we can print it directly without having to reformat it. Now we have to save the file to excel manually after we receive it, and then format the excel sheet. Just for printout purpose, so it is annoying work.
    Any solution available? (preferrably without coding)
    BR,
    Niclas

    Hi NTR,
    If you are using FM REUSE_ALV_LIST_DISPLAY to print your ALV Report it has got a paramter IS_PRINT in which you can pass your format type. Below is the field name where you have to pass your format type.
    IS_PRINT-print_ctrl-PRI_PARAMS-PAART
    Regards
    Bala

  • Can I schedule a program as a periordic background job with dynamic viarent

    Hello experts, Can I schedule a progarm as a periodic background job run every day with dynamic condition (current day), if can,how?
    Best wishes,
    Evan

    Hi,
    You can do this to get desired results:
    Write a small new program that calls the program that you need to run daily by using submit .
    The new program can give input of current date to the called program.
    Now you can schedule the new program as a daily batch job.

Maybe you are looking for