GATP - Issue with substitution rules with validity dates

Hi,
We are using GATP with RBA. Our condition table has plant as a field.
We are planning to have a substitution procedure (rules) defined at plant level.
Our rule control for product substitution list is "Start from top of list"
The issue we are facing is explained below.
The first item in the substitution procedure (rule) cannot have validity dates.
So it will always be balnk. And validity dates can be maintained for other items in the procedure (rule).
What happens in our scenario is when there is a requirement on an item in the substitution procedure (rule) which has  a validity date, the first item in the procedure (which can never have validity dates) is never considerd for substituions.
If I remove the validity dates, then the first item in the procedure (rule) is considered for substitutions.
We find this strange and against our business requirement. We want the first item in the procedure (rule) to be considered for substitution ireespective of the validity date for the requested product.
It would be great if you could suggest a method to achieve this.
Thanks & regards,
Arvind.S

Hi Mohan,
Thanks for the response.
We are using back order processing (BOP) for allocation.
We observed that the first item was not getting considered for substitution in the BOP results and also in product view after the BOP run. No stock of that item was allocated for the order taken up in the BOP run.
However, we tried rule evaluation also. It shows the first item also, but in actual allocation the issue exists.
We are not using "start immediately" in check instructions.
Thanks & regards,
Ashok

