X-distr.chain status in combination with valid from date

Hello I am using MM02 X-distr.chain status in combination with valid from date, to give materials a certain status in the sales order depending on the delivery date of the orderline.
How can I enter multiple statuses with future validation dates?
example following status with validation dates where entered in MM02 for a material
- material should have status A valid from January
- material should have status B valid form April
- material should have status C valid from July
- material should have status D valid from September
When I enter a sales order with delivery date in January system replies with status C.
When I enter a sales order with delivery date in April system replies with status C .
When I enter a sales order with delivery date in July system replies with status C .
When I enter a sales order with delivery date in September system replies with status D.
So only the current  ( or previous status when current is not valid yet) is retained by the system.
How could multiple statuses be used?
Thanks in advance
Joos

Hello Jalo,
Thanks for your reply,
My customer sell season relevant materials so they want to control order entry and delivery creation based on predefined dates.
Status A  = material is blocked for order entry and delivery creation
Status B  = material is allowed for order entry, delivery creation is blocked
Status C  = material is allowed for order entry and delivery creation.
Status D  = material is blocked for order entry, delivery creation is allowed.
I had hoped to use standard functionality with this status field, it meets most of my customers requirements but at this moment the only alternative is to create a new table where this data can defined and create some abap logic in the user exit to set the status base on the table information.
Regards
Joos

