Activity Completed Date

Hi,
On activity entity, i want to capture completed date and store it in indexed date field. also, when completed date is modified, i want same value to get updated in indexed date field. For this, i thought of doing predefault value on indexed field and workflow, but, at neither place i see, completed date available for manipulation. At field predefault level, i tired various Completed_Datetime, Completed_Datetime_ITG, Completed_DateTime, Completed_DateTime_ITAG, CompletedDatetime etc. but none of these work.
Can anybody please suggest workaround to achieve the above.
Thanks

Hi Juno,
Thanks for replying. I want to put completed date into another field, upon activity creation. I dfon't worry about casting datetime to date. I want to do predefault value [<Completed_Datetime>] But i am not getting ITAG afor completed date. If anybody has ITAG for defaulting field with completed date, it would be great.
Thanks

Similar Messages

  • Fields "Completed" and "Completed Date" not available in Activity WSDL

    Hello All,
    We dont find the fields "Completed" and "Completed Date'" in Generic / Custom WSDL provided by OnDemand
    Any idea on the reasons? Any suggestions / workaround to query the above fields using Webservices?
    We tried guessing the integration tags as "Completed" and "CompletedDate" but it throws error
    Thanks for your help
    Regards,
    Venkatesan
    CRMIT

    I'm trying to WebService a large amount of activities from another system that we are converting to OnDemand. I would also like to update the completed date to match the date from the original system. I cannot find anyway to do this either.
    Has anybody else?
    I understand why they might not want you to update it via the UI, but via a WS it should be available. UGH !!!
    Thanks ...

  • How to get the FA completion date?

    Hello,
    What is the correct way (from screen or backend) to find the date/time on which field activity was completed? I want the completion date, not the scheduled date (ci_fa.sched_dttm).
    Thanks in advance.

    If you look at the FA Upload Staging table (CI_FA_STAGE_UP), there is a WORK_DTTM field, which is the date the work was completed, if that is the date that you want.
    If the date that you want is however the date that the status was changed to "Completed" in the system, then this is not shown anywhere, unless you have an algorithm to log status changes, like the example FWFM-FA-INT, which is used in the case of integration with another system to send outgoing messages for status change - this algorithm also has an option to add log entries to the Field Activity.

  • GP SP6: Find completion date of a process instance

    Hi all,
       We are using GP SP6. We want to find out the actual completion date of a particular process instance. Something like <i>getActualEndDate()</i> that's available in SP7.
       Is there a way to do this?
    Regards,
    Satyajit.

    Hi Satyajit,
    You can implement it in the following way:
    <code>
    InitialContext context = new InitialContext() ;
    IReportingFactory reportingFactory = (IReportingFactory)context.lookup("/sap.com/com.sap.nw.eu.gp/ReportingFactory") ;
    IBlockReporting reporting = reportingFactory.getBlockReporting(processId, processId, currentUser);
    java.util.Date actualEndDate = reporting.getActualEndDate() ;
    </code>
    If process is running or active the end date is null.
    As I remember it works correctly for completed processes. For cancelled processes it return null too.
    DC: cafeugp~model
    PP: process
    Best regards,
    Aliaksei

  • EWA Report Issue: No complete data is populated in EWA report

    Hi All,
    I am facing a problem where in, the generated EWA  report for our XI system is not poplated with the complete data. This problem is there from past 2 months and before that this EWA report for XI system was duly generated with full and correct data.
    There has been no changes in the recent time and all of a sudden this problem erupt. May any one help me in diagnosing this problem and solving it? Help is greatly appreciated.
    Should there be any queries, please do ask me.
    Waiting for your kind replies.
    Regards,
    Faisal

    Hi Faisal,
    Last time I asked you if the Red flag was gone.
    You are saying the ABAP data is missing.
    This would mean there is a Rated EWA report missing the ABAP instance data.
    Does this mean it is a dual stack and the Java data is present.
    EWA is a pretty straight forward process, so if you follwo the process, you can usually narrow down where the problem has occurred.
    If ABAP data is missing in a generated EWA report, the first place to look for that missing data is in the service session.
    You can view the service session by clicking the eye glasses under tha activity column in DSWP, or entering the session number in transaction DSA. If the data is mssing, then it never got to solution manger from the managed system, so you would then check the RFC functions and the RFC user has a valid logon, THere would be no point checking SM:EXEC:SERRVICES, or authorizations if the data is not int he service session.
    If the data is in the service session and is missing, then it would be in the processing of the session into a Word ot HTML document, not the processing of the service session, because it would be processed and rated already by SM:EXEC SERVICES..
    I had explained that you create an EWA and it is scheduled in DSWP > Solution Monitoring > Earlywatch Alert
    it creates a service session, with a number and a tree. This is determined by the defintions in SMSY and the mapping to the DMD. It is scheduled for a date and time. On the managed system via RFC throught the maintenance package task in SDCCN or perhaps a scheduled refresh session taask, runs and via RFC to SOlman, logs on with the RFC use (SM*_BACK) and gets the
    session numbers of unprocessed servies sessions for that SID. If it can't open the service session, it will just find not sessions to refresh. If it can, then an EWA task is created that will prepare a transport with the collected data. So if the collectors have issues, data won't be available. ST-A/PI and ST-PI are involved on colelction of data and preparation for transport on managed systems. But there is also SAPOSCOL and ST03 and ST06 that need to be checked. The SDCCN EWA task log. Then it sends the data back to Solman via the RFC and either the single Flask or the red flag will then turn to 2 flasks indicating the data is ready to be processed by SM:EXEC SERVICES. SM:EXEC SERVICES processes the session, populates it, and rates it.
    Then you can look at the session in DSA o DSWP, you can geerate the report in Word or HTML.
    So this is the process.flow overview. And it helps to know where it gets to in the flow to determine where something went missing or if it was ever there at all.SM:EXEC SERVICES doesn't colelc the data. So if it processes a service session the user had the authorizations. If the data is not int he service session its because it was never passed to Solution manage.
    Iif the data is in thd service session, but missing from the report, then the issue is likely with ST-SER, or perhaps SCU.update has not been applied.
    I suspect that the data is not in the service session and you are still having issues. Is the EWA still red flagged? Yes or No?
    If yes, then you still have an issue where no ABAP data was sent via SDCCN to Solman. If no, then likely there is an issue with
    collection, where data is being sent, but some data is missing, and this could be due to errors that have not been addressed in the SDCCN task logs. Or it could be problems wit SDCCN service definitions, and may need to be replaced.
    I hope tis helps.
    Regards,
    Paul

  • Reporting on SR Owner Change, Activity Due Date Change

    We have few Report Requirements around Audit Trail. We are looking for Reports where we could Track Service Request Owner change, SR Status Change, Activity Due Date Change etc. As we know, In CRMOD Analytics, we cannot report on Audit Trail or use the PRE() function. Can anybody suggest any other ways for reporting on the Changes where we could show each and every change made to these fields and not only the previous values.

    Lets Say you want to track status Change in SR. There are two ways of doing it.
    Option 1:
    Create a Long text field in SR page.
    Name it "Track Status Change". Do not Display the field to the users.
    Default the Field to Initial Status+","+Now().
    When the Status Changes, you need to append the field with "Current Status"+","+Now()+";"
    The Semi Colon is delimiter to show that this is the new status. This delimiter would be used in the report to seperate the status. You can achieve this using the reporting functionalities.
    The down side of this is that it can affect the performance of report since lot of Sting functionalities would be used for the tracking.
    Option 2
    Whenever the status changes, create a completed task. Populate the Subject of the task with the Status. Put a workflow/field validation so that no one edits the subject when the task is created automatically.
    You can run a report on the Task Created Date and Subject to get the Audit Trail.
    Let me know if this helps.
    Paul Swarnapandian.

  • Error while Activating DSO Data

    Hello
    I am having a problem, I am getting an Error while activating DSO Data, Data is loaded in DSO succefully but can not be activated with this error
    "Activation of M records from DataStore object 0FIAR_O03 terminated"
    Thanks

    Hi,
    The activation would have failed due to varies reasons..
    It would be a short dump,check in ST22.
    check the job log in SM37 for better understanding of the issue.
    Have you loaded the respective master data?
    if it is a transaction data load,then the SID is checked at the time of activation and not during loading.
    So if the master data is not loaded then the activation would fail.
    It can also be due to the system performance at that moment.
    Even if the data volume is huge ,there are chances of the activation failing..
    Try repeating the activation once again.it might succeed..
    Else check the logs to understand the actual issue.

  • Not able to get complete data in Heading of the smarform

    Dear Friends,
                    I am devloping a smartform for my requiremnt, i am not able to get complete data jin Header Window ( i.e the Title Name of the company is not getting fully) when i execute the Smartform ,
    Iam able to see only the last few words of the Text. Please help me what i should do in this regard
    regards
    madhuri

    Hi
    Also, check where the window is placed in the Form Painter...may be it is not on the page properly..and also check the size of the window..
    Further, check the paragraph format that is used.
    Regards,
    Vishwa.
    Edited by: Vishwa Sri Hari on Oct 15, 2008 1:21 PM

  • Complete data not getting returned when running IIS (v7.5) commands remotely.

    Hello All,
    I searched quite a number of forums before posting and all that I have come to know is that some have mentioned it to be related to COM. I do not have experience dealing with COM and no idea how I can sort this out. I hope someone can provide guidance on
    these:
    Question 1: Server (2008 R2 Standard) is having 4 websites. Default - Running, WS2 - Stopped, WS3 - Running and WS4 - Running. When I run the command "invoke-command -computername Server1 -Credential domain\User -ScriptBlock
    {import-module 'webAdministration'; get-website}"
    I get this output and then an error:
    name            : Default Web Site
    id              : 1
    serverAutoStart : False
    state           : Stopped
    bindings        : Microsoft.IIs.PowerShell.Framework.ConfigurationElement
    PSComputerName  : Server1
    RunspaceId      : ca8bbb00-4631-4c92-a7c7-3bec8039eaee
    Attributes      : {Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
                      Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
                      Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
                      Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute}
    ChildElements   : {Microsoft.IIs.PowerShell.Framework.ConfigurationElement
                      Microsoft.IIs.PowerShell.Framework.ConfigurationElement
                      Microsoft.IIs.PowerShell.Framework.ConfigurationElement
                      Microsoft.IIs.PowerShell.Framework.ConfigurationElement
                      Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
                      Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
                      Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
                      Microsoft.IIs.PowerShell.Framework.ConfigurationElement...}
    ElementTagName  : site
    Methods         : {Microsoft.IIs.PowerShell.Framework.ConfigurationMethod,
                      Microsoft.IIs.PowerShell.Framework.ConfigurationMethod}
    Schema          : Microsoft.IIs.PowerShell.Framework.ConfigurationElementSchema
    The data is invalid. (Exception from HRESULT: 0x8007000D)
        + CategoryInfo          : NotSpecified: (:) [Get-Website], COMException
        + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.GetWebsite
       Command
    What I have been able to figure out is that it returns complete data for the Default Website and then throws the error. Tried the same command on another server running 2 websites (both in started state) and same results :(
    Question 2: When the same command "Get-Website" is run locally on the server then only 5 columns show by default; Name, ID, State, Physical Path & Bindings. Why then the command when run remotely returns slightly
    more data?
    PS: I have Win7 x64 on my desktop. Tried the commands from x86 as well as x64 shells and same results.

    Hi Yan,
    When I use Enter-PSSession, it works in the same manner as if the command is run locally. Hence the same output as local.
    I am not sure of the exact way to use [Reflection.Assembly]::LoadFile('C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll') 
    I tried this and get an error:
    invoke-command -Session $session -ScriptBlock invoke-command -Session $session -ScriptBlock {[Reflection.Assembly]::LoadFile('C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll'); get-website}
    Output:
    GAC    Version        Location                                                   PSComputerName
    True   v2.0.50727     C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Administrati... Server1
    The term 'get-website' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
    name, or if a path was included, verify that the path is correct and try again.
        + CategoryInfo          : ObjectNotFound: (get-website:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
        + PSComputerName        : Server1
    The version of the dll on the server is 6.1.7601.17514
    Thanks

  • Complete data is not getting downloaded in XL

    We have developed one Z report to take the status of open purchase order for projects. While downloading it to XL (ofiice 2007 installed on PC), complete data is not getting downloaded.
    I would like to know whether it is XL problem or it is some bug in the report itself.
    Pl. help.

    While downloading the data to excel , try the following option
    List -- > Export -- > Spreadsheet -- > Excel(in MHTML Format).
    The download will authormatically open in excel window. Save it as excel file

  • SALE ORDER COMPLETION DATE

    Hi all,
               We are create one sale order in va01N after completion of all process we make a delivery entry in VL01N.We are creat morethan five deliveries.
          Any standard report to see the sale orders completed date
    ie order closed date wise report.
    Regards,
    T.Murugu

    Hi
    You can use Acceptance field at Sales Order item to enter date on which final delivery is made.
    Based on that field, we can create a Z report lisitng Customer, Order Number, and Delivery Date (Maybe more fields based on the business scenario)
    Hope you find it useful.
    Reward points if you do.
    Regards
    Ravi

  • How to get the complete data from Webdynpro using a RFC

    hi guys,
    A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in the form. Then the user have to input some fields in the form and he have press the submit button. My problem is here, when the user is going to press the submit button that form will be converted to a stream (binary) of data and it is sent to one of the import parameter used in the RFC.
    I have created a RFC and created a import parameter of data type XSTRING, since i want to see what exactly R3 is receiving from web dynpro i am writing this contant in the sever as a text file. When i saw that text file i cant see the complete data.
    And when i searched in R3 the capacity of xstring is 1024 CHAR, so i dont know how to capture the entire data from webdynpro into my R3.
    I give the code what i worte please tell me am i missing anything in my code, or is there any data type which can hold more than 500kb of data which is coming from webdynpro.
    FUNCTION ZSEND_MAIL_ATTACHMENT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(OUT_PLACE_LEVEL) TYPE  XSTRING OPTIONAL
    *"     VALUE(BIN_DATA) TYPE  INDX_CLUST OPTIONAL
    *"  TABLES
    *"      IT_MESSAGE STRUCTURE  SOLISTI1
    Data Declaration
      DATA: gd_cnt TYPE i,
          gd_sent_all(1) TYPE c,
          gd_error TYPE sy-subrc,
          tab_lines LIKE sy-tabix.
    Structure Declaration
      DATA : BEGIN OF it_file OCCURS 0,
              row(255),
             END OF it_file.
      DATA : BEGIN OF i_split OCCURS 0,
      row(50),
      END OF i_split.
    Internal Table Declaration
      data : it_receivers like table of SOMLRECI1 with header line."occurs 0.
      DATA : objbin LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE. "sOLIX
      DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
      data : wa_receiver like table of SOMLRECI1 with header line.
      data : it_receiver like table of SOMLRECI1 with header line.
      data : v_bin_data like SOLISTI1 occurs 0 with header line.
      DATA : gd_doc_data LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
    *data bin_data1 like table of solix with header line.
      REFRESH : objbin, it_packing_list, it_receivers, wa_receiver.
      CLEAR   : objbin, it_packing_list, wa_receiver, it_receivers.
      DATA V_SUBJECT(255) VALUE 'HI'.
      gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name = 'SENDFILE'.
      gd_doc_data-obj_descr = v_subject.
      gd_doc_data-sensitivty = 'O'.
      APPEND GD_DOC_DATA.
    Appending The Internal Table it_packing_list
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'RAW'.
      it_packing_list-body_num = tab_lines.
      APPEND it_packing_list.
    *CALL FUNCTION 'GUI_UPLOAD'
    *EXPORTING
    *filename = V_FILE_PATH
    *filetype = 'BIN'
    *TABLES
    *data_tab = BIN_DATA.
      move bin_data to v_bin_data.
      append v_bin_data.
    *move soli to bin_data.
      LOOP AT V_BIN_DATA into objbin.
    MOVE v_bin_data TO objbin-line.
        APPEND objbin.
      ENDLOOP.
      CLEAR it_packing_list.
      DESCRIBE TABLE objbin LINES tab_lines.
      it_packing_list-transf_bin = 'X'.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 1.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'PDF'.
      it_packing_list-body_num = tab_lines.
      it_packing_list-doc_size = tab_lines * 255.
      APPEND it_packing_list.
    data file(255) value '/tmp/bali.txt'.
    *Appending The Internal Table it_receivers
    close dataset '/tmp/bali.txt'.
    open dataset '/tmp/bali.txt' for output in text mode encoding default.
    if sy-subrc = 0.
    loop at objbin.
    transfer objbin to '/tmp/bali.txt'.
    endloop.
    else.
    write 'hi'.
    close dataset '/tmp/bali.txt'.
    endif.
      it_receiver-receiver = '[email protected]'.
      it_receiver-rec_type = 'U'.
      it_receiver-com_type = 'INT'.
    APPEND wa_receiver.
    move wa_receiver[] to it_receiver[].
      append it_receiver.
    *Move wa_receiver[] to it_receivers[].
    Clear it_receivers.
    if i_OUT_PLACE_LEVEL NE 0.
    loop at it_receivers into wa_receiver.
       loop at it_receivers into wa_receiver.
    **Function Module To Post The Message To Externa Mail
         CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
             document_data              = gd_doc_data
             put_in_outbox              = 'X'
             commit_work                = 'X'
           TABLES
             packing_list               = it_packing_list
             CONTENTS_TXT               = objbin
             receivers                  = it_receivers
           EXCEPTIONS
             too_many_receivers         = 1
             document_not_sent          = 2
             document_type_not_exist    = 3
             operation_no_authorization = 4
             parameter_error            = 5
             x_error                    = 6
             enqueue_error              = 7
             OTHERS                     = 8.
         clear wa_receiver.
    ENDFUNCTION.

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

  • Reschedule strategy plan based on last actual order completion date

    Dear all,
    Hope you can help me with this one.
    We use strategybased maintenance plans. We want to achieve that the next scheduled call date is calculated taking into account the actual completion date of the last (previous) call.
    For example :
    strategy = 1 maintenance order every 52 weeks.
    start of cycle = 01.01.2009
    First call  created a mainenance order for 01.01.2010
    This order did however only get actually completed on 20.02.2010 (so actual completion date of last call = 20.02.2010 ).
    Now we want that the next call is rescheduled to 20.02.2011 ( so the last actual date + the 52 weeks from the strategy)
    This we can achieve for one maintenance plan at a time by using transaction IP10 and than the funtion "start in cycle' .
    However we want to achieve this for a mass selection of maintenance plans in one go.We cannot find a suitable transaction that does do this.
    For example IP30 simply keeps rescheduling using the "startdate of the cycle" instead of the "last actual date".
    Does anyone have a suggestion how we can solve this?
    Many thanks in advance!
    Kind Regards,
    Arjan

    Hi,
    Please follow as suggsted by BroermanG . In Addition to that please ensure that the positive & Negative Tolarance is maintained as zero value in the Scheduling Paramters of the Plan.
    Then the system will take care of your requirements. You need not use IP10 and reschedule to get the desired schedule.
    You can run the IP30 normally.
    Regards,
    MLN Prasad

  • Calc of VAT in ext system: how to get complete data in BSET/RFUMSV00

    Hello
    We have a system that posts into SAP FI GL via BAPI BAPI_ACC_DOCUMENT_POST . The external system does not contain tax codes but it does calculate tax amounts and has GL account determination. How do I get the complete data in BSET so that I can use RFUMSV00 as the sole report on VAT for the client? Other formulation: how do I post an invoice from a vendor without using a tax code or should I use a dummy tax code VST without percentage number?
    regards
    Arjan

    Hi Deepa,
    I tend to develop a substitution (OBB)that adds a tax code to the interface posting so that in SAP I have for every VAT amount/document a tax code. Otherwise I cannot use RFUMSV00...

  • Report Completion date and Report start date in BI Publisher

    Guys
    We have a requirement to get the Report Completion date and start date without Scheduling the report. Can any one give me an idea to get in the BIP Reports
    Regards

    What is the requirement ?
    When the user run report from BIP EE, you want to display how long the report run ?
    or
    Where you want to display these info >?
    If you expecting these info, on click of viewbutton then i dont think it is possible, unless you write the query to fetch the time and in the template processing, subtract that from the current sys-time to get the time it took to run.
    if you can schedule then
    Simplest would be is , taking these info from the tables, directly for the report you are running.
    or
    use Public WS provided by BIP to get the report info
    but in order to get these, first of all the reports should be run in scheduled mode.
    if you don't want the report to be scheduled then, i don't think, you can get these kind of report completion status info.
    otherwise , you can run the query by yourself to get the data and the time it took to complete from database and do some sort of custom calculation by urself

Maybe you are looking for