Skip to Content
avatar image
Former Member

Contract related validations during shopping cart creation

Hi All,

Quick question, are there any standard SRM validations when you create a shopping cart against a contract with a status "Blocked, Deleted or On Hold"

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 22, 2011 at 09:49 PM

    Hello,

    In include LBBP_PD_INDEXF20, we can find which verifications system does when a contract has been found.

    In case of locked contracts, it seems that system does not consider it.

    CALL FUNCTION 'BBP_PD_STATUS_GETDETAIL'

    EXPORTING

    iv_guid = ls_found_items-ctr_hdr_guid

    iv_object_type = c_contract

    TABLES

    et_status = lt_status.

    READ TABLE lt_status WITH KEY stat = c_s_ctr_locked

    inact = gc_no

    TRANSPORTING NO FIELDS.

    IF sy-subrc EQ 0.

    DELETE lt_found_items WHERE ctr_hdr_guid = ls_found_items-ctr_hdr_guid.

    ENDIF.

    Held and deleted contracts are not suggested as sources of supply.

    Regards,

    Ricardo

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 23, 2011 at 12:52 AM

    Blocked, Deleted or On Hold - these status contracts will not be available as source of supply.

    onhold - this status also will not be available as SOS.

    check any previous versions are availble. if it has previous versions and distributed to backend then this may be available as Source of supply.

    even TOTAL Value of contract did not check while you refere a contract in the shopping cart. real validation happens only while creating a Purchase order only.

    Muthu

    Add comment
    10|10000 characters needed characters exceeded