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

BBP_DOC_CHANGE_BADI

Hi Folks,

We are running Ext. Classic scenario on SRM server 5.5.

I have a problem with the BBP_DOC_CHANGE_BADI. It seems like this BADI only works when you change a document and not when you create a document.

My problem is that I have made some logic that make some changes to the PO, but when the SC is convented to a PO either via sourcing or directly the PO goes into status "held". Next time I go into the PO the BADI makes the changes and the PO is OK.

My question is, is there a BADI that kicks in at the time of creation of the PO?

Thanks in advance,

Thomas

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 01:50 PM

    Hi Thomas,

    since SRM Server 5.5 there's a change in the BBP_DOC_CHANGE_BADI.

    In former version you had access to all sc_lineitems. Now you only have access to the actual lineitem. This can cause the problem that you have described.

    If you use FM BBP_PD_SC_GETDETAIL to read all line items you can modify them and all changes should be displayed in the sc.

    regards

    Joerg

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Disha,

      I have not checked the BADI yet, but my first thought is that it's to late the BADI kick in.

      The problem already occurs when the PO in SRM is created!

      When using the BBP_DOC_CHANGE_BADI the corrections work fine when manually create the PO, but not when the PO is created automatically.

      /Thomas

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 04:01 PM
    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.