SRM PO- BBP_DOC_CHANGE_BADI - Code not effective when the SRM PO is created

Hi Experts,
We are using SRM 5.0 Classic and Extended classic scenario and the SRM local PO(Extended classic scenario) is created for special cateogries only. The SRM Local PO is created automatically after the SC is completely approved.
The SC(one line item) with these special cateogies(chosen from catalogs) do and can have the currency different from the Org stucture currency and hence based on user selection the currency on the Item level(Currency selected in catalog) can be  different from the Item Overview total.
Now we need to have the SC item level currency at the SRM PO header level which is created from this SC automatically. The code has been written in the BBP_DOC_CHANGE_BADI implementation of method BBP_PO_CHANGE
With the code implementation, the currency is PO currency is not changed to SC item level currency when the PO is initially created from the SC automatically. However if the same SRM PO is changed and ordered again, the currency gets changed to the SC item level currency in the SRM PO, i.e. executes the BADI code as desired.
Can anybody guide how can the currency be changed when the PO is first created automatically from the SC ?
Many thanks in advance.
Best Regards,
Khaja.
Edited by: Moulail Shaik on Dec 28, 2011 3:59 PM

Soumyaprakash Mishra wrote:
i thought doc_change would have worked... but anyways, did you try doc_save badi?
Hi Soumyaprakash,
Thanks for the reply.
In the doc_save BADI there are no export parameters which can be modified.
Neverthless, please suggest if there is an way to change/influence the PO data using the doc_save badi in your view ?
Many thanks in advance.
Best Regards,
Khaja.

