Workflow Substitutions - Force Validity End Date

Is there a way I can configure Business Workplace Substitution Validity date from and to dates to fall within a specific range?  Can I prevent someone from using the default 12/31/9999 date when creating a substitute?

Hi Mark,
Well for starters a lot depends on:
a) What release/environment are you using?
b) What type of substitution - user to user or position to person are you using?
If you are using position to person, that's HR infotype A210 so you could use HR Structural Authorisations to only allow the infotype to be created e.g. up to the end of the current year.
If you are using user to user, its a bit harder.  In that case its based on table HRUS_D2, which only checks the end date is a valid date.
So you would really have to code in an additional check from wherever you are maintaining the data.
So now the question is, how do your users maintain substitutions? i.e. in which release/environment? using which maintenance tool?  Then you need to check out how that tool works.
E.g. you might be using the API SAP_WAPI_SUBSTITUTE_MAINTAIN or the table maintenance generated for HRUS_D2.
E.g. if its just the table maintenance view, you could add a table maintenance generation "event" with your additional check (go to the table maintenance generation and try menu Environment > Modification > Events).
Unfortunately the other maintenance tools use function modules - none of which currently offer any BADIs or user exits for adding additional checks.  So at this stage it would be a mod.  But a good thing to ask for in a development request perhaps.
Regards,
Jocelyn

