Vendor Company Code and PO Company Code Different

HI All,
There is a central purch org for all comp code. Whenever we create a vendor we have to enter comp code, pur org and account grp. Suppose I create a vendor for Company Code "X" and another vendor for Company Code "Y". Pur Org will be same i.e. central pur org. Now I am creating a PO for Comp Code "X" but using vendor with Comp Code "Y". System is allowing me to create a PO in this way. I want the system should not allow me to create a PO in this way.
Even I have checked the message MEPO038, but I could not find this message
I am able to see the message ME038 is this the same.
Is it possible to advice me some user exits as well.
Thank you.
hani

Hi,
IF the vendor not created for that company code the system will throw error .this is the std functionality. In your case the vendor would have maintained for the both company code thats why it is allowing .
if you want to make MEPO038 as error message Create new entries as below
OLME ---Environmet data -- Attribute of system message click new entries
versio :00
App:MEPO
mess:038
cate: E
if you want use user exit try following
1.EXIT_SAPMM06E_012
2.BADI : ME_PROCESS_PO_CUST
method :Process_header  or Check

Similar Messages

  • Vendor company code

    Hi,
    Can anybody give a detailed explanation about what do u mean by vendor company codes.

    Hi Sandeep,
    You want to know abt the assignement of vendor at diffferent levels then , it is assigned at 3 levels :
    Client
    company Code
    Pur Org
    Apartf rom above you can miantina vendor related information pertaining to plant, provided plant should come under the pur org.
    If you want to know about the screen layout of venor master/field status for company codes, ckeck the link below :
    http://help.sap.com/saphelp_47x200/helpdata/en/01/a9b47b455711d182b40000e829fbfe/frameset.htm
    BR,
    Krishna

  • Vendor Company Code View

    Hello,
    I wanted to know the importnace of Payment method supplement in Vendor Company code view>>payment transaction view.
    It would be kind if you explain by giving an example.
    Thanks.

    List of the Payment Methods to be Considered
    List of payment methods which may be used in automatic payment transactions with this customer/vendor if you do not specify a payment method in the item to be paid.
    If you do specify a particular payment method in the item to be paid, this specification has priority over the specifications in the master record. You may also specify payment methods in the item which are not listed in the master record.
    This field notifies that whether the vendor payment is to be made in cash, by cheque, bank draft etc.

  • WM-Prod Issue--Plant NM Company NM and WorkCenter NM02 Company is different

    HI
      I did material staging and proceed ,i try to save the production order , but i have error like
    "Plant NM Company NM and WorkCenter NM02 Company is different"
    Message no. ZPP 165
    where i missed the configuration .
    with regards
    dinesh
    Edited by: code acess on Oct 7, 2011 11:54 AM
    Edited by: code acess on Oct 7, 2011 12:00 PM

    ZPP is a home made message class.
    Please ask your programmer what he checks and then you will know what you missed

  • I'm trying to restore a 4S i just bought and i keep getting different error codes

    I'm trying to restore a 4S i just bought and i keep getting different error codes and it has a black screen

    Maybe you'd like to tell us what the errors are?

  • Vendor _company code mandatory

    could some one tel me how to make the company code mandatory while creating the vendor using xk01

    Hi,
    This can not be controlled via field selection. You have to go for Transaction Variant for this in SHD0
    Refer link;
    [Step By Step Guide - Creating Transaction Variants|http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm]
    In SHD0, enter following
    Transaction Code XK01
    Transaction Variant  ZXK01
    Now click on "Create" button
    Here fill following
    Vendor
    Company Code
    Purchasing Org.
    Account Grpoup
    And press enter, it will give the Screen entries pop-up
    Here first fill 'Screen variant short txt" and then select Company Code as "Required" and click on "Enter" button in screen
    Now press enter and save the info record, a pop-up will come save it after filling Screen variant short txt
    And finally the main screen appears for the Full Vendor Master fields just save this by clicking on "SAVE" button on top.
    It will as for "Package", specify and save it then it will ask for Request, create new and save it. This will be repeated for all the screens you have passed.
    Now in SHD0, initial screen, go to "Standard Variants" Tab,
    here enter Name as "ZXK01" and click on "Activate" button beside this field
    Now go to XK01 and check plant will become a mandatory field.
    Also take help of ABAPer if required.

  • Vendor block code for release order creation but no purchase order creation

    The client has a vendor block code which when applied to a vendor through vendor block screen should allow release order creations against existing contracts and ARC but it should not allow purchase order creation. However, it is allowing purchase order creation also. Can anyone tell how to achieve this selective treatment that allows RO creation against existing contracts and ARCs' but no PO creation.
    Are there any settings or configurations that have to be made in SPRO and other areas to achieve this.I would appreiate if anyone could give in a detailed and step wise solution.

    Hi
    Take out all the blocks on company code and purchasing organization in XK05.
    Only put block function as 01 (purchase order). It will not allow you to create purchase order but you can create contracts and release orders against contracts.
    Thanks
    Edited by: Praveen Raghavendra on Jan 8, 2009 2:30 PM

  • Stock transfer between plants in a company with different price

    Hi, expert,
    i want to transfer materials between plants inside a company with different price which set by supply plant randomly, not the valuation price, how can i achieve this?
    Thxs & best wishes,
    David

    Hi,
    In short, you cannot.
    Within SAP you cannot make a profit or loss by transferring an item between two Plants within the same company code.
    This is not necessarily an SAP restriction as such, it is due to basic accounting rules.
    The company code is seen as the legal entity for accounting and so if a movement within that company resulted in a loss or profit then this would break the rules.
    I am not saying that it is impossible to set it up this way (nothing is impossible) but I personally recommend that you find another way of achieving this. Trying to modify the system to break such an important rule will definitely cause problems.
    In previous implementations I have used the following option.
    Simple use basic STOs that transfer the items at the material valuation price. But then at the end of each month produce a report that shows what materials have been transferred between the relevant plants and at THAT stage make a financial posting to reflect the "benefit" that has been realised (based on prices held in a new table, that represent the price that would have been charged).
    It does appear to be a failing of the SAP system but it really isn't. What it normally indicates is that somehow the wrong org structure may have been built and perhaps the two plant should really be attached to separate company codes (especially if you need to show "profits and loss" in this way)?
    Steve B

  • Database logon failed. Database Vendor Error Code: 0

    Hi all,
    I'm running a java web application and use crystal report XI.
    It works normally. One thing is : i would like to change the "Connection URL" when runtime.
    These are my config:
    _CRConfig.xml :
    <?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
        <reportlocation>../..</reportlocation>
        <timeout>10</timeout>
        <ExternalFunctionLibraryClassNames>
              <classname> </classname>
              <classname> </classname>
        </ExternalFunctionLibraryClassNames>
    <keycode>B6W60-01CS200-00GEGC0-0EX1</keycode>
    <Javaserver-configuration>
    <DataDriverCommon>
         <JavaDir>C:\Business Objects\j2sdk1.4.2_08\bin</JavaDir>
        <Classpath>C:\Business Objects\Common\3.5\java/lib/crlovmanifest.jar;C:\Business Objects\Common\3.5\java/lib/CRLOVExternal.jar;C:\Business Objects\Common\3.5\java/lib/CRDBJavaServerCommon.jar;C:\Business Objects\Common\3.5\java/lib/CRDBJavaServer.jar;C:\Business Objects\Common\3.5\java/lib/CRDBJDBCServer.jar;C:\Business Objects\Common\3.5\java/lib/CRDBXMLServer.jar;C:\Business Objects\Common\3.5\java/lib/CRDBJavaBeansServer.jar;C:\Business Objects\Common\3.5\java/lib/external/CRDBXMLExternal.jar;C:\Business Objects\Common\3.5\java/lib/external/log4j.jar;C:\Business Objects\Common\3.5\java/lib/cecore.jar;C:\Business Objects\Common\3.5\java/lib/celib.jar;C:\Business Objects\Common\3.5\java/lib/ebus405.jar;C:\Business Objects\Common\3.5\java/lib/corbaidl.jar;C:\Business Objects\Common\3.5\java/lib/external/freessl201.jar;C:\Business Objects\Common\3.5\java/lib/external/asn1.jar;C:\Business Objects\Common\3.5\java/lib/external/certj.jar;C:\Program Files\Business Objects\Common\3.5\java/lib/external/jsafe.jar;C:\Business Objects\Common\3.5\java/lib/external/sslj.jar;C:\tomcat\common\lib\oracle-driver.jar${CLASSPATH}</Classpath>
         <IORFileLocation>${TEMP}</IORFileLocation>
         <JavaServerTimeout>1800</JavaServerTimeout>
         <JVMMaxHeap>256000000</JVMMaxHeap>
         <JVMMinHeap>32000000</JVMMinHeap>
         <NumberOfThreads>100</NumberOfThreads>
    </DataDriverCommon>
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:mysql://Komodo-vmw:3306/warcraft</JDBCURL>
         <JDBCClassName>com.mysql.jdbc.Driver</JDBCClassName>
         <JDBCUserName>root</JDBCUserName>
         <JNDIURL></JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>weblogic</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
              <Sybase>
                   <ServerType>SYBASE</ServerType>
                   <QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>
                   <DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>MySQL</LogonStyle>
              </Sybase>
         </GenericJDBCDriver>
    </JDBC>
    <XML>
         <CacheRowSetSize>100</CacheRowSetSize>
         <PreReadNBytes>4096</PreReadNBytes>
         <XMLLocalURL></XMLLocalURL>
         <SchemaLocalURL></SchemaLocalURL>
         <XMLHttpURL></XMLHttpURL>
         <SchemaHttpURL></SchemaHttpURL>
    </XML>
    <JavaBeans>
        <CacheRowSetSize>100</CacheRowSetSize>
         <JavaBeansClassPath></JavaBeansClassPath>
    </JavaBeans>
    </Javaserver-configuration>
    </CrystalReportEngine-configuration>
    _JSP file :
    public ConnectionInfos setLogon()  {
              String dbUser = "root";
              String dbPassword ="root";
              ConnectionInfos oConnectionInfos=null;
               try
                    //Create a new ConnectionInfos and ConnectionInfo object;
                    oConnectionInfos = new ConnectionInfos();
                  ConnectionInfo oConnectionInfo = new ConnectionInfo();
                  //Set username and password for the report's database
                  oConnectionInfo.setUserName(dbUser);
                  oConnectionInfo.setPassword(dbPassword);
              PropertyBag pro = new PropertyBag();
                  Map<String, String> bag = new HashMap<String, String>();
                   bag.put("Connection URL", "jdbc:mysql://Komodo-vmw:3306/warcraft");
                   bag.put("Server Type", "JDBC (JNDI)");
                   bag.put("Database DLL", "crdb_jdbc.dll");
                   bag.put("Database Class Name", "com.mysql.jdbc.Driver");
                  oConnectionInfo.setAttributes(new PropertyBag(bag));          
                  //Add object to collection
                  oConnectionInfos.add(oConnectionInfo);               
              } catch(Exception se) {
                   se.printStackTrace();
                   System.out.println("[error in setLogon ]");
              return oConnectionInfos;     
    And i got error every times i run the report :
    Database logon failed. Database Vendor Error Code: 0
    Please help me.Thank you so much!

    Hi quang.
    can u tell me how to solve this issue? on trying to open a report am facing this issue!
    TIA

  • Code for Vendor Tax Code uniqueness

    Hi,
    When we are trying to create a new customer (transaction XD01) we would like to be informed if the  Vendor Tax Code (KNA1-stcd2) is being used already.
    Can you tell me what code do we have to insert and where.
    Thanks.

    Hello,
    I dont there would be direct way to check this out in SAP R/3.
    What you can do is create a Z-DB table , say ZTAXCODE, which has Customer,Customer Group as Key Fields and taxcode as another field.
    Now when User tries to save the Customer- then u can
    1) Make use of BADI - CUSTOMER_ADD_DATA (SE18/SE19)
    2) Make use of User Exit - FM EXIT_SAPMF02D_001 (Customers: User Exit for Checks prior to Saving) (SMOD/CMOD)
    Here, you can the entry to your newly created table and chk if the entry user tries to maintain already exists. If yes, you can display an error message to the user.
    Hope this helps.

  • To bring the Vendor name & Code in FBL3N Report

    Hi Friends,
    As we need to bring the Vendor name / Code in FBL3N report, we have given the settings in the SPRO ( SPRO>Financial Accounting>General Ledger Accounting>G/L Accounts->Line items>Line items Display-->Define special fields for finding and sorting data ) by putting of BSEG table and assigned the same with LIFNR field and transported the same to Development server for testing, but after transport, the above requirements are NOT coming while we run the FBL3N report,
    Please guide me to bring the same in FBL3N as it is important requirement for us.
    Thanks
    G. Jana

    Hi
    If you are on ECC 6.0 you can use report FAGLL03. However, if you need to get vendor name also, you need to do refer to link
    Re: adding a field to FBL3N
    Regards
    Sanil K Bhandari

  • CR XI R2: Database logon failed. Database Vendor Error Code: 1005

    Hi:
    I am trying to incorporate Crystal Reports XI R2 with in-house application - Windows platform, Oracle9i, Websphere Studio Application Development 5.1, and JVM 1.4.2 with OCI8 driver and JNDI connection.
    I am not getting any error while running it in the project where I first implemented.  If I import a EAR file from that project and deploy it in another project and run it, I am getting error in the new project as follows:
    [10/23/08 18:43:11:843 IST] 40994099 SystemOut     O ERROR - JRCAgent4 detected an exception: Database logon failed. Database Vendor Error Code: 1005
          at    at java.lang.Throwable.<init>(Throwable.java)
          at    at java.lang.Throwable.<init>(Throwable.java)
          at    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase.<init>(Unknown Source)
          at    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKLogonException.throwReportSDKLogonException(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
          at    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
          at    at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
          at    at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
          at    at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
          at    at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
    [10/23/08 18:43:27:234 IST] 40994099 SystemOut     O ERROR - JRCAgent4 detected an exception: Some parameters are missing values
          at    at java.lang.Throwable.<init>(Throwable.java)
          at    at java.lang.Throwable.<init>(Throwable.java)
          at    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase.<init>(Unknown Source)
          at    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException.throwReportSDKParameterFieldException(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
          at    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
          at    at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
    [10/23/08 18:43:28:359 IST] 40994099 SystemErr     R Exception at EPFPageFactory.getPage: java.lang.Exception: Error in EPFImapgeObjectInstancesBase.getInstanceProperties: null epfImage.
    Any help or suggestions would be highly appreciated.
    thanks,
    Prakash

    I suspect it is probably just a WSAD configuration issue.  If you have simply moved the EAR from one project to another, it might be missing some libraries or the some of the libraries may have been corrupted in the move, or it might be a problem with the build path.  Try deleting and readding the JRC libraries to the project.  If you are deploying to the test server within WSAD, try creating a new instance of it and deploying the project on the new instance.

  • EBS Supplier best practice to update vendor site code, update or create a new one

    I have a question related to EBS Supplier vendor site code. Application lets you update the vendor site code, but what is the best practice to update the site code?....would you inactivate the exiting one and create a new one? or would you just update the existing value?

    Ok,
    My workaround was to put in my TaskFlow an action to commit. After that I put two more actions (execute) and then back to my page. This way works but I would like to know if there is any more efficient way to do this just when I am inserting.
    Regards

  • Database logon failed.Database Vendor Error Code:1005(ReportSDKLogonExcep.)

    Hi all,
               I have suffering this error, when I am running my application in IBM Application Server 6. Basically this errors are throughing, when I running the report(which is contains some sub report). But non-sub reports are running fine.  Kindly requested to all, plz help me.
    my documentation...
    1. WASD 5.1.1
    2. Oracle 9i
    3. CR XI R 2
    4. Application connected with Crystal Report by JDBC-JNDI.
    5. My all reports  developed  with CR 10.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKLogonException: Database logon failed. Database Vendor Error Code: 1005---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKLogonException.throwReportSDKLogonException(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    Thanks & Regards,
    Sanjay Biswal

    Hi Ted Ueda,
           In my application, I have connected with Crystal report by JDBC/JNDI.
    now, I give all information about my application. plz follws.
    First :
    Database Type: JDBC(JNDI)
    JDBC Connection : True
    Connection URL : jdbc:oracle:oci8:@<service name>
    Database Classname : oracle.jdbc.driver.OracleDriver
    Service : <service name>
    OS Authentication : False
    JDBC Connection String : !oracle.jdbc.driver.OracleDriver!jdbc:oracle:oci8:/@<service name>
    User ID : <user name>
    Second :
          Some coding are giving, by which Crystal Report accessing Login information from JSP page.
    ConnectionInfos oConnectionInfos= new ConnectionInfos();
    ConnectionInfo oConnectionInfo = new ConnectionInfo();
    oConnectionInfos.setUserName(<user name>);
    oConnectionInfos.setPassword(<password>);
    oConnectionInfo .add(oConnectionInfos);
    CrystalReportViewer oCrystalReportViewer= new CrystalReportViewer();
    oCrystalReportViewer.setReportSource(reportSource);
    oCrystalReportViewer.setDatabaseLogonInfos(connInfos);
    Third :
               ojdbc14.jar files haveing in lib floder.
    This login information in my application. PLz give suggection.
    Thanks & Regards,
    Sanjay Biswal
    Edited by: Sanjay Biswal on Oct 31, 2008 9:56 AM

  • Custom Fields in the vendor t.code

    Hello Friends,
       Is there any EXIT avilable to add custom fields in the Vendor t.code XK01 or possible to add custom fields in the LFK1 table level.
       my requirement is add custom fields in Vendor t.code.
    Thanks,
    John.

    You can check BADI DIMP_AD_MPN_VENDORCS
    Or you can go to
    SPRO - Logistics – General - Business Partner – Vendors – Control - Adoption of Customer's Own Master Data Fields - Business Add-In: Customer Subscreens
    I hope it will help you.
    Regards,
    Manish

  • Vendor 800040 and posting data have different withholding tax types

    HI
    need some help..
    i ve created the lease in contract but unable to activate it... getting the following error
    Vendor 800040 and posting data have different withholding tax types...
    how to solve this issue,,

    Hi,
    could you please add the error message ID and error message number.
    Thank you.
    Regards, Franz

Maybe you are looking for