Service Order Dates Table

Hi,
On creation of a Service Order-> Follow-up Details there is a section for Dates (Planned Date, Actual Date, etc.)
My question is, what is the name of the table that holds all this dates data? And how it is linked to the order.
Any help would be appreciated.

Hi Alan,
That funtion builds the input fields for the date change. From my perspective, you need to indicate all header dates or all item dates, even if you wish only to change one of them (i've tried to change one once, and it didn't work). This explains the loop statement to check every date...
See if this example may help you. Here I would change your date, at header level.
*--- Loop trought all document header dates
    LOOP AT lt_appointment_test INTO ls_appointment_test WHERE ref_guid = <document>-guid AND ref_kind = 'A'.
      CLEAR ls_appointment_com.
      MOVE-CORRESPONDING ls_appointment_test TO ls_appointment_com.
      IF ls_appointment_com-appt_type = 'ZSLA'.
        CONVERT TIME STAMP ls_appointment_com-timestamp_from TIME ZONE ls_appointment_com-timezone_from INTO DATE lv_date_aux TIME lv_time_aux.
        CONVERT DATE lv_date TIME lv_time_aux INTO TIME STAMP ls_appointment_com-timestamp_from TIME ZONE ls_appointment_com-timezone_from. "lv_date is my new date, for example
        CLEAR lv_date_aux.
        CLEAR lv_time_aux.
        CONVERT TIME STAMP ls_appointment_com-timestamp_to TIME ZONE ls_appointment_com-timezone_to INTO DATE lv_date_aux TIME lv_time_aux.
        CONVERT DATE lv_date TIME lv_time_aux INTO TIME STAMP ls_appointment_com-timestamp_to TIME ZONE ls_appointment_com-timezone_to. "lv_date is my new date, for example
      ENDIF.
      INSERT ls_appointment_com INTO TABLE lt_appointment_com.
*--- build input fields for header date
      MOVE-CORRESPONDING ls_appointment_com TO ls_logical_date_key.
      CLEAR ls_input_fields.
      CALL FUNCTION 'CRM_APPT_BUILD_INPUT_FIELDS'
        EXPORTING
          iv_ref_handle   = '0'
          iv_ref_guid     = ls_appointment_com-ref_guid
          iv_ref_kind     = 'A'
          is_logical_key  = ls_logical_date_key
        IMPORTING
          es_input_fields = ls_input_fields.
      INSERT ls_input_fields INTO TABLE lt_input_fields.
    ENDLOOP.
*- Delete time refences
    CALL FUNCTION 'CRM_DATES_TIMECONTEXT_DELETE'.
*- changes in memory
    CALL FUNCTION 'CRM_APPT_MAINTAIN_MULTI_OW'
      EXPORTING
        iv_ref_guid            = <document>-guid
        iv_ref_kind            = 'A'
        it_appointment_com     = lt_appointment_com
      CHANGING
        ct_input_fields        = lt_input_fields
      EXCEPTIONS
        precondition_violation = 1
        invariant_violation    = 2
        OTHERS                 = 3.
*- Saves changes
  APPEND <document>-guid TO lt_header_guid.
  CALL FUNCTION 'CRM_ORDER_SAVE'
    EXPORTING
      IT_OBJECTS_TO_SAVE   = lt_header_guid
    IMPORTING
      ET_SAVED_OBJECTS     = lt_saved_objects
      ET_OBJECTS_NOT_SAVED = lt_objects_not_save
    EXCEPTIONS
      DOCUMENT_NOT_SAVED   = 1
      OTHERS               = 2.
Kind regards and good luck,
Garcia

