cancel
Showing results for 
Search instead for 
Did you mean: 

Can you have multiple supplier lists associated with one product category?

former_member252211
Discoverer
0 Kudos

We have a requirement to create sub supplier lists that are tied to the same product category.  However, when we attempt to create these sub-lists with different names we get Supplier List already exists for product category.

We are running SRM 7.01.

Please advise.

Thanks -

Amy

Accepted Solutions (1)

Accepted Solutions (1)

ivy_li
Active Contributor
0 Kudos

Hi Amy,

I tested this in our internal SRM7.01 system, and got the same error message.

I found this error message is raised from the following coding:

class /SAPSRM/CL_PDO_BO_ASL

method /SAPSRM/IF_PDO_BO_ASL~CHECK_FOR_CREATE_MODE

from line 200:

==========

IF ls_header-ordered_prod IS INITIAL.

* check if for specified category exist already a Supplier List

     
READ TABLE gt_avl_overview

       
WITH KEY category_id  = ls_header-category_id

                 ordered_prod
= space

     
TRANSPORTING NO FIELDS.

     
IF sy-subrc = 0.

        ls_messages
-msgty = /sapsrm/if_pdo_constants_gen_c=>gc_msgty_e.

        ls_messages
-msgid = /sapsrm/if_pdo_asl_c=>gc_message_class_asl.

        ls_messages
-msgno = /sapsrm/if_pdo_asl_c=>gc_msgnr_sl_exists_for_cat.

        ls_messages
-msgv1 = ls_header-category_id.



       
APPEND ls_messages TO lt_message.

        ev_abort
= abap_true.

     
ENDIF.

=====

Here the error /SAPSRM/PDO_ASL 007 will be poped up if there is existing supplier lists which has same product category.

This is standard design currently, and you can only modify this standard coding to warning in order to prevent such error.

Regards,

Ivy

Answers (0)