Skip to Content
avatar image
Former Member

Badis while creating & approving the shopping cart

Hi,

I have the following scenario to be implemented:

While creating the shopping cart, the following checks needs to be performed :

The combination of Material and WBS element needs to be checked with the other line items of the same shopping cart as well as with the previous shopping carts items to determine if it is a duplicate. In case it is duplicate, it should throw an error for the user asking him to enter the reason for duplication in a new field (new field needs to be added to shopping cart). In case of duplicates it shouldnu2019t allow further processing of the shopping cart unless the user enters the reason in the text field.

When the approval work flow is triggered, the approvers should be provided with the information messages, if the shopping cart contains the additional field (newly created field) filled-in. How to pop-up the information message at the time of approving the shopping cart.. Any BADI serves this purpose ?

Can any body suggest me the BADIs & logic that mostly fit this scenario.

Thanks & regards,

Raj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 25, 2008 at 10:46 PM

    Hi Raj,

    You should be able to use the BADIs in SRM for your requirement.

    The help text is below:

    SPRO: SAP Implementation Guide> Supplier Relationship Management> SRM Server> Business Add-Ins (BAdIs)> Purchasing Document Check

    Check Purchasing Document

    Document checks can be classified in three categories:

    Checks that

    1. relate to the document header,

    2. relate to a single item and

    3. relate to the entire document.

    For performance reasons, checks of the second category (item checks) should only be carried out when:

    a new item is created,

    an item is changed or

    the entire document is to be checked for consistency (triggered, for example, by choosing the pushbutton Check).

    The BAdI (s. Business Add-In) BBP_DOC_CHECK_BADI is suitable for checks of categories 1 and 3. In BAdI BBP_DOC_CHECK_BADI all the items exist but you cannot yet recognize which items have been newly created or changed. For this reason, all items must always be checked in this BAdI. For performance reasons, we therefore recommend that you use BAdI BBP_ITEM_CHECK_BADI for checks of category 2 (purely item checks).

    Cheers.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member muthuraman govindasamy

      Hi Muttu,

      Thanks for the reply.. We are using SRM 4 version. This text schema is available in SRM 5 version. Is this available in SRM 4 too ? I am not finding it.

      regards,

      Raj