Cannot sell a material in VA01

In VA01, when I try to enter a plant, system pop up an error: <Material Number XX> is not defined for sales from <Country YY>
The document type is OR.
Item Cat. is TAN.
In OVK1 and OVK4, the relevant tax country and tax category are already defined.
Any advise would be appreciated.
VT

Dear Friend
Plant will come automatically in VA01 either from CMIR,or CMR or MMR
why are you inputting plant manually in VA01?
This is my first qn?
If you are changing plant which is which has been automatically determined by the system then check your OVX6 settings
that is in enterprise structure--assignment-SD---Assign plant to sales org and distribution channel
Something must be missing in your enterprise structure settings only
As the other friend said also check VOR1 and also VOR2 (for a safety sake only but i dont think these t codes has got something to do with your error)
Hope this will solve your issue
Regards
Raja

Similar Messages

  • Can create view, but cannot create table / materialized view: Xpath is null

    Hi all,
    We recently moved some XML documents into the database in an XMLType column and want to query the data. I've been writing some queries and turning them into materialized views. I got to one query, and something really strange is happening. My query returns the expected results, but I am getting an error when I try to create a materialized view out of it. Even stranger, I can create a view out of it, and I can manually insert its data into an existing table, but I cannot create a materialized view out of it and I cannot create a table out of it. Here is a brief summary, please let me know if anyone has suggestions.
    Issuing the following commands fails in SQLDeveloper
    -- Creating a materialized view out of the query fails:
    create materialized view element REFRESH COMPLETE ON DEMAND as [query];
    Error at Command Line:1 Column:1 SQL Error: ORA-31063: XPath compilation failed: Xpath is null.
    -- Creating a table out of the query with the following shortcut fails:
    create table element as [query];
    Error at Command Line:1 Column:1 SQL Error: ORA-31063: XPath compilation failed: Xpath is null.
    Issuing the following commands in SQLDeveloper works fine:
    -- Creating a view out of the query works:
    create or replace view element as [query];
    -- Creating a blank table from the query and then inserting data works:
    create table element as select * from [query] where 1 = 2;
    insert into element select * from [query];
    Here is a simplified version of the query...
    I have changed the names around, and cut the query down so maybe it will be a little easier to understand. I did confirm that this query is also having the same symptoms described above. Since I changed the names, executing the query returns no results. However creating a materialized view out of the query still fails with the 'Xpath is null' error.
    create materialized view element REFRESH COMPLETE ON DEMAND as
    select
    m.resource_id,
    xml.*
    from metadata_sources m,
    xmltable(
    'for $i in /metadata/app//*[(self::elem1 or self::elem2) and (parent::form or parent::subform)]
    let $formName := if($i/parent::subform) then $i/../../@name else $i/../@name
    let $subformName := if($i/parent::subform) then $i/../@name else ""
    return <data
    appId="{$i/ancestor::app[1]/idField}"
    formName="{$formName}"
    subformName="{$subformName}"
    elemName="{$i/@name}"></data>' passing m.xml_content
    columns
    app_id NUMBER path '@appId',
    form_name VARCHAR2(50 char) path '@formName',
    subform_name VARCHAR2(50 char) path '@subformName',
    elem_name VARCHAR2(50 char) path '@elemName'
    ) xml;
    Edited by: user11949534 on Feb 22, 2013 1:55 PM

    As far as creating a structured index, I was under the impression that I would need to then register an XSD. No, you can use it without an XML schema.
    How about a regular relational view, with an underlying xml index?
    That way you also eliminate the need for an explicit refresh step as you would then be querying real-time data, as if it were relational data.
    For example :
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    SQL> create table tmp_xml of xmltype ;
    Table created.
    SQL> insert into tmp_xml values (
      2    xmlparse(document '<root><item id="1">ABC</item><item id="2">DEF</item></root>')
      3  ) ;
    1 row created.
    SQL> insert into tmp_xml values (
      2    xmlparse(document '<root><item id="3">GHI</item><item id="4">JKL</item></root>')
      3  ) ;
    1 row created.
    SQL> create or replace view tmp_xml_v as
      2  select x.item_id, x.item_val
      3  from tmp_xml
      4     , xmltable(
      5         '/root/item' passing object_value
      6         columns item_id  number      path '@id'
      7               , item_val varchar2(3) path '.'
      8       ) x
      9  ;
    View created.
    SQL> create index tmp_xml_sxi on tmp_xml (object_value)
      2  indextype is xdb.xmlindex
      3  parameters (q'#
      4  XMLTABLE tmp_xml_xtb '/root/item'
      5  COLUMNS item_id  number      path '@id'
      6        , item_val varchar2(3) path '.' #'
      7  ) ;
    Index created.
    SQL> exec dbms_stats.gather_table_stats(user, 'TMP_XML');
    PL/SQL procedure successfully completed.
    SQL> set autotrace on explain
    SQL> set lines 200
    SQL> select * from tmp_xml_v ;
       ITEM_ID ITE
             3 GHI
             4 JKL
             1 ABC
             2 DEF
    Execution Plan
    Plan hash value: 4168126828
    | Id  | Operation                    | Name                   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |                        |     4 |   164 |     3   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS                |                        |       |       |            |          |
    |   2 |   NESTED LOOPS               |                        |     4 |   164 |     3   (0)| 00:00:01 |
    |   3 |    INDEX FULL SCAN           | SYS_C009273            |     2 |    34 |     1   (0)| 00:00:01 |
    |*  4 |    INDEX RANGE SCAN          | SYS30366_30367_OID_IDX |     2 |       |     0   (0)| 00:00:01 |
    |   5 |   TABLE ACCESS BY INDEX ROWID| TMP_XML_XTB            |     2 |    48 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - access("TMP_XML"."SYS_NC_OID$"="SYS_SXI_0"."OID")

  • Mov.aver.price cannot be determined.Material RMWE,plant 7210,billing docCAP

    Hello Guys,
    Can anyone help on this issue.
    Mov.aver.price cannot be determined.Material RMWE,plant 7210,billing docCAPE_01
    Message no. Z1022

    Rajesha,
        Typically the trans./event keys hit on GR against a PO are BSX (inventory/stock posting) and WRX (GR/IR clearing). If the material is subjected to standard price control, you will have an additionally have the PRD key (price difference posting).
        If you go to OBYC and see the account assignments for the PRD trans./event key, you will notice that you can have a different price difference income/loss account based on the material (valuation class), plant (valuation grouping code) and the account modifier (mvt type). In your specific case, the account modifier is blank and there does not seem to be a provision to define a new account modifer and link it to mvt 101 for the required combination (that I mentioned in my previous response). This seems to be the problem unless I am missing something here. For instance, in the case of a 201 mvt or a 101 receipt against a production order, the required combination is available in OMJJ and hence it is possible to define and link a new account modifier to a new movement type and hence use a different account for different circumstances. I am just not sure why SAP has not provided this option for your scenario.
    Hope this helps.
    H Narayan

  • Problem with MATNR in greying out sub-items of a BOM material in VA01

    Hi All,
    I'm trying to grey out the fields material number, quantity and UoM in VA01 for a sub-items of BOM material using the user exit USEREXIT_FIELD_MODIFICATION in the include MV45AFZZ.
    CHECK vbap-pstyv EQ 'TAE'.
    IF screen-name = 'RV45A-KWMENG' OR
    screen-name = 'VBAP-MATNR' OR
    screen-name = 'VBAP-VRKME'.
    SCREEN-INPUT = 0.
    ENDIF. " IF screen-name = 'RV45A-...
    Now, the problem is that the fields Quantity and UoM are greyed out but not the Material number field. I've also tried using the enhancement "V45A0003" the same problem still persists

    i think the field name is MABNR not MATNR for material number
    Message was edited by:
            Naresh Reddy

  • BOM material in VA01.

    Hi gurus,
    when i do sales order VA01 with BOM material (non sotck ) only price it s appearing in gray colour.
    but below components are not appearing in gray colour. and it s having different Item catagery with Z.
    how to get the Components (stok material ) line item should be in Gray color. so thet w
    Thanksin advance,
    Anthyodaya.

    hi
    In my experience BOMs work if all maintenance has been done properly.in your case, there is some disparity in the config 
    A number of things to check is: 
    1. The bom hasn't been defined for the plant used, or you haven't defined the plant in SO. 
    2. Main item category - has BOM application SD01 been assigned to it? 
    3. Item categories for main items and sub-items have not been mainteined properly.
    4. Sales items maintenance - You should assign item categories for BOM header items and sub-items to a specific sales doc. 
    5. Has the BOM itself been configured properly (i.e. right plant, BOM usage '5')? 
    6. Are you trying it out on an order created after all BOM maintenance was done? 
    7. Also , what's the 'Structure scope' set as? Anything except C may be useful here?   We have that set to A, since our BOMs are all single-level. You could set it to B if BOM are configured multi-level.
    Those are probably main reasons why BOM shouldn't work. Apart from that, just re-check your whole config - the truth is out there somwhere.
    with regards
    baalakrushnan.da

  • If I post my book to iBooks does this mean I cannot sell my book at the same time on Kindle?

    I do not understand lawyer speak. Apple's EULA confuses me. It's a simple question. If I sell my book on Kindle through Amazon does this mean I cannot simultaneouslty sell the same book on iBook?

    ConfusedSince1984 wrote:
    Clarify - reading Apple's iBook EULA - 
    I'm cofused by Appe's language. Are they saying I can't sell my book through both Kindle and Apple at the same time? Are they saying if I sell on Apple, I can't sell the same book on Kindle? Or, are they saying if I create a book on iBooks Author it can only be sold through Apple?
    What do you mean by "Apple's iBook EULA"?  Are you referring to the document entitled "Software License Agreement for IBooks Author"?  If not, what exactly?
    The iBooks Author license agreement has nothing to say about (and no relevance to) books you create with some other software.  It also places no restrictions on books you create with iBooks Author but not in the .ibooks format (which format can only be read on an iPad in any case).  The other formats which iBooks author can produce are PDF and Text.

  • Can select from table across db link but cannot create a materialized view

    dblink1 is a private db link (it could also be public)
    select count(*) from t1@dblink1;
    -->
    COUNT(*)
    5276
    create materialized view v1 as
    select * from t1@dblink1;
    -->
    select * from t1@dblink1;
    ERROR at line 2:
    ORA-00942: table or view does not exist
    This only applies to this particular db link. For another db link called "dblink2",
    create materialized view v2 as
    select * from t2@dblink2;
    -->
    Materialized view created.
    What gives? dblink1 and dblink2 are 2 different databases on 2 different machines.

    This is the simplest cause:
    dblink2 points to a database that has not a t1 table (as the message says, the table does not exist)
    This is the following simple cause:
    dblink2 uses a remote user user2, that can not select the t1 table because it exist in another schema, and user2 has not a synonym to the table (post the result of a query over dba_db_links that shows the remote users). Database objects has name and schema. If the objects are in your own schema you dont need to write the schema name, nor if you has a synonym to the object. But if the table t1 is in another schema, and you write t1, it means user2.t1 and fail.
    I hope this helps
    Regards,
    Alfonso

  • Change Release price of FERT material

    Dear friends,
    I m trying to change the price of a finish material thro' MR21.
    This material is having a marked cost estimate for the current month.
    I have use t_code CK40n to find the cost of the material.
    All steps are completely done up to the release of the cost to material master.
    But the cost of the material came out to be 261.33 rupees. My client certainly cannot sell this material for 261.33 rupees. He wants to change the cost to Rs. 265, but the system is giving an error, that the material is already having a released cost.
    The procedure to change the cost of the material is also given, it says
    "You can set the price of a marked cost estimate through the radio button 'Default Planned Prices' and release it by saving." But I m unable to find this radio button.
    Your help is really appreciated.
    Thanks for the assistance.

    I suggest you to take CO help for this. As per my knowledge we cannot update standard prize from MR21if this is released for the same period (only moving average prize uopdate is possible) . As you have run the cost and already released in the same period, you need to reverse/cancel this and run the fresh cost estimate.
    Regards
    Tajuddin

  • Transfer of req

    Dear Friends
    Pls help me in understanding the purpose of transfer of requirements, what is transfer order and how to create it
    regards
    John

    transfer order is a order to transfer the material from one warehouse to other.
    if there are 2 warehouses for a company then the 1st warehouse cannot sell the material to ohter warehouse bcoz they are part of one company therefore transfer order is created. this helps in tracking the material movement.
    even in one warehouse there may be a seperate division which deals with customer requirement and material has to be transfered to this division first and then this division will send the material to the customer.

  • How to get net price of a given material(Just like in VA01)

    Hello Experts,
    How do I get the net price of a given material? Just like when entering a
    material in VA01(sales order creation). Hope you can help me guys.
    Thank you and take care!

    This is a million dollar question.
    It depends on how the pricing have been configured in your system and only your SD consultant can answer it correctly. Price in VA01 could be determined by using the pricing conditions or, if allowed, a manual user entry (i.e. when users just type in the price). Discounts, taxes, etc. are calculated in a similar way, also based on the configuration.
    Pricing conditions are displayed in transaction VK13. You might want to take a look at an order in VA03 -> double-click on a line and go to Conditions tab. There are buttons Analysis and Condition Rec. that might be useful for your research. It is possible to configure different price for the same material and different customer, distribution channel, etc., so you will have to ask your SD consultant how to get the correct number in each case.
    Just FYI the net price on the order/contract is in VBAP-NETWR and condition are stored in the tables Annn, e.g. A901, etc. The tables are generated according to the configuration and are different in each system.

  • "Material type HALB cannot be used with item category L (plant 1000)"

    Hi Guys
    I am trying to copy the BOM of a material.
    The error msg.
    "matrial type HALB cannot be used with item category L (plant 1000)"
    Diagnosis: you want to enter a new componet with material type HALB and item category L.
    Settings in IMG for production (master data> BOM > Item data > define item category) determine that inventory management for this item category is to be based on quantity.
    However, other settings in the IMG for material HALB in plant 1000 determine that the quantities are not updated in the material master. This means that you cannot enter this material with item category L.
    Can anyone tell me how to correct this error please.
    Thanks.
    Ahmad Yahya

    Hi Ahmad,
      Follow this navigation path in SPRO
    IMG: Logistics > Material Master > Basic Settings > Material Type > Define Attributes (OMS2)
    Select a material type ( like in your case HALB) and navigate to Quantity/Value Updates. Now try to locate your plant to which you want to assign your BOM to. And then set the flags Qunatity Updating and Value Updating and save.
    Now, you can come out of CS01(BOM creation) transaction and re-enter CS01. Now you can maintain the data and error will not come.
    Regards,
    Amol

  • Re:Profit center as mandatory for VA01

    Hi Experts,
    Good Morning,
    my issue is if i didnt give profit center in va01 the document should not be saved, so in OMS9 which field sel.group (eg:name-0001,0002.....) i need to go and maintain as "Reqd Entry"
    Thanks in advance & points will be assign for useful answers,
    SAP UK.

    For information, Profit Center is flowing in sale order based on the value you maintain in material master.  So the first option is make the material master field as mandatory.
    Make the said field in material master as mandatory. To set this, go to OMS9, input 8 in "Field sel.group"  and enter. Double click on Profit Center and choose the option "Reqd Entry"  and save.
    Now without maintaining Profit Center, you cannot save the material master.
    So while creating sale order for that material, the profit center will flow automatically and no need to maintain the same.
    Of course, for sale order, you can make this field as mandatory and it is blank, it cannot be said.  To achieve this, Go to OVA2, block Sales - Item and double click on Procedures. There select Standard Item and click on Fields. There maintain the following:-
    Table::::Fld name::::::Description::::::::Screen:::Status
    VBAP::::::PRCTR::::::::Profit Center::::::::PKNT:::::00
    Now without Profit Center, you cannot save the sale order.
    thanks
    G. Lakshmipathi

  • What is the concept of  view in material master?

    Hello sap gurus
    Some quetions regarding Material Master
    what is  the concept of views in material master ?
    what is determined by specifying industry sector in material master ?
    To sell material which views are material are maintened in Material master?
    Regards
    Amit

    Hi,
    <b>Material master  for finished ggods is related with SD, MM & PP departments</b>. If you carefully go through the various screens in MM record you will realize the importance of the respective fields and the department to which they belong.
    <b>1.Suppose Base unit of measure</b> in Basic data 1 screen. The production people will keep the stock of the item using this UOM.
    <b>2. In Sales:Sales Org.1</b> screen we have sales unit in which we will sell the material.
    <b>3. Then we have the plant</b> data in which we enter the delivering plant. Also the taxes are determined from the plant so we have the settings for taxes also - whether this material is fully taxable/50% tax/Tax exempted.
    <b>4. Then we have purchasing</b> screen in which the data like the purchasing group, variable units,etc are entered. This will effect the purchasing cycle when we are procuring a material from outside. This is related to MM.
    <b>5. The we have MRP</b>, this is related to PP as to how to manufacture the product, the MRP type, the strategy group - whether it is MTO/MTS like that.
    <b>5. Sales:Sales Org.2 screen</b> - Here we mainatin the account assignment group which is very important as far as the generation of the accounting document is concerned. This triggers the system where to post the value in which G/L account. Accounting document is generated when we create the invoice in VF01 & save it.
    <b>6. Work scheduling</b> - Related with the sceduling of the production as to whether underdelivery or overdelivery is allowed, the storage location
    <b>7. Quality</b> - Here you can select for a particular finished item where where it has to be checked for quality during its journey from the raw material stage to the finished goods store as a finished item.
    <b>8. Accounting</b> - Related to accounting, product costing, total value of the stock in hand, etc. Also related with FI & PP
    So all the screens have data which effects one or more modules for the proper functioning of the system to give the optimum results.
    <b>Industry Sector:</b>
    Key that specifies the branch of industry to which the material is assigned.
    <b>Use</b>
    When you create a material master record, the industry sector you specify determines
    1. which screens appear and in what order
    2. which industry-specific fields appear on the individual screens
    <b>Screens for Sales:</b>
    Sales:Sales Org.1, Sales:Sales Org.2. But other screens also have data which is related to sales. You cannot just maintain the sales views and save the master. It has to be properly linked with the other modules also for the proper functioning of the system. That is why the system is called as "Enterprise Resource Planning" You have to paln the resources of your company and these resources are related with all the modules.
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

  • Problem when creating a customer order (VA01)

    I'm trying to create a customer order to sell a material which has serial no. I use transaction VA01.when i wrote the serial no of the material that gives an error "the serial no doesn't exist in SNUM".when i checked that table, i saw that there is no data. Probably some missing or mistake about customizing.
    Does anyone have any idea, what should i do???
    Thanks...

    Create serial number profile in <b>T.code: OIS2</b> and
    Please Assign the serial number profile to the material master (Sales orgn/plant data) present in the sales order. Then recreate the order.this solves your problem.

  • Return Material back from Vendor without PO

    We are having problems returning material back from a Vendor without a PO. We had sent some of our product to a Vendor to have them restack the pallets. Now we cannot bring the material back in without referecning the PO. (RGA) (VA01). We are allowed to do this on the sales side of our business when we are dealing with customers but not with a regular Vendor. Is there some flag on the Vendor that I need to check? Please let me k now.

    Hi
    You could do a goods receipt with movement type 501 whish is Goods receipt without a Purchase Order but be careful has this has the effect of making stock appear from nowhere.
    This can be done with transaction MB1C
    I hope that this helps

Maybe you are looking for