CRM_IBASE_COMP_CREATE

Hi,
I am working on CRM 5.0. I am facing problem while "creating and attaching (in one go)" an Ibase into another Ibase. The steps I took are as follows
1) Create an Ibase with FM CRM_IBASE_CREATE
2) Then use FM CRM_IBASE_COMP_CREATE to add this Ibase an a component to an existing Ibase.
3) use FM CRM_BASE_SAVE
4) Commit work.
I get an error that the child installed base does not exist in database.
I looked at OSS and there is one for 4.0 though, 681392 which says exactly as below.
"If you use the APIs to create an installed base in the past and create a component immediately afterwards without saving the installed base with a COMMIT WORK, the error occurs that the installed base does not exist because the check whether the installed base exists is performed on database level."
Has anyone faced similar problem in CRM 5.0 ?
I am logging OSS message to SAP as well.
Regards,
Vin

Hi Vinayak,
Kindly modify your approach as follows:
1) Create an Ibase with FM CRM_IBASE_CREATE
2) use FM CRM_BASE_SAVE
3) Commit work.
4) Then use FM CRM_IBASE_COMP_CREATE to add this Ibase an a component to an existing Ibase.
5) use FM CRM_BASE_SAVE
6) Commit work.
Hope this will work.
Thank you.
Cheers,
Ashish

Similar Messages

  • IBase : CRM_IBASE_COMP_CREATE

    Hello,
    I am currently creating a new interface between our AS/400 legacy system and crm 2007.
    To do that, i am using the following fm like CRM_IBASE_INITIALIZE, CRM_IBASE_CREATE, etc..
    The problem is that i need to add a component into an exisiting ibase and when i try to add this componenent using the fm CRM_IBASE_COMP_CREATE, i've got an message which indicate that the ibase filled into the structure I_FATHER already exist...
    I am not sure to really understand how this fm has to be used. I do not want to create a new ibase, i just want to add a component into an exisiting ibase.
    Any ideas ?
    Thanks in advance,
    Johnny Baillargeaux

    Hi Johny,
    That was really useful.
    For an installed base I need to add installed base as component.
    I have the flat file containing the ibase components which are related by parent child relationship.
    For eg:
    Child node...............................Parent node
    ABC -
    Blank
    ABC-0001----
    ABC
    ABC-0001-0001----
    ABC-0001
    ABC-0001-0001-090----
    ABC-0001-0001
    ABC-0001-0001-090-S001----
    ABC-0001-0001-090
    ABC-0001-0001-090-S002----
    ABC-0001-0001-090
    ABC-0001-0001-090-S003----
    ABC-0001-0001-090
    ABC-0001-0001-100----
    ABC-0001-0001
    ABC-0001-0001-100-C001----
    ABC-0001-0001-100
    ABC-0001-0001-100-G1----
    ABC-0001-0001-100
    Tree structure:
    2453
    2454
    2455
    2456
    I have tried the below code and it creates a component 2454 under 2453.
    CALL FUNCTION 'CRM_IBASE_INITIALIZE'.
    lf_father-ibase = '2453'. "--> you ibase #
    lf_comp_det-IBASE       =  '2454'.
    lf_comp_det-posnr       = '10'.
    CALL FUNCTION 'CRM_IBASE_COMP_CREATE'
      EXPORTING
           i_father            = lf_father
           i_comp_det          = lf_comp_det
      IMPORTING
           e_comp              = lf_e_comp
      EXCEPTIONS
           data_not_consistent = 1
           ibase_locked        = 2
           not_succesful       = 3
           OTHERS              = 4.
    But my requirement is Top node remains same 2453 and I have to maintain 2454 under that 2455 and under that 2456 in one gou2026
    Pls suggest me in that I case how to use the above function module.
    Can you please respond to my direct thread (Add Ibase Components by Lakshmi Menon)
    so that I can award you points.
    Regards,
    Lakshmi
    Edited by: Lakshmi Menon on Feb 9, 2009 8:33 AM

  • Gap in ibase component number by using FM 'CRM_IBASE_COMP_CREATE'

    Hi,
    i've created a program which creates components for existing IBase from a flat file.
    For the creation im using the fm 'CRM_IBASE_COMP_CREATE' and it's working fine.
    The problem right now is, that is have a gap in the component number. For instance i create 3 components for one IBase and the component numbers than are 9001, 9003, 9005.
    Anybody knows why i have that gap??
    Thanks in advance.
    Best Regards,
    Tobias

    Hi,
    i've created a program which creates components for existing IBase from a flat file.
    For the creation im using the fm 'CRM_IBASE_COMP_CREATE' and it's working fine.
    The problem right now is, that is have a gap in the component number. For instance i create 3 components for one IBase and the component numbers than are 9001, 9003, 9005.
    Anybody knows why i have that gap??
    Thanks in advance.
    Best Regards,
    Tobias

  • Function module for Ibase

    <b>Hi
           Function module for the Ibase create .
    thank</b><b></b>

    Isn't this requirement similar to the one you posted yesterday?
    As I mentioned there, didn't below mentioned function modules help?
    BAPI_IBASE_CREATE
    IB_IBASE_CREATE
    IB_IBASE_CREATE_INITIAL
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_CREATE
    IB_COM2_CREATE_IBASE
    IB_COM_CREATE_IBASE_INITIAL
    Regards,
    Kaushal

  • Function module for creation of Installed base along with product

    Hi,
            Function module for creation of installed based with product for the business partner.

    Try
    BAPI_IBASE_CREATE
    IB_IBASE_CREATE
    IB_IBASE_CREATE_INITIAL
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_CREATE
    IB_COM2_CREATE_IBASE
    IB_COM_CREATE_IBASE_INITIAL
    Regards,
    Kaushal

  • How to attach iBase to iBase through code

    Hi all,
    If there are iBase A and B, in transaction IB52 (on A), [Directly subordinate objects], [Installation], one could add B as 'Installed iBase', and B becomes a 'Component' of A.
    My task is to do this in a program, but CRM_IBASE_COMP_CREATE does not work, and I could not find a suitable function module. 
    I'd be greatly appreciated if someone could help me out.
    Thanks
    -- Sam Shi

    Hi Sumit,
    Can you elaborate on this ? Do you mean that a user should be given access to an iview only through UWL ? Or is it that if he clicks on a UWL item, he sees the iview there ?
    You can surely open an iview on the click of an item in UWL. The configuration has to be made in SWF_VISU by selecting type as portal application, giving the pcd location of the iview (portal object).
    Regards,
    Sunil

  • Create new component into other component

    I just want to insert a component into other component (2nd level), I achieve to insert component into an Ibase but only in the first level.
    I use the function CRM_IBASE_COMP_CREATE for create 1rst level components, but seems don't work If I try to put any component on the second level.
    Can anybody help? Many thanks!

    Thanks Vishant Jain,
    But seems the configuration it's ok, I can generate components (family 102) into other component (family 101) with transaction ib52.
    When I generate the first component (101), seems all ok, I can ib53 and see the result, but, when I try to generate 102 with 101 like ibase, I have the "No ibase found" message and, as expected, i can't see the ibase ralationed with 101.
    In fact, when I create the first compnonent, sap generate a new register in table comm_product but not in ibib table, and then, when a tried to assign the 2nd level component I can't assign to the 1rst level component because it isn't an ibase.
    Can anyone help?
    Thanks!

  • Ibase Component

    Hi All,
    Any help on ibase component creation will really be appreciated.Please if possible can someone send me some code for Creating Ibase component.
    Mail id: [email protected]
    **********points will be rewarded***********

    Hi Anu,
    To create an Ibase, use function module CRM_IBASE_CREATE
    only provide the following parameters.
    I_IBASE_TYPE     : This is the Ibase type
    I_ADDRESS_DATA    :Address Details
    I_ADDRESS_ADMIN   : handler
    I_PARTNER         :partner details
    I_STRUC_IBASE_TAB :Ibase structure
    I_DATE       : date    
    I_TIME            : time
    For creating an Ibase component use CRM_IBASE_COMP_CREATE.
    This should help.
    Regards,
    Shalini Chauhan

  • Please help me for  identify the ACTIVITIES in CRM

    how to identify the bapis for Activities

    Hi Suma latha,
    Apart from the above
    Getting List of activities : you can try FM "CRM_SEARCH_BUSINESSACTIVITY".
    Chk these BAPI for CRM.
    IB_CRM_ADD
    CRM_IBASE_CHECK_TYP
    IB_CRM_API
    CRM_IBASE_ADDRESS_SEARCH
    CRM_IBASE_CHANGE
    CRM_IBASE_COMP_ADDRESS_SEARCH
    CRM_IBASE_COMP_CHANGE
    CRM_IBASE_COMP_CHANGE_TYPE2
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_COMP_DELETE
    CRM_IBASE_COMP_FIND
    CRM_IBASE_COMP_FIND_MULTI
    CRM_IBASE_COMP_FIND_MULTI_R
    CRM_IBASE_COMP_GET_ADDRESS
    CRM_IBASE_COMP_GET_DETAIL
    CRM_IBASE_COMP_GET_FATHER
    CRM_IBASE_COMP_GET_HIERARCHY
    CRM_IBASE_COMP_GET_PARTNER
    CRM_IBASE_COMP_GOTO_DETAIL
    CRM_IBASE_COMP_GOTO_PARTNER
    CRM_IBASE_COMP_IMPORT_DETAIL
    CRM_IBASE_COMP_IMPORT_SUBSCR
    CRM_IBASE_COMP_INDOBJ_SEARCH
    CRM_IBASE_COMP_INDOBJ_SEARCH_R
    CRM_IBASE_COMP_MOVE
    CRM_IBASE_COMP_PARTNER_SEARCH
    CRM_IBASE_COMP_PARTNER_SEARCHR
    CRM_IBASE_COMP_TABLEINFO
    CRM_IBASE_COMP_TRANSL_PARAM
    CRM_IBASE_COPY
    CRM_IBASE_CREATE
    CRM_IBASE_DEQUEUE
    CRM_IBASE_DRILL_DOWN_FOR_COMP
    CRM_IBASE_ENQUEUE
    CRM_IBASE_FIND
    CRM_IBASE_FIND_MULTI
    CRM_IBASE_FREE
    CRM_IBASE_GET_ADDRESS
    CRM_IBASE_GET_ALL
    CRM_IBASE_GET_CHANGE_STATUS
    CRM_IBASE_GET_DETAIL
    CRM_IBASE_GET_HANDLE
    CRM_IBASE_GET_PARTNER
    CRM_IBASE_GOTO_DETAIL
    CRM_IBASE_GOTO_PARTNER
    CRM_IBASE_INITIALIZE
    CRM_IBASE_PARTNER_SEARCH
    CRM_IBASE_PARTNER_SEARCH_RANGE
    CRM_IBASE_SAVE
    CRM_IBASE_SET_HANDLE
    CRM_IBASE_TABLEINFO
    CRM_IBASE_TRANSL_PARAM
    IB_BAPI_IBASE
    BAPI_IBASE_CREATE
    BAPI_IBASE_GET_DETAIL
    BAPI_IBASE_SAVE
    IB_BAPI_COMP
    BAPI_IBASE_COMP_CREATE
    BAPI_IBASE_COMP_GET_DETAIL
    BAPI_IBASE_CREATE
    IB_IBASE_CREATE
    IB_IBASE_CREATE_INITIAL
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_CREATE
    IB_COM2_CREATE_IBASE
    IB_COM_CREATE_IBASE_INITIAL
    <b>Reward Points if this helps,</b>
    Regards
    Satish

  • IBASE components deleted in error - How to rectify ?

    Hi,
    I have an issue where some 10,000 IBASE components have been deleted in error.
    I would like the components to be "re-activated" on the same IBASE.
    Will I have to create them again using CRM_IBASE_COMP_CREATE function module ? Will this work ok if I set the validity dates ok ie. after the date of deletion of original record ?
    Kind regards
    Colin.

    No longer required

  • 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

  • What are BAPI /API for Installed Base in CRM ??

    Hi Experts
    Can any body give list of BAPI /API for IBASE Processing...??
    Thanks,
    AK

    IB_CRM_ADD
    CRM_IBASE_CHECK_TYP
    IB_CRM_API
    CRM_IBASE_ADDRESS_SEARCH
    CRM_IBASE_CHANGE
    CRM_IBASE_COMP_ADDRESS_SEARCH
    CRM_IBASE_COMP_CHANGE
    CRM_IBASE_COMP_CHANGE_TYPE2
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_COMP_DELETE
    CRM_IBASE_COMP_FIND
    CRM_IBASE_COMP_FIND_MULTI
    CRM_IBASE_COMP_FIND_MULTI_R
    CRM_IBASE_COMP_GET_ADDRESS
    CRM_IBASE_COMP_GET_DETAIL
    CRM_IBASE_COMP_GET_FATHER
    CRM_IBASE_COMP_GET_HIERARCHY
    CRM_IBASE_COMP_GET_PARTNER
    CRM_IBASE_COMP_GOTO_DETAIL
    CRM_IBASE_COMP_GOTO_PARTNER
    CRM_IBASE_COMP_IMPORT_DETAIL
    CRM_IBASE_COMP_IMPORT_SUBSCR
    CRM_IBASE_COMP_INDOBJ_SEARCH
    CRM_IBASE_COMP_INDOBJ_SEARCH_R
    CRM_IBASE_COMP_MOVE
    CRM_IBASE_COMP_PARTNER_SEARCH
    CRM_IBASE_COMP_PARTNER_SEARCHR
    CRM_IBASE_COMP_TABLEINFO
    CRM_IBASE_COMP_TRANSL_PARAM
    CRM_IBASE_COPY
    CRM_IBASE_CREATE
    CRM_IBASE_DEQUEUE
    CRM_IBASE_DRILL_DOWN_FOR_COMP
    CRM_IBASE_ENQUEUE
    CRM_IBASE_FIND
    CRM_IBASE_FIND_MULTI
    CRM_IBASE_FREE
    CRM_IBASE_GET_ADDRESS
    CRM_IBASE_GET_ALL
    CRM_IBASE_GET_CHANGE_STATUS
    CRM_IBASE_GET_DETAIL
    CRM_IBASE_GET_HANDLE
    CRM_IBASE_GET_PARTNER
    CRM_IBASE_GOTO_DETAIL
    CRM_IBASE_GOTO_PARTNER
    CRM_IBASE_INITIALIZE
    CRM_IBASE_PARTNER_SEARCH
    CRM_IBASE_PARTNER_SEARCH_RANGE
    CRM_IBASE_SAVE
    CRM_IBASE_SET_HANDLE
    CRM_IBASE_TABLEINFO
    CRM_IBASE_TRANSL_PARAM
    IB_BAPI_IBASE
    BAPI_IBASE_CREATE
    BAPI_IBASE_GET_DETAIL
    BAPI_IBASE_SAVE
    IB_BAPI_COMP
    BAPI_IBASE_COMP_CREATE
    BAPI_IBASE_COMP_GET_DETAIL
    BAPI_IBASE_CREATE
    IB_IBASE_CREATE
    IB_IBASE_CREATE_INITIAL
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_CREATE
    IB_COM2_CREATE_IBASE
    IB_COM_CREATE_IBASE_INITIAL
    *--- Fetch Ibase Handle
        IF ib_handle IS INITIAL.
          CALL FUNCTION 'IB_COM_NEW'
               IMPORTING
                    e_ibco_handle = l_handle.
          ib_handle = l_handle.
        ENDIF.
    <b>Pl. Do reward the points</b>
    Regards,
    Arjun

Maybe you are looking for

  • How to send group text

    How do I set up a group for texting on my phone?

  • Problem with the Recovery Media Creator

    Hello, I just bought an Portege Z385-p370, it came in yesterday morning (April 23- 2012) Brand new, an I haven't had it for 24 hours and I am already having problems. As I read that I should make the Recovery Media, went on and bought a 16G USB, plug

  • Itunes deleted my "Itunes Music Library.xml" file?

    Here are the facts (and then I'll pose the question): -Ipod 80gb Classic -Just upgraded to Itunes v. 7.4.2.4 (after following the pop-up window asking me to upgrade to the latest version) -Windows XP Pro -My "Itunes Music Library.xml" file and the "i

  • Batch Rename---in Random Order

    Is it possible to batch rename a set of files in a random order?  Making a slideshow of a number of events, but I don't want them in the order shot.  I can manually rename and move them, or I could sort by some other order than by name or date, such

  • MacBook Pro refuses to load after installing Yosemite OS X.

    Yesterday I installed Yosemite OS X. Today, when I turned my MacBook Pro the loading bar is stuck just a little before halfway and refuses to load. I am so annoyed as I have never encountered any technical difficulties and have only had to purchase r