Process chain in BW for specific day starting programm in ERP

Hi guys,
I have created a process chain in BW which works fine.
Now I have to think about to include a step in this process chain which starts for one specific day one program in ERP.
When this program in ERP is finished with updating data the process chain should continue and then the ERP data should be uploaded in BW.
For example. Every 10th of a month a program in ERP should be started for the last day of the month before (for example 31.1.11). The program runs about 7 hours. When the program is finished the process chain shoul continue.
Is that possible to handle with process chains?
Thank you in advance!

Hi,
1. Make your existing chain as local chain.
2. Create a process chain PC1 with a start variant and add above local chain.
3. Schedule PC1 every day and restrict it not to run on 10th day of every month.
4. Create a program or function module in ECC to execute your logic.(last day of last month as range).
5. create a event in ECC.
6. create a back ground job with step1 as program and step2 as event created in step 5.
7. Create process chain PC2 in BI with start variant with event created in step 5.
8. schedule the back ground job created in step 6 in ecc to run on evry 10th day of the month.
If you do not want 2 pcs you can create only one PC based on variant from ECC. Add lIF condition in your ECC program
to check if it is 10th of the month or not. If it 10th day execute your logic else complete the program with out executing any logic.
so that back ground job will trigger step 2 (which is event) which will inturn trigger BI load.
Thanks,
Kalyan.
Edited by: Kalyan.Undavally on Feb 8, 2011 6:30 PM