Similar Messages

  • How to get CRM service order data in R/3

    Hi,
    I want to retrieve service order data from CRM system to R/3, is there any FM for this. Please help as i am new to CRM
    Thanks
    Bobby

    Hi Bobby,
    It is very much possible to upload CRM service orders to SAP R/3 or SAP ECC via standard CRM middleware.
    Please refer to the below SAP help document for complete list of configuration activities for service order upload.
    http://help.sap.com/saphelp_crm50/helpdata/en/f0/5d583c65399965e10000000a114084/frameset.htm
    <b>Do not forget to reward if it helps</b>
    Regards,
    Paul Kondaveeti

  • Purchase document and service order relation table

    Hi All,
    I am trying to enhance one datasource is there any relation we have for the purchase document and the service order?
    Could you please let  me know
    Thanks
    Srini

    EKPO and ESSR is the relation betqwwen the Purchase order and the service entry/orders.
    Regards
    Srini

  • Service order tables in CRM

    Hi all,
            Can anyone tell me about tables of service order in CRM..

    In CRM, Service Order is designed as per one order framework so many tables common across order types e.g crmd_orderadm_h, crmd_customer_h etc.. Please refer List of Important transactions,Tables & API in SAP CRM. It will be great if you could specify exactly for which service order data set you are looking the table name?

  • Service Orders ,Complaints,Sales Orders,Service Requests, data in Accoun fact sheet screen?

    Hi Team,
    Account related data is not populated in the service order data view and sales order data view and service request view in the account fact sheet screeen?
    We are using account factsheet BP_ACCOUNT_FS...In this account sheet,data is not populated .Service order assignment blocks is not populated..
    Thanks
    Kalpana

    Hi Arden,
    Thanks For your reply.
    They are maintainig the account fact sheet ZCC_FS_ACT in work center ,PFCG role id - SAP_CRM_UIU_IC_AGENT ,.Now account fact sheet is avialbe in work center of icagent.Now if we open any account- then click account fact sheet there is no data is not displayed in assignment blocks of service orders,service sales and ibase all....
    Data is not populating in accoutn fact sheet..,..if  you possible tell me steps and how to do it.?and if you share any information its great and help ful for me?
    Thanks
    kalpana

  • Service order  clssification data extraction

    Dear Gurus
    I need to extract Service Order (T-Code IW33 - click on the configuration button in new window it will display configuration data that i need to extract ) i tried to  crated classification data source but not able to create the Data source i used all the service order data sources like 2lis_17_,    2lis_18_ ,,,,0CS_OM_OPA_1 and the 0PM_OM_OPA_1
    not able create classification data source...
    Please advice me how to get this data.....
    Thanks and Regards
    BPSR

    hi,
    have you made search in RSA5 and the business content objects in RSA1? do search there u could be successful.
    Go through the below links for procedure for Business Content Installation.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/content.htm
    Ramesh

  • Function Modules for System Status update and reservation for service order

    I am sending the service orders data using IDOCS.
    once the IDOC is received successfully i need to do 2 things:
    1. Update the system status of the service order with the status 'SPV2'.
    2.  Create the reservation for the service order.
    Is there any function modules avilable for both of these process.
    If not how i can do these two things in ABAP Code.
    please help me out in it.

    check whether this Fm's helps you
    STATUS_CHANGE_INTERN
    CO_IH_SET_STATUS_EXTERNAL
    CO_IH_STATUS_FM_SET
    BAPI_ORDER_CHANGE_STATUS_GET
    BAPI_APPREQUEST_SETSTATUSVARNT
    BAPI_ALM_ORDER_MAINTAIN
    BAPI_RESERVATION_CREATE
    Edited by: Keshu Thekkillam on Oct 26, 2009 5:10 PM

  • Program for service order

    hi experts
    my requirement is to upload service order data from nonsap to sap using batch input recording of lsmw for that i need to write custom program please can give guide lines for developement
    regards
    raj

    hi chiya,
    go through this document, its very useful
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Check this link.It is a step-by-step guide.
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    http://66.102.7.104/search?q=cache:-DE9K5Tj0j8J:www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doclsmwdoc&hl=en
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    regs,
    jaga

  • Customer Factsheet: Service Orders

    Hi all,
    Web UI: All sales orders belonging to sold-to-party XY are assigned to a specific assignment block of sold-to-party XY. What about service orders? How can I integrate service orders into the Customer Factsheet?   
    Thanks in advance.
    Best regards,
    AEV

    Hi AEV,
                If you want to display the service order data related to specific business partner then you have to go first BP_FACTSHEET component ,then select the service order view ,click on configuration tab and adjust the field what ever you want to display in web ui corresponding business roll.then you have to go BSP_DLC_FS component ,there you can assign the particular view to specific business roll and layout also.
    Thanks
    Vishwas Sahu

  • Service Order Extractor

    Using Service Order Data for customer report (Not using CRM).  I would like to enhance the extractor with VBELN and POSNR is this possible?
    Thanks!
    Caroline

    Hi Thomas,
    There is no standard delta capable DataSource to extract only actual costs of service orders.
    The following are options for extracting service order costs;
    1.  Use the standard DataSource 0CO_OM_OPA_6. It should be able to extract actual costs of service orders. 0CO_OM_OPA_6 is not only for service orders, but also for other order types.
    Or
    2. The standard DataSource 0PM_OM_OPA_2 extracts only PM order actual costs.
    You could modify the extractor (function module BWSM_PM_GET_ORDCST)
    of 0PM_OM_OPA_2 to select service orders too.
    Best Regards,
    Vincent

  • Open Service Order - Template

    Dear Friends,
    I need to upload few open service orders hence could you please let me know where to search for some Migration templates [Excel file] which I can use to input all the service order data and later upload the same.
    Thanks & Regards
    Prasad Subramanya

    Hi,
    Create your own LSMW / BDC that will give an Excel Template.
    Babu

  • Table for service order

    Now I have to create PDF for printing service order.
    Does anybody know which table is important for sevice oder?
    thanks
    RD

    Dear
    ESSR Service Entry Sheet Header Data
    ESLL: Lines of Service Packag
    EKBE:History per Purchasing Document
    ESKL Account Assignment Specification: Service
    ESKN Account Assignment in Service Package
    ESLA Service Type Editions
    ESLB Service Type Header of Standard Service Ca
    ESLH Service Package Header Data
    ESLL Lines of Service Package
    ESLL_ACC Service Line with Account Assignment Data
    ESLL_BOS
    ESLL_EK Fields for Unit Costing
    ESLL_LINES Text Lines: Service Specifications
    ESLL_PLUS Additional Fields: Service Line
    ESLLDB_CI For Category Specification of Customer Str
    ESLP Service Item
    ESLT Service Item Short Texts
    ESLZ Service Type Lines
    Regards
    venu gopal

  • Table for checking System Status in a Service Order

    Hi,
    In which table can I find System Status (like REL - Released) of a Service Order ?
    Thanks.
    Raj

    Linda,
    The system-statuses are stored in table JEST.
    An easier way to get this data is by using function module STATUS_TEXT_EDIT:
    CALL FUNCTION 'STATUS_TEXT_EDIT'
               EXPORTING
                    FLG_USER_STAT = ' '
                    OBJNR         = I_VIAUFKS-OBJNR
                    ONLY_ACTIVE   = 'X'
                    SPRAS         = SY-LANGU
               IMPORTING
                    LINE          = W_LINE.
    *           user_line     = w_user_line.

  • Table for satatus, CS, service order and notification

    There is a field of status at the CS notifications. The tcode for customizing this field is OIBS but in which table can I find the related data? I'm also looking for the other tables of CS, service order and notification.
    Edited by: Yasar Demircan on Jan 27, 2010 10:06 PM

    Hi,
    You can refer the table JEST, TJ30, TJ30T for object status and user status

  • Set Profile in Control Data of Service Order as required

    Hi gurus,
    We need to set Dynamic Profile Field (FFPRF) in Service Order - Control Data Tab as mandatory.
    As per usual procedure: SPRO - Plant Maintenance and Customer Service - Maintenance and Service processing - Maintenance and Service Orders --> Define Field Selection....We are not able to find field "Dynamic item Profile" in the list to set it as Required.
    Any idea how to proceed?
    Thanks!
    VL

    Hi Narasimhan,
    Thanks for your quick response.
    We already considered setting as default DIP per Service Order but this is would not work for us as we have for one Service Order multiple possible Dynamic Item Profiles.
    Would be great if we could set it as a required data so order can not be saved without DIP filled in. Isn´t it possible to do it via standard?
    In addition to that would be great if we could set as default the DIP per Company Code to which the Service Order is assigned to. (enhancement IWO10009?) but relation Company Code - DIP would need to be maintained in a Z table...
    Thanks,
    VL

