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

Similar Messages

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

  • 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

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

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

  • 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

  • Relation between campagin and process type

    Hi All,
    Please let me know the relation between Campaign Id and Process Type. ie. based on a campaign id how to find the transaction process type?
    Regards,
    Vinny

    Hi Vinny,
    As I know, Campaign is different from other document like Sales Order or
    Complaint. For Campaign there is special setting where there is no need
    to define transaction type. Even, there is no number range defined for
    this Campaign. There is only Campaign number masking.
    Hope this helps,
    Gun.

  • New Process types

    Hi All,
    Does anyone have any document on how to use the new process types in bw 7.0 especially the 'Decision Between Multiple Alternatives' process.
    Thanks,
    Pratik

    Hi
    Below gives yoy head start.
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f7fc493c5b32c3e10000000a1553f6/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f7fc493c5b32c3e10000000a1553f6/content.htm</a>
    Thanks
    Chetan

  • 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

  • What is the difference between  Process Type TRIGGER AND CHAIN

    What is the difference between these two process types.  When I am looking process types, I want to provide information only about process chains and not individual steps of process chain. Looks like one can do using either.
    Along the same line, I am looking  at  data from RSPCPROCESSLOG, no where this table has a column process chain id. So How od I find information about a process chain.
    Thanks a lot,

    A "Chain Process" can be a a step in a Process Chain as well.    For Example: So you could have the following Process Chain:
    Process Chain Example
    Step 1. TRIGGER (Execute Daily at 4am)
    Step 2. DTP_LOAD Execute DSO Load
    Step 3. DTP_LOAD Execute InfoCube Load
    Step 4. CHAIN Execute Master Data Process Chain
    I believe the "Master Chain" is called a "MetaChain" since it controls the start of another Process Chain.
    Hope that helps...

  • Event and Process Types - Urgent

    Hi All,
    I am little confused between Events and Process Types in a PC. How an event can be used in a PC ?
    I know that SM62- To create event, SM64 – Execute Event. But how its used in PC.
    Thanks in adv for your reply.

    Events can be used to start the process chain based on the event raise. In order to use the events
    1. Create an event using SM62
    2. Go to your process chain start variant and select the start type as After event and give the event name which you created and then activate and schedule the process chain
    3.Now go back to sm64 and trigger the event that should actually start the Process chain. This can be monitored using the Process chain log.
    Regards,
    Jagadeesh.

  • How to use PREDECESSOR_PARAMETER in DECISION process type?

    HI Guys,
    I have a process chain where I need to use a decision process type and before it I have an abap program process type, so I have to get the result of my process type predecessor (Abap program process type) and fill in my decision process type to make a decision.
    I have a look on PREDECESSOR_PARAMETER on DECISION process type but I don't understand how I can use it.
    Now I am trying to figure out how to set parameters in a ABAP program running before the decision step and then using them in order to decide on the subsequent step.
    Does anybody have an idea?
    Thanks,
    Angeli

    Hi,
    Have a read of this document and see if it answers your question
    Using ABAP with Process Chain Decision Processes
    Regards,
    Gareth

  • Someone knows PREDECESSOR_PARAMETER in DECISION process type???

    HI
    Today is my day of questions so here hopefully the last on....
    Die anybody know the formula parameter "PREDECESSOR_PARAMETER" that can be used in the DECISION process type?
    Google and sdn search provide exactly 2 results with this information:
    <i>
    PREDECESSOR _ PARAMETER: Runtime parameter of direct predecessor</i>
    According to the familia editor the parameter is to be used as follows:
      PREDECESSOR _ PARAMETER(<I_FIELDNAME>,<I_LOW_OR_HIGH>,<I_NUMBER_OF_VALUE>)
    Now I am trying to figure out how to set parameters in a ABAP program running before the decision step and then using them in order to decide on the subsequent step.
    Does anybody have an idea on that topic?
    The topic might also be interesting for an sdn BLOG.....
    Regards,
    Minima

    Hi ,
    Did you get PREDECESSOR_PARAMETER working. If yes, can u pls share an example.
    Thx,
    Kartheek

Maybe you are looking for

  • TS3694 itunes no longer will recognize any of my devices

    After last itunes update, my itunes (11.1.4) will no longer recognize my iphone 5s, my sisters iphone 5 or even my ipad.  My iphone will always ask if i 'trust this computer' every time i plug it in.  I am able to go into the iphone memory and manual

  • How do you configure Outlook to accept icloud?

    Installing iCloud on my desktop, I got a screen that said my system was not outlook was not congfigured>

  • Microsoft Word Office 2012 wont open

    Hello I purchased my computer with Office 2010 in May 2010. It works great and everything but recently when I am on the internet and click a file to open and/or download it ask me to enter my product key. I never had to install that before because it

  • Sandisk Mobile Mate SD will not read

    I have tried rebooting with the device plugged in. It just won't show up in Finder or desktop. The light on the device is lit and it shows up in system profiler but I don't know what else can do. Hopefully someone here can help me. I know this has to

  • Draft Document Question - Credit Memo

    Hopefully one fo the experts will come through for me again!!! I have yet another challange.  When printing a Draft Credit memo,  I do not want to print the DRAFT water mark across the document.  I know how to shut that feature off.  Instead,  I woul