Create Contact Person in SAP SRM 701

Hello Experts,
I'm new in SRM and having a problem with creation of contact person in SRM 701. I use NWBC to access it.
Somehow after clicked menu Edit Contact Person (my user id have several administrator role actually and can't find menu related with contact person creation) I get the error as below:
OBJECTS_OBJREF_NOT_ASSIGNED_NO
Access via 'NULL' object reference not possible.
Method: /SAPSRM/IF_CLL_IDENT_MAPPER~GET_META_CONSUMER of program /SAPSRM/CL_CH_WD_IDEN_MAP_EBD=CP
Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP
Method: OVERRIDE_LEAVE_INIT_SCREEN of program /SAPSRM/CL_FPM_OVRIDE_OIF=====CP
Method: /SAPSRM/IF_FPM_OVRIDE_EVT_OIF~OVERRIDE_EVENT_OIF of program /SAPSRM/CL_FPM_OVRIDE_OIF=====CP
Method: OVERRIDE_EVENT_OIF of program /1BCWDY/NBXOV5V3DFLBGUYTOQZC==CP
Method: IWCI_IF_FPM_OIF_CONF_EXIT~OVERRIDE_EVENT_OIF of program /1BCWDY/NBXOV5V3DFLBGUYTOQZC==CP
Method: GET_UIBBS_FOR_EVENT of program /1BCWDY/NBXNB0X6L5SUQPT52K96==CP
Method: IWCI_IF_FPM_FLOORPLAN_COMP~GET_UIBBS_FOR_EVENT of program /1BCWDY/NBXNB0X6L5SUQPT52K96==CP
Method: IF_FPM_FLOORPLAN~GET_UIBBS_FOR_EVENT of program CL_FPM_OIF_INTERNAL===========CP
Method: GET_NEXT_UIBBS of program CL_FPM========================CP
Also, I used tcode BP to create CP and link it to the vendor, but I can't create user id for that CP. Also users_gen do not give any option to create user id with CP linked.
I have no clue to trace the error and solve the problem. Also, is there any other way to create CP+user id via SAP GUI?
Thank you

Hi,
You have to create CP from portal not GUI. Go to External Business Partner POWL, select the vendor you want to create CP and click on create CP with reference button.
Regards,
Iqbal

Similar Messages

  • How to create contact person on SAP Solution Manager

    Dear all.
    I installed SAP Solman SR3, I config solution manager for download support package. When I use the transaction AISUSER to assign user and contact person. I receive the information:" Partner 000xxxxxx not found". I saw in Solman SR2 didn't have this error.
    Now I want to define contact person ! Please help me if you know about this problem.
    thanks all so much.

    Hi Thao
    We have 2 column in AISUSER transaction table....
    one is USer in which userid for the person is entered
    sec is contact person in which S-Userid is entered(Delete the S and Leading Zeros from it)
    The error which you are facing is because when you enter the entry a check execute by the system is enquireing the table AIContacts which is update by a background job .....................so have you scheduled this standard job .........REFRESH_ADMIN_DATA_FROM_SUPPORT.
    Also posting the help log for the ur convenience....
    Procedure to remove the error
    Please check if you entered the correct number (S-User without S) or use the value help for this field. If the value help doesn't provide any data the report AI_SC_REFRESH_READ_ONLY_DATA has not been run yet. It should be scheduled daily with transaction SM_CONFIG_JOBS as job REFRESH_ADMIN_DATA_FROM_SUPPORT. However if you want to run this job successfully the user who created the job must be maintained in transaction AISUSER first. So you should ignore the warning for this purpose, maintain the partner for this user and continue maintaining this table after the job has fetched the contact data for the value help from SAP Support Portal successfully.
    Even then it can happen, that you don't find the partner number in the value help. The reason for this may be, that the user doesn't have enough authorizations for some actions, since only users with certaine authorizations are downloaded from SAP Support Portal. So you also may ignore the warning in this case, as long as there is no typo in the partner number.
    Hope it clarifies your doubt
    Regards
    Prakhar

  • SRM: Create Contact Person Could not create user; contact your system admin

    Hi All,
    First, I am not sure this question should be posted here, or SRM General. From my point of view, here is more suitable.
    Our Problem:
    Activity "Create Contact Person With Reference" error with message:
    Step to reproduce:
    1. Login to SRM JAVA as super administrator
    2. Open tab "SRM Administration"
    3. Using the current query, search for Business-Partner no: 30000725
    4. Press "Create Contact Person with Reference"
    5. Fill all required fields, tick "Is contact person" checkbox
    6. Put: /SAPSRM/SUPPLIER as Role
    7. Save
    The following Message appear:
    Could not create user; contact your system administrator
    SPML Service error: Error reading request status.  Display Help
    Contact Person 2000000214 Created Successfully for BP 30000725  Display Help
    E-mail was sent
    The first error is intriguing. The username & password is created successfully in ABAP System (Our UME is in ABAP).
    QUESTIONS:
    1. What cause this problem? How to trace the error?
    2. We want the user have portal role automatically. How to achieve that?
    Thank you for any responses and helps.
    SRM ABAP Version:
    SRM_PLUS     700     0009     SAPKIBK209     SRM_PLUS for mySAP SRM
    SRM_SERVER     700     0009     SAPKIBKV09     SRM_SERVER
    SAP_ABA     701     0007     SAPKA70107     Cross-Application Component
    SAP_BASIS     701     0008     SAPKB70108     SAP Basis Component
    PI_BASIS     701     0007     SAPK-70107INPIBASIS     Basis Plug-In
    SRM JAVA Version:
    SRM JAVA: Release 7 SP Level 9.0
    BP SRM: Release 7 SP Level 9.0
    Edited by: Nur Agus Suryoko on Mar 11, 2011 11:36 AM
    Version information added

    Hi Fernando,
    Can you please tell me how you resolved this issue ??
    Regards,
    Adren

  • BAPI_ADDRCONTPART_SAVEREPLICA Create contact person issue

    Dear SAP Gurus,
    I'm coding a RFC for create customer with contact person. I used BAPI_PARTNEREMPLOYEE_GETINTNUM and BAPI_ADDRCONTPART_SAVEREPLICA in order to create the contact person for the corresponding customer.
    The process is
    1. get customer number by BAPI
    2. create customer by BDC
    3. create contact person
    The issue is
    The BAPI is successfully called, and the address data is into the table, eg. ADRC.
    But in Tcode XD03 contact person view, I can not find the contact person information for this customer.
    Could you please kindly advise?
    BTW, the BAPI input parameters are all correct I think, I also did the test in SE37
    Best Regards,
    Shiliang
    null

    Dears,
    Could you please kindly help?
    BR

  • BAPI to create Contact person in Vendor master

    Hi
    We need to create Contact Person in Vendor master using BAPI.
    We already used BDCs in CREMAS IDOC posting to create contact person. Since we dont get the address number back in IDOC posting, we need BAPI which can create the contact person and return the address number created for that contact person.
    Regards
    Anand

    Hi,
    this is not supported by CREMAS idoc types and there is no plan to get this in the future.
    There is no BAPI and no direct function module to maintain a vendor.
    The only solution that is coming will be in ECC 2005 EhP 4 or EhP5 and available from class VMD_EI_API with method Maintain.
    If you need this functionality from the CREMAS idoctype, the only solution is to request a remote consulting project or an EoD project at SAP under component LO-MD-BP-VM.
    BR
    Alain

  • Create Contact Person With Reference to Supplier - Massive

    Hi all,
    We are running SRM 7.01.
    We create contact persons manually with button "Create Contact Person With Reference".
    How can we do this in a massive way for all our vendors?
    Thanks
    Ezequiel

    Did finish last sentence :/  Can anyone provide IMG path / tcode to disable partner registration notification .
    Thanks
    Kim

  • How to create contact person with BAPI_ADDRCONTPART_SAVEREPLICA

    Dears,
        when using BAPI BAPI_ADDRCONTPART_SAVEREPLICA to create contact person,it exports the PERSON_NUMBER and ADDRESS_NUMBER, but no record found in table KNVK for customer or vendor .
       The parameters is as below,
      CALL FUNCTION 'BAPI_ADDRCONTPART_SAVEREPLICA'
        EXPORTING
          obj_type_p    = 'BUS1006001'
          obj_id_p      = <personal number>
          obj_type_c    = 'KNA1'
          obj_id_c      = <customer>
          obj_id_ext    = SPACE
          context       = '0005'
      also no return message and sy-subrc =0.
      what maybe the error? and any other method to create contact person ?
    Ths .

    DEAR,
        after test by my colleague, after creating contact person by BAPI_ADDRCONTPART_SAVEREPLICA , then he should input the parter and name into BI structure bknvk when he use bi fm to create customer, then the contact person will be associated with the customer.
       But i use BI fm 'VENDOR_BDCDATA' to create vendor, there is no such structure to do so. so no contact person associated with the vendor, but the contact person has been created and just not associated with this vendor in table KNVK.
       are there any other methods to do such things to associate contact person with my vendor after call BI FM  'VENDOR_BDCDATA' ?
    BR.

  • What is the best way to do the init synchronize contact person in SAP

    Dear All,
    Our client is on SAP881 PL09, Office 2003. They have 2 US companies and 1 CA company
    I am going to synchronize contact person to their outlook. However, they already have existing contact person list. Some of them are in SAP (but no BP code and not sure if everybody has the same format for contact person). Should I ask them delete all contact person in SAP then do synchronize contact person? Or there is any other good way to do the init synchronization?
    Thanks.
    Regards,
    Yuka

    Hi Yuka,
    You have the option to select various combinations under Options-General Tab
    -Sync. from Outlook to SAP
    -Sync. from SAP to Outlook
    -Sync. from both Outlook and SAP
    Under the Options-Conflicts tab you can also decide on handling the conflicts, on identifying the conflict which should be considered Primary(Also you can Either overwrite or keep the existing records,you can also preview records before writing) based on Outlook or SAP.This option is available for Calender,Contacts and Tasks.
    Unless you try out the requirements you will not know the entire details and system's behaviour.
    Please go thorough the Recorded Session on Outlook integration and configuration details document on the
    [Microsoft Outlook Landing Page|https://websmp103.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003245982006E]
    Need S-User ID for accessing the Portal
    Regards,
    Raja

  • Create Contact Person

    Hi Experts,
    I need FM/BAPI to create contact person for Customers.
    - Rk

    HI
    Use FM BBP_CREATE_CONTACT_PERSON
    Regards
    Pavan

  • Create Contact Person via BAPI / CMD_EI_API (TCode VAP1)

    Hi everybody,
    I have to develop a function module, which has to be called from an external application (java). This function module should, create contact persons for customers (like Transaction VAP1 does).
    I did not find any function module or bapi for this, but I found class CMD_EI_API, which seems to possibly help me. Unfortunately, there is no documentation for this class.
    Could anyone help me getting the contact person's addresses into the system? Just hustle me into the right direction and I will walk by myself
    Thank you very much
    Ralf
    Edit: The contact persons addresses have to be maintained for existing customers.
    Edited by: Ralf Wenzel on Feb 21, 2012 12:19 PM

    I have this working.  I wrote a wrapper BAPI.  If inserting a new contact, you need to get a new partner number otherwise it won't work.  There is extra code in this function module that you can remove.  I left it as I used the logic for other customer update BAPIs.
    FUNCTION Z_CUSTOMER_CONTACT.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(CUST) LIKE  ZCUSTOMER STRUCTURE  ZCUSTOMER
    *"     VALUE(TESTFLAG) LIKE  WDL_FLAG-XFLAG DEFAULT ' '
    *"     VALUE(FBAPI) TYPE  CHAR01 OPTIONAL
    *"     VALUE(CONTACT) LIKE  ZCONTACT STRUCTURE  ZCONTACT
    *"  EXPORTING
    *"     VALUE(CUSTOMERNO) LIKE  BAPIKNA103-CUSTOMER
    *"     VALUE(RETURN) LIKE  BAPIRETURN1 STRUCTURE  BAPIRETURN1
    *"  EXCEPTIONS
    *"      CLIENT_ERROR
    *"      KNA1_INCOMPLETE
    *"      KNB1_INCOMPLETE
    *"      KNB5_INCOMPLETE
    *"      KNVV_INCOMPLETE
    *"      KUNNR_NOT_UNIQUE
    *"      SALES_AREA_NOT_UNIQUE
    *"      SALES_AREA_NOT_VALID
    *"      INSERT_UPDATE_CONFLICT
    *"      NUMBER_ASSIGNMENT_ERROR
    *"      NUMBER_NOT_IN_RANGE
    *"      NUMBER_RANGE_NOT_EXTERN
    *"      NUMBER_RANGE_NOT_INTERN
    *"      ACCOUNT_GROUP_NOT_VALID
    *"      PARNR_INVALID
    *"      BANK_ADDRESS_INVALID
    *"      TAX_DATA_NOT_VALID
    *"      NO_AUTHORITY
    *"      COMPANY_CODE_NOT_UNIQUE
    *"      DUNNING_DATA_NOT_VALID
    *"      KNB1_REFERENCE_INVALID
    *"      CAM_ERROR
       data: wa_header          type cmds_ei_header,
             wa_central_data    type cmds_ei_vmd_central_data,
             wa_central_datax   type cmds_ei_vmd_central_data_xflag,
             wa_address         type bapiad1vl,
             wa_addressx        type bapiad1vlx,
             wa_contact_addr    type bapiad3vl,
             wa_contact_addrx   type BAPIAD3VLX,
             wa_tax_ind_st      type cmds_ei_tax_ind,
             wa_tax_ind         type cmds_ei_cmd_tax_ind,
             wa_bankdetail_st   type cvis_ei_cvi_bankdetail,
             wa_bankdetail      type cvis_ei_bankdetail,
             wa_company_code_st type cmds_ei_company,
             wa_company_code    type cmds_ei_cmd_company,
             wa_functions_st    type cmds_ei_functions,
             wa_functions       type cmds_ei_cmd_functions,
             wa_tcontact        type CVIS_EI_PHONE,
             wa_phone_st        type CVIS_EI_PHONE_STR,
             wa_phone           type CVIS_EI_CVI_PHONE,
             wa_fcontact        type CVIS_EI_FAX,
             wa_fax_st          type CVIS_EI_FAX_STR,
             wa_fax             type CVIS_EI_CVI_FAX,
             wa_econtact        type CVIS_EI_SMTP,
             wa_smtp_st         type CVIS_EI_SMTP_STR,
             wa_smtp            type CVIS_EI_CVI_SMTP,
             wa_sales_data_st   type cmds_ei_sales,
             wa_sales_data      type cmds_ei_cmd_sales,
             wa_customer        type cmds_ei_extern,
             wa_cust_created    type cmds_ei_extern,
             is_customers       type cmds_ei_main,
             es_customers       type cmds_ei_main,
             wa_correct         type cmds_ei_main,
             wa_defective       type cmds_ei_main,
             wa_mes_correct     type cvis_message,
             wa_mes_error       type cvis_message,
             it_contacts        type cmds_ei_contacts_t,
             wa_contacts        type CMDS_EI_CONTACTS,
             messages           type BAPIRET2_T.
       FIELD-SYMBOLS: <bapiret2> type BAPIRET2.
       DATA: STATUS TYPE CHAR20,
             PARNR  LIKE KNVK-PARNR.
       constants: FILLCHAR VALUE '/',
                  gc_objtype_customer TYPE mds_ctrl_object VALUE 'CUSTOMER',
                  gc_insert           TYPE c VALUE 'I',
                  gc_delete           TYPE c VALUE 'D',
                  gc_current_state    TYPE c VALUE 'C',
                  gc_update           TYPE c VALUE 'U',
                  gc_true             TYPE c VALUE 'X',
                  gc_false            TYPE c VALUE ' '.
       include fbgenmac.
    * generate data record
       fbgenmac 'Z_CUSTOMER_CONTACT'.
    * Clear memory variables - needed if run in Test mode
    * Initialization
       CALL METHOD cmd_ei_api=>initialize.
       wa_customer-header-object_instance-kunnr = cust-kunnr.
       wa_customer-header-object_task           = gc_update.
       append wa_customer to is_customers-customers.
       call method CMD_EI_API_EXTRACT=>get_data
         EXPORTING
           is_master_data = is_customers
         IMPORTING
           es_master_data = es_customers
           es_error       = wa_mes_error.
       IF wa_mes_error-is_error is initial.
         STATUS = 'OK'.
         LOOP at es_customers-customers into wa_cust_created.
           wa_company_code = wa_cust_created-company_data.
           IF STATUS = 'OK' and wa_mes_error-is_error is INITIAL.
    *      is_customers = es_customers.
             free: wa_customer, wa_company_code_st,
                   wa_company_code, wa_address, wa_sales_data_st,
                   wa_contacts, wa_contact_addr,
                   wa_sales_data, wa_tax_ind_st, wa_functions,
                   wa_functions_st, wa_correct, wa_mes_correct,
                   wa_defective, wa_mes_error, wa_cust_created,
                   wa_tcontact, wa_phone_st, wa_phone,
                   wa_fcontact, wa_fax_st, wa_fax, wa_econtact,
                   wa_smtp_st, wa_smtp.
             FREE: is_customers.
             IF CONTACT-FIRSTNAME IS NOT INITIAL.
               CALL FUNCTION 'NUMBER_GET_NEXT'
                 EXPORTING
                   nr_range_nr                   = 'AP'
                   object                        = 'PARTNER'
                   QUANTITY                      = '1'
                   SUBOBJECT                     = ' '
    *           TOYEAR                        = '0000'
    **          IGNORE_BUFFER                 = ' '
                 IMPORTING
                   NUMBER                        = PARNR
    *           QUANTITY                      =
    *           RETURNCODE                    =
                EXCEPTIONS
                   INTERVAL_NOT_FOUND            = 1
                   NUMBER_RANGE_NOT_INTERN       = 2
                   OBJECT_NOT_FOUND              = 3
                   QUANTITY_IS_0                 = 4
                   QUANTITY_IS_NOT_1             = 5
                   INTERVAL_OVERFLOW             = 6
                   BUFFER_OVERFLOW               = 7
                   OTHERS                        = 8.
               IF SY-SUBRC = 0.
    * Add partner type 20
                 wa_contacts-task           = gc_insert.
                 wa_contacts-data_key-parnr = PARNR.
                 wa_contacts-data-pafkt     = '20'.
                 wa_contacts-datax-pafkt    = 'X'.
    *        wa_contacts-address_type_1 = ''.
    *        wa_contacts-address_type_2 = ''.
    *        wa_contact_addr-fullname   = CUST-NAME.
                 wa_contact_addr-firstname  = CONTACT-FIRSTNAME.
                 wa_contact_addrx-firstname = 'X'.
                 wa_contact_addr-lastname   = CONTACT-LASTNAME.
                 wa_contact_addrx-lastname  = 'X'.
    * Assign address data directly
                 wa_contacts-address_type_3-task  = gc_insert.
                 wa_contacts-address_type_3-postal-data  = wa_contact_addr.
                 wa_contacts-address_type_3-postal-datax = wa_contact_addrx.
    * e-mail address
                 wa_econtact-task = gc_insert.
                 wa_econtact-data-std_no = 'X'.
                 wa_econtact-data-e_mail = CONTACT-E_MAIL.
    *        wa_econtact-datax-std_no = 'X'.
    *        wa_econtact-datax-e_mail = 'X'.
                 wa_smtp-current_state = ' '.
                 wa_smtp_st-contact = wa_econtact.
                 append wa_smtp_st to wa_smtp-smtp.
                 wa_contacts-address_type_3-communication-smtp = wa_smtp.
    *        wa_contacts-contact_texts  = ''.
                 append wa_contacts to it_contacts.
               ENDIF.
               CALL FUNCTION 'NUMBER_GET_NEXT'
                 EXPORTING
                   nr_range_nr                   = 'AP'
                   object                        = 'PARTNER'
                   QUANTITY                      = '1'
                   SUBOBJECT                     = ' '
    *           TOYEAR                        = '0000'
    **          IGNORE_BUFFER                 = ' '
                 IMPORTING
                   NUMBER                        = PARNR
    *           QUANTITY                      =
    *           RETURNCODE                    =
                EXCEPTIONS
                   INTERVAL_NOT_FOUND            = 1
                   NUMBER_RANGE_NOT_INTERN       = 2
                   OBJECT_NOT_FOUND              = 3
                   QUANTITY_IS_0                 = 4
                   QUANTITY_IS_NOT_1             = 5
                   INTERVAL_OVERFLOW             = 6
                   BUFFER_OVERFLOW               = 7
                   OTHERS                        = 8.
               IF SY-SUBRC = 0.
    * Add partner type 30
                 wa_contacts-data_key-parnr = parnr.
                 wa_contacts-data-pafkt     = '30'.
                 append wa_contacts to it_contacts.
               ENDIF.
    * Assign contacts to customer structure
               wa_customer-central_data-contact-contacts = it_contacts.
    * Set object_task to modify
               wa_customer-header-object_instance-kunnr = cust-kunnr.
               wa_customer-header-object_task = gc_update.
               append wa_customer to is_customers-customers.
               IF FBAPI = 'X'.
    * MAINTAIN_BAPI seems to now work.  Fills in table addr_appl_to_int used in function module
    * ADDR_MEMORY_SAVE line 631.  It should be blank.
                 call method cmd_ei_api=>maintain_bapi
                   EXPORTING
                     iv_test_run              = TESTFLAG
                     iv_collect_messages      = 'X'
                     is_master_data           = is_customers
                   IMPORTING
                     es_master_data_correct   = wa_correct
                     es_message_correct       = wa_mes_correct
                     es_master_data_defective = wa_defective
                     es_message_defective     = wa_mes_error.
               ELSE.
                 call method cmd_ei_api=>maintain
                   EXPORTING
                     iv_test_run    = TESTFLAG
                     is_master_data = is_customers
                   IMPORTING
                     es_error       = wa_mes_error.
               ENDIF.
               IF wa_mes_error-is_error is initial.
                 if testflag <> 'X'.
                   commit work and wait.
                   LOOP at wa_correct-customers into wa_cust_created.
                     CUSTOMERNO = wa_cust_created-header-object_instance-kunnr.
                     SY-MSGID = 'F2'.
                     SY-MSGNO = '056'.     " Failure
                     SY-MSGV1 = ''.
                     SY-MSGV2 = ''.
                     SY-MSGV3 = ''.
                     SY-MSGV4 = ''.
                     CALL FUNCTION 'BALW_BAPIRETURN_GET1'
                       EXPORTING
                         TYPE       = 'E'
                         CL         = SY-MSGID
                         NUMBER     = SY-MSGNO
                         PAR1       = SY-MSGV1
                         PAR2       = SY-MSGV2
                         PAR3       = SY-MSGV3
                         PAR4       = SY-MSGV4
    *               LOG_NO     = ' '
    *               LOG_MSG_NO = ' '
                       IMPORTING
                         BAPIRETURN = RETURN.
                   ENDLOOP.
                   CALL FUNCTION 'ADDR_MEMORY_CLEAR'
                     EXPORTING
                       force              = 'X'
                     EXCEPTIONS
                       unsaved_data_exist = 1
                       internal_error     = 2
                       others             = 3.
                 ELSE.
                   ROLLBACK WORK.
                   LOOP at wa_correct-customers into wa_cust_created.
                     CUSTOMERNO = wa_cust_created-header-object_instance-kunnr.
                     SY-MSGID = 'F2'.
                     SY-MSGNO = '035'.
                     SY-MSGV1 = ''.
                     SY-MSGV2 = ''.
                     SY-MSGV3 = ''.
                     SY-MSGV4 = ''.
                     CALL FUNCTION 'BALW_BAPIRETURN_GET1'
                       EXPORTING
                         TYPE       = 'E'
                         CL         = SY-MSGID
                         NUMBER     = SY-MSGNO
                         PAR1       = SY-MSGV1
                         PAR2       = SY-MSGV2
                         PAR3       = SY-MSGV3
                         PAR4       = SY-MSGV4
    *               LOG_NO     = ' '
    *               LOG_MSG_NO = ' '
                       IMPORTING
                         BAPIRETURN = RETURN.
                   ENDLOOP.
                   CALL FUNCTION 'ADDR_MEMORY_CLEAR'
                     EXPORTING
                       force              = 'X'
                     EXCEPTIONS
                       unsaved_data_exist = 1
                       internal_error     = 2
                       others             = 3.
                 ENDIF.
               ELSE.
                 messages = wa_mes_error-messages.
                 LOOP at wa_mes_error-messages assigning <bapiret2>.
                   CUSTOMERNO = CUST-KUNNR.
                   CALL FUNCTION 'BALW_BAPIRETURN_GET1'
                     EXPORTING
                       TYPE       = <bapiret2>-type
                       CL         = <bapiret2>-id
                       NUMBER     = <bapiret2>-number
                       PAR1       = <bapiret2>-message_v1
                       PAR2       = <bapiret2>-message_v2
                       PAR3       = <bapiret2>-message_v3
                       PAR4       = <bapiret2>-message_v4
    *         LOG_NO     = ' '
    *         LOG_MSG_NO = ' '
                     IMPORTING
                       BAPIRETURN = RETURN.
                 ENDLOOP.
               ENDIF.
             ELSE.
               CUSTOMERNO = CUST-KUNNR.
               SY-MSGID = 'F2'.
               SY-MSGNO = '152'.     " Failure
               SY-MSGV1 = CUST-KUNNR.
               SY-MSGV2 = CUST-BUKRS.
               SY-MSGV3 = ''.
               SY-MSGV4 = ''.
               CALL FUNCTION 'BALW_BAPIRETURN_GET1'
                 EXPORTING
                   TYPE       = 'E'
                   CL         = SY-MSGID
                   NUMBER     = SY-MSGNO
                   PAR1       = SY-MSGV1
                   PAR2       = SY-MSGV2
                   PAR3       = SY-MSGV3
                   PAR4       = SY-MSGV4
    *         LOG_NO     = ' '
    *         LOG_MSG_NO = ' '
                 IMPORTING
                   BAPIRETURN = RETURN.
             ENDIF.
           ENDIF.
         ENDLOOP.
       ELSE.
         CUSTOMERNO = CUST-KUNNR.
         SY-MSGID = 'F2'.
         SY-MSGNO = '077'.     " Failure
         SY-MSGV1 = CUST-NAME.
         SY-MSGV2 = ''.
         SY-MSGV3 = ''.
         SY-MSGV4 = ''.
         CALL FUNCTION 'BALW_BAPIRETURN_GET1'
           EXPORTING
             TYPE       = 'E'
             CL         = SY-MSGID
             NUMBER     = SY-MSGNO
             PAR1       = SY-MSGV1
             PAR2       = SY-MSGV2
             PAR3       = SY-MSGV3
             PAR4       = SY-MSGV4
    *         LOG_NO     = ' '
    *         LOG_MSG_NO = ' '
           IMPORTING
             BAPIRETURN = RETURN.
       ENDIF.
    ENDFUNCTION.

  • Error while creating contact person

    Hi While creating contact person in customer master data
    I am getting the message Partner XXXXXX is not assigned to a partner function?
    What might be the possible reason,
    Thanks in advance
    Regards
    Jai

    Hi jaigss,
    Please check the below threads,
    Getting a "Business partner not found with partner function type requester"://Re: Partner function not found
    Approver Can replaced by Requestor..
    Thanks,
    Swamy H P

  • How to restrict/block replication of contact person? SAP CRM 7.0 ehp 2

    Hello fellow crm consultants,
    I am looking for a (hopefully) standard solution to restrict the replication of contact persons (CP) from crm to ecc back and forth while they are related/linked to a customer.
    In this current scenario we create a new customer on the CRM side and immediately link new or existing contact persons to this customer before saving the new entity. Upon save the data is being replicated and creates the same in ECC. However there is not CP replication been setup between CRM/ECC meaning that normally no contact person information is being replicated or synced between these systems. But only when the customer is being replicated including contact person(s) this is information coming through anyways. I want to completely block the CP information and only replicate the customer information.
    Is above possible in SAP CRM 7.0 ehp 2 and how through customization?
    Thanks in advance.. points will be rewarded.
    Regards,
    Rogier

    Hi,
    If you want to replicate only customers from CRM to ECC, you can set a filter in the subscription on IS_CUSTOMER = "X" for example. That will stop replication of contact persons, organization units, employees, etc.
    See following oss note: 1834681 - How to set filter for BP upload from CRM to ECC
    But for something more complex, you might need to implement a function module and add it to table CRMC_BUT_CALL_FU. Kindly check following oss note for an example:
    638628 - No contact person upload into R/3: Example for exit users
    Best regards,
    Nicolas.

  • Create contact person for a debitor in background with bapi

    Hi,
    I want to create a conact person for a debitor in background with a BAPI. I found the BAPI BAPI_PARTNEREMPLOYEE_CREATE, but this BAPI creates the person in dialog-mode.
    Is there a BAPI-function to create a contact persons in background?
    best regards John

    The straight answer is that it doesn't work.
    The only workaround I've used befor is having a shared network folder that both your user and the user running the SAP dialog service have access to. This does work, but you could argue it is a little messy.
    That windows user is probably named SAPservice<SID> on the OS level (or equivalent for Linux).
    Windows Operating System User Settings in an SAP System - SAP NetWeaver Security Guide - SAP Library
    Share a folder and grant both acess. Afterwards you can run the bapi with the network path.
    espen

  • Number Range for Contact persons in SAP CRM

    Hi Experts,
    Can anyone brief me about the contact persons concept in CRM and ERP?
    How and where the the no. ranges are maintained , config settings, link between ERP and CRM?
    Standard Account group for contact persons in ERP and CRM?
    I would appreciate and points would be awarded .
    Best Regards
    Suchhi

    Contact persons can be maintained on both sides. In our case, we mantain contact persons mainly for needs of sales department, so we set master on CRM.
    How and where the the no. ranges are maintained , config settings, link between ERP and CRM?
    To define number ranges on crm side go to IMG>Cross-Application Components>SAP Business Partner>Business Partner> Basic Settings>Number Ranges and Groupings>Define Number Ranges
    For number range created you have to create grouping. This grouping has to be assigned manually or automatically when creating a business partner. The business partner gets a number from the number range that is assigned to the grouping.
    This can be defined under IMG>Cross-Application Components>SAP Business Partner >Business Partner>Basic Settings> Number Ranges and Groupings>Define Grouping and Assign Number Ranges
    For number range created inCRM system you have to define a corresponding number range in the ERP. This is necessary to ensure that business partners created in CRM system get the same ID when they are replicated to ERP.
    Go to IMG>Logistics>General >Business Partner>Customers>Control>Define and Assign Customer Number Ranges
    Next define account groups under IMG>Logistics>General>Business Partner>Customers>Control>Define Account Groups and Field Selection for Customer
    For each of CRM business partner classifications you have to define a mapping to an ERP account group. Run transaction code PIDE and do the mapping.
    And of course your middleware settings must also be in order.
    Standard Account group for contact persons in ERP and CRM?
    There are no predelivered account groups for contact persons.
    Regards.

  • How to get list of FMs while creating Contact Person from User Admin Link

    Hi Experts,
    We are implementing SAP ECommerce for my SAP ERP. In one of our requirements, we need to develop MASS UPLOAD program which will take input as Contact Person's first name, last name, address and authorization details and create new Contact Person as it is done through User admin link.
    To develop above tool, I want to trace all the Function Modules which are called while creating new Contact Person from User admin link.
    Please provide your inputs on how I can get the trace of FMs.
    Thanks,
    Keya

    Hi Keya,
    For a B2C eCommerce solution, you are looking at FMs BAPI_CUSTOMER_CREATEFROMDATA1 and ISA_USER_CREATE and the table USAPPLREF which holds the reference to the customer and user.
    To get the FMs called, you would have to do a session trace during B2C user registration / B2B user creation from UME. You could search this forum on a 'how-to' for doing a session trace or lookup the development and extension guide that provides a lot of useful information.
    Cheers,
    Ashok.

Maybe you are looking for

  • Problem with Adobe 9.1.3 (AIP) and previous Reader versions?

    Hi all, I'm new to using Administrative Installs when it comes to Adobe Reader, so please bare with me I've put together an AIP for Adobe Reader 9.1.3. I took the 'base' of 9.1.0, and integrated 9.1.1, 9.1.2, 9.1.3 and also did some final customisati

  • My facetime and imessages are not working properly.Although the apple id sign in is working the verufucation process isnt...please help.

    im a new apple user...my facetime and imessages do not seem to be working properly...although when it asks to sign in and i do get through that window but when the verification process comes i dont know what happens but i am sent back to the sign in

  • Wrong GR/IR account derivation for PM01 orders

    Wrong GR/IR account derivation for PM01 orders which will settle to related WBS elements Two gr/ir accounts have been determined with object class investment and overhead. The FI document picking up different accounts and not the same account for pm0

  • How do I get properties of images on a website?

    This may be a dumb question, but I recently switched to Mac. In Windows, if I right-click on an image on a website, I will be able to see all of the properties of it, like size, location etc. When I right-click on a Mac, I only get the options to cop

  • W520 battery in a W530?

    My a few months ago my W520 blew up 4 days after the 3 year international NBD warranty expired (and lenovo told me they would not help me), so had to buy a W530.  The PSU from the 520 works on the 530, as does the dock, but the batteries wont charge.