Decision variant issue in process chain

Hi,
I have a decision variant for my process chain:
It should be successful when it is 5th working day of month. If the 5th working day of the month is friday, it should be failed..
Can you please help me to build the formula in Decision variant.
Thanks,
Harish

Hi,
When I use the below formula in decision variant, I found that it is passing on 5th working day and 6 th and 7th days.
WORKINGDAY_MONTH( Current Date, 'FI', '' ) = 5 AND DATE_WEEKDAY1( Current Date ) 5
But my requirement is "it should pass only on fifth working day and if it is friday it should not pass"
Previously it worked fine. now we are facing issue with this decision varinat..
Can some please suggest how to fix this

Similar Messages

  • "Transfer structure is not yet active" in each variant of a process chain

    I run a big process chain in test environment that I had never run before, but find almost every variant of the process chain show the red error, when I right click the red color variant, get the msg at the status bar that says "Transfer structure is not yet active".  Is there a way that can do the mass activation of all master data attributes?
    Thanks

    Hi I have the same error message
    When I intend running the program to Activate Transfer Structures I get  the following error messages
    @5C\QError@     Activation not possible: Transfer structure contains invalid field LANGU
    @5C\QError@     Transfer structure 0MATERIAL_HIER_AB1 NOT activated successfully Activate manually
    @5C\QError@     Activation not possible: Transfer structure contains invalid field NODENAME
    @5C\QError@     Transfer structure 0MATERIAL_HIER_AB1 NOT activated successfully Activate manually
    @5C\QError@     Activation not possible: Transfer structure contains invalid field LANGU
    @5C\QError@     Transfer structure 0MATERIAL_HIER_AB1 NOT activated successfully Activate manually
    @5C\QError@     Transfer structure 0MATERIAL_HIER_AB1 NOT activated successfully Activate manually
    Please Advise on how to fix it .

  • Issue in process chain with DTP after imported to production

    Hi,
    we have a issue with process chain.
    after transportation DTP technical name is differ in prod and dev. process chain is went inactive.
    i have read some related threads, i'm not find any suitable solution for this.
    we don't have access to change process chain(they are not willing to open prod system)
    could you please provide solution on this issue .
    Thanks,
    EDK....
    Edited by: EdK666 on Oct 21, 2011 2:54 PM

    Hi,
    I have observed the behavior of changing technical name for DTP but still I think your process chain should not become inactive due to this.  I think process chain somehow adjust the new technical name but anyways you should be able to change the DTP in process chain directly in production system.
    If that is not possible you can just try re-transporting it.
    Regards,
    Durgesh.

  • "Still waiting for replays Issue In process chain please help me"

    Hi Xpertz
    Could any one clarify me in the following aspect .I have a process which is having
    4 infopackages updating to a single ods and then in to a cube I copnverted it in to
    a process chain evry thing seems to be fine how ever one issue is ther .I am not
    getting any repeat option on the failed infopackage .But if the ods activation fails
    then am able to see the repeat option on that activation process.
    How can we get the repeat option on the failuere info package .
    Other than segis weblog is ther any other option to restart the process chain.3
    ITs in BW 3.5
    Thanx in advance
    Regards
    R M K
    No need to say good answers willl get full pointz***

    Hi..
    I have worked on process chains..and I too have seen this..that when chain fails..often repeat option does not appear at infopackage step..
    but then this does not cause an issue..as I simply double click on the step..open the infopackage and run it..
    Siggi's blog is very useful..I havent found another method to kick off a chain from the failed step..(other than repeat)..
    sometimes..u manually correct the failure..but the process chain step remains RED..
    as per the blog..change the field on the table..so that step goes GREEN and kicks off further steps of the chain..
    Vishvesh

  • DTp issue in process chain

    HI guys,
    I have an issue with DTP in process chain.
    Actually we have a process cahin in quality as well as in development and production,the structure of chain in production and development is same but the structure in quality is not matching.we are getting 1 additional DTP in the chain in quality system .when we run the chain it get fail at the additional DTP,and the process cahin get stopped.
    now iam not able to find out wher from this additional DTP came and how to find out wher exactly it is from and how to restart the chain.
    can anybody help me out?Its very urgent for me.
    Regards
    sk

    Hi,
    I have asked u to deschedule the process chain and then Check the Process chain using the Check View..
    I think that this is a dummy process which has got added when u have done the transport.
    Check if u can see the error DTP when u check.. then u can delete this DTP as this is a Dummy one.. and then link the processes if the link breaks bcz of this... and then check the PC again, and activate the same..
    Finally u can use PC after this..
    Thanks
    Assign points if this helps

  • Abap program variant error in process chain

    Hi experts,
    I need your help one more time...
    In our process chain, we run the program RSIMPCUST to bring currency and units from the source system to BW. We have created a variant to run this program and call it in the process chain. One of the variant's parameter is the logical system, which was configured as our DEV system.
    When we transport this process chain to QA and run it, the variant continues to refer the DEV logical system, and not the QA logical system as it should.
    any ideas?
    Thanks!
    Thiago Braga

    Values in variants are not converted.  You can use the same variant in your ABAP program, but you need to change the value in the parameter for logical system in each system you transport the change to.  The only alternative is to create a logical system name in SM59 that is the same in all your BW systems but it refers to the local R/3 system.
    In other words, you will have two logical systems in your BWD system pointing to your R/3 Dev.  Let's call them R3DCLNT100 and R3SYSTEM, where R3DCLNT100 is also the source system (in RSA1).  You can use R3SYSTEM in your variant for your ABAP program.  In your BWQ (test system), you will have two logical systems also, R3QCLNT100 and R3SYSTEM, where R3QCLNT100 is also your source system.
    Does this help.

  • Small issue in Process Chain

    Hi Dudes,
    I have small problem in Process chain.
      1)Start
      2)Load  :
      3)activate : Always
    when i ran my PC ,due to some problem my Load Process type got fail.
      But after that i have actiavte Process type(PT) which should run whether Load PT is in success or fails .
    But it got stuck due to message "Status Change of Process LOADING ZPAK_EFAJ6WFZPJPA7MWVSZXETN4PE.
    Save Status and Trigger Events if Appropriate"
    with two option yes and no.
    when i click on yes then only it goes .
    But if i would run and nobody around then i would gets stuck at that point only .
    Is there any solution for that !!
    Hope i m clear toexplain u my problem
    every person will get the point
    Gain Points

    I do understand what u r saying.
    But I have given an example. Why that message box comes.
    Can’t we suppress automatically?
    Suppose had I been have a process type which send a mails after load status whether it fails or success at that point this could be an issue ??.
    So if it would be stuck like this then it could not send a mail.
    Hope u have understood my problem .
    or if u want in detail give me ur id i send u screen shot
    Gain Points

  • BI Admin Cockpit: Program variant missing in Process chain

    Hi,
    I'm installing BI Admin Cockpit and have troubles with Process chains. I followed the installatin guide and had problems activating process chains: 0TCT_C2_INIT_P01 and 0TCT_MD_C_FULL_P01 because of missing InfoPackages. I solved this by installing an correction as it is described by Note: 1432353. After this I activate these Process chains manually in RSA1 Administration--> BI Content -->Process Chains (all necessary objects). No Problems occured. The Problem is when I'm start these Process chains, I get an error on the last step. There is an Abap Programm with an variant. This variant is missing in the System.
    The Variants are:
    - RSTCC_Dataload (0TCT_C2_INIT_P01)
    - RSTCC_QRuntime (0TCT_MD_C_FULL_P01)
    I tried also to get these Process chains with Dataflow before and after to view if I forgot anything to activate, but there is no programm variant. Can anybody explain, how to get these programm variants?
    Thanks and greetings,
    Sebastian

    Sebastian,
    I faced the same problem. Basically what I found was that variants were not defined. So I manually created the value for variants:
    1. For RSTCC_DATALOAD assign value  TCT_C2_DELTA_P01
    2. For RSTCC_QRUNTIME  assign value   0TCT_C0_DELTA_P01
    Our system info is similar to what you have and I in fact had Basis team patch BI Cont to level 6 but this did not help. If I were to take a guess i would have to say that these variants are missing in the 7.01 BI version, you can either choose to create a OSS message with SAP and wait for them to fix it or you could fix it manually.

  • Issue with Process chains in BI (NW2004s)

    Hi,
    Recently we have done the system refresh (From Production to Quality Environment) for our BI Environment.
    After the refresh, our basis team has performed all the post activities like Source system conversion (BDLS), etc.
    But now, we are not able to open any process chains.The system is given the information message "<b>Variant &0000000XXXXXX does not exist</b>"
    "Message no. DB612
    Diagnosis
    You selected variant &0000000XXXXXX for program RSPROCESS.
    This variant does not exist.
    Procedure
    Correct the entry."
    Is this because of some post-processing steps got missed out?
    Do we have to create the Variants (Or can we copy the variants from the old Quality env? as we have the copy of Quality env. database).
    If we can create the variants, please let us know the procedure for the same.
    Please advise. Points will be awarded for your solution.
    Thanks,
    John.

    I have checked for the variants in the production system for the program RSPROCESS(in transaction SE38). But nothing exists.
    When I checked with the Basis team, they mentioned that the tables VARI, VARIT and VARID are copied from the (old)QA system and now they have imported these tables into the QA system after the refresh.
    I have never created any variants. Please let me know the procedure to create the variants in SE38.
    The process chains are working fine in our Dev and Prod environments. Will copying the tables(VARI, VARID and VARIT) from  production will help us?
    Is this due to some transports need to be moved from Dev to QA again? How can I find the requests?
    Please let me know your suggetion.
    -John.

  • Eveny Based issue in Process Chain.

    Dear Bw Experts,
    In our Project we need to trigger the process chian based on Event. The parent chian is located at one server and dependent chain is located at another server.
    I created event and added to the parent process chain at end  and trying to give the same event in dependent process chian start variant . But it's giving an error message as this event does not exist.
    Please let me know how we could achieve this task. I want to trigger dependent process chian automatically after the completion of parent proceess chain.
    Thanks for your help.
    Regards,
    Nag

    Hi Nagarjuna,
    The event needs to be created in the target system i.e. server where the dependent chain is located.
    It can then be used in the start variant of that dependent chain.
    The parent chain in the source system should have the ABAP program at the end which would raise this event in target system. The ABAP program should have the FM 'BP_RAISE_EVENT' which will raise the event in target system using the parameters defined in the variant (event, target system etc).
    Hope this helps.
    Regards.
    Nikhil

  • Issue in Process Chain Status

    Hi,
    We have various process chains for daily loads. Among those some of the process chain shows the status as red, but the data loaded successfully in the targets. And subsequent chains are not getting triggered.
    Can someone let me know the solution for this please?
    Regards,
    Sarath.

    Hi Sarath,
    May be some of the process type got failed in the process chain, and it might got sucessfull only after manually resolving or may be after repeating from the Process chain, In these cases some times the process chain entire status turns to RED.
    You can forcefully change the process chain to Green.
    copy the variant and Instance of the process chain(or select the last process type in the process chain)
    goto SE11-->Enter the table RSPCPROCESSLOG and execute --> now enter the copied variant and instance here and execute, It'll give you a new pop up with a LOG id, copy this log id as well.
    Now gto se37>Functional module>RSPC_PROCESS_FINISH execute and the enter the copied vaiant, instance and logid, and also enter G (sucesfully completed) in I_State and now execute.

  • Issues in Process chain after Transporting to Q

    Hi All
    I have couple of issues with my process chain (in Q). We have recently upgraded from BW3.5 to BI7.0. After upgrade i have a change made to one of my Process chain. i have transported it successfully to Q system. I have collected all the related objects associated with the change in the transport. But when try to see the changes changes in the process chain in Q system i have the following issues.
    1. i do not see my changes in display mode. But i am able to see all the changes if i go to change mode (this looks weird and i dont know why)
    2. i am unable to schdule the process chain in Q system as i was able to do earlier. Now it is asking for Transport when i try to schedule the process chain. this was not the case earlier.
    3. In the transport i also collected a newly created infopackage and added it to the Process chain. But i do not see any link between the infopackage and the process chain (it was supposed to have a link as it had in DEV), i mean when i go to  infopackage it used to give me a mesage saying the infopackage is already available in Process chain which i got in DEV.
    All the above cases were working per normal in DEV systems tested and were collected as required in the transports and moved to Q
    Please let me know ASAP if any of you have encountered similar problems before and have solutions. i saw couple of related threads (some suggested to directly activate the process chain in Q system by opening the Q systems as an alternate) but could not find a solution
    Any sort of help will be really appreciated
    Thanks
    HK

    1. Display mode shows only the active version of Process chain. When you go into change mode, it displays the inactive version (if any available). Make sure you activate the process chain in the change mode. Then the chain you see in display and change mode will be in sync.
    2. When you try to schedule, the Process chain will be activated as well. If your Q system is prompting for transport then probably the system is open for changes. If you want to modify process chains in Q and P systems, make appropriate Object Changeability settings in Transport connection in Q and P systems and make sure the system is closed for changes (SCC4).
    3. Use Transport connection to collect the objects required for Process chain. After transport, check the transport log and make sure all the objects are imported successfully.
    Regards,
    Sree

  • Issue in process chain (urgent)

    Hi guru's,
    i used customized abap program process type which was already created by somebody.
    i linked this process type to 2 process types based on the success and failure.
    on success of this process type it connects to another program process type , here there is no problem.
    if it is success.
    on failure i connected to attribute change run,
    but it is not continuing , it is stucking there.
    when i check in log view it is giving a msg " status of program xxxx is changed , do you want save the changes ?"
    if i press "yes" chain is continuing.
    but we dont want this , as this chain is scheduled in mid night
    user cannot interact to this msg.
    we want process chain run even if it is failed to next step without any user interaction. please help
    pramod

    Hi Pramod,
    It seems to be there is problem with links.
    Remove the links and relink the process steps.
    Now activate and schedule the process chain.
    I have experienced the similar problem in past.
    Hope this helps.
    -Subhashini

  • Transport Release Issue For Process Chain

    Hi Gurus,
    While trying to relase my request, which has Process Chain to be imported to testing environment i am getting a message like below:
    Check Objects before release and msg as
    key :R3TR TABU RSCOMPTLOGOT             ERSPC*(Application Component Of Process Chain)
    If i click release anyway the information i get is "You have to be an approver to bypass this check" and it is not released.
    I have checked the request and it is consistent and "ok".
    Not able to understand why i am not able to release this request.
    Please guide me on this.
    Thanks

    Hi Vijay,
    Can you check your process chain or any part of proce chain (diff process type) are not locked in two different transport request ?
    If so then delete the object from one request and add same object in another request and release.
    Regards,
    Kiran

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

Maybe you are looking for