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

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

  • Trying to create a sales order in CRM with BAPI_BUSPROCESSND_CREATEMULTI.

    hi all,
    I am trying to create a sales order in CRM using the BAPI BAPI_BUSPROCESSND_CREATEMULTI.
    I need the sales order number as the out put. So I am declaring OBJECT_ID as the export parameter.
    This is my source code, I donu2019t get an error, but the sales order is not generated and I donu2019t get any output for my export parameter OBJECT_ID.
    I am setting the tables HEADER,ITEM ,SALES,PARTNER, ORGANISATION, RETURN and
        SCHEDULELINE in BAPI_BUSPROCESSND_CREATEMULTI. But still unable to display the sales order number. Please help me with information
    This is my code
    ***********************************Define the Internal Tables*************************
    DATA: IT_HEADER TYPE STANDARD TABLE OF BAPIBUS20001_HEADER_INS WITH HEADER LINE.
    DATA: IT_SALES TYPE STANDARD TABLE OF BAPIBUS20001_SALES WITH HEADER LINE.
    DATA: IT_ITEM TYPE STANDARD TABLE OF BAPIBUS20001_ITEM WITH HEADER LINE.
    DATA: IT_SCHEDULELINE TYPE STANDARD TABLE OF BAPIBUS20001_SCHEDLIN WITH HEADER LINE.
    DATA: IT_PARTNER TYPE STANDARD TABLE OF BAPIBUS20001_PARTNER_INS WITH HEADER LINE.
    DATA: IT_ORGANIZATION TYPE STANDARD TABLE OF BAPIBUS20001_ORGMAN_INS WITH HEADER LINE.
    **Values for Internal Table IT_HEADER**
    IT_HEADER-PROCESS_TYPE  =  'YWEB'.
    IT_HEADER-DESCRIPTION   =  'Web Order'.
    IT_HEADER-POSTING_DATE  =  'SY-DATUM'.
    IT_HEADER-CREATED_BY    =  'SY-USER'.
    APPEND IT_HEADER TO IT_HEADER.
    **Values for Internal Table IT_SALES**
    IT_SALES-PO_NUMBER_SOLD = '1'.
    APPEND IT_SALES TO IT_SALES.
    **Values for Internal Table IT_ITEM**
    IT_ITEM-NUMBER_INT  =  '20'.
    IT_ITEM-ORDERED_PROD  =  '50000180'.
    IT_ITEM-ITM_TYPE  =  'ZABC'.
    APPEND IT_ITEM TO IT_ITEM.
    **Values for Internal Table IT_PARTNER**
    IT_PARTNER-REF_PARTNER_NO  =  '100000620'.
    IT_PARTNER-REF_PARTNER_FCT = 'CRMH04'.
    APPEND IT_PARTNER TO IT_PARTNER.
    **Values for Internal Table IT_ORGANIZATION**
    IT_ORGANIZATION-SALES_ORG = 'O 50000100'.
    IT_ORGANIZATION-DIS_CHANNEL = '30'.
    IT_ORGANIZATION-DIVISION = '80'.
    APPEND IT_ORGANIZATION TO IT_ORGANIZATION.
    **Values for Internal Table IT_SCHEDULELINE**
    IT_SCHEDULELINE-QUANTITY  =  '2.268'.
    APPEND IT_SCHEDULELINE TO IT_SCHEDULELINE.
    **Call BAPI_BUSPROCESSND_CREATEMULTI for creating a sales 0rder******
    CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
      TABLES
        HEADER                  =  IT_HEADER
        ITEM                    =  IT_ITEM
        SALES                   =  IT_SALES
        PARTNER                 =  IT_PARTNER
        ORGANISATION            =  IT_ORGANIZATION
        RETURN                  = IT_RETURN1
        SCHEDULELINE            = IT_SCHEDULELINE.
    ****************CALL COMMIT WORK**********
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
        WAIT          = 'X'
    IMPORTING
       RETURN        =  IT_RETURN2.
    ENDFUNCTION.
    Edited by: jessica sam on Dec 10, 2008 1:45 AM

    Hi am getting the sales order but the item data is not available in sales order. Also should I generate a new guide always for HEADER, ITEM, PARTNER, ORGANIZATION, SCHEDULELINE,u2026u2026for the tables that I use?
    I  mean do I need to create a new guide each time for all the tables that I use and finally pass only header guide to the  bapi 'BAPI_BUSPROCESSND_SAVE'.
    I donu2019t know why I am not getting the product data in the saved sales order please help me.
    this is my code
    ***TABLES
    DATA: IT_HEADER TYPE TABLE OF BAPIBUS20001_HEADER_INS.
    DATA: IT_INPUT_FIELDS_FILL TYPE TABLE OF BAPIBUS20001_INPUT_FIELDS.
    DATA: IT_ITEM TYPE TABLE OF BAPIBUS20001_ITEM.
    DATA: IT_OBJECTS_TO_SAVE TYPE STANDARD TABLE OF BAPIBUS20001_GUID_DIS WITH HEADER LINE.
    ***WORK AREA
    DATA: WA_INPUT_FIELDS TYPE BAPIBUS20001_INPUT_FIELDS.
    DATA: WA_HEADER TYPE BAPIBUS20001_HEADER_INS.
    DATA: WA_ITEM TYPE BAPIBUS20001_ITEM.
    DATA: IT_EV_GUID_32 TYPE GUID_32.
    DATA: IT_EV_GUID_32_1 TYPE GUID_32.
    *Create GUID
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        EV_GUID_32       = IT_EV_GUID_32.
    * Fill the HEADER
    WA_HEADER-GUID                      =  IT_EV_GUID_32.
    WA_HEADER-PROCESS_TYPE              =  'ZWEB'.
    WA_HEADER-DESCRIPTION               =  'WEB ORDER'.
    WA_HEADER-CREATED_BY                =  'jiopidn'.
    APPEND WA_HEADER TO IT_HEADER.
    *For each FIELD of HEADER fill INPUT_FIELDS
    WA_INPUT_FIELDS-REF_GUID               =  IT_EV_GUID_32.
    WA_INPUT_FIELDS-REF_KIND               =  'A'.
    WA_INPUT_FIELDS-OBJECTNAME             =  'ORDERADM_H'.
    WA_INPUT_FIELDS-LOGICAL_KEY            =  '1'.
    WA_INPUT_FIELDS-CHANGEABLE             =  ' '.
    WA_INPUT_FIELDS-FIELDNAME              =  'PROCESS_TYPE'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME              =  'GUID'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME              =  'DESCRIPTION'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME              =  'CREATED_BY'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    *Create your own GUID
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        EV_GUID_32       = IT_EV_GUID_32_1.
    * Fill the ITEM
    WA_ITEM-GUID              =  IT_EV_GUID_32_1.
    WA_ITEM-NUMBER_INT        =  '10'.
    WA_ITEM-ORDERED_PROD      =  '000000000070000000'.
    WA_ITEM-ITM_TYPE          =  'ZTAN'.
    WA_ITEM-MODE              =  'A'.
    APPEND WA_ITEM TO IT_ITEM.
    *For each FIELD of ITEM fill INPUT_FIELDS fields
    WA_INPUT_FIELDS-REF_GUID               =  IT_EV_GUID_32_1.
    WA_INPUT_FIELDS-REF_KIND               =  'A'.
    WA_INPUT_FIELDS-OBJECTNAME             =  'ORDERADM_I'.
    WA_INPUT_FIELDS-LOGICAL_KEY            =  '1'.
    WA_INPUT_FIELDS-CHANGEABLE             =  ' '.
    WA_INPUT_FIELDS-FIELDNAME              =  'GUID'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME              =  'NUMBER_INT'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME                 =  'ORDERED_PROD'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME                 =  'ITM_TYPE'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    REFRESH: CREATED_PROCESS.
    ***** CALL BAPI_BUSPROCESSND_CREATEMULTI
                   CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
                     TABLES
                       HEADER                  = IT_HEADER
                       ITEM                    = IT_ITEM
                       INPUT_FIELDS            = IT_INPUT_FIELDS_FILL
                       CREATED_PROCESS         = CREATED_PROCESS
                       RETURN                  = RETURN.
    IT_OBJECTS_TO_SAVE-GUID = IT_EV_GUID_32.
    IT_OBJECTS_TO_SAVE-OBJECT_TYPE = 'BAPIBUS20001'.
    APPEND IT_OBJECTS_TO_SAVE TO IT_OBJECTS_TO_SAVE.
    **** CALL 'BAPI_BUSPROCESSND_SAVE
    CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
      EXPORTING
        UPDATE_TASK_LOCAL       = true
        SAVE_FRAME_LOG          = true
      TABLES
        OBJECTS_TO_SAVE         = IT_OBJECTS_TO_SAVE
        SAVED_OBJECTS           = ITAB_SAVED_OBJECTS
        RETURN                  = itab_return.
    **** CALL BAPI_TRANSACTION_COMMIT
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
        WAIT = true
      IMPORTING
        RETURN = RETURN1.
    Edited by: jessica sam on Dec 12, 2008 3:50 AM

  • Problem in creating complain with BAPI_BUSPROCESSND_CREATEMULTI

    *& Report  YTEST2
    REPORT  ytest2.
    DATA: lv_header_guid TYPE guid_32,
          ls_orderadm_h TYPE TABLE OF  bapibus20001_header_ins WITH HEADER LINE,
          ls_input_fields TYPE TABLE OF bapibus20001_input_fields WITH HEADER LINE,
          lt_created_process TYPE TABLE OF bapibus20001_header_ins WITH HEADER LINE,
          lt_return TYPE TABLE OF bapiret2 WITH HEADER LINE ,
          lt_objects_to_save TYPE TABLE OF bapibus20001_guid_dis WITH HEADER LINE,
          lt_saved_objects TYPE TABLE OF  bapibus20001_object_id WITH HEADER LINE,
          lt_log TYPE  bapibus20001_control-log_handle,
          ls_objects_to_save TYPE bapibus20001_guid_dis,
          lt_orgman TYPE TABLE OF bapibus20001_orgman_ins WITH HEADER LINE,
         lt_partner TYPE TABLE OF bapibus20001_partner_ins WITH HEADER LINE,
         lt_service TYPE TABLE OF bapibus20001_service_os_ins WITH HEADER LINE .
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        ev_guid_32 = lv_header_guid.
    *CONCATENATE text-d01 is_import-complt_id i
    *INTO ls_orderadm_h-description SEPARATED BY space.
    PERFORM orderadm_h.
    PERFORM orgman.
    PERFORM partner.
    PERFORM lt_service.
    CLEAR: lt_created_process, lt_return.
    CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
    TABLES
      header = ls_orderadm_h
    item =
    activity =
    sales =
      artner = lt_partner
      organisation = lt_orgman
    shipping =
    appointment = lt_appointment
    text = lt_text
      service_os = lt_service
    status =lt_status
      input_fields = ls_input_fields
      created_process = lt_created_process
      return = lt_return.
    lead =
    opportunity =
    product =
    scheduleline =
    customer_head =
    customer_item =
    pricing =
    pricing_item =
    condition_create =
    billing = *
    config_cfg =
    Config_blb =
    config_ins =
    config_prt =
    config_val = .
    CLEAR ls_objects_to_save.
    ls_objects_to_save-guid = lv_header_guid.
    APPEND ls_objects_to_save TO lt_objects_to_save.
    CLEAR lt_return.
    CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
    * EXPORTING
      * update_task_local = false
      * save_frame_log = false
       IMPORTING
         log_handle = lt_log
       TABLES
         objects_to_save = lt_objects_to_save
         saved_objects = lt_saved_objects
         return = lt_return .
    REFRESH lt_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait   = 'X'
      IMPORTING
        return = lt_return.
    BREAK-POINT.
    *&      Form  ORDERADM_H
          text
    -->  p1        text
    <--  p2        text
    FORM orderadm_h .
      ls_orderadm_h-guid = lv_header_guid.
      ls_orderadm_h-process_type = 'ZCRM'.
      ls_orderadm_h-created_by = 'IBM_ABAP'.
      ls_orderadm_h-description = 'SMS COMPLAIN'.
      APPEND ls_orderadm_h TO ls_orderadm_h.
      CLEAR ls_input_fields.
      ls_input_fields-ref_guid = lv_header_guid.
      ls_input_fields-ref_kind = 'A'.
      ls_input_fields-logical_key = '1'.
      ls_input_fields-objectname ='ORDERADM_H'.
      ls_input_fields-fieldname = 'GUID'.
      ls_input_fields-changeable = ' '.
      APPEND ls_input_fields TO ls_input_fields.
    *ls_input_fields-fieldname = 'HANDLE'.
    *APPEND ls_input_fields TO lS_input_fields.
      ls_input_fields-fieldname = 'PROCESS_TYPE'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'DESCRIPTION'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'CREATED_BY'.
      APPEND ls_input_fields TO ls_input_fields.
    ENDFORM.                    " ORDERADM_H
    *&      Form  ORGMAN
          text
    -->  p1        text
    <--  p2        text
    FORM orgman .
    CALL FUNCTION 'GUID_CREATE'
    IMPORTING
       ev_guid_32 = lv_header_guid.
      lt_orgman-ref_guid = lv_header_guid.
      lt_orgman-dis_channel = 10.
      lt_orgman-division = 10.
      lt_orgman-sales_org = 'O 50000649'.
      lt_orgman-sales_office = 'O 50000650'.
      lt_orgman-service_org = 'O 50000649'.
      lt_orgman-mode = 'A'.
      APPEND lt_orgman TO lt_orgman.
      CLEAR ls_input_fields.
      ls_input_fields-ref_guid = lv_header_guid.
      ls_input_fields-ref_kind = 'A'.
      ls_input_fields-logical_key = '2'.
      ls_input_fields-objectname ='ORGMAN'.
      ls_input_fields-fieldname = 'REF_GUID'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'DIS_CHANNEL'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'DIVISION'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'SALES_ORG'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'SALES_OFFICE'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'SERVICE_ORG'.
      APPEND ls_input_fields TO ls_input_fields.
    ENDFORM.                    " ORGMAN
    *&      Form  PARTNER
          text
    -->  p1        text
    <--  p2        text
    FORM partner .
    CALL FUNCTION 'GUID_CREATE'
    IMPORTING
       ev_guid_32 = lv_header_guid.
    lt_partner-MODE = 'A'.
      lt_partner-ref_guid = lv_header_guid.
      lt_partner-partner_fct = '00000014'.
      lt_partner-partner_no = 'EM00000022'.
      APPEND lt_partner TO lt_partner.
      lt_partner-partner_fct = '00000004'.
      lt_partner-partner_no = '415'.
      APPEND lt_partner TO lt_partner.
      lt_partner-partner_fct = '00000003'.
      lt_partner-partner_no = '415'.
      APPEND lt_partner TO lt_partner.
      lt_partner-partner_fct = '00000002'.
      lt_partner-partner_no = '415'.
      APPEND lt_partner TO lt_partner.
      lt_partner-partner_fct = '00000001'.
      lt_partner-partner_no = '415'.
      APPEND lt_partner TO lt_partner.
      CLEAR ls_input_fields.
      ls_input_fields-ref_guid = lv_header_guid.
      ls_input_fields-ref_kind = 'A'.
      ls_input_fields-logical_key = '3'.
      ls_input_fields-objectname ='PARTNER'.
      ls_input_fields-fieldname = 'PARTNER_FCT'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'PARTNER_NO'.
      APPEND ls_input_fields TO ls_input_fields.
    ENDFORM.                    " PARTNER
    *&      Form  LT_SERVICE
          text
    -->  p1        text
    <--  p2        text
    FORM lt_service .
    CALL FUNCTION 'GUID_CREATE'
    IMPORTING
       ev_guid_32 = lv_header_guid.
      lt_service-ref_guid = lv_header_guid.
      lt_service-subject_profile = ' ' .
      lt_service-cat_type = 'A1'.
      lt_service-code_group = 'ZCODEGR1'.
      lt_service-code = '0001'.
      lt_service-mode = 'A'.
      APPEND lt_service TO lt_service.
      CLEAR ls_input_fields.
      ls_input_fields-ref_guid = lv_header_guid.
      ls_input_fields-ref_kind = 'A'.
      ls_input_fields-logical_key = '4'.
      ls_input_fields-objectname ='SERVICE_OS'.
      ls_input_fields-fieldname = 'REF_GUID'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'SUBJECT_PROFILE'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'CAT_TYPE'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'CODE_GROUP'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'CODE'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'MODE'.
      APPEND ls_input_fields TO ls_input_fields.
    ENDFORM.                    " LT_SERVICE

    FORM partner .
    *  CALL FUNCTION 'GUID_CREATE'
    *  IMPORTING
    *    ev_guid_32 = lv_header_guid.
    *  lt_partner-MODE = 'A'.
      lt_partner-ref_guid = lv_header_guid.
      lt_partner-partner_fct = '00000014'.
      lt_partner-partner_no = 'EM00000022'.
      lt_partner-REF_HANDLE = '0000000002'.
      APPEND lt_partner TO lt_partner.
      lt_partner-partner_fct = '00000004'.
      lt_partner-partner_no = '415'.
      APPEND lt_partner TO lt_partner.
      lt_partner-partner_fct = '00000003'.
      lt_partner-partner_no = '415'.
      APPEND lt_partner TO lt_partner.
      lt_partner-partner_fct = '00000002'.
      lt_partner-partner_no = '415'.
      APPEND lt_partner TO lt_partner.
      lt_partner-partner_fct = '00000001'.
      lt_partner-partner_no = '415'.
      APPEND lt_partner TO lt_partner.
      CLEAR ls_input_fields.
      ls_input_fields-ref_guid = lv_header_guid.
      ls_input_fields-ref_kind = 'A'.
      ls_input_fields-logical_key = '3'.
      ls_input_fields-objectname ='PARTNER'.
      ls_input_fields-REF_HANDLE = '0000000002'.
      ls_input_fields-fieldname = 'PARTNER_FCT'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'PARTNER_NO'.
      APPEND ls_input_fields TO ls_input_fields.
    ENDFORM.
    FORM lt_service .
    *  CALL FUNCTION 'GUID_CREATE'
    *  IMPORTING
    *    ev_guid_32 = lv_header_guid.
      lt_service-ref_guid = lv_header_guid.
      lt_service-REF_HANDLE = '0000000002'.
      lt_service-subject_profile = ' ' .
      lt_service-cat_type = 'A1'.
      lt_service-code_group = 'ZCODEGR1'.
      lt_service-code = '0001'.
      lt_service-mode = 'A'.
      APPEND lt_service TO lt_service.
      CLEAR ls_input_fields.
      ls_input_fields-ref_guid = lv_header_guid.
      ls_input_fields-ref_kind = 'A'.
      ls_input_fields-logical_key = '4'.
      ls_input_fields-objectname ='SERVICE_OS'.
      ls_input_fields-REF_HANDLE = '0000000002'.
      ls_input_fields-fieldname = 'REF_GUID'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'SUBJECT_PROFILE'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'CAT_TYPE'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'CODE_GROUP'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'CODE'.
      APPEND ls_input_fields TO ls_input_fields.
      ls_input_fields-fieldname = 'MODE'.
      APPEND ls_input_fields TO ls_input_fields.
    ENDFORM.

  • 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.

  • Payment Card Info for sale order with BAPI_BUSPROCESSND_CREATEMULTI

    hi all
    i am trying to create a sales order using BAPI_BUSPROCESSND_CREATEMULTI
    and i am able to create an order successfully without any problem.
    the order is being generated. I am trying to input
    the payment card details to the BAPI_BUSPROCESSND_CREATEMULTI in
    PAYPLAN & PAYPLAN_DATE tables of the BAPI.
    I also used CRM_ORDER_READ report to see how these tables are being filled
    and based on that i had filled the payment card details in BAPI_BUSPROCESSND_CREATEMULTI
    but still ..i see the order being generated but dont see any payment card information
    being poulated in it.
    If you have any idea how i should fill the PAYPLAN, PAYPLAN_DATE
    tables and their respective input fields..please kindly help
    i tried all possible ways and could not get a solution
    Regards,
    Jessica Sam

    Hi Richard,
    So does this mean that i'd be able to capture all the data that is being determined after i make the call to this BAPI whithout saving it. Well.. I just want to simulate as it is happening in SAP.. i.e we enter the sold to party and hit 'enter' and all the data should be determined..and at this point i should read this data.
    Could you let me know if this could be done.
    Thanks,
    Sahil

  • Creating order with BAPI_BUSPROCESSND_CREATEMULTI

    Hi,
    I have a requirement to use a BAPI to create an order. We have a Business transaction type 'ZSO' for which we have defined Partner determination and Org data determination procedures. Now, I'd like to know if I pass the 'Sold to party' and the 'Business transaction type' ( 'ZSO' ) as inputs to the BAPI BAPI_BUSPROCESSND_CREATEMULTI, would the other data such as the Partners and Org data which would be automatically determined based on the Partner determination procedure and Org determination defined for that transaction type.
    If this doesn't happen, could you suggest me any other way out to accomplish this.
    Thanks,
    Sahil

    Hi Richard,
    So does this mean that i'd be able to capture all the data that is being determined after i make the call to this BAPI whithout saving it. Well.. I just want to simulate as it is happening in SAP.. i.e we enter the sold to party and hit 'enter' and all the data should be determined..and at this point i should read this data.
    Could you let me know if this could be done.
    Thanks,
    Sahil

  • 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

  • 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 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

  • IBase search result list not showing in Account Identification

    Hi Gurus,
    I'm new to CRM and we have an upgrade issue. We just migrated to EHP3 for SAP CRM 7.0. After the migration, the installed Base result list is not showing in the Account Identification screen. We have the requirement to show the installed base on the right side of the confirmed account and also the result list in case the customer have multiple equipments. The first part is working correct and it shows the data if there is only one equipment with the customer. But in cases where there are more than 1, the installed base view shows blank and also the result list does not show. Instead the Interaction History is displayed. I have checked all the forums and the config and it all looks correct. Here is the list of config that we have
    1) I have the Account Identification Profile created and assigned the Object Component 'ICCMP_IBASE'  to it with Auto Search checked ON. This I believe is for the IBase Details which is working fine for single equipments.
    2) Function Profile 'BPIDENT' with value of the Account Identification Profile has been assigned to the Business Profile.
    3) The Installed Base Profile 'DEFAULT_TREE' has been updated to UNCHECK 'Display Tree' as we want the result list.
    4) Function Profile 'IBASE' with value 'DEFAULT_TREE' has been assigned to the Business Profile.
    Am I missing something? The exact same config works perfectly in a box that has not yet been upgraded. Any help would be appreciated...

    Hi,
    I tested this issue and I can reproduce it in my environment. However, as far as I know, this behavior won't affect the usage of the address book.
    I searched the internal resource but I cannot find a bug report regarding this issue. If you have any suggestion about this issue, you can submit a feedback via:
    http://office.microsoft.com/en-US/suggestions.aspx
    Best Regards, 
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • IB51 IBASE create BAPI or Function module in R/3

    Hi Experts,
    I have requirement to create IBASE , I tried BDC recording for IB51. Since the Material and Equipment Tabular columns doesn't have insert or delete row (+/- button) . Handling tabular control became difficult using "KEYBOARD Page Down" event and it is not working in  BDC as in the actual transaction run.
    Is there any BAPI / Function Module / Class Method to create Ibase with Material and Equipment details in r/3 ECC 6.0
    Thanks,
    Murali

    Hi Murali,
    I am having the same problem. Did you solve problem while creating/changing IBASE? :-). IBSD_CREATE_IBASE, IB_COM_CREATE_IBASE_INITIAL function modules are not released by SAP.
    Can please provide the solution to create IBASE?
    Thanks,
    Naveen Kumar CH

  • 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

  • BAPI BAPI_BUSPROCESSND_CREATEMULTI to create sales orders in SAP

    Hi
    How can i use this BAPI  "BAPI_BUSPROCESSND_CREATEMULTI." to create mulitple sales orders in CRM from external system. Can you throw some lignt on what will be import parameters ?
    Thanks,
    Vaishnavi

    HI,
    There is a similar requirement in the following thread just check for reference.
    Trying to create a sales order in CRM with BAPI_BUSPROCESSND_CREATEMULTI.
    Regards and Best wishes.

Maybe you are looking for

  • Saving as iPod file Problem

    When I go to "share" and save the movie file as an iPod or iPhone file, it saves just fine. When I open the mpg-4 file on the computer in Quicktime, the screen is green, and then pixelated and flashing, etc. When I put it on the iTouch, sometimes the

  • Width of file in Application server

    Hi there, I downloaded a file in application server. In Appl server, it shows a part of data (part of records) which an internal table contains. When I download that file using CG3Y transaction, the file contains same data as it appears in Appl serve

  • No Prices in ISA CRM 6.0

    Hi Experts!! I have just configured ISA for CRM 6.0. I have also the IPC up and running. When I entered my Shop I see the prices on the products, but when I create an order I do not see any price on it!!Both on the item Total Price Unit Price 0,00 EU

  • HT201472 i lost my ipad and i want to secure my files how do i do it?

    i lost my ipad and i want to delete my file before someone use my files

  • Desktop Manager won't work with Bold 9900 no matter how many times I uninstall and reinstall!

    This really is a shambles and Blackberry are no help!! Can you guys help!! My blackberry won't SYNC with my computer! I have tried uninstalling and reinstalling the software, it isn't ideal at all! Any tips, I connect device and for hours it comes up