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)

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

  • Tax condtions are missing in service order

    HI all,
    when I am creating a service order in PCUI  all the tax conditions for the service material are getting
    determined in the document.But after changing the userstatus to technically complete and after
    maintaining the MOP  in the service orderand saving the document   Billing document is generated  this
    is a scheduled job. After billing document is  created tax conditons are missing in the service order.
    Can anyone guide me  what could be the possible reasons for this?
    Regards
    Sreedhar.B

    Hi dear,
    Refer this oss notes note 1240153 and note 1141723, think it will help u

  • Service order PCUI Config CRMD_BUS2000116

    HI Gurus,
    In the service order PCUI application i.e crmd_bus2000116, under the billing tab (header level), we need to add the field PAYMENT_METHODS.
    Please let me know the configuration required for the same. I tried doing this through CRMC_BLUEPRINT_C but no success so far. Please be as detailed as possible. Your help is really appreciated.
    Regards,

    Dave,
    We had the same issue in the Service Confirmation Application(CRMD_BUS2000117). The feature to edit the ship to party address is available in the SAP GUI ,but it is was not available in PCUI.
    You can amend the Ship to party address under the partners tab by adding the following entry in customizing. It worked for us for service confirmation.The following entries will allow the maintenance of the address in CRMD_BUS2000116 application for version 0001 :
    Entry 1:
    Application CRMD_BUS2000116
    View <<<<< Your own view if relevant
    Version 0001
    Event S1O_HD_PARTNER_ORG
    Position
    Screen Variant
    Scrn Elmnt Typ MULT
    Field Group ADR_DETAIL
    Toolbar Group ADR_DETAIL
    Tab Page Group BTX_ADDR_H
    Search Grp
    Viewset Group
    Step Group
    DocuClass
    Object ID
    Structure Name CRMT_BSP_ADDRESS
    Entry 2:
    Application CRMD_BUS2000116
    View <<<<< Your own view if relevant
    Version 0001
    Event S1O_IT_PARTNER_ORG
    Position
    Screen Variant
    Scrn Elmnt Typ MULT
    Field Group ADR_DETAIL
    Toolbar Group ADR_DETAIL
    Tab Page Group BTX_ADDR_I
    Search Grp
    Viewset Group
    Step Group
    DocuClass
    Object ID
    Structure Name CRMT_BSP_ADDRESS
    It has to be added using transaction crmc_blueprint_c under
    the "Define Application Layout" customizing.
    If you use a specific view, do not forget to add it to the two entries in the VIEW field.
    Try adding the first entry first and see if it works.Second entry might not be needed.
    Thanks
    Swami.
    Reward points if it helps.

  • Append Structure for Service Orders

    Dear Expert
    I would like to add the "changed by" field in the General Data Tab of Service Order.
    For that, I appended the following structures: CRMT_BSP_SRV_OIC_SRCHRES and CRMT_BSP_SRV_SEARCH with the cahnged_by field as defined in  CRMD_ORDERADM_H.
    After that, I was able to add this field in the field group and generate the layout successfully. Now this field is displayed within PCUI but not populated.
    What is missing?
    Thanks in advance for your help
    Best regards
    Stephanie

    Hi Stephanie,
    You have to populate the field in the Model access class associated with the screen.
    Reward if helpful.
    Regards,
    Naveen

  • Authorization for Warranty Maintainance in Service Order

    Hi,
    I am working on CRM 5.0.When user is creating service order at item level under warranty tab, there is option for maintaining the warranty and accounting indicator manually.
    I want to restrict the user from doing it.Can anyone suggest some solution for the same.
    Pls suggest any authorization object instead of Badi's..
    The same should be applicable for PCUI as well.
    Thanks,
    PePe

    Hi,
    If u manage to get related authorization object for fields of warranty tab then also i m not sure with using same object u can control from portal (PCUI).
    Better bet is to create new bliview for u r transaction and hide or make fields read only which u want to restrict.
    Also refer below link for better understanding.
    Authorisation Object to Restrict user  for Manual Wty assignment in Service
    Regards,
    DD's

  • Searching for Service Orders in the Archive in CRM 5.2

    Hi,
    I am trying to enable Searching for Service Orders in the Archive in CRM 5.2, in CRM 2007 this is done by a button being provided as standard and the user is able to toggle between views from the advanced search to search in the Archive. This also comes as standard in PCUI for the 5.0 version. But for the life of me I can seem to find how to do this in 5.2 without having a developer write code to enable the search in archive flag of the BTQuery1O  we are using the component BT116S_SRVO.
    I am trying to use the Archive Search function in SAP WebUi 2006s(5.2) to search for Business Transactions stored on the Archive fiel system.
    Thanks for all your help in advance,
    Kinika

    hi..
    we are also using KO8G and settling orders through background processing. In parametres there are options for period, year etc for selection.
      I could not understand ur problem. you creat a variant for orders to be settled. if you ar not getting the parameters in KO8G cosult ur ABAP consultant to get it.
    kkb/dsp

  • 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 type creation

    Hi,
    I want to create a service order type. We dont have any requirement to create any service notification for it.
    Could any one please tell me is it necessary to create a service notification before a service order.
    Thanks and Regards

    Hi
    No there is no nedd to create service notification before order creation but in real time this logic will not apply before you have to craete the notification.
    But if u want to just check this concept then u can eaisly create a order without creating notification
    Thank & Regards

  • Auto creation of service orders from service plans using action management

    Hi,
    We are using service plan products in service contracts where in serviceorders are created according to the plans for the duration of the contracts according to the defined frequency.
    The processing for the action is set as "Immediate processing" so that the order is created the moment the deadline is reached. The order is created using the method "CREATE_ORDER_SRVPLAN".
    The contract is created and released and with all the line items (including the service plan line items). The schedule condition is such that => all the orders due in a particular month are created on the first of that month. e.g. plan orders for 15.01.2009, 30.01.2009, etc (i.e.,all the orders due in Jan 2008) will be created on the 01st of Jan 2008.
    As per this definition, the relevant actions get scheduled, BUT DO NOT GET EXECUTED. The moment I just go to the edit mode in the document and save (without making any changes) the action gets executed and the service order gets created.
    The requirement is that the moment the deadline is reached the action should get executed and there should be no need to edit the contract since the processing is kept as immediate.
    Please advice further.
    Warm regards,
    DP

    Hi Cenk/Pepe,
    Thanks a lot for the response.
    I did schedule the report and it gets executed as per the schedule. But it does not execute the actions. As a output it just logs "3 actions selected". What I want is that it should actually go ahead and execute these actions and not just select them.
    Kindly advice on the same.
    Regards,
    DP

  • Automatic Creation of Service Order

    Hi
    What config settings do I need to maintain in order for servce orders to be generated automatically during the creation of disconnection documents.
    I have created service objects in Work Management, but the service orders are not created.
    Thanks

    Hope you have mentioned the order type while maintaining the Service Object in OISC.
    Regards,
    Rajini.

  • Transaction type not found while creation of service order/ticket

    Dear All,
    I had done all basic configuration of CIC but i am not able to create service order and service ticket.
    When i trying to create i am not able to find any transaction type but if i want to create follow-up document from CIC screen then i am able to create both the thing. I am not able to find out where is the  problem. can any body help me out.
    Thanks & regards
    Neeraj

    Hi Francis,
    Thanks
    I am on Interaction Center WebClient 2007.
    I have already done the configuration and Transaction type is popping up for selection screen but once i select the transaction type then system automatically canceled the transaction "Transaction Cancelled"
    But in the same time if i am trying to created follow-up transaction with reference to previous transaction then i am able to created service ticket/service order.
    what could be the problem?
    Regards
    Neeraj

  • Creation of service order from campaign element

    Hi,
    We have a requirement where service orders are to be created for all those business partners who responded to the campaign. We are using standard service order type SVRO. We have set up campaign automation by creating campaign and element, assigned target group, set decision point (rule & condition) to split target group in two; one for those who have replied to campaign and others who have not replied. These target groups are also linked to other campaign elements within the campaign.
    The question is, how to create a follow-on transactions such as service orders through campaign, so that one service order gets created for each successful BP from campaign result?
    Thanks in advance for your advice / suggestions.
    Regards
    Umesh
    Edited by: Umesh Singh on Sep 30, 2009 6:36 PM

    Hi Shatnhala,
    Thank you for your help. I'll try this and will come back to you.
    My further requirenment is to re-trigger pricing to upade latest price information on these service orders and then to create and send letter to all those customer with price informations. Can I use the same workflow with different steps to complete all these task?
    Also, how will these service orders (created through workflow) be linked with the campaign? Is their a way to link one campaign with many orders?
    Thanks
    Umesh

  • Service order creation using bapi with repair order number

    Hi experts,
    Pls suggest me a BAPI to create a service order for those repair orders where a PGR has been done(for return delivery type : LR).
    The plant should be 0260 with storage location wh01 and item category ZRRE
    Creation of a service order with repair order type SM03 is not allowed in iw31.
    thanks and regards,
    Vijayb.

    Hi prakash,
    Thank u for the BAPI
    But an error is being displayed saying that the REFURBISHMENT ORDERS CANNOT BE PROCESSED USING BAPI.
    ERROR DURING PROCESSING OF BAPI METHODS.
    This is while u pass the order type as either ZM03 or SM01or SM02 or SM03.
    pls help me on that.
    thanks and regards,
    Vijayb.

  • 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

Maybe you are looking for

  • Safari won't open on my macbook pro and freezes.

    The browser opens but the page is blank, if i try and do anything it freezes straight away and i have to force quit does anyone know how to fix this?

  • Accrual/Deferral Accounting

    Hi all Do anybody have Accrual Accounting Config. and End USer manual? Thanks in advance Ravindra Sane

  • Integrate SAP DMS with SAP CRM

    Hi Experts. I'm currently performing an analysis to evaluate if SAP CRM and DMS are the ideal tools to replace a legacy system which has workflow and document management capabilities. Thus I've been consulting the Documentation at http://help.sap.com

  • Account error  "already in use".

    When adding an email address to messages settings, and the verify fails with the message "already in use", what are common reasons for this. This is an aol account, which works fine.

  • I Bought Itunes Tv Shows,They say there not in the format

    I have a 160 gb ipod classic, and i recently bought two episodes of a tv show and when i try to sync them onto my ipod,it says it cant be played in this ipod because its not in the right format. Its Mpeg-4 it HAS to be able to play in it,idk what to