Scheduling of Broadcast Setting using Program

Hi,
Given Scenario is :
I have few broadcast setting on a Query. All settings are scheduled to be executed with the option " data change in infoprovider".. i.e. each time the DSO gets activated the settings would get triggered.
I have 4 process chains.
Each process chain has the Broadcaster event associated with it.
So every time the process chain runs it triggers  ALL the mailers as all the settings are scheduled to run with activation of DSO.
Requirement is :
A particular no of setting should get triggered by a specific process chain. Meaning i should be able to trigger specific settings with specific process chains instead of all settings at one go.
Questions:
1. Is it possible ? if possible how?
2. Is there a program that runs at the background when the broadcast settings get triggered?
If yes, what is the program name?
3. Can we create variants of this program based on filter navigation settings and the trigger the mailers by scheduling this program variants.
Your valuable inputs will be appreciated.
Please suggest something.
Thanks & Regards
Jaya Das

Hi,
Check in the following SDN link, here you have PDF, I hope it will help for you
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00172934-f3c1-2b10-728a-c42a0fc28c61
Thanks
Reddy

Similar Messages

  • Using RSRD_BROADCAST_STARTER to run Broadcast setting with ALEREMOTE

    Hi all
    I'm experiencing some problems executing a broadcast setting using RSRD_BROADCAST_STARTER in a process chain.
    If I were to go into RSRD_BROADCAST_STARTER and type in the broadcast setting and click on the checkbox for Execute Online, I am able to receive the broadcast email
    However in a Process Chain, if I were to schedule the execution of RSRD_BROADCAST_STARTER with variant of similar selection, I would not receive any broadcast email.
    It seems that when executing through the Process Chain, the userid is ALEREMOTE rather than my userid. Is the ALEREMOTE unable to use the option "Execute Online"? What settings do I need to configure such that the ALEREMOTE can work in this case? Btw, ALEREMOTE has access to SAP-ALL.
    Thanks
    Brendan

    Execute the setting online will take the authorization of current logged on user, while executing the setting in background will uses the authorization user indicated in the setting. You need to check if the Authorization user of the setting indeed has access to all the objects that suppose to be broadcasted.

  • Schedule a daily job using JOB_CLOSE

    Hello,
    I want to schedule a daily job using job_open, job_submit & job_close.
    This job should run everyday at 22:00 hrs.
    What are the parameters I need to set for the FM JOB_CLOSE?
    Thanks,
    A Pothuneedi

    Look at this sample provided by SAP : <a href="http://help.sap.com/saphelp_sm32/helpdata/en/fa/096d8e543b11d1898e0000e8322d00/content.htm">Sample Program: Start-Time Window with JOB_CLOSE</a>
    Sample Program: Start-Time Window with JOB_CLOSE Locate the document in its SAP
    <b>Library structure</b>
    * Submit job: start-time window defined, with periodic repeat and
    * with target system upon which the job is to run.
    * In this case, you must provide start date settings. You can
    * have the job started immediately with a JOB_CLOSE parameter,
    * set the start date yourself, or ask the user with
    * BP_START_DATE_EDITOR.
    * Example: Provide start-date specifications yourself.
    STARTDATE = '19970101'.
    STARTTIME = '160000'.
    LASTSTARTDATE = '19970101'.
    LASTSTARTTIME = '180000'.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    JOBCOUNT = JOBNUMBER " Job identification: number
    JOBNAME = JOBNAME " and name.
    SDLSTRTDT = STARTDATE " Start of start-time...
    SDLSTRTTM = STARTTIME " window
    LASTSTRTDT = LASTSTARTDATE " Optional: end of...
    LASTSTRTTM = LASTSTARTTIME " start-time window
    PRDMONTHS = '1' " Restart at intervals of
    PRDWEEKS = '1' " the sum of the PRD*
    PRDDAYS = '1' " parameters
    PRDHOURS = '1'
    PRDMINS = '1'
    STARTDATE_RESTRICTION = BTC_DONT_PROCESS_ON_HOLIDAY
    " Restrict job start to work
    " days; don't start job if
    " scheduled on holiday.
    " Other values:
    " BTC_PROCESS_BEFORE_HOLIDAY
    " BTC_PROCESS_AFTER_HOLIDAY
    CALENDAR_ID = '01' " ID of R/3 factory calendar
    " for determining workdays
    TARGETSYSTEM = 'hs0011' " Optional: name of the host
    " system on which the job is
    " to run. Set only if
    " absolutely required.
    " Example: A required tape
    " drive is accessible only
    " from a single host system.
    IMPORTING
    JOB_WAS_RELEASED = JOB_RELEASED " If user has authorization
    " to release jobs to run, job
    " is automatically released
    " when it is scheduled. This
    " field is set to 'x' if the
    " job has been released.
    " Otherwise, the job is sche-
    " duled but must be released
    " by an administrator before
    " it can be started.
    EXCEPTIONS
    INVALID_STARTDATE = 01
    JOBNAME_MISSING = 02
    JOB_CLOSE_FAILED = 03
    JOB_NOSTEPS = 04
    JOB_NOTEX = 05
    LOCK_FAILED = 06
    OTHERS = 99.
    IF SY-SUBRC > 0.
    <Error processing>
    ENDIF.
    Regards

  • How to set a program into backgroud job

    hi experts,i want to set a program into backgroud job.
    the original code like this:
    ...some statements...
    PERFORM FRM_SEND_MAIL USING WA_YA_LX.
    ...some statements...
    i want to set 'PERFORM FRM_SEND_MAIL USING WA_YA_LX.' into background job.
    is that code like this?
      CALL FUNCTION 'JOB_OPEN'
         EXPORTING
           JOBNAME  = WA_TBTCJOB-JOBNAME
           JOBCLASS = 'A'
         IMPORTING
           JOBCOUNT = WA_TBTCJOB-JOBCOUNT.
    PERFORM FRM_SEND_MAIL USING WA_YA_LX.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          JOBCOUNT                          = WA_TBTCJOB-JOBCOUNT
          JOBNAME                           = WA_TBTCJOB-JOBNAME
          SDLSTRTDT                         = SY-DATUM
          SDLSTRTTM                         = WA_TBTCJOB-SDLSTRTTM  .
    hunger for you advice,thanks a lot.

    See the following simple prog to schedule in background.
    You cannot schedule the subroutine i.e perform to run in background job. Instead write the subroutine in another program.
    to pass any value to that program, declare selection screen parameter and pass the value from the first one using submit.
    Job open
    call function 'JOB_OPEN'
    exporting
    delanfrep = ' '
    jobgroup = ' '
    jobname = jobname
    *sdlstrtdt = sy-datum
    *sdlstrttm = sy-uzeit
    importing
    jobcount = jobcount
    exceptions
    cant_create_job = 01
    invalid_job_data = 02
    jobname_missing = 03.
    if sy-subrc ne 0.
    write:/ 'error in opening a job'.
    endif.
    Insert process into job
    SUBMIT ZSDQ_BCK_TEST
    and return
    with p_type = 'F'   "Selection screen Parameter
    user sy-uname
    via job jobname
    number jobcount.
    if sy-subrc > 0.
      WRITE:/ 'ERROR PROCESSING JOB'.
    endif.
    Close job
    call function 'JOB_CLOSE'
    exporting
    *event_id = starttime-eventid
    *event_param = starttime-eventparm
    *event_periodic = starttime-periodic
    jobcount = jobcount
    jobname = jobname
    *laststrtdt = starttime-laststrtdt
    *laststrttm = starttime-laststrttm
    *prddays = 1
    *prdhours = 0
    *prdmins = 0
    *prdmonths = 0
    *prdweeks = 0
    *sdlstrtdt = sdlstrtdt
    *sdlstrttm = sdlstrttm
    strtimmed = 'X'
    *targetsystem = host
    RECIPIENT_OBJ = RECIPIENT_OBJ
    exceptions
    cant_start_immediate = 01
    invalid_startdate = 02
    jobname_missing = 03
    job_close_failed = 04
    job_nosteps = 05
    job_notex = 06
    lock_failed = 07
    others = 99.
    ***This is the second program which will run in background
    REPORT ZSDQ_BCK_TEST .
    TYPES: BEGIN OF TY_ADRC,
            HOUSE_NUM1 LIKE ADRC-HOUSE_NUM1,
            NAME3 LIKE ADRC-NAME3,
            NAME4 LIKE ADRC-NAME4,
            LOCATION LIKE ADRC-LOCATION,
          END OF TY_ADRC.
    DATA: IT_ADRC TYPE STANDARD TABLE OF TY_ADRC WITH HEADER LINE.
    Parameters: p_type type c.
    START-OF-SELECTION.
    SELECT HOUSE_NUM1
            NAME3
            NAME4
            LOCATION
           UP TO 40000 rows
            FROM ADRC
            INTO TABLE IT_ADRC.
           WHERE ADDRNUMBER = '0000022423'.
    IF SY-SUBRC = 0.
       LOOP AT IT_ADRC.
         WRITE:/ IT_ADRC-HOUSE_NUM1, IT_ADRC-NAME3.
       ENDLOOP.
       write:/ p_type.
    ENDIF.

  • Cannot send report out when using "program rsrd_broadcast_starter"

    I create Program for sending report to many users with BEx Broadcasting concept.
    I have a loop for sending report out to many users.
    For the first time, the report will be sent out.
    But the second time, the report won't be send out.
    What's wrong with my code?
    Here is my coding.
    =============================================================================
          LOOP AT gt_variant INTO gs_variant.
    *Change E-mail of BEx Broadcaster
            SELECT SINGLE * FROM /bic/azopa_d0100 INTO wa_dso
            WHERE co_area = gs_variant-zco_area
            AND rspl_cha = gs_variant-zcost_center
            AND /bic/zreptype = gs_variant-zreptype.
            IF wa_dso-/bic/zbimail1 IS NOT INITIAL.
              mail = wa_dso-/bic/zbimail1.
            ENDIF.
            IF wa_dso-/bic/zbimail2 IS NOT INITIAL.
              CONCATENATE mail ';' wa_dso-/bic/zbimail2 INTO mail.
            ENDIF.
            IF wa_dso-/bic/zbimail3 IS NOT INITIAL.
              CONCATENATE mail ';' wa_dso-/bic/zbimail3 INTO mail.
            ENDIF.
            SELECT SINGLE *  FROM rsrd_sett_node_a INTO wa_email
            WHERE  setting_id = 'ZOPA_KPI_REPORT_BEXBC_PP'
            AND id = 'DI_EMAIL' AND rsr_index = '0'.
            wa_email-value = mail.
            UPDATE rsrd_sett_node_a FROM wa_email.
    *Using Program 'rsrd_broadcast_starter' to run BEx broadcaster name 'ZOPA_KPI_REPORT_BEXBC'
            SUBMIT rsrd_broadcast_starter WITH p_settng = 'zopa_kpi_report_bexbc_pp' WITH p_online = 'X' AND RETURN.
    *Send mail out
            WAIT UP TO 5 SECONDS.
            IF sy-subrc EQ 0.
              SUBMIT rsconn01 WITH mode = 'INT' WITH output = ' '.
            ENDIF.
          ENDLOOP.

    Hello,
    Perhaps the wait time is too low and there is contention? Have you tried to extend it?
    Why dont you just maintain all of the names in the broadcast setting zopa_kpi_report_bexbc_pp. This is the expected behaviour.
    Regards,
    Michael

  • Error While executing a broadcast setting in BW 7.4

    hi dear BEx Gurus,
    I am using BEx Broadcaster to a great extent, many of our critical reports are being sent to the users though BEx Broadcaster. Everyday around 700 triggers are executed automatically. These were working perfectly before we upgraded our system to BW 7.4. I am seeing this error message(Please refer to the screenshot) while I execute the broadcast setting manually from the BEx Query designer --> Publish --> Boradcaster.
    Your suggestions/guidance will be highly appreciated. Thanks in advance
    Regards
    Ranjan Jinka

    Hi Brendon,
    Hope you are doing great !
    I think I need your help again... Your previous solution to my problem worked perfectly last time. But, this time, it is not solving my problem. we applied the latest patches in our BW System (BW 740 SP9) and after this update, BEx broadcaster is returning the same error(Please refer to the below screenshot). And, as per your suggestion, I have activated the web template  0BROADCASTING_TEMPLATE.
    But again, it is returning the same error. Your help will be highly appreciated.
    Activation of 0BROADCASTING_TEMPLATE
    Thanks & Regards,
    Ranjan Jinka

  • Access wireless set-up program for HP 3050 printer

    I'm trying to connect an HP Deskjet 3050 J610 printer to my wireless network.  It's an older model so the CD that came with it is not compatible with OS X 10.9.1, but the printer driver is already loaded in the operating system.  So I'm able to print using the USB cable but when I try to connect with my Belkin router via WPS the printer won't connect because it has a pre-assigned SSID.  I'm unable to find any configuration program on the computer that would allow me to change the SSID on the printer manually.  So far HP has been no help so I'm hoping the Apple community might have a few more answers.

    Usually this is the case but this is a rather old printer.  It has no way to access a set-up program via the printer, only WPS capability.  That's why I'm wondering if there is a way to access it via the computer.  Mavericks has the driver built in but doesn't seem to have a way to access the printer set-up.

  • Unable to set default program for .pdf

    CURRENT PROBLEM:
    As show in print screen, when i attempt to set default program nth happens at all. The only way i can open any .pdf file now is by 1st opening adobe reader 9 and select the .pdf file manually
    INITIAL STAGE OF PROBLEM:
    Problem started after upgrading to windows 7 from vista. Windows 7 is able to recognise adobe reader 8 as a valid default program since it is in windows.old. Thus the default for .pdf is adobe reader 8 (it was installed in vista).
    Subsequently, installing adobe reader 9 isof  no use as it will be ignored and windows 7 will only continue to use adobe reader 8 as the default reader when i try to open a .pdf file, unless if i manually opened adobe reader 9 and selected a .pdf file manaually
    However, I am unable to uninstall adobe reader 8 as the "program and feature" can only identify adobe reader 9 and does not think that adobe reader 8 exists.
    ATTEMPTs TO SOLVE:
    Thus, I removed windows.old by using the disk cleanup. However, I am still unable to set adobe reader 9 as the default reader. Instead, .pdf are no longer accessible/"open-able" unless I 1st opened adobe reader 9 and then selected a .pdf manaually.
    I've attempted reinstalling and restarting comps etc, they dun seem to help. I suspect the OS is now only able to recognise adobe reader 8 from windows.old as a valid program directory due to some registry issues since it was initally set as the default when i 1st upgraded the OS. Now that adobe reader 8 is removed, there might be some corrupted registry somewhere that needs to be set right again?
    Really need help with this. Thanks a million.

    Thanks guys for showing interest in helping.
    As you guys can see, there's no adobe reader when u expand. Also, I already browsed the reader just in case too. Thus expanding doesnt help. =(
    Also, I cant seem to find the "file type" tab in folder options

  • Can't make a selection of my pathes even if i have set a program change number for each one.Why is that happening?

    Hi everybody!
    I send program change messages from my midi controller and the messages are accepted by mainstage 3 as shown in the midi message window,but i can't make a selection of my pathes even if i have set a program change number for each patch.Why is that happening?
    I use a novation SL mki or a KORG Triton Le or a m-audio axiom 49 as midi controllers.The program change messages are transmitted by all the devices i mentioned above and shown as received in the midi messages window of mainstage 3.
    Has anyone the same experience?

    Hi
    Have you selected the correct device as the Program Change device and MIDI channel in the Concert Inspector?
    CCT

  • How do you set default programs for all users when deploying Windows 8.1?

    I have my Windows 8.1 image set up the way I want including the start screen, theme, etc. But how can I set the default programs for all users. Most of out computers are non-touch and I want the desktop apps (e.g. Windows Photo Viewer), not the store apps
    to be the default for opening pictures, videos, etc. Can that be done?

    Great question, this has been bugging me too!
    So, I did some research by using "Set Default Programs" app in Windows 8. Then I ran the super ProcMon.exe tool from Sysinternals.com <Thanks Mark!>
    After filtering out the junk, I could see some *interesting* writes to the registry:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\UserChoice]
    "Hash"="57y87/ogggU="
    "ProgId"="PhotoViewer.FileAssoc.Jpeg"
    But the "Hash" part had me concerned. I did some internet searching for the hash, and came across a post and a pointer to a blog with some answers.  This is both good news and bad.
    Background:
    One of the problems with Windows XP is that any program can come in and party on the entire system. No, I don't want you to put a shortcut on the desktop, install a crappy IE Toolbar, and change the default file association for *.jpg files to your app, I
    just wanted to play a stupid game. Since Windows 7, Microsoft has been attempting to block that functionality from the stupid applications, and give them back to the user. Take note of the last line in the ITaskbarList3 interface:
       Applications cannot programmatically pin themselves to the taskbar. That functionality is reserved strictly for the user.
    Of course that sucks for us IT Pros who may wish to create *default* working environments for corporate images, but there are some tricks we can do.
    Solution:
    This blog appears to have the answer:
    http://blogs.technet.com/b/mrmlcgn/archive/2013/02/26/windows-8-associate-a-file-type-or-protocol-with-a-specific-app-using-a-gpo-e-g-default-mail-client-for-mailto-protocol.aspx
    New for Windows 8 is a dism command: /Get-DefaultAppAssociations that allows you to export a control case from a known good computer. Microsoft the supports importing the exported xml file via GPO. For example, before I changed the file association, .AVI
    was pointing to the Modern App, after the change the /export-DefaultAppAssociations shows change to the new app:
    From:
    <Association Identifier=".avi" ProgId="AppXhjhjmgrfm2d7rd026az898dy2p1pcsyt" ApplicationName="Video" />
    To:
    <Association Identifier=".avi" ProgId="VLC.avi" ApplicationName="VLC media player" />
    I am still doing some investigation to see if a GPO is required, or if you can inject the association into a local user account. Also, if you do have some Modern Windows 8 Touch Tablets, it would recomend keeping most of the Modern App defaults in place,
    perhaps seperate GPO's for Desktops/Laptops vs Tablets?
    -k
    Keith Garner - keithga.wordpress.com

  • Idoc not recive while sending using program & SEND IDOC IMMEDIATELY in we20

    <b>i am sending idoc using program</b> - with function master dat distribute function,
    now if i set SEND IDOC IMMEDIATELY in outbound message in we20 'partner profile' than idoc get status 03 but at reciver end idoc not found with any status.
    if select collect idoc immideatly than work properly.
    what precaution needed while sendig idoc throug send idoc immideatly with Program,
    regards,
    r p.

    Hi rp,
    when using SEND IDOC IMMEDIATELY in outbound messge, the packet size should be 1 and use start subsystem option.
    Thanks,
    Rajeev Gupta
    Message was edited by:
            RAJEEV GUPTA

  • Scheduling an sql script using dbms_scheduler

    Hi Experts,
    I am having an oracle 10g database on windows platform. I have an sql script which has a normal set of sql statements (insertion and updation).
    I would like to schedule to run this sql script using dbms_scheduler but I've gone through certain sites and came to know that it's not possible to schedule an sql script using dbms_scheduler. Please let me know how I can schedule this script using dbms_scheduler.

    It is possible - in 10g and above you can use DBMS_SCHEDULER to call an external procedure, which in this case could be a call to your SQL file.
    Get's a bit more complicated with older versions, but still doable.
    But - unless there is a really good reason why you cannot do so, move this into a PL/SQL procedure as suggested.
    Carl

  • Creating SAP users using Program RHPROFL0

    Hi Experts,
    I want to create SAP users and assign authorisation using program RHPROFL0.
    Whenever I execute this program Generate new user field is greyed out. I can not select it to create users.
    I have already activated switch 'ORGPD' for Structural Authorisation check.
    Is there any additional setting/config I am missing.
    Pls help

    Hi, Syed!
    As I can see from the source code in my system, this field is grayed out according to the following rule:  "not a central system, no user generation".
    Thus, it is likely that your system is a child CUA system, so logins are supposed to be created by CUA.

  • Broadcast Setting - Bursting : Could not determine recipient

    Hello,
    I created broadcast setting for template using option bursting.
    Template is broadcasted by district (attribute of 0plant).
    Here is the option for broadcasting.
    Chracteristic for receipient determination : Generate Document with Variable Value      
                Variable : District
    Selection of the Characteristic Values : By Following Selection      
    It had worked sucessfully for several months, by now from time to time ,
    I would say 60% of broadcastings ended with error: Bursting: Could not determine recipient
    When I run broadcast setting the second time , it's always ended sucessfully, and send templates to districts.
    Could you please advise how to fix this.
    I can not imagine what could cause this strange behavior,
    so I'll be very appreciated for any help.
    Thanks in advance,
    Alena Yershova

    can you install  http watch on you internet explorer and run it and it will show you where its holdin gup.. or i am not sure if you can broadcasting from back end system..

  • Broadcasting  Workbook using Email Bursting

    Hi All,
    I am trying to Broadcast Workbook Using Email Bursting option and I am getting corrupted workbook. I have seen several posts in this regard and then included a Mandatory Variable to do precalculation but even then its sending a corrupted workbook.
    Now I have a new issue along with this: my precal server(t-code: RSPRECADMIN) is becoming offline(Red)/ at capacity(Yellow) whenever i try to braodcast a workbook. So i have to restart the Service on the server and also followed all the steps listed in the How to..troubleshoot information broadcasting pdf.
    we are on BI 7.0 SP 17 and installed the latest version of precalserver.
    Can anyone please tell me step by step procedure on how to Broadcast Workbook using Email Bursting .
    Eagerly waiting for your feeback on this.
    Thanks inadvance,
    Sparc.

    Hi Harshal,
    I opened an SAP note and they came up saying
    "Please be informed that BI 7.X PreCalculation service is not available
    with GUI 710. you have to use GUI 640 for precalculating the workbooks.
    Precalculation service for GUI 710 is still in testing and not delivere
    d for customers yet.
    Please refer to the below mentioned note:
    1145589 : BI 7.X PreCalculation service delivery schedule"
    I did not try on 640 yet...please let me know if you find the solution for this..
    waiting for your reply.
    Regards,
    Sparc.

Maybe you are looking for