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.

Similar Messages

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

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

  • 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

    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

  • Question/Problem Sharing iTunes Library between multiple users

    Hello all,
    I have a question (potential problem) regarding sharing an iTunes Library between multiple users.
    In the past, I had placed the iTunes folder in /Users/Shared, and created an alias to it in the "Music" folder of each user, and it worked fine.  However, with a recent upgrade to Mac OS 10.5, only the Home user account can access the library. 
    I read the Apple Support Document http://support.apple.com/kb/ht1203 uner Mac OS X which specifically states *not* to move the iTunes folder, just the iTunes Media folder (which I don't have, would that be iTunes Music?).
    Any recommendations?  Should I delete the different alias, move the iTunes folder back to the home user, and then follow the instructions in the support document?
    We're also looking to sync music purchsed on our iPod touches, as well as apps (which weren't supported in our privous Mac OS X version.
    Any advice is appreiciated.

    David Guay wrote:
    ... iTunes Media folder (which I don't have, would that be iTunes Music?).
    yes.
    specifically states *not* to move the iTunes folder
    *do* keep the entire iTunes folder in /users/shared, however, instead of creating aliases, launch iTunes while holding the option (⌥) key, click choose library when prompted, and select the iTunes folder in /users/shared.
    obviously, only one iTunes at a time can access the library !

  • Fastest way you switch between multiple images (CS3) ?

    I'm originally a Fireworks user (from 2001) and am starting to learn Photoshop as it is in my CS3 set and it's superiority in image editing.
    BUT, I was suprised/shocked/P.O.-ed to notice Photoshop doesn't have tabs to easily switch between images like Fireworks has had for the last 7 years.
    (Yes, I realize CS4 has that option now, but I'm not willing to dole out another $600 bucks for another upgrade )
    Anyway, enough ********.
    My question is:
    "Can you tell me how you switch between multiple images opened in Photoshop CS3?"
    I'm assuming there must be a keyboard shortcut I can't find, or something besides having to shrink down the images and routing through them . . .
    Thank you for your time and help,
    Brad

    Hi again My,
    Thanks for the reply on my other post as well.
    Ctrl+Tab
    Got it. Thank you.
    Quick and easy enough. I'm happy :-)
    Brad

  • Share Data Source between multiple report projects in Microsoft SQL Server 2012 Reporting Services

    I have a reports solution in 2012 which contains multiple report projects one each for target deployment folder and we use TFS 2012 for report deployment.
    We have a template project which has a bunch of template reports and all the datasources used in different reports.
    When I develop a report, I cannot "Preview" in TFS but, for deploy this used to work fine util the reports solution was in TFS 2010 & Visual Studio 2008 R2. Since we moved to TFS 2012 & SSRS 2012 not being able to deploy till I create all
    the necessary datasources for each project and now all the developers complaining that they cannot develop reports in TFS itself as they cannot preview (this problem was existing previously) and now not being able to deploy as it errors for each report "Could
    not find specified rds file". I tried messing around with the .rptproj file DataSources tag that did not help either by modifying it like below.
    <DataSources>
    <ProjectItem>
    <Name>DB.rds</Name>
    <FullPath>Template\Data Source\DB.rds</FullPath>
    </ProjectItem>
    </DataSources>
    Is there a way I could share a Data Source between multiple projects in Microsoft SQL Server 2012 Reporting Services?
    Thanks in advance.............
    Ione

    Hi ione721,
    According to your description, you want to create a shared data source which works for multiple projects. Right?
    In Reporting Services, A shared data source is a set of data source connection properties that can be referenced by multiple reports, models, and data-driven subscriptions that run on a Reporting Services report server. It must be within one project.
    We can't specify one data source working for multple projects. In this scenario, we suggest you put those reports into one project. Otherwise you can only create one data source for each project.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Discoverer worksheet: working with data between multiple sheets

    Hi All,
    Is there a way to use data between multiple discoverer worksheets? What I am trying to do is combine data from different worksheets and display that data in another sheet. I believe it is not possible in discoverer at the moment (I might be wrong). I am not being able to do this any other way, because the data to be calculated requires user input. Which is (to my knowledge) only possible by using parameters via the worksheets. If there is a workaround, please let me know.
    Regards

    Your best best is a custom folder within the EUL and then create the parameters based on the custom folder.
    If you don't want to do that you can join can create bogus joins between two folders by created an item called "join" or something like that and then get all the tables pulled into each other. Performance will likely be messy and require careful use of conditions, summations, etc... due to the fact the join will essentially be a Cartesian join of two tables.
    To answer your direct question: No, there is no way to reference other worksheets for display purposes within discoverer.

  • Intracompany STO between multiple plants

    Hi Experts,
    What should be the easy way of setting up STO between multiple plants via delivery. I've 15 plants defined here under a single company code and any plant can transfer goods to all plants. So should I maintain this settings at "Assign document type" factorial 15 times i.e., xxxxxxxxxxxxxxxxx times?
    Please help. what should be the easiest way?
    Thanks,
    Rajoo

    Do you want to create STO po between all 15 plants? Every time you create STO? Why don't you go for MB1b with movement type 301 or 303 and 305. Alternatively you can think about using special procurement key in MRP-2 view for direct withdrawel from the alternate plant.
    But if you want to do STO between all plants then you need to give all possible combination with document type in config, you have no other alternate
    regards
    Antony

  • Syncronize between multiple SQL server 2008 Databases

    II am developing an application for a waterborne shipping company. The main office is running SQL server 2008 and holds an employee database. They would like each ship to have access to the Db. Each ship is also running SQL 2008. In addition each ship will
    have multiple user needing update access to the Db.
    I'm not sure it is smart (or even Possible) to sync between multiple copies of a SQL Server 2008 DB. I started (and am not opposed to using .net Sync Services, creating compact edition (.sdf) files on the servers and 'sharing' it with the users. The
    problem with this is the sdf file would have to be replicated on each user machine. This would make data integrity a challenge.
    I should note that the ships are only occasionally connected to the internet, so working directly with the office db is not possible.
    Does anyone have any ideas, or shoud I resolve myself to using a shared copy of a compact edition of the DB?
    Thanks

    Merge replication han handle occasionally connected "devices". But you need to figure out whether update conflicts are acceptable and/or whether you can write your software so they don't happen in the first place.
    Tibor Karaszi, SQL Server MVP |
    web | blog
    Thanks. That gives me a starting point. I'm sure I'll have many questions.
    Thans again.

  • Connection between multiple domains of AD and OIM

    I am trying to integrate OIM and AD (target resource) and I have 13 domains in AD. For one domain, connection between AD and OIM is established using OOTB connector.
    Can someone provide me approach for connection between multiple domains of AD and OIM.
    Do I need to install different connector server for different domains or OIM provides with some Connector Server cloning feature.

    Hi,
    this forum is for asking and answering JDeveloper and ADF related question. Your question should be asked to the FMW security forum here on OTN
    Frank

Maybe you are looking for