Partners from a CRM service document

Hi Guys,
I have to extract the Partners assigned to a CRM Service document to BW. The way I have been doing it is calling the "CRM_ORDER_READ" function module in the User exit and using the "Partner function" trying to populate the additional field that I had created to enhance the datasource.
But I believe there should be a better way of doing it. The issues with the way I am doing are
1. If I have some new "Partner functions" defined, then I have to extend the "extraction structure" to include those additonal ones.
2. If the same partner function is used more than once, e.g. a "resp employee" is used twice, then I cannot dynamically include the 2nd "emp resp" to be included in the extract strucuture.
So if anyone has worked on this and knows a better way of extracting the data, please share.
Appreciate your help.
Doniv

Hi
I would suggest not to use CRM_ORDER_READ because of
performance.
Instead look at the function I use (below).
Also, if you want to keep your partner at the same level as the Line or Header you will have to extend the struct.
Other wise you can load all the BP's to a seperate ODS and link them to the other ODS's (Lines and Headers).
Reg's
Edan
FORM fill_partner_info2
Find additional partner data
-->  L_STRUCT - structure of the enhanced transactional data source
FORM fill_partner_info2 CHANGING l_struct STRUCTURE crmt_bw_complaints_i
                           p_modified TYPE c.
  DATA: v_so_guid     LIKE crmd_orderadm_i-guid,
        v_partner_no  LIKE crmd_partner-partner_no,
        v_partner_fct LIKE crmd_partner-partner_fct,
        v_partner     LIKE but000-partner.
  v_so_guid = l_struct-item_guid.
  select single partner_no into v_partner_fct
    from crmv_linkpartner where ( guid_hi = v_so_guid ).
  if sy-subrc ne 0.
    v_so_guid = l_struct-guid.
  endif.
  SELECT PARTNER_NO PARTNER_FCT
  INTO (v_partner_no, v_partner_fct)
  FROM CRMV_LINKPARTNER
  WHERE ( GUID_HI = v_so_guid ) and
        ( ( PARTNER_FCT = 'ZBOOKED' ) or ( PARTNER_FCT = 'ZRTP' ) or
          ( PARTNER_FCT = 'ZYAPLAN' ) ).
    select single partner
    into v_partner
    from but000
    where partner_guid = v_partner_no.
    case v_partner_fct.
      when 'ZBOOKED'.
        l_struct-zzbook_to = v_partner.
      when 'ZRTP'.
        l_struct-zzrevenue_to = v_partner.
      when 'ZYAPLAN'.
        l_struct-zzip_planner = v_partner.
    endcase.
    p_modified = 'X'.
  ENDSELECT.
  IF ( l_struct-zzbook_to is initial ).
    l_struct-zzbook_to = l_struct-sold_to_party.
  ENDIF.
  IF ( l_struct-zzrevenue_to is initial ).
    l_struct-zzrevenue_to = l_struct-sold_to_party.
  ENDIF.
ENDFORM.                    "fill_partner_info2