Similar Messages

  • MDG-F 7.0 Multiple Editions with same valid from date

    It appears that we are dis-allowed to create more than two editions with same valid from date in MDG-F 7.0.
    that tells me that i should be extremely careful of creating an edition with valid from date because once created, I have to group all financial master data change requests effecitve on the same date into this edition. If I am missing one in first place and later on I find one that should be also valid from the same date after Edition is released, there is no way I can catch up by creating another edition with the same valid from date. Correct?
    Should I create Edition with replication time option 2 - approval of change request then to avoid?
    Thanks,
    LUO

    Hi Luo.
    your finding is unfortunately not correct. It is true that there might be only one open edition for a specific valid from date. Nevertheless, if you release this edition, you can create another edition using the same date.
    Best regards
    Michael

  • Please put a cost object with valid JV data for GL accoutnt (line 001)

    Dear All,
    When the user is trying to post ASKBN, They are getting an error saying "Please put a cost object with valid JV data for GL accoutnt (line 001)"
    So we tried to look up the error, and the WBS, Cost center, profit center and JVA details are all available in place. Still cant understand why this error comes. And why the system is asking to put JV details when they are available.
    On checking, WBS has an AUC and AUC has the cost center which has the JV details and PC details. So I think everything is in place.
    Can someone help please and let us know if we are missing anything else that needs to be checked ?
    Thanks,
    Hari Dharen

    Dear Hari Dharen,
    if something else in missung you'll get a error message if you run ASKBN in testmodus.
    regards Bernhard
    Edited by: Bernhard Kirchner on Oct 5, 2010 8:55 AM

  • Working with Validation of Data

    Hi. VC Experts.
                             I am currently working with VC 6.0. Where I am working with Validation of Data.
    we have fields like Emp, Earea, Joining date (month & Year),  Ending date((month & Year) etc.,
    Here we have one push button 'select'.
                         Here what my client asks is unless and until, user fills all details then only
    the submit but should be enabled. Otherwise submit button should be in disable mode.
    I could be able to write formula for 'submit' button's properties( Disable) like this.
    BOOL(IF(LEN(@Emp_code)<>0 AND  LEN(@Earea)<>0 AND LEN(@Edept)<>0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')<0 ,false,true))
                     Here condition is always make sure that 'Joining date' should be greater than 'Ending date' .  where it is working fine for all fields except Calender Year month(Joining date & Ending date).
                                the calender year month format is  Example : """" May 2007""""
    But it is considering only month But not year.
                  Can you kindly provide your inputs.
                                                                                 Thanks & Regards

    Hi Vijay,
    sorry
    please rewrite the formula for the button disable as::
    NOTE:: in the formula i have used '<''>'  which nothing but a lessthan symbol and greater than symbol without single quotes (i.e. not equal to)
    BOOL(IF(LEN(@Emp_code) '<''>'0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')<0 ,false,true))
    and make sure you have placed the date picker UI controls for your date functionality.
    this will not work for calender UI control on the form.
    and othe important point is the joining date should be less than ending date then only the button will be enable..
    if you want your joining date should be greater than ending date then write the formaula like this::
    BOOL(IF(LEN(@Emp_code)<>0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')>0 ,false,true))
    i tried this
    its working for me
    Regards
    Srinivas

  • Updating Cube in the End Routine based on the incoming Valid From Date

    Hello Experts
    Here is my scenario.
    We are using BW 7.x.  There is DSO and from DSO it goes to the Cube, the promotions information.  These data targets will have Material (Article), Plant (Site), Promotions Number, Valid from and Valid to dates.  The Valid To date will come in as 12/31/9999 all the time.
    If I receive a new record from ECC with same Material, Plat and Promotion combination again, I need to get the Valid From Date from the new record and Update the existing record' Valid To date in DSO/Cube as Valid From of the new record - 1.
    So Valid To date of the existing record = New Record's Valid From date minus - 1.
    I would like to do the update in "End Routine" of the Cube.
    Would you please suggest if this can be done and if so would you please provide the sample code.
    THANK YOU in Advance.
    Nag.

    yes, you can do this...
    just use a RESULT_PACKAGE in end routine.
    and using RESULT_PACKAGE fatch the existing records from DSO and append that into RESULT_PACKAGE after your desired changes,
    just try to create a code using this l;ogic. if you can't then i will provide you a code.
    Regards,
    Ashish

  • Change of valid from date in routing

    Dear All,
    How can i change the routing "valid from date".
    When i am creating a prod coder in co01 its throwing a message that routing is not found so when i wwent to co02 it is showing that valid from 09.01.2012 but i need production order from 01.01.2012.
    Plz help.
    Thanks.

    Hi,
    There is a work around to change the validity of routing without using ECM in this particular situation
    1) While creating routing in CA01 you can change the key date to some past date say 01.01.2012.
    2) If already routing exists (one GC available) for same material and group number you can create another GC with past date and use the new GC for Production order by changing the old GC status to 1
    Be sure of implications of creating master data in past and may not be a standard practice.
    you can try and hope useful.
    Regards,
    Brahmaji D

  • How to change the valid from date of the bom header?

    ECM is active in the system.
    I want to change the valid from date of the BOM header with the help of a change number.
    How can I change it?

    Hello
    Lets assume that, we are going to change Management for controlling Valid From date
    Steps to be followed for creation of Change No
    Tcode CC01 for Change No
    Click on Change Master
    Once you enter into Change master, maintain the description
    In the Valid from Date, maintain the date from which you BOM should be current
    Maintain the Status (01)
    Click on Ojbect Type, maintain for which Object types is the Change no needs to be active i.e. for BOM, Rtg, etc
    save the Change No
    After the change no is created
    Enter the Change No during the creation mode of BOM
    THe system copies the Valid from date from Change No

  • Help reqd on Changing the Valid from "date"  for both BOM & Routing

    Hi all...
    Pls advise me how to do the changing of Valid from "date"....
    Is there any process in CC01 or ECM???....
    pls reply me in detail step format (step by step analysis)....
    I wrongly created in CS01 and CA01 as 05.10.2007 as my valid from date instead of 01.10.2007.....
    How to change to my actual one......
    I dont know how to change it exactly.....as im beginner in SAP...pls take this into consideration...and post ur replies imm.
    Pls reply me in detail....will be rewarded at the end while closing this issue.
    thanks & regards
    sankar

    Dear Sankarbabu,
    IF there's no setting for Date Check in OS54 - Engineering Change Management
    Control Data,then you can create a change number with past dates,and also to
    use the same one for changing BOM.
    Tell me one thing you are saying you want to use ECM.Was the earlier one
    created without BOM was created without an ECN?
    See already if you have created your BOM with an ECN,then remove the date
    check setting which I have mentioned in OS54.
    Now goto T code CC02 ,enter the Change number and give the valid from date as
    01.10.2007.
    After that check in CS03 whether this date(01.10.2007)is getting reflected or not.
    I'm sure this will solve your problem.
    Regards
    Mangal

  • IDOC BOMMAT: Wrong validity-from dates for components

    Hi all,
    I am currently loading BOMs via IDOC BOMMAT for a data migration project. Unfortunately I am having problems to load the BOMs with the correct validity-from date for components. The data is correct when I check in LSMW, but after the load of the IDOCs the validity-from date of each component is the same as the validity date of the BOM header!
    System Version is SAP 4.7.
    Thanks for your help and Best Regards
    H.

    Has anybody any ideas?
    Thanks a lot!

  • VALID FROM DATE IN EQUIPMENT CREATION

    Hi PM experts
    Im new to PM ,While creating Equipment which date should we use in VALID FROM and what is use of this date.
    Regards
    ek

    ek s
    Valid from date is the date on which the Equipment was installed at the location.
    Keeping this date as installation date ensures that all the activities executed on machine are recorded in the system from that date.
    One of the use of this date is, we can maintain the history as to when the machine was installed at the location (In Equipment Usage).
    Secondly, the valid from date is used to restrict the creation of Maintenance order for that particular Equipment. For ex: If you have mentioned Equipment Valid from date as 01.03.2015, and you try to create Maintenance order of this Equipment with date as 01.02.2015, it will give an error that Equipment is not valid (or active) for that particular period.
    Hope this reply helps.
    Chin2.

  • Valid From Date in CT04

    Hi,
    We are on ECC 6.0. When I try to create a Characteristics in CT04, the Valid From date defaults to the System Date. If I change this date to any other date in the past, it saves the system date only.
    How do I make the Valid From date to something else?
    Regards,

    Dear Shameek,
    why do you want to create the characteristics for a past date?
    This is possible by creating a change number in CC01 with the valid from date as say 01.07.2011 and include the check box for
    characteristics in the object type(active) and use the change number in CT04 and check the results.
    But the drawback in this procedure is the system always expects a change number during the next change for that
    characteristics.
    Check and revert back.
    Regards
    Mangalraj.S

  • Valid from date in ECM and BOM.

    Hi All,
    I create a Change master with release key and assign a material as an object whose BOM will be changed. I save the Change number.
    I go to change BOM main screen of the same material and enter the change number created, by default the valid from date comes as todays date. But when i hit enter to go inside the change BOM screen then the date dissapears from the field and i get an error as "please enter valid from date" even if the date of ECN is valid and that of BOM is also valid.
    Can somebody help in this?
    Thanks
    Shailesh.

    Shailesh,
    While creating the BOM have you used the change number ...? if yes then display that change number and check wheather do you have any alternative date mention in it.
    check validity date of change number as well as BOM validity.
    another reason can be you need to apply SAP note 1278790.
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0001231930
    check it out and revert back for further discussion.
    Hope it helps you.
    Regards
    Ritesh

  • How to get valid from date in KONH Table

    Hi ,
          I am sending COND_A idoc for MRP. Now when I create a record using VK11,the valid from date is fine.
    But while changing the same using VK12 changed date does not reflect in KONH Table (when the new valid from date is greater the the previous one) .I understand the SAP Logic behind this from previous threads .
    But my issue is this :
    Suppose I have a Material X created with Valid from = 10.01.2011 & valid to = 31.12.9999
    Now I change this Valid from = 28.01.2011 & valid to = 31.01.2011.
    Now how can I send the data for 28.01.2011 in my I-doc , as KONH still has 10.01.2011 as valid from date.

    even if you send the data for 28.01.2011, it should pick up the condition record because the start date for condition record is in past? why do you think it is a problem? now if your concern is that if your input date is 27.01.2011 and it should not pick this condition (that is a different matter altogether)...

  • Component - Change valid from date

    Hi Experts,
    I am using function module CRM_IBASE_COMP_CHANGE to change the component data. I am able to make all the required changes in the component except valid from date. Even though I am specifying it in VALFR of the structure IBAP_COMP3
    Can you suggest me how do I change the valid from date of the component.
    Regards,
    Abdullah

    Hi Abdullah,
    Valid-from date cannot be modified. If you go to IBase Display or if you create a new IBase with one Component, then you can observe there, that Valid-from date is only a Display field which takes current date by default (during creation) and not an input field. Hence i think you cannot modify.
    Thanks,
    sksingh

  • Dump in user exist CC01 to set default value to valid from date

    Dear friends,
    Task is to set default value to valid from date field in Transaction "CC01".
    In INCLUDE ZXCCAU01 of Function 'EXIT_SAPMC29C_001' in Enhancement 'PCCD0001' I written the code like this
    DATA var LIKE sy-datum.
    var = var + 1.
    which is not related to program by creating project and activated the project.
    When I run cc01 it is giving dump.
    Error is :
    Program "SAPLXCCA" tried to use screen 1000.
    The screen does not exist.
    Can some one guide me What is the problem and How to resolve this.
    If not, Is there any other method this can be done.
    Regards,
    Venkat

    Hi venkat,
    DATA var LIKE sy-datum.
    var = var + 1.
    the code u written i guess not ok.The code used by kishan is correct. i.e
    DATA var LIKE sy-datum.
    sy-datum = sy-datum + 1.
    var =  sy-datum.
    write var.
    use the above code.
    SAPLXCCA is a functionpool not a program.please check the same.
    regards,
    Nagaraj

Maybe you are looking for