Similar Messages

  • Validity end date tab is suppressed in scheduling agreement

    Hi ,
    In scheduling agreement , Validity end date tab is suppressed ,
    There is no layout is assigned to the doc type & standart transaction varient is acitve , but while doing ME31L above field is not coming ( it is in suppressed / hide mode )
    Please let me how to get that validity date tab in scheduling agreement.
    Thanks,
    Pradeep

    Hi,
    Go to SPRO > IMG > MM > Purchasing > Purchase Order > Define Screen Layout > NBF > Administrative data, header > make the fiels Validity Period field optional / Required.
    Hope this will help you.
    Regards,
    Manish Jain

  • CIF of SA is not consistent for Validity End Date

    Hello gurus,
    Our company is quite new in using SNC, and we bumped into this problem (see description below), and hopefully this forum can help us.
    <Description>:
    When the Scheduling Agreement is CIFed from R/3 (ECC) to SNC, the Validity End Date does not get updated each time.
    It gets updated sometimes, but not always. It is inconsistent behaviour.
    <Example>:
    Scheduling Agreement A
    Validity End Date: 31.12.2012 Changed to 30.11.2012 in R/3.
    Performed CIF using Transaction Codes CFM1 and CFM2.
    Correctly updated the Validity End Date in SNC.
    For the same Scheduling Agreement A updated Validity End Date to 31.01.2013 in R/3.
    Performed CIF using Transaction Codes CFM1 and CFM2.
    The Validity End Date was not updated in SNC & remained as 30.11.2012.
    For the same Scheduling Agreement A updated Validity End Date to 15.10.2012 in R/3.
    Performed CIF using Transaction Codes CFM1 and CFM2.
    The Validity End Date was not updated in SNC & remained as 30.11.2012.
    Thanks guys
    Tuffy

    Hi Tuffy,
    1 - I am just wondering if after the Delete the existing External Procurement Relationship in SNC, and CFM1 and CFM2 the SA (i.e. changed my validity end date value) to the SNC, will the problem of the SNC side not able receive the changed SA??
    When there is a change in the SA, integration model would create the same in SNC if it does not exist. But the transfer from ERP does not happen just like that. First, make sure that the message type (CIFSRC) has been checked in BD50 and then schedule a job to periodically transfer the SAs.
    2 - What does the tcode the person in the SNC side have to double check to ensure the SA is transmitted there??
    The t-code is /SAPAPO/MTI2 - External Procurement Relationship.
    3 - Someone in our company advise BASIS team to check the transactions BD50 and BD52. What exactly does it mean and does it help?
    This is correct. I mean guys who are responsible for Integration model need to set-up BD50, BD52 so that changes to SAs are transferred periodically.
    Regards,
    Sandeep

  • Validity start and Validity End date in PO

    HI  gurus
       can you plz tell me how to activate  validity start and Validity End date in PO
    Neha

    Hi,
    It is applicable for PO done for Frame work oder with Doc type - FO(Frame work order)as its an agreement of supply of stock only between specified period.For this kind of Doc type system makes it mandatory to enter the valisity start and end date.
    Thanks

  • Query  on extension of validity end date of Qualification - PD

    Hi All,
    I want to extend the validity end date of a qualification.
    I tried T-code OOQA however the validity dates are greyed out .
    Can anyone please help me with this?
    Best Regards,
    Kanika

    It can be done using Tcode-  RE_RHGRENZ4.
    Thanks all...
    Kanika

  • Change validity end date on activity type

    Is there a way to change the validity end date of an activity typre. Currently it is 9999 we would like to change it to 2011.
    We would like to use a particular activity to cost current standards but dont want to use it for planned estimates that we will create for 2011. I am assuming if the validity ends in 2011 it will resolve the problem. I know we could create alternate routings and different production version but I am trying to avoid that and see if we can find a short cut.
    Your help in this regard will be much appreciated

    Hey Greta,
    I executed the report but it says ,"The deletion could not be carried out, plan records still exict on cost center for activity type." I have deleted every thing from kp26 for that particular combination of activity type and Cost center.
    Any ideas as to what is happening!!
    Regards,

  • Employee qualification assignment IT0024 validity end date update

    I Would like to change the validity end date value on one specific qualification assigned to an employee.
    I can't do it using PA30. Is there anybody able to tell me how can I do it?
    Thank you

    You can't change endda because infotype 2 endda has to be '31129999'.
    It's explicit here in this validation in module POST_INPUT_CHECK.
    form check_it0002.   "form aus mppers00 hierher verlegt    "VLDN212840_2
      if psyst-first eq yes and cprel-endda lt high_date.
    *   I105(RP): Gültigkeitsende muß gleich & sein
        p0002-endda = high_date.                               "VLDN212840_2
        cprel-endda = high_date.                               "VLDN212840_2
        message e105(rp) with high_date.
      endif.
      if psyst-ioper eq modify.
        if cprel-endda lt high_date and pskey-endda eq high_date.
          p0002-endda = high_date.                             "VLDN212840_2
          cprel-endda = high_date.                             "VLDN212840_2
          message e105(rp) with high_date.
        endif.
      endif.
    endform.                    " check_it0002
    high_date is a constant with value '99991231'.
    Anyway, why would you want to change the endda on infotype 2 ?

  • Validity end date is not getting copied from inquiry to quotation.

    Hi Friends,
    While creating quotation the validity end date is not getting copied from inquiry to quotation.
    What setting needs to be done, pl suggest.
    Regards,
    Hari.

    Sreehari,
    i dont find any logic of having Same validity date for Quotation and Inquiry....
    the simple reason is explained by example: Say you have created Inquiry on 1st november and end date is 15th novembr. Customer comes to you on 14th november and asked for Quotation, and if you refer quotation on that day that means its only applicable for one day, which generally wont be the case.
    There is no option for copying the validity dates from Inquiry to Quotation as per standard. If you want, create routine, place it in copy control.
    Thanks,
    raja

  • Date Validation - End date before Start date

    This may be a very simple validation but I seem to be having trouble. I've got a form which requires a date range to be selected (Date Picker fields)...a Start date, and an End date.
    I've created a Function Returning Boolean validation with the code as:
    begin
    if :P1_END_DATE < :P1_START_DATE then
    return false;
    else
    return true;
    end if;
    end;This works 99%, except when the date range spans years.
    For example, when I select '21-Dec-2010' in the start date and '4-Jan-2011' in the end date. The validation fails, and thinks the end date is before the start date.
    Do I need to compare the year part of the date, before doing the rest? Or is the '<' not suited for this sort of check?
    Edited by: djston on Dec 20, 2010 12:13 PM

    Sorry, false alarm, it looks like I had my logic a little backwards :)

  • Validity End Date for A012 relation not updated

    Hi All,
    I am working on SRM5.0 and the HR org structure is replicated from ECC to SRM via idocs. Now, for one particular user, who holds position in 2 org units, the HRP1001 table data is incorrect.
    For one of the relations A012 between S-O, the end date shown is in the past. I checked the ECC tables for this employee and the A012 relation is valid till 31/12/9999. But, in the SRM system, this date does not get updated.
    Due to this employee is not shown as an approver for that particular org unit.
    Does anyone know how I can update this date?
    Regards,
    Ancy

    One of the Org unit is under the other org unit. So, I updated the position with the relation to the higher org unit only. So in the SRM system, by default, the supervisor for this org unit is the supervisor for the lower org unit too, unless there is a new supervisor for the lower org unit.

  • 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

  • How to set up start and end dates for validity of contract account in FICAx

    Hi,
      Can anyone tell me where can I set up the validitiy period for the contract account in FICA. In contract creation, I could just see the contract validity start date. I also need to know the validity end date. Please let me know the solution asap.
    Points will be awarded for all the useful answers.
    Thanks
    Santosh

    Yes, you're right, you would then need to develop a lot of user exits to prevent the re-use of the contract account after the validity date.
    I'm think in a strange solution, it could work but you'll need to test it. if a contract account is marked for deletion (Field FKKVKP-LOEVM equal to 'X') no further action can be made over it, When you create you contract account you can schedule a change using as validity date (Field BUS000FLDS-VALDT ins the change contract account screen) to the end date of you contract account and set this deletion flag. then you run FPP2A to activate the schedule changes, before you get to the end date the flag is not set, when you get to the end date FPP2A will activate the flag and the contract account becomes not usefull.
    If you do this, you have be careful because all the postings to the contract account won't be possible, it means that if there are payment to be made, interests to be calculated, etc... nothing will be posted.
    Cheers,

  • How to input my own Validity Start and End Dates in ME21N

    Hi All,
    I have to change the Validity Start and Validity End date in Addiitional Data Tab of ME21 transaction( PO Create ) using default Customer Values.How Can i accomplish it?
    I have used the BAdI ME_PROCESS_PO_CUST and implemented it, I have coded in the method PROCESS_HEADER.First I retrieved the data using get_data( ) method, changed the values with Customer Values and called the method set_data( ).
    However my validity start and End Dates and not changing.
    Even in ME21N if I create the PO with my own Validity Start and End dates, and go to ME23N to display the created PO, still in the additional data tab, the start and End dates are current date and Next date respectively.why its happening?
    Thanks in advance

    Hi,
    Can you please let us know in which business scenario this is required.
    SAP has provided separate functionality of Outline Agreement for considering validity period.
    If you let us know the business scenarion some solution/workaround can be suggested.
    Regards

  • How to use Schedule End Date in work flow

    I want the delete pages from Page library after the “Schedule End Date” is reached.
    I used workflow, but the “Schedule End Date” column values always returns 1/1/1000 in workflow.
    I am unable to get the actual “Schedule End Date” value form the pages.
    Any help
    with Regards Sivam

    Hi Siva 2013,
    I made a test in my environment and I reproduce your issue.
    By default, it is a hidden field. I make the field unhidden using SharePoint Manager. I set the field with a specific value, and I create a workflow to log the value. But, it always show "0001/01/01".
    As a workaround, I suggest you can filter the items using CAML Query and delete them using Client Object Model.
    I suggest you can filter the items using CAMLDesign.
    More information:
    Client Object Model:
    http://msdn.microsoft.com/en-us/library/office/ee539976(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ee534956(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
    CamlDesign:
    http://www.camldesigner.com/
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Report for Validity Start and End Date in PO

    Dear All
    Is there any report where I can get PO validity start and end date which user input in addtional data header tab of PO?
    Regards
    Satish Kumar

    Hi,
    Yes, It is available standard report using T-code ME2N - Purchasing Document (PO) Per Document Number, enter the T-code and provide the following input data's are as follows.
    Scope of List                 :  ALV ( for Ms-Excel format report)
    Plant                               :   __________ to __________ (if required)
    Document Date              : ____________ to ___________ (if Required)
    Execute the report shown by default in excel format and if required PO validity start and end data, you have to select Change Layout button and open new window options screen right side field option as Validity Per.Start, Validity Period End, Commutative number field data's are selected and click <--- arrow button and then click bottom tick marked button. Now, the report shown your requirement.
    Hope, it is useful for you,
    Regards,
    K.Rajendran

