Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

Issue on Defining Partner Determination Procedure

$
0
0

Hi Colleagues,

 

I defined five new partner functions and assigned eight partner functions to procedure 'ZCVAA001' via the following customizing path. Please see the screen shot as below. But these eight parnter functions cannot be displayed totally on Web UI, only display five. I did debugging and found there is a statement in the code to remove some partner functions in standard function module 'COM_PARTNER_FCT_TO_DISPLAY_UI', please see the below. Please tell me how to solve this issue to make all eight partner functions displayed on Web UI?

 

==> IMG: Customer Relationship Management->Transactions->Basic Functions->Partner Processing->Define Partner Determination Procedure

 

screenshot.png

 

coding

* remove partner functions which are already represented in determ --
* proc and should be unique. ----------------------------------------
  LOOP AT lt_determ_proc INTO ls_determ_proc.

   SUPPLY partner_fct = ls_determ_proc-partner_fct
      TO CONTEXT gn_partner_context.
    DEMAND type_unique = lv_unique
           partner_pft = lv_partner_pft
           count_high  = lv_count_high FROM CONTEXT gn_partner_context
      MESSAGES INTO lt_symsg.

 

    IF NOT lv_unique IS INITIAL.

      LOOP AT lt_functions INTO ls_function
        WHERE partner_pft = lv_partner_pft
          AND partner_fct NE ls_determ_proc-partner_fct.

        DELETE lt_functions_to_use
          WHERE partner_fct = ls_function-partner_fct.

        DELETE lt_determ_proc
          WHERE partner_fct = ls_function-partner_fct.

      ENDLOOP.

    ENDIF.

*   delete function that is not allowed
    IF ls_determ_proc-count_high = 0.
      DELETE lt_functions_to_use
        WHERE partner_fct = ls_determ_proc-partner_fct.
    ENDIF.

  ENDLOOP.

 

Kind Regards

Andie


Viewing all articles
Browse latest Browse all 8150

Trending Articles