Dump in Service orders in Portal ????

Hi Experts !!!!!!!!!
I m working on Service scenario (Service orders) i have made some changes in my standard iview of Serivce order after doing it i have also generated layout for related field group but when i execute same application thruough MAC and click on New Order im getting below error.
Message E CRM_BSP_LAYOUT 059 cannot be processed in plugin mode HTTP
Exception Class     CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name     
Program     CL_CRM_BSP_FRAME_MAIN=========CP
Include     CL_CRM_BSP_FRAME_MAIN=========CM001
ABAP Class     CL_CRM_BSP_FRAME_MAIN
Method     DO_REQUEST
Line     997
I know this error is related to layout generation but i dont know for which filed group i should generate layout, i thing i m missing any step please let me know if i m missing any step in customising.
Thanks,
DD's

I got a similar error in the following code,
26##METHOD#READ_FIELDGROUP
#CL_CRM_BSP_FRAME_DETAIL=======CP#
#CL_CRM_BSP_FRAME_DETAIL=======CM006#65
25##METHOD#DO_REQUEST#CL_CRM_BSP_FRAME_DETAIL=======CP#
#CL_CRM_BSP_FRAME_DETAIL=======CM001#74
24##METHOD#DO_REQUEST#CL_BSP_CTRL_ADAPTER===========CP#
#CL_BSP_CTRL_ADAPTER===========CM004#47
23##METHOD#CALL_CONTROLLER
#CL_BSP_PAGE_BASE==============CP#
#CL_BSP_PAGE_BASE==============CM001#16
22##METHOD#IF_BSP_ELEMENT~DO_AT_END
#CL_BSP_CALL_ELEMENT===========CP#
#CL_BSP_CALL_ELEMENT===========CM002#12
21##METHOD#_ONLAYOUT#CL_O22UWK7K4JHDO4POX8G0M4SQIMNCP#
#CL_O22UWK7K4JHDO4POX8G0M4SQIMNCM002#777
20##METHOD#%_ONLAYOUT#CL_O22UWK7K4JHDO4POX8G0M4SQIMNCP#
#CL_O22UWK7K4JHDO4POX8G0M4SQIMNCM001#10
19##METHOD#DO_REQUEST#CL_BSP_PAGE===================CP#
#CL_BSP_PAGE===================CM01E#154
18##METHOD#CALL_VIEW#CL_BSP_PAGE_BASE==============CP#
#CL_BSP_PAGE_BASE==============CM002#20
17##METHOD#CALL_VIEW#CL_BSP_CONTROLLER=============CP#
#CL_BSP_CONTROLLER=============CM003#3
184#      REFRESH gt_layout.
185#      CALL METHOD cl_crm_bsp_accs_layout=>get_item_list
186#        EXPORTING
187#          iv_main_fieldgroup = gs_blueprint_entry-fieldgroup
188#          iv_screensize      =
cl_crm_structureedit_layout=>gc_screensize_fullscreen
189#          iv_application     = gs_blueprint_entry-application
190#          iv_blview          = lv_blview
191#          iv_fldgrpvar       = lv_fieldgroup_variant
192#        IMPORTING
193#          et_layout_p        = gt_layout
194#          et_fieldgre_t      = lt_fieldgrp_text.
195
196#      IF gt_layout IS NOT INITIAL.
197#*       layoutc may have new groups (with header)
198#        gt_fieldgrp_text = lt_fieldgrp_text.
199#      ELSE.
200#*       runtime generation must not be done for compress_layout
<> 'A'
201#*       "No entry in table &1 for key &2 &3 &4"
202#        MESSAGE ID '5A' TYPE 'E' NUMBER '001'
203#                WITH 'CRMC_LAYOUT' gs_blueprint_entry-fieldgroup.
204#      ENDIF.
205
206#*   Merge dynamic attributes into layout table
This was resolved with the note 1161506.
Best Regards, Adil