Similar Messages

  • UWL - Substitution Rule with END date

    Dear All,
    When user creates substitution rule in UWL, assignee can select Start Date. We want to have end date too.
    But as the documentation of UWL says: All substitution rules created have no expiration date (end date) is limitation of UWL.
    Can we implement this on our own using some APIs or some other option?
    Please suggest.
    Thanks and Regards,
    Vinod Patil

    Dear Vinod Patil,
    Do you have an answer to your question?
    Pls. let us know if you find something.
    BR
    Richard

  • Rule Builder Validity Date error

    I've created territories with validity dates, rule policy, ect.  When I start entering rules, no matter which territory I select, I get the following Consistency Check error.
    Validity dates of rule TN Territories should lie with in the selected validity 00/00/0000-00/00/0000.
    The rules are within the validity dates of the territories but those validity dates don't seem to be picking up in the rule builder.  Anyone have any ideas????

    Dear Seguin,
    I have the same problem at one of my customers system. I was glad to see your thread.
    Could you please give me more details how you solved this issue.
    Thank you and best regards
    Stefanie

  • Issue with substitution variable with @MDSHIFT in BR in Calc Manager

    Hi Experts,
    We have a BR in EAS which is working fine.
    and exported to Calcmanager, now while validation it is giving error "@BaseScenario" is not found.
    the code is
    @MDSHIFT("LFLSalesIncVAT_GBP_C_DHP"->&BaseScenario->"Final"->"CD_FinalPlanPL",-1,"Year",,1,"Period",);
    if i hard code it like @MDSHIFT("LFLSalesIncVAT_GBP_C_DHP"->"P7PP"->"Final"->"CD_FinalPlanPL",-1,"Year",,1,"Period",); working fine.
    is there any limitation with calc manger and substitution variables?
    Thanks
    GP

    There seems to be many issues with validations in calc manager, does the rule run if you dont validate.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • [SOLVED] Help needed with iptables rule with unusual setup

    Hi I recently setup hostapd on my netbook so I could share a wireless network with my phone and I'm having trouble because my netbook is also hosting a Jetty sever (Subsonic media streamer).
    My setup is as follows
    [CABLE MODEM]===[WIRED ROUTER]=====[NETBOOK] ))))) [PHONE]
    The wired router provides the DHCP server.
    On my netbook I created a (br0) bridge between eth0 and wlan0 and started hostapd. That all works fine when I'm not trying to host my Jetty server on my netbook.
    The netbook has the IP 192.168.0.8
    The phone has the IP 192.168.0.6
    I do not want to give the Jetty server root permissions just so it can run on port 80. So instead I start it instead on port 4040 and then use a iptables rule to redirect connections to port 80 to port 4040.
    Before I setup hostapd on machine I used to use the following.
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 4040
    However when I'm using hostapd and try to access websites on my phone its web browser is ALWAYS REDIRECTED to my jetty server. I'm not really surprised at this as the rule I mentioned above is for any destination or any source.
    I tried this rule:
    iptables -t nat -A PREROUTING -d localhost -p tcp --dport 80 -j REDIRECT --to-ports 4040
    This didn't work. On my phone I could access websites as expected but nobody (tried external from network and internally) could access the jetty server on port 80. Does anyone know why this rule doesn't work?
    I tried this rule:
    iptables -t nat -A PREROUTING \! -s 192.168.0.6 -p tcp --dport 80 -j REDIRECT --to-ports 4040
    This rule worked (Redirect port 4040 connections to port 80 if the connection isn't from my phone). But this is NOT very good at all as it means I would need a separate rule for every wireless device that connected to my netbook (via hostapd). Also if the IP address of my phone ever changes this rule becomes useless too!
    Does anyone have any ideas?
    Any help would be greatly appreciated.
    Thanks.
    Last edited by delcypher (2010-07-24 20:17:35)

    Well looks like I fixed my own problem.
    I added a LOG target in the PREROUTING chain like so
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j LOG --log-prefix 'cheesy-redirect'
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 80
    When I looked at /var/logs/everything I noticed this.
    dan-netbook kernel: cheesy-redirectIN=br0 OUT= PHYSIN=eth0 MAC=00:26:18:73:ea:28:00:09:5b:5d:0a:33:08:00 SRC=178.102.41.92 DST=192.168.0.3 LEN=52 TOS=0x00 PREC=0x00 TTL=46 ID=51411 DF PROTO=TCP SPT=48219 DPT=80 WINDOW=49640 RES=0x00 SYN URGP=0
    The destination is 192.168.0.3 ! Which is very very weird. This the IP address I had told my router to give my eth0 card in the past when I wasn't using a network bridge (br0). I was connected to the network using 192.168.0.8 on br0. The eth0 interface wasn't assigned an IP address.
    192.168.0.3 was also the IP address I setup for static port forwarding (which I forgot about) so when I accessed my jetty server from outside my network all packets would of been forwarded to 192.168.0.3
    I should never of received those packets as I was 192.168.0.8 not 192.168.0.3 at the time of logging so how I even received these packets is a mystery to me. Maybe the router software is buggy
    Fixing was pretty straight forward I changed the port forward to go to 192.168.0.8 and then tried connecting to the jetty server externally and noted in the log
    cheesy-redirectIN=br0 OUT= PHYSIN=eth0 MAC=00:25:d3:46:4d:0d:00:09:5b:5d:0a:33:08:00 SRC=178.102.41.92 DST=192.168.0.8 LEN=52 TOS=0x00 PREC=0x00 TTL=46 ID=65326 DF PROTO=TCP SPT=33597 DPT=80 WINDOW=49640 RES=0x00 SYN URGP=0
    So the correct redirect rule is
    iptables -t nat -A PREROUTING -p tcp --dport 80 -d 192.168.0.8 -j REDIRECT --to-ports 80
    which works nicely
    One last question though. Does anyone know how I can use a hostname rather than 192.168.0.8 which points to whatever the IP address of br0 is set to? localhost points to 127.0.0.1 so that doesn't work.

  • Issues with update rule

    Hi All,
    I am having a problem with update rule
    My object
    A
    B
    C
    D(Seller phase) (complex table)
    Q1(Question)
    A1(Answer) (complex table)
    Q2(Question)
    A2(Answer) (complex table)
    Q3(Question)
    A3(Answer) (complex table)
    E(Collection object)
    D(seller Phase)
    Q(Question)
    A(Answer)
    My transaction during Add
    A
    B
    C
    D(Seller phase)(complex table)
    Q1(Question)
    A1(Answer)(complex table)
    Q2(Question)
    A2(Answer)(complex table)
    Q3(Question)
    A3(Answer)(complex table)
    E(Collection object)
    D(seller Phase)
    Q(Question)
    A(Answer)
    here is my requirement:
    During Activity create/Edit upon choosing seller phase i bring questions based on update rules of q1 q2 and q3 from complex table.
    Possible answers are also fetched from complex table based on selection of phase for each question. I have a update rules for answers to check the object collection(E) and determine if this phase exist or not, If exist previously selected Answers will bulled from collection for the corresponding question if not it has to empty.
    All rule are working with out any problem.
    Issue.
    During create or edit if some one chooses phase P1 and answers for the questions and with out saving if they change phase then answers which are been selected earlier still exist.
    This is happening in IPAD but not in ATE. I have checked the log for rules all the rules are returning values as expected.
    So i tried the below options to test
    1) with special value option in field level
    2) I created a dummy field with update rule with value test. On creation i have modified the dummy field value X then changed the phase the value is not getting updated as per update rule.
    Is it the real behavior of update rule? Is there any work around for this problem
    Regards,
    Gupta

    Gupta,
    So based on your comments above I have the workarounds I gave you.
    1) A button that refreshes "resets" to make the screen repaint (in essence a button that just re-navigates to the same screen will make all the system reset) if you just want one screen.
    2)Or the multiple screen approach. Let phase 1 be in one screen and the other questions and answers on others.
    Not sure if you can just do 1 screen with multi-tiles - If this is better approach where the phase selection is on 1 tile (top tile) and the questions and answers are on a different tile (bottom tile).
    The trick is to make the screen repaint. As long as you present to the customers a flawless flow you will be okay. The one that you don't want to happen is when your rules are buggy then it may be just a good idea to sell a more controlled flow that works than debugging what went down the wrong during UAT (User Acceptance Test).
    Regards,
    Mark

  • UWL Substitution Rule Issue

    Hi All,
    We are facing some issues with Substitution rule in UWL on NW portal 7.3 SPS08
    Issue described below,
    One user has created substitution rule by selecting task type "All" and "Fill In For me" option.
    So, as per the standard process this is visible in assignee's login in UWL under "Other users' Sunstitution rule section".
    But here problem is in this section there are two line items with same user name and task type, one for "Take Over" and another for "End Take Over".
    But as these both are from same user and for "All" type of tasks, it should have only one entry. and both "Take Over" and "End Take Over" should be operated from one entry and two entries of same type is not required, Screenshot is attached here with,
    We are required this to be sorted out asap, any help is appreciated...
    Regards,
    Bhavin Anajwala

    Hello,
    In continuation of my earlier...can you please check if Substitution from manager is Activated ?
    SBWP -> Settings -> Workflow settings -> Activate/Deactivate Substitute....
    If it is deactivated......then Login as secretary:
    SBWP -> Settings -> Workflow settings ->  Adopt Substitution....
    Also goto TCode PFTC...
    And check your TASK that is not coming in secratary inbox....
    Select Additional data -> Agent Assignment -> Maintain data....
    Select task and click on attributes.....
    Make sure correct classification is mentioned for this task....it should be same to what has been delegated to secretary......
    If are able to resolve the query then please let us know how...?
    Edited by: Saurabh Agarwal on Jul 20, 2011 11:44 AM

  • DERIVATION RULES WITH ABADR_DERIVE_CHARACTERISTICS

    Hi, every one,
    anybody knows what is the transaction code that we can customize derivation rules?
    In F871 , for example, some fileds ara populated with this rules with ABADR_DERIVE_CHARACTERISTICS function
    cheers

    Hi,
    The transaction is FMDERIVE.
    Regards,
    Eli

  • 500 internal error in managhe substitution rule in UWL

    Hi All,
    One user is getting 500 internal error when cklicks on manage substitution rule in UWL.Only one user is facing this problem.
    I checked in backend system, so substitute exists.
    Can some body help me what could be the problem? Thanks in advance.
    Regards,
    Thirun.

    Hi Thirun,
    This is a common issue and usually has to do if the 'substitutee' for lack of a better word, is no longer a valid user.
    4. When there is a substitution rule connecting the current user to a
    deleted user, the following problems were discovered:
       - substitution rule management returns 500 browser error;
       - it is not possible to delete a Java Workflow substitution which
    refers to a deleted user as assignee;
       - Java workflow connector is not able to retrieve items for user that
    has a substitution rule with a deleted user;
       - The "status", "What to do", "assignee" and "Task Owner" fields are
    not properly filled in the Manage Substitution Rules view.
    Do a search in SAP notes in component EP-BC-UWL and also for your version.  Alternatively you can let me know the version here and I can tell you in what release this is fixed in that matches closest to your version.  (maybe only a patch required).
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • In Substitution rule view only one task "All" is coming

    Hi! All,
    I am facing very strange problem in UWL. Recently we upgraded our SAP Portal from SP10 TO SP15 but in Manage Substitution Rule view under Assign these task drop down we are getting only one task i.e 'All'. Remaining 3 tasks are gone.
    Can you help me in resolving this issue please..
    Thanks and Advance.
    Thanks and Regards,
    M.D.Sahu

    Hi,
    You had upgrade from SP10 to Sp25, wich version? 6.40 or 7.00?
    Please find for OSS notes from
    UWL 6.40 SP15
    UWL 7.00 SP15
    for example, I don't have your portal version, I can't help much more on this. I worked with the UWL, and this I'd very issues with Substitution Rules...
    BR
    Joã

  • ECN global relase key & valid date

    Dear Guru's,
        I am working in Engineering company as SAP consultant.
    We were followed Discret manufacturing procedure in SAP, now recently we migrated to REM procedure.
    Our R& D dept creating  ECN's , Based on this ECN's creating BOM or updating BOM's.we have only production BOM's usage 1.
    Our general procedure is ECN valid  date will be creating date of  ECN. but using global relase key we released it for production .
    But in REM before releasing the Global release key it will replicate in all BOM's and update in MRP related issues.
    what is relation between Valid date and global release key?
    please provide needful suggestion to resolve this issues.
    Thanks & Regards
    Suresh Babu.S

    Dear Mangalraj,
    Thanks for your kind response,
    I am  giving a live example.Earlier we had only production BOM in Discret Manufacturing Process
    Now we have  changed  to Repitative Manufacturing process in SAP.
    what the ECN's made by R&D are immediately get affected our Production BOM and also our MRP and meterials procurment Procedure.
    Because of this we decided to have Engg BOM and Production BOM to control the ECN and MRP process.
    In our R&D they made some changes and creating ECN numbers, for example  with valid date of  10.08.2007 but they are not released the global release key.
    I would like to know that  ECN creation date 10.08.2007 is valid date for that ECN changes or it will affect after releaseing the global release key while  implementing this ECN number in Production BOM.
    I hope this will help u to understand my problem.If possible give  your personal phone numbers or mailid
    Thanks in advance
    Suresh Babu.S

  • Error in Substitution Rule

    Hi ,
      I have a scenario of the substitution rule to be used . When i try to create a substitution rule with ALL profile , the workitems are appearing in Substituted person inbox but when i specify particular task profile no workitems get displayed.
    *Suggestions will be awarded

    You need three things to be taken care of for this to work.
    1) The standard task (TS) must be assigned to a task group.
    This is done in PFTC for the individual standard tasks.
    2) The task group must be assigned to a substition profile.
    This is done in customizing, the same main node where you define substitution profiles (SAP Netweaver -> SAP Web Application Server -> Business Management -> SAP Business Workflow -> Basic Settings -> Substitution Profile). A task group can be assigned to many substitution profiles, and all task groups should be assigned to the ALL profile.
    3) A substitute must be set up using the profile.
    This you have already taken care of.

  • SQL data Load rule with Substitution variable

    Hi,
    I have a data load rule with MySQL as a data source. I have requirement where user does not want to see Current day data in cube and they keep changing days not to be loaded.
    I have setup the substitution variable SUBv as '2009-11-04' and have scripts to update it daily.
    Data Load rule in where condition contains
    brand = 'HP' and region = 'east' and date <> &SUBv
    Now, above where condition does not work for date <> &SUBv but if I set substitution variable SUBv as "brand = 'HP' and region = 'east' and date <> '2009-11-04' " and set load rule where condition with just &SUBv it would just work fine. I dont know whats wrong in 1st place.
    I dont want to create multiple where condition in substitution variable (Don't we have limit on them?). I have 40+ load rules which might use this SUBv substitution variable if I find a way to define it so that it work as "brand = 'HP' and region = 'east' and date <> &SUBv"
    Thanks,
    Vikram

    I did some research and came to know when using substitution variable in Load rule need to keep substitution variable first in string..
    It worked out magically.

  • Issue with Substitution in UWL

    Hi Friends,
    I have a problem with the substitution rules within the EP7.0 (our back end system is ECC6.0).
    I have created a substitution rule and have set it active.
    When I have a look later on to the management of substitution rules, i always get an error message: "Problems reported (repairable)" --> "Substitution rule is not defined in the system" . When I push "retry" the substitution rule is successfully registered again.
    But the next time when I have a look onto it, i get the same error message.
    What could be the issue. Please advice.
    Regards,

    Hi,
    Check the below link,
    1) [Substitution|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/707439da-ead9-2910-5c97-af6ca0b6fbb1]
    2) [User Substitution Utility |https://wiki.sdn.sap.com/wiki/x/0j0 ]
    Regards,
    Surjith

  • ALE BOM. Updates ALL! items with validity date & change no.

    Hi All,
    We are having problems where ALE-BOM sent with change in validity date (with change no) to a particular item. What happens is that ALE-BOM will instead update ALL! items with the same validity date and change number.
    Next,when we process ALE again for the same BOM with a different validity date(with change no), then only that
    particular item is updated with validity date and change no.
    Would anyone know what could be the problem that when changes are sent for the first time all items are updated?
    [Version: SAP 4.6C/ SAPKH46C48]
    Regards,
    Neeth

    Dear:
                   The error itself telling you the correction. You profit center which is assigned to your cost center has a validity date less than the one you are now assigning.You can check in KE52 against the profit center assigned to your cost center master data. However the best thing is to go to KS01 and create this cost center with desired validity date.
    This will resolve your issue.
    Regards

Maybe you are looking for

  • BufferedImage displays as streaky; smooth image not produced

    Hi all, I have three classes that I'm working with. One is ImageProcessor, a Class I have to process images. Another is IMAQGUI, a GUI for my IMAQ service, and the third is IMAQIceStormService. In IMAQIceStormService, I am using ImageProcessor to cre

  • How to rectify the  payable account not definderror in down payment request

    how to rectify the  payable account not definderror in down payment request

  • Brightness goes to dark automatically

    I will be sitting at my computer and suddenly the "brightness" icon comes up on the screen and my brightness goes from full to completely black. I then press F2 multiple times to get it back to full brightness but then it goes all the way down to bla

  • Play video from MBP or iPad?

    I have an Apple TV in the living room, and just downloaded some TV shows onto my MacBook Pro.  The Apple TV can play them from there over Wi-Fi ... or I could load the TV shows onto my iPad use that as my source.  Is one source better than the other?

  • Inconsistent logic for viewing others schemes objects in browser

    A while ago when we upgraded our db's to Oracle 10 we also replaced our famous green friend for Sql Developer with our entire development crew. Among a few other things, people were not all that happy, seeing that they lost the desired "check for acc