Current position:  Home > Default > Business partner maintenance for Product catalog view - Problem

Business partner maintenance for Product catalog view - Problem

Time:October 11
Advertisement
Hi All,
I am using the FM 'CRM_PRP_MAINTAIN' to create Business partner assignment for product catalog view.
Can anyone help me with this FM?
I am passing the following:
        gs_prp_bupa_i-ref_kind = 'B'.
        gs_prp_bupa_i-processing_mode = 'A'.
        gs_prp_bupa_i-bupa_ref_guid = gv_partner_guid.
        gs_prp_bupa_i-partner_id = gv_partner.
        APPEND gs_prp_bupa_i TO gt_prp_bupa_i.
        ls_input_fields-ref_kind = 'D'.
        ls_input_fields-objectname = 'PRP_BUPA_I'.
        ls_input-fieldname = 'BUPA_REF_GUID'.
        APPEND ls_input TO ls_input_fields-field_names.
        ls_input-fieldname = 'PARTNER_ID'.
        APPEND ls_input TO ls_input_fields-field_names.
        ls_input-fieldname = 'PROCESSING_MODE'.
        APPEND ls_input TO ls_input_fields-field_names.
        ls_input-fieldname = 'TYPE'.
        APPEND ls_input TO ls_input_fields-field_names.
        APPEND ls_input_fields TO lt_input_fields.
        CALL FUNCTION 'CRM_PRP_MAINTAIN'
          EXPORTING
            it_prp_bupa_i                   = gt_prp_bupa_i
          CHANGING
            ct_prpadm_h                     = lt_prpadm_h
            ct_prpadm_i                      = lt_prpadm_i
            ct_input_fields                   = lt_input_fields
            cv_log_handle                   = lv_log_handle
         EXCEPTIONS
           error_occurred                  = 1
           prp_locked                      = 2
           no_authority                    = 3
           status_change_not_allowed       = 4
           prp_id_already_exists           = 5
           invalid_prp_id                  = 6
           OTHERS                          = 7 .
But i don see the partner assignment working.
My doubt here is wat GUID shud b passed in the field gs_prp_bupa_i-GUID. As of now i m not passing any value here.
Please help me.
IF not this FM wat else can i use?
Advertisement
Hi Ganesh,
Thanks for your response.
i hope you understood my question.i have already performed all the steps which you have mentioned.Understand my query first.
I could solve that query myself.
Message was edited by: mdv sapcrm