CRM To ECC Sold to party Communication Details Not populated in ECC

Hi All
i have one problem when we create sales order through crmd_order we need to give sold to party and ship to party numbers suppose like
8000002166 for both and status i keep as order created and in partner tab i i seem all partner funtions(sold to, ship to ,bill to, payer)with 8000002166
in header overivew i given posting date as feature date like 30-09-2013 then i try to save this order.
the order generated sucussfully but problem is i am not getting sold to party details in ECC when i check VA03 And open cretaed order in CRM and clicking on sold to party and i seem details for this but i am not getting communication details like telephone number and email id extension number.
for this sold to party we already maintained all communication details in CRM.When i open this sold to party BP i am able to see all details
didnt understand why these details not replicated to ECC?
We implemented one custom class there we implemented badi.
IF_EX_CRM_DATAEXCHG_BADI~CRM_DATAEXCH_AFTER_BAPI_FILL
i am not getting BAPI ADDRESS Table values into  CT_BAPIADDR1
how can i send communciation details to ECC For sold to party?
The code part we follow like below
TYPES : BEGIN OF t_otc,                                                        " Type to create a table with the given columns.
          bpid            TYPE bu_partner,                                       " variable of store processed business partner ID's
          otcid           TYPE bu_partner,                                       " variable of store processed OTC ID's
          otcguid         TYPE bu_partner_guid,                                  " variable of store processed OTC GUID's
          address         TYPE bapibus1006_address,
          tel1_numbr      TYPE ad_tlnmbr1,
          tel1_ext        TYPE ad_tlxtns1,
          e_mail          TYPE ad_smtpadr,
          END OF t_otc.
*&                             V A R I A B L E S                         &*
  DATA : lv_bp_payer      TYPE bu_partner,                                       " Variable To Cast the payer Id into BU_Partner data type.
         lv_partner_fct   TYPE crmt_partner_fct,                                 " Variable To Store Partner Function Number.
         lv_partner       TYPE bu_partner,                                       " Variable To Store Current Business Partner ID.
         lv_process_type  TYPE crmt_process_type,                                " Variable to Store process type.
         lv_sales_org     TYPE crmt_sales_org,                                   " Variable to store sales org. name of order
         lv_dis_channel   TYPE crmt_distribution_channel,                        " Variable to store distribution channel of order.
         lv_division      TYPE crmt_division,                                    " Variable to store division of sales org. data.
         lv_role          TYPE comt_partner_parvw,                               " Variable to store retrieved role from FM.
         lv_role_value    TYPE parvw,                                            " Variable to store the role value of Partner Functions.
         lv_otc_guid      TYPE bu_partner_guid,                                  " Variable to store OTC GUIDs for the OTC ID.
         lv_otc_id        TYPE kunnr.                                            " Varaible to OTC ID revocered from Table.
  DATA: lv_busspartner           TYPE bapibus1006_head-bpartner,
        lw_central_data          TYPE bapibus1006_central,
        lw_centraldata_person    TYPE bapibus1006_central_person.
*&                             W O R K A R E A S                         &*
  DATA : lw_address       TYPE bapibus1006_address,                              " Work Area to store address recovered for BPID.
*Start of code change for Defect 904 Fix
         lw_tel           TYPE bapiadtel,
         lw_email         TYPE bapiadsmtp.
*End of code change for Defect 904 Fix
*&                          INTERNAL TABLES                              &*
  DATA : li_otc           TYPE TABLE OF t_otc,                                   " Internal Table to Store the OTC IDs and BPS.
         li_values        TYPE          zconst_values_t,
*Start of code change for Defect 904 Fix
         li_tel           TYPE STANDARD TABLE OF bapiadtel,
         li_email         TYPE STANDARD TABLE OF bapiadsmtp.
