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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Creation of Ibase for satellite systems in Solution Manager 4.0 SP13

    Hello!
    Can enybody help?
    We are trying to creat Ibase for Satellite systems in solution landscape in SolMan system, using the automatic generation(TA SOLUTION_MANAGER) for specific solution.
    After successfully generation we have only one iBase for one solman system only, but there are some systems in solution.
    Does anyone know how to generate iBase for all systems in solution?

    Hi,
    There will be only one iBase for a solution.
    Goto tcode IB52 and check. You will find all the systems assigned to your solution appear there.
    regards,
    Ram

  • 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

  • Service Desk - need IB52 iBase "partner assignment" mass change

    Dear Ladies and Gentlemen,
    We are using SAP Service Desk in Solution Manager 7.0 EhP-1.
    There are many satellite systems connected to SolMan using Service Desk.
    Of course all of them are setup in SMSY, have a valid iBase entry in IB52, and have the "sold-to-party" assigned in IB52 -> Goto -> Partner.
    Now we need to assign a new business partner as "sold-to-party" for all these systems.
    We do not want to rename the current business partner, but have to assign a new business partner to not influence existing tickets.
    Thus, manually we would need to go to IB52 and change the partner assignment in IB52 -> Goto -> Partner and enter a new value for all the systems.
    Q: is there a way to perform a mass change for the "sold-to-party" partner assignment of the iBase entries? Is it possible to update or replace all or multiple existing partner assignments in iBase?
    Many thanks,
    Peter

    Hi Christian,
    Can you please tell me how did you create iBase for NON-SAP Systems? I know it is IB51/IB52? I am not sure what do you do after that? For an example I went to IB51 and create iBase number 403? now I go to IB52 and put the 403 in the installed Base field and click on Green arrrow to go inside correct? what do I do after that? where is the options to create the iBase name call "Network Group" ?
    How did you solve your issue for not showing when you went to F4 in NOTIF_CREATE? was that authorization error? if yes, do you know the object name?
    any help is much much appreciated
    Thanks in Advance
    Kumar

  • Function modules to read ibase at runtime

    Hi guru's,
                Is there any function modules to read ibase at run time if yes please send those function modules its urgent please please.
    regards
    naveen kumar

    answered

  • IBASE not coming up in IC

    Hi,
    Created IBASE in IB51 and that was visible in IB52 & IB53 but when I'm trying to search in Interaction centre the IBASE is not coming up..do we need to make any more settings to make it reflect in IC ...please advise.

    Hi,
    Could possibly be an authorization issue. The WebClient uses a different authorization object for Installed Bases - CRM_IBASE (Authorization Object for Installed Base).
    See the CRM 7.0 release notes:
    https://websmp201.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000429833&

  • Partner in service contract and ibase

    Here is a data migration scenario, migration service contract from legance to crm:
    1. warranty data and sold to partner will be migrated to ibase in crm
    2. legancy contract will be migrated to crm contract, which also contains a sold to party
    So my question is whether there is a dependency about sold-to party between service contract and ibase,
    - for example., here is ibase contain product: A,B,C, but when create a contract for product D, which does not exist in a ibase, so whether this contract can be create, whether it can look up the if product exist in ibase according to sold to party,
    And whether it can prevent to create new contract for D?
    Many thanks.

    Hi Nagaraju,
    First of all, you can bill Service Contract and Service Order differently. This is because you may wish to charge contract fees irrespective of whether service occurs or not.
    Secondly, while maintaining DIP profile, you can use different material from the one used in contract. Just make sure that it gives explanation as to what service was performed so that customer will understand the invoice.
    DP90 will generate Debit memo request. You will need to create billing document against this using VF01.
    When you settle the service order (KO88), it will be settled against service contract.
    Please let me know if you need any further information.
    Regards,
    Aaditya.

  • Not able to display IBASE details after account confirmation in Web UI

    Hi Experts,
    We have a issue .when we search for a customer in web Ui with Z_IcAgent role  and confirm the customer we should get the list of the IBASE details attached to the cutomer but we are getting the details of the interaction history. Please suggest as this is urgent.
    Thanking you in Advace
    Edited by: D Panda on Aug 25, 2011 6:14 AM

    Hi Sakthivel Elango,
    My code is working in Normal view and displaying Chart. the same code put into detail view chat is not displaying. Inside HTML code i am posting please check the code.
    <div id="LrDetail--reports" data-sap-ui="LrDetail--reports" class="sapVizChart" style="width: 640px; height: 480px;">
       <div id="UIComp_0" style="position: relative; overflow: visible; font-size: 10px; box-sizing: border-box; left: 0px; top: 0px; width: 640px; height: 480px; display: none;">
          <div id="UIComp_1" class="UIComp_1-2ebc44e6-2f93-46d1-964e-e823b0afe432 v-viz v-bar" style="position: relative; overflow: hidden; font-size: 10px; box-sizing: border-box; display: block; width: 640px; height: 480px; -webkit-user-select: none; left: 0px; top: 0px;">
             <canvas style="width: 0px; height: 0px;"></canvas>
             <svg class="v-m-root" width="640" height="480" style="left: 0px; top: 0px; direction: ltr; position: absolute; box-sizing: border-box;">
                <defs></defs>
                <g class="v-m-title"></g>
                <g class="v-m-legends">
                   <g class="v-m-legend"></g>
                </g>
                <g class="v-m-main">
                   <g class="v-m-background"></g>
                   <g class="v-m-xAxis"></g>
                   <g class="v-m-yAxis"></g>
                   <g class="v-m-plot"></g>
                </g>
             </svg>
          </div>
       </div>
    </div>
    in this svg tags there is no bars.

Maybe you are looking for

  • HDMI TV sound

    Using HDMI to connect new Macbook Pro to TV gets great picture but no sound on TV speakers. Stand-alone speakers connected via laptop earphone jack do not work. How to get sound to TV?

  • Macbook 10.5.8 restarts after left alone for some time

    If I leave my MacBook alone for 30 + minutes it starts closing Apps and restarts. If I have something unsaved that prevents Logout from occuring. Any ideas on why this is happening? My laptop is plugged into a power source and all Power Saver setting

  • Stacked canvas disappearing

    Hi All, Iam using forms 6i..its not working when Iam trying to call a canvas from a procedure but working if i write the code in a button (when-button-pressed) Iam using go_block('abc'); ---say abc is the block name in that canvas.. If i use pause; a

  • How to upload long texts to project definitions?

    Hi everyone, Does any of you know a program for uploading long texts to project definitions? Thanks in advance and best regards. Txema.

  • The network adapter could not establish the connection with Oracle

    I installed Oracle in my laptop (windows 2008), and install Hyperion 11.1.2, when I configure Hyperion, it pops up with "the network adapter could not establish the connection with Oracle"?