Relationship  IBase with BP

Hi everybody,
When we have uploaded the relationship between BP and IBase (by a custom program), we noticed problems.
We have seen in the table IBPART that an IBase has 2 PARTNERSET with the same BP, which gives us a dump, when we go to the partners, in the transaction IB52, or when we use a function or a program which is connected with this relationship.
Someone knows how to solve this problem?
Thanks a lot.
Virginia.

Yes, but the fact is, as i have 2 partnesets with the same BP, every function gives me a dump because there is always a control on this table which contains partnerset.
When there are more than 1 partnerset, for a BP, it gives me a dump.
I need to modify the BP assigned to the set, and i don't know how to do it.
Thanks.
Virginia.

Similar Messages

  • Creation of IBASE with the XIF adapter

    Hello,
    I am trying to create IBASES using the XIF adapter (LSMW). The actual creation of the IBASE is no problem, but creating an IBASE with a partner + address connection seems not to work. In HELP.SAP there are examples of IBASE craetion with components but not with partner relationships.
    What do I need to fill in the E102CRMXIF_IBASE_PARTNER structure, does anyone have any documentation on this subject?
    Thanks advance!
    Arjan.

    Hi Arjan,
    Do you have any documentation of this process 'Creation of IBASE with the XIF adapter'. Please post it.
    Thanks in advance.
    Sameer Ahamad

  • Creation of IBase with reference to sales order for Configurable product.

    Hi Experts,
            Can any one tell me How to create Ibase with reference to sales order for Configurable Products. I know we can create this using IB63, but what i need to do in this Transaction code and what settings i need to do in SPRO.
    pls send ur replies to [email protected]
    Thank you..

    Hi
      You can create IBase using T-Code-IB53 and in there you can give Parent and child products.
    A)Define Installed Base Category and Installation Rules-CRM
    B)Define Object Families
    C)Define default settings for equipment replication
    D)Define Serial Number Profiles-ECC
    E)Txn BF31-ECC
    F)Set up attributes for individual objects
    G)Set up set types
    H)Set up category
    I)Set up views
    J)Allow reference product for IO
    I hope it helps
    If you require further help let me know.
    Cheers
    Raj

  • IBASE WITH BAPI_BUSPROCESSND_CREATEMULTI

    Hello,
    Can someone help me with this problem ?
    I use the bapi BAPI_BUSPROCESSND_CREATEMULTI to create a service order.
    The service order is created but the item IBASE is not fillled.
    How can i give the Ibase thru the bapi and in which parameter of the bapi i have to fil this.
    may someone has an example of an abap which create a serviceorder by calling the function BAPI_BUSPROCESSND_CREATEMULTI
    I used this below code but the item IBASE IS not filled
    Objects
    wa_objects-ibase_component = wa_ibin-instance.
    wa_objects-ibase-header = wa_ibin-ibase.
    wa_objects-ref_handle = '0000000002'.
    APPEND wa_objects TO INT_objects.
    iBase OBJECTS
    Input fields
    wa_input_fields-objectname = 'ORDPRP_I'.
    wa_input_fields-ref_kind = 'D'.
    wa_input_fields-ref_handle = '0000000002'.
    wa_input_fields-fieldname = 'IBASE_COMPONENT'.
    APPEND wa_input_fields TO int_input_fields.
    wa_input_fields-fieldname = 'IBASE_HEADER'.
    APPEND wa_input_fields TO int_input_fields.
    wa_input_fields-fieldname = 'PRODUCT_ID'.
    APPEND wa_input_fields TO int_input_fields.
    Can any of you tell me why is my service order being created with no IBASE ?
    THANKS
    VENKAT

    HI
    You can put a breakpoint in  BAPI_BUSPROCESSND_CREATEMULTI and try creating a service order from the transaction crmd_order and fill in the field ibase. On doing this  BAPI_BUSPROCESSND_CREATEMULTI would get triggered. crm_order_maintain also will get called in it. Just check out what all fields are being filled and cross check with the fields that you have filled.
    this should help.
    Regards
    Preeti Viswanath

  • One-to-many relationship: problem with several tables on the one side...

    Hello
    I'm having problems developing a database for a content management system. Apart from details, I've got one main table, that holds the tree structure of the content ("resources") and several other tables that contain data of a particular datatype ("documents", "images", etc.). Now, there's one-to-many relationship between "resources" table and all the datatype tables - that is, in the "resources" table there's "resource_id" column, being a foreign key referenced to the "id" columns in the datatype tables.
    The problem is that this design is deficient. I can't tell form the "resource_id" column from which datatype table to get the data. It seems to me that one-to-many relationship only works with two tables. If the data on the one side of the relationship is contained in several tables, problems arise.
    Anybody knows a solution? I would be obliged.
    Regards
    Havocado

    Hi;
    A simple way may be create a view on referenced tables:
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL>
    SQL> drop table resources;
    Table dropped
    SQL> create table resources(id number, name varchar2(12));
    Table created
    SQL> insert into resources values(1,'Doc....');
    1 row inserted
    SQL> insert into resources values(2,'Img....');
    1 row inserted
    SQL> drop table documents;
    Table dropped
    SQL> create table documents(id number, resource_id number,type varchar2(12));
    Table created
    SQL> insert into documents values(1,1,'txt');
    1 row inserted
    SQL> drop table images;
    Table dropped
    SQL> create table images(id number, resource_id number,path varchar2(24));
    Table created
    SQL> insert into images values(1,2,'/data01/images/img01.jpg');
    1 row inserted
    SQL> create or replace view vw_resource_ref as
      2    select id, resource_id, type, null as path from documents
      3      union
      4     select id, resource_id, null as type, path from images;
    View created
    SQL> select * from resources r inner join vw_resource_ref rv on r.id = rv.resource_id;
            ID NAME                 ID RESOURCE_ID TYPE         PATH
             1 Doc....               1           1 txt         
             2 Img....               1           2              /data01/images/img01.jpg
    SQL> Regards....

  • How to copy a database with all the objects and relationship but with no data

    Hello Experts
    I am here for your advise as usual, I  want to create a copy of my current database from an existing one on SQL Server 2008r2 Standard Edition, here is what I need, I want all the objects including any relationship between the objects and I do
    not need any data. I have some idea for using the general script in SSMS, but I still need you expertise advise please, thank you kindly for your help.
    Regards

    One option is to run BACKUP/RESTORE, once you have restored you run:
    SELECT 'ALTER TABLE ' + quotename(s.name) + '.' + quotename(o.name) +
           ' DISABLE TRIGGER ALL '
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
      AND  EXISTS (SELECT *
                   FROM   sys.triggers tr
                   WHERE  tr.parent_id = o.object_id)
    Copy result and paste into a query window do to run. Next:
    SELECT 'DELETE ' + quotename(s.name) + '.' + quotename(o.name)
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
    Run this result until you don't get any more errors.
    Run the first query again, but change DISABLE to ENABLE.
    This is more long-winding than scripting, particularly if you have lots of data. But you know that you will not make any changes whatsoever to the schema.
    The scripting in SSMS generally does it right, I believe, but some items are not scripted by default. If you run BACKUP/RESTORE, you know that you get a faithful copy.
    Of course, the best way is to keep your code under version control and take the version control system as your ultimate truth.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Disappointing Customer Relationship Management with V.6

    With a few add in products plugging into the desktop software would it not have been helpful/appropriate to warn that existing add-ins might not be supported in V.6 prior to starting the upgrade?
    I have just wasted several hours trying to find out why I'd lost my GoldMine/BlackBerry sync, downloading the old V.5 to downgrade, uninstalling 6 and re-installing 5. All for the sake of a simple warning message.
    A good product spoilt for a lack of fore thought. With the market really tight due to heavy competition from iphone and andriod etc you would have thought that keeping current customers happy and loyal would be paramount.
    Perhaps you would like to hire me for some CRM training?
    Roy

    I don't think it is available yet. Register for the ASUG event on the CRM 7.0 for utilities session.
    [ASUG Webcast: CRM Town Hall Meeting for Utilities|http://lists.asug.com/t/792464/25470768/54294/2/]
    You have to be a registered member of ASUG.

  • IBase linking with Account Identification

    Hello,
    Can I know the configuration involved if I'd like the Account be linked to the IBase in WebClient?
    Meaning to say, when an IBase is confirmed, it auto populates the Account information or when an Account is confirmed, the IBase related to the Account is displayed?
    Thank you.

    Hi,
    First, you need to create your Ibase and add partner information (IB52 - Change Installed Base ->Goto>Partner ). In this path, you need to complete partner with function Ship to Party and Sold to Party.
    Second, your Interaction Center Profile, need to have correct configuration for search installed base. SPRO> Customer Relationship Management> Interaction Center WebClient> Master Data> Accounts> Define Account Identification Profiles. In this path, please ensure that "Ibase search partner" has an entry (customer, contact person or both).
    After that, in IC when you select a Ibase with partner, system automatically found BP and confirm.
    Regards,
    Lyda

  • Creation of IBASE (TA IB51) with ABAP

    Creation of IBASE (TA IB51) with ABAP
    Posted: Sep 29, 2005 8:47 AM      Reply      E-mail this post 
    Hello all,
    i want to create an IBASE with Instances (Materials) with Abap.
    It is possible to create the IBASE but not to create the instances. I have always an empty IBASE without materials.
    Can anybody help me
    Thanks a lot
    Markus
    Here is my coding:
    type-pools ibin .
    type-pools IBCO2.
    data: ibib_handle type i.
    data: E_IBASE_REC TYPE IBCO2_IBASE_REC.
    data: I_IBIB1 LIKE IBIB1.
    data: I_IBIBT1 LIKE IBIBT1.
    data: matobject type ref to cl_ibase_r3_material.
    data: i_PROCESS_REC TYPE IBXX_PROCESS_REC.
    data: C_INSTANCE_TAB TYPE IBCO1_INST_TAB1.
    data: c_inst_struct type ibco1_inst_rec1.
    CALL FUNCTION 'IB_COM_NEW'
    IMPORTING
    E_IBCO_HANDLE = ibib_handle.
    CALL FUNCTION 'IB_COM2_CREATE_IBASE'
    EXPORTING
    I_IBCO_HANDLE = ibib_handle
    I_IBTYP = 'Y1'
    IMPORTING
    E_IBASE_REC = E_IBASE_REC
    EXCEPTIONS
    IB_HANDLE_NOT_DEFINED = 1
    OTHERS = 2.
    clear: i_ibib1, i_ibibt1.
    move-corresponding e_ibase_rec-com to i_ibib1.
    move-corresponding e_ibase_rec-conf to i_ibib1.
    i_ibib1-ibase = e_ibase_rec-ibase.
    i_ibib1-extid = 'externer Name'.
    *i_ibib1-authg = 'E001'.
    i_ibibt1-ibase = e_ibase_rec-ibase.
    i_ibibt1-langu = sy-langu.
    i_ibibt1-descr = 'Beschreibung'.
    CALL FUNCTION 'IB_COM1_CHANGE_IBASE_ONLY'
    EXPORTING
    I_IBCO_HANDLE = ibib_handle
    I_IBIB1 = i_ibib1
    I_IBIBT1 = i_ibibt1
    EXCEPTIONS
    IB_HANDLE_NOT_DEFINED = 1
    OTHERS = 2.
    create object matobject exporting i_matnr = '000000000000602028'.
    clear i_process_rec.
    i_process_rec-activity = '1'.
    i_process_rec-ind_valfr = 'X'.
    i_process_rec-ind_valto = 'X'.
    i_process_rec-ind_sortf = 'X'.
    i_process_rec-ind_amount = 'X'.
    i_process_rec-ind_unit = 'X'.
    i_process_rec-ind_objtyp = 'X'.
    i_process_rec-ind_objid = 'X'.
    i_process_rec-ind_serno = 'X'.
    i_process_rec-ind_plant = 'X'.
    i_process_rec-ind_batch = 'X'.
    i_process_rec-ind_revlv = 'X'.
    i_process_rec-ind_deviceid = 'X'.
    i_process_rec-ind_posno = 'X'.
    refresh c_instance_tab.
    c_inst_struct-val-valfr = '20050929080000'.
    c_inst_struct-val-valto = '99991231235959'.
    c_inst_struct-com-amount = 1.
    c_inst_struct-com-unit = 'ST'.
    c_inst_struct-objtyp = '0002'.
    c_inst_struct-object = matobject.
    INSERT c_inst_struct INTO TABLE c_instance_tab.
    CALL FUNCTION 'IB_COM1_PROCESS_INSTANCE'
    EXPORTING
    I_IBCO_HANDLE = ibib_handle
    I_IBASE = e_ibase_rec-ibase
    i_moment = '20050929080000'
    I_PROCESS_REC = i_process_rec
    CHANGING
    C_INSTANCE_TAB = c_instance_tab
    EXCEPTIONS
    IB_HANDLE_NOT_DEFINED = 1
    IB_NO_ACTIVITY = 2
    IB_NOTHING_PROCESSED = 3
    IB_INCONSISTEND_DATA = 4
    IB_INSTALL_NOT_ALLOWED = 5
    OTHERS = 6.
    CALL FUNCTION 'IB_COM_SAVE_AND_FREE'
    EXPORTING
    I_IBCO_HANDLE = ibib_handle
    EXCEPTIONS
    IB_HANDLE_NOT_DEFINED = 1
    IB_NOT_SUCCESSFUL = 2
    OTHERS = 3
    write: e_ibase_rec-ibase.
    commit work.

    Remark: We have SAP R3 Release 4.6c

  • Step for Ibase creation in CRM 7.0 using equipments from ECC 6.0

    Hi all,
    I would request you guys to share the steps which I need to follow for the download of equipments from ECC to CRM 7.0 and automatic creation of Ibase  with equiqment as Indivdual object and with details like partner etc.
    I would be happy if you guys canb share any document with steps.
    Regards
    BABU

    Hi,
    Refer the following to get the understanding the Equipment download to CRM.
    You define the default settings for replicating equipment in the IMG activity: Customer Relationship
    Management -> Master Data -> Installed Base -> Replication of Equipment from SAP R/3 Customer
    Service -> Define Default Settings for the Equipment Replication.
    For more information about the integration of different systems, see the SAP Library under mySAP
    Customer Relationship Management -> Architecture and Technology -> Business Integration -> CRM
    Middleware.
    The Business Add-In : Business Add-In: Equipment Upload (CRM_EQUI_LOAD) can be used to
    flexibly enhance the data transfer and validation in SAP CRM. The Add-In offers comprehensive options
    for influencing the mapping between equipment and individual objects
    Also refer to the following notes:
    1. Note 627279 - Serial number & configuration download
    2. Note 637173 - Equipment download/delta synchronization
    Hope it helps.
    Regards,
    Rajiv

  • IBase components

    When equipment records are created in ECC they flow thru middleware and create the corresponding comm_product in CRM. In addition, an IBase is created with the equipment as an IOBject. Let's call that product the machine.
    I need to append the IBase with the machine's components. I've created these relationships before via conversion programs but I've been tasked with having it integrated with the ECC-to-CRM flow.
    In ECC, prior to sending the data to CRM, I've tried to append entries to the table associated with BAPIMTCS. For example:
    Row     TABNAME          SEG     CURRDNO          HIERNO     PARENTDNO     
    1     BAPICUSADR     DA     6          0          0
    2     BAPICUSTEL          DA     7          0          0
    3     BAPISMJEST          DA     8          0          0
    4     BAPISMJEST          DA     9          0          0
    5     BAPISMJSTO     DA     10          0          0
    6     BAPI_EQKT1          DA     3          0          0
    7     BAPI_EQUI1          DA     1          0          0
    8     BAPI_EQUZ1          DA     2          0          0
    9     BAPI_IHPA          DA     4          0          0
    10     BAPI_ILOA1          DA     5          0          0
    11     BAPI_EQUI1          DA     11          0          1
    Row 11 is the component that I need to add to the IBase. Populating PARENTDNO with the machine's CURRDNO had no affect.
    Is what I'm attempting possible?
    Thanks
    Leo

    When equipment records are created in ECC they flow thru middleware and create the corresponding comm_product in CRM. In addition, an IBase is created with the equipment as an IOBject. Let's call that product the machine.
    I need to append the IBase with the machine's components. I've created these relationships before via conversion programs but I've been tasked with having it integrated with the ECC-to-CRM flow.
    In ECC, prior to sending the data to CRM, I've tried to append entries to the table associated with BAPIMTCS. For example:
    Row     TABNAME          SEG     CURRDNO          HIERNO     PARENTDNO     
    1     BAPICUSADR     DA     6          0          0
    2     BAPICUSTEL          DA     7          0          0
    3     BAPISMJEST          DA     8          0          0
    4     BAPISMJEST          DA     9          0          0
    5     BAPISMJSTO     DA     10          0          0
    6     BAPI_EQKT1          DA     3          0          0
    7     BAPI_EQUI1          DA     1          0          0
    8     BAPI_EQUZ1          DA     2          0          0
    9     BAPI_IHPA          DA     4          0          0
    10     BAPI_ILOA1          DA     5          0          0
    11     BAPI_EQUI1          DA     11          0          1
    Row 11 is the component that I need to add to the IBase. Populating PARENTDNO with the machine's CURRDNO had no affect.
    Is what I'm attempting possible?
    Thanks
    Leo

  • Upload IBase = IS-U: incorrect BAPI structure transferred

    Hi
    We are trying to integrate CRM 5.0 and ISu 4.72 System. Now when we are creating a Connection object in CRM. During replication in BDocs we are getting an error "Upload IBase => IS-U: incorrect BAPI structure transferred".
    I have feeling that it is related to parameter definition in MDT. But since I have never worked on this area, I don't know what should be the correct entry.
    Please help me in resolving this.
    Thanx in advance.
    Cheers
    Hits

    Hi Hitesh,
    Connection objects and points of delivery in CRM are stored as components in an IBase (Installed Base) of the category IU(technical objects for SAP IS-U).
    The following conditions apply for an IBase from the category IU.
           1.      The first component of an IBase is always a connection object.
           2.      An IBase only has one connection object.
           3.      0 .. n points of delivery can be allocated to a connection object.
           4.      Apart from the relationship between connection object ¬ point of delivery, there are no other relationships in the hierarchy.
    These conditions mean that the IBase contains a maximum of two hierarchy levels. The first level consists of a connection object, the second consists of 0 .. n points of delivery. IBases with a different structure are not valid IS-U IBases and cause errors during the upload.
    hope this will help you.

  • Problem while Creating IBase from WEB UI

    Hi,
    I am trying to create a New Ibase from WEB UI. But, alwayz the IBase category is defaulting to "Functional Location" and this field is not in Editable mode also.
    So, I am not able to create the Ibase with any other categories.
    Please do suggest to solve this issue.
    Thanks,
    Sandeep

    HI,
    Check the settings in SPRO path:Customer Relationship Management ->Master Data ->Installed Base ->Installed Base Category ->Define Installed Base Category and Installation Rules .
    Here for the Ibase category which you want to maintain chech the Maint rule.It should be set to "Maintenance Allowed Using Installed base Management"
    I think currently only for Ibase category FL this setting is maintained thats the reason its taking as default.
    Regards,
    PP

  • Creating IBase Structure

    Hi,
      The requirement is to create an Ibase Structure.
    1. First we migrate IBase . After creation then we have to create a Parent - Child Relationship.
    In this case both will be IBase.
    Parent - IBase with Z1 Category Type and
    Child - Ibase with Z3 Type.
       I am using FM - CRM_IBASE_COMP_CREATE
    Is this right. Can you tell me how to pass values to the parameters
    I_FATHER
    I_COMP_DET
    In I_FATHER - I pass the Parent Ibase Number and for I_COMP_DET I pass the Child IBase Number.
    Is this enough. Could you please let me know about this.
    Thanks,
    Anthony.

    Hi Shaji,
    Thanks for the reply..but these FM's does not exist in ECC 6.0
    regards,
    Safeer Rahman

  • Creation of IBase for Production data or sales order  in R/3

    Hi,
    My client is a locomotive manufacturing Company, They want to track the failure of parts in the locomotive  and any changes made in the locomotive during service.
    Kindly explain your thought on the following:
    1. Here Each locomotive will have an MBOM created for each sales order. We need to create a IBase equivalent to the MBOM in SAP R/3 47. Is it possible to create an IBase with reference to Production order or Sales order. Will it copy all the BOM components to IBase.
    Thanks in advance
    Manik

    Hi Madhu,
    There can be multiple reasons why it does not go to APO.
    Two of the most common overlooked points are:
    1.   ATP tick in integration model.
    2.   Activation of ATP in external system: this is done in SPRO in the data transfer section.
    Another common point is cheking rule: In SPRO see that your business event(SO) is enabled for ATP check.
    Also you can go to transaction CO09 for ATP simulation in R/3 .
    Hope it helps. Otherwise you can revert with specific questions.
    Regards
    Santanu Dawn

Maybe you are looking for