*End of code change for Defect 904 Fix
*                       F I E L D - S Y M B O L S                         *
  FIELD-SYMBOLS: <f_orderadm>      TYPE bad_orderadm_h_mess,
                 <f_otc>           TYPE t_otc,                                   " Field-Symbol to Read the OTC TABLE data.
                 <f_partner>       TYPE bad_partner_mess,                        " Field-Symbol of Partner Table For Looping.
                 <f_bapiparnr3>    TYPE bapiparnr3,                              " Field-Symbol to Store The Row of BAPIPARNR3.
                 <f_bapiaddr1>     TYPE bapiaddr1,
                 <f_orgman>        TYPE bad_orgman_mess,                         " Field-Symbol to Read the ORGMAN table.
                 <f_values>        TYPE zcr_const_values.
*&                             C O N S T A N T S                         &*
  CONSTANTS :  lc_program_name     TYPE progname      VALUE 'ZOTC',
               lc_param_payer      TYPE paramname     VALUE 'PAYER',              " Constant to Store Payer Parameter name.
               lc_ref_kind         TYPE crmt_object_kind VALUE 'A',
               lc_req_1            TYPE zrequest_no VALUE '1',
               lc_req_2            TYPE zrequest_no VALUE '2'.
* Retrieving the general and Common Data for a Order.
  READ TABLE it_bus_trans_msg-orderadm_h INDEX 1 ASSIGNING <f_orderadm>.
  IF sy-subrc EQ 0.
    lv_process_type = <f_orderadm>-process_type.
  ENDIF.
* Reading the Orgnisation Details from ORGMAN Table.
  READ TABLE it_bus_trans_msg-orgman WITH KEY ref_kind = lc_ref_kind ASSIGNING <f_orgman>.
  IF sy-subrc EQ 0.
*   Storing the Sales Organisational Data to find the OTC_ID.
    lv_sales_org = <f_orgman>-sales_org.
    lv_dis_channel = <f_orgman>-dis_channel.
    lv_division = <f_orgman>-division.
  ENDIF.
* Retrieving the partner function number for the payer by giving requirement no 2 and rule no 1.
  CALL FUNCTION 'ZCRAN_GET_CONSTANT_VALUES'
    EXPORTING
      pi_program_name = lc_program_name
      pi_req_no       = lc_req_2
    IMPORTING
      po_const_values = li_values.
  IF sy-subrc <> 0.
    RETURN.
  ENDIF.
* Reading the value for the constant with the name as PAYER.
  READ TABLE li_values WITH KEY param_name = lc_param_payer ASSIGNING <f_values>.
  IF sy-subrc NE 0.
    RETURN.
  ENDIF.
* Retrieving the Partner ID for the PAYER.
  READ TABLE it_bus_trans_msg-partner ASSIGNING <f_partner> WITH KEY ref_partner_fct = <f_values>-constant_value.
  IF sy-subrc EQ 0.
*   Storing the current partner ID.
    lv_bp_payer = <f_partner>-ref_partner_no.
  ENDIF.
  REFRESH li_values.
* Retrieving the Partner Function Number which are to be checked for replacing with the OTC ID with request no 1 and rule no 01.
  CALL FUNCTION 'ZCRAN_GET_CONSTANT_VALUES'
    EXPORTING
      pi_program_name = lc_program_name
      pi_req_no       = lc_req_1
    IMPORTING
      po_const_values = li_values.
  IF sy-subrc <> 0.
    RETURN.
  ENDIF.
* Transferring the constant value to our table for Partner Fucntion.
  LOOP AT li_values ASSIGNING <f_values>.
* Read Partner table for Header data and the reference partner function retrieved.
    READ TABLE it_bus_trans_msg-partner WITH KEY ref_kind = lc_ref_kind ref_partner_fct = <f_values>-constant_value ASSIGNING <f_partner>.
    IF sy-subrc EQ 0.
*     Storing Current Partner Function.
      lv_partner_fct = <f_partner>-ref_partner_fct.
*     Storing Current Partner No.
      lv_partner = <f_partner>-ref_partner_no.
*     Retrieving the Partner Role (R/3) for the current partner function of CRM.
      CALL FUNCTION

The problem is in the Lotus Notes security level, not in SAP.

