How to override the default order UOM when using BAPI_PO_CREATE1...

Hello Experts,
How do I force BAPI BAPI_PO_CREATE1 to use my declared purchase order unit of measurement instead
of getting it in the material master data? For example, material A has a default purchase UOM of CV, but
when I create a PO using material A I want the purchase UOM to be EA instead of the default CV.
How do I do that?

Sorry settings in inforecord problem.

Similar Messages

  • HT201448 How to override the default order of Websites, Wiki, and Xcode services?

    Greetings,
    On my Mac server, I have the Websites, Wiki, and Xcode services all enabled but, as detailed by the Apple support article, Xcode takes precedence over all, or Wiki if Xcode is disabled.
    What I would like to see is a virtual host (e.g. wiki.myhost.com) and/or directory alias (www.mydomain.com/xcode) that opens the home page for the respective service while the default (e.g. www.mydomain.com) goes to the home page for mydomain.com.
    I'm no httpd configuration expert but I expect some manual httpd configuration will be required.  Any help appreciated.

    At the end, I decided to adopt Firefox add-on "Classic Theme Restore"—amazing output. I guess it is impossible to get such a space saving but full furnished solution somehow else.

  • How to override the default height of tree component...

    Hi,
    Can anyone please tell me how to override the default height of <af:tree> component.
    Actual Problem:
    I have a PanelBox in which I have a ShowDetail component. ShowDetail contains Tree component. When I click on ShowDetail item the Tree component have to be displayed. But, PanelBox is expanding to TREE default height(27.27 ems) instead of expanding to exact height of Tree.
    How to manage this issue?
    Thanks
    -Sukumar

    Did you already try
               <af:treeTable value="#{bindings.DashProjectPhasesDev.treeModel}"
                                  var="node"
                                  selectionListener="#{bindings.DashProjectPhasesDev.treeModel.makeCurrent}"
                                  rowSelection="none" rowBandingInterval="0"
                             inlineStyle="width:810px; height:1100px;"> Check the last line with inlineStyle...
    Julian

  • How to stop the prodution order creating when the product is not valued?

    Hi guyes:
    How to stop the prodution order creating when the product is not valued using CO01?
    I hope that when i create the production order,the system will check the product is valued or not,if not
    the system will show an error or warning message!
    How to config for this?
    Thank you!

    Dear Zhao Gang,
    Check with this user Exits mentioned in this link,
    Prevent Production Order from "Release" if there is no Cost Estimate
    Re: User Exit at Production Order Release
    Check and revert back.
    Regards
    Mangalraj.S

  • How to override the default delete operation

    Hi,
    I am new to Jheadstart, java coding for that matter.
    Here's my situation,
    I have a view which is based on a function (function returns a collection).
    I have created instead of triggers on this view to perform insert/update/delete operations.
    All these DML operations work as expected in Oracle database.
    Now, I created an Entity object and a view object on this view in my jheadstart project.
    When I run this Jheadstart application my insert and search operations run fine but update and delete operations fail with JBO-26080 error.
    The underlying oracle error is "ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc."
    I know that delete and update operations work fine in Oracle and hence I would like to override the default Jheadstart operations. Can any body tell me how can I do it or point me in right direction?

    Hi,
    From the JHeadstart Developer's Guide, chapter TroubleShooting - Problem Assessment:
    If you are getting a JBO error (Business Components for Java error), try to perform the same data retrieval or data manipulation action using the BC4J Tester. You can
    invoke the tester through a right-mouse-click on the BC4J application module. If you get the same error using the BC4J tester, the problem is in the BC4J object definitions. If you added business rules, or other custom code to your BC4J objects that executes during your data retrieval or data manipulation action, you can debug this code line-by-line by running the tester in debug mode. You can also look up the JBO error in the JDeveloper online help, for each error possible causes and how to solve them are described.
    It sounds to me like you will also get this error in the BC4J Tester. This means that the problem is not related to JHeadstart. You can go to the JDeveloper discussion forum http://otn.oracle.com/discussionforums/jdev.html and ask your question there without mentioning JHeadstart. Maybe there is some switch you can set in the BC4J object to let BC4J not use SELECT FOR UPDATE.
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • How to change the default delivery day when i create a shopping cart?

    hi,dear
    i got some trouble when i was creating a shopping cart.
    i want to change the default delivery day when i reference an old template.
    pls see the pictures and take the details.
    it seems that this forum dont support the [img][/img],so pls clike the link to open the picture.
    if you cant see the picture ,pls tell me,thank you
    step1:http://p13.freep.cn/p.aspx?u=v20_p13_p_0909111119338649_0.jpg
    step2:http://p13.freep.cn/p.aspx?u=v20_p13_p_0909111119432170_0.jpg
    step3:http://p13.freep.cn/p.aspx?u=v20_p13_p_0909111119557507_0.jpg
    step4:http://p13.freep.cn/p.aspx?u=v20_p13_p_0909111120079773_0.jpg
    Edited by: ming yu on Sep 11, 2009 5:22 AM

    Hello Ming,
    Have a look at following thread concerning BAdI BBP_CHANGE_DEFAULT:
    [Change the delivery date (Required on) of SC|Change the delivery date (Required on) of SC;
    You will have to check in which SC transaction you are in order to distinguish creation from reference to old template.
    Regards.
    Laurent.

  • How to change the internal order type when it has been created?

    There is an internal order, when it being created, the user chose the incorrect order type and save it. but the internal order number is useful. so we just want to change the order type or delete the order to release the number.  so can you give me some solutions to solve it. I can not find the way neither change the order type nor delete it.  thanks very much.

    You are unable to change the internal order type once an internal order has been created, however you can delete the IO if there haven't been any postings made.
    In change mode (tcode KO02), go into the internal order.  Go into the following menu:  Edit > Deletion Flag > Set.    Before you exit the IO, save the master record.
    Depending upon your archiving settings, you should then be able to select the menu path:  Edit > Set Deletion Indicator.
    If the IO isn't deleted, you can "clobber" it by going into the IMG and deleting the IO using the function "Delete Test Data".  This should only be done by a technical person to ensure that a mass-delete doesn't occur.
    Please note that if the IO was an internally assigned number, you might just want to block it and re-use it later.
    Hope this helps.
    Kylie

  • JRE 1.4.2: how to override the default xml parser?

    Hi all,
    I have JRE 1.4.2_03 and I need to replace the default xml "crimson" parser with xerces because the former one doesn't properly handle utf-8 BOM.
    Does anyone have an idea where I should look at for this kind of configuration?
    I skimmed thorugh the oracle docs but couldn't find anything.
    I found a link describing how to change the xml parser in OC4J, but my understanding is that this has little to do with what I am looking for.
    I need to force Saxon 8.6.1, that is invoked by means of java.exe from the command line, to pick up the right xml parser.
    Has anyone else tried this out already?
    Alternatively, is it safe to install JRE 1.5 in place of JRE 1.4.2 on a Oracle 10.1.0.4 database?
    I am told that JRE 1.5 uses a different xml parser that should fix my problem.
    Bye,
    Flavio

    I sorted this out myself.
    Downloaded the latest stable xerces binary (2.5.0) from http://xml.apache.org/dist/xerces-j/
    Then I extracted xercesImpl.jar and put it under:
    %ORACLE_HOME%\LIB\endorsed
    I had to create the endorsed folder as it didn't exist.
    Then, when invoking Saxon using java.exe, I added the following switch:
    -Djava.endorsed.dirs=%ORACLE_HOME%\LIB\endorsed
    That's it.
    You can find some background info on:
    https://jaxp.dev.java.net/Updating.html
    Bye,
    Flavio

  • How to override the default "required" attribute for the UIComponent?

    Hi, consider the following markup: <h:inputText id="txt_firstName" value="#{myBean.firstName}" required="true"/>
    if I leave this field empty and hit the submit button, the required validator will fire an error msg. If however, I leave an empty space in the text box and hit submit button, it will go through no problem.
    I'd like to override the required attribute, so it will trim the spaces first before decide if it really is empty:
    //whatever the name of the method i'm overriding....
    String value = (String)value;
    if(value==null)throw new ValidatorException(whateverDefinedInTheBundle);
    value = value.trim();
    if(value.length==0)throw new ValidatorException(whateverDefinedInTheBundle);
    How can I go about doing that?
    Thank you.

    Did you already try
               <af:treeTable value="#{bindings.DashProjectPhasesDev.treeModel}"
                                  var="node"
                                  selectionListener="#{bindings.DashProjectPhasesDev.treeModel.makeCurrent}"
                                  rowSelection="none" rowBandingInterval="0"
                             inlineStyle="width:810px; height:1100px;"> Check the last line with inlineStyle...
    Julian

  • Calling VA01 from Report,how to get the Sales Order  No when Back.

    Hi all,
    I have a requirement of calling va01 from the report and have done that using
    did recording ...&
    call transaction va01 using bdcdata.
    but my problem is when back from that trasaction i have to get the sales order that is created . Is it possible to retrieve that value from va01 .i am unable to get . anyone pls share

    Use the addition MESSAGES INTO itab with call transaction va01 using bdcdata.
    Effect of MESSAGES INTO itab:
    Using this addition, all the messages sent during batch input processing are stored in an internal table itab of the type BDCMSGCOLL from the ABAP Dictionary.
    If the call transaction is successful then retrieve the last message from itab and then in any field among MSGV1,MSGV2,MSGV3,MSGV4 of itab u will get the document no.
    And when doing the call transaction pl. choose update mode as 'S' or 'L'.
    Regards,
    Joy.

  • How to share the same Database Connection when using several Task Flows ?

    Hi All,
    I’m using JDev 11.1.1.3.0.
    I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
    These applications are deployed on a Weblogic server.
    Each application has only one Application Module.
    All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
    It is working fine.
    I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
    Each Task Flow Application has also one Application Module with the same connections type as main applications.
    All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
    There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
    Everything is working perfectly.
    All my main applications are using more and more task flows. Which is nice for the reusability etc…?
    Only ONE PROBLEM: DATABASE CONNECTIONS.
    Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
    How to share the same database connections for the main applications and all task flows which are used in the main application?
    Best Regards
    Nicolas

    Hi John,
    When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
    I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
    + bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
    bc4j.xcfg details are
    +<?xml version = '1.0' encoding = 'UTF-8'?>+
    +<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
    +<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +<Custom JDBCDataSource="jdbc/GCCDS"/>+
    +</AppModuleConfig>+
    +<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
    +<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +</AppModuleConfig>+
    +</AppModuleConfigBag>+
    +</BC4JConfig>+
    So, it seems that the Application Module is packaged with the task flow....
    Is it normal ?
    Regards
    Nicolas

  • How to get the PDF Document version when using Digital Signature

    Hi,
    I have a form which contains two signature fields.
    When i sign the form the pdf document is saved as a version which can be seen by clicking the Signature Panel.
    I need to get the binary of the versions stored in the form.
    Please suggest me the how to get the version data from the form.
    Regards,
    S.V.atish Kumar

    Hi Mithun:
    I think I have run into a similar issue and have not been able to find a resolution.
    I have been trying to place three groupings of data and limit them to 15 rows; additional rows would print on a void check on a next page using the rtf template.
    Earnings .............. Pre-Tax Deductions .........Taxes
    <line 1 earnings> <line 1 pre-tax deductions> <line 1 tax dedcutions>
    <line 2 earnings> <line 2 pre-tax deductions> <line 2 tax dedcutions>
    <line 3 earnings> <line 3 pre-tax deductions>
    <line 4 earnings> <line 4 pre-tax deductions>
    <line 5 earnings>
    <line 6 earnings>
    The template works fine with these lists as nested tables until I add in the restriction and filler for the 15 rows for the first table. The data in the 2nd two lists does not appear once the limitation is added.
    Check Writer (XML)  - Issues with payroll check stub in rtf
    As an alternative, I have been thinking adding the remaining line totals (over 15 rows) and adding a 16th row. However I have been running into an error when trying to use the code for-each-group.
    *** XML-22056: exactly one of four group attributes must be present in xsl:for-each-group
    Can you send me your template to review? My email is: Karen.Lacey(AT)paetec(DOT)com
    Thanks!
    Edited by: RedLacey on Dec 17, 2009 11:48 AM

  • How to override the 'default' partition in composite.xml - urgent

    All,
    Version: 11.1.1.4
    I have created a simple BPEL A which invokes another BPEL B which is deployed to 'default' partition. In the composite.xml of BPEL A I can see the WSDL location of BPEL B as *"http://localhost:7001/soa-infra/services/default/BPELB/BPELB.wsdl"*. I noticed that the name of the partition (i.e in our case its 'default') is hardcoded in the wsdl location. During deployment I want to override to other partition, how I can achieve this?
    thanks
    sen

    If you want to change the partion name at run time then used Token ,value concept and define it in build.xml
    For Example
    <target name="replaceAllValues">
    <input
    message="Please enter full path of the file directory:"
    addproperty="dirPath"/>
    <replace dir="${dirPath}">
    <replacefilter
    token="OldValue."
    value="Newvalue"/>
    </replace>
    </target>
    Call the above target from ant build.xml before you deploying the service.
    Regards,
    Tarak.

  • How to override the default SOAP envelope prefix?

    I have a Web service as an external reference. In run-time WebLogic generates SOAP messages with a default prefix <env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/”…>. Normally this is fine. However the Web service required a prefix as <soapenv:…>. How can I have WebLogic generate soap envelope prefix as soapenv instead env?

    hello!
    It's possible. You must implement handler and change envelope and body prefix. Here is example:
    public class WsHandler implements SOAPHandler<SOAPMessageContext> {
    public boolean handleMessage(SOAPMessageContext context) {
    Boolean outboundProperty =
    (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
    if (outboundProperty.booleanValue()) {
    try {
    SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
    envelope.setPrefix("soapenv");
    envelope.removeNamespaceDeclaration("env"); //remove old prefix
    envelope.getBody().setPrefix("soapenv");
    context.getMessage().saveChanges();
    } catch (Exception e) {
         throw new ProtocolException(e);
    }

  • How to inactivate the 'Complex Search' button when using Logical Database

    Hy experts
    I m using Logical Database for a select and you know that for an GET event by default in selection screen it appears some selection fields for every GET event..I manage to hide the ones that don't interest me but I have a little problem: I have a button that's called 'Complex Search' and I don't know how to get rid of this button..
    Here is some code:
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
    IF screen-name CP '%BT02010_BLOCK_1000'.
          screen-input = '0'.
          screen-active = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
        ENDIF.
        IF screen-name CP 'QL_REFIL'.
          screen-input = '0'.
          screen-active = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
        ENDIF.
    I do this for every screen-name in the program that doesn t interes me..but it seams that even if I comment all the button with 'Complex Search' remains..I mention that is a disperate solution to inactivate every screen element but I could not do other way..My bigest pb is the 'Complex Seach' button..can anyone help me?? pls.. <REMOVED BY MODERATOR> ..thx..
    Edited by: Alvaro Tejada Galindo on Feb 12, 2008 12:45 PM

    Thank you Thomas,
    I need some more from you...
    If I have 8 tables for 8 columns, then how do i proceed?
    Also could u tell me some query optimization techniques while working with intermedia text.
    Thanks you once again,
    waiting...
    Khaleel Hi Khaleel,
    I think this depends on your data model (relationship between the tables) and how you like to search later.
    The optimization begins also with the create index statement (memory clause and storage clause).
    If you like me to help I need more information about your hardware, os, datamodel and what kind of searches you will have later.
    Cheers,
    Thomas

Maybe you are looking for