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

Similar Messages

  • 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

  • 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

  • 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.

  • 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 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

  • Setting control to default value when it is a strict type def

    If my subVI has a control that happens to be a strict type defined cluster and I have saved the values in the control as the default values, how can I change them back to the default values of the type def (which are empty).  Because it is a strict type definition, i cannot click on the elements inside the cluster and modify them (e.g. click on an array inside the cluster and do an empty array operation.)
    In the attached screenshot, the control "BLE Meters To Test" is just an array of clusters and I was able to empty the array.  The control "Capture Data" is a strict type def.  I would like to clear the contents of this control without having to delete the control and add it back with a new instance of the same strict type def.
    Solved!
    Go to Solution.
    Attachments:
    screenshot.PNG ‏33 KB

    are you talking about edit mode or run mode?
    You could temporarily add a second instance of the typedef (all empty), then change it to a constant. Whenver you need to reset at run time, write the new digram constant to a local variable of the control.
    glstill wrote:
    Because it is a strict type definition, i cannot click on the elements inside the cluster and modify them (e.g. click on an array inside the cluster and do an empty array operation.)
    Make sure to click on the array container, not on the array elements.
    LabVIEW Champion . Do more with less code and in less time .

  • Inspection Type - Default Values - Inspection for HU

    Hi Gurus:
    In SPRO >QM > QI > Insp. Lot Creation > Define Default Values for Inspection Type
    I am trying to check the Inspection for HU box under the Inspection Lot Creation section.  It checks fine, but when I save, the check disappears.  I have others where I have set this, so I am unsure why it is not letting me.  There is no error message appearing...Only the check disappears upon Save.
    Thanks for your help in advance.
    Nic

    Hi
    U r right. This is Happening to the Insp types 05 and 08 as per the coding written in the standard Program. It is checking the Insp lot origin in the table V_TQ33 and clearing the Tick for the Inspection for HU field if the insp lot origin is 05 and 08 while saving.
    Regards
    Brahmaji

  • How to assign the default value to search parameter

    Hi Experts,
    I am using search view , In this I have 5 parameter lets say Transaction Type, Partner No. etc... Now I want to assign a default value to transaction type ( lets say TA) . User should be able to see this default value in the transaction type field before pressing search button.
    How can I do it?
    My second problem is: I have configured this search view using configuration tool but I want to assign only one value to transaction type (i.e. user should not be able to add new row in the search criteria for the transaction type by using + sign)  but in rest 4 fields he can add new row and search based on that.
    Note: I am using only "Is" criteria .
    Any pointer will be helpful for me
    Thanks and regards,
    Sandeep

    Hi Sandeep,
    For the default search values, here is a solution. You have to redefine the method GET_VALUE1 of the context node
    For example if it is the BP search (component BP_HEAD_SEARCH) context node is your enhanced class: ZL_BP_HEAD__MAINSEARCH_CN00
    METHOD get_value1.
      CALL METHOD super->get_value1
        EXPORTING
          attribute_path = attribute_path
          iterator       = iterator
        RECEIVING
          value          = value.
      TRY.
    *     Delegate operation to selection parameter
          DATA: current TYPE REF TO if_bol_bo_property_access.
          IF iterator IS BOUND.
            current = iterator->get_current( ).
          ELSE.
            current = me->parameter_collection->get_current( ).
          ENDIF.
          IF current->get_property_as_string( iv_attr_name = 'ATTR_NAME' ) EQ 'XXX'.
            IF value IS INITIAL.
              value = 'Your default value'.
            ENDIF.
          ENDIF.
        CATCH cx_root.
      ENDTRY.
    ENDMETHOD.
    where XXX is the name of the field.
    Default value will then appear in your search field, but you are still able to modify it if you want...
    Regards,
    Fabian

Maybe you are looking for

  • Get Request Offerings by Service Offering using C#

    I utilized the thread here to build a function to get all request offerings for a specific service offering. However, no data is being returned to the relationship object list. I'm not getting any errors and I've verified there are indeed request off

  • Opening stock for stock provided to vendor

    Hi Gurus, I m trying to get opening stock for stock at subcontracter. I m using 0TOTALSTCK in the Query and I'm getting wrong values as compare with MB5B. I dont know how to show the opening stock and closing stock in the Query for this special stock

  • Which is the best 15 Inch Macbook Pro choice for me?

    So I am a currently attending college and studying at the moment CIM (Computer Information Management). I work a lot on my computer either on school work, personal projects, and some minor freelance work. I use a lot of Adobe CS4 software such as Pho

  • Cash discount calculated even after the due date in F110

    Hi Friends, Invoice and Credit memo is created with the reference to PO, but when the payment is made to the vendor through F110 the cash discount is calculated on the credit memo even though it has passed the due date. Let me know what else is remai

  • DW CS6 launch problem

    My purchase and registered Dreamweaver CS6 starts with a Trial Version window: "Do you want to continue with your Trial?" Cannot launch DW unless regieter it again.