Decision Between Multiple Alternatives in Process Chain

Hello all!
I wanted to use the process type "Decision Between Multiple Alternatives" in a process chain, so than i can choose wich DTPs will be executed. I was wondering to use the Function "PREDECESSOR_PARAMETER (<I_FIELDNAME>, <I_LOW_OR_HIGH>, <I_NUMBER_OF_VALUE>)" to get a parameter from an ABAP program step, but i do not know which I_FIELDNAME parameter should i use to receive the parameter. Did anyone use this logic or something similar? Do you think there are better ways of doing this?
Thanks in advance and Best regards,
Nuno

Hi,
The decision process type allows you to determine a set of conditions
For more info go though the below link , as they have explained step by step with screenshots
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900be605-7b59-2b10-c6a8-c4f7b2d98bae&overridelayout=true
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/301fb325-9d90-2c10-7199-89fc7b5a17b9&overridelayout=true
Regards,
Marasa.

Similar Messages

  • Use ABAP code in "Decision Between Multiple Alernativesu201D in process chain

    Hi, does anybody know if it is possible to include ABAP code in formula definition when using u201CDecision Between Multiple Alernativesu201D in process chain.
    I wanted to read a specific parameter from one table in order to choose the next step in the process chain.
    If it is not possible, do you any workaround?
    Best regards,
    João Arvanas

    Hey.  You could create your own custom formula which you would code.  Then that formula is reuseable in the formula builder.  That should get you where you need to be.
    Here is a document on how to implement the custom formulas:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f095592f-42f7-2a10-6ab1-c836a559b48f?quicklink=index&overridelayout=true
    Hope this helps.
    Thanks

  • Decision Between Multiple Alternatives-Process Chain Formula

    Hi,
    I need to write a formula in the process type 'Decision Between Multiple Alternatives'.
    If the current date is on the end of month then i need to trigger a monthly snapshot dataflow if not then daily dataflow needs to be triggered.
    Anyone have any idea of how to write a formula for this?

    You can check both of these docs which defines how to use 'Decision Between Multiple Alternatives' process type:
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900be605-7b59-2b10-c6a8-c4f7b2d98bae&overridelayout=true]
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/301fb325-9d90-2c10-7199-89fc7b5a17b9&overridelayout=true]

  • Decision between multiple alternatives process type

    Hi All,
    I want to use this process type "decision between multiple alternatives" in one of my process chains, but i want use this process type if the DELTA infopackage pulls ZERO records, skip the next process and more than ZERO records continue the process.
    Please suggest me is it possible anyway.
    Thanks a lot in advance.
    Regards,
    Ravi Kanth

    Hi,
    You can't do it with Decision type process as the conditions allowed are standard System conditions. As Suggested above, you need a code before that. The logic can be sketched as :
    1. Load the provider.
    2. Obtain the latest request in the provider.
    3. Get the data from the request (std SAP prog is available for reading from providers).
    4. Raise error upon getting no data (in this case you need to put the steps to be skipped in another chain and use in the main chain as meta chain).
    --Akashdeep

  • How to use the 'Decision between multiple alternatives' Process variant

    Hi ,
    Can anyone tell me how to use the 'Decision between multiple alternatives' Process variant in BI 7 Process chains ?
    The requuirement is that I have a DSO eg DSO 1 from which i have to load DSO 2 and DSO 3 . Now if the number of Records in DSO 1 are < 100 i will load DSO 2 from DSO 1 else i will load DSO 3 from DSO 1 .
    So in the PC i have used a 'ABAP Program' variant (which counts the number of rows in DSO 1) after loading DSO 1 and  after this 'ABAP Program' Variant , i have used the 'Decision between multiple alternatives' Process variant. Problem is it is giving me only some some system fields in the formula , like sy-datum or sy-timlo , which are of no use here .
    It would be great if i can receive some help here .
    --Devraj

    in RSPC you create a ABAP processing type "ending with specific values".
    We use true or false for things as you specify.
    your abap program should return a true or a false to indicate which of the situations is applicable.
    Is this helpful?
    Marco

  • User Defined function in "Decision between multiple alternatives"

    Hello,
    I am looking to create my own User Defined function in the formula builder of the process type - "Decision between multiple alternatives" in a process chain.
    Could anyone advise please how this can be done?
    Many Thanks,
    Abhijit

    Hi Abhijit,
    Where you want create you own user definefunction in Intergation planning or some where else.
    Please specify your requirement.
    Thanks and Regards,
    Venkat.

  • Decision between multiple alternatives -question

    Hello all,
    I have some doubts about process Decision between Multiple Alternatives, from RSPC transaction.
    The problem is like this:
    1. I have one main process chain.
    2. I have the process decision between multiple alternatives, in this main chain, after start.
    I choosed formula and I put an if (as in the code below). Then I put the WORKINGDAY_MONTH
    In it I want to test to have the 19-th working day of the current month , factory calender ' 01'.
    If I have this day I want , I want to raise an event.
    IF( WORKINGDAY_MONTH( Current Date, '01', '' ) = 19, 'ZEVENT_WD', 'ZEVENT_ERROR' )
    This event would be usefull so I can start with it a second chain(inserted in the main chain).
    The system says (when I check my formula) that it is sintactically correct, but incomplete.
    Any clues why this message apears ?
    I don't know if it is ok to put the events like that in my IF (one to start the subchain and one as error).
    Thank you a lot.

    Hi,
    The decision process type allows you to determine a set of conditions
    For more info go though the below link , as they have explained step by step with screenshots
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900be605-7b59-2b10-c6a8-c4f7b2d98bae&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/301fb325-9d90-2c10-7199-89fc7b5a17b9&overridelayout=true
    Regards,
    Marasa.

  • Decision between multiple alternatives

    Hi,
    Can i use the function like this
    MONTH_QUARTER1( '0calmonth' ) = 1 where 0calmonth is a infobject either in DSO or cube.
    When I checked , syntax is correct.
    Can anyone tell me whether I can use the infobject like ocalmonth or 0calday.
    Thanks in advance!

    This will work.  You cannot use 0CALDAY directly because the data needs to be in the format YYYYMM.  So, 0CALMONTH will work directly, but 0CALDAY will need to be converted first:
    MONTH_QUARTER1( DATE_MONTH( 0CALDAY) )

  • Differences Between Infopackage Groups and Process chains

    Hi All,
    Can anybody explain me what are the differences between Infopackage Groups and Process Chains ? And how process chains are more comfortable

    hi nagarjuna,
    An InfoPackage group is a collection of InfoPackages. In order to summarize data requests which logically belong together from a business point of view, and to therefore simplify the request, you can collect data requests (meaning the InfoPackages) into an InfoPackage Group. You can schedule each of these groups in the scheduler . With the data request the scheduler can access InfoPackage groups directly and thereby request more than one InfoPackage at a time, corresponding to the setting in the InfoPackage group. Thus, you can support InfoPackage groups with the serialization of your data requests.
    While a process chain is a sequence of processes that wait in the background for an event. Some of these processes trigger a separate event that can start other processes in turn. hit this link to know abt PCs:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    Process chains are more comfortable becoz itz not like infopackages where we have to schedule each pack individually. And in PCs, monitoring is very convenient since u see evrything in a single page.
    regards
    sham'm

  • Lock Problem while Broadcasting multiple reports using process chains

    Hi All,
    I am trying to broadcast 10 reports using the process chains using the program for RSRD_START and variants created in the Broadcaster..the Program jobs start fine.But I am facing the error that the RSRA_CA_LOG table is getting locked while trying to broadcast the Reports..Can any help me on how to run the jobs without the locking problem..Suggestions please.
    Thanks,
    Mike.

    Hi,
    Thanks for the Inputs and the SAP Notes.
    I am trying to broadcast the Reports from the the Bex Analyer and getting this ock error and not the workbooks.
    I am also trying to Broadcast the Workbooks also, but could not find the options to Broadcast them. we are in SAP -BW3.5 SP 12, Is it possible to broadcast the workbooks in this Patch level..or do we need to upgrade to achieve this.If so...can any one provide me the proceedure to  Broadcast the Workbooks.
    Thanks,
    Mike.

  • Process chains Decision process user defined functions

    Hi Experts,
    In process chains process type decision we can define user defined functions. How to define these functions. Any help greatly appreciated. Thanks.
    Best Regards,
    Suresh.

    I can only find out "decision between multiple alternatives'//are you looking for this?
    This is used to decide b/w different options as given in its menu....
    --SA

  • How to shedule process chain Multiple time in a month

    Hi to all,
    I have a question.
    suppose we required to shedule the process chain,
    for first 10 days, we need to extract data 8 time a day
    and for remaing days in months, we need to extratc data 1 time a day.
    How can we achive that in process chain.
    Please can any one tell me the solution.
    I shall be thankful to you for this.
    Regards
    Pavneet rana

    Hi,
    Another option would be using the InfoPackage settings. Create 2 infoPackages.
    1st one for first 10 days
    ====================
    In the "Schedue" tab, define the Scheduling options to Hourly and save it. Now, you will see "Periodic Processing" section with two options,
    1. Do Not Cancel Job
    2. Cancel Job After X Runs
    For 2, provide 8.
    2nd for From 11th day
    ==================
    Create another InfoPackage for Daily load.
    In process Chain, you may use the previous "Decision Between Multiple Alternatives" process type (in the command formula, write a simple formula as below:
    RIGHT( 2, Current Date ) <= 10
    Then include 2 ABAP Program for each option (using "BAPI_IPAK_START" with the InfoPackage name) in decision options. (use the InfoPackages as variants).
    This will solve your requirement,
    "for first 10 days, we need to extract data 8 time a day
    and for remaining days in months, we need to extract data 1 time a day."
    Now, further update using DTP, for remaining days in months (i.e. 1 time a day) you can directly include the DTP in the chain. However, for the 1st 10 days you have to dig more.
    Good Luck!
    Sankar Kumar

  • I have a problem in creating a Process Chain(PC).

    Hi GURU's
    I have a problem in creating a Process Chain(PC). The PC should run on first 3 business days of the month for six times i,e 6am, 7am,8am, 9am,10am,11am.
    For this i have created 3 PC like BD1, BD2, BD3, and i selected the Factory calender provided workday 1, 2 , 3 and time for three chains.
    Now should i schedule it for 6times in a day.
    I tried creating a new job for one of PC's but i have to change the timings for  every month (this is not the proper solution).
    Please help me.
    Regds
    Lajwanth

    Hi Friend,
    For the days part, you can create a new factory calendar with first 3 business days of each month only as working days.
    Then in the scheduling -> Restrictions; you can mention that Factory Calendar id and select radio button for "Move job to next working day". Schedule the chain as Periodic "Hourly".
    Then for the Time part -> You can insert process type "Decision between multiple alternatives" after the start variant.
    After you insert this process type you can create a formula in it to check for system time. In the if condition check for system time i.e., whether it is between 6 - 11. If only the system time is between 6 AM to 11 AM only then the decision step would turn to green and go to the successor step in the process chain.
    Process chain would be like:
    Start variant -> Decision Step -> Rest of the chain.
    So in short the factory calendar will take care of which days the chain will run and decision step will take care of the timings.
    Regards
    Hemant Khemani

  • How to create a process type/variant for this in Process Chain

    i
    I created a Selective Delete Variant (Delete_Facts) with some data selection upon which data to be deleted, to be used in Process chain.
    My requirment is
    I need to include that in the process chain in a such a way that that variant should be executed only on FIRST DAY of every month.
    (First day of every month Selective deletion on data tardet will be performed....rest of the days no selective deletion is performed)
    Please advise how can i achieve this
    Thanks in advance

    Hi,
    You can probably create a seperate chain containing this variant alone, and schedule it to run on the first of every month.
    This can be done by right clicking on the start variant, and selecting the option periodic, and giving the periodic value, where you have values "hourly","daily", "weekly", "monthly", otherperiod.  Another try can be to click on the arrow at the top beside "At Operation Mode" and d specify a factory calendar. I am not much sure of this option.
    another option is that you can try using the procecc type "Decision Between Multiple Alternatives " and check if calendar day is first of the month then execute your variant, or else execute the other normal steps. You can get more info on this functionality from BI-ExpertOnline.
    Hope this helps.
    Thanks,
    Tintu

  • Process Chain with IF condition

    Hi all,
    It's possibile put in a process chain an IF condition??
    This is my problem:
    I have a process chain that execute  all process even if the result is GREEN or RED.
    At the end of the chain I have to Make a chois, IF one of the previous step is RED the proces chain have to do something IF all  previous step are GREEN  the proces chain have to do something else.
    I hope I have explained my problem well.
    Thank you very much,
    ax.

    Yes something like this,
    I have 5 IP
    IP1 -> IP2 -> IP3 -> IP4 -> IP5
    At the end of PC IF one of IP1 to IP5 is red the PC execute an ABAP program ELSE the PC execute an different ABAP  program.
    Now when i use a Decision Between Multiple Alternatives i have to specify a formula into the variant, right? but how can do this??
    meyby i explain not well my problem :-D
    Thx,
    ax

Maybe you are looking for