Skip to Content
author's profile photo Former Member
Former Member

BBP_DOC_CHECK_BADI

Hi,

My requirement is that When trying to “Order”, or “Check” a shopping cart via transactions BBPSC02 or BBPSC03, a message should be issued to the user that they cannot proceed if the GL code is prefixed “29”. I know I have to implement the code in this badi BBP_DOC_CHECK_BADI but as I am new to SRM I am not aware how to proceed.

Any help will be much appreciated.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 04, 2008 at 06:51 AM

    Hi,

    step1 : Go To SE18 Tcode. GIve the Badi name....

    Display the Badi

    Go to Implimentation Menu.

    Create a new Implimentaion for the Filter Value you required lets say SC (BUS2121) by giving Implimentation name in the Customer names space.

    Write ur logic in the Implimentation....

    Thanks and Regards

    Kalandi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 04, 2008 at 06:53 AM

    Function module BBP_PD_SC_GETDETAIL

    to get the SC details

    Table BBP_PDACC

    field G_L_ACCT

    stores the GL account value

    use GUID value to find particular SC item

    BR

    Dinesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sanjeet,

      I have used the table lt_items for checking the processed SC.

      LOOP AT lt_items INTO ls_items WHERE del_ind <> 'X'.

      and thn I am looping on the acc internal table with GUID and thn checking the prefix 29 for gl code AnD hence I have resolved the prob.

      Hope this helps.

      Regds,

      Seema

  • author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2008 at 08:37 AM

    Hi Seema,

    Did you try to delete that item which was not to be processed.

    We are having the similar requirement.

    we need to delete the particular item and the shopping should be processed for the remaining items as it is.

    Can you please suggest ?

    Rgds,

    Sanjeet

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.