DOC_CHANGE_BADI not triggered for OLD SC-SAVE mode for EDIT- SAVE steps

Hi Experts ,
We have SRM7.0 ( SP08) with ECC6 ( Ehp4) having Classic Scenario.
In our business Price list ( Price in ECC Contract) will be always change  so, we have done small enhancement in BBP_DOC_CHANGE_BADI in method BBP_SC_CHANGE, to get latest Price of the already assigned SoS ( ECC Contract ).
When we create new SC/Template  from scratch or copying old SC or Template it brings latest prices correctly .
Case 1)Template - If we EDIT Template  &  just click on u201CSAVE AS TEMPLATEu201D button (w/o any change!) .. Doc Change BADi called & Template items updates with  latest Prices .
Case 2) OLD SC in SAVE Mode -But exactly same is not happening with OLD SC with SAVE mode ?  i.e.  When we open Old SC in EDIT Mode and SAVE it ( or even Check and refresh it) ..it do not updates items with latest Prices of Contract. It means Doc Change BADi is not getting called..by clicking on just  EDIT and SAVE buttons, unlike Template .
If we have to change something i.e. enter some Text  or add one line Item and deleted it again..etc, then only Doc Change BADi is getting called and updated with latest pricesu2026which is not recommendable ..to change the OLD SC in SAVE mode every time.
Can anyone please suggest/confirm,  why DOC_CHANGE_BADI is not getting triggered  in case of Mode , if  we open OLD SC( SAVE status) in EDIT Mode  and just SAVE it..just like Template ?
What can be done to achieve above ?
Thank you .
NAP

We are having the same SRM release and SP level. I did a brief test for the two scenarios you mentioned. There was no difference for me: neither template edit/save without change or old SC edit/save without change went through BBP_DOC_CHANGE_BADI implementation. And I wouldn't expect there is a different behavior here as an SC template is also technically an SC document. I would suggest that you make an attempt to change the price in BBP_DOC_SAVE_BADI implementation instead.

