Default start date and validty period in contract

hi
i want to default start date & validity dates during contract creation in VA41. i am not able to find the relevant configurations. pl help
thanks in advance

IMG->Sales & Distribution -> Sales -> Sales Documents -> Contracts -> Contract data
There are three setting under this node. These three together determine the dates.
thanx
Bala

Similar Messages

  • How to get the current month starting date and ending date by default ?

    Hello Creators,
    This is my requirement, kindly do the needful, Please dont gimme any links i've no access for other sites, gimme the right solution.
    My Requirement :
    Creation Date (VBAK-ERDAT) - Select Option. By default, the program should run for the current Month ie between the starting and ending date of the current month when the program is run. Today the date is 18th using sy-datum we can bring the current date by calling it in the initialization event, but the requirement is it should not give me the current date, it should only give me the month starting date and the end date. Kindly help.
    Thanks in advance ...

    DATA: gv_datum LIKE vbak-erdat.
    SELECT-OPTIONS: so_date FOR gv_datum.
    INITIALIZATION.
      CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
        EXPORTING
          iv_date             = sy-datum
        IMPORTING
          ev_month_begin_date = so_date-low
          ev_month_end_date   = so_date-high.
      so_date-option = 'BT'.
      APPEND so_date.
    START-OF-SELECTION.
    Hope this solves the issue. Don't forget to be generous
    Cheers,
    Sougata.

  • Cash flow start date and first posting date in REFX-RECN contract

    Hi,
    While reviewing old contracts, I have noticed that in contracts where first posting date is mentioned,  the cash flow start date is not editable in contract change screen.  In contracts where first posting date is not mentioned, the cash flow start date is editable in the change screen.
    Is this standard system behaviour?  Because i have read in the forum that cash flow start date is not editable after first posting of the conditions.
    I tried to change the field status of cash flow start date through RECACUST,  but despite keeping the field status as display,  the cash flow start date remains editable.
    Please help on how to make the field status not editable.
    sadhana

    Hi Sidhharth,
    Thanks a lot for your immediate reply.
    I still have one query.  You have written that
    Where First posting date is not updated it indicates that posting of the contract is yet to be done,not a single posting has been performed hence Cashflow date is editable.
    This means first posting date is always filled up after condition is posted.  but in our system i find that the date is blank and greyed out even after the 1st posting.
    Could it be due to having several conditions in the contract - some with one time posting, some with monthly posting?  eg.most of our contracts have atleast two contions - one for deposit which is one time payment, one for rent.  the first posting date is updated in individual condition for rent in conditions tab  but first posting date in terms tab is blank.     But even in single condition contracts, the first posting date is not getting updated in term tab (the field gets greyout out once contract is activated)
    Thanks once again.
    Sadhana.

  • Updating start date and end date at header level for a contract

    As per the requirement I have to create a contract and assign the start date and end date to the contract.
    I am using BAPI_CONTRACT_CREATEFROMDATA for creating a contract. I am assigning value for start date and end date for header data of contract in fields
    -CT_VALID_F and CT_VALID_T of CONTRACT_HEADER_IN import parameter and also setting the corresponding indicator in CONTRACT_HEADER_INX parameter.
    The BAPI executes successfully and does not return any error but when I check the start date and end date for contract in va43 the values are not assigned.
    I also want to update the start date and end date for contract in other case for which I am using BAPI_CUSTOMERCONTRACT_CHANGE and passing date values to the same fields as those create but it give me an error while executing. The error is as follows:
    Field 'GUEEN' cannot be changed, VBAKKOM 2000000162 ready for input.
    Can anyone suggest what can be done for update the date values?
    Thanks in advance.
    Komal

    So are we... The BAPI BAPI_CONTRACT_CREATE has the following importing parameters:
    HEADER     TYPE     BAPIMEOUTHEADER
    HEADERX     TYPE     BAPIMEOUTHEADERX
    VENDOR_ADDRESS     TYPE     BAPIMEOUTADDRVENDOR
    TESTRUN     TYPE     BAPIFLAG-BAPIFLAG
    TECHNICAL_DATA     TYPE     BAPIMEOUTTECH
    Change the HEADER and HEADERX parameters as I have indicated in my first post.
    Regards,
    John.

  • How to get starting date and ending date of the given Fiscal Period

    Hi Friends,
    In my Selection screen parameter, I've Fiscal year and Period , I want to get the starting date and ending date with the Fiscal period.
    How to get and throught which FM.
    Pls advise.
    thanks&regards
    Sankar.

    Hello Sankar,
    Check the FM PERIOD_DAY_DETERMINE.
      DATA :
             l_periv     TYPE periv,
             l_blart     TYPE blart,
             l_fday     TYPE bkpf-budat,      "First day in period
             l_lday     TYPE bkpf-budat.      "Last day in period
    * Fetch the fiscal year variant from T001
      SELECT  SINGLE periv  INTO TABLE l_periv
      FROM t001
      WHERE bukrs EQ p_bukrs.
    * Get first day/last day
          CALL FUNCTION 'PERIOD_DAY_DETERMINE'
            EXPORTING
              i_gjahr              = p_gjahr
              i_monat              = p_monat
              i_periv              = l_periv
            IMPORTING
              e_fday               = l_fday
              e_lday               = l_lday
            EXCEPTIONS
              error_period         = 1
              error_period_version = 2
              firstday_not_defined = 3
              period_not_defined   = 4
              year_invalid         = 5
              OTHERS               = 6.
    Hope this helps.
    BR,
    Suhas
    Edited by: Suhas Saha on Jan 9, 2009 2:08 PM

  • PPOME - New Tab & Infotype - How to find "start date" of preview period

    Hi all,
    I have successfully created own Infotype and add as new tab in PPOME.
    But now I need in my modulpool program to read field "start date" of preview period (from heading of screen in PPOME). I can't find right field. Has anybody any idea?
    Thanks a lot.
    Dusan
    Message was edited by:
            Dusan Skokanek

    Hi ramprasad74,
    According to your description, you are using Analysis Services as a data source for the report, the cube has hierarchy: Fyear, FQuarter, FPeriod, fweek, Fdate. You want to add a date parameter to the report, after you changed value of the parameter, the
    report will return the first day of FPeriod.
    To achieve your goal, we need to add a parameter to the report, then use the parameter in mdx query. For detail information, please refer to the following steps:
    In the Report Data pane, right-click on a dataset created from a SQL Server Analysis Services data source type, and then click Query. The MDX query designer opens in Design mode.
    On the toolbar, click Design to toggle to Query mode.
    On the MDX query designer toolbar, click Query Parameters symbol. The Query Parameters dialog box opens.
    In the Parameter column, click <Enter Parameter>, and then type the name of a parameter.
    In the Dimension column, choose a value from the drop-down list.
    In the Hierarchy column, choose a value from the drop-down list.
    In the Default column, from the drop-down list, select a single value.
    Click OK. 
    In query designer dialog box, type the mdx query like below:
    with member [Measures].[FirstChild]
    as
    [Date].[Fiscal].currentmember.parent.firstchild.name
    select {[Measures].[FirstChild]} on 0,
    [Date].[Fiscal].[Date].members on 1
    from
    ( SELECT ( STRTOSET(@ParameterName, CONSTRAINED) ) on 0
    from
    [Cube]
    Here are relevant threads you can reference:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/c7146ac3-40ea-4d53-b321-c707aebbd405/how-to-pass-date-parameter-to-mdx-query
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/fd12a865-bc90-4a65-af42-ce38a8cfa29b/pass-date-time-parameter-to-mdx-query-ssrs
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • PPOME 'date and preview period'.  Is there a user parameter for settings?

    Hi
    The default setting for the 'date and preview period' in PPOME/PPOSE is sy-datum + 3 months.  Our users would like this to be sy-datum with time period 'Complete'.
    Is there a user parameter to set for this.
    Is there anywhere I can see the documentation for the values in parameter POK?
    Thanks in advance
    Kirsten

    Hi Kirsten,
    In PPOME, when you select end date 31.12.9999 from date & preview period, save and exit; the next time you login the system defaults this selection for you.
    There is a user parameter OM_DATE (format : YYYYMMDD) which defaults the start date in date and preview period window in PPOME.
    Best regards,
    Dilek

  • Manual creation of PPDS Planned Orders by start date and time

    Hi,
    When an order is manually created in any ppds standard transaction the start date is calculated according to the availability date entered, the order quantity and the master data 
    Is it possible to manually create an order based on the start date and then the availability date is calculated according to the order quantity and master data?
    Thanks
    CTF

    CTF,
    You can 'forward schedule' manually created orders.
    Scheduling direction is dependent on the Strategy profile.  During order creation, you can change this.
    When on the order create screen (/sapapo/rrp5), select the strategy button at the top.  This will bring up the default strategy for your userid.  You can alter the "planning direction" to be 'forward' or 'forward & reverse' depending on your business requirements.  Selecting Save will then make this scheduling strategy your default; otherwise just hit green checkbox.
    Now the order entry screen will have 'start date' entry box.  Avail date will then be calculated.
    Best Regards,
    DB49

  • Planned order creation with PDS valid on only order start date and not finish date

    Hi All,
    We have requirement to allow creation of planned order manually if production version is valid on order start date and not finish date.  This is because lead time of order is longer. I refered OSS notes 385602. I could find out solution for this is implementation of OSS note 694140 to change validity mode at activity level to consider start date of first produce activity  in validity interval. Problem is even If I create order in APO by implementiong this note planned order is not transfered to ECC and it gets stuck with error production version not valid.
    Is there any way in ECC to control this? Any config or customization?
    Regards,
    Santosh

    Nilesh,
    I think there is a simple procedural skip happening in your business process. You are right when a planned order is created after MRP it would default assign it to the first available production version. 2options available for us,
    1. First use transaction MF50 and do the line loading and assign the quantites to the production versions/Production lines, so that the actual capacity planning is getting completed. This way you can have planned orders with both the production versions and matching to your actual line capacity.
    2. Use Quota arrangement concept, to automatically split the Planned orders during MRP for a percentage based on individual production versions.
    Now when backflush is performed S225 table is updated and Planned order qty also gets reduced.
    Hope this helps....
    Regards,
    Prasobh

  • Scheduling start date and end dates

    Hello Gurus,
    I am trying to understand the schedule start date and schedule end date functionality in Plant Maintenance. I do understand the basic start and end dates. Currently I set up u201C3.Do not adjust basic dates, dep rqmts to order startu201D and set the scheduling type as u201CForwardsu201D . Please note we donu2019t do any capacity planning or leveling.
    So my question is, why the scheduling start date is defaults to the basic  start date  for forwards and scheduling finish date defaults to basic finish date for backwards ? I tried adding couple of operations and save the work order. It did not change anything in schedule dates.
    Do we really need to care about scheduling dates if we donu2019t use capacity planning ?
    Please advise
    Mahee

    Hi,
    As per priority, final dates would be calculated as we will define the duration based on the priprity. Either current date or basic date only applied to Scheduling start date.
    You can change the scheduling start date so that based on priority, final date would be calculated.
    Regards,
    Maheswaran.

  • Function Module for getting Payroll start date and end date

    Hi Gurus,
      If I give one date then is there any function module to find the payroll period start date and enddate for that given date?
    Points will be awarded
    Thanks
    Ravi

    Hi,
      Try these FMs
    HR_PAYROLL_PERIODS_GET
    HR_BEN_PAY_GET_PAYROLL_PERIODS
    HR_PAYROLL_PERIOD_GET
    HR_P06I_GET_PAYROLL_PERIOD
    Regards,
    PRashant

  • Basic start date and finish date changing in the past

    Hello Gurus,
    I set the scheduling parameters as " Do not adjust basic dates, dep rqmts to order start " and also assigned the priority to populate the basic finish date. System does calculate the finish date based on the priority and start date as current date but it does allow me to change both dates in past or future which should not happen.
    Please do note that I activated the defaulted date as current date as well. Even I removed this mark and did not work.
    Please let me know if there is any way to restrcit the changing it alteast in the past.
    Mahee

    This can be prevented using one the following ways depending upon your needs
    ---> Set the "start in past" field to appropriate value using transaction OPU7 for order type /Plant combination
    ---> Make the "Basic start date  and Basic end date" fields as "Display only" through the Field selection config for the order type.
    ---> Use the user exit on "SAVE" of the order to check for the same
    Regards
    Narasimhan

  • Query with Start Date and End Date

    Dear Members,
    I have done a basic query on to get a report on Sales Invoices processed in a given period with the General Ledger account they were posted to. Minor hassle is that to change the dates, I have to go into the script (see extract below) and change dates manually, save query etc.
    Is there a way to have the query, when selected to run, pop up with window, allowing user to input say "start date" and "finish date". I imagine it will require some complex addition to the script below, any assistance will be appreciated.
    Regards
    Raj
    SELECT T1.[DocNum] AS 'Document Number', T1.[DocDate] AS 'Posting Date', T0.[AcctCode] AS 'Account Code', T0.[Dscription] AS 'Item/Service Description', T0.[LineTotal] AS 'Row Total' FROM  [dbo].[INV1] T0  INNER  JOIN [dbo].[OINV] T1  ON  T1.[DocEntry] = T0.[DocEntry]   WHERE T1.[DocDate] > (CONVERT(DATETIME, '20110801', 112) )  AND  T1.[DocDate] < (CONVERT(DATETIME, '20110831', 112) )

    Hi Raj,
    try this:
    /*SELECT FROM [dbo].[OINV] T0*/
    declare  @StartDate as datetime
    /* WHERE */
    set @StartDate = /* T0.DocDate */ '[%0]'
    /*SELECT FROM [dbo].[OINV] T1*/
    declare  @EndDate as datetime
    /* WHERE */
    set @EndDate = /* T0.DocDate */ '[%1]'
    SELECT T1.DocNum AS 'Document Number', T1.DocDate AS 'Posting Date', T0.AcctCode AS 'Account Code', T0.Dscription AS 'Item/Service Description', T0.LineTotal AS 'Row Total'
    FROM dbo.INV1 T0 INNER JOIN dbo.OINV T1 ON T1.DocEntry = T0.DocEntry WHERE T1.DocDate > @StartDate AND T1.DocDate < @EndDate
    Thanks,
    Neetu

  • Org.Assignment Infotype start date and End date is getting wrong.

    Hi, When i create a new employee in PA40, in Org. Assignment infotype start date and end date is getting wrong. for eg. When i create an employee on 01.04.2014.    In org. assignment infotype its getting like this. 01.01.2014  to  31.03.9999  and 01.04.9999 to 31.12.9999  Two date entries are creating by default.

    Hi
    Check in the Table - T588Z : Dynamic Actions ,is there any custom routines causing the defaulting dates functionality.
    Thanks,
    Sreeram

  • Function Module for calculating NEXT MONTH's start date and End date

    Hi Friends,
    I want a function module which could calculate the next months start date and end date...
    Say my input will be like 01.01.2006(start date) it should return
    01.02.2006 and 28.02.2006...
    IS there any FM for this ... or how to go about this scenario ???
    thanks in advance
    Cheers,
    R.Kripa

    Hi kripa,
    1. There is no DIRECT Way.
    2. We have to do in 2 steps.
    3. See this code (just copy paste in new program)
       U can use its FORM anywhere in your program,
       for getting the desired dates.
    4.
    REPORT abc.
    DATA : sdate TYPE sy-datum,
           edate TYPE sy-datum.
    PARAMETERS : dt TYPE sy-datum DEFAULT sy-datum.
    PERFORM getdt USING dt sdate edate.
    WRITE :/ sdate , edate.
    INDEPENDENT FORM
    FORM getdt USING orgdate stdate enddate.
      DATA : mydate TYPE sy-datum.
      CALL FUNCTION 'HR_PSD_DATES_ADD_MONTHS'
        EXPORTING
          v_date             = orgdate
          V_MONTHS           = 1
       IMPORTING
         E_DATE             = mydate
       EXCEPTIONS
         NOT_POSITIVE       = 1
         OTHERS             = 2
      CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
        EXPORTING
          iv_date             = mydate
        IMPORTING
          ev_month_begin_date = stdate
          ev_month_end_date   = enddate.
    ENDFORM.                    "getdt
    regards,
    amit m.

Maybe you are looking for