Contact Person - bi-directional

Hi Experts,
In CRM 7.0 when a contact person (e.g Power of Attoreney) is created for a BP through UTIL_IC, this relationship becomes bidirectional. for e.g if BP2 is Power of Attoreney for BP1, then BP1 also becomes Power of Attoreney for BP2, which is not intended. Only BP2 should be contact person for BP1. Is there a config/enhancement that can restrict creation of this bi-directional relationship ?

Hi Sandesh ,
The contact person relationship is not bi-directional, so you cannot create
from A to B and from B to A at the same time.
FYI: Customer-specific relation types can be defined with the Easy
Enhancement Workbench. Some extra steps then make these vidible in the
WebUI. Note 1139562.
It's true that in sapgui you can see the opposite transaction (Is Power... of), but
this does not mean that the realtionship is bi-directional.
Thanks & regards,
krishnen

Similar Messages

  • Access to this place or content is restricted. If you think this is a mistake, please contact your administrator or the person who directed you here.

    Hi guys,
    I posted a question which was reviewed and published, now i am not able to see the quesrion and the replies anymore.
    I am getting this message "Access to this place or content is restricted. If you think this is a mistake, please contact your administrator or the person who directed you here."
    Can you please help.
    Thank you
    Andy

    You get this due to your newer status in forum, most of the contect needs to be reviewed and approved by one of us ie modertors of this space

  • Access to this place or content is restricted. If you think this is a mistake, please contact your administrator or the person who directed you here. ''Getting

    I tried to post a question on SCN and I too got the following error:
    Access to this place or content is restricted. If you think this is a mistake, please contact your administrator or the person who directed you here.
    Does that mean my question is rejected ? or is it being moderated ?

    This is because your new discussion thread was rejected. You should see feedback from the moderation at http://scn.sap.com/actions/notifications

  • How to change Number range to Contact Person in Customer Master Record

    Dear all,
    We are maintaining contact person details under contact person tab in customer master record.
    Currently contact person is being created using VAP1 transaction.
    Can we automate this contact person creation by entering the data in contact person itself?
    and where can we change the number range of contact person.
    I have searched a lot to find the solution for this. Please help me to resolve this issue. Your suggestions will be highly appreciated.
    Best regards
    Venkat

    Hi Venkat,
    To your first question: "Can we automate this contact person creation by entering the data in contact person itself?"
    Yes, you can enter the contact person directly in the customer master in the contact person tab. A number is generated automatically.
    To your second question, go to transaction SNUM, and there use object "PARTNER". Here you can configure number range for contact persons.
    Hope this helps,
    Regards
    Nikhilesh

  • 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

  • Email notification is not send to contact person in SRM 7.0

    Hi Friends,
            I am in SRM 7.0 and SP03. I am using program '/SAPSRM/OFFLINEAPPROVALSEND' to send notification to approver. 
                 Email notification is not sending to contact person in SRM 7.0 after all approvers approved the shopping cart. I even enabled checkbox 'Approval of application object' for Contact person (in most cases, the creator of the document) in the SPRO-SAP Supplier Relationship Management-SRM Server-Cross Application Basic Settings-Business workflow-Process-Controled Workflow-Business Process Configuration-Define Recipient of Notifications. Am i missing something or is it how SRM 7.0 Build. I knew that this functionality is there in SRM 5.0 by activate the security level in the user settings(SU01), I also know that this setting will not work if we use Process control workflow. Any input on this..
    John.

    Hi Masa,
       Thanks for your input. I maintained the below entries but still it is not working. creator is not still receiving approved Email once the shopping cart is fully approved.
    1 .SPRO-SAP Supplier Relationship Management-SRM Server-Cross Application Basic Settings-Define Transaction Types -
        BUS2121 - SHC - Event Schema as SC.
    2. I enabled all four check boxes in this path Define Recipient of Notifications - approve shopping cart - contact person ( in most
        cases, the creator of the document ) .
    But I don't know how to maintain or what to maintain for Define Event Schema. This will be highly appreciate if you share your great experience on this..
    Hi Masa,
       I got approved Email after 10 mins. I don't know is this how the standard email send to requestor any idea how to change this? I found the Standard task that mail is sending
    Document 1000001212 approved
    WF-BATCH
    to:
    XXXXXXX
    08/12/2009 03:35 PM
    Show Details
    Document 1000001212 approved
    The document 1000001212 of type BUS2121 was approved.
    Technical information:
    Event:#APPROVAL_PROCESS_DOC_APPROVED
    SubCat:#APPROVAL_RESULT_NOTIFIC_NEW
    The following messages have been triggered by the system:
    You can view the document directly. Choose the following link :
    Login
       I am facing another issue that the Email is having a PORTAL link (Login text above is basically a link), when i click and after login into portal a pop up is displayed 'The specified transaction mode is not allowed with respect to workflow status of current document'. any idea about this issue?
    John

  • Contact person texts

    Hello,
    i have a view questions about the contact person texts in CRM:
    1. Where in customizing can i add text-types which are only relevant for contact person (not BP general)?
    2. How can i define the mapping from contact person text with R/3 (in the best case in both directions)?
    Thanks a lot
    Best regards
    Manfred

    Hi Manfred!
    Did you find a solution to this problem?
    Best regards,
    Cristina

  • Acceptance by contact person

    Hi,
    We are using SRM 7 and using BRF workflow. We have a scenario, where if the PO is approved, it is not directly sent to vendor but will go to purchaser first, and purchaser then can approve it and it will go to vendor. I understand that we can use the acceptance by contact person.
    As far as I understand the acceptance by contact person will ONLY be triggered if the workflow is coming to an end (either approved or rejected). So I set the event to for acceptance to be ALWAYS true, so whether it is approved or reject it will come to purchaser.
    However after testing, I observe that the event for acceptance is triggered in EVERY level. So for example PO has 3 approvers, and first approver approve it. then the event for acceptance by contact person is triggered so  a work item will be sent to the creator. I have then tried to make an event so it will be triggered ONLY if it is last level approver and it is approved, BUT it is not working.
    So my question, is it a bug? From documentation it seems certain that the acceptance SHOULD only working at the end of approval process, but it seems to be working at EVERY level of approver?
    If it is designed to be working like I observe do you guys have any idea how to set up the proper event?
    John

    Hi Melina,
    The problem is that we have to configure that it will need to go to creator IF the approval process is finished. As you might know the approval process is finished IF:
    1. The PO is rejected OR
    2. The PO is approved by last approver
    No 1 is pretty easy as you can use expression 0V_WF_CURRENT_DECISI = 'REJECTED'.
    But no 2 is more complex. If we're using 0V_WF_CURRENT_DECISI = 'APPROVED'. Then if we have 3 approvers, after first approver approve, the event is triggered, thus the work item going to creator. We dont want this as we only want to see the work item go to creator after approval process is finished.
    We have experimented with these expressions in scenario where there are 3 approvers
    - 0V_WF_PDOSTATUS = 'FINI' --> we find out that after the approval process finished, it only get status 'ACTV' the same when first approver approve, thus we cannot differentiate.
    - 0B_WF_ISLASTLEVEL --> we find out that after second approver approve, this event kick in, thus not fulfilling our criteria
    - 0B_WF_SYSTEMAPPROVAL --> in all level it will trigger 0B_WF_SYSTEMAPPROVAL = 'TRUE'
    So we're kind of stuck in here. Any idea?
    John

  • Mapping table for contact person download from ECC and Groupware

    There are 3 connected system in our landscape:
    - CRM
    - Groupware (connected to CRM)
    - ECC
    We have a requirement that the Contact Person can be created in any of the above 3 system and should flow to the other. So, the below scenarios are valid in our case:
    1.  Contact created in Groupware, flows to CRM ->ECC
    2.  Contact created in ECC flows to CRM-> Groupware
    3.  Contact created in CRM flows to Groupware and ECC
    Our flow system works fine and the contacts created in one system, flows to the other 3 and any changes also flow.
    The problem is that for the contacts created in ECC, the communication data (phone, email etc) flow in CRM and get updated in the "Work Address" section in the Contact display screen in Web UI and the updates from Groupware for communication data gets updated in "Main Address" section.
    Can anyone please advise what are the mapping tables for the address update when the contact is created in :
    - Groupware/CRM
    - ECC
    Regards

    Hi Christophe,
    Thanks for the response.
    I checked for the notes you suggested, but having read it it doesnt appear to address my problem. Did you get this from SAP as fix to solve' specify the name of contact person' error in SMW01 ? Unfortunately even SAP isnt replying to me on this.
    I am also not getting any dump, all my queues are getting cleared in ECC and CRM. My error remains 'specify the name of contact person'. Interestingly when i tried to push the contact person directly as bupa_main..it too failed with the same error..more interestingly whenver my contact person tried to get replicated as bupa_rel..ecc does eat up a number assignment..but no record is created for it in ecc...the smw01 says partiaslly send ..receivers has error..
    Edited by: Hamed Kazi on Apr 19, 2011 2:33 AM

  • Activation of BP and contact person

    Hello Experts,
    I want to know what is the procedure of activating the Business partner and contact person in IS-Media in ECC6.0. In ECC6, SAP has already given this facility so no need to execute any program but if I want to upgrade from 4.6c TO ECC6 then first we need to convert the customer to BP.
    Please help me to know the procedure.
    Thanks,
    Shyam

    If you want to use the business partner functionalityand migrate all your customers to business partners, you can not directly upgrade the system from 4.6C to ECC 6.
    1. Upgrade SAP either to 4.7 or higher.
    2. Goto t-code [JUPART] and execute all the reports one after another from top to bottom. These should be run only after completing the business partner configuration in SAP.
    3. By running all the reports, the customers are migrated to business partners
    4. Now upgrade the system to ECC 6.
    Hope I am clear enough

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

  • Automatically add role of Contact Person when BP is created as employee

    We have done the configuration and setup to transfer OM data from ERP (ECC 6.0)  to CRM 7.0. Before we execute the ALE job, we have one item we would like to add to the process.
    We are a County Government implementing CRM Incident Management. Users will need to assign and forward Incidents to defined Contact Persons in various Org Units. It would require significant manual effort to edit BP records for each employee to maintain the Contact Person role.
    Is there a way to automatically add the Contact Person role to each Employee BP at the time that the BP is created during the transfer of OM data? In other words, when IDocs are posted using RBDAPP01 in CRM, can the BP be created with the General role, the Employee role AND the Contact Person role at that time?
    I have not found a BP configuration which implements this. I also did not find a switch in T77S0 which would cause this to occur.
    I have searched this forum and the the CRM General Questions forum for this issue. I have found a few threads which posed the question but none which provided an answer for CRM 7.0. Please let me know if I have overlooked a previously posted answer.
    Thank you for your help and advice.
    Alannis Bratton

    Hi Robert.
    Thank you for the suggestion. However, this isn't related to creating the Contact Person role when creating a contact relationship directly in CRM. What we need is the automatic creation of the Contact Person role at the same time that the Employee BP is created via the ALE transfer of OM data from ECC to CRM.
    Alannis Bratton

  • Multiple contact persons for single vendor--LSMW

    Hi experts,
        i want to upload multiple contact persons for single vendor. using lsmw direct input method or recording method is it possible..if possible can u let me know the procedure.
    Thx in advance,
    Neelu

    Hi
    in our company v wil upload contact person details in Sales Data......
    so its not possible to upload more than one contact person for vendor....
    can u tell me wr u people wil enter the contact person details?
    Regards
    Smitha

  • DEBMAS with only part of contact persons?

    Hi there,
    if we send in a DEBMAS IDoc that contains only a subset of contact persons of a customer, the inbound process will remove all other contact records from KNVK. We tried different MSGFN values, without success.
    Is there any way we could send via DEBMAS only updated contact persons without loosing existing contact records not beeing sent with current IDoc?
    Best regards,

    Hi Gordon,
    this is incorrect.
    ADR3MAS is part of address management.
    It contains the address part of a contact persons.
    This is not directly related to customer contact person.
    Distributing ADR3MAs will never create a customer contact person on its own.
    If send alone, it will only creates an orphaned contact person address.
    What is correct in your reply is the fact DEBMAS do not distribute 100% accurate address data.
    So to succeed to have a completely correct and accurate customer master distribution you MUST setup a distribution where the Address idocs ADR1MAS, ADR2MAS, ADR3MAS are sent as well as DEBMAS idocs.
    Alain

  • Pre Populating contact person address details

    hello experts,
    I am new to crm 2007 and Interaction Center.
    I have requirement like this
    1) say i created an account of type organization
    2) once organization is saved, from account details screen there is an option to create a contact person using Related-buttion
    3) My requirement is when i click on Related button by default i need to pre-populate contact person address details with the Organization address details like street, house number, city, postal code, country and region.
    Could you please tell me what kind of code i have to write in the Related button event handler to populate organization address details in to create contact person address details
    Cheers, Srikanth

    Hello Srikanth,
    You have to implement any one of the BADI based on the data u want to update in the contact person.
    BUPA_CONTREL_IMPORT
    BUPA_CONTREL_EXPORT
    BUPA_CONTREL_DEFAUL
    You need to call FM to update the address.
    This hint should be able to take you in right direction.
    Regards,
    Kapil

