FM to update Settypes of Ibase

Hi All,
I want to update the Settypes of Ibase , is there any FM avaialable to update the settypes?
Please help.
Thanks,
SUshant

solved using CRMXIF_PROD .. FM.

Similar Messages

  • URGENT: Update euipment to IBASE?

    Hi,
    Can anyone tell me how to update the equipment to ibase?
    is there any function module for this?

    Hi Cady,
    now back to square...
    please look at the code below and let me know wht more needs to be done...
    METHOD if_ex_crm_equi_load~perform_load.
      DATA: i_s_struc TYPE crmt_iloa_mess,
            i_t_struc TYPE crmt_equi_dmbdoc,
            g_sort    TYPE smo3eqfnr,
            g_guid    TYPE crmt_object_guid,
            g_object_id TYPE crmt_object_id_db.
    *Internal tables
      DATA : l_thdr_guid   TYPE crmt_object_guid_tab       ,
             l_treq_obj    TYPE crmt_object_name_tab       .
      DATA : l_i_tpartner    TYPE crmt_partner_external_wrkt ,
             l_i_tapp        TYPE crmt_appointment_wrkt      ,
             l_i_torderadm_i TYPE crmt_orderadm_i_wrkt       ,
             l_i_torderadm_h TYPE crmt_orderadm_h_wrkt       ,
             l_i_tpricing    TYPE crmt_pricing_wrkt          ,
             l_i_tordprp_objl  TYPE crmt_ordprp_objl_i_d_wrkt,
              i_s_ordprp_objl  TYPE crmt_ordprp_objl_i_d_wrk  ,
              i_s_orderadm_i   TYPE crmt_orderadm_i_wrk       ,
             l_i_tproduct    TYPE crmt_product_i_wrkt        ,
             l_i_tpricing_i  TYPE crmt_pricing_i_wrkt        ,
             l_i_tschedlin   TYPE crmt_schedlin_wrkt         .
    *Work Area
      DATA : l_shdr_guid   TYPE crmt_object_guid          ,
             l_sreq_obj    TYPE crmt_object_name          ,
             i_s_ibase     TYPE ibap_dat1,
             i_t_equi      TYPE crmt_equi_mess_t,
             i_s_equi      TYPE crmt_equi_mess,
             i_s_object    TYPE comt_product_maintain_api,
             i_t_index     TYPE ibequiindx,
             i_s_index     TYPE ibequichild,
             i_t_error     TYPE smw_errtab.
      break sunilch.
    do 3 times.
        i_t_struc = it_equi_dmbdoc.
        LOOP AT i_t_struc-iloa INTO i_s_struc.
          g_sort = i_s_struc-eqfnr.
          g_object_id = g_sort.
          EXIT.
        ENDLOOP.
    if there is value in sort field
    get this as SO and use it to get the IBASE
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = g_object_id
          IMPORTING
            output = g_object_id.
    get the guid of the sales order
        CALL FUNCTION 'CRM_HEADER_OBJ_ID_GET_GUID'
          EXPORTING
            iv_obj_id      = g_object_id
          IMPORTING
            ev_guid        = g_guid
          EXCEPTIONS
            error_occurred = 1
            OTHERS         = 2.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        l_shdr_guid = g_guid.
        INSERT l_shdr_guid INTO TABLE l_thdr_guid.
    *Fill requested objects
        l_sreq_obj = 'ORDERADM_H'.
        INSERT l_sreq_obj INTO TABLE l_treq_obj.
        l_sreq_obj = 'ORDPRP_I'.
        INSERT l_sreq_obj INTO TABLE l_treq_obj.
        l_sreq_obj = 'ORDERADM_I'.
        INSERT l_sreq_obj INTO TABLE l_treq_obj.
    *Call FM
        CALL FUNCTION 'CRM_ORDER_READ'
          EXPORTING
            it_header_guid       = l_thdr_guid
            it_requested_objects = l_treq_obj
          IMPORTING
            et_orderadm_h        = l_i_torderadm_h
            et_ordprp_objl_i_d   = l_i_tordprp_objl
            et_orderadm_i        = l_i_torderadm_i
          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.
    Read the Serial Numebr for the item
          READ TABLE l_i_torderadm_i INTO i_s_orderadm_i
                            WITH KEY header = g_guid.
          IF sy-subrc = 0.
            READ TABLE l_i_tordprp_objl INTO i_s_ordprp_objl
                              WITH KEY ref_guid = i_s_orderadm_i-guid.
            IF sy-subrc = 0.
              i_s_ibase-ibase = i_s_ordprp_objl-ibase_header.
              i_s_ibase-guid_comp = i_s_ordprp_objl-ibase_header_guid.
            ENDIF.
          ENDIF.
    try updating the ibase with equipment.
          IF NOT i_s_ibase IS INITIAL.
            LOOP AT i_t_struc-equi INTO i_s_equi.
    i_t_equi = i_t_struc-EQUI.
       CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
             input  = i_s_equi-equnr
           IMPORTING
             output = i_s_equi-equnr.
         CALL FUNCTION 'CONVERSION_EXIT_PRID1_INPUT'
           EXPORTING
             input        = i_s_equi-equnr
           IMPORTING
             output       = i_s_object-com_product-product_id
           EXCEPTIONS
             lenght_error = 1
             OTHERS       = 2.
             i_s_object-com_product-product_id = i_s_equi-equnr.
              i_s_index-father = i_s_ibase-ibase.
              i_s_index-cHILD = i_s_equi-equnr.
              i_s_index-ibase = i_s_ibase-ibase.
              i_s_index-guid_comp = i_s_ibase-guid_comp.
              APPEND i_s_index TO i_t_index.
              EXIT.
            ENDLOOP.
    *READ TABLE  i_t_equi INTO i_s_equi index 1.
            i_s_object-com_product-object_family = '0401'.
            i_s_object-com_product-product_type = '01'.
            i_s_object-update_type               = 'I'.
    populate the changing parameter i_t_index
            CALL FUNCTION 'CRM_UPDATE_IBASE_FROM_EQUI'
              EXPORTING
                is_equipment      = i_s_equi
                is_equi_dmbdoc    = it_equi_dmbdoc
                is_object         = i_s_object
              CHANGING
                ct_equi_index     = i_t_index
                ct_error_segments = i_t_error
              EXCEPTIONS
                update_error      = 1
                OTHERS            = 2.
            IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
          ENDIF. " if not ibase is initial
        ENDIF.
    ENDDO.
    ENDMETHOD.

  • Auto update Ibase - quantity

    Dear Experts,
        I have an install base with a component say Personal computer. This PC has two product componets a) keyboard and b) 20GB har-disk. In a service confirmation I am dismantling the 20GB hard-disk and I install 50 GB disk. The action profile
    updates this installation in the Ibase.
    My Ibase now have the 50GB hard-disk, however the quantity is not updated in the IBase. Can anyone help me in understanding how to update the quantity?
    Thanks,
    Kanthimathi

    It is not easy to understand what you were saying.
    Are you dual booting or triple booting ?
    If yes, the following might be the reason of your predicament..............
    By default, your Win 10 TP is your DEFAULT operating system. When you are on Win 10 TP and you reboot, the system goes straight to your default OS.
    That is why you do not see the Boot Menu option.
    Solution : you need to change your default OS to either Win 7 or 8.1.

  • IBase warranty changes take effect???? Urgent..

    Hi all,
      I face a difficult where I need to change my iBase warranty database. I manage to grab the warranty information through the call function below. However, after I do the changes I still cant manage to see the effect in the IB53. The changes are not updating the particular iBase although I already call save. I have tried few save function module also no effect... Anyone can help me on this? 
      CALL FUNCTION 'COM_IL_API_CHANGE'
        EXPORTING
          iv_reltype               = 'IBCWTY'
          IV_ENQMODE               = 'E'
          it_link_attr             = <lt_link_attr>
      data: lt_reltype type COMT_IL_RELTYPE_TAB.
      data: lw_reltype TYPE comt_il_reltype.
      lw_reltype = 'IBCWTY'.
      APPEND lw_reltype TO lt_reltype.
    data:  lw_new type COMT_IL_ATTR_COMPLETE.
    data:  lw_old type COMT_IL_ATTR_COMPLETE.
    data:  lt_link    type  COMT_IL_UPDDATA_TAB.
      CALL FUNCTION 'COM_IL_API_SAVE'
       EXPORTING
         IT_RELTYPE            = lt_reltype
       IMPORTING
         ET_INTERLINKAGE       = lt_link
         ES_ATTR_TAB_NEW       = lw_new
         ES_ATTR_TAB_OLD       = lw_old
    CALL FUNCTION 'CRM_IBASE_SAVE'.
    Regards,
    Mervyn

    Hi,
    if i made some changes to a workbook (e.g: change some conditions) on discoveror desktop,will them take effect at the same time on discoveror plus???When you save the report using the desktop the workbook in changed for all users including the Plus,
    But in order to see the change in the Plus you will have to re-login to Plus.
    This is since the workbook is saved to memory of the user's PC.
    how and where can I make control for one user to access some workbooks and another user to access some other workbooks both on desktop and plus? (workbook accessibility control)Only the owner of the workbook can do that.
    This is done in the desktop as well as in Plus.
    In desktop go to the tool bar "File -> Manage Workbooks -> Sharing" then choose the workbook and share it with whom ever you like.
    In Plus you can find it in the tool bar "File -> Manage Workbooks" then click on any of the reports and select the "Share" from the right.
    You have to make sure that the shared user have access to the BA that the workbook is based on, and that the user have the privilege to use the desktop/Plus (this is done in the Administrator tool)
    Tamir

  • Get Ibase from Model Number and Serial Number

    Hi Experts,
    Please can you help me in getting the existing Ibase Number based on Model Number and Serial Number.
    It is appreciated if you provide me the standard FM's if available and standard tables.
    Thanks in Advnace.
    Raja.

    Hi Naresh,
    It is almost solving the issue but for the same model number there are multiple product_guids.Then how to come to know that is the exact Ibase.
    The exact the requirement is
    The user will send an excel file which consists of Model Number ,Serial Number and other Custom fields.
    Depending on the Model and Serial Number we need to get an Ibase and Component.
    then we need to update the existing ibase and component with custom fields.
    So can you help me in updating the custom fields data from excel file to the existing Ibase.
    Outline : Finding the Ibase and component
                   updation to the existing Ibase and component.
    Thanks In Advance,
    Raja.

  • CIC WinClient

    Hi All,
    I have created a customised BP search. Its working fine.
    The BP search searches the IBASE/Iobject for a given Model + Serial Number.
    I create a new customer using the Lean BP Creation function.
    I have the all the details in the BP search (CCMSEARCH_STRUCT) including the New consumer(as Business Partner 1) created.
    Now I want to update the searched IBASE with this new consumer created in the BP Search tab as a new partner to the IBASE.
    If any have faced a similar situation pls inform as to how to go about it.
    Hope I am clear in my question .
    Thanks in Advance
    Ramesh

    Hi Ramesh,
    I do not have a solution for your problem. -)
    Nevertheless, perhaps you can give me some hints how to enhance the BPSearch in IC Winclient.
    I need to add some more fields for searching and showing.
    Thanks in advance.
    Frank

  • FM for IBase Warranty Updating

    Hi,
    Is there any Function Module available for updating the
    Warranty informaiton for the Equipment Master.
    On the Initial screen of IB52 user will be entering the Object ID which is nothing but the equipment no.
    Is there a FM availbale for updating the warranty information.
    Thanks,
    Mervyn

    Hi mervyn,
    Iam also looking for the functio module to get the results of warrantie for a particular product or Ibase.
    If you find please give me details.
    Thanks,
    krreysh

  • Ibase Component and Partner Update - Data Corruption

    Hello Everyone,
    I'm facing a pecular issue with updating parters of an Ibase component through a custom program.
    This is the requirement:
    Under certain conditions, Partner A attached to the components of an Ibase have to be replaced by Partner B for the same partner function.
    If the ibase have more than 1 component and if both have the same partner, then a data corruption results. Teh data corruption is a double entry in table IBPART where i end up getting 2 valid entries for a PARTNERSET record.
    I'm using FM CRM_ICSS_CHANGE_COMPONENT to carry out the partner update.
    Here are the steps i'm using:
    1. I'm Looping at the Ibase
    2. I fill in the Component structure I_COMP with the Ibase and the Instance 1.
    3. I fill the partner structure I_PARTNER with the two partner records- Partner A (For Deletion by setting field UPDIND as 'D') and Partner B (For addition by setting Field UPDIND as 'I').
    4. Then the loop continues for updating the second Component.with the same details.
    After the Update, the following is happening at the table level.
    1. Table IBPART gets 2 records which are valid for each Instance. (Ideally, there should be only 1 record for each component which then links to multiple partner functions in tale CRMD_PARTNER). the two records are just slightly different in theoir VALID FROM timestamp. But both records are valid in Current Time.
    This is resulting in a short dump when i try to go to the partner section from IB52 transaction.
    I think the main reason for this is that table IBPART is not locaking down when the first update is happening (deletion) and hence i end up with two records
    Can any one help me out in this
    Regards
    Dharmendra

    Hi,
    we couldnt completely solve the issue. I could find no way to lock up the partner update to a component. But this is what we managed to do and so far we havent received any more data corruption error. We made a copy of the FM CRM_ICSS_CHANGE_COMPONENT and made it as an UPDATE FM instead of a Normal FM. This somehow mitigated the issue and till now we havent seen the problem re-surface. I'm not sure if this work for you.
    Thanks n Regards
    Dharmendra

  • Mass Update - Add BP to Ibase

    Dear expert
    In CRM 5.0, I need to mass update ibases (100 ibases) in order to assign a new BP function/ID to each Ibase. Is there a report / module function  I could use for that? I tried to create a LSMW project for that but it doesn't seem to work.
    Thanks in advance
    Best regards
    Stephanie

    Pankaj,
    This Note 876602 - Mass update handling for CRM product master data explains the stuff.
    Let us know if you need any thing more.
    Julius

  • To Update the ibase STATUS PROFILE

    Hi All,
    Which function module should be used to update the ibase STATUS PROFILE ?
    Thanks,
    Vimal

    Hi,
    If your requirement is to change the user status of an object( Ibase in your case) , you can use FM CRM_STATUS_CHANGE_EXTERN and provide ibase object guid as objnr , 5 char user status as user_status and commit .
    Regards,
    Nithish

  • Table or function module to update ibase

    Hi experts,
    I am using the transaction crmd_order to create a sales order and i am assigning the warranty product to it , now my requirement is, i have to update that warranty product in the ibase( ib52 ). so for that what is the table or function module i have to use to update the warranty information into the ibase.
    Thank you in advance.

    First Call CRM_IBASE_COMP_CHANGE and then   'CRM_IBASE_SAVE' and
      COMMIT WORK.

  • Ibase copy/update

    hi I have a requirement to create a IBASE , getting the ibase details from solution manager in CRM .
    After i create the ibase in CRM , which is fine , i need to update the ibase and the components within when any changes happen in Solutio manager .
    Are these any APIs in CRM which can update the IBASE not only the header but also the whole components .

    Hi,
    Yes, Possible to copy the update rule,
    If you want to create update rules for a data target, you can choose a template in the screen Create update rules: Initial screen, for which update rules already exist. These update rules are copied for the current data target and the specified InfoSource. InfoCubes are available as a template for InfoCubes, ODS objects for ODS objects and InfoObjects for InfoObjects.
    The data targets can have different structures. The system determines automatically how the individual rules are assigned.
    You are able to subsequently adjust and change the copied update rules.

  • Custom Settype update - Middleware -Deleta download

    Hi CRM Gurus,
                   I am facing very strange scenario during products downloading. I needed to update the attribute values in my custom settype while download products from ECC.
    Example.
    CRM - ZXXSETYPE - ZZSIZE (Value - 10)
    ECC - MARA - ZZSIZE (Value - 100)
    My settype attribute value should be changed to 100 while delta download of the products. I am getting error in SMW01 as
    "Data for set ZXXSETTYPE may only be changed in the original system".
    Thank u.
    Robin Franklin

    Hello Robin,
    Try this:
    SPRO>IMG>Customer Relationship Management>Master Data>Products>Business Add-Ins>BAdi:Allow Changes to
    Product Data.
    Main the Z* settype here and try thd delta once again.
    Do get back to me.
    Best Regards,
    Shanthala Kudva.

  • IBASE Status update Function Module/ Table Field for status

    Dear Experts
    We need function module to change status of IBase. Please tell me standard function module if any. Or if no standard fuction moudle exists, please tell me tables which contains user and system status.
    Thanks and regards

    Hi,
    Try using FM CRM_IBASE_CHANGE and please remember to call FM CRM_IBASE_SAVE to save the changes made. Thanks.
    Regards, AC

  • How to read Ibase and component details and save to a file in presentation

    Hi Experts,
    I am developing a report to download Ibase and Component details along with warranty and component details to presentation server.
    So it is appreciated and rewarded If you provide any Standard FMS and any code done b4 by you to download the ibase and component details.
    Thanks,
    Raja

    Hi Nithish,
    Nice to see you again.
    If you want to read the settypes information you can use following FM'S .
    1. CRM_IBASE_COMP_GET_DETAIL - Read product_guid from this FM
    2 . COM_FRGTYPE_READ_SINGLE - Read frgtype_guid by passing your settype_id as input.
    3. COM_PR_SET_REL_READ_SINGLE_PR - Pass product guid from 1 and frgtype_guid from 2 to this FM and get fragment_guid.
    4 . ZOM_XXXX_READ_MULTI - Pass the above guid to this FM and read all set type attributes.
    Hope this helps.
    Regards,
    Nithish
    2) How to get settype_id.inorder to pass to the FM COM_FRGTYPE_READ_SINGLE..
    Note : And also can you help in updating the warrantu and Qualification relationship.
    I mean how to pass the data to FM
    CALL FUNCTION 'COM_PROD_MATERIAL_MAINTAIN_API'
        EXPORTING
          it_product     = i_product
          it_set         = i_set
         it_interlinkages  = i_interlinkages(How to pass the data to this internal table)
    Thanks in advance,
    Raja