Similar Messages

  • CRM BP type Sold-to-party Sales Area Data button not displayed

    Hi Gurus,
    Currently we are in the system preparation stage, but there's a problem in BP maintenance. For the BP type Sold to Party, the sales area data button is not showing up in the button bar with the General data. I only can see General data and Relationships here.
    The sales area has been maintained in the system already and can be displayed in the reference bp. Not sure any config will affect.
    Appreciate if anyone can give me a clue.
    Rgs, Michelle

    Hi,
    If you have chosen the role, and the button is not coming up following could be the possibilities:
    1. It might sound funny but it is a possibility that You might ALREADY be in the Sales Area data screens. Check if the "General Data" button is active. if it IS active then you ARE in the Sales area data.
    2. If not 1, above, then check the authorisation for the id to create BP for Sold to party and / or Sales area.
    3. Still No, then check if the screen config for creating BP is std or its a customised one wherein maybe the button has been rendered inactive. You can check by taking an existing BP who might already be a sold to part for a sales area. If this is your first case for a Sold to party then you might look at the screen config for sure.
    Do write back if you still need help.
    Regards,
    Tariq

  • Sold to party refernce data not synchroning properly

    Hi Guys,
    Today I came across a new issue...
    In CRM order we have External reference to sold to party. Here we enter PO number at header level and it will synchronize to R/3.with out any problem.
    But when I try to change the PO Number in R/3 order at header level, that value is not synchronizing with CRM header level,
    Only for Billed Itemu2019s PO number is getting changed for remaining items it remains unchanged.
    Is it standard behavior of system or is there anything we need to change?
    Please help me on this,
    Thanks & Regards,
    Shaik

    Hi Shaik,
      Please check the filters in SALESDOCUMENT middleware adapter object in CRM. If proper filters are not in place, it will not send the changes from ECC to CRM.
    //Bhanu

  • Sold-to-party Text data not getting displayed; Urgent

    I am current using a BI content 0CRM_COMP which contains sold-to-party, i have loaded this ODS, but when i view the data in bex i could only see the Key value and not the Text, even though i change the display mode to Key and Text both the columns displays only the Key value. is it because the master data is not loaded, i have also tried to load the Business Partner master data attributes and text till no use. Please help
    Note: These business partners are created in CRM and are nor from R/3

    Hi,
    Just check whether for this infoobject has master data and text option ticked or not in infoobject.
    If text option in there then search for the data scource0CRM_SOLDTO_TEXT or something like that which contain text for this particular infoobject and then laod the text for the same.
    Just got to the modelling tab -> infoprovider-> Application component in which you infoobject is present-> right click insert object as dat target-> give the name of your object this will give you data target one for master data one for text->activate data source and replicate in BW if not presen in BW-> make infosource on the text data source->make update rules for the text target and load.
    Or as Anil said sold to party is reference to customer load text into the custome with the same method iot will work fine.
    Hope it helps
    Thanks

  • Sold-To-Party description is not displaying in the Report.

    Dear Experts,
    I am facing with an issue . The issue is like,
    I am not able to see the some BUSINESS PARTNER Name in the Report. Some means arount 10 Business partner.. Instead of showing their name, its showing their Number . I am not able to find a reason , what for its coming like that ?
    When I checked in Master data table (Info object - 0BPARTNER ) , everything is  fine . Still I am not able to find the reason.
    Kindly suggest.
    Thanks,
    Utpal

    Hi,
       The changes are already loaded and and I have activated the master data too. But still, the issue is there.
    For example , These two are Business partner.  My issue is like the 2nd line. It should show the BP name.
    10062908          JAYAS  INDUS. LTD.
    10067177        10067177
    Kindly suggest.
    Thanks,
    Utpal

  • Sold to Party data transfer from Order to Notification

    Hi,
    According to our process, the person who reports a malfunction or requests service for customer can also generate the appropriate order. In Order Customizing, the indicator "Maintain Notification data on order header" is set, this enables system to immediately create a notification in the background when you create the order. Due to this, reference objects, dates, work center, etc are automatically copied from Order to Notifications as expected. However, Sold-to Party / Customer is not getting copied from Order to Notification.
    Following items have been configured:
    - Both order & notification have the same partner procedure
    - No user-exit is active
    - We do not copy the partner from the reference object(e.g. equipment) to the service order. We plan to enter the customer number directly in the service order (as the equipment is not going to have a customer/partner number)
    - "Copy Partner Functions to Master and Movement Data" customizing is activated for our partner procedure
    Any suggestions, which will enable copying of customer / sold-to party data from Order to notification through configuration.
    Thanks in advance. Please let me know if you need any further details.
    Regards,
    Avinash

    [OSS Note 546738|https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=546738]
    http://www.sapfans.com/forums/viewtopic.php?f=7&t=323195&start=0&st=0&sk=t&sd=a
    Please check the above links. Also make that partner function as mandatory for that notification type & then try.

  • Update Sold to party address to Ship to party in parties involved

    Dear Experts,
    I have problem in Development, actually my requirement is while creating the service order user will give the Sold to party number. I want to update the ship to party address as per the given sold to party in the Parties involved.
    Please guide.
    Regards
    Anandhan

    Hi Anandhan,
    Have you worked on call back event function modules earlier. Using a call back function module would be required more of coding and in your case its not necessary to use FM.
    There is another simple way to achieve this requirement. You can create a custom implementation for the badi COM_PARTNER_BADI and use the method COM_PARTNER_MERGE.
    This badi will trigger for all the partners maintained in service order, so we have pick only ship to party partner function.
    1. Check the partner function field(partner_fct)  value in changing parameters CS_PARTNER_BADI, if it is your ship to party partner function then continue with below steps
    2. Get the REF_GUID field from CS_PARTNER_BADI and
    read the document process type and partner details.  Observe below sample code
    lv_guid         = is_partner_control-document_id. "is_partner_wrk-guid.
         APPEND lv_guid TO li_guid.
         lw_object_name = 'ORDERADM_H'.
         APPEND lw_object_name TO li_object_name.
         lw_object_name = 'PARTNER'.
         APPEND lw_object_name TO li_object_name.
         CALL FUNCTION 'CRM_ORDER_READ_OW'
           EXPORTING
             it_header_guid       = li_guid
             it_requested_objects = li_object_name
           IMPORTING
             et_orderadm_h        = li_orderadm_h
              et_partner           = li_partner
           CHANGING
             cv_log_handle        = lv_log_handle
           EXCEPTIONS
             document_not_found   = 1
             error_occurred       = 2
             document_locked      = 3
             no_change_authority  = 4
             no_display_authority = 5
             no_change_allowed    = 6
             OTHERS               = 7.
         IF sy-subrc <> 0.
           RETURN.
         ENDIF.
    3. Check the process type using li_orderadm_h table.
    4. Read sold to party partner details from li_partner and pick the address fields and assign them to CS_PARTNER_BADI structure.
    Best Regards,
    Dharmakasi.

  • Need to know how to extract those Sold to Party with sales area data

    Hi,
    As in our system i need to check that for all
    sold to party existings , who are all the having the sales area data.
    how can i able to pull those Sold to Party that does not having sales area data.
    I know that the data is huge , but canot help because some of the Sold to Party maintained in CRM is without sales area data.
    I want to know that if the numbers ar ehuge it can be a customizing problem.
    Waiting for your reply
    Thanks & Regards
    Prajith P

    Hi Prajith,
    Refer to the link, might help u in getting  the BP's with sales area.
    Tables in CRM- Sales Area Data
    Hope this helps!!!
    Prerna

  • One Sold to party and many ship to party and many BP&PY

    Dear Experts,
    Please help me to resolve the issue:
    Issue is;
    I made three accounts.
    Z001: acc for SP
    Z002: acc for SH
    Z004: acc for BP
    Now what i have done, My BP and my PY are same but one sold to party which is not my BP&PY & many ship to party.
    Now, I have assign one BP customer in one sold to party with many ship to party. and when I am making sales order and selecting SP then automatically SH coming and I am selecting one then do enter.
    NOw issue is here when im entering then my term of payment is not coming automatically.
    If I select it manually and saving the sales order then i m getting commitment error.
    I already done account group assignment with BP and PY partner function in partner determination with Z004.
    Please tell me how to resolve this issue.
    Thanks
    Smith

    Commitment item error will arise if you have not maintained the Derivation Rule properly.  Take the help of FI consultant and check in TCode FMDERIVE.
    For the payment term, check in customer master as already suggested.
    G. Lakshmipathi

  • Change sold-to party VA02 - XD02 supply company code

    Hello everyone
    I am in the editing or creation mode of an order (VA01/VA02) and want to change the data of the sold-to party. Therefor i use the 'Display sold-to party'-Icon in the order (F6) to jump to the customer change dialog (XD02).
    I get the message "Customer XXXXXXXX has not been created for company code XXXX" and the message is correct, cause in the XD02 dialog the company-code field is initialized with the wrong company code.
    For example:
    The order is created for sales organization 0300 and company code 0300 and the sold-to party is also created for these. But if i jump to the 'customer change'-Transaction useing the button in the oder (F6) the sales-organization-inputfield is initialized with 0300 and and the 'company code'-field is initialized with 0100.
    While debugging i saw that the called transaction XD02 determines the company code useing GET PARAMETER ID 'BUK' FIELD rf02d-bukrs, but the parameter was never set by VA02/VA01.
    How can i teach the VA01/VA02 to supply the company code to the called transaction (XD02)?
    Kind regards
    Markus

    Hi,
    Pl clarify on the following points:-
    1> When you click F6 in sales order after entering sold to party, it will not take you to XD03 screen rather it should be VD03.  So how did you get the extension error message?
    2> Have you provided any sales org in the initial screen where we usually give order type and sales area?  From there sales org would've come in order header.  Based on the mapping of sales org to company code in SPRO, company code would ve been determined.  (Hope you have one to one mapping)
    3> If you have not provided any sales area in the initial screen, it would've prompted you to select the sales area from the available list of sales areas.
    Since you are not entering into the company code view of customer from sales order, it is not necessary to supply company code from order to XD02.
    Regards,
    P Gomatheeswaran

  • How to  convert  bill to party to sold to party

    hello...
    my client has asked to extend one customer who is in account group as bill to party( 0004) now i want to extend him as sold to party .
    can anybody please tell me about extend of a customer who are in  A/c groups ship to party
    bill to party
    payer
    i would appreciate you if i can answer as soon as possible
    cheers

    1) Go to XD07
    2) Give customer number and press enter
    3) System displays current a/c grp and asks for the new a/c grp
    4) Give the new a/c grp and press enter.
    5) Now if there is a problem with masking system throws a message that
       conversion cant be done. Masking is nothing but a field which is there in source
       a/c grp but has been supressed in target a/c grp. If you are using standards, you
       will not face this problem for a change from BP --> SP
    6) Give the additional information needed to create a sold to party that is not
        available in Bill to Party as asked by the system. This would solve ur issue
    Plz award points if helpful,
    Regds,
    Tilak Mokirala

  • Trying to add sales area data to sold to party in CRM using

    Hi all,
    i am trying to add sales area data to a sold to party business partner and i used the BAPI BAPI_BUPA_FRG0010_ADD. it executes i dont get runtime error but i get the error "invalid sales and distribution area" in return table.
    also i see that the sales area data of the sold to party is not updated after i execute my program
    can anyone tell me what i am missing
    Edited by: jessica sam on Nov 13, 2008 8:17 PM

    hey Rob i dont know if the configuration is done.but if i try to create a sold to party business partner in the screen in CRM i sales area data tab----->sales area, i find the drop down list with the values for sales organization, ditribution channel and division.
    i am able to create a sold to party in CRM and it is replicating in ECC. but if i try to display the sales area data of a sold to party that i created using the function module BAPI_BUPA_FRG0010_GETDETAIL
    it throws me an error saying invalid sales area data.
    Also i find that data is there in CRMM_BUT_LNK0021, CRMM_BUT_LNK0031 tables but not even one entry in CRMM_BUT_LNK0011
    Also i find that data is there in CRMM_BUT_SET0020, CRMM_BUT_SET0030 tables but not even one entry in CRMM_BUT_SET0010
    is some thing missing in functional configuration. the CRM guy did an intial upload from R3 and brought the sales organization to CRM.

  • Sales Order Sold-to-party becomes blank after download from ECC

    Hi
    In our project scenario we creating quotaion in CRM & then uploading it to ECC. I have activated scenario A (note 642944) so that I can change it in both systems. Now problem is when I do some change to it in ECC. The downloaded quotation contains error as Sold-to-Party becomes blank, so are Ship-to-party. I had checked BDOC, it contains one entry for partner, i.e. Payer(PF 4) and not for others. I believe this is the reason for error.
    Initially we were not using quotation or sales order download, so no initial load has been done for object SALESDOCUMENT. I have activated for it in R3AC4.
    Please help me in resolving it.
    Thanx in advance.
    Cheers
    Hits

    Hi,
    If you open the downloaded quotation in ECC in display mode, do you see the sold-to and ship-to values?
    If so, then only in the change mode the values are being lost. Am I right? In that case the partner re-determination on ECC may be causing this. Did you check the logs on ECC and CRM for any error on this issue?
    Also try creating a quotation in ECC with the same sold-to and ship-to to make sure there is no issue on ECC side.
    Reward if it helps
    Regards,
    Paul Kondaveeti

  • CRM orders with error "Do not enter a business agreement for sold-to party"

    Dear SDN'ler,
    after creating orders in SAP CRM via ISA (CRM 4.0) and uploading them to R/3 all orders are created successfully in R/3 but an error message is sent back to SAP CRM in case of ALL orders.
    Error message is the following:
    "Do not enter a business agreement for sold-to party xyz"
    Message no. CRM_BILLING011
    Diagnosis
    The field "FI-CA active" is not selected for the sold-to party 6000201 in the business master record. Since the business agreement is used in the component FI-CA, excluding the control of processes, it makes sense to enter a business agreement.
    Procedure
    Delete the entered business agreement.
    ==> Could someone please give me some more information about the mentioned "business agreement"? Where do I find field "FI-CA active" (in R/3 or CRM customer master data?)?
    ==> And how can I eliminate this error message for CRM orders in SAP CRM?
    Thanks a lot.
    Best Regards,
    Rainer Gryschka

    Please check the customising setting under following path:
    SPRO --> Customer Relationship Management --> Master Data --> Business Partner -- > Business Agreement --> Define Basic Settings
    Alternatively you may also check following customisation table using SM30 --> CRMC_BUAG_ACTV

  • How to map sold to party from crm to r/3

    If you create a BP as sold to party role and if we use that in one of the transactions in CRM and if that transaction is distributed to R/3 , we will get a new Sold to party number.Now how can we map the BP we gave in CRM with the one present in R/3.
    Thanks and Regards
    Ramesh.

    Hi Ramesh,
    Keep the number range for business partner same on both CRM and R3. You can use this number to map the Partners on both the system.
    <b>Reward points if it helps.</b>
    Regards,
    Amit Mishra

