Date type based on status change

Dear All,
I'm now working with CRM 5.0. I would like to know if it's possible to have a date type which is based on the change of a user status/system status.
What I mean is, for example; when a incident message is created. And later on someone change the status to "completed". The date type " completed date" should fill in the date and time of the moment the status is changed to completed.
I believe to achieve this I need a date rule. Does anyone know if there are any SAP standaard date rule similair to this scenario? or a new date rule need to be created. And if so, how?
Any suggestion or feedback is greatly appriciated. Thanks in advance.
Kind regards,
Anthony T.C Lim

Hi!!
That is very much possible.
In brief.
U need to implement a method call in action. Schedule condition for the same should be on status 'Complete'.
In the method you should use FM CRM_ORDER_MAINTAIN to update the date as required in the import parameter 'IT_APPOINTMENT'.
Best Regards,
Pratik Patel
<b>Reward with Points!</b>

Similar Messages

  • Target Site Column Data Type are Undefined Status

    Hi,
    When I created the mapping,there was a error about data type. Data types of columns were not changed, and datatypes status are undefined.
    I take this error as below;
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: The source datatype is null for the column: <ColumnName>, and the technology: Hyperion Planinng
    ODI 10.1.3.5
    SQL Server 2005
    Hyperion Planning 11
    How can I changed the datatypes? Is there a problem with hyperion planning site? How can assign the data types?
    thanks.

    First of all the error you posted
    "The source datatype is null for the column: <ColumnName>, and the technology: Hyperion Planinng"
    Which points to Hyperion planning....
    Anyway, if as you say it is file to SQL Server, check the DataStore for the reversed SQL server table, check the columns have a Type assigned to them
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Update Date types based on actions

    Hi Gurus,
    I have a requirement to update date types within a date profile based on a certain action condition.
    I have 3 date types:
    Downtime Start
    Downtime End
    Total Downtime Duration
    The priorities in my transaction have, x, y, z for example and x is default.
    Upon selecting y, the system should take into consideration the timestamp of this change and update the Downtime Start... The moment the priority is changed to anything other than "y", it should take this timestamp and update "downtime end".
    The difference between these two times would be the third date type.
    Any ideas how to proceed?
    Regards,
    Ash

    Hi
    Please post DDL+DML next time :-)
    -- This is the DDL! create the database structure
    create table DateRange(
    StartDate DATE,
    FinishDate DATE,
    Condition BIT
    GO
    create table Calendar(
    CalendarDate DATE,
    IsParental BIT
    GO
    -- This is the DML (insert some sample data)
    insert DateRange
    values
    ('2014-01-02', '2014-01-03', 1),
    ('2014-01-03', '2014-01-13', 0),
    ('2014-01-13', '2014-01-14', 1)
    GO
    insert Calendar(CalendarDate)
    values
    ('2014-01-01'),
    ('2014-01-02'),
    ('2014-01-03'),
    ('2014-01-04'),
    ('2014-01-05'),
    ('2014-01-06'),
    ('2014-01-07'),
    ('2014-01-08'),
    ('2014-01-09'),
    ('2014-01-10')
    select * from DateRange
    select * from Calendar
    GO
    -- This is the solution
    select CalendarDate
    from Calendar C
    where EXISTS (
    select C.CalendarDate
    FROM DateRange D
    where C.CalendarDate between D.StartDate and D.FinishDate and D.Condition = 1
    UPDATE Calendar
    SET IsParental = 1
    from Calendar C
    where EXISTS (
    select C.CalendarDate
    FROM DateRange D
    where C.CalendarDate between D.StartDate and D.FinishDate and D.Condition = 1
    [Personal Site] [Blog] [Facebook]

  • Read Master Data for Process order status change (REL to CRTD)

    I am unable to read master data and thus change the status of process order from REL to CRTD. (COR2)
    The reason it says, error in BOM reading, Transport Requirement (TR) already generated.
    Even after deleting the TR (LB02), the issue still exists.
    Is there another way of changing the status or some more steps are needed for the TR deletion?
    Thnx!
    Abhi.

    Order header Status-
    REL  Released
    MSPT Material shortage
    PRT  Printed
    PRC  Pre-costed
    BASC Batch assignment complete
    BCRQ Order to be handled in batches
    SETC Settlement rule create.
    In the error log it gives-
    Diagnosis
    Transfer requirements have already been generated, so therefore the bill of material cannot be read.
    System Response
    The system does not execute the action.
    Then I deleted the TR (LB02), but still I cannot reread the master data.
    The MSPT was for only 2 materials out of 6 and there is no GMPS status.
    There is prod supply area and control cycle used.
    and the TR generated at order release.

  • How to dynamic set messageInputText item data type?

    Hi,
    I have a LOV and other messageInputText items on the page. I need to be able to change the messageInputText item data type based on the value selected from LOV. How can I do that?
    DD

    1)Allow PPR on the item that receives the LOV values
    2)Edit the VO query and create a SQL based column, which in turn will control the switcher. Something like –
    decode(nvl(to_char(EmployeeEO.END_DATE), 'N'), 'N', 'DataType1', 'DataType2') AS DELETE_SWITCHER
    3)Now add a switcher region with two cases in your page. Each case should represent the two possible values defined in the SQL based column ( “DataType1”, DataType2” in the above example).
    4)Add two messageTextInput items under each case, but with different datatypes.

  • Data types in pi 7.1

    Hi,
    when do you use core, free and aggregated data types?
    Thanks in advance
    regards,
    Ramya Shenoy

    This may help you,
    Introduction
    SAP delivers descriptions of Global Data Types (GDTs) as Enterprise Services Repository (ESR) content to customers. Customers can create their own data types in the ES Repository and use SAP GDTs.
    u2022
    Two ways of modeling data types are supported: Classical XSD style and new CCTS (Core Component Technical Specification) style.
    u2022
    Data types are classified as free-style (classical), core (atoms of CCTS modeling), or aggregate (complex CCTS)
    u2022
    Standard fault data types are no longer created automatically for every namespace (only when fault message type is created).
    u2022
    Additional functions in data type editor provide better support for structural changes (e.g., moving subtrees).
    More Information:
    SAP Help Portal: Global Data Types
    According to this, we distinguish between SAP Core Data Type and SAP Global Data Type. The SAP Core Data Type as well as the W3C Type (XSD type) does not have any business semantics. The SAP GDT has business semantics, it actually can be based on either a core or an aggregated DT.
    Free-style data types are directly based on the primitive data types, e.g., xsd:decimal. They do not need any further parameters to define themselves.
    More Information:
    u2022
    SAP Help Portal: Core Data Types and Aggregated Data Types Recommendation
    When to use free, core and aggregated data types
    Core data types are based on CCTS specification. Aggregated data types have business semantics, are based on CDTs, and are the basis for application-specific data types SAP-wide.
    Customers who adhere to the CCTS specification or have business scenarios dealing with SAP backend systems, should try and reuse the existing core and aggregated data types delivered by SAP. However, customers who wish to use their own schema for defining the data types, free-style data type is the preferred approach.
    While transferring the business scenarios from XI 3.0/PI 7.0 to PI 7.1, all the data types in the design objects will be transferred as free-style data types by default.
    While creating new objects in PI 7.1x, it is recommended to reuse the core and aggregated global data types provided by SAP.
    The detailed list of SAP delivered data types is available on SAP Developer Network (SDN) at ES Workplace.
    https://www.sdn.sap.com/irj/sdn/esworkplace
    Core data types
    Core data types are based on representation terms which are ISO 15000 5 (ebCCTS) compliant.
    SAP delivers core data types with the same name as representation terms. Applying the standard methodology simplifies the implementation of cross-company processes.
    CDTs are intermediate data types, and are a level above primitive data types like decimal, string, etc. They are defined by representation terms such as Amount, Identifier, etc. They are themselves not yet application-specific and are therefore referred to as context-free.
    While creating core data type based on any given representation term, we get an option to either use a default XSD type or reuse an existing core data types.
    For using the standard XSD types we select Type as u2018XSD Typeu2019
    For reusing already existing core data type we select Type as u2018Data Typeu2019 Prerequisite
    Define a dependency on the SWC SAP Global to reuse any of the standard core data types shipped by SAP.
    xample

  • Not able to see Enhanced Data type in SPROXY in SRM

    Hello Experts,
    We are planning to use an outbound (SRM to PI) Proxy between SRM and PI to send XML messages. Our SRM team has requested a Datatype enhancement of SAP's predelivered SCV, SAP SRM SERVER 7.0 component i.e. RFQRequest. So, In ESR we have created a new Enhanced data type based on RFQMessage (SAP's pre delivered datatype). I've added their (SRM team's) 6 extra elements to this new Enhanced Data Type, RFQMessageExtension. And, saved and activated it.
    Now, to generate the Proxy I went into SRM -> SPROXY, but I donu2019t see my Enhanced Datatype, RFQMessageExtension. Please let me if you've come across this problem or know the solution. I was following this blog [/people/michal.krawczyk2/blog/2006/11/14/xipi-data-type-enhancements-standard-business-partner|/people/michal.krawczyk2/blog/2006/11/14/xipi-data-type-enhancements-standard-business-partner]
    Thanks,
    Mayur

    Hi Mayur,
       Have you read this article?
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0bb5687-00b2-2a10-ed8f-c9af69942e5d
    Regards,
    Ravi kanth talagana

  • Error While creating Data type from a XSD

    Hi,
    I am trying to import a XSD into my Data type. I have changed the namespace in the XSD to match that of the target namespace. I am getting the following error.
    Global definition Element: http://ls.sbc.com/OMS/ProcessSalesOrderEFE004,   orderRequest in the schema to be edited will be ignored 
    Schema to be edited defines qualified element names (elementFormDefault = 'qualified')
    Could any help me out in this regard. I don't have much knowledge about XML and XSD.
    Regards,
    Ravikanth

    Hi Ravi,
    please check once again your XSD file.
    it should be like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, " targetNamespace="http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, ">
         <xsd:complexType name="DTO_Data type">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   725b8b10c99e11dc8ff3001cc43a8a68
                   </xsd:appinfo>
    Please check the name of  data type u mentioned in XSD  while imporitng.
    regards
    mahesh..

  • Data type of the base attribute or the base value does not match...

    ...the assigned expression.
    Hello all,
    I always get the Error
    +<ERROR+
    TEXT="'DWH.CUB_REGISTRATIONS_AW.REGISTRATIONS': XOQ-02517: Der Datentyp des Basisattributs oder der Basisgröße stimmt nicht mit dem zugeordneten Ausdruck überein.
    XOQ-01400: Ungültige Metadatenobjekte"/>
    The English message must be something like this:
    The data type of the base attribute or the base value does not match the assigned expression.
    when I run my mapping. The attribute REGISTRATIONS is NUMERIC (12,2) in the Cube and I map a NUMERIC(12,2) constant in it.
    I use a simple OWB-Mapping for loading, but I don't understand why it doesn't function. Other mappings where the attributes are out of a
    table I put in a cube are running well.
    I tried different things, but nothing fixed my problem. Any idea ?
    Thanks a lot for help
    Michael

    Technically this is a 'warning' from the server, not an 'error'. This means that the change you made should have been submitted, but you get an warning message on the client. AWM would suppress this warning, but evidently OWB does not. Can you switch to use AWM?
    Here is the definition of the warning along with 'cause' and 'action' sections. (Unfortunately these sections are not translated into German for some reason.)
    >
    02517, 0, "The data type \"%(1)s\" of the base attribute or base measure is different from the mapped expression \"%(2)s\"."
    // *Cause: Either the base attribute or base measure with the mapped expression was set to an inconsistent data type, or it was mapped to an expression of a different data type from its fixed data type.
    // *Action: When changing a mapped expression for a base attribute or base measure, ensure that the expression has the same data type; otherwise, set the data type of the base attribute or base measure to NULL first. When a base attribute or a base measure has an existing mapped expression, do not set it to a different data type.
    >
    It is probably safe to ignore this warning, but if you can post the relevant XML for the cube, then will probably be able to spot the problem. I assume that REGISTRATIONS is a measure in the cube CUB_REGISTRATIONS_AW, so this is what you can look for in the XML:
    (1) The definition of the base measure along with the datatype. It should be something like this
    <Measure>
      <BaseMeasure
        SQLDataType="NUMBER(12,2)"
        ETMeasureColumnName="REGISTRATIONS"
        Name="REGISTRATIONS">(2) The mapping info for the measure, which should looks something like this:
    <MeasureMap
      Name="REGISTRATIONS"
      Expression="...">
      <Measure Name="REGISTRATIONS"/>
    </MeasureMap>I don't know if you can get the XML directly from OWB. If not, then DBMS_CUBE.EXPORT_XML should work (assuming you are in 11.2). You could also attach AWM and save the cube to an XML template.

  • Data type & length in SAP side!!

    Hi all,
    i am working in a R/3 -legacy scenario.
    In R/3 side there exist one table called YMD_ARTICLE...
    now i have to make data type based on the 7 fields of that table YMD_ARTICLE..
    and I have given the field name + type(vachar,timestamp,smaal int..etc..)+filed length....in the data type template...
    Now my question is...wat should i give in type ...for the field...
    i min can i use "xsd:string" for every field..... irespective of what given in the template....
    Do we need to declare the lenght,type...for fileds of a DATA TYPE in XI...
    if the DATA type is already there in the R/3 side.....
    Can any one explain me......
    thanks....

    hi,
    >>> i min can i use "xsd:string" for every field..... irespective of what given in the template....
    string can be used to handle other datatypes as well...but try using the same data type as in R/3...
    when u know e.g the value can only be integer then use data type integer... this will also not allow values other than integer to pass...
    hope it helps,
    regards,
    latika.

  • Reference data types in interface objects?

    How do you create reference data type based on data type in interface object??

    First create the reference DT1 in IR then create a new data type DT2 and if you want to create a reference to DT1 then in  the editor select Type (3rd coloum) as the DT1 which you can get by double click on Type and then you select "search help" and select DT1 from the list.
    Cheer's

  • Exit for CJ20N where system status changes can be captured

    Hi Experts,
    I need exit for CJ20N where system status changes can be captured
    for both the below cases
    1) When WBS Element is having Networks inside it
    2) when WBS Element is having no networks inside it
    EXIT_SAPLCOBT_001  --->>>   ZXCO1U01  , will work for 1) , but not for 2)
    i want an exit where status change gets captured for both cases 1 and 2 and
    will do further processing according to client needs based on status change
    Need to trigger IDOC on status change of  WBS element.
    If WBS is having network inside it  , then network status changes also with WBS status change
    and IDOC should trigger for WBS also.
    I just want suitable exit  / place for coding . Rest i can do.
    if no suitable exit / BADI , then what is the best possible place where i can go for Implicit Enhancement
    Best Regards,
    Gaurav
    Edited by: TheGaurav on Oct 25, 2011 7:08 AM
    Edited by: TheGaurav on Oct 25, 2011 7:12 AM

    I am kind of stuck in a similar issue. I need to perform custom validations on standard fields which cannot be done through OPSI or OPUC transactions. 0007 or 0002 User exits seem to assist on custom field creations/validations. However, I do see people posting the following BADIs which may be useful.
    CO_SRULE_CHECK
    PROJECTDEF_UPDATE
    WORKBREAKDOWN_UPDATE (which you already tried)
    WBS_FIELDS_FOR_ASSET
    CO_SRULE_CDOC
    Let me know if any of these worked out...
    AN

  • Can we change the data type of a field based on the value of the field

    HI Gurus,
    My Requirement is as below -- Could you please guide me
    in the Printable Adobe form -- for ex - as usual for dates fields in the Object Pallette the object type is a date/time field  and for quantity/currency fields corresponding fields are taken
    now in case the either the date, quantity or currency is initial in place of displaying 0.00 or empty date we need to display N/A (Not Applicable)
    for this I would like to change the data type of the field
    to put it simply --
    we need to change the data type of date field from DATE&TIME to Char type to hold N/A or  Quantity field to Char field to hold N/A
    how can we realize this in SAP adobe forms
    Thanks in Advace
    Ramchander Rao.K

    Hello Ramchander,
         You cannot change the data type of the field at run time in Adobe forms because the type of field you choose at the time of design level is associated with the data type itself.
    If you want to achieve your requirement, then your main idea should be to set the data type as CHARACTER itself while designing the field in the adobe form itself. CHAR field will comfortably hold the value of Calculation/amount field, Currency field, Amount, Date, Time HHMMSS, Unit Accuracy, Currency key, Floating point number, Numeric text, Client, Language and many other data types.
    After designing the field as TEXT field in Adobe form you have two options.
    Option 1:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms.
    Suppose the name of the field is TEXTFIELD1, then write the Javascript code on this field in Initialize event as below.
    if ( this.rawvalue == null )
         this.rawvalue = "N/A";
    If the field is not blank, then it will show the date. Else it will show "N/A".
    Option 2:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms. Do the formatting part in ABAP itself. It will increase the performance. Avoid Javascript as much as possible.
    Suppose you have a DATE variable l_dats of type DATS. Then take another variable l_date of type CHAR. Then write the below ABAP code.
    MOVE l_dats TO l_date.
    IF l_date IS INITIAL.
         l_date = 'N/A'.
    ENDIF.
    Bind the l_date to the TEXT field in the form.
    Even in this case, if the field is not blank, then it will show the date. Else it will show "N/A".
    But I will suggest you to use Option 2 of keeping the AMOUNT, QUANTITY, DATE, TIME fields etc as CHAR or TEXT fields in Adobe form and do the required formatting in ABAP itself.

  • How to change the data type of an item in administrator

    Hi,
    A summary folder was created. One of the item in the summary folder is a sum. That sum item was created in the business area (based on another item). I can't refresh that summary folder because it gives me an oracle error (Ora-12008 and Ora-01401 the value is too large for the column). The column that this item is based on is of data type Number(13). How can I fix this problem without changing the column's data type of the original table? I already tried altering the data type in the EUL table via TOAD.
    Thanks!

    You really don't need to sum the item before hand if you are going to create a summary!

  • Process flow for the Mid-year Status Changes based upon the Qualifying Even

    Hi Experts,
    I'm looking some information for the process flow for the Mid-year Status Changes based upon the Qualifying Events. Basically, I need to know, what would be the impact of these changes on various info types (Via IT0014 - Deduction changes & so forth) and the things that needs to be considered during it's Configuration and the things that needs to be checked due to the occurrence of the change. I would greatly appreciate any kind of help/document.
    Thanks a bunch in advance,
    Thanks,
    Exertive.

    Hello guys,
    Can anyone has any kind of input on this? Basically, I need to know the procees for Mid-year status changes based upon Qualified events. Any kind of help is greatly appreciated.
    Thanks,
    Exertive.

