Condition values and validity periods of a Scheduling agreement .

Dear Friends,
I have one querry .Where does (in  Database table) ,  the condition values and validity periods of a Scheduling agreement stored .
Thanks and regards in advance.
Vijay.
Edited by: vij kot on Sep 9, 2008 12:09 PM

Hi,
Refer Tables
KONH - Condition Header
KONP - Condition Item
KONV - Conditions (Transaction Data)

Similar Messages

  • Help with Conditional Display and Validation

    Version 4.1.1.00.23
    Hello,
    I'm having a difficult time with a conditional display and validation I'm hoping someone can help with.
    Requirements:
    When the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox)
    If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL)
    What I've tried
    Create a Dynamic Action on the Start Date
    Event: Change
    Selection Type:Item(s)
    Items(s): P51_START_DATE
    Condition: none
    True Action Section:
    Action: Show
    Fire on Page Load: Checked
    Show all page items on the same line: No
    Affected Items Section:
    Selection Type:Item(s)
    Item(s): P51_CHANGE_REASON,P51_CHANGE_DESC
    I've also created a Dynamic Action with similar settings for the P51_END_DATE.
    I created a Validation for the P51_CHANGE_REASON as Function Returning Error Text:
    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    The Issue
    I tried to create another Dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields on page load, but when either of the date fields are changed and the validation is fired the P51_CHANGE_REASON and P51_CHANGE_DESC are hidden again.
    There are two buttons to submit the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will submit the page and branch to the previous page (which is a report with EDIT buttons to edit the record).
    I can't get the page load Dynamic Action to NOT fire when the validation is fired.
    I hope this is clear and if not what information can I provide?
    Thanks,
    Joe

    Phil,
    Thank you for looking at this.
    Yes if the Change Reason is NULL when the edit page is displayed then the Change Reason and Change Description fields are hidden. If the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox). If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL).
    The problem I'm having is that if no Change Reason is entered and the page is saved thereby firing the validation the Change Reason and Change Description fields are hidden again (because of the On-Load Dynamic Action to hide them). So now the user can't put in a Change Reason...unless they change one of the date fields again which isn't going to be accepted.
    Is there a way to determine if a validation error was fired and be able to use that on the On-Load Dynamic Action to hide the two fields? Something like...If the validation fired then don't run?
    Please let me know if I'm still confusing you.
    Thanks,
    Joe

  • Changing  Condition values and Condition currency of PO to local currency.

    Dear Friends,
    I have a weird request.
    I have  a PO which has been created in USD. My local currency is INR.
    Normally, when i display the PO, under conditions tab, the condition values and currency will be displayed in USD.
    My requirement is like, i want to change and simulate the condition values in USD to local currency (INR) based on current exchange rate.
    Is there any way i can simulate the same. Kindly help.
    Thanks and Regards
    Sandeep Sivan

    I am not sure that it can be done through the config. You can change the values with the correct user exit and change the values accordingly before the values are displayed.
    Regards,
    FS

  • Firm Zone and Trade off Zone in Scheduling Agreement

    Dear All
    Please explain in detailed the concept of Firm Zone and Trade off Zone in Scheduling Agreement, and it's effects in MRP run, i.e. If i take a MRP run for a material whci is having firm zone as 30 days and trade off zone as 60 days then what will be the result of MRP. The Material MRP type is VB
    Thanks and Regards
    Manoj

    Hi,
    Firm zone is the time frame in which you cannot change your orders (schedule lines) that you have ordered from a vendor in any way (Date change nor quantity change).
    Trade off zone is time frame within which you can make changes to your procurement proposals, these changes are acceptable from vendor's side.
    These time frames are agreed with the Vendor and then inserted for each scheduling agreement in 'Additional data'.
    For your example if you take firm zone 30 days and trade-off zone 60 days, the check starts from current day on which MRP runs. For exampe current day is 1st Oct, all the procurement proposals with delivery date within 30 days that is till 1st September are firm orders, which MRP will not change in any case (You can find such orders with * in front of them in MD04 list). Beyond 1st september they are in trade off zone, in which MRP can modify them.
    MRP types (VB in your case) have no correlation with these zones.
    Amit G

  • Change Schedule Lines values for Each Item for a Scheduling Agreement ?

    Hii
        I want to change the Schedule Line Schedule Qty for Each Line item for a
    Scheduling Agreement .
    I cannot use BAPI_PO_CHANGE as this is for PO only and gives error for
    a scheduling agreement.
    I am on 4.6c so i SAP does not have BAPI_AGREEMENT_MAINTAIN .
    Please help me out on using a BAPI or FM to do this.
    Regards
    Gaurav

    Hi,
    isn't the Schedule Line a special case of SALES order  that might be changed with a BAPI_SALESORDER_MAINTAIN.... If ther is no BAPI for this in your system, you might create new contracts with reference to existing ones using BAPI_CONTRACT_CREATEFROMDATA.
    Regards,
    Clemens

  • MIGO/GR w/ PO and Validity Period Specific Pricing

    We have a business requirement to maintain validity period specific pricing on our outline agreements (Scheduling Agreements/Contracts).  The question is can receiving be controlled to pick the correct price based on delivery date and not when the goods are actually received?
    Example:
    Part A
    4/10/2014 to 4/20/2014 - $4.00
    4/21/2014 to 4/30/2014 - $5.00
    Scenario #1- Contract--> Release PO
    This scenario is working correctly due the release purchase order pricing is referenced based on when the purchase order is created.
    Scenario #2-Scheduling Agreement-->Delivery Schedule
    During the prototype, when setting up a validity perios specific price as above, the price is only taken into account at the start of the validity period.
    If the delivery schedule line says 4/18, but it's not received until 4/22, SAP will pull the 2nd validity period price instead of the 1st period.  Is there a way to ensure that the correct validity period gets pulled?

    I think its possible, though i did not check for Scheduling agreement but it works for PO
    Can you please explore Vendor master>Purchasing Data> Pricing Date Control field options
    It should help
    Thanks
    DD

  • MM - Goods Receipt (MIGO) and Validity Period End (Contracts and PO)

    Hi Gurus,
    Within our PO process, I created a PO which references a contract. Both have a Validy Period Start and End set up in customizing and filled in. But my problem is that I can still enter a Goods Receipt in MIGO to that PO, after validity has ended. I've set up in customizing the system message 06-041 as Error, and I've put in Screen Layout the checkbox 'GR message' for both PO and Contract.
    Is there a way to block the GR threw IMG outside of the Validity Period ?
    Thx in advance,
    N.H.

    Hi,
    Anyone has any clues ?

  • Restriction of Validity start date in Scheduling agreement

    Hi,
    I am not able to convert the message 06 170( Start of validity period is in the past) in error message , when i am going to define attributes of system messages in purchasing and converting this message into error , system still does not give error message when i am selecting  back  validity start date in the header of Scheduling agreement (me32l)
    What can be the possible reason.
    Regards
    Sachin

    Hi,
    I believe the message 06-170 is hard-coded in Include "MM06EFRP_EKKO-KDATE" in the Program SAPMM06E
    Laufzeitbeginn in der Vergangenheit -
        IF ekko-kdatb < sy-datlo.
          MESSAGE w170 INTO gl_dummy.
          mmpur_message 'W' '06' '170' '' '' '' ''.
    Please consul your ABAP Team on this to change it to Error.
    But SAP does not recommend changing standard Programs, so please discuss this and see that its really required and will not have any effects to your business process, because there may be instances wherein you might require to create scheduling agreements with a past validity date sometime in future based on business requirement.
    Regards
    Chandra Shekhar

  • Limit to the value of Goods receipt in a Scheduling agreement

    Hi All,
    Please let me know if there is any way to limit the goods receipt posting against a Scheduling Agreement to equal to or less than the total agreement value. Or else if the GR's has already been posted for some value, the system shuld check and allow a user to post furthur for the remainin value only.
    Also let me know if there is a way to check the remaining quantity in the scheduling agreement and allow MRP run to generate new schedule lines for that quantity only..

    Hello
    It is a special case that we have to analyze that order now.
    As I said, this material was not costed any time.  This production order was created for a Sales order.  when I go to the cost analysis from the production order, I find the plan costs.  But it is not from the costing run CK40n or CK11n.  I hope it is from the sales order cost estimate.
    But I am unable to understand how the goods receipt was posted as the material master does not have any price.  I find that the goods receipt was posted @ 489.88 per unit.
    I am unable to find out from where this 489.88 unit price was used by the system for GR posting.

  • Dynamically calculating values and validating in reports

    Hi
    I need to be able to calculate and display the running total of column (representing a % - sales allocation) within an updatable report as the users steps off the row after making a change to the allocation.
    Greatful for your suggestions on ways of doing this.
    Thanks
    Dorian

    See
    http://htmldb.oracle.com/pls/otn/f?p=24317:57
    The region query is
    select
    ename,
    job,
    htmldb_item.text(1,sal,null,null,'onChange="Calc()"') sal,
    htmldb_item.text(2,comm,null,null,'onChange="Calc()"') comm,
    htmldb_item.text(3,sal+comm,null,null,'readonly=true') total
    from emp
    The Calc javascript function is in the Region header as
    <script type="text/javascript">
    function Calc() {
    var sal=document.wwv_flow.f01;
    var comm=document.wwv_flow.f02;
    var total=document.wwv_flow.f03;
    for (var j=0;j<sal.length;j++) {
       total[j].value=Number(sal[j].value)+Number(comm[j].value);
    </script>Note that you dont have access to each individual row, when you change either the sal or the comm field, the entire grid gets recalculated, sort of like a spreadsheet.
    Should be enough to get you started.
    Hope this helps.

  • ICSS label values and validation messages

    Hi All,
    Can someone please let me know
    1. Where are the label values stored for ICSS (i.e. is it in some properties file/ xcm config or CRM backend)
    2. Where the validation error messages for ICSS stored.
    Thanks,
    Nikhil

    Solved myself.

  • Price date and Pr.Date Cat in Scheduling Agreement

    Hi Gurus,
    Anyone know what is the purpose of these 2 fields in SA? If I enter the price date with Pr.Date Cat = no control, what is the impact? Will system based on the Price Date to get the price in the info record?
    Thanks in advance.

    Hi Sue,
    The PR date category determines which date is to be used for price determination purposes.
    If you maintain as "no control"it will take price based on the  document date.
    hope it wud have answered ur question.
    Reward if useful
    Shawn

  • Change in validity period of Scheduling agreement

    Dear all,
    I extended validity period of existing Scheduling agreement,
    But In MD04 it is not creating Schedule lines.
    Regards,
    Nitin Patil.

    hi,
    you shd also check the validity period of the source list maintained for this schedule agreement..
    Regards
    Priyanka.P

  • Quota arrangement with schedule agreements

    Dear guru's,
    I maintained source list with 3 Schedule agreements with 3 different vendors, MRP indicator as 2, in Material master Quota as 4, and maintained Quota.
    now after planning run i am getting two PR's for two vendors and for third vendor schedule lines are generated against that schedule agreement.
    can u any one help me in this
    vinay

    Hi,
    In the source list have you put a 2 as MRP indicator for all the scheduling agreements in the source list.
    Also please make sure that the fixing indicator is not set in the source list.
    Can you also check the if the validity period for all scheduling agreements and source list entries are correct.

  • Goods Receipt (MIGO) outside PO and/or Contract Validity Period ?

    Hi Gurus,
    Within our PO process, I created a PO which references a contract. Both have a Validy Period Start and End set up in customizing and filled in. But my problem is that I can still enter a Goods Receipt in MIGO to that PO, after validity has ended. I've set up in customizing the system message 06-041 as Error, and I've put in Screen Layout the checkbox 'GR message' for both PO and Contract.
    Is there a way to block the GR threw IMG outside of the Validity Period ?
    Thx in advance,
    N.H.

    Hi,
    The validity period for any outline agreement, can stop you from creating release orders or schedule lines , if OA is expired.
    Ex: Its very much logical, on the very last day of validity end date, u will create release orders.
    In this case you will receive your goods, only after the Validity end period.
    So there is no such control, for stopping the GR to be made.
    One can only stop Release orders from getting created,outside the validity period, not the GRs.
    Check for  Any user exit, that may help
    Regards
    Krishna U

Maybe you are looking for

  • Database link from 11g to 10g

    I am trying to create a database link from the 11g database to the 10g database using: create database link ORCL10R2 connect to <username10g> identified by <password10g> using <db10g>; It Returns Database link created. select sysdate from dual@ORCL10

  • Workflow  - Schedule Manager problem

    Hi, I have configured a flow definition task in Schedule Manager (SAP 4.7, IDES system). After the immediately execution I got a very strange dump: Syntax error in program "CL_SWF_RUN_WIM_LOCAL==========CP The following syntax error occurred in the p

  • Desktop software connection password

    I have recently changed my laptop and have just downloaded the Blackberry software so that I can transfer some pictures and sync my Bold.  The problem is I don't remember the password from my initial setup.  I am now at 5 connections and the next one

  • Where is my hard disk?

    I installed a second hard disk to use as a backup a couple of years ago and it has always worked perfectly. Now it doesn't show up. What can I do?

  • About Flex 3 POPUPMANAGER

    Hi , Yesterday i got a chance to look at FLex's POPUPManager . i have used its createUo and removePop Methods to dsiplay Containers on to the Form . I couldn't find it this POPUpManger useful , because i feel that the same thing can be achivied by Ac