Similar Messages

  • Release strategy not triggering for Specif plant

    Hi Friends
    I configured a release strategy with three charecteristics. P.org, Plant, Net value.
    this stretegy is triggering for specific plants which are under a particular company code, and if I change to my plant and P.org. its not triggering.
    I have deleted all the classifications and release strategies from, no other data in VV_T16FS_2 , AUSP,T16FV,and T16FS tables except this release strategies data.
    do we have any settings at cocode level??????
    please respond if answer known
    Points would be awarded for for your valuable answer.

    Thank you deepak for your quick respond
    Actually There were already release strategies  with same charecteristics, and with the values of other plants and other P.orgs which are under certain companycode.
    these were triggering perfectly for PO
    Now created new strategy for plant and P.org under different plant code of different cocde. this strategy not triggering for PO.
    but if the release strtegy  values replaced by the erlier plants and P.org  again its triggering.
    Now I created new chars, class, and stategies still same problem persists.
    Release stategy working for the values of a prticular company code plants, Porgs.
    and already tried your suggestion Cocode as char. but same its working for only that company code not for my companycode

  • I got iPhoto '11, version 9.2.3 and want to edit photos using Photoshop elements 10. I have put P'shop 10 as the preferred editor... but when I click on the photo in iPhoto the Adobe p'shop 10 program opens BUT the picture does not open for editing. Wha.

    I got iPhoto '11, version 9.2.3 and want to edit photos using Photoshop elements 10. I have put P'shop 10 as the preferred editor... but when I click on the photo in iPhoto the Adobe p'shop 10 program opens BUT the picture does not open for editing. What the heck... I did fine with the old iPhoto and "Shop elements 6... .

    Adobe now hides the editor - what looks like it is not - you want the editor hidden in the support folder - see http://forums.adobe.com/message/3955558#3955558 for details
    LN

  • Sequence File will not unlock for editing

    A password was set on a sequence file.  This password was copied from an instruction on how to create a deployment for a set of test.  The sequence  file will not unlock for editing.  How can I unlock the sequence file?  I am using Test Stand 2014.  This file was last edited in Test Stand 2014.

    cbernie wrote:
    A password was set on a sequence file.  This password was copied from an instruction on how to create a deployment for a set of test.  The sequence  file will not unlock for editing.  How can I unlock the sequence file?  I am using Test Stand 2014.  This file was last edited in Test Stand 2014.
    I'm not 100% sure what you are having problems with. Is the problem that you simply don't remember the password? Or are you unsure how to get teststand to prompt to unlock the file? You can always go to the sequence file property dialog to unlock the file, assuming you know the password.
    -Doug

  • Error importing new version of our app "Application not available for edit"

    Hi,
    We are trying to import an app and get the error: Application not available for edit
    thats it on a clean white background - Application not available for edit shows up at the top left corner of the screen.
    Any clues?
    We tried a new id, tried a custom id.
    Then we tried deleting the existing app so we could insert the new app.
    We can't delete either.
    Help!

    I'm going to hijack this thread and ask a follow up question to Scott (or whoever reads this).
    When we export our application out of DEV it gets exported as Run + Build. When I have the DBA import into test or production on the Import screen I have them set it to Run Only and Reuse the Application ID. After installing it just forwards you to the same white screen with the "Application not available for edit" message on it. Now I understand the actual message since its Run Only, but its not clear that the import actually worked correctly or not.
    So although it does seem to import correctly, they always get nervous when they see this that it didnt import correctly. So is it better to have them import as Run + Build and then go change the build status through the admin front end rather than the way I'm doing it now?

  • Enter event not triggering for read-only checkbox

    I have some objects in a form that get "locked" when the user signs the form.  I'm not using the digital signatures.  Instead, when the user types their name into the signature text field, a script runs on the change event that makes all of the fields in the form read only.  It also unlocks the fields if the signature is deleted.
    I was worried that we would get a lot of phone calls with users that didn't understand that the form had locked ("Why doesn't this form work?!"), so I added some code to the enter event for all of the fields that would pop up a messagebox to explain to people trying to edit a signed form that the form was locked and that they would need to delete the signature to edit the form.
    This plan works perfect for my text fields and decimal fields.  It does NOT work at all for my checkboxes.  For some reason, the enter event is never triggered for read-only checkboxes.  I don't see any other events that would obviously work for me though.  Any ideas?
    Thanks

    Thanks, those are reasonable suggestions.
    In the first suggestion, I'm unclear about one aspect of how I would accomplish this.  I assume I would allow people to modify fields in the form, but that when they did, a msgbox would pop up that would inform them that, if they continued with this modification to a signed form, the signature would be removed.  I'm all good to that point.  But if they answered that they do not want to continue modifying that field and removing the signature, how can I code it to set the value back to what it was before the change?  Is there some method that will give me access to the value of the field BEFORE the attempted modification?  I went looking for something like $.previousvalue, but found nothing.
    I'd suggest that I could use a two-stage solution, in which I store the previous value on the enter event, and save it just in case they do not want to change the field when prompted by the msgbox, but since the enter event does not exist for checkboxes (my original problem), that seems like it won't work.
    As far as radio button suggestion, I like radio buttons very much except for one fatal flaw: they aren't (as far as I can tell) clearable.  That is a shame.  Clearly some people (like me) want both exclusivity AND clearability.  And we'd like the controls to have an enter event.  But I know I'm demanding   Anyway, as it is, I just end up having to use checkboxes and create a boatload of silly code to make them exclusive.
    Emily

  • PO Release Strategy not triggerred for particular Total Net Order Value

    Dear,
    I am currently facing the issue where release strategy for purchase orders is not getting triggered for a particular value or lower.
    For order value 1 INR or less, no release strategy is triggered for new created PO. And for value > 1 INR release strategy is getting triggered.
    All otehr PO characterstics are the same, I mean to say the values for other characterstics such as plant material group are identical.
    But the characterstics for release for Total net order value are <= 30000 INR. There are two system copies, where in one system the same release strategy is working as expected. But in other system the above mentioned issue occurs. There is no differnce which I can see in the release strategy setup.
    Please suggest for solution.
    Thank you.
    Warm Regards.

    Dear All,
    While looking further into the issue by going into debugging mode, we have found that in include LCLSCF2I, Internal table p_selection_criteria_tab , the value for ATFLV (Internal Floating point from) gets different values in the two systems. For example, in the affected system, for PO with 1INR tottal value, for one of the Total value chaaracterstics before INR characterstic, ATFLV value is 0,0000000000000000E+00, hence it gets out of loop and doesn't trigger release strategy.
    But in another system for same PO values and release setup, ATFLV value is 1,0000000000000000E+00 for that characterstic.
    May I know how the value for this field gets calculated.
    Thank you.
    Warm Regards.

  • After Update Trigger not triggering for first update

    Hi All,
    I have written a Trigger on AP_SUPPLIERS table to update AP_SUPPLIER_SITES_ALL when payment priority gets updated on AP_SUPPLIERS table. Trigger calls a pragma autonomous procedure after update happens, and updates sites table. We are on R12 (12.1.3) with  DB 11.2.0.3.0
    Somehow this is not working for the first update, after that for every update it is working. Any idea why this might be happening?
    Trigger Code: 
    CREATE OR REPLACE TRIGGER XX_AP_SUPPLIER_SIT_UPD_SYNC
    AFTER UPDATE
    ON AP.AP_SUPPLIERS
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    l_vendor_id     NUMBER;
    l_paym_priority NUMBER;
    BEGIN
       XX_AP_SUPSITE_UPDATE(:NEW.PAYMENT_PRIORITY, :NEW.VENDOR_ID);
       EXCEPTION
         WHEN OTHERS THEN
           RAISE;
    END XX_AP_SUPPLIER_SIT_UPD_SYNC;
    Procedure Code:
    CREATE OR REPLACE PROCEDURE APPS.XX_AP_SUPSITE_UPDATE (p_payment_priority  IN  NUMBER,p_vendor_id IN NUMBER) AS
      PRAGMA AUTONOMOUS_TRANSACTION;
      ex_custom EXCEPTION;
      PRAGMA EXCEPTION_INIT( ex_custom, -20001 ); 
    BEGIN
      UPDATE AP_SUPPLIER_SITES_ALL
      SET PAYMENT_PRIORITY =p_payment_priority
      WHERE VENDOR_ID = p_vendor_id;
      COMMIT;
    EXCEPTION 
    WHEN OTHERS THEN
        raise_application_error( -20001, 'Error while updating payment priority on Site '||SQLERRM );
    END XX_AP_SUPSITE_UPDATE;

    Thanks for your replies Saubhik/VT,
    now my trigger is compiled. but is not triggering. pl help me to resolve .....
    create or replace
    TRIGGER AUDIT_DEV.trg2
    AFTER DELETE OR UPDATE OF EMP_STATUS ON AUDIT_DEV.AUDIT_PERSONS
    FOR EACH ROW
    declare
    OSUSER varchar2(30);
         MACHINE varchar2(30);
         logon_time date;
    db_user varchar2(30);
    USERNAME VARCHAR2(30);
    EMP_USER_MODIFIED AUDIT_PERSONS.EMP_USER_MODIFIED%TYPE;
         EMP_DATE_MODIFIED AUDIT_PERSONS.EMP_DATE_MODIFIED%TYPE;
         EMP_SK AUDIT_PERSONS.EMP_SK%TYPE;
         EMP_ID AUDIT_PERSONS.EMP_ID%TYPE;
         EMP_NAME AUDIT_PERSONS.EMP_NAME%TYPE;
    EMP_RESIGNATION_DATE AUDIT_PERSONS.EMP_RESIGNATION_DATE%TYPE;
    BEGIN
    select     username,osuser,machine,logon_time into db_user,osuser,machine,logon_time from v$session where sid=(select sid from v$mystat where rownum=1);
    INSERT INTO AUDIT_DEV.AUDIT_PERSONS_LOG (EMP_USER_MODIFIED,EMP_DATE_MODIFIED,EMP_SK,EMP_ID,EMP_NAME,EMP_RESIGNATION_DATE,EMP_STATUS_OLD,EMP_STATUS_NEW,osuser,db_user,machine)
    VALUES(EMP_USER_MODIFIED,EMP_DATE_MODIFIED,EMP_SK,EMP_ID,EMP_NAME,EMP_RESIGNATION_DATE,:old.EMP_status,:new.EMP_status,osuser,db_user,machine );
    COMMIT;
    END;
    09:59:06 AUDIT_DEV@dev>UPDATE AUDIT_DEV.AUDIT_PERSONS SET EMP_STATUS='TEST' WHERE EMP_ID='4234';
    EMP_STATUS
    TEST
    1 row selected.
    Elapsed: 00:00:00.01
    10:00:03 AUDIT_DEV@dev>commit;
    Commit complete.
    Elapsed: 00:00:00.01
    10:00:17 AUDIT_DEV@dev>select * from AUDIT_persons_log;
    no rows selected
    Elapsed: 00:00:00.00
    10:00:17 AUDIT_DEV@dev>
    Edited by: Abk on Nov 4, 2010 10:42 AM

  • Workflow not triggered for BP when start condition's field is set by BADI

    Hi guys,
    I have created a workflow and given the start Event "Changed" of object BUS1006. In this I have given a start condition which triggers this event when a particular field on transaction BP is populated.
    Now the problem is that when I myself explicitly populate the field and press save the workflow is triggered fine, but when I populate that field automatically in a Save BADI (BUPA_GENERAL_UPDATE), the workflow is not triggered. Tcode swel just returns the msg that Start condition returns 'FALSE' for object.
    Can someone please help me in this or let me know where I can find its cause in system.
    Any help would be really appreciated.
    Regards,
    Shaili

    If this is just one field, create your own custom event and code launching it when saving BP with your field changed.
    Maybe event Changed is executed only for changes in GUI.
    If you program your own one you will have 100% control of it.
    Regards
    Radek

  • RSPPFPROCESS - mail not triggering for incorrectly processed PO

    Hi All,
    I tried executing the RSPPFPROCESS by giving a variant but I am not able to get the details of any incorrectly processed purchase orders in the output.
    The RSPPFPROCESS  program functions in such a way that if a PO is unsuccessfully processed, then on executing the RSPPFPROCESS program with status "Unsuccessfully Processed" a mail will be triggered to the creators whose POs were incorrectly processed.
    But this is not happening in my case, the mail is not getting triggered at all.
    The variant details are:
    Application : BBP_PD
    Action Profile : BBP_PD_PO
    Action Definition : STANDARD_PO
    Promotion status : 2 (ie)incorrectly processed
    Processing type : MET
    Time of Processing : Processing when saving document
    The radio buttons: Ignore "Repeat" flag and Ignore "Generated Manually" flag are checked.
    The check box "Number of Actions Outputted" is checked.
    Please help.
    Thanx in advance.
    Regards,
    Mary Catherine

    Hello Prasath,
    Please check your configuration on ERP/ECC
    side in transaction SWETYPV. Here you can enable or disable the
    event type linkage for BUS2012 and for CL_SE_PUR_PO_WF_OUT or any
    customer-specific business object related to Purchase Orders which might
    be in use. If you disable the event linkage for CREATE and/or change
    event, no message will be triggered upon PO creation.
    If this is not sufficient for your business process the usual logic is
    that all Purchase Order message are being sent out when the event
    linkage is active (e.g. you want to send out only some of the message
    types possible). In this case you might want to make use of BAdI
    PUR_SE_PO_INTERFACE_OUT_SELECT (enhancement spot / BAdI)."
    Enhancement Spot: PUR_SPOT_SE_PURCHASE_ORDER
    BAdI Definition:  PUR_SE_PO_INTERFACE_OUT_SELECT
    Interface:        IF_PUR_SE_PO_IF_OUT_SELECT
    BADI definition   PUR_APPL_SE_POCONF_IN_ASYN
    Also in the standard, for the following messages
       PurchaseOrderChangedInformation_Out
       PurchaseOrderERPRequest_Out_V1
       PurchaseOrderERPConfirmation_Out
    we are sending out these information as soon as a purchase Order is
    created. We do not distinguish between the services all of them will be
    triggered.
    Hope this hepls
    Ray

  • Workflow mail not triggering for PO's to the Manager

    Dear Seniors,
      I am creating a PO and keeping in hold and later on saving the PO. But for those kind of PO's, the manager is not getting the mail for approval. But if i create a PO without keeping in hold with same data, system is triggering the mail to the manager. Why is it so? how can i make the settings to trigger the mail for hold-saved PO's. Please guide me.
    Regards,
    Prasath J

    Hello Prasath,
    Please check your configuration on ERP/ECC
    side in transaction SWETYPV. Here you can enable or disable the
    event type linkage for BUS2012 and for CL_SE_PUR_PO_WF_OUT or any
    customer-specific business object related to Purchase Orders which might
    be in use. If you disable the event linkage for CREATE and/or change
    event, no message will be triggered upon PO creation.
    If this is not sufficient for your business process the usual logic is
    that all Purchase Order message are being sent out when the event
    linkage is active (e.g. you want to send out only some of the message
    types possible). In this case you might want to make use of BAdI
    PUR_SE_PO_INTERFACE_OUT_SELECT (enhancement spot / BAdI)."
    Enhancement Spot: PUR_SPOT_SE_PURCHASE_ORDER
    BAdI Definition:  PUR_SE_PO_INTERFACE_OUT_SELECT
    Interface:        IF_PUR_SE_PO_IF_OUT_SELECT
    BADI definition   PUR_APPL_SE_POCONF_IN_ASYN
    Also in the standard, for the following messages
       PurchaseOrderChangedInformation_Out
       PurchaseOrderERPRequest_Out_V1
       PurchaseOrderERPConfirmation_Out
    we are sending out these information as soon as a purchase Order is
    created. We do not distinguish between the services all of them will be
    triggered.
    Hope this hepls
    Ray

  • Message type EDI is not triggering for outbound deliveries

    Hello,
    When ever the shipment status is completed message type EDI is triggered for the outbound delivery.
    However, in spite of the shipment completion the DESADV EDI message is not created in the outbound delivery.
    So, i request you to help me in this issue.
    Regards,
    Anil

    Hi,
    1st please check the partner porfile for whom it is sent ( Eg -- Ship to party) using T.code WE20 in partner type ku, look for the customer for whom it is sent.
    Check for the message type wheter it is add in outbound parameteres.
    Finally check the varaint of shipment whether the required output is maintained in the shipment varaint and also make sure that condition record is maintained for the output.
    You find some solution with this.
    Regards
    vk

  • Workitem not triggered for Inbound IDOC Error (ORDERS05)

    Hi,
    The work item is triggered for the Syntax Error in the Idoc (EDI: Partner profile Not Available).
    But, as per my requirement i need to get the idoc error status (as Workitem) , any help regarding the resolution of this issue is highly appreciated.
    Regards,
    Rusidar S.

    Hi Uwe,
      Many thanks for your response, well i did run the report name that you said me.. when i executed that report i got a workitem as "ALARM Message from Active IDoc Monitoring" and workitem for EDI  syntax errors"EDI: Partner profile inbound not available"
    But my objective remains unsolved.. i need the error status of idoc to be generated, do u have any idea or solutions, kindly share it as its the 3rd day that am still into the same task....
    Regards,
    Rusidar S.

  • MouseEvents are not triggered for JMenu

    I would like to listen for MouseEvents but i'm not sure if it is a bug in java or some lack of knowledge on my side concerning event handling.
    I have a simple menu with one mouse listener and seems that mouseReleased and mouseClicked events are not triggered always as i would expect.
    if i run the code that has been attached below, than i have the following strange scenarios.
    Menu0 is not opened and click on it once:
    pressed Menu0
    clicked Menu0
    There is no mouseReleased received. why?
    Menu0 is opened and click on it once again:
    pressed Menu0
    released Menu0
    clicked Menu0
    Menu0 is collapsed and i have all the events. ok
    Menu0 is opened and click on Menu1:
    pressed Menu1
    released Menu1
    Menu0 is collapsed and there is no mouseClicked event. why?
    Menu0 is opened and go over Menu2 and click on it:
    pressed Menu2
    clicked Menu2
    There is no mouseReleased event. why?
    Press the mouse over Menu2 and release it over Menu3:
    pressed Menu2
    released Menu2
    why is it 'released Menu2' and not 'released Menu3' if it is pressed and released Menu2 than where is the clicked event anyway.
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JFrame;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    public class MouseEventTest
         public static void main( String[] args )
              JFrame frame;
              JMenuBar menuBar;
              JMenu menu, subMenu;
              JMenuItem menuItem;
              MouseListener mouseListener;
              mouseListener = new MouseAdapter() {
                   public void mouseEntered( MouseEvent e )
                   public void mouseExited( MouseEvent e )
                   public void mouseClicked( MouseEvent e )
                        System.err.println( "clicked " + ((JMenuItem) e.getSource()).getText());
                   public void mousePressed( MouseEvent e )
                        System.err.println( "pressed " + ((JMenuItem) e.getSource()).getText());
                   public void mouseReleased( MouseEvent e )
                        System.err.println("released " + ((JMenuItem) e.getSource()).getText());
              menuBar = new JMenuBar();
              menu = new JMenu( "Menu0" );
              menu.addMouseListener( mouseListener );
              menuBar.add( menu );
              menuItem = new JMenuItem( "Menu1" );
              menuItem.addMouseListener( mouseListener );
              menu.add( menuItem );
              subMenu = new JMenu( "Menu2" );
              subMenu.addMouseListener( mouseListener );
              menu.add( subMenu );
              menuItem = new JMenuItem( "Menu3" );
              menuItem.addMouseListener( mouseListener );
              subMenu.add( menuItem );
              menuItem = new JMenuItem( "Menu4" );
              menuItem.addMouseListener( mouseListener );               
              subMenu.add( menuItem );
              frame = new JFrame();
              frame.setTitle( "MouseEvent test for JMenu" );
              frame.setBounds( 320, 240, 320, 240 );
              frame.setJMenuBar( menuBar );
              frame.addWindowListener( new WindowAdapter() {
                   public void windowClosing( WindowEvent e ) {
                        System.exit(0);
              frame.setVisible( true );
    }

    Well there are differences across Operating Systems. For example I'm using JDK1.4.2 on XP. When I click on Menu0 I get:
    pressed Menu0
    released Menu0
    clicked Menu0
    It is always better to use a "higher" level event when possible. In this case you should be using an ActionListener, if you want to know when a menu or menuItem is clicked. Or maybe you could use a MenuListener to know when a menu is opened and closed.

  • OnXMPdata not triggered for F4V

    Hi,
    For some reason onXMPdata is not triggered. When I export to FLV, onXMPdata is fired. And all works.....
    It is suppose work in FP10.
    Any ideas? besides switching to FLV

    Hi Uwe,
      Many thanks for your response, well i did run the report name that you said me.. when i executed that report i got a workitem as "ALARM Message from Active IDoc Monitoring" and workitem for EDI  syntax errors"EDI: Partner profile inbound not available"
    But my objective remains unsolved.. i need the error status of idoc to be generated, do u have any idea or solutions, kindly share it as its the 3rd day that am still into the same task....
    Regards,
    Rusidar S.

Maybe you are looking for

  • Multiple Use

    Just purchase Lion for my MacBook Pro and now I want to load OS Lion on my son's MacBook Pro. Can not find the instruction on how to load his mac without purchasing the OS again. Please help

  • 8500a all in one, and macbook pro wirelessly connected. Broken pipe ????

     i have an all in one 8500a and a mac pro wirelessly connected.  It has been fine for 7 months.  Now I am getting a message that says broken pipe, what do I do?  I have no idea what a pipe is.

  • Administering Stored Procedures and Packages

    I've read about WRAP utility but I don't know exactly what's it about. Here you are what ýI've read:ý The code used to create the procedure ,package ,or function is available in the dictionary ýviews DBA_Source ,All_Source,and user_source except when

  • Insufficient disk space on Blu Ray player

    I just purchased a Blu Ray player (Sony Model: BDP-S470) which I really like, however, when I try to use some of the internet features when watching a disk I get an error message that says not enough drive space.  Does that mean I need a different pl

  • Custom Security Provider impossible to remove the MBean Jar File

    Hi, I am currently developping a custom security provider for Weblogic. I have deploy my Mbean File Jar on a remote server weblogic running on solaris. NO authentication provider for this security provider has been defined in the console, it means th