Maybe you are looking for

  • Trying to set up my phone from my iCloud acc, & won't work everytime!!

    I backed my iPhone 5s up to iCloud, then I reset my whole phone. So it turns back on and I click "set up from Icloud". After that it just says loading and then eventually it says "failed". Ive tried this many times already and it still hasn't worked.

  • Http adapter metadata in java mapping

    Hi,  I'd like to read the httpheaders in my java mapping. How can this be done? I have tried the follwing in the execute method        trace = (AbstractTrace)param.get(          StreamTransformationConstants.MAPPING_TRACE);       DynamicConfiguration

  • Vendor Treat as Customer Complicated Scenario

    Respected Sir Vendor treat as customer , i had done all settings as per vendor & customer master data. 1) Vendor treat as customer this is also one of the scenario in Dairy. when vendor invoice amount & customer invoice amount should be deducted & di

  • JTree Repaint Problem .

    I'm creating a dynamic JTree by querying th DB. The JTree has to reflect the changes if any. But the problem is that although I'm getting all the correct nodes in the JTree, the tree display is not repainted if the window is maximized or focussed and

  • Multiple selection for itemlistbox

    hi       as soon  as i click on the  itemlistbox   iam getting this exception              Gfuel  i have binded it to the data source of the         itemlistbox  and  gfuel  is the structure i am gettin it from the  backend . com.sap.tc.webdynpro.pro