Maybe you are looking for

  • I forgot my iphone 5 passcode, how do i get on?

    I changed my iphone password and now i cant remember it and im locked out. how do i get on without having to reset  my entire phone?

  • Camera Raw edits are permanent in layered file, therefore "destructive"

    I use scanned 35mm TIFF files and DNG digital files, converted from Nikon NEF files. I edit in Photoshop CS3. I use adjustment layers in Photoshop to retain the ability to revise as needed (the "nondestructive" route). To date I have used Camera Raw

  • Vendor Paid for what expenses

    Hi everybody,     May I know whether is there any standard SAP report for showing what vendors has invoiced us for what expenses ? (ie. Vendor A has invoiced us for GL 111 (travel expenses) USD 100; vendor B has invoiced us for GL 112 (stationery)  U

  • When I generate the TOC in RH7, the first page number is "v" instead of 'i' - how can I fix it?

    When generating a word doc from RH7 everything works fine except for the roman numbering in the TOC footer.  It begin with a "v" (5) instead of "i": The roman numerals count up on the following 4 TOC pages - so, the TOC is numbered from v to viii.  T

  • JDev Debugging problem

    Dear sirs, I would like to be able to debug my JDeveloper project and trace into the J2SE source files, but JDeveloper will not let me. The project JVM is currently set to "Java 1.3.1" with the path : "E:\java\jdk1.3.1\jre\bin\java.exe" and with the