Rules for Date Determination in Sales Contracts

Hi everyone,
I have a need for an "enhanced" rule for date determination to be used in a contract profile for a sales contract.
In our current system (SAP ECC 6.0) only the following rules are possible to choose:
01 Today's date
02 Contract start date
04 Acceptance date
05 Installation date
06 Date contract signed
07 Billing date/Invoice date
08 CntrctStDate+contract duration
09 Contract end date
In supplement to these I would like to create
ZZ CntrctStDate+to year end
This rule should set the end date in the contract according to the following logic.
If the Contract start date is between YYYY-01-01 and YYYY-05-31 the Contract end date should be calculated to YYYY-12-31 in the current year. Else (if Contract start date is between YYYY-06-01 and YYYY-12-31) the Contract end date should be calculated to YYYY-12-31 in the following year.
I have searched the IMG and Development Workbench but I canu2019t find any place where it is possible to create own rules like the ones above (that is defined by SAP). Does anyone have a tip on how to proceed?
Best Regards
Patrik Bergströ

Hi everyone,
I have a need for an "enhanced" rule for date determination to be used in a contract profile for a sales contract.
In our current system (SAP ECC 6.0) only the following rules are possible to choose:
01 Today's date
02 Contract start date
04 Acceptance date
05 Installation date
06 Date contract signed
07 Billing date/Invoice date
08 CntrctStDate+contract duration
09 Contract end date
In supplement to these I would like to create
ZZ CntrctStDate+to year end
This rule should set the end date in the contract according to the following logic.
If the Contract start date is between YYYY-01-01 and YYYY-05-31 the Contract end date should be calculated to YYYY-12-31 in the current year. Else (if Contract start date is between YYYY-06-01 and YYYY-12-31) the Contract end date should be calculated to YYYY-12-31 in the following year.
I have searched the IMG and Development Workbench but I canu2019t find any place where it is possible to create own rules like the ones above (that is defined by SAP). Does anyone have a tip on how to proceed?
Best Regards
Patrik Bergströ

