Default value of order type is taking in COR1

Dear All,
I am facing problem while manual creation of process order. Actually I  have created 2 plants say 5999 & 6999 and two order type say kkp1 & kkp2 both are similar but number ranges are different. Allready I have assigned order type to respective plants in order type dependent parameter. My material type is ND. Now I am creating process order of material in plant 5999 with order type kkp1.As i enter this order type changes to kkp2 and giving the error message " order type kkp2 dependent parameter is missing in plant 5999. Whicjh is not required. We create manual process order.
I do not know why this happening??? Please guide me further on this..
Thanks & Regards
Kundan Kumar

Hi,
First step in Cost Estimate is Run the cost estimate in Tcode : CK11N by providing the details like Material / Plant / Costiong Variant  and run . System will display the cost of the material.
Second step is goto Tcode : CK24 and in the selection fields provide the Posting Period / Fiscal Year...
Compant code / Plant and Material and click the Marking Allowance and execute, system will display the cost details in the new screen. Now come back and Click Release and execute. System will update the proce in material master.
Hope this will help you.
regards
radhak mk

Similar Messages

  • Default Value for Order Type based on Company Code  in ME21N

    Hi,
         Using ME21N, I want to make the PO type defaulted to a certain company code, say for instance Company code  XYZ should have a PO type XYZ Purchase Order, ..company ABC should have a PO type ABC Purchase Order, and so on...I'm just puzzled how to implement it. I know that we can set a Default value for PO Headers in Personal Settings but its doesnt give the result I want coz it will only have one Default Value. What I wanted is when a certain company code is chosen, automatically, the corresponding PO type for that Company code will be displayed in the Order Type drop-down menu (so there's no need to choose on the drop down list what Order type) Is this possible in ABAP? Hope i made myself clear.
        Thanks in Advance.

    Use BADI IF IF_EX_ME_PROCESS_PO_CUST - method OPEN
    View the interface documentation in transaction SE19 and you will see the method OPEN can be used :
    2. Opening of a purchase order (OPEN method)
    The system opens a new document to create, change or display a purchase order. With the OPEN method,
    <b>you can import your own data and prepare it for further processing.</b>
    This is available in 4.7 Enterprise but not sure how far back.....
    hope this helps
    Colin.

  • Define Default Values for Doc type..

    Hi All.
    I set a default value of "ME21N" TO "S21" at Define Default Values for Document Type.
    But, default document type is not "S21" but "NB" in ME21N
    ( system ver. 710)
    Let me know how to correct it..
    Thank you in advance.
    regards..
    nam

    Hi,
    Could u please confirm whether have u created the document type
    in
    IMG...>MM.....>Purchasing.....>Purchase order...>Define Document Types.
    if not please do it.
    and then create the pO.
    I think it will work
    Regards
    Aasif

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • Set default value for product type

    I want to set default value in product type drop  down box
    in component PRD01QR.
    view  SearchHelp.
    I tried with setter and getter , but not working
    they are using query string.

    Hi,
    You can achieve this by redefining the method GET_VH_PRODUCT_TYPE() in IMPL class of searchHelp view. Just copy paste the implementation of this method from super class and now control the internal table as per your requirement like
    comment out the line       APPEND INITIAL LINE TO lt_ddlb. (line no: 47)
    as it will add an empty line at the starting of internal of product type values which you dont want. In you case there should be some default value for product type field, so arrange the inetrnal table values according to you requirement and what ever value you want to default for product type that should be the first value in the drop down without empty line and add an empty line at the end of the internal table.
    No need to call super->GET_VH_PRODUCT_TYPE() in your implementation as you have written all the required code in your implemenation itself.
    Hope this would help you!
    Regards,
    Ajay

  • How to set default value to date type attribute.

    Hi,
    How to set default value to date type attribute.
    E.g I want to set u201C01/01/1999u201D to date attributes.
    First i want to set value and then i want to fetch the same & want to check equals.
    please suggest solution.
    Regards,
    Smita

    Hi,
    In wdinit() method u can set the date
    DateFormat df = new SimpleDateFormat("MM/dd/yyyy");
    Date today = Calendar.getInstance().getTime();
    String reportDate = df.format(today);
    wdContext.currentContextElement().setFromDate(reportDate);
    Another way you have set the this formate like that
    1. Create a Simple type under "Dictionaries->SimpleType" called DateFormat
    2. Select the type as "date"
    3. Go to the "Representation" tab and set the format as "dd/MM/yyyy" (or whatever u want, but month should be MM)
    4.Bind the context attribute to the type created now.
    Hope this helps u.
    Best Regards
    Vijay K

  • Default rule in Order type dependend parameters - OPL8 - Order Settlement

    Hello,
    We are doing settlement of production orders via Tcode - Ko88.
    After execution of the same, system is passing an FI entry to GL - which is mentioned in the Material Master (Valuation Class - 7900) i.e. through OBYC setting.
    We have also checked the OPL8 setting (Order Type dependend Parameters - Controlling Tab) in which "Default Rule" is mentioned as - PP1 - Production Material full Settlement.
    As the system is passing an entry via "Default Rule - PP1" stored in Order Type Dependend Paramenters:
    1. What is the use of Settlement Profile (OKO7) & Allocation Structure (OKO6)?
    2. Can we make "Default Rule" field as optional (In Tcode - OPL8) ? since all the settlements are resulting in same Material GL.
    Waiting for a positive answer. Points will be assigned definitly.
    Thanks & Regards,
    Shridhar Sawant

    Hi,
    Settlement Profile:
    In the settlement profile, you define a range of control parameters for settlement. You must define the settlement profile before you can enter a settlement rule for a sender.
    If you want to settle the costs each time to just one cost center or just one G/L account, you need a settlement profile. As you cannot maintain the settlement parameters during settlement to a receiver, you must save the settlement profile either in the order type or in the model order or reference order.
    Allocation Structure:
    During settlement, costs incurred under the primary and secondary cost elements by a sender are allocated to one or more receivers. When you settle by cost element, you settle using the appropriate original cost element.
    An allocation structure comprises one or several settlement assignments. An assignment shows which costs (origin: cost element groups from debit cost elements) are to be settled to which receiver type (for example, cost center, order, and so on).
    You have two alternatives in settlement assignment:
    You assign the debit cost element groups to a settlement cost element.
    You settle by cost element - that is, the debit cost element is the settlement cost element.
    This is a good idea, for example, if the required capital spending for an asset you are building yourself is to be monitored. These costs are settled by cost element to an inventory account in Asset Accounting at the end of the year, or when the measure is complete.
    Each allocation structure must fulfil the following criteria:
    Completeness
    An allocation structure is assigned to each object to be settled. All cost elements in which costs are incurred, must be represented in the appropriate allocation structure.
    Uniqueness
    Each cost element in which costs are incurred may only appear once in an allocation structure. Only one settlement cost element may be assigned to a source within a particular allocation structure.
    Source Structure:
    A source structure contains several source assignments, each of which contains the individual cost elements or cost element intervals to be settled using the same distribution rules.
    In the settlement rule for the sender you can define one distribution rule, in which you specify the distribution and receivers for the costs for each source assignment.
    Thanks,
    Rau

  • What is the default value of boolean type transient attribute in VO?

    Hi All,.
    jdev version-11.1.2.1.0
    i have created one vo based on eo where i add one boolean type transient attribute Marked(uihint checkbox).
    now i have apply view criteria on this vo.
    like---
         ViewObject vo=getView(iterator);
         vo.setQueryMode(ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);
         ViewCriteria vc=vo.createViewCriteria();
         ViewCriteriaRow vcr=vc.createViewCriteriaRow();
         vcr.setAttribute("Marked", "true");//Setting attribute on view criteria.
           vcr.setConjunction(ViewCriteriaRow.VCROW_CONJ_AND);
           vc.setCriteriaMode(ViewCriteria.CRITERIA_MODE_CACHE);
         vo.applyViewCriteria(vc);//Apply view criteria on vo.
         vo.executeQuery();
         vc.add(vcr);
       vo.executeQuery();this code running fine and that is selected only those row which i have cheked.
    but now i want to apply view criteria that select select those rows that are not checked.
    like-
    vcr.setAttribute("Marked", "false");but it is not return any row.
    if select checked any row and then uncheked that row so marked attribute for this row set false. but rows that are unchecked by default not return.
    so my question is that what is default value of Marked attribute when user not take any action i will try
    vcr.setAttribute("Marked","null");
    but not working.

    i have tried this but this is not working.
    follwing code working for Null case not for False
    vcr.setAttribute("Marked","is null"); this code display all rows who has null but when i checked any row and then unchecked so that row get value "false" also not display.

  • Default values for data types

    what are default values for all the data types that exist  in abap
    Title was edited by:
            Alvaro Tejada Galindo

    Hi
    For CHAR data type default is SPACE
    for INTEGER,PACK and FLOAT types it is ZERO '0'
    for NUMERIC also so many Zeros
    for Time(TIMS) it is 6 zeros and Date(DATS) it is 8 zeros
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Multiple default values for Selection type variable

    Hi all,
    I am using Bex 3.5. I have a fundamental doubt while creating a User Entry, Selection Option, Optional type variable.  I am trying to include multiple single variables in the default section, but it accepts only one. Is it possible to add multiple default values to the variable so that they show up in the selection screen when we run the report via Bex Analyzer ?
    Thanks for the inputs !
    Regards
    Snehith.

    Hi,
    In one of my bi7 reports, i remember i have given multiple default values in a single variable. For example i wanted to have multiple material types in my selection screen.
    But i have to check out the type of that user entry variable.
    Hope the above reply was helpful.
    Kind regards,
    Ashutosh singh

  • How to add one default value in table type value set?

    Hi All
    I have the below requirement:
    Need to display all the organization ids in the parameter for one concurrent program along with one default value of 'ALL'.
    I have created a table value set which picks up the organization name from hr_all_organization_units. But while submitting the program I should also be able to give 'ALL'.
    Any pointer/idea how to achieve this will be highly appreciated!!
    Thanks in Advance!!
    Regards,
    Shashank Mishra

    HI
    i get below error when i change the script 
    PS C:\scripts> C:\Scripts\updatedefaultvalue.ps1
    Cannot index into a null array.
    At C:\Scripts\updatedefaultvalue.ps1:8 char:7
    + IF($i[ <<<< "Title"] -eq $null)
        + CategoryInfo          : InvalidOperation: (Title:String) [], RuntimeExce
       ption
        + FullyQualifiedErrorId : NullArray
    $web = Get-SPWeb http://tspmcwfe:89/
    $list = $web.Lists["test"]
    $item = $list.Items | Where { $_["Name"] -eq "Emc" }
    foreach($i in $items)
    IF($i["Title"] -eq $null)
             $i["Title"] = "test"
           $i.Update()
    adil
    Why are you piping a where in the items? Do you only want to add the "test" to ones matching
    a name?
    If you have ISE installed on your server I recommend you put your code in there and debug it. 
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • What is the default value whe data type is numaric

    dear
    can you tell me the defult value of the coloum when we set it to numaric
    i want to pull the data from the table using blank or default valu in that colum
    i had done the following qry
    SELECT T2.[U_NoofSpl] FROM [dbo].[@MINSPL]  T0 INNER JOIN  [dbo].[@SPLPLAN]  T1 ON T0.Code=T1.U_BasCode INNER JOIN  [dbo].[@SPLPANRF]  T2 ON T1.Code = T2.Code
    WHERE T0.[U_ItemCode]='CON00001' AND
    T2.[U_QtyTo]='' *
    here i want to set the valu like = 0 or ''
    thanks in advance

    Hi Kishor,
    Try This....
    SELECT T2.[U_NoofSpl] FROM [dbo].[@MINSPL]  T0 INNER JOIN  [dbo].[@SPLPLAN]  T1 ON T0.Code=T1.U_BasCode INNER JOIN  [dbo].[@SPLPANRF]  T2 ON T1.Code = T2.Code
    WHERE T0.[U_ItemCode]='CON00001' AND
    T2.[U_QtyTo]=0
    or
    SELECT T2.[U_NoofSpl] FROM [dbo].[@MINSPL]  T0 INNER JOIN  [dbo].[@SPLPLAN]  T1 ON T0.Code=T1.U_BasCode INNER JOIN  [dbo].[@SPLPANRF]  T2 ON T1.Code = T2.Code
    WHERE T0.[U_ItemCode]='CON00001' AND
    T2.[U_QtyTo]=Null
    Thanks
    Shafi
    Edited by: shafi_sunshine on Aug 23, 2011 1:44 PM

  • Default value of conditon Type

    Hello MM Gurus/Experts,
    I created a new Condition ZFR1 for Freight. Can I make a such type setting that In Purchase Order the amount of this condition type (ZFR1) Must be 1.
    Or
    If amount amount is zero than there should be an error message.
    Thanks in Advance.
    Devendra Singh Chauhan

    Hello,
    Maintain the access sequence for this condition type and take the fields in table of this access sequence as company code.
    So whenever the company code is checked against this condition type, it will populate the value as 1.
    Regards
    Prabhjot Singh

  • Order Type default on Maintenance Plan

    Hi gurus,
    How can i do a default value of order type ZPM02 on IP42
    Thank you!!

    You can set the default order type by planning plant as follows:
    IMG
    - Plant Maintenance and Customer Service
    -- Maintenance and Service Processing
    --- Maintenance and Service Orders
    Functions and Settings for Order Types
    -Define Default Order Types for Maintenance Items
    PeteA

  • Default Sales Order type settings

    Where do I set the default Sales Order type for transaction VA01. trying to avoid employees choosing the wrong order type.
    Thank you.

    You can setup user parameter for parameter AAT
    Use transaction SU3 for every user
    Goto tab Parameters
    Add a line
        Parameter_ID: AAT
        Parameter value:  Your order type
    Save user profile
    Please note that this solution will not prevent user to change the value of field order type during VA01. However he will always get this as default value. You should do this for every user you need to have default value.
    Best regards
    Aris

Maybe you are looking for