Maybe you are looking for

  • Getting error code -251723766 returned from the "EthernetIP Open Session.vi" while trying to talk to a PLC

    I have created a LabVIEW application using LabVIEW 2012 (64 bit) that attempts to communicate with a PLC. I do not actually have the PLC here at the Rockwell Collins facility in Cedar Rapids, Iowa. I have sent this application to my co-worker, who is

  • Cant upload music video onto 30g video ipod? please HELP!

    it said " here it goes again" was not copied to the ipod " fizzy's ipod" because it cannot be played on this ipod? How come? please help, it took 5 hrs to load this video. please? I have the latest version of itunes, and My ipod is 1.2

  • Please, please someone answer how to find Livetype Textures from 3.5 on HD

    I am leaving town to be away for two months. I really want to use my MacBook while away to work on FCE but cannot on FCE v. 4 find the textures in Livetype I used in FCE 3.5. They simply did not come up when I installed on the MacBook, and yet they a

  • How can I work out about Pan function?

    Hi, Can anybody help? my point is I don´t want my XY graph to have pan function. I mean the XY graph cannot pan neither running VI nor not running. If it´s impossible to do that two ways, just only when running VI that cannot pan the graph. Thanks in

  • Direct Binding Partner Ports

    Hi, I have a below requirement. Parent orchestration has to poll a table and get the record. In the record there is a column 'MeasureID' with comma seperated values.  For each of these measure ID, I execute set of SQL queries (I can execute only one