Maybe you are looking for

  • Saving report output on client machine

    Hi All, I'm using reports 6i. I'm running a report on the web which runs 5 reports inside it and it should save the outputs of these five reports in PDF format to the client machine. I can not give mime type as i don't want to show it in the acro. re

  • Trouble addign Podcast, now most of my album and video artwork are black!

    So I added a few free podcast, worked fine, from my ipod. Than i tried adding some more the next day. It downloaded, but wouldn't appear in the ipod. So i plugged it in, and iTunes saw all my podcasts on my ipod, but the ipod just wont' display them.

  • How to setup Final Cut to preivew on HD TV (beginner question)

    FINAL CUT NEWBIE HERE... I just got a new Mac Pro and the new Final Cut studio. I'm trying to figure out the best way to set everything up. I've been watching a lot of the videos on Apple's website about the new features and the "In action" videos. O

  • Grid View artist names are entirely lower case

    Hi, in my grid view the artist names have changed to entirely lowercase, i.e "adele", yet on all the tracks Artist & Volume Artist shows as "Adele" any idea why this suddenly changed? and more importantly how I can change it back? I've tried resettin

  • Max Expansion card size for treo palm 700wx

    I can't seem to find the max expansion card size for a treo palm 700wx. I purchased a 4gb Scan Disk which should be compatible with most ever device so expect that the hardware dosen't support up to 4gb. If anyone has futher information on this I wou