Similar Messages

  • Creating Purchase Requisition/Order from a CRM Service Order

    Hello,
    My client is using CRM 4.0 with Service Industry add-on.
    I am trying to kick out a purchase requisition from a service order, but does not go through.
    The Service Order is released in CRM and an internal order does get created in R/3. The material that I am using is a service product (defined in R/3 and used in CRM) and I trying to procure External services.
    All the requisite configuration in CRM and R/3 have been done.
    I get an error message E06 436 (In case of account assignment, please enter account assignment data for Item).
    Would appreciate any feedback in this regard.

    Hi,
    I am working on the some scenario. Based on the limited documentation, it appears that you have to create a service master in R/3 that is than replicated to CRM (object SERVICE_MASTER). I did this, and this works. However, I am facing the issue that there is no sales data assigned to the service product in CRM, while you do need this (service order is not complete).
    I hope that I will have an answer for this, and then I think that it should work.
    The PO that is created in R/3 will contain an item with item category D and account assignment F (in our case, as we work with internal orders as account assignment object).
    The receipt of the service provided will then be posted by means of a service entry sheet in R/3.

  • Creating ERP Sales order with reference to CRM Service Order

    Hello all,
    I am trying to create an ERP Sales Order from CRM. If Icreate the Sales Order manually, it is working correctly but, if I try to create the ERP Sales Order as follow-up document for the CRM Service Order, it is not working.
    I have defined the Cross-system Copying of Transaction Types, byt the ERP sales order is not shown as possible follow.up doc from the CRM Service Order. Does anyone know if it is possible?
    Additionally, I would need to create CRM Sales Orders in reference to ERP Sales Order. Is there any way to do it??
    Thanks in advance and Regards,

    Hi Oliver,
    Rajendra answer is correct.
    The SAP Standard integration Scenario creates a ERP sales order for all the salesitems in the serviceorder.
    Without items no salesorder is created in standard.
    Maybe you could realize your requirement with own coding when you save a new service order or by button - click.
    I realized something similar some weeks ago. One hind:  It is helpfull to maintain a ztable where you store which CRM serviceorder is linked to which sales orders.
    Kind regards.
    Manfred

  • CRM  Service quality reports

    Hi Forum,
    I m in need of a quality report from the CRM service module, I have heard that we can get quality reports from the same.
    Can anyone please indicate whether there are any standard quality reports that can be seen from CRM service implementation or all the above said reports can be taken out as an enhancement.
    The requirement is urgent kindly share your experience.
    Thanks,
    Amit

    Hi Julius,
    Thanks got 3 reports but the major part is still left and the customer wants the reports to be developed...apart fromm the std ones
    Hence still a long way to go. Thx anyways.
    Amit

  • Is there any to recover CRM service ticket from BDOCs

    Dear SDN team,
    Some service tickets were deleted from our CRM system when I was re-processing BUS_TRANS_MSG type of BDOCs. Right now these BDOCs are kept in our CRM system in "Not Final" / "Intermediate State". The BDoc State Description is "After qRFC step(intermediate state)".
    Is there any way to recover these deleted service tickets from BDOCs ?
    Thanks,
    Shirley
    Edited by: shirley ren on Sep 4, 2010 5:07 PM

    Hi,
    Can you let me know how the Service Tickets got deleted when you reprocessed the BDOCs? Did you deleted those BDOC's? I created a Sales Order in my system and tried reproducing the same scenario. But, Re-Processing wasn't deleting the Sales Orders. You can still navigate to the Service Tickets by double clicking on them and then you can see them in the Classic and Bdoc Ext. data.
    I will also try to replicate the scenario. But let me know if you come across any more details. Also, any one order document should not be deleted from the system. It should be archived and then can be deleted after a long time. So, you can also check out with the basis consultant as to get these archiving strategy. Then you can retrieved these lost documents.
    Hope this helps.
    Thanks,
    Samantak.

  • Upload/Read Documents from SAP-CRM to/from SharePoint

    Hello ,
    We have a requirement to upload documents from SAP CRM to share point(select the document from the desktop and pass the data to sharepoint server) , the user should also be able to view the documents located in Sharepoint.
    There are web methods in SharePoint already developed which will allow the uploading of the documents and passing the location of the stored documents as URL back to CRM.
    Could any one please help me in the follwoing
    1. Configurations to do on SAP side for Calling the methods developed in Sharepoint.
    2. Configuration to pass the document from SAP CRM(Uploaded from desktop) to sharepoint.
    Thanks in advance

    Hi Ravi,
    We also have a similar requirement in which we need to read the document stored in an external server from SAP CRM. Can you please let me know know how you achieved this. I will know the exact path (URL) of the document. Using this is it possible to retrieve the content of the document.
    Regards,
    Sudha.

  • View CRM billing document from FB03 - Accounting document

    I am working with a client who creates some orders in R3 and now some in CRM.
    The orders are billed in their respective system.
    The CRM billing is then transfered via BDOC's into R3 which create an accounting document.
    However, in the environment tab, there is no original document.
    Does anyone know if you can access via some form of document flow or function module call from R3 to go direct to the CRM billing document?

    Hi Mark
    I noticed that your Forum has now been answered.  Could you please share how you resolved the issue of displaying a CRM billing document from FB03 as an "original document".
    Many thanks,
    Verity
    Edited by: Verity Watts on Aug 3, 2010 9:32 PM

  • Extract Text Types from CRM Service Order

    Hello Experts,
    I have a requirement where we need to extract the Text Types and texts from a the Item Details of a CRM Service Order.
    I know it's not ideal to have large strings of text in BW but it is needed by the business.
    Can anyone point me to the table that contains the Text Types and associated texts?
    When I F1 on the field, nothing happens.
    Thanks in advance.

    This can be done through action profile.

  • 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

  • CRM Service: Demand replication in R/3

    Hi,
    This is a case of a firm engaged in carrying out after market service for various OEM products through 3rd party agents (Channel Partners). Replacement Parts required for Service by these Channel Partners are supplied by the parent company. I have a few queries w.r.t. replication between CRM and R/3.
    Service Order is created based on end customer request. To perform the requested service, replacement components are required. Identified components are thus specified in 'Spare Parts' tab page. Inventory is maintained in SAP R/3 in a Storage Location assigned to each Channel Partner.
    (a) In what form does 'demand for components' (identified under Spare Parts) get replicated in the respective Storage Location in R/3 so that if there is any shortfall in availability, Planning can trigger procurement proposals?
    (b) If there is an 'Alternate component' available in place of the requested one, how can we issue it? Where exactly in CRM do we maintain 'Alternate Parts' at a component level for a Product (similar to BOM maintenance in R/3)? Or,
    (c) How does BOM in R/3 get replicated in CRM Relationship along with Alternate Part grouping?
    (d) Does Service Confirmation (created as a follow-up document to Service Order) post goods issue automatically in the background?
    Thanks.
    Raj

    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

  • CRM Service - ECC Logisitcs Integration (Spare Parts in a Service Order)

    Hi Experts,
    We have been trying to configure a scenario for CRM Service Orders with SAP ECC logistics integration in CRM 7.0 EHP1.
    We are aware of the standard configuration wherein we assign one logistics scenario ( Purchase Requisition or Purchase Order or Reservation) for a specific service organization & Item Category for spare parts in service order.
    Our first query : Is it standard that the spare part will be automatically reserved if it is in stock (after ECC availability check from service order) and purchase requisition or purchase order is created only if it is not in stock?
    We also understand that while a reservation happens during Service order creation, the goods issue or material withdrawal happens only on service confirmation. If this the case, how will the physical delivery happen to customer? This is our second query.
    Please note that we are raising this query only for spare part items in service order and not for sales item in service order.
    It would be great if you could help us with this issue.
    Responses will be suitably rewarded.
    Thanks,
    Prish

    Hi Pritesh,
    Thank you for your prompt reply and help, appreciate the same, we would be going for the scenario where the service order in sap crm has saleable parts, the service order would get replicated to ecc as a sales order and the costs would get booked when the post goods issue is performed after creating the delivery in SAP ECC.
    Following are the configurations done
    1) Service Order type ZRVW is created in SAP CRM
    2) The same service order ZRVW is mapped in SAP ECC
    3) The service order in SAP CRM has the following number range and the same is kept internal
    4) The same number range is marked as external in SAP ECC in vn01 tcode
    5) The number range is assigned to the document type ZRVW in SAP ECC
    6) Item category determinations are done in SAP CRM, standard SRVS(Sales items are copied to YRVS)
    7) The same item category determination is also set in SAP ECC for Item category group NORM
    8) Item category determination is also set for ERLA as item category group in ECC
    9) The item category YRVS is set to delivery relevant in SAP ECC
    10) The standard schedule line is determined which is CP is relevant for delivery
    11) The sales area is also assigned to the document type ZRVW.
    12) In SAP CRM, the status profile YCONT is assigned, having the business transaction to be distributed, the status of the same is set to allowed for completed status
    13) The status profile has been assigned to the transaction type ZRVW
    14) Pricing configurations are also done in sap crm and sap ecc
    15) Now I am creating the service order ZRVW in SAP CRM, having saleable parts, customer's and material's exist in both systems having the same sales area, the status is set to completed at item and header level
    16) The system is throwing an error when I click on edit
    17) When checked In sap ecc the system says that the document does not exist
    18 I did open the error in SAP CRM and it says that there are some settings required for billing
    Since there is no billing relevance to this scenario in the item category the billing relevance is set to no billing
    Please advice further
    Kind Regards
    Atul

  • Faxing adobe pdf forms using actions in CRM service process

    Hi experts,
    Does anybody has experience in sending adobe PDF forms as a fax using actions in CRM service processes? Currently I use this by implementing a PPF BAdI, but what else configuration, software and hardware requirements I need to make faxing work in CRM?
    Is it possible to use 3rd party software to send the fax for example winfax and transfer the fax number to this?
    Regards:
    Gabor

    Dear Dezso,
    As far as I remember, we already know each other
    Our company have been using winfax in the past for sending fax messages. Now that they will use SAP-CRM shall they buy a new fax server? I have looked after Topcall, it might be useful with RFC?
    In CRM service order, I use the EXEC_METHODCALL_PPF BAdI implementation to collect the data from the service order, and then use the standard function modules to "print" or "fax" the PDF document (call function FM_NAME).
    At this function module, which structure do I neet to enter the recipient's fax number (I read somewhere that I have to use DEVICE='TELEFAX' in the output_options - is it true?) ?
    Or should I communicate from the BAdI with Business Communication Services (create recipient and similar methods)?
    Is there any way to send the fax from the local machine where the user uses the SAP GUI?
    Thank you very much in advance for your help and support!
    Gabor

  • Synchronize Business Partner from SAP CRM - SAP ERP

    Hi experts,
    I would like to synchronize our BPs from the CRM into our SAP ERP System.
    What Ive done until now:
    1. start initial load "bupa_main" from "CRM" to "OTLP"
    2. check if everything is correct with R3AM1 - after ~ 1 hour -> done (green)
    3. I check with transaction BP in the ERP System if dates were transported - no
    4. I check the outbound queue of the CRM "SMQ1" - it seems ok
    5. Now Ive checked the inbound queue of our ERP Sytem "SMQ2" - but there is nothing - that means no queues available
    What did I do wrong.
    Ive checked both rfc connections with "remote login" and it works out. But only if my "RFCUSER" is on usertype "DIALOG". In the document C71: CRM Connectivity - the RFCUSER Usertype should be"Communication data"? Maybe thats the problem?
    Kind regards.
    Chris
    Edited by: blaxus on Dec 16, 2010 12:23 PM

    HI,
    Yes, RFCUSER dialog is not correct.
    Change to system or service.
    And that Tcode smw01 show?
    Denis

  • SAP CRM Service - Global role out

    Hi Yaa,
    We have implemented SAP CRM Service currently and the client want me to assist in roll out of SAP CRM service into other country.
    Could some one tell me what are the neccessary steps that needs to be taken into consideration .
    What is the methodology that needs to follow, does SAP provides and solution to this kind of implementation.
    I would appreciate your valuable inputs.
    Points will be rewarded for the gur's who replied me promply, this is very urgent please please advise.
    Thanks in advance
    Regards
    Vani

    Hi Vani,
    You must consider below points for new roll out in different countries.
    Initial phase is - information gathering about Master data.
    1. Setting Org model - Get the info on number of org units, positions and it's attributes. This will help you to design Org determination profile.
    2. Business Partners - Various types / Roles. Here you have to define different number range/ BP roles etc., You must also consider downloading of BPs from ECC if your landscape has it. You have to plan data migration as well.
    3. Products - Needs to be downloaded from ECC
    Transactions:
    Copy master transactions and configure them to suite business needs.
    This is in brief about new roll out.
    Remember that the success lies in information gathering.
    Rgds
    Hari

  • CRM service interval template can't be linked.

    Hi, every friends.
    I am developing CRM service function based on CRM7.0.
    I use service interval template which be linked to a service product master and use PGname : RSPPFPROCESS   to create service order from service contract. But the template do not work , and the service product master in the template can't be posted to service order.
    Could anyone give me any hint? thanks.
    Peter.D

    Thank you in advance for your help.
    I defined an service interval template named Z000000001, and in template Z000000001,  a Transaction Number of Template  6000000(it is a CRM document) was defined.
    In serveice master , i give internal template Z000000001 to a special service master. When this special service master is used in transaction document , and this transaction document is automatically followed up to a service order document by the program RSPPFPROCESS, the template  Z000000001 will be linked , and the item detail defined in the template document  6000000 will be posted to new service order document as a sub item detail.
    But, it not work. could you give me some advice about this issue?
    thanks.

Maybe you are looking for

  • RH Template Set Up

    TCS 3, RH 9.0.0.228 Word 2010 Hope you can answer some of these questions to help me setup the Help template which I am setting up for imported word documents to export to Webhelp. I have managed formatting through a combination of direct edits to RH

  • I want to work with my new id and password ....

    And i get my old apple id when I try to connect and download a new app.  My,old password does not work any longer.  How to get my new id and use my new password in the log in for the i tunes store ?,

  • 2 queries to share same selection in 1 workbook

    Dear Experts, I remember is was possible to have 2 queries in 1 workbook and use the same popup selection window for both queries. I forgotten how to do this. Please throw me some clues. Thanks. regards Pascal

  • How to transfer range parameter from vb when using bapi calling

    Hi,everyone.how to transfer range parameter from vb when using BAPI calling?

  • Delivery address at Item level and not at Header level in PO

    Hello Experts, We are facing an issue as described below:- We are in SRM 7.0 using classic scenario. After approval of multi line Shopping Cart in SRM ,PR's are getting automatically created in backend R/3 system.After converting PR's into POs in bac