Similar Messages

  • ABAP dump Error while creating service order in PCUI.

    Hi Experts,
                     We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          02.01.2008 14:55:38
    Short text
    Exception condition "TYPE_NOT_FOUND" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
    exception
    condition "TYPE_NOT_FOUND".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    |    function module from the display of active calls.     
    We have added custom fields in the service application. these custom fields with Z-structure & data elements  are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
    This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
    How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
    Helpful answers would be rewrded max points as it is high priority issue.
    Regards,
    Basavaraj Patil

    Hi Thirumala,
    Thnaks for the reply.
                I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields)  created while doing  EEWB is not included in BSP structure.
    I f transports are missed to move to target system, Is there any other alternative to solve this problem?
    Regards,
    Basavaraj Patil

  • Service Order - Dump

    Dear Friends,
    I have a service order in CRTD status and now am planning all the activities for the same. Now I selected the activity pertaining to UoM "CUR". While planning, I forgot to change the Unit from 'H' to 'CUR' and tried to save the object. Now instead of saving, the service order is running into a dump.
    Could you please let me know if this a natural phenomenon??
    Thanks & Regards
    Prasad Subramanya

    Prasad,
    I Agree... System will propose the Default UoM that you are maintaining in IMG
    Plant Maintenance and Customer Service
    >Maintenance and Service Processing
    >Maintenance and Service Orders
    >Functions and Settings for Order Types
    >Default Values for Task List Data and Profile Assignments
    For DUMP Eror, I am suspecting the Dimesion key of your UoM CUR may be other than Dimension Key Time
    Can you please Ensure that the UoM CUR has been created with Dimension Key Time (OPJO)?
    Babu

  • Dump during execution of MD4C transaction for service orders

    Hello
    When we tried to run the transaction "MD4C" for service order,the dump occurs.
    Kindly let me know whether this report is feasible for service orders?
    Thanks for your reply.
    Regards
    Santosh

    Hi,
    Take help of ABAPer
    Kapil

  • Creation of Sales Order from Service Order

    Hi All,
    I am usind BADI Workorder_update and method at_save to create a Sales Order while saving the Service Order.
    I have created the ZBAPISALESORDER_CREATEFROMDAT2 which is a copy of BAPI_SALESORDER_CREATEFROMDAT2(Since order type was ZDR).
    I have written the following stmt for Debt Memo.
                BUSINESS_OBJECT         = 'BUS2096'              " Debit Memo
    This BAPI is working fine and giving the Sales Order Number as a pop-up for information.
    But now, the problem is coming with Service Order Creation (In the transaction IW31). It is giving short dump while saving the service order after creating the sales order.
    I have checked in the standard code of Service Order. Dump is coming at
    Include : LCOZFU64
    Function Module:CO_ZF_PROJECT_BUDGET_CHECK
    Line : 258
    IF caufvdg-netzkont IS INITIAL.
              CALL FUNCTION 'STATUS_CHECK'
                EXPORTING
                  objnr             = caufvdg-objnr
                  status            = stk_vkt
                EXCEPTIONS
                  object_not_found  = 01
                  status_not_active = 02.
              subrc = sy-subrc.
            ELSE.
            ...ansonsten kann man das an NETZKONT erkennen!
              IF caufvdg-netzkont EQ con_kont_kopf.
                subrc = 02.                "kopfkontiert
              ELSE.
                subrc = 00.                "vorgangskontiert
              ENDIF.
            ENDIF.
    With my code of BAPI, it is returning sy-subrc = 01 (Object not found).
    Without my code of BAPI (Standard code of IW31), it is returning sy-subrc = 02 (status not active) which is the right one.
    Kindly help me in this regard.
    Regards,
    Priyanka Vasudeva.

    Hi,
    There are various scenarios to support end to end work managmenet process in IS-U find attached detail document at link below.
    [http://help.sap.com/saphelp_utilities472/helpdata/en/6a/1a6c35a018d041e10000009b38f839/frameset.htm]
    Scenario A describes process of creating sales order based on service order.

  • Service order on CRM application is not working fine

    1. We have recently moved from 8.48.16 to 8.51.15 on CRM 8.8 .
    2. One of the deleivered feature on CRMUPG is not working. Navigation is as given below.
    a) http://mstn-v-iscdev2/psp/CRMUPG/?cmd=login
    b) click on " service order " on left hand side.
    c) Enter service order id (2000136) in Service Order id.
    d) click on " Insert IOP Facilities " in requested facilities section.
    e) After clicking CSOS link in facilities column on IOP Facility pane.
    The CSOS data is not reflecting in requested Facilities section.
    Plz check the issue and help the earliest.
    Details :- IE 8
    In Another environment,when i click on CSOS.
    I can see javascript:submitAction_win0(document.win0,'MSI_FACILITYNAM$0'); in below panel.
    while in the environment where i am facing issue show
    javascript:hAction_win0(document.win0,'MSI_FACILITYNAM$0', 0, 0, 'CSOS', false, true);

    Hi,
      How have you defined the property "WAS host" for the portal system that you have created for the back-end?
    You might get this error if the way you have defined this WAS host property and the way you are calling the portal are different. For example, if your WAS host property is "<hostname>:<portnumber>" and you are calling your portal as "localhost:<portnumber>", then you will get this error.
      Also are you connecting to your portal using the fully qualified domain name? Don't call the portal simply as
    <i>http://<host>:<port>/irj</i> but call it as http://<host>.<domain>:<port>/irj.
    Regards,
    Satyajit.

  • Creating service order using BAPI_BUSPROCESSND_CREATEMULTI

    Hi Experts,
    I have a requirement to create a Service order using a BAPI.
    I'm trying to use the BAPI BAPI_BUSPROCESSND_CREATEMULTI. I found some code related to this BAPI on this forum and and I've written my code based on that and while executing it i'm getting a short dump. Could anyone please help me figure out what the problem is.
    My code is as follows:
    data: lv_header_guid type guid_32.
    data: begin of lit_header occurs 0,
          include type BAPIBUS20001_HEADER_INS,
          end of lit_header.
    data: wa_header type BAPIBUS20001_HEADER_INS.
    data: begin of lit_inputfields occurs 0,
          include type BAPIBUS20001_INPUT_FIELDS,
          end of lit_inputfields.
    data: wa_inputfields type BAPIBUS20001_INPUT_FIELDS.
    data: begin of lit_partner occurs 0,
          include type BAPIBUS20001_PARTNER_INS,
          end of lit_partner.
    data: wa_partner type BAPIBUS20001_PARTNER_INS.
    Create Contract header guid
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = lv_header_guid.
    Fill orderadm_h
      wa_header-guid         = lv_header_guid.
      wa_header-process_type = 'YSC'.
      APPEND wa_header TO lit_header.
    Fill input fields
      MOVE: lv_header_guid  TO wa_inputfields-ref_guid,
            'A'             TO wa_inputfields-ref_kind,
            '0001'         TO wa_partner-ref_partner_handle,
            'ORDERADM_H'    TO wa_inputfields-objectname,
            'PROCESS_TYPE'  TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      CLEAR wa_inputfields.
    Fill PARTNER DETAILS
    Sold to Party
      MOVE: lv_header_guid TO wa_partner-ref_guid,
            'A'            TO wa_partner-ref_kind,
            '0001'         TO wa_partner-ref_partner_handle,
            'CRM000'         TO wa_partner-partner_fct,
            '5000000288'    TO wa_partner-partner_no,
            'BP'           TO wa_partner-no_type,
            'BP'           TO wa_partner-display_type,
            'X'        TO wa_partner-mainpartner.
      APPEND wa_partner TO lit_partner.
      CLEAR wa_partner.
    Fill input fields
      MOVE: lv_header_guid TO wa_inputfields-ref_guid,
            'A'      TO wa_inputfields-ref_kind,
            '0001'         TO wa_inputfields-logical_key,
            'PARTNER'     TO wa_inputfields-objectname.
      MOVE  'PARTNER_FCT' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE  'PARTNER_NO' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE  'NO_TYPE' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE  'DISPLAY_TYPE' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      CLEAR wa_inputfields.
      CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
        TABLES
          HEADER                  = lit_header
        ITEM                    =
        ACTIVITY                =
        SALES                   =
         PARTNER                 =  lit_partner
        ORGANISATION            =
        SHIPPING                =
        APPOINTMENT             =
        TEXT                    =
        SERVICE_OS              =
        STATUS                  =
         INPUT_FIELDS            =  lit_inputfields
        CREATED_PROCESS         =
        RETURN                  =
        LEAD                    =
        OPPORTUNITY             =
        PRODUCT                 =
        SCHEDULELINE            =
        CUSTOMER_HEAD           =
        CUSTOMER_ITEM           =
        PRICING                 =
        PRICING_ITEM            =
        CONDITION_CREATE        =
        BILLING                 =
        CONFIG_CFG              =
        CONFIG_BLB              =
        CONFIG_INS              =
        CONFIG_PRT              =
        CONFIG_VAL              =
        CONFIG_VK               =
        CONFIG_REF              =
        ADDRESS                 =
        BILLPLAN                =
        BILLPLAN_DATE           =
        EXTENSIONIN             =
        DOCUMENT_FLOW           =
        BATCH                   =
        PRICING_AGR_CRM         =
        FINPROD_ITEM            =
        CANCEL                  =
        CANCEL_IR               =
        PRODUCT_LIST            =
        PRODUCTS                =
        OBJECTS                 =
        PAYPLAN                 =
        PAYPLAN_DATE            =
        CONFIG_FILTER_CFG       =
        CONFIG_FILTER_INS       =
        CONFIG_FILTER_PRT       =
        CONFIG_FILTER_VAL       =
        ACTIVITY_I              =
        EXT_REF                 =
    ENDFUNCTION.
    I'm getting the following dump.
    Runtime Errors         ITAB_ILLEGAL_COMPONENT
    Date and Time          07.09.2006 21:29:03
    Short dump has not been completely stored (too big)
    Short text
    Invalid line component &V2 in "... KEY k1 = v1 ... kn = vn".
    Error analysis
    When the ABAP/4 program "SAPLCRM_BUSPROCESSND_BAPI" attempted to process the
    internal table "HEADER[]"
    with "... KEY k1 = v1 ... kn = vn", a component "HANDLE " was specified
    dynamically as the contents
    of the field "LV_STR_HANDLE". However, the line type "u" of the internal table
    "HEADER[]"
    contains no component "HANDLE ".
    |                                                                         -
    Information on where terminated
    Termination occurred in the ABAP program "SAPLCRM_BUSPROCESSND_BAPI" - in
    "SET_RETURN_VALUES".
    The main program was "RS_TESTFRAME_CALL ".
    In the source code you have the termination point in line 36
    of the (Include) program "LCRM_BUSPROCESSND_BAPIF80".
    Source Code Extract
    Line
    SourceCde
    6
    7
          text
    8
    9
         -->P_LT_ORDERADM_H_COM  text
    10
         -->P_LT_ORDERADM_I_COM  text
    11
         <--P_HEADER  text
    12
         <--P_ITEM  text
    13
    14
    form set_return_values  tables  header structure BAPIBUS20001_HEADER_INS
    15
    item structure BAPIBUS20001_item
    16
    using   p_lt_orderadm_h_com type any table
    17
    p_lt_orderadm_i_com  type any table
    18
    19
    20
    data: lv_str_handle type fieldname,
    21
    lv_str_headerhandle type fieldname,
    22
    lv_str_objectid type fieldname.
    23
    24
    25
    field-symbols: <ls_orderadm_h> type crmt_orderadm_h_com,
    26
    <ls_orderadm_i> type crmt_orderadm_i_com,
    27
    <ls_header> type BAPIBUS20001_HEADER_INS,
    28
    <ls_item> type BAPIBUS20001_item.
    29
    30
    31
    lv_str_handle = 'HANDLE'.
    32
    lv_str_headerhandle = 'HEADER_HANDLE'.
    33
    lv_str_objectid = 'OBJECT_ID'.
    34
    35
    loop at p_lt_orderadm_h_com assigning <ls_orderadm_h>.
    >>>>>
    read table header with key (lv_str_handle) = <ls_orderadm_h>-handle
    37
    (lv_str_objectid) = <ls_orderadm_h>-object_id
    38
    assigning <ls_header>.
    39
    if sy-subrc = 0.
    40
    <ls_header>-guid = <ls_orderadm_h>-guid.
    41
    endif.
    42
    endloop.
    |   43|                                                              
    Could anyone please help me with this.
    Thanks,
    Preethi
    Message was edited by: Preethi Sooth

    First off. Debug.
    Put a break point on the line that is generating the short dump and run your code. The ABAP debugger should display before the dump...now....
    The error specifies that the line type of the table HEADER (which is the internal representation of your lit_header table and has line type BAPIBUS20001_HEADER_INS ) doesn't have a field called HANDLE.
    Check if it does (it should have or something is very wrong, and you should report a bug to SAP).
    Check all runtime variables for that command. See if the table has any values in it. Try using your lit_header table with header-line or not.
    Your in a far better position to determine what the error is then me. Right now, I don't have access to a CRM server.
    From my experience that BAPI is a piece of .... It is hard finding functions in CRM that actually do what you want...properly...Try using CRM_ORDER_CREATE (i think it's called like that). Much better, and if you need RFC capability just write a wrapper RFC.
    Message was edited by: João Sousa

  • Web based booking in of service orders

    A company I have recently been doing work for approached me with a interesting request. They wanted a method for users to be able to book in service orders themselves, online. Vendors were not being paid on time due to the fact acknowledgment of receipt of the orders was not given in a timely fashion.
    Not everyone had access to SAP for cost reasons. Also quite a few people for some reason do not like the SAP interface. The spreadsheet they generated based on a SAP report was also proving ineffective due to users overwriting acknowledged orders.
    With this in mind, Myself and the local ABAP programmer came up with the following solution.
    The main ingredients of the solution involve the following:
    1)Windows Active Directory
    2)IIS, PHP
    3)BAPI_GOODSMVT_CREATE,BAPI_TRANSACTION_COMMIT,BAPI_TRANSACTION_ROLLBACK
    A Windows 2000 Intranet server  was setup with  PHP and the SAPRFC extension. Using Windows authentication we now select the correct recipient for the outstanding service orders report. The local ABAP programmer wrote a function to allow me to pass the username as  a import parameter and receive the lines of outstanding orders in JTAB which I can pull off into an array using saprfc_table_read.
    Here is an overview of how this works. I don't have the script in front of me. So I'm doing this from memory. I will add some more code specific detail at a later date.
    1)PHP script  calls local bespoke RFC function and sends RECIPENT (username) as an import parameter. RFC function fills JTAB with outstanding orders. Items in JTAB table are LIFNR,NAME1,EBELN,EBELP,TXZ01,EINDT,OPENQTY,MEINS,NETPR,WAERS,WEMPF. Each line is then read in a loop using the number of rows returned by saprfc_table_rows.
    2)The user is then presented with a form which allows them to acknowledge orders to the maximum value of OPENQTY for each line item.
    3)On submission the lines are sorted by vendor. We have to run the BAPI's multiple times for each vendor. You can't book in line items from different vendors in one go. Once this is done we can start calling our BAPI's to book the items in.
    4)We setup a loop by vendor which does the following:
    Call BAPI_GOODSMVT_CREATE and set the import parameters GOODSMVT_HEADER & GOODSMVT_CODE.
    <code>
    /* Please note this is not runnable code. It's code just to get a feel of whats going on. You will need to fill in the details */
    $goodsmvt_header = array('PSTING_DATE' => '20050512',
                                               'DOC_DATE'=> '20050512',
                                               'REF_DOC_NO'=> 'Jsimmons');
    $goodsmvt_code = array('GM_CODE' => '01');
    /*  $fhandle is from a connection we established earlier using saprfc_open & saprfc_function_discover */
    saprfc_import($fhandle,'GOODSMVT_HEADER',$goodsmvt_header);
    saprfc_import($fhandle,'GOODSMVT_CODE',$goodsmvt_code);
    we now need to specify what items we wish to book in We have an array of line items associated with the current vendor in the outer loop which looks like this:
    $lineitem = array('PO_NUMBER' => 'ponumber_from_user_form',
             'PO_ITEM'=> 'poitem_from_user_form',
            'MOVE_TYPE'=> '101',
            'MVT_IND'=> 'B',
           ' ENTRY_QNT'=> ,'number_to_book_in_from_user_form');
    saprfc_table_init($fhandle,'GOODS_MVT_ITEM');
    foreach ($alllineitems as $lineitem) {
      saprfc_table_append($fhandle,'GOODS_MVT_ITEM',$lineitem);
      // check for errors using saprfc_error
    /* Now we need to call our first BAPI to post the items */
    $errorcode = saprfc_call_and_receive ($fhandle);
    // Insert Error handling code  in here
    /* If the RESULTS table has entries , We have a problem */
    if (saprfc_table_rows($fhandle,'RESULTS'){
        $fhandle = saprfc_function_discover($rfcconnection,'BAPI_TRANSACTION_ROLLBACK');
        $errorcode = saprfc_call_and_receive ($fhandle);
        // Insert Error handling code  in here
    }else {
        $fhandle = saprfc_function_discover($rfcconnection,'BAPI_TRANSACTION_COMMIT');
        $errorcode = saprfc_call_and_receive ($fhandle);
        // Insert Error handling code  in here
    saprfc_function_free($fhandle);
    saprfc_close($rfconnection);
    // Start loop again for next vendor
    </code>
    The overall results is that we now have a intranet application which allows users to easlily book in services orders. I even created a script which nags users via email to book in services orders. The nag email contains a link to the intranet page which contains the application.
    Benefits:
    1)Extremely cheap solution using every day tools
    2)Browser based interface which everyone knows how to use.
    3)Vendors are paid on time which allows the company to trade on more favorable terms.
    4)Reduced administrator workload chasing people and making spreadsheets to capture outstanding service orders
    I would recommend going through some of the documentation for the SAPRFC extension. This will give you an idea of what I'm trying to convey here, and fill in the gaps.
    http://saprfc.sourceforge.net/src/saprfc.html
    Have fun !

    Jason,
    Craig is correct, your posting would make an excellent weblog. Perhaps creating an accurate step-by-step with actual code would be the way to go.  You certainly will be rewarded with contribution points for your effort!
    To become a weblogger just visit Submit Content in the upper Nav level. https://www.sdn.sap.com/sdn/weblogs.sdn?node=linkwnode3-6&contenttype=url&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fsdn!2fiviews!2fframework!2fcom.sap.sdn.weblogs?redirect=https://weblogs.sdn.sap.com/apply/ and request to be a weblogger.  After filling out the template you will be approved.
    Craig,
    You seem to be doing a fantastic job of moderating and encouraging the activity in these threads.  This will be rewarded as well!
    thanks,
    Marilyn
    SDN Community Manager

  • How to create a service order and check the internal order in R/3

    Required Solution:
    1. How to copy existing service order and create new one and check the internal order in R/3, whether the certain service order is correctly created in r/3, can you polease explain the steps plz.
    2. If i am creating service order by service template finally the service order is getting created but it is not showing me in the table iaom_crm_aufk, how to check this.
    can any one help me in this issues as soon as possible.

    Hello Zita,
    Try to restart your portal after creating <b>ServiceUser</b> in both UME and KM.
    One more major difference between ServiceUser and normal portal user is that a ServiceUser does not have a UserAccount (IUserAccount)
    Object serviceContext = null;
            try {
                serviceContext = AccessController.doPrivileged(new PrivilegedExceptionAction() {
                    public Object run() throws WcmException {
                        return ResourceFactory.getInstance().getServiceContext(CONTRACT_SERVICE_USER);
            } catch (PrivilegedActionException e) {
                logger.severe(e, "ResourceContext for the technical " + serviceUser +
                     " user could not be retrieved.");
    IResourceContext resCtx = (IResourceContext) serviceContext;
    So I modify all KM resources with this resCtx.
    Hope this helps ...
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • Creating Web Services in the Portal

    Hi Experts,
    I'm trying to create a Web Service in the portal based on a URL. However I am having some issues with the User Management settings. I've explained below the steps I've followed in order to setup the Web Service and the issue I am having.
    I go to System Administration -> System Configuration -> System Landscape then I select my folder and right click. I then select New -> System (from template).
    I then select "Web Service System using WSDL URL" and insert the URL for my Web Service. The issue I am then having is that when I access the User Management page I can only choose "NONE" or "UIDPW" as the Logon Method. However, I need to choose SAPLOGONTICKET which should be one of the options but isn't.
    Does anyone know why this last option is not being displayed and how to fix this issue?
    Thank you,
    Kind Regards,
    Ale

    Hi Experts,
    I'm trying to create a Web Service in the portal based on a URL. However I am having some issues with the User Management settings. I've explained below the steps I've followed in order to setup the Web Service and the issue I am having.
    I go to System Administration -> System Configuration -> System Landscape then I select my folder and right click. I then select New -> System (from template).
    I then select "Web Service System using WSDL URL" and insert the URL for my Web Service. The issue I am then having is that when I access the User Management page I can only choose "NONE" or "UIDPW" as the Logon Method. However, I need to choose SAPLOGONTICKET which should be one of the options but isn't.
    Does anyone know why this last option is not being displayed and how to fix this issue?
    Thank you,
    Kind Regards,
    Ale

  • Printing shop paper for Service Order

    Hi,
    I can see for service orders (IW31) shop papers are used to print documents. And shop papers are basically written in sapscript. They are configured in SPRO for each order type along with their program name and subroutine name and form name.
    But my requirement is I want to show a document currently stored in Business Document Service(OAER) when order print button is clicked. I have a program which currently shows a document stored in BDS in a screen upon executing it. But if I configure that program name in SPRO I get a runtime dump.
    Could anybody please help me on that.
    Regards,
    Mainak

    OK...try this:
    in OIDB (notification) remove the selection check for all generic entries - this determines what is shown when you try to print.  For example, if you have a setting for doc.type = * and it is checked for selection, each of those will appear when you print.  By removing this selection check for doc type = *, it won't appear for yours.  You should put a line there for your doc type with the selection checked.  If you put a second line there for your doc type without the 'selection' checked - it will show, but be optional when you do a print.
    In OIDG (work order), follow the same logic.  Once you print the order, it will propose to print the notification as well (either selected or just available).  Also, i think you should link the notification and order types in work order config.  
    This works when you are printing a work order, but i'm not sure if you can print the work order from the notification.  I just tried this in my system and did get the notifications to print while printing the work order using the settings i've mentioned.

  • Difference between "Service Order" & "Service Confirm"

    Hi Experts
    This query is in CRM
    Is it necessary to create Service Confirm for creating billing / Invoice ? Can we create billing based on service order only without going for Service Confirm ?
    What is the purpose of service confirm ?
    I will definitely Assign points...
    Regards
    Praveen
    Edited by: praveen khot on Mar 29, 2008 1:41 PM

    Hi,
    Service Confirmation Processing
    http://help.sap.com/saphelp_crm40/helpdata/en/d2/dfe1becea8154398ad47a1edd3ef7a/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/business_maps/guid/eg1slxvyat1odhrwoi8vzxn3b3jrcgxhy2uuc2fwlmnvbs9zb2nvdmlldy9ty3bnzxquyxnw%0d%0ap3bhy2thz2vpzd0mdmlldz1zbwnyzw5kzxiyjmlkptgxmkzgotldrte2rdq1qtdbqzyzqzhdnda2%0d%0arjkymurejiz4c2wtymfzzt1odhrwoi8vzxn3b3jrcgxhy2uuc2fwlmnvbs9zb2nvdmlldy9ty3bn%0d%0azxrfbwltzs5hc3a/dxjspxnkbl9uzxcvjiz3zwitdxjspwh0dhbzoi8vzxn3b3jrcgxhy2uuc2fw%0d%0almnvbs9zb2nvdmlldy9ty3bnzxrfbwltzs5hc3a/dxjspsymehnslwxpc3q9c2rux2dlbmvyywxf%0d%0acmvuzgvylnhzbhq7c2rux2xpbmtyzxdyaxrpbmcuehnsddtnzw5lcmf0zuhutuxfu0rolnhzbhqm%0d%0ajnbhy2thz2utawq9jizyzxnvdxjjzxr5cgu9c2rux3nvbhv0aw9ux2nvbxbvc2vyx2z1bgxwywdl%0d%0ajizwyxjlbnrssuq9l3dlymnvbnrlbnqvd2vicgfnzxmvynb4lzqwieluzhvzdhjpzxmvsw5kdxn0%0d%0acmlhbcbnywnoaw5lcnkgyw5kienvbxbvbmvudhmvu29sdxrpb24gtwfwic0gsu0mqyymdgl0bgu9%0d%0au2vydmljzsbdb25maxjtyxrpb24guhjvy2vzc2luzyymdmlydhvhbd10cnvl?prtmode=print
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/business_maps/guid/eg1slxvyat1odhrwoi8vzxn3b3jrcgxhy2uuc2fwlmnvbs9zb2nvdmlldy9ty3bnzxquyxnw%0d%0ap3bhy2thz2vpzd0mdmlldz1zbwnyzw5kzxiyjmlkptvgnta2odnfmuy0mdngnjhfmtawmdawmdbb%0d%0amte0qui2jiz4c2wtymfzzt1odhrwoi8vzxn3b3jrcgxhy2uuc2fwlmnvbs9zb2nvdmlldy9ty3bn%0d%0azxrfbwltzs5hc3a/dxjspxnkbl9uzxcvjiz3zwitdxjspwh0dhbzoi8vzxn3b3jrcgxhy2uuc2fw%0d%0almnvbs9zb2nvdmlldy9ty3bnzxrfbwltzs5hc3a/dxjspsymehnslwxpc3q9c2rux2dlbmvyywxf%0d%0acmvuzgvylnhzbhq7c2rux2xpbmtyzxdyaxrpbmcuehnsddtnzw5lcmf0zuhutuxfu0rolnhzbhqm%0d%0ajnbhy2thz2utawq9jizyzxnvdxjjzxr5cgu9c2rux3nvbhv0aw9ux2nvbxbvc2vyx2z1bgxwywdl%0d%0ajizwyxjlbnrssuq9l3dlymnvbnrlbnqvd2vicgfnzxmvynb4lzqwieluzhvzdhjpzxmvsw5kdxn0%0d%0acmlhbcbnywnoaw5lcnkgyw5kienvbxbvbmvudhmvu29sdxrpb24gtwfwic0gsu0mqyymdgl0bgu9%0d%0au2vydmljzsbdb25maxjtyxrpb24guhjvy2vzc2luzyb3axroienstsbnb2jpbgugu2vydmljzsym%0d%0admlydhvhbd10cnvl?prtmode=print
    Service Order
    http://help.sap.com/saphelp_crm40/helpdata/en/ba/cce672a79c634098ce4322b90e9071/frameset.htm
    Hope this helps.
    Thanks,
    JituK

  • Service Order - Automatic proposal of services

    Dear Experts,
    For a service order, for a specific item say "Engine" I should automatically propose the following service operations.
    000001:     Engine
         0001:     Change out engine
               0010 :     Remove all electrical connections     4 hr     2     8hr
                0020:     Disconnect Fuel System          2hr     2     4hr
         0002:     Oil change
               0010:     Remove plug and Drain oil          2hr     1     2hr
               0020:     Re-install oil plug          1hr     1     1hr
    To be more clear,
    For Engine, we have two services proposed automatically
          1) Change out engine
          2) Oil change
    If I select Oil Change, the following services are proposed automatically,
        0010:     Remove plug and Drain oil          2hr     1     2hr
        0020:     Re-install oil plug          1hr     1     1hr
    How can this request be acheived.
    Regards,
    Kanthimathi

    Hi,
    You can have a look at the following short video which demonstrates the Product Proposal Functionality about which you are talking.
    [SAP CRM 7.0 - Integration of ERP BOM Information in the CRM Product Proposal|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90ba6669-e7cc-2b10-aba3-9972fb3114f3]
    [Product Proposals in the Interaction Center|http://help.sap.com/saphelp_crm40/helpdata/en/04/753fe6e3e800409ca5bfdfa24849fd/content.htm]
    [Product Proposals in Sales Transactions|http://help.sap.com/saphelp_crm60/helpdata/en/47/46ef11ea211a52e10000000a1553f7/content.htm]
    Hope this will help.
    Thanks,
    Samantak.

  • Service order in PCUI

    Hi,
    In Service order standard PCUI application, when the user clicks create, it displays a list of Transaction types, i want to remove that pop-up window, and assign a default transaction type to that.
    Then in Sold To Party field, i want to fill the BP based on the user id logged in. Using the sy-uname, i can fetch the user id from portal to PCUI and i can get the BP of that user. How to set this to the Sold To Party.
    Can anyone give some idea about how to handle it.
    Thanks & Regards,
    Karthik.

    Hi,
    Here's my approach:
    1. Implement CRM_ORDERADM_H_BADI Business Add-In.
    2. Check if you are creating the Service Order (IS_ORDERADM_H_WRK-CREATED_AT is equal to 0).
    3. Get user Business Partner.
    4. Call CRM_ORDER_MAINTAIN funtion module with IT_PARTNER* and CT_INPUT_FIELDS** to maintaint the Sold to Party.
    Example record you must insert
      s_partner-partner_no         = User assigned BP
      s_partner-ref_guid           = IS_ORDERADM_H_WRK-guid
      s_partner-ref_kind           = 'A' " Header
      s_partner-ref_partner_handle = 1
      s_partner-kind_of_entry      = 'A' " Auto
      s_partner-partner_fct        = Sold-to-party partner function
      s_partner-no_type            = 'BP'.
      s_partner-display_type       = 'BP'.
      s_partner-mainpartner        = 'X'.
    Example record you must insert
      s_input_fields-ref_guid      = IS_ORDERADM_H_WRK-guid
      s_input_fields-ref_kind      = 'A'
      s_input_fields-objectname    = 'PARTNER'
      s_input_fields-logical_key   = 1
      s_input_fields-field_names[] = [DISPLAY_TYPE,  KIND_OF_ENTRY, MAINPARTNER, NO_TYPE, PARTNER_FCT, PARTNER_NO].
    Hope it helps,
    David
    (i can't help with yout other query)

  • Process for adding no cost item to Service Order and show on invoice SM

    We want to put a non-cost item on a service order without having to put a $.01 value on them.  We might  purchase a box of bolts at a hardware store with a purchasing card and just expense items.  We add the bolt as a line item on our Service Order to charge customer some amount.  But we do not have a cost on the item.  To put a bogus $.01 cost  value on the item and have it show up in COPA and in the GL makes the data incorrect. It is our understanding that to pass an item on the service order through process related billing to the invoice it has to have a cost or it does not show up on invoice.   How do other folks deal with putting a no cost item on service order?

    Hi,
    I have tried everything, still its not working.
    First I tried creating a Service Ticket and adding the line item at one go.Then I was getting status error:
    System error: An attempt has been made to create a status object
    with the object number DE20131333937DF180C5001372F65D25.  However,
    a status object with this number exists already.
    Code sample given below:
      CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
        TABLES
          header          = itab_header
          item            = itab_item
          partner         = itab_partner
          status          = itab_status
          text            = itab_text
          return          = itab_return
          service_os      = itab_service
          input_fields    = itab_input_fields
          created_process = itab_created_process.
    Then I tried creating a service ticket first and adding item later.Then there was no dump, but item details are not getting saved. Code sample given below:
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_product_i      = lt_product_i
        CHANGING
          ct_orderadm_i     = lt_orderadm_i
          ct_input_fields   = lt_input_fields
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
    Can anybody please help me out on this? What is the correct approach?
    Thanks and Regards,
    Rohit

Maybe you are looking for

  • HT1495 Syncing multiple devices on the same computer.

    There are 2 phone and an itouch that get synced to the same iTunes, 2 are under the same apple ID, the other is different. The music is an easy fix on syncing the different devices, but there is an issue with the apps. The apps on the itouch automati

  • Poor restore performance with MaxDB 7.6.04.15 and HP Data Protector 6

    We encounter severe problems with the MaxDB integration in Data Protector 6. While the backup is finished in two hours (LTO4), the restore takes 9-12 hours. The source system has the following specs: CPU: 4x QuadCore RAM: 48 GB Cache Size: 25 GB db s

  • IPOD Not Recognized Correctly by Windows

    3rd generation Nano ... worked fine until upgraded I-tunes to 7.6.1.9 ... now device manager sees IPOD but shows yellow balloon and exclamation point. I-tunes does NOT see the IPOD. Followed instructions in Apple article 305136 to uninstall and re-in

  • Freqeuent CS4 Crashes-Troubleshooting help needed

    Constant crashes in Illustrator CS4 on a Mac are driving me crazy. I've done endless searches, tried many remedies and all have come up empty. Is there any way to use the crash logs or something to narrow this down (better yet, solve it)? Details: Il

  • Wrong date and time in apple's mail client

    All mails in my inbox are displaying date at 1429 a.c. Although through my web gmail interface, dates are correct the mac client is fault. I also tried with Thunderbird e-mail client and i also get wrong date and time. I checked the date and time pre