Default value in MIGO transaction for PLANT specific

Hi Experts,
I am looking for default vaule in MIGO transaction.
Whenever goods receipt is entered for one particular PLANT ,i want vaule to be dafaulted in Quantity tab No.of container unit value to be PC for english and ST for german.
Is is possible to achiece by creating new role ? if then how ?
Note : It is for PLANT specific and for only one user.
Thanks

>
Dhina wrote:
> Is is possible to achiece by creating new role ? if then how ?
This is not possible using security.  You will be able to do it via some form of customisation but you need to judge whether is it worth it.

Similar Messages

  • How to set default values in MIGO transaction

    Hi,
            I am using ZXMBCU02 Userexit to change the storage location as some default value 'SDW2'.
    code is as follows
       select single werks
                    into v_werks
                    from ekpo
                    where ebeln = i_mseg-EBELN.
        if sy-subrc = 0.
          if v_werks = '2204'.
              i_mseg-LGORT = 'SDW2'.
              SET PARAMETER ID 'LAG' FIELD i_mseg-LGORT.
          endif.
        endif.
    Actually while debugging, control is going to the above program but amd unable to change the values.
    Am i using the correct userexit, or is there any problem with my code.
    Thanks,
    Ravi.

    Hi,
    Instead of using user exit, I may advice you to use the MB_MIGO_BADI, In this badi you can check the value of storage location,
    and you can restrict user to change the storage location other than desired storage location,
    May this will help you.
    Regards
    Rani

  • Badi for setting default values in the transaction in APO.

    BADI NAME: SMOD_APOCF005 which is used for setting default values in the transaction.
    I have implemented the BADI using the below code but that BADI is not triggering. Please can you provide any solution for resolving this.
    As per my requirement I am trying to set default values for these three fields RRP_TYPE, WHATBOM, CONVH.
    DATA: LS_MATLOC LIKE LINE OF IT_MATLOC.
    LOOP AT IT_MATLOC INTO LS_MATLOC.
    LS_MATLOC-RRP_TYPE = '4'.
    LS_MATLOC-WHATBOM = '5'.
    LS_MATLOC-CONVH = '999'.
    MODIFY TABLE IT_MATLOC FROM LS_MATLOC TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.
    DATA: LS_MATLOCX LIKE LINE OF IT_MATLOCX.
    LOOP AT IT_MATLOCX INTO LS_MATLOCX.
    LS_MATLOCX-RRP_TYPE = 'X'.
    LS_MATLOCX-WHATBOM = 'X'.
    LS_MATLOCX-CONVH = 'X'.
    MODIFY TABLE IT_MATLOCX FROM LS_MATLOCX TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.

    The  BADI name: SMOD_APOCF005 .
    T.code at APO : /sapapo/mat1
    Once we enter in that T.Code with some Product and Location data.
    There under PP/DS tab.
    Under Planning Procedure there is a field PP Plng Procedure which I want to set as 4
    And under Order Creation there is Plan Explosion which needs to be set as 5
    And Under Horizons there is PP/DS Horizon which needs to be set as 999.
    BADi is implemented and active.
    And once the data is CIF from ECC to APO
    These default values are not set in the T code in APO and the BADi is not triggering.

  • Unlimited Delivery Indicator in relation with Default values in MIGO screen

    What is the relation of 'Unlimited Delivery Indicator' in PO with 'Porposed All Items Indicator'  in Default Values of MIGO?
    Case:
    PO created with quantity 100. GR is done for 100 quantity. If 'Porposed All Items Indicator'  is set system allows to receive more than PO quantity in GR.
    Its behavior is same as Unlimited Delivery Indicator in PO.

    'Porposed All Items Indicator' Indicates that items with quantities of zero are also suggested upon goods receipts with reference to purchase orders.
    use:No more goods receipts are expected for items that have a quantity of zero, but they are possible. Items with quantities of zero may occur after partial deliveries or reversals, for example.
    You can set this indicator if you often have to enter additional quantities to purchase order items that are already completed.
    'Unlimited Delivery Indicator'  the delivery quantity is not limited
    Regards,
    Pramod

  • Setting Default Values in Search Criteria for COSTCENTER

    Hi ALL,
    I need Help for setting default values in search criteria for COST CENTER.
    Basically the issue is when creating a Shopping Cart, i need to assign a COST CENTER at Item level under COST ASSIGNMENT Tab.
    While searching the cost center i need to default the following fields in my search criteria based on the Login User :
    1. Controlling Area,
    2. Language Key.
    Please suggest some solution.
    Thanks & Best Regards,
    Surya

    Hi Vani,
    Sorry for the delay reply and Thanks a Lot for your timely support......I would like confirm once again is the name of the BADI is <b>bbp_f4_read_on_exit</b> or <b>bbp_f4_read_on_entry</b>. In this BADI i've not found a method to default Controlling Area. Can you please suggest me which method i can use.
    Thanks & Regards,
    Surya

  • Exit or Badi for Migo transaction for given condition

    Hi,
    I need exit or Badi for MIGO transaction for the following condition ( When the goods receipt for the PO is initiated, prior to posting the accounting document).
    Please let me know
    Regards
    Ramesh

    Hi
    In rel 4.6C you can find these BADIs:
    - MB_DOCUMENT_BADI or MB_DOCUMENT_UPDATE
    and these exits: MBCF0002, MB_CF001
    Max

  • Delete the transferred values using the transaction for changing old assets

    how to Delete the transferred values using the transaction for changing old assets.
    i want delete the my asset.
    Thank you
    Anil

    Dear Anil,
    AS06                 Delete Asset Record/Mark for Delet.
    AS26                 Mark group asset for deletion     
    Hope this will help.
    Regards,
    Naveen.

  • Default value in MIGO

    Hi Experts,
    Can anybody please tell me,
    How I can maintain default plant & storage location in MIGO Where tab.
    Whenever I entered in MIGO. In Where tab page there are Plant & Storage Loc. field.I want these field defulted i.e Plant -- 1000
                     Stor loc. --- 0002
    Where I can make setting.
    Please help.

    it depends on the transaction you are posting:
    For GR against PO, it calls the value from the PO, for storage location to be defaulted in PO for the plant, you can set storageLocation for EP in MRP 2 view.
    For GR against a Production/Process order, you can maintain the storage location default data in Production storage location field in MRP 2 view.
    however if you want the values to be defaulted in all transactions, reports, including the PO creation etc, you can set default for users in the in SU3 transaction--> default values
    maintain
    PARAMETER ID                              parameter value
    WRK                                             plant code(eg. 1000)
    LAG                                              storage_loc(eg. 002)

  • Defaulting batch and valuation type for a specific division for tcode me21n

    Hi
    I would like to default the valuation type and batch for a specific division while creating the PO.
    Kindly let me know if there is any user exit for this.
    Thanks & Regards
    Bhagya

    Hi .
    Actually my requirement is while you are creating PO, the value say 'ABC' must be defaulted both in Batch and valuation type  but when change that to 'DEF' it should allow you.. means you should be able to modify the batch and valuation type fields. I can be kept empty also.
    I tried using field exit to default Batch and valuation type, but it does not work if the batch is empty.
    If I use the BADI you mentioned what are import and export parameters and how do I code to meet my requirement.
    Kindly let me know.
    I will definitely reward points if it works.
    Thanks in advance
    Bhagya

  • How to set default value in select option for ABAP query

    Hi experts,
    What is the way to set up default values for select-options in ABAP query.
    e.g.
    I have one field 'Year' in my ABAP query selection screen.
    I want value of current year to be appeared here whenever user execute report
    Thanks in Advance
    -Harkamal

    Hi Harkamal,
    execute your Query via SQ01. On Selection-Screen
    goto save Variant. Mark your field
    as selection variable an press Button election variable.
    Take variable from TVARV and use it.
    Than save the Variant.
    Look at TVARV if the 'Year' is updated to the actualYear!
    regards, Dieter

  • How to set a default value in a form, for a current record.

    Hello,
    I have created a form to store the details of an employee, details include employee id, name and lan id. I am wondering if it's possible to set the default value for an e-mail address. The e-mail address would be in the format '[email protected]'. So If I press 'create', I am directed to a form.
    In the forename field, if i type 'stewart'
    In the surname field, if I type 'Young'
    Then in the e-mail field, I should see '[email protected]'
    Furthermore, if I change 'stewart' to 'stuart', while still in the form, the e-mail address field is automatically updated to '[email protected]'
    Would anyone be able to help with this problem?

    Hi,
    to do this you need kind of interactivity in your form.
    You can achieve this either by:
    1) using JavaScript onchange-events on forename and surname items, or
    2) use the AJAX Computations option of ApexLib, see: http://www.oracle-and-apex.com/ajax-computations-rich-client-feeling/
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com

  • How to setup a default value when defining (prompting) for a value?

    When I prompt the user in a SQL statement then I can declare a default value like in:
    SELECT *
    FROM all_users
    WHERE username = nvl('&myvariable','SYSTEM');
    But when I define a variable this does not work:
    define tablename=nvl('&tablename','test123')
    How can I setup a default value here?
    Peter

    Is there a way to define a default value DIRECTLY in SQLplus DEFINE command (and not later when the value is used in SQL statement)?no, there is not for DEFINE but you can use ACCEPT:
    SQL> accept tablename prompt 'Enter value for table Name:' default EMP
    Enter value for table Name:
    SQL> select column_name
      2  from cols
      3  where table_name='&tablename';
    OrderNumber=1234
    COLUMN_NAME
    EMPNO
    ENAME
    JOB
    MGR
    HIREDATE
    SAL
    COMM
    DEPTNO
    8 rows selected.Max
    [My Italian Oracle blog| http://oracleitalia.wordpress.com/2010/02/07/aggiornare-una-tabella-con-listruzione-merge/]

  • Set default value to selection screen for report

    Hi All,
       I've a report selection screen which has 3 fields from the report category: PNPPERNR, PNPSTAT1, PNPBTRTL. My logical database is PNPCE.
       How can I set the default value to the field PNPSTAT1? Means when I first display the selection screen, the value for this field will automatically display '3' in it.
       Hope someone can help me on this.
    Thanks.

    Hi All,
       Thanks for reply. But I think I should declare my question clearer.
       Actually it's not a parameter.
      My problem is when using the logical database, if you define a TABLES: PERNR, then you can see the SAP standard report selection screen. So my selection screen has 3 standard fields which are PNPPERNR, PNPSTAT1, and PNPBTRTL.
       I need to set the default value '3' to field PNPSTAT1.
    Thanks.

  • How to populate default values in standard transactions

    Hi abapers,
                    what r the different ways to populate fields with default values while entering into standard transactions
    thanks in advance.

    Hi,
    You can either create trasaction variants with Default values and then create transaction suing these Variant transaction and use this transaction instead of irignal transaction.
    SHDS-> to create Variant transaction
    SE93-> to create transaction of this Variant Transaction.
    or you can also use SAP memory statements like GET and SET PARAMETERS to set one value in one internal session and get that in another session in an External session.
    Regards,
    Sesh

  • How to set default values in initialization event for select option

    Abapers,
    I have 3 GL account like 0024831231,0024831238,0024831245.
    Please help me how to set default values in select-options ( s_hkont ) in INTIALIZATION event
    Thanks

    Select option is table <Structure> with fields, low, high, sign & option
    you need to append the value into the select option, with appropriate value in low or
    example:
    S_HKONT-low  = <value>
    S_HKONT-SIGN = 'I'
    S_hkont-OPTION = 'EQ'
    append s_hkont.
    Default value for select-option also can be added directly in select-option statement.
    Regards,
    Mahesh

Maybe you are looking for