Similar Messages

  • Why am I told that fonts are not available when the file was originally created in Fireworks?

    I get the "Fonts not available" message when I open up a document, i.e. open up a png document in the program/computer/etc. where the program was created in the first place.
    I don't get this. How can the fonts not be available when I'm using the same program that used these fonts originally? Having said that, the appearance doesn't seem to change.

    Are the fonts in question installed on your computer?
    Fonts are not part of a program, fonts are installed on a system. Once installed, a font is available to any program that uses fonts. If you're opening a document that was made in the same program, but on a different system, using fonts you do not have installed, then you will get that message.
    So... Are you opening a document that you created? Are you opening the document on the same system on which the document was created? Have you made any changes to the installed fonts (installed or uninstalled any fonts)?
    What version of Fireworks are you using and what OS are you running it on?

  • Junitreport 'redirect' is not allowed when the secure processing feature is set to true.

    junitreport 'redirect' is not allowed when the secure processing feature is set to true.
    Hello,
       I'm running flexunit4.1.0-8 and I have an ant script running the test suite.    I recently upgraded from FB 4 to 4.5 and now I'm getting
    failures on junitreports.  Here's the full error: 
    [junitreport] : Error! Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.
    [junitreport] Failed to process C:\TDMSE_2_6\tdmse\flex-test\flex_unit_reports\TESTS-TestSuites.xml
    BUILD FAILED
    C:\TDMSE_2_6\tdmse\build\flexunitbuild.xml:116: Errors while applying transformations: javax.xml.transform.TransformerException: java.lang.RuntimeException: Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.
    Here's the junitreport section:
    [code]
    <target name="flex-unit-execute-tdmse-test-runner"
                                  description="executes the test runner app">
              <flexunit swf="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf"
                                  toDir="${FLEX_UNIT_REPORTS_HOME}"
                                  haltonfailure="false"
                                  localTrusted="true"
                                  verbose="true"
                                  headless="false"/>
              <junitreport todir="${FLEX_UNIT_REPORTS_HOME}">
                        <fileset dir="${FLEX_UNIT_REPORTS_HOME}">
                                  <include name="Test-*.xml"/>
                        </fileset>
                        <report format="frames" todir="${FLEX_UNIT_REPORTS_HOME}/html"/>
              </junitreport>
    </target>
    [/code]
    And here's the full ant build:
    [code]
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE project>
    <!--
                             TDMS flex unit test suite
    $Author:: hermannee                                                            $
    $Revision:: 10963                                                              $
    $Date:: 2011-11-15 13:38:46 -0500 (Tue, 15 Nov 2011)                           $
    $URL:: svn://ehsntpvld03.niehs.nih.gov/dev/tdmse_test_suite/trunk/build/flexun#$
    -->
              <!-- **** ADD THIS TO tdmes/build/build.xml *************
              <property name="FLEX_UNIT_HOME" value="${tdmsedir}/../tdmse_test_suite" />
              <target name="run_flex_units">
                  <ant antfile="${FLEX_UNIT_HOME}/build/build.xml" />
              </target>
              ********************************************************* -->
    <project name="flexunitbuild" basedir="." default="flex-unit-start-test-runner">
              <tstamp>
                        <format property="build.date" pattern="MMMMM dd, yyyy" />
                        <format property="build.time" pattern="HH:mm:ss" />
              </tstamp>
              <property name="tdmsedir" value="${basedir}/.." />
              <property name="builddir" value="${tdmsedir}/../build" />
              <property name="FLEX_HOME" value="${builddir}/tools/flex-4.5.0" />
              <property name="PARSLEY_HOME" value="${builddir}/tools/parsley-2.4.0" />
              <property name="FLEX_UNIT_HOME" value="${tdmsedir}/flex-test" />
              <property name="FLEX_UNIT_LIBS_HOME" value="${builddir}/tools/flexunit-4.1.0-8" />
              <property name="FLEX_UNIT_REPORTS_HOME" value="${FLEX_UNIT_HOME}/flex_unit_reports" />
              <property name="FLEX_UNIT_TEST_HOME" value="${FLEX_UNIT_HOME}/flex_unit_tests" />
              <!-- ==== tasks ============================ -->
              <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
              <taskdef resource="flexUnitTasks.tasks" classpath="${FLEX_UNIT_LIBS_HOME}/flexUnitTasks-4.1.0-8.jar" />
              <!-- dev -->
              <echo>basedir: ${basedir}</echo>
              <echo>tdmsedir: ${tdmsedir}</echo>
              <echo>builddir: ${builddir}</echo>
              <echo>FLEX_HOME: ${FLEX_HOME}</echo>
              <echo>FLEX_UNIT_HOME: ${FLEX_UNIT_HOME}</echo>
              <echo>FLEX_UNIT_LIBS_HOME: ${FLEX_UNIT_LIBS_HOME}</echo>
              <echo>FLEX_UNIT_REPORTS_HOME: ${FLEX_UNIT_REPORTS_HOME}</echo>
              <!-- =================================
              target: run-tdmse-test  
              ================================= -->
              <target name="flex-unit-start-test-runner"
                                  description="clean, compile and run tdmse flexunit tests"
                                  depends="flex-unit-clean-tdmse-tests,
                                  flex-unit-tdmse-compile-test-suite,
                                  flex-unit-execute-tdmse-test-runner"/>
              <target name="flex-unit-clean-tdmse-tests" description="Cleans the FlexUnit test and reports directories">
                        <delete dir="${FLEX_UNIT_REPORTS_HOME}" failOnError="false"
                                            includeEmptyDirs="true" />
                        <mkdir dir="${FLEX_UNIT_REPORTS_HOME}" />
                        <delete dir="${FLEX_UNIT_TEST_HOME}" failOnError="false"
                                            includeEmptyDirs="true" />
                        <mkdir dir="${FLEX_UNIT_TEST_HOME}" />
              </target>
              <target name="flex-unit-tdmse-compile-test-suite">
                        <mxmlc file="${tdmsedir}/flex-src/TDMSETestRunner.mxml"
                                            output="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf">
                                  <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                                  <!-- ==== include tdmse resource bundles ====== -->
                <locale>en_US</locale>
                <source-path path-element="${tdmsedir}/flex-src/locale/{locale}" />
                <include-resource-bundles>COMMON</include-resource-bundles>
                <include-resource-bundles>OW</include-resource-bundles>
                <include-resource-bundles>PREF</include-resource-bundles>
                <include-resource-bundles>RD</include-resource-bundles>
                <include-resource-bundles>RG</include-resource-bundles>
                                  <!-- ==== compile parsley library ============= -->
                                  <compiler.library-path dir="${PARSLEY_HOME}" append="true">
                                            <include name="parsley-flex4-2.4.0.swc" />
                                            <include name="spicelib-flex-2.4.0.swc" />
                                  </compiler.library-path>
                                  <!-- ==== compile all tdmse flex-src ========== -->
                                  <source-path path-element="${tdmsedir}/flex-src" />
                                  <source-path path-element="${tdmsedir}/flex-test" />
                                  <!-- ==== compile all flexunit swc's ========== -->
                                  <compiler.library-path dir="${FLEX_UNIT_LIBS_HOME}" append="true">
                                            <include name="*.swc"/>
                                  </compiler.library-path>
                                  <!-- ==== compile all flexunit swc's ========== -->
                                  <compiler.library-path dir="${FLEX_UNIT_LIBS_HOME}/mocklibs" append="true">
                                            <include name="*.swc"/>
                                  </compiler.library-path>
                                  <compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
                                  <compiler.headless-server>true</compiler.headless-server>
                        </mxmlc>
              </target>
              <target name="flex-unit-execute-tdmse-test-runner"
                                            description="executes the test runner app">
                        <flexunit swf="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf"
                                            toDir="${FLEX_UNIT_REPORTS_HOME}"
                                            haltonfailure="false"
                                            localTrusted="true"
                                            verbose="true"
                                            headless="false"/>
                        <junitreport todir="${FLEX_UNIT_REPORTS_HOME}">
                                  <fileset dir="${FLEX_UNIT_REPORTS_HOME}">
                                            <include name="Test-*.xml"/>
                                  </fileset>
                                  <report format="frames" todir="${FLEX_UNIT_REPORTS_HOME}/html"/>
                        </junitreport>
              </target>
              <!-- ======================================================== -->
    </project>
    [/code]
    I haven't seen much info about this problem anywhere on google except for this forum post:
    http://forums.adobe.com/thread/740146
    Thanks for any help!

    If you include the xalan.jar library to the build.xml execution classpath everything works!!!!!!.
    I hope it will be userfull.

  • What effects when the scripts in INST_TOP were START / STOP

    What effects when the scripts in INST_TOP were START / STOP
    adalnctl.sh adforms-c4wsctl.sh adopmnctl.sh gsmstart.sh msc
    adapcctl.sh adformsctl.sh adpreclone.pl ieo mwactl.sh
    adautocfg.sh adformsrvctl.sh adstpall.sh javacache.log mwactlwrpr.sh
    adcmctl.sh adoacorectl.sh adstrtal.sh java.sh sqlnet.log
    adexecsql.pl adoafmctl.sh cm.sql jtffmctl.sh synonym.txt
    When we will connect through front end (URL), how will we know that which service is not working and what is the main problem and how to solve that.

    Please post the details of the application release, database version and OS.
    What is the status of the services? Please issue "adopmnctl.sh status" and post the output here.
    What is the reason, when we tried to connect through front end but its showing white screen and not connect? How to rectify it?Compile JSP files manually -- Blank Page Accessing R12 - 'Missing class: _RF' in OACore application.log [ID 467562.1]
    What is the reason, when we entered our Username and Password on first screen, but after that its not connected to our apps? How to rectify it?What is the error? Any errors in Apache log files?
    What is the reason, when it shows HTTP Error 500 Internal Server error. How to rectify it?Again, check Apache log files for details about the error.
    Please run AutoConfig and make sure it completes successfully.
    Also, make sure no errors are reported in the database log file.
    R12: Troubleshooting 500 Internal Server Error in Oracle E-Business suite [ID 813523.1]
    Thanks,
    Hussein

  • [SOLVED]Gnome 3.4 is not suspending when the lid is closed.

    Hey..
    Since upgrading to gnome 3.4.1, my laptop does not suspend when the lid is closed.
    I have read this this thread without getting a clear answer...
    I have checked the setting in gnome tweak tool, and they are both set to "Suspend"
    The laptop has no problem suspending, if i run the command, or choose the option in the menu to the right.
    Is this a bug ?
    What can i do to fix it. ?
    Last edited by Munken (2012-06-20 05:54:08)

    See this thread for updates on the problem.

  • Why the menu to move from one page to another is not seen when the page is online?

    On my web, I have different pages like 'Homepage' or 'Contact' but when I publish my web I can not see the menu.
    why the menu to move from one page to another is not seen when the page is online?
    Thank you,
    Roger.

    Where are you publishing and how are you uploading the files?

  • One of our ipads do not pling when the opponent sent a word in the application Wordfeud. The pling for email works.

    When playing Wordfeud one of our ipads do not "pling" when the opponent sends a word. Haveö the sound on and use the same settings as on the other ipad that does pling... ?..

    What is your NLB?
    Do you have any configuration change on load balancer?

  • My iPad Prefs are set for the side switch to Mute; but the speaker does not mute when the switch is moved down.

    My iPad Prefs are set for the side switch to Mute; but the speaker does not mute when the switch is moved down.

    That setting only works for system sounds like push notifications (emails and the like), some game sounds, keyboard clicks and things like that. If you want to mute all sounds you still have to turn the volume all the way down with the volume switch.

  • Why does the alarm not work when the iphone 4 is turned off

    why does the alarm not work when the iphone 4 for is  turned  off works fine when on most other phones work when off

    The only phone I've ever had that would turn on and sound the alarm is a Blackberry. So, I'd hardly say "most phones" have this function.

  • Loading new class files when they are not available when the JVM starts

    Simple Question
    Is it possible to load class if it was not compiled when the original JVM was launched?
    More Detailed Question
    Our build system is getting a slight tweak with a new test runner. After our build system compiles the file, I would like to be able to load the files that have just been compiled.
    Our build system runs inside its own JVM and calls ant scripts to run the different processes(Separate JVM). The new test runner will also be called from the build system(Same JVM) but not as an ant target. Is it possible to call the newly compiled files from inside the build system JVM if they had not been created on the start of that JVM using reflection?
    Thanks in Advanced!

    public class t
        public static void main(String args[])
         throws Exception
         Writer out = new FileWriter("Foo.java");
         out.write("public class Foo implements Runnable {\n");
         out.write("    public void run() {\n");
         out.write("        System.out.println(\"run like the wind\");\n");
         out.write("    }\n");
         out.write("}\n");
         out.close();
         Runtime.getRuntime().exec("javac Foo.java").waitFor();
         ((Runnable) Class.forName("Foo").newInstance()).run();
    }

  • TS1410 My iPod shuffle ( 1st or 2nd generation) will not recharge and does not show when the doc is connected to my MacBook Pro. I'm running the latest updated version of iTunes.

    My iPod shuffle ( 1st or 2nd generation) will not recharge and does not show when the doc is connected to my MacBook Pro. I'm running the latest updated version of iTunes.

    Hello Jane Benstock,
    Thank you for using Apple Support Communities
    It sounds like the next best step to take would be to reset the iPod Shuffle.
    Check out this article named Resetting iPod shuffle found here http://support.apple.com/kb/HT1655.
    All the best,
    Sterling

  • Datatip function not shown when the user hovers over the icon int ADG

    When you have a datatip function in a advanced datagrid the datatip  does not show when the user hovers over the icon. Is there a way round this?

    I have almost same situation. But there are some different. I am using RegisterPointerInputTarget to redirect all touch message to my window. and use InjectTouchInput to simulate each flag, which means, WM_POINTERDOWN,WM_POINTERUPDATE,WM_POINTERUP. If user
    touches monitor, I simulate DOWN, if user swipes their finger, I simulate UPDATE, if user lifts finger, I simulate UP.
    Then the interesting point is, system consider user's finger as primary pointer, and my injected touch as secondary pointer. windows desktop and windows explorer skip all my injected touch. I really hate that.
    However IE and chrome will accept my injected touch, they don't caret about primary pointer.
    In order to fix this problem, I call AccNotifyTouchInteraction before calling InjectTouchInput.
    According to the MSDN, AccNotifyTouchInteraction will notify the destination window before InjectTouchInput. But this idea still fails, which is disappointing.

  • Hey ! I have a problem with my iphone 5s IOS 8 , my notification center does not scan when the screen is locked

    hey !
    I have a problem with my iphone 5s IOS 8 , my notification center does not scan when the screen is locked

    sounds like a hardware failure.  Return the phone to Apple.

  • Why is the decline button for phone calls not available when the phone is locked? I need that button and it shows only when the phone is not locked on iOS 7

    Why is the decline button for phone calls not available when the phone is locked? I need that button and it shows only when the phone is not locked on iOS 7

    Yep. You need to touch the sleep/power button once to silence the ring, and twice in order for the call to go directly to Voicemail.
    Personally, I dont understand why Apple eliminated this. If you wish to give Apple feedback, do it here:
    www.apple.com/feedback

  • How can i add a special user to the "site collection administrators" of the personal site on sharepoint online when the personal site is creating ?

    when a new personal site is created on the sharepoint online 2013, then the administrator of this personal site will be himself. we can add another person to the "site collection administrators", then this person have full control of this personal
    site.
    but my request is : add this personal to the personal site when the personal site is creating, but not after the personal site has created ?
    Is anybody know how to do that?

    Hi,
    According to your post, my understanding is that you want to add a special user to the "site collection administrators" of the personal site on sharepoint online when the personal site is creating.
    Per my knowledge,
    there is no out of the box way to accomplish this with SharePoint.
    This is a forum which is supported for SharePoint On-Premise.
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • I have upgraded from 3.5 to 4.1 , it downloads to the folder but still uses the 3.5

    I'm getting an urgent to update on my screen so I have updated from 3.5 to 4.1 , it has down loaded to the firefox folder but still brings up the old firerfox. I have downloaded it 3 times and rebooted around 6 times but still the same screen telling

  • Nano no longer recognized by Windows

    I have a first generation Nano. It was connecting to Windows XP machine just fine and iTunes worked great --- until yesterday. Now it's no longer seen by iTunes, or by My Computer. I've reset the iPod and tried everything else on the support site. I

  • Drawing various types of Graph

    I have a list of vendors along with their Rating % in an internal table . I need to draw a graph for the same . I want to use basic report only . Not ALV . Can u suggest a FM and with that i can draw a graph for the same. If possible can anybody plea

  • Tiger & Camera RAW for Canon Rebel XT (350D)

    I'm trying to find out WHEN Apple will update either iPhoto or Tiger (presumably the latter) so that it natively reads Camera RAW for the Canon Digital Rebel XT (350D). I've looked on both Canon's and Apple's site with no luck other than to find what

  • Creating Search box on Muse site

    Does muse have an option to create a search box just for the website?  I can't find any info on this ---