Maybe you are looking for

  • Apple dvd player / external dvd drive issue

    i recently bought a LaCie d2 external dvd drive, since my desktop g4 only has an internal cdr drive. I am running osx 10.4.3, which i installed through this dvd drive. yet now, when i put a DVD movie into the drive and try to open Apple DVD Player, i

  • Center the cursor on the Waveform Graph?

    I have a waveform graph where the user can adjust the scale on both the X and Y axes.  The "problem" that I am having is that if the scale's range is set too far from where the cursor is at, the cursor will be off screen and not selectable.  So, I am

  • Where does SSO information gets stored in Apps 11i

    Hi, I installed Oracle Apps 11.5.10.2. This has been further integrated with Oracle Single Sign On server (Oracle iAS 10.1.2.0.2). Does any one know where does the SSO infrormation gets stored in Apps, i.e. is there any table which stores these detai

  • 6021 and pcsuite in vista

    Hi,    Does the pcsuite connection work reasonably reliably with the 6021 and Vista (with latest pcsuite)? I do not need to use the "synch" feature, just want to access SMS messages, contacts and calender via pcsuite. I might buy a 6021 used. Thanks

  • Installation hangs on a Asus P8P67 board

    Hi, I am using ARCH_201108 image and install from a USB stick. However after booting and select to install, the installation hangs at the same place every time: :: Mounted archiso volume successfully. :: Mounting /cowspace (tmpfs) filesystem, size=75