CRM - Bapi for creating relationship between BPs with sales area data

Hi
I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
Example - I would like to create relationship type CRMH03.
Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
Does anybody know such a bapi?
Regards
Radek

Hey Radek,
I am actually looking for the same functionality. Were you able to find a solution although no one replied to your question in this thread? If so, it would be very helpful for me to know. Maybe you have to combine more BAPIs in order to add the organization information to the relationship. But I have no idea how.
Best Regards
Mirko

Similar Messages

  • Bapi - relationship on BP with sales area data - urgent

    Hello,
    I am still looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    regards
    Radek

    Hi,
    U can implement the FM accordingly :
    declare the data.
    DATA : LT_NEW_ENTRIES TYPE STANDARD TABLE OF BAPIBUS1006_SALES_AREA,
    LW_NEW_ENTRIES LIKE LINE OF LT_NEW_ENTRIES,
    LT_RET TYPE TABLE OF BAPIRET2..
    *Assign the required values
    LW_NEW_ENTRIES-SALES_ORGANIZATION = 'O 50000000'.
    LW_NEW_ENTRIES-DISTRIBUTION_CHANNEL = '01'.
    CALL FUNCTION 'BUPA_PFCT_ADDFUNCTION'
      EXPORTING
       IV_PARTNER1           = '0000000569'
      IV_PARTNERGUID1       =
       IV_SALES_AREA         =  LW_NEW_ENTRIES
        IV_BPFUNCTION         = '00000004'
       IV_PARTNER2           = '0000000568'
      IV_PARTNERGUID2       =
      IV_STANDARD           =
       IV_TESTRUN            = ' '
       IV_X_SAVE             = 'X'
    TABLES
       ET_RETURN             = LT_RET
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'.
    Hope its useful.
    Regards,
    Shwetha.

  • Can u tell me any bapi to create the purchase req with sales order as refer

    can u tell me any bapi to create the purchase req with sales order as reference?

    Hi Mukesh,
    You can use 'BAPI_REQUISITION_CREATE' for the purchase requisition creation if through transaction, you use transaction ME51N for creating the purchase requisition.
    Cheers,
    Sujay

  • Create Account with Sales Area data

    Hi,
    Can we create new account in account identification in Interaction Cetner with Sales area data?
    We need to create accounts(Sold to party, customer, consumer) in the call center and subsequently service orders will be created for the new account.
    Regards,
    Shridhar
    Edited by: Shridhar Deshpande on May 31, 2011 3:52 AM

    Hi ,
    You can create the organisation information in CRM using transation ppoma_crm. Please take a look at this link for some more information
    http://help.sap.com/saphelp_crm50/helpdata/en/56/0d4e3cb7f4d83ee10000000a114084/frameset.htm
    Thanks & Regards ,
    Anita

  • BP Relationship with Sales Area Data

    Hi,
    I am trying to create BP relationships with Sales Area Data and partner functions using FM BAPI_BUPA_PFCT_ADDFUNCTION, however, I am unable to do so because the chose partner function is time dependent. When I try to create the same relationship from the tcode BP, I am able to do so.  BAPI_BUPA_PFCT_ADDFUNCTION is not called in this case. Can anybody tell me which FMs are used so that I can use the same in my custom development.
    Thanks,
    Sarat

    Hi,
    U can implement the FM accordingly :
    declare the data.
    DATA : LT_NEW_ENTRIES TYPE STANDARD TABLE OF BAPIBUS1006_SALES_AREA,
    LW_NEW_ENTRIES LIKE LINE OF LT_NEW_ENTRIES,
    LT_RET TYPE TABLE OF BAPIRET2..
    *Assign the required values
    LW_NEW_ENTRIES-SALES_ORGANIZATION = 'O 50000000'.
    LW_NEW_ENTRIES-DISTRIBUTION_CHANNEL = '01'.
    CALL FUNCTION 'BUPA_PFCT_ADDFUNCTION'
      EXPORTING
       IV_PARTNER1           = '0000000569'
      IV_PARTNERGUID1       =
       IV_SALES_AREA         =  LW_NEW_ENTRIES
        IV_BPFUNCTION         = '00000004'
       IV_PARTNER2           = '0000000568'
      IV_PARTNERGUID2       =
      IV_STANDARD           =
       IV_TESTRUN            = ' '
       IV_X_SAVE             = 'X'
    TABLES
       ET_RETURN             = LT_RET
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'.
    Hope its useful.
    Regards,
    Shwetha.

  • Find a bapi for Creates a Goods Receipt with correspond to Inbound Delivery

    hi expert!
    exist a bapi for tcode:MIGO_GR ( Goods Receipt with correspond to Inbound Delivery)
    i know one bapI  BAPI_GOODSMVT_CREATE can Creates a Goods Receipt,
      but i can't know to use it to Creates a Goods Receipt with correspond to Inbound Delivery.
    or other bapi exist for MIGO_GR?
    Best Regard!

    Hi Vatcan,
    Chek the Inbound Delivery 1st weather you refer the right PO in it
    You can also chek in  PO i
    1 Me23n Go to confirmation tab here you can see the  Inbound delivery  quantity
    2 Chek  which reference document you recived the goods,  (i.e You recived the goods with reference to PO or  Inbound delivery)
    2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
    And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods

  • BP Replication with Sales Area Data

    Hi all,
    We are having an issue with BP replication from CRM to R3. The issue is that when we create a new BP and add sales area data to this Sold-To business partner, the BP is replicated to R3 all blanked out. There is no name, address or any data that is replicated. However, if we create a new Sold-To business partner and do not maintain any sales area data, the replication works as expected. Any ideas?
    Thanks in advance. Points will be awarded for helpful responses.
    Message was edited by:
            John S

    Yes, the sales area exists in both systems but I get errors for both scenarios...
    When I create a sold-to BP in CRM and maintain Sales Area Data, the error I get is "Business partner #### does not exist as customer, change not possible" (XR012). In the extended data part, there are two entries under Partner table. The first entry appears to be the Update to include sales area, and the second entry appears to be the Insert of a new customer. However, this new customer uses the Reference Customer information.
    When I create a sold-to BP in CRM without Sales Area Data, I get "Updating could not be completed" (S&150). In the Partner table there is one entry and it contains an Insert for the new customer with all of the new data (no reference customer info in there).
    Any ideas?

  • 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

  • IC Web Client: Create BP with sales area data

    Hello Everyone!!
    Is there a way to create BP with sales data information using IC Web Client without BAdI implementation to fill sales data? Any IMG configuration?
    Thank you,
    Alexandre Menezes

    Dear Alexandre,
    You can use template (configuration) for this.
    CRM->Master Data-> Business Partner-> Templates->Enhancements->Define Template Types for Business Partner
    Thanks,
    Atin
    <b><b>Reward points if it helps.</b></b>

  • Bapi for creating message type in a sales order

    Hi, I am involved in a IS-MAM project for an italian company.
    I need to create or add a message output type in a sales order in a complex batch program. I thought to use a bapi technicality; in particular BAPI_ADMGMTSO_CHANGE in order to change the document.
    How can I create message type in the order? Can I use the same bapi or I need of an other one?
    thanks in advance for your help
    Lucia

    Can you please provide more information...

  • Bapi for creating Sales Area data on Relationship

    Hi,
    I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    Regards
    Radek

    hi
    try using these
    BAPI_BUPA_CREATE_FROM_DATA
    BAPI_BUPA_RELATIONSHIP_CREATE
    best regards
    ashish

  • BAPI for Creating a PM order(iw34) with reference to a Notification

    Hi All,
    Could anyone help to find the BAPI for creating a PM order with reference to a notification Number.
    I will explain my requirement :
    I want to create a notification from an external Application where i got the BAPI BAPI_ALM_NOTIF_CREATE and keeping this created notification number as Referece or for this notification number  i need a create a PM order.Usually this process in done transaction IW34 in R/3.
    But with the BAPI BAPI_ALM_ORDER_MAINTAIN i can create a PM order but this BAPI doesn't have a input parameter "Notification number ".So i can't use this BAPI.
    Could any suggest for a BAPI where i can create a PM order with reference to a Notification Number.
    Regards,
    Sid

    Hi,
    I have tried with the FM CO_IH_ORDER_GENER_2 but when i executes it gives a error message
    "<i>Service/maintenance order type PM02 not completely maintained in plant
    Message no. IW216
    Diagnosis
    For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
    Procedure
    A check control must be maintained for this combination of order type and plant</i>"".
    And even have a doubt what to enter in this input parameter "GEWRK_OBJTYP"  .
    Kindly help me to solve this issue.
    Regards,
    Sid

  • BAPI for creating sales scheduling agreement

    Hi All,
    I have a scenario where i need to create a sales scheduling agreement using VA31. I have tried using a function module "SD_SALESDOCUMENT_CREATE". I am able to create the document by inserting the correct data in "SALES_HEADER_IN", "SALES_ITEMS_IN", "SALES_PARTNERS" and using the update flag as " I ".
    When I try to insert data in "SALES_SCHEDULES_IN" the function module returns error message "No schedule line category could be determined during quantity adjustment".
    please provide help in finding out the right procedure for creating the scheduling agreement with schedule lines data.
    Regards.
    Anurag

    Hi,
    Did you shown this to your functional team.
    Regards,
    Madhu.
    Edited by: madhurao123 on Nov 21, 2011 3:29 PM

  • Customer sales area data not replicated to CRM

    Hello,
    I'm setting up the data replication model for master data based on configuration guide C03.
    We have the following customer master situation:
    existing customers with nr range 500000 - 599999 and account group A are created in ERP and replicated to CRM.
    new customers with nr range 600000 - 699999 and account group B are created in CRM and replicated to ERP.
    PIDE settings are fine.
    The initial download of CUSTOMER_MAIN en CUSTOMER_REL went well. I've set a filter in CUSTOMER_MAIN on field KUNNR: value between 500000 - 699999. Everytime a sold-to business partner is created in CRM or a customer is created in ERP, the data gets replicated to the other system.
    So far so good.
    But here comes the problem: when I assign a sales area to a customer created in CRM (nr range 600000-699999) in ERP, the sales area data is NOT replicated back to CRM. When I assign a sales are to customer created in ERP (nr range 500000-599999) in ERP, the sales area is replicated back to CRM.
    Do I have to run BUPA_MAIN? I don't think so, because sold-to business partner are already replicated to ERP.
    Is the filter in CUSTOMER_MAIN not good? Should I split the nr ranges into 2 rows: 500000-599999 and 600000-699999 instead of 500000-699999
    System environment:
    CRM 7 EnhP2 (CRM RDS)
    ERP 6 EnhP6
    Kind regards,
    Koen

    Hello,
    I found the problem. The PIDE was not set up completely: I only set the account group for ERP customer in the 'R3-->CRM' dialog structure. I've added the account group for CRM customers as well, and now customer data of CRM customers added in ERP, is replicated to CRM.
    Cheers

  • BAPI for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

Maybe you are looking for