Re: Default value in field Plant during PR creation (tcode: ME51N)

Hi,
It seems parameter id is not available for defaulting a value in field PLANT during PR creation?
Is there any option i can use on this instead? thanks in advance.
Rgds,
She

Hi She,
Go to ME51N Trxn code and Click on Personal Setting Tab and Here You can set you Palnt as Default in Default Values Tab.
If It is not there in Default Values then Click on More Fields tab and Select Plant then copy and save.
Reg,
Ashok

Similar Messages

  • Default values for fields in infotype 0017

    Is there any way to set default values for fields in infotype 0017? Maybe a
    feature? I'm thinking about defaulting values based on pay scale group.
    Thanks before.

    Hi
    You can implement what i suggested in my previous post.
    Or else, you can do what we did in one of our client requirement.
    We created a custom Ztable where we had defined which value of the the employee grouping to be placed for which record.
    We did that on the basis of the company code fields.
    For eg: IF BUKRS = 'TR01'
    then EE Grp Expense Type = '1'.
    ENDIF.
    Similarly for other fields.
    Hope this helps.
    Harsh

  • Set default value on field KNA1-AUFSD when creating Customer

    Hi,
    How to set default value on field KNA1-AUFSD when creating customer master using XD01/VD01?
    I have tried user exit SAPMF02D, but all KNA1 values are read only.
    Thx

    Hi
    Try to implement an enhancement option in include MF02DFEX. (at the beginning before call to FM CALL CUSTOMER-FUNCTION '001'.).
    and Initialize the value for KNA1-AUFSD.
    In this Include you can see that there is a call for CALL CUSTOMER-FUNCTION '001'.
    So even you test/check the initialized value for field KNA1-AUFSD is updated by putting a break point in this function module after implementation of your enhancement SAPMF02D.
    Regards,
    Dwaraka.S

  • Setting default values for field on screen.

    Hello,
    I am trying to set default value for one of the fields I have on screen when I execute the custom transaction.
    I am doing that in PBO as follows. But the default value is not set for Date field.
    PROCESS BEFORE OUTPUT.
    MODULE PBO_OUT.
    MODULE STATUS_5000.
    *&      Module  STATUS_5000  OUTPUT
          text
    MODULE STATUS_5000 OUTPUT.
      SET PF-STATUS 'NON_SAP_DOCUMENT'.
      SET TITLEBAR '001'.
    ENDMODULE.                 " STATUS_5000  OUTPUT
    *&      Module  PBO_OUT  OUTPUT
          text
    MODULE PBO_OUT OUTPUT.
      ERDAT = SY-DATUM.
    ENDMODULE.                 " PBO_OUT  OUTPUT
    Please help.
    Thanks.
    Regards,
    Rajesh.

    Works Now...

  • Set default value to field using Personalization

    Hi all,
    I want to set the default value for 'Comments' field in Termination screen (OAF) in Manager Self Service responsibility. I used OAF Personalization to set the Initial Value, but it didnt work. I tried logging off but in vain.
    I tested creating a new field with default value and it works fine.
    How I ensure that default value given in Personalization, is overidden by Controller or not? Does it require Controller extension?
    Thanks
    Kishore Ryali

    Kishore,
    May be in ProcessRequest the value will be refilled by the standard program.
    De compile the Controller and check in ProcessRequest, the "Comments" value getting changed.
    If yes, You have to extend the controller and get the handle of the item and set the value.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Default values in fields in SolMan Incident Management

    Hi,
    I am able to specify default values in the fields Component, Long Text and Short Text in the Create Message screen in the Settings for Current Configuration box in Servicedesk Workcenter (Incident Management). When trying to do the same with the Category field, there is no selection u201CSpecify Defaultu201D in the Settings for Current Configuration box. Why isnu2019t this possible? Do I have to do this via CRM and IMG?
    Regards,
    Kjell

    Hi,
    Please check latest solution manager configuration guide on below link:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000722612&_OBJECT=011000358700000122472008E
    Thanks
    Sunny

  • How to set a default values on fields

    Hi !
    using Jdeveloper:11.1.1.4.0
    ADF Business Components     11.1.1.59.23
    Jsp page
    I want to set a default Date value in the field (in search form) How to do this ? Img priview [http://tinypic.com/r/zjhuf9/6]
    The default value need to be one week older that today priview Default value: 07.08.2012 (14.08.2012:Today)
    and a user cannot change that value
    I am newbie in ADF and Java so some usefull links can be posted to
    ID

    Hi,
    Adding default value for the attribute would work for the new rows that are created. If you want to have that in the search field, you need to set the default value for the bind variable which you are using in your View Criteria. The blog i've posted serves exact same usecase as yours.
    -Arun

  • PCUI - Default value in field

    Hi,
    Application : CRMM_ACCOUNT
    I am trying to include a field "DATAORIGINTYPE" into the field group "ACC_SRES_LOG_NAM". This field
    is appearing fine if I am not entering any default values. The value help appears alonside the field.
    When I enter the default value(CRMP) then the field is appearing in the list view. But if I click on
    the toggle button for form view, am getting "The page cannot be displayed". This happens only when I
    enter a default value.
    While debugging, fails in this method "IF_CRM_BSP_MODEL_ACCESS_ILMODIFY" at this line "CALL METHOD super->if_crm_bsp_model_access_ilmodify"
    The problem arises only when I click on the "Create" button and choose "Organisation" from popup. Other wise it is working fine when I choose "Person" from the popup.
    Is this bug or any solution available?

    Hi,
       it seems when you include new fields in "field group structure" you have to look at first "View". so you have to find out those fields are in which view for Example let say "SLS_ISU", i just follwed this procedure it is working fine.
    Thanks
    Raju

  • Default value in field "requisitioner" in ME51N

    hello all
    when I create a preq with ME51N, the field "requisitioner" should have as default value the user: instead it states "USER!!"
    I recall seing this before but cannot remember why this happens
    can somone help? thanks
    Alisa

    Hi,
    In ME51n, Click on the personal settings and in that click default values tab and in the requisitioner field remove the USER that is maintained there and leave it blank and save.
    Hope this helps..
    Rewardz if helpful.
    Raj
    Edited by: Raj on Apr 27, 2010 5:00 PM

  • Default value in field

    Dear All,
    In vendor master I want to put default valie X in field "Chk Doble invoice" (i,e, LFB1-REPRF).
    Is it possible thru creating screen variant.
    I don't know how to create screen variant and how it take effect in XK01 T-code i.e vendor master creation.
    Requst you to please guide by step-by-step procedure.
    Thanks in advabce,
    Nirav

    Hi ,
    Guess u want a default value X in teh syndicated xml file!!!
    Steps:
    1. in your syndicator map go on destination properties.
    2. go to the field(9LFB1-REPRF) in the segment whr u want to put a default value on LHS structure.
    3. On RHS screen in the field properties mark "X" in the static Text field.
    4. Now whenever u r syndicating records this particular field will hav a default value X assigned to it.
    Thanks
    Manish

  • Default value in field when creating a new vendor (Transaction: XK01)

    Hi, everybody!
    Is it possible to set a default value to a field when creating a new vendor (transaction: XK01)?
    We need the field "Payment terms" in "Payment transactions accounting" tab and field "Terms of payment" in "Purchasing data" tab to be filled with a default value when creating a new vendor.
    Thanks in advance
    Best regards,
    J Madariaga

    You can try creating a transaction varient fron SHD0 for this which will default the requiredd values .
    -Hari.

  • How set default value in field of new infotype

    Hi experts!!
    We have created a new infotype 9002. This infotype has two mandatories fields, one with the amount and another with the currency.
    The currency always will be 'EUR', for this reason we would like to assign the default value for this field and the user only should fill the amount field.
    How we should assing the default value to the field we have created in a new infotype 9002?
    Kind regards,
    Julian

    Hawk,
    Another option here will be to enhance infotype 9002 screen 2000 PBO logic. Add a PBO module with the following logic:
    Begda hat sich vielleicht geändert.
            PERFORM re500c(sapfp50m) USING psyst-land p9002-begda. "K35729
            IF p9002-waers IS INITIAL.                          "QNUK110803
            IF t500c-waers IS INITIAL.                        "QNOK034099
              MOVE t001-waers TO p0015-waers.                 "QNOK034099
            ELSE.                                             "QNOK034099
              MOVE t500c-waers TO p9002-waers.                  "QNOK129756
            ENDIF.                                            "QNOK034099
            ENDIF.
    This is standard code extracted from infotype 0015 PBO logic. It default currency according to your country.

  • Setting Default values for field using custom.pll

    Hi All,
    I have an rquirement to set the default values on Meterial Tranasction screen for some condition
    I tried it in both ways via Form Personalization and using custom.pll
    i m using the following code in custom.pll
    form_name      varchar2(30):= name_in('system.current_form');
    block_name varchar2(30):= name_in('system.cursor_block');
    trx_type           varchar2(30);
    subinv                varchar2(30);
    begin
    if form_name='WIPTXMAT' and block_name ='MTL_TRX_LINE' then
    if event_name ='WHEN-VALIDATE-RECORD' then
         trx_type:=name_in('WIPTXMAT.TRANSACTION_TYPE');
    if trx_type ='WIP Return' THEN
         copy(10,'MTL_TRX_LINE.TRANSACTION_QUANTITY');
              copy(10,'MTL_TRX_LINE.NUMBER_OF_LOTS_ENTERED');
              sinv:=trim(name_in('MTL_TRX_LINE.SUBINVENTORY_CODE'));
              if sinv is null then
                   copy(subinv,'MTL_TRX_LINE.SUBINVENTORY_CODE');
                   copy(fr_locator,'MTL_TRX_LINE.LOCATOR');
                   FND_MESSAGE.SET_STRING(sinv);
                   FND_MESSAGE.SHOW;
              end if;
         end if;
    end if;
    end if;
    end event;
    Problem is that default values are getting set but not for all rows . if there are 4 records then values are set for only first 2 rows and if there are 2 rows then defaults are set for 1st row only.
    Same behaviour happens when i do it via form personalization
    i couldn't understand the behaviour of WHILE-VALIDATE-RECORD event..
    Please provide some suggestion on it. its really urgent.
    Thanks in Advance
    Renu

    Works Now...

  • How to set the default values for fields

    Hi all,
    How to show the default values without changing the existing code in the CO for the seeded page.
    I have requirement like one drown box in that three values are there. On page load the item is empty , but i have to show first value as default value. Is this possible through personalization..
    Can any body have idea pls give some suggession.
    Thanks
    Uma

    Considering you don't want to go for controller extension..
    A way is to use java script in personalization.
    Simply create a RawTextBean using personalization and add the java code to change the properties.
    Java script plan:
    Get the handle of the items to change (like here drop down)
    selectTags=document.getElementsByTagName('select') --gives list of all the select tags in the page
    get ID of the select tag whose value you want to change (loop throug selectTags array).
    or get it directly by getElementsByName method or getElementsByID mETHOD.
    Say its handle is changeItemID.
    changeItemID.selectedIndex=2
    Overview of script
    <SCRIPT type="text/javascript">function _checkLoad(eventXX){
    --yOUR CODE FOR GETTING handle Of the select item whose value is to be changed,goes here...
    changeItemID.selectedIndex=2
    }</SCRIPT>

  • Setting default value for fields

    Hi
    I am facing an issue when setting the default value of an item
    setAttributeName("ID")
    It is working when ID value is with char
    if the ID value is number
    Iam not able to set the default value it is giveing error setAttributeName("ID") at this line
    can any body suggest on this
    Regards
    Krishna

    hi
    in this case u can convert your number value to string ,like this
    String sNum= num.toString();
    thanx
    Pratap

Maybe you are looking for

  • How to syncronize billing document and accounting document numbers?

    Hello, In RV60AFZC USEREXIT_NUMBER_RANGE_INV_DATE I changed the number range for the billing document from what is configured for F2. I need for the accounting document number to be the same as the billiing document number. I have created an new exte

  • Process to setup new R3 Source System

    Hi, there seems to be a lot of posts out there regarding this topic, but I can't seem to get a specific answer out of it all? I am adding a new R3 Source System (R2) to my BI System in addition to the existing R3 Source System (R1).  I would like all

  • How do I disable secure trash in Lion?

    Is it possible to reset the trash back to the way it worked before I upgraded (?) to Lion?  The 'empty trash securely' checkbox  in the Finder prefs is not checked. 

  • Once again, iTunes thinks this is the first time I am connecting

    I am not sure what exactly is going on, but today once again I noticed that when I started iTunes (9.1.1) on my laptop (win XP pro/SP3) I got a welcome message and "what's new" window. So I assume that iTunes thinks this is the first time it has star

  • Problem LOV Advanced

    Hello gurus, I have a problem with one LOV: My customer would like to have an advanced LOV in which you can search by many fields at the same time. Well, the problem is the following: This LOV is "special" because has got one Message Choice, and depe