Similar Messages

  • User exits for route determination in Sales order & Deliver creation

    Hi Gurus,
    I need to do some change in the route determination for both sales order & Delivery creation.
    Can anyone suggest me which user exit I have to use.
    Appropriate answers will be awarded.

    Hi,
    You can use the following exit for route determination - EXIT_SAPL0VRF_001.
    The FM documentation is below. Check the functionality:
    "The customer exit can be used for customer-specific route determination or to modify the inbound data for the company's own route determination.
    The following data is transferred to support customer-specific route determination:
    I_VBAK current order header (for route determination in sales order)
    I_VBKD order business data (for route determination in sales order)
    I_VBAP current order item (for route determination in sales order)
    I_VBPA current sales partner
    I_LIKP current delivery header (for route determination in delivery)
    The following data can be modified and transferred back to the standard route determination or used for a specific route determination:
    C_ALAND Country of departure
    C_AZONE Departure zone
    C_LLAND Destination country
    C_LZONE Receiving zone
    C_VSBED Shipping condition
    C_TRAGR Transportation group
    C_GRULG Weight group
    C_FLAG_GEN_VT Flag: Route determination with generic shipping
    requirements/transportation group.
    C_FLAG_INCR_GRULG Flag: Increase weight group if no route
    If you want to use a standard route determination with different parameters, trigger the exception 'CONTINUE_WITH_STANDARD'.
    In the log table C_PROT, the log data from the customer-specific route determination can be transferred back. In this case, the log entries always refer to customer-specific messages. To add a message to the log table, the function module SD_ROUTE_DET_LOG can be used (see below).
    If a route is determined in the customer-specific route-determination, it can be transferred back in the E_ROUTE field. If no route was found, the exception 'NO_ROUTE_FOUND' is to be triggered."
    Thanks.

  • Material Availabilty Date Determination in Sales Order

    Hi Gurus,
    When creating the sales order, if stock is not available then how the material availability date is determined.
    What are the inputs the system consider for calculating the material availability date.
    Even though I am giving the total replenishment leadtime, Inhouse processing time(Lot size independent), GR processing time and even the planned delivery time, the system proposing the current date as material availability date irrespective of the sales order quantity.
    All responses will be rewarded suitably.
    Thanks and Regards,
    Jejesh.
    Edited by: jejesh yal on Sep 12, 2008 6:33 PM

    Available checking rule in SD.
    It depends on the Availability group you have maintained in material master.
    The checking rule specifies the scope of the availability check for the respective transactions in sales and distribution by specifying precisely which stocks, receipt and issue elements should be taken into account during the availability check.
    Every checking rule is allocated to a checking group: together these two elements determine the final inspection requirements. In addition, the checking rule includes a specification whether or not an availability check should take into account the replenishment lead time ( i.e. Total time for the in-house production or for the external procurement of a product. In in-house production the replenishment lead time is determined to cover all BOM levels.)
    Items for which the delivery date falls within the replenishment lead time, but for which there is no inventory, are confirmed for delivery after the replenishment lead time. In the case of items for which the delivery date falls after the end of the replenishment lead time, the system assumes that everything can be confirmed.
    If you want the system to check the replenishment lead time, you should make sure that you have entered a value in at least one of the following three fields in the material master:
    GR (goods receipt) processing time (Purchasing view)
    Planned delivery time (MRP I view)
    GR processing time (MRP II view)
    Otherwise, the system confirms every requirement.
    Ava checking group what you have maintained in material master and the checking rule  for SD (in std system is A)
    --combination of above will decide how the ava check to be carried out and decide the delivery date. This sitting is available in SPRO in OVZ9.
    If you carry out the availability check using the replenishment lead time, you should plan ahead in regular intervals (on a daily basis for individual and daily requirements, on a weekly basis for weekly requirements) to prevent a shortage and therefore a possible delivery block. This shortage could occur if the delivery date of a sales order, which was confirmed the previous day for the replenishment lead time, is already within the replenishment period on the current day and therefore results in a shortage.
    Hence,
    1. Check the configurations for the checking groups which are contained in the standard SAP R/3 System.
    2. Make sure that the checking group is maintained in the material master records. Depending on the plant, you can specify a checking group for each material type
    3. Select the individual stock elements as well as the receipts and issues which should be taken into account during the availability check.
    4. Select the field for replenishment lead time if you do NOT want to take the replenishment lead time into account.
    Depending on above setting delivery date will e determined or delivery block in case no qty available can be designed.

  • BADI for Partner Determination in Sales Order

    Hi Experts,
    Please guide me on this issue:
    Issue: When we create sales order in CRM..through org data profile...org entities will be derived automatically and based on this partners also determined.However my situation here is something differrent.We are maintaing one Z table for sales office and vendor number.Once ord data is derived in sales order,custom defined program should read sales office from org data and check the correspoding entry in z table,if its find match....put the entry as a partner function under partners tab.
    I am searching for BADI's which will trigger after the org data determination and populate the vendor number as a parner function under partner tab.
    I tried using all standard partner badi's and sales order badi's...but no luck.
    Please help.
    Thanks

    COM_PARTNER_BADI should help.
    We have successfully used method DETERMINATION_ADD_IN_3 to achieve something similar.
    Regards,
    Kaushal

  • BI Content Transformation Rule for Data Source 2LIS_03_BX

    Hi All,
    I am using BI content info cube 0RT_C54 for queries. I am uanble to find BI content transformation rules for the Data Source 2LIS_03_BX. In "Network Display of the data flow" I am able to see the transformation rules for this data source. How can I activate and use the same ?
    Regards,
    Rohit

    Hi ankit,
    Have u done all the mandatory settings before running setup for stock init.
    1. Determine industry sector.
    2. Maintainng process keys,
    3. Maintining Application Indicatore in BF11.
    Also activate other two ds - 2lis_03_bf & UM.
    Then try to fill again setup data.
    Hope this helps to u.
    Thanks
    Dipika

  • How to correctly set detection rules for date modified

    How are application detection rules for modified or created date calculated.  For example if I want the detection rule to use a file that was modified today or any day after today do I set it as Greater than or equal to or less then or equal to in
    the Detection rule?

    You would use Greater than Or Equal To. Greater than or equal to means that time or anything after. The latter would be that time or before
    Dustin Estes - MCP | www.dustinestes.com

  • How to evaluate workflow rule for agent determination

    Dear All:
    It seems there are several types of rules that can be used for agent determination. I am wondering how could I evaluate the rule in coding.
    I know for the rule described by a function module, it would be easy to evaluate it because you simply need to call the function module. However, for others, you might have to call the rule according to its definition. Is there a generic method/function to evaluate it?
    Thanks & Best Regards,
    Haifeng Hu

    Hello,
    fm RH_GET_ACTORS
    regards
    Rick Bakker
    hanabi technology

  • How do I apply rules for date to cell

    I use numbers 3.1. And I have trouble to apply a specific rule for a cell. I want to achieve an automatic fill in for a cell for todays date. So I open the filter on the right side of my document. I chose "date and time" and then I define the rule for its altering application for every week. I manage to go over the definition insofar as I choose "today" and the style "kursive". But I am unable to fill in this information into the cell. I hope I explained this function understandable for I am German and I use of course the German layout in Numbers. ( I could not find a german speaking platform for my problem ). Can someone help?

    Courtesy of Google Translate
    Dear sorole,
    Typing the date:
    <image>
    Typing "="  shows the Function Browser:
    <image>
    Regards,
    Ian.
    Mit freundlicher Genehmigung von Google Translate
    Sehr geehrte sorole,
    Die Eingabe des Datums:
    Die Eingabe von "=" zeigt der Funktionsübersicht:
    Grüße,
    Ian.

  • Profile rule for Date

    Hi,
    I need to execute a profile rule.
    My requirement is - a new field "Created date time" date type which should always show the date time it was initially created.
    I have put in a rule as
    <$ifparseDate(#active.xCreatedateTime) IS NULL$>
         <$dprDerivedValue=#active.dlndate$>
    <$endif$> "
    but nothing comes on teh Content Information page.
    I even tried giving it a default value as dlndate but get eror that it is not able to parse teh date.
    "<$parseDate(#active.dlnDate)$>"
    Kindly help.
    Regards
    Shashwat

    Odd. Mine works perfectly, once you fix the code syntax issues. "IS NULL" is not a valid IdocScript construct, and dIndate is not a valid field name (try "dInDate"). Don't use dInDate for this situation anyway. That's not the "creation date" -- dCreateDate is the system "creation" date.
    If the target field name is "xCreatedateTime"
    <$if not #active.xCreatedateTime$>
    <$dprDerivedValue=#active.dCreateDate$>
    <$endif$>
    Verify that your custom field name is actually called "xCreatedateTime". Field names are case-sensitive.
    The actual utility of this particular custom field is questionable. It makes more sense to write a customization that just shows the value for dCreateDate. Why put the same data in multiple fields?

  • COLLECT statement in start routine of update rules for data coming from R/3

    Hi,
    I have more than one record with the same key combination that comes from R/3. I have a condition wherein I write into an error log. Hence I want only ione entry to be written into a error log and not multiple instances.
    I had written a similar one for ODS.
    Loop at IT_ODS into WA_ODS.
    Collect WA_ODS into IT_SUM.
    How to collect data that is coming in from R/3. Any inputs?

    Hi,
    I think, by using ATEND you can acheive control break logic.
    Regards,
    -Vj

  • Start routine in Transfer Rules for Data Mart update

    Hi,
    Is it possible to create a start routine in a transfer rule of a Datamart update (from ODS to Cube)?
    Thxs.
    LauQ

    Roberto,
    If I read well the content of note 499404 - referred to in 630854 - I conclude that it is recommended to use update rules rather than transfer rules in the case of ODS objects when one wishes to modify data records up to the eventual data target.
    Do you agree?
    Thxs.
    LauQ

  • Filters and rules for Data Synchronizer

    Unfortunately or luckily our datasync server is positioned in the internal
    network. The main reason is the archiving solution for groupwise mail which
    uses a special connector on the datasync server to capture all email for
    specific mailboxes. So the entire mailflow can remain in our internal
    network and is not transferd out in the DMZ.
    But for few devices (like iPhone, iPad or smartphones with Android) with active
    sync protocol I want to sync the groupwise email, appointment and contacts
    to that devices.
    My problem, however is that the mobile devices want to use a secure connection on port 443 to get over 2 Bordermanager 3.9 SP2 servers.
    I did́ t find any examples on filters and rules in the documentation to
    do this.
    My idea is to use a nated public ip adress on the outer BM-server and
    acceleration on the inner BM-server.
    Maybe I am wrong and there are or is a better solutions.
    It would be great, if there is anyone who can help me with this problem
    Best regards

    jeep,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Partner redetermination in CRM for the replicated Sales contract from ECC

    Hello Friends,
    We are facing a typical issue, Our sales process is, we are creating Sales contract in ECC and replicating it in CRM. Problem area is we want to determine the Employee with the Territory ID in the CRM. Issue is the User will not be aware, who is the Employee responsible for the particular Sold to Party at the time of creation in ECC.
    Config details:
    1. Partner function related to Contracts are
        Sold to Party
        Ship to Party
        Bill to
        Payer
        Employee Responsible
        Employee _ Territory
    2. Sales Contract is created in ECC and replicates in to CRM
    3. Created Z partrner function for Employee_Territory and access seq assigned is 0030:Preeceding docyment>Territory>User
    4. All the Partner function in ECC are determined through the Source as Sold to, except Employee_Terrritory, which is manual
    5. Partner function value is manually maintained for Employee_territory in ECC sales contract
    6. When replicated to CRM, I want this Employee_Territory to be redetermined based on the Territory attributes like Business partner Zip code
    Kindly let me know, how to achieve it through configuration or if there is any BADI which requires minimum development.
    Thanks,
    Anup Bansal

    Hey!
    You can use badi COM_PARTNER_DETERM to determine partnter function based on Determination Sources.
    You might also use user-defined callback function to realize your business requirement based on event handle technology.

  • What is data determination in access?

    hi gurus,
    what is data determination in access? what are the docs not in pricing that was mentioned in its definition?
    thanks,
    paul

    hi,
    Data determination requires a structure in which the data determined can be stored and accessed from pricing. Communication structure KOMPAZD is provided for this purpose.
    The standard system provides the following fields in this structure:
    Price list type
    Exclusion indicator
    Communication structure KOMPAZD can be extended in the same way as communication structures KOMKAZ and KOMPAZ.
    This is described in SD Customizing under:
    Sales and Distribution ® System Modification ® Create new fields (using condition technique) ® New fields for pricing
    Prerequisites:
    Data determination in the access for pricing takes place at field level. A field is selected for this. It is used for data determination, not pricing. This is carried out as follows:
    When maintaining a condition table, you can choose a field from the key in the Technical Settings field. It is then designated as a data field and is automatically indicated with C in the access in Customizing for access sequences. This is only possible when it is created. If you want to change existing condition tables, you must delete them and then recreate them.
    Link
    regards
    sadhu kishore

  • What are the two different rules for organizational data determination

    What are the two different rules for organizational data determination???

    Hi
    1) Rule type Responsibilities
    want to determine organizational data for individual responsibilities
    have not created an organizational model but want to create one
    have a lot of organizational units and must only assign a few attributes
    2) Rule type Organizational Model
    You would use rule resolution using organizational model if you
    have created an organizational model or have distributed a plan to SAP CRM and also want to use this for determining organizational data
    assign a lot of attributes to the organizational units and these are to be evaluated
    Regards
    Manohar

Maybe you are looking for

  • Delta on BSEG-ZUONR

    Hi All, SAP offers the field BSEG-ZUONR in the extractor 0FI_GL_4. However the delta-mechanism does not work for this field. Am I doing something wroin? Is this a bug and has anyone experience with this? Or a workaround? Any help is appreciated. Rega

  • Best Mouse for 10.4, 10.3.7...?

    And not the Mighty Mouse. I'm looking for something with at least two buttons and a scroll wheel that works well under 10.4 and also must work under 10.3.7. Anyone have any suggestions? All My Best, Jeffrey

  • Eclipse 3.7.2 and Oracle Enterprise Pack

    Since Eclipse-Update from Version 3.7.1 to 3.7.2 the version from "org.eclipse.wst.server.ui"-bundle has increased to 1.3.0.xxx. By the way this is a update of a major-release-version with incompatible changes in a minor-release of Eclipse. The newes

  • PC does not recognize WRTG54G?

    Hello, Just got a ''new'' laptop (Fujitsu Siemens AMILO, Vista  with Atheros AR5007EG Wireless Network Adapter.) It recognizes different wireless networks in my area, but very often not my own network router? With my office IBM laptop (XP OS) the net

  • WRT600N QoS Settings

    Can someone please explain to me how do I set up QoS on my new WRT600N router? I am quite new at this and not sure what is the best way to configure the QoS on my router to meet my requirements. I am constantly downloading from the newsgroups from my