Maybe you are looking for

  • Not able to call action of a button

    Hi All RIght now i am facing a very strange issue. In my applictaion if on my page i drop a buttion and add action for that button. If i add a SOP(System.out.println()) in that action i am able to see that in my back end means action is called. But o

  • My 4month old Macbook pro wont turn on unless plugged in, but remains on after unplugged.

    I got a brand new macbook pro 4months old.  What happens is it does not turn un unless it is plugged in when I unplug it though it is fine and will run till it dies, BUT if I were to close it and put it to sleep it will not turn back on. I would have

  • Filter items are not set via Redirect to a javascript function

    Hi, i have a page with a few filter items and a button which redirects to a javascript function. The problem is that the filter items are NULL in the called javascript function. If i do a submit via another button before then it works. Here the detai

  • Validating a selection screen filed

    Hi Experts, I need to to validate a selection screen field .The field is mentioned as selection parameter and it is obligatory. To validate this i have written the logic as follows: AT SELECTON SCREEN ON <FIELD-NAME>. SELECT STATEMENT. IF SY-SUBRC NE

  • Error -51,  Can't save to disk

    Ibook G3 700 12inch running 10.4 Getting error message when I try to save, duplicate an icon, any writing to disk. Computer still works in every other way. "Sorry, the operation could not be completed because an unexpected error occured (Error code -