Skip to Content

Close date update in CRM Transaction

Hi All,

I am creating one transaction using CRM_ORDER_MAINTAIN.It has appointment dates ( Data of joining , close date ).

Close date is update with the current date but in the file it has old date .

This is occurring due to the condition in configuration as when ever the transaction is completed then change the close date as current date .

I am able to change the close date manually in the transaction but if the same I am updating through "CRM_APPT_MAINTAIN_MULTI_OW" close date is not update with old value .

Is there any procedure to overwrite the date in program . Could you please let me know .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 07, 2016 at 10:48 AM

    Hi SriHari,

    Can you please create a BADI implementation for CRM_APPOINTMENT_MERGE? Here you can overwrite the date calculated by system.

    Please let know in case you see any issue.


    Saurabh Kabra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 11, 2016 at 07:06 AM

    Hi SriHari,

    have you tried implementing your requirement using BOL IMO it is the easier to use API (cf. BOL or Function Modules - Which API to use in CRM Development?).


    Add a comment
    10|10000 characters needed characters exceeded

    • The BOL API is not going to fix this issue. Honestly this seems to be an issue with the date profile configuration rather than code. You have to change the configuration of the date profile in this case to remove the date rule if you are going to to run this in batch. It's next to impossible to code a workaround for this(I know I have tried).

      That being said if you need to leave the config in place you might be able to use a custom CRMV_EVENT handler to block the update but that's a bunch of magic that once again does not involve the BOL. Once again I personally think removing the rule from the date profile is the best path forward if you need to a do a mass update.

      I don't have access to SAP CRM system anymore otherwise I might be able to find a few more tricks in the date update logic.

      Take care,


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.