PO Held:On activating BUS2201 filter in the Doc change BADI implementation

Hello All,
I am facing an strange issue with SRM Local POs while using the BADI : BBP_DOC_CHANGE_BADI for Local POs. We are using SRM 5.0 version with extended classic scenario and the service POs are created directly when the SC is completely approved i.e. without the 'Sourcing Cockpit' step.
The BBP_DOC_CHANGE_BADI implementation needs to be enhanced with BUS2201 filter for introducing custom changes in the SRM Local PO. This implementation is currently active in the system with other filters.
However, whenever the implementation is enhanced with the BUS2201 filter, after ordering the service SC the SRM PO goes strangely in the held status ! If the filter is removed, the SRM POs are created successfully without going in held status.
On checking the PO in the SRM Portal the error thrown is "Select a location to which a plant has been assigned" and when checked on the BBP_PD it is found that the Partners data is altogether missing on the SRM PO!!
What could be the possible resolution for this issue? What could be done to get the BADI implmentation working with BUS2201 filter activated ?
Any pointers/suggestions/comments towards this direction are more than welcome!
Best Regards.
Khaja.

Dear Poster,
As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
Best Regards,
SDN SRM Moderation Team

Similar Messages

  • Populating the error message (BAdI implementation)

    Hi there,
    I have a BAdI to implement <b>CRM_ORDERADM_H_BADI</b> where it will check certain header data. If there is a certain condition that is met, we must not allow the transaction to continue by adding error message on the top (the red button). How can we populate this error log within the BAdI implementation (putting it in codes in the <i>method </i>of the BAdI implementation).
    Many thanks in advance,
    Regards,
    MuJi
    Message was edited by: Muji.net

    Hello,
    Use CRM_MESSAGE_COLLECT to add your message, CRM_MESSAGE_DELETE to delete the old message from the log.
    example :
    DATA:
    lv_objnr               TYPE  crm_jest-objnr,
    ls_msgidno             TYPE  bal_s_idno,
    lt_msgidno             TYPE  bal_r_idno,
    lv_dummy_message       TYPE  c.
    **Delete message(s)
    ls_msgidno-sign       = 'I'.
    ls_msgidno-option     = 'EQ'.
    ls_msgidno-low-msgid  = Z01'.
    ls_msgidno-low-msgno  = '014'.
    APPEND ls_msgidno TO lt_msgidno.
    lv_objnr = iv_item_guid.
    CALL FUNCTION 'CRM_MESSAGES_DELETE'
        EXPORTING
          it_r_msgidno   = lt_msgidno
          iv_ref_object  = lv_objnr
          iv_caller_name = gc_object_name-customer_i.
        IF SY_SUBRC NE 0.
    *In the error case, collect the message:
          MESSAGE e014(Z01) INTO lv_dummy_message.
          CALL FUNCTION 'CRM_MESSAGE_COLLECT'
            EXPORTING
              iv_caller_name = gc_object_name-customer_i
              iv_ref_object  = lv_objnr.
        ENDIF.
    Regards,
    Frédéric

  • Validation for PO text in the material master :- BADI implementation

    Hi experts,
    I am trying to do a validation on the Purchase Order Text (long text) which must always be filled in Language EN and DE.
    Thus if a user tries to edit a material in MM02 or creates a new one in MM01 - this box of long text (PO text) must be filled, else it should throw an error.
    i created a BADI and inside that i am calling the FM read_text , but it check for only existing text already saved in the database.
    WHAT ABOUT THE RUN-TIME (ex creating a material).
    or what if the user purposely deletes an existing PO long text and then tries to save it (database might already have a PO long text saved for that material).
    Kindly help me if there is any FM which can be called to check in the Runtime if the PO long text is filled or if we can do some customizing and make that PO long text Mandatory.
    Please not we need this field mandatory only for only 03 plants, that's where the problem is coming.
    Many Many thanks in advance.
    Rittik.

    Hello Rittik,
    Please use Exit 'EXIT_SAPLMGMU_001' for your requirement. I checked and below code (READ_TEXT) picks latest text from the transaction in processing and hence can be used for raising any error. Let me know if you face any issues.
    if WMARC-WERKS = '...........' or '...'.
      lv_name = WMARA-matnr.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
    *   CLIENT                        = SY-MANDT
          id                            = 'BEST'
          language                      = 'E'
          name                          = lv_name
          object                        = 'MATERIAL'
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        =
        TABLES
          lines                         = lt_line
        EXCEPTIONS
          id                            = 1
          language                      = 2
          name                          = 3
          not_found                     = 4
          object                        = 5
          reference_check               = 6
          wrong_access_to_archive       = 7
          OTHERS                        = 8
      IF sy-subrc <> 0.
    *    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    endif.
    Regards,
    Diwakar

  • I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

    I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

    I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

  • Average filter but the image is gray and not color RGB

    Hi,
    i use this code for an average filter 3x3, the result is the image whit average but gray and not RGB color.... why??
    thanks in advance
        public void Average()
            int values[]=null;
            int input2d[] = new int [image.getWidth()*image.getHeight()];
            int [][] output2d=new int [image.getWidth()][image.getHeight()];
            image.getRaster().getSamples(0, 0, image.getWidth(), image.getHeight(),0,input2d);
            for(int y=0; y < image.getHeight(); y++)
                for(int x=0; x < image.getWidth(); x++)
                    int count = 0;
                    int average=0;
              values = new int[5*5];
                    for(int s = 0; s < 5; s++)
                        for(int r = 0; r < 5; r++)
                            try
                                values[count] = input2d[(y-2+r)*image.getWidth()+(x-2+s)];
                                count++;
                            catch(ArrayIndexOutOfBoundsException e){ }
                    //trovo il valore medio dell'intorno 5x5
                    for (int temp=0; temp<count; temp++)
                        average+=values[temp];
                    int valpixel=average/count;
                    output2d[x][y]=valpixel;
            image2 = new BufferedImage(image.getWidth(),image.getHeight(), BufferedImage.TYPE_INT_RGB);
            image2.getGraphics().drawImage(image,0,0,null);
            for(int y=0; y < image.getHeight(); y++)
                for(int x=0; x < image.getWidth(); x++)
                    image2.getRaster().setSample(x, y, 0, output2d[x][y] );// componente R
                    image2.getRaster().setSample(x, y, 1, output2d[x][y] );// componente G
                    image2.getRaster().setSample(x, y, 2, output2d[x][y] );// componente B
        }

    Can hel me please!!!

  • My icloud activation lock is ON my iphone, which requires an activation login to access the homescreen, but when i log in with the apple ID on the phone, it says the apple ID is not meant to unclock this iphone 5 ios 8.0.2. please help me solve this.

    My icloud activation lock is on my iphone, which requires an activation login to access the homescreen, but when i log in with the apple ID on the phone, it says the apple ID is not meant to unclock this iphone 5 ios 8.0.2. please help me solve this.

    Yes the phone belongs to me. It was purchased from United Kingdom Vodafone to West Africa, i had to factory unlock to use any sim in it. so it belongs to me. I did the activation myself, now after updating my iphone to the latest update, it required a user id and password to activate the phone, but anytime i enter the details, it tells me the user Id is not correct but the password is correct..

  • HT1918 I have 2 active itune accounts on the same laptop, I would like to know if I can delete or cancel the newest account and if so how do I do this.

    I have 2 active itune accounts on the same laptop. My orginal account was set up 3 yrs ago I believe for an ipod that I have but I hadn't used it in a long time. I recently bought an iphone 4s and my daughter was helping me with itunes. She made me another itunes account under another email address that I use for facebook instead of using the account I already had. I have purchaed a few songs and ring tones from this new account, but since then I logged out and started using my old account a week or so ago. What I want to do is delete or cancel the newest account but don't know how to or what to do. The email I get from "Apple" is being sent to the email address I use for facebook and not to my orginal aol email account. Can you tell me what I need to do to? I only want one account and I would like to keep the old account.
    Thank you!

    Stop using the account.
    You need do nothing more.
    You will need to authorize your computer for both accounts as you have purchased from both accounts.

  • HT201210 Hi, I went to update my iphone using my itunes site, halfway through i got a message saying reset, make sure that your network is active and try again, the network connection is fine. it will not allow me acces to my phone unless a recovery is do

    Hi, I went to update my iphone using my itunes site, halfway through i got a message saying reset, make sure that your network is active and try again, the network connection is fine. it will not allow me acces to my phone unless a recovery is done. I have not done any back ups and obviously dont want to lose any information. Please can anyone help
    Thanks
    Roger

    Hi, I went to update my iphone using my itunes site, halfway through i got a message saying reset, make sure that your network is active and try again, the network connection is fine. it will not allow me acces to my phone unless a recovery is done. I have not done any back ups and obviously dont want to lose any information. Please can anyone help
    Thanks
    Roger
    [email protected]

  • Is it possible to redirect in a filter After the doChain?

    Hello all,
    I have a filter configured...
      <filter>
        <filter-name>Hibernate Session Filter</filter-name>
        <filter-class>com.test.HibernateSessionFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>Hibernate Session Filter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>... in my Web.xml file.
    I'm using this filter to implement the Hibernate "Session in View" notion. This is where a suitable interceptor (filter for me!) grabs the request /response on the way in and starts a hibernate session... then your servlets do whatever it is they do (which may/may not involve hibernate)... then on the way out the filter commits the transaction and closes the session.
    More can be read about this here...
    http://www.hibernate.org/43.html
    ... but the most interesting bit is really the filter itself:
    public class HibernateSessionRequestFilter implements Filter {
        private static Log log = LogFactory.getLog(HibernateSessionRequestFilter.class);
        private SessionFactory sf;
        public void doFilter(ServletRequest request,
                             ServletResponse response,
                             FilterChain chain)
                throws IOException, ServletException {
            try {
                log.debug("Starting a database transaction");
                sf.getCurrentSession().beginTransaction();
                // Call the next filter (continue request processing)
                chain.doFilter(request, response);
                // Commit and cleanup
                log.debug("Committing the database transaction");
                sf.getCurrentSession().getTransaction().commit();
            } catch (StaleObjectStateException staleEx) {
                log.error("This interceptor does not implement optimistic concurrency control!");
                log.error("Your application will not work until you add compensation actions!");
                // Rollback, close everything, possibly compensate for any permanent changes
                // during the conversation, and finally restart business conversation. Maybe
                // give the user of the application a chance to merge some of his work with
                // fresh data... what you do here depends on your applications design.
                throw staleEx;
            } catch (Throwable ex) {
                // Rollback only
                ex.printStackTrace();
                try {
                    if (sf.getCurrentSession().getTransaction().isActive()) {
                        log.debug("Trying to rollback database transaction after exception");
                        sf.getCurrentSession().getTransaction().rollback();
                } catch (Throwable rbEx) {
                    log.error("Could not rollback transaction after exception!", rbEx);
                // Let others handle it... maybe another interceptor for exceptions?
                throw new ServletException(ex);
        public void init(FilterConfig filterConfig) throws ServletException {
            log.debug("Initializing filter...");
            log.debug("Obtaining SessionFactory from static HibernateUtil singleton");
            sf = HibernateUtil.getSessionFactory();
        public void destroy() {}
    }This all works well except when there's a hibernate exception! When there is an exception I'd like to trap the error and redirect the user to an error page showing some text.. or do something informative. The comment in the sample code "// Let others handle it... " ain't very helpful!
    When I try to do a redirect/forward I get illegalStateExceptions (?because the response is already committed??) Is there some way I can manage the response being committed? I'm not very clear on how the header states/'response flush' actually happens. I've had a rummage here and see many similar posts, but they all seem to refer to redirection Before the doChain method... whereas I want to redirect after that method call.
    Thanks in advance for any advice.

    Nope! Not yet. I tried doing a simple ResponseWrapper (just to mess with the response output, inserting text here and there...
    import java.io.PrintWriter;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpServletResponseWrapper;
    class HtmlResponseWrapper
    extends HttpServletResponseWrapper
      // A response must provide a PrintWriter and a ServletOutputStream.  So we
      // create new ones here, that uses our HtmlServletOutputStream instead of the
      // default ones...
      private PrintWriter printWriter;
      private HtmlServletOutputStream servletOutputStream;
      public HtmlResponseWrapper(
          ServletResponse servletResponse,
          ServletRequest request,
          String menuInsertMarker,
          String crumbInsertMarker)
      throws java.io.IOException
        // Run the constructor on HttpServletResponseWrapper
        super((HttpServletResponse) servletResponse);
        // Generate the appropriate ServletOutputStream/PrintWriter from the inbound
        // response...
        servletOutputStream = new HtmlServletOutputStream(
            servletResponse.getOutputStream(),
            request,
            menuInsertMarker,
            crumbInsertMarker);
        printWriter = new PrintWriter(servletOutputStream);
      public ServletOutputStream getOutputStream() throws java.io.IOException {
        return servletOutputStream;
      public PrintWriter getWriter() throws java.io.IOException {
        return printWriter;
    }... and that worked well. There's lots of examples of this kind of thing on the web. What I need to do now is understand when status changes, buffers get flushed etc. so I can override more than just the getOutputStream and getWriter methods, to keep my request alive until it gets back to the hibernate filter.
    Hoped to do it over Christmas... but maybe in the New Year!
    Once again - if anyone has any pointers - much appreciated!
    Rgds,
    T.

  • Macromedia Dreamweaver activation phone number is no longer active.  What is the correct number?

    Macromedia Dreamweaver activation phone number is no longer active.  What is the correct number?

    Try http://helpx.adobe.com/x-productkb/policy-pricing/activation-help-legacy-macromedia-produc ts.html

  • In OSX Activity Monitor, what's the difference between 'free' memory and 'inactive' memory

    In OS X Activity Monitor, what's the difference between 'free' memory and 'inactive' memory. My daughters 2Gb MacBook Pro is very slow, it probably needs more memory but there is almost 1Gb of 'inactive' memory but no 'free' memory when an application is opened.
    Thanks

    Free RAM is the one that has not been used by any application since you started up your Mac, and inactive RAM is the one that was used by an application and it is not in use anymore.
    1 GB of inactive RAM is a lot, and it may be the cause of the slowness. There are a lot of apps that allows you to turn inactive into free RAM. I use FreeMemory, but have a look at the Mac App Store.
    If you are a developer, you can do that with a command you can type into Terminal:
    sudo purge

  • Filter on the reports created using DIRECT DATABASE ACCESS in obiee 10g

    How do i filter on the report that is created by using DIRECT DATABASE ACCESS in obiee 10g?
    I have reprot A with link to report B, report B is created using DIRECT DATABASE ACCESS. so it is just a table, but i need to filter out 2 columns.
    here is the query in REPORT B:
    select strm, acad_group, crse_id, class_section, count(emplid) from v_crse_enrl
    group by crse_id, strm, class_section, acad_group;
    the link in REPORT A:
    '<a target="_blank" href="'||VALUEOF("bi_link")||'Go&Path=CF_CROSS_TEACHING_LIST&ACTION=Navigate&col1=STRM&val1='||view1_DIMEN.STRM||'&col2=CLASS_SECTION&val2='||TRIM(view1_DIMEN.CLASS_SECTION)||'">' ||view1_dimen.class_id||'</a>'
    from this link to report B.
    thank you!!

    I didnt tested using url, but the same works with using presentation variables.
    To your direct sql add where clause for those two columns like WHERE col='@{col1}' and col ='@{col2}'
    and try to run from url.
    let me know updates

  • How to stop the bridge.exe active as to install the new application eg.Flash CC?

    how to stop the bridge.exe active as to install the new application eg.Flash CC? please help?
    I can't install the any new application every time.

    Please refer:
    http://helpx.adobe.com/creative-suite/kb/error-installation-cannot-continue-bridge.html
    Regards,
    Ashutosh

  • Exchange active synch - I keyed the wrong passcode and now it is not asking for a passcode just tells me that I cannot access my business email.. Is there any way to reset ?

    Exchange active synch - I keyed the wrong passcode and now it is not asking for a passcode just tells me that I cannot access my business email.. Is there any way to reset ?

    press and hold both the power and home buttons until the apple logo appears and then let them go.  Wait till the phone restarts and then try

  • I have had creative suite premium installed on my computer for a long time, but now it states that my computers configuration has changed and needs to be reactivated, but it cannot be activated by internet, and the phone number states that adobe no longer

    I have had creative suite premium installed on my computer for a long time, but now it states that my computers configuration has changed and needs to be reactivated, but it cannot be activated by internet, and the phone number states that adobe no longer activates by phone. What is the solution to continue to use my program that I have had working on this computer for a long time?

    You do not state which version... if CS2 read next
    CS2 (and earlier) Activation Server replacement software
    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l
    When you install the special version of PPro2 on a Win7 or Win8 computer, you MAY need to right click the program icon and select WinXP compatibility from the option popup... AND Vista problems https://forums.adobe.com/thread/416347
    If not CS2, read next
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

Maybe you are looking for

  • How to restore iTunes Library from a recent time machine backup

    I have to make room on my internal HD on my iMac.   The HD is a 1TB and I have 391GB of music and video etc that are in my iTunes Library.  So I decided to move it to a new 5TB external HD which I formatted with 2 partitions.  One partition 2.5TB wil

  • E-commerce Sales Tracking is not working in magento (ver 1.7.0.2)

    Hi, e-commerce Sales Tracking is not working in magento for my website - [Link removed], I implemented remarketing tag (dc.js ) with it. Please help me find out the problem. Thanks Vimlesh

  • Links to screenshots in a pdf

    We publish our documents in pdf, but we use FrameMaker to create our documents, and we create cross-references for all of our screenshot captions.  This is done in case the screenshot is moved to another page by an edit and to automatically update th

  • Photo will not open to edit...get a triangle error

    photo will not open to edit...get a triangle error

  • EJB:What is a Business Interface ?

    Hello, I am using netbeans 5.5 and creating a stateless bean. I have the following files in my enterprise application: ConverterBean.java: This is my Bean. ConverterRemote.java: This is my Remote Interface. ConverterRemoteBusiness.java: Business Inte