Similar Messages

  • Process chain name required for a infopackage

    Hi,
    Is there a table in BW that stores the process chain name and IP's in it. We need to find the names of process chains based on the Info package names.
    Regards,
    Adarsh Mhatre

    Hi Adarsh
    Check these tables
    Tables for Process Chain logs
    RSEVENTHEAD -
    Header for the event chain
    RSEVENTHEADT -
    Header for the event chain
    RSPCCHAIN----
    Process chain details
    RSPCCHAINATTR------- Attributes for a Process Chain
    RSPCCHAINEVENTS------- Multiple Events with Process Chains
    RSPCCHAINT----
    Texts for Chain
    RSPCPROCESSLOG----
    Logs for the Chain Runs
    RSPCRUNVARIABLES----
    Variables for Process Chains for Runtime
    RSPC_MONITOR----
    Monitor individual process chains
    Regards
    Jagadish

  • Stop user creating process order with material for specific order type

    Hey Team,
    Is there a way where I can stop creating process order with material for specific order type says Z*. We are using ZNMA  order type to create trial batch and we do not want to create process order with material for this order type.
    Any ideas?
    Thanks
    Bhavesh Patel.

    You can restrict the order creation in CO01 based on authorization, Remove the authorization for Z order type for the particular user,  Check with your basis Guy

  • ICal - alarms for specific days (not dates)

    I am very forgetful, and I often use iCal to make reminders for myself (using the alarm w/ sound). However, I often have weekly reminders at work. For example, I would back up our files at work on Tuesdays and Thursdays. I was wondering if there is a feature in iCal that can set reminders for specific days of the week. Any input is appreciated. Thanks!

    Create an event on tuesday, go to the repeat menu,
    select custom, mark the days you want the event to be
    (tuesday and thursday). Then go to the alarm menu ans
    set the sound you want.
    Note: if you plan to sync to a palm device, the palm
    doesn't accept events that repeat on specific
    (multiple) days of the week, so create two events,
    one that repeats every Tuesday and another for
    Thursday.
    Thank you so much! You solved my problem! -Catherine

  • Scheduling a process chain running in a specific hour

    hi,
    Is there any other way to schedule the process chain to run in a specific time besides using different meta chains to call the main process chain to do the loads separately.
    Can we do this by using one main process chain?
    for example, this is performed daily (hourly load: 4am load, 9am till 9pm load).
    willie

    Hi,
    <b>Process Chains</b>:
    From 3.x onwords to automate loads as well as process like Openhub,ababp
    programs or activations or etc., We are using this process chains.
    Coming to the major advantage
    Like eariler infopakge groups if any pak fails we need to trigger all the loads
    manully .wher as in Pchaing just correct that particular ipak and repaeat from that
    particular process .it will take care abt remaing subsequent chain .
    And also we can trigger parallel loads as well in this. Its much user friendly in monitoring.
    1)You can make the process chain to be trigered by an event.
    You do so by having the Job that start the PC start after an Event.
    Then you define your set of job's (thru SM37) and make sure these jobs fire the event that starts the PC.
    There is an ABAP program you can use that fires events (FM -> BP_EVENT_RAISE).
    2)In the Start process of your process chain, select Direct Scheduling and then click the Change Selections icon. This will bring you to the Start Time window where you can put in the Date/Time you want to start your process chain. At the bottom of this window, click on the Periodic job box and you will notice another icon way at the bottom called Period Values. Click this to determine what frequency the job should be rescheduled (ie. daily, weekly, etc.).
    3)you can do this by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
    You can Schedule process chain in background by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
    Hope it helps.
    *****Assign points if helpful*******
    Thanks,
    Amith

  • Process chain 3 times schedule a day

    Hi Experts,
    In my requirement is to schedule the process chain 3 times a day but different times like 5am, 12pm, and 4pm.
    Could you please anyone reply to step by step procedure.
    Advance thanks
    Regards,
    Sathis

    Hi,
    1)You can make the process chain to be trigered by an event.
    You create user events in SM62. In SM62, next to "User even names", click on Maintain and press Enter. Click on the Create icon to create a new event (let's call it ZEVENT).
    Next, in your process chain, change the Start variant to be scheduled "After event", and put in ZEVENT for the event name. Also, click on the "Periodic job" at the bottom. This will automatically reschedule the jobs for the process chain after it executes.
    Next, create an ABAP program (let's call it Z_EVENT_RAISE) to call the function module BP_EVENT_RAISE. You're code can look like this:
    codeREPORT Z_EVENT_RAISE.
    PARAMETERS: P_EVENT LIKE TBTCO-EVENTID.
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    EVENTID = P_EVENT.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.[/code]
    This ABAP program will prompt for an event name, so you will need to create a variant (let's call it ZEVENT) which will save the value of the event name (also ZEVENT). You will need the variant name to be able to trigger the event in a batch job.
    Now all you need is the batch job. Use tcode SM36 to create a batch job where you call the ABAP program (Z_EVENT_RAISE) using the variant (ZEVENT).
    Note, SM64 only triggers an event manually.
    and you can copy this job to schedule it three times a day.
    2)In the Start process of your process chain, select Direct Scheduling and then click the Change Selections icon. This will bring you to the Start Time window where you can put in the Date/Time you want to start your process chain. At the bottom of this window, click on the Periodic job box and you will notice another icon way at the bottom called Period Values. Click this to determine what frequency the job should be rescheduled (ie. daily, weekly, etc.).
    3)you can do this by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
    Hope this helps.
    Regards
    CSM Reddy

  • Trigger Process chains only once in a day

    Hi All,
    I have a requirement where a process chain triggers on arrival of some files.Now I want this chain to trigger only once in a day even if file arrives before the start of next day.How can i acheive this.
    Reagrds,
    Raj

    Hi,
    Please use below:
    REPORT  ZCHECKPCNEW.
    TABLES : RSPCLOGCHAIN.
    DATA : IT_TAB TYPE TABLE OF RSPCLOGCHAIN,
           WA_TAB TYPE RSPCLOGCHAIN.
    FIELD-SYMBOLS <FS> LIKE LINE OF IT_TAB.
    PARAMETERS :LV_CHAIN TYPE RSPCLOGCHAIN-CHAIN_ID.
    SELECT * FROM RSPCLOGCHAIN INTO TABLE IT_TAB
    WHERE CHAIN_ID  = LV_CHAIN
    AND DATUM = SY-DATUM.
    SORT IT_TAB DESCENDING BY DATUM ZEIT.
    READ TABLE IT_TAB INDEX 1 ASSIGNING <FS>.
    IF SY-SUBRC = 0.
      IF <FS>-ZEIT < SY-UZEIT.
      MESSAGE E000(SABAPDOCU) WITH 'Error'.
      ELSE.
      MESSAGE I162(00) WITH 'Successful'.
      ENDIF.
    ELSE.
    MESSAGE I162(00) WITH 'Successful'.
    ENDIF.
    -Vikram

  • Process Chains are running from 3 days

    Hi BW experts,
    Daily our process chains run in the night time.
    But Friday's jobs are still running. So i stopped all process chains on saturday.
    Friday's jobs did not finish till now. Still these are running. These are in active.
    Some process chains are stopped at CREATE INDEXES.
    Some process chains are stopped at ODS Activation.
    These are in yellow status.
    Please can anyone tell me the solution for this. I have to start our process chains today night.
    How can i rectify this problem? Can we stop the yellow status jobs
    Thanks & Regards
    Anjali

    Hi 
    check the loads in the process monitor whether it has completed or not??
    Some times it will show yellow if it gets completed also.Otherwise check for the source systems from where u r getting data.There may be a problem with that.
    Cheers
    Sunil Reddy LCP

  • What would the best process chain look like for this MD data load scenario?

    Hi there,
    I have the following setup. SAP BW connection to external system via DBConnect (DB2 database).
    We have 73 master data text data sources to load either once a week or everyday through process chain. We have not decided on the exact schedule yet.
    All the master data text DataSources pull data from the SAME VIEW created on the DB2 external system:
    VWDEDMASTERDATA
    The structure of the view is the following:
    DEDNAME
    DEDNAMETYPE
    DEDNAMECODE
    DEDNAMEDESC
    DEDNAMELONGDESC
    So, everytime master data text is extracted for all the 73 objects it queries the same view over and over again VWDEDMASTERDATA. We only differentiate in the datasource on the FIELDS tab which InfoObject should DEDNAME map to and then in InfoPackage we filter on the exact object/field to query.
    So essentially, every time we run InfoPackage for master data text object the external system gets queried in the following way:
    SELECT * from VWDEDMASTERDATA where DEDNAME = [FIELD/InfoObject specified in InfoPackage]
    So, if I have to have all 73 objects loaded, essentially the same SQL statement has to execute 73 times. In this scenario, what would be the proper process chain setup that has perfomance in mind? How should the InfoPackages be arranged, in parallel, sequentially, how many in a row, etc?
    Let me know if you need more information.
    thanks

    They would like to send the letters to me
    Depending upon how they send the letters to you and how they expect Acrobat to convert them you could be bordering on a license violation that prohibits you from using your version of Acrobat as a server-based product.
    Adobe offers server based products to convert rtf files into pdf files. Some require your company to run a server, but one seams exactly what they may want. The createpdf service is run by Adobe and seems capable of doing what your company wants.
    https://www.acrobat.com/createpdf/en/home.html

  • Want to change payment methods, it says: 'we're processing your order'. For 3 days already. In 2 days my subscription ends.

    I've had earlier issues with changing my creditcard data, eventually that worked, and the person I spoke with in the chat said everything would be fine with my subscription.
    Now, it says I should've had a bill 2 days ago to renew my subscription, but I didn't. So I clicked 'add payment info' and it says: 'We are processing your order'. But it's saying that for 3 days now, and my subscription ends in 2 days. So if it's not fixed by then I'm damn lost 'cause my work depends on Photoshop.
    What am I supposed to do now? I just want to pay the bill so I can use Creative Cloud.

    This is an open forum with a mix of other users and Adobe staff, not Adobe support... you need Adobe support
    Adobe contact information - http://helpx.adobe.com/contact.html may help
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • Program Process chain-- Number of records per day.

    Hi  Friends,
    i need to  develop a program based   upon the below template.
    Chain Name      Start Date     Start Time   End Date      End Time     Total Run Time    Number of Records      Total number of records
                                                                                    IP1/IP2/IP3
    Imgaine that i have a process chain with 3 infocpakages..
    Please help us in having the code as i donot know ABAP and program /ssa/bwt will not survive my purpose.\
    Regards,
    Siddhu

    hi sid,
    i think while creating the abap code u need to take help of following tables:-
    Chain Name              RSPCLOGCHAIN.  take chain id from corresponding Chain name, and navigate to table RSPCPROCESSLOG.
    Start Date                          RSPCPROCESSLOG
    Start Time                          RSPCPROCESSLOG
    End Date
    End Time                           RSPCPROCESSLOG
    Total Run Time                  can be caluted using ENDSTAMP and STARTTIME.
    Number of Records          RSMONICDP
    Total number of records   RSMONICDP
    you have to hit these table and take the latest data from your abap code.
    thanks

  • Showing process in tracking list for specific user

    Hello
    I have a process in which there are several Assign Tasks operations for users to fill out forms.
    I want a specific user of my domain to be able to review every process instance that gets initiated, but I haven't figured out how to accomplish that without assigning the task to him. I've been playing with Task Access Control List and Delegation and Consultation properties, adding the specific user and group to the settings, but still can't view the processes in his tracking list.
    Is there an option or workaround for his Tracking list to get populated?
    Thank you

    You can create Custom Search Templates to search for certain process instances initiated by
    all users.
    See the help manual http://LOCALHOST:8080/lc_admin_en/wwhelp/wwhimpl/js/html/wwhelp.htm?href=000373.html for more details
    Nith

  • Process chain failing past 3 days

    Hi,
    Process chain is failing since 3 days which suppose run 6 PM everyday, If i run manually it is working fine, again it is failing at schedule time 6 PM.
    In Canceled job log giving the following information. NO_MORE_SPACE: can not crate MTE: No more space: no more MESSAGE_CONTAINER slots available.Process chain variant XXXX not having scheduled variant for the event RSPROCSS.
    Please advice me to over come this issue.
    Regards,
    B J

    HI JB,
    Check in DB02 is there enough space available or not?
    Contact your basis people if space related issue means.
    NOTE: Assign points if it helps
    Regards,
    Arun.M.D

  • Authorizations setting for running the process chain

    Hai
    Iam planning to run the process chain for loading the data into ODS. But i dont have authorization for it.
    so what are the authorizations i need to run the process chain in my system. And how can i set all those authorizations to my user-id.  I have all authorization rights .
    Pls let me knw
    kumar

    Hi,
    Authorizations for Process Chains
    Use
    You use authorization checks in process chain maintenance to lock the process chain, and the processes of the chain, against actions by unauthorized users.
    ·        You control whether a user is allowed to perform specific activities.
    ·        You control whether a user is allowed to schedule the processes in a chain.
    The authorization check for the processes in a chain runs when the system performs the check. This takes place upon scheduling or during synchronous execution. The check is performed in display mode. The check is performed for each user that schedules the chain; it is not performed for the user who executes the chain. The user who executes the chain is usually the BI background user. The BI background user automatically has the required authorizations for executing all BI process types. In attribute maintenance for the process chain, you can determine the user who is to execute the process chain.
    See also: Display/Maintenance of Process Chain Attributes ®  Execution User.
    Features
    For the administration processes that are bundled in a process chain, you require authorization for authorization object S_RS_ADMWB.
    To work with process chains, you require authorization for authorization object S_RS_PC. You use this authorization object to determine whether process chains can be displayed, changed or executed, and whether logs can be deleted. You can use the name of the process chain as the basis for the restriction, or restrict authorizations to chains using the application components to which they are assigned.
    Display/Maintain Process Chain Attributes
    Use
    You can display technical attributes, display or create documentation for a process chain, and determine the response of process chains during execution.
    Features
    You can display or maintain the following attributes for a process chain:
    Process Chain ® Attribute ® ...
    Information
    Description
    ( Rename)
    You can change the name of the process chain.
    Display Components
    Display components are the evaluation criterion in the process chain maintenance. Assigning the process chains to display components makes it easier to access the chain you want.
    To create a new display component, choose Assign Display Components in the input help window and assign a technical name and description for the display component in the Display Grouping dialog box that appears.
    Documents
    You can create and display documents for a process chain.
    For more information, see Documents.
    Last Changed By
    Displays the technical attributes of the process chain:
    ·        When it was last changed and who by
    ·        When it was last activated and who by
    ·        Object directory entry
    Evaluation of Process Status
    If you set this indicator, all the incorrect processes in this chain and in the overall status of the run are evaluated as successful; if you have scheduled a successor process upon error or always.
    The indicator is relevant when using metachains: Errors in the processes of the subchains can be evaluated as “unimportant” for the metachain run. The subchain is evaluated as successful, despite errors in such processes of the subchain. If, in the metachain, the successor of the subchain is scheduled upon success, the metachain run continues despite errors in “unimportant” processes of the subchain.
    Mailing and alerting are not affected by this indicator and are still triggered for incorrect processes if they have an upon error successor.
    Polling Indicator
    With this indicator you can control the response of the main process for distributed processes. Distributed processes, such as the load process, are characterized as having different work processes involved in specific tasks.
    With the polling indicator you determine whether the main process needs to be kept until the actual process has ended.
    By selecting the indicator:
    -         A high level of process security is guaranteed, and
    -         External scheduling tools can be provided with the status of the distributed processes.
    However, the system uses more resources; and a background process is required.
    Monitoring
    With the indicator in the dialog box Remove Chain from Automatic Monitoring?, you can specify that a process chain be removed from the automatic monitoring using CCMS.
    By default CCMS switches on the automatic process chain monitoring.
    For more information about the CCMS context Process Chains, see the section BW Monitor in CCMS.
    Alerting
    You can send alerts using alert management when errors occur in a process chain.
    For more information, see Send Alerts for Process Chains.
    Background Server
    You can specify here on which server or server group all of the jobs of a chain are scheduled. If you do not make an entry, the background management distributes the jobs between the available servers.
    Processing Client
    If you use process chains in a client-dependent application, you can determine here in which client the chain is to be used. You can only display, edit, schedule or execute the chain in this client.
    If you do not maintain this attribute, you can display, edit, schedule or execute the process chain in all clients.
    Process variants of type General Services that are contained in a process chain with this attribute set will only be displayed in the specified client.
    This attribute is transported. You can change it by specifying an import client during import. You must create a destination to the client set here in the target system for the import post processing (transaction RSTPRFC)  The chain is activated after import and scheduled, if necessary, in this client.
    Execution User
    In the standard setting a BI background user executes the process chain (BWREMOTE).
    You can change the default setting so that you can see the user that executes the process chain and therefore the processes, in the Job Overview. You can select the current dialog user who schedules the process chain job, or specify a different user.
    The setting is transported.
    The BI background user has all the necessary authorizations to execute all BI process types. Other users must assign themselves these authorizations so that authorization errors do not occur during processing.
    Job Priority
    You use this attribute to set the job priority for all of the jobs in a process chain.
    Hareesh

  • How to stop process chain if it yellow for long time

    hello all,
    I see that my process chain is running for long time and is yellow for more than last 24 hours now. I can see where the chain is stuck(not going ahead).
    What do we normally do in such scenarios?
    Also one more question I have is about delete PSA request process variant. Can i use the same variant in two different process chains, is yes than do I have to include the name of the PSA tables that are in both the process chains. When the variant runs in 1st chain does it delete the PSA tables from the second chain as well..(i hope i made this clear)
    Thanks in advance

    Once you have done with your init load manually. Then in case it was just the start of the process in ur Process Chain then first remove the chain from schedule and then go to the start process of the process chain and save the setting for immediate, uncheck the periodic box and save and then come out of the screen and then execute and activate the chain.
    Note:
    1. Before changing the setting in the start process make a note of the start time and also its periodic value.
    2. Once the chain is completed then change the setting in the start process back to previous start time and periodic value.
    3. Don’t forget to save and activate the chain.
    Regards,
    Rohini

Maybe you are looking for

  • Can't get Mail working properly

    I just got my new MacPro this week, and it's really great except for I can't get Mail working right. I've set up my accounts and a few emails come through, though not many, and because it's been a week since I've been online, there should be many mor

  • Problem in my x3 and I want help quick

    My x3 phone not charging via USB when connect the phone to my PC and that only happen when upgrade my phone to new firmware 8.40 please some ideas because my charge runout quick due to connect it long long with PC someone help

  • R3 material no. related to product in CRM

    how to get the (R3)material number corresponding to a product in CRM. how are the products in CRM realted to mateirals in R3 ?

  • How can I change the thickness of the cell border of a table in Pages for iPad ?

    Hi, i want to change the thickness of cell borders in tables in Pages for iPad to at least 2pt, better 3pt. How can I change the thickness in the iOS Version of Pages ? Thanks

  • 9300 internet is not working at all.

    My internet and bbm and apps that use internet were working perfectly fine and I've had the phone for nearly 2 years, but a couple of days ago they just stopped working. I can text and ring like normal but my internet isn't working. I've switched on