Purchase order Field LIke Material , Non editable by using Trax code Me22n

Guru
How to make Purchase order Field LIke Material , Non editable by using Trax code Me22n
Thanks

Hi
Check this in SPRO- SAP IMG- Material Management - Purchasing- Purchase order- Define screen lay out at document level
In this select the particular field selection key and change the material field to display.
Hope it will do
Regards,
Raman

Similar Messages

  • Last Purchase order of a material

    Hi All,
    I have a requirement to retrieve the last/latest purchase order for a given material/plant combination. Currently I am using the following logic. Here is the pseudo code I am using.
    Select EKPO records where MATNR = given material
                                                  WERKS = given material
                                                  BSTYP  = 'F'
                                                  LOEKZ  = space.
    select EKKO records where EKKO-EBELN = EKPO-EBELN.( for all EKPO records of unique EBELN)
    sort EKKO record by AEDAT DESCENDING.
    read table EKKO index 1.   "This is the record I need.
    This logic seems to be not good. As I am reading all the purchase orders of the material for entire period which will cause more database hit and memory issue. Say if we have maintained the system for 5 years and I am reading EKPO table for a material there will be more purchase orders for this material.
    Can you please suggest if there is a better logic to handle this?
    Regards,
    Srinivas.

    My approach will be to first speak with functional consultant to find what will be the most probable period in which you will find last PO for given material/plant.
    For example you might get an answer that you will find last PO of given/material within last week (or last month) for most of the combination.
    Once you get the period in which you will find the data, you can then construct logic as below
    date : r_date type range of ekko-aedat .
    fill range with last period (last week for example)
    DO .
    select field
      from ekko inner join ekpo on ekko~ebeln = ekpo~ebeln
    where ekko~BSTYP = 'F'
         and ekko~LOEKZ = space.
         and ekko~aedat in r_date
       and ekpo~werk = given plant
       and ekpo~matnr = given material
    if sy-subrc = 0 .
    * you got your record , sort and pick the right one
    * break the loop.
    else.
    **Check for exceptions
    * fill r_date with last to last period and so on...
    endif.
    ENDDO.
    Now about the exceptions, there might be some NOT SO ACTIVE material/plant for which last PO was create 3 years back (for argument sake). Again here you have to ask you functional consultant if he/she really want to see that old record or NOT SO ACTIVE material. If his/her answer is yes then he/she have to live with long execution time. Otherwise logic will be not to look beyond the time limit given by you functional consultant. For example, if you do not find PO in last 1 year then stop looking.
    Edited by: Pawan Kesari on Dec 11, 2009 10:35 PM
    Edited by: Pawan Kesari on Dec 11, 2009 10:37 PM

  • FIELD BSEG - ZUONR NON EDITABLE IN FB02

    Hi guys,
    I went to "Document Change Rules, Line Item" in SPRO inserting BSEG-ZUONR as Field Name and put a tick on "Field can be Changed".
    Unfortunatly nothing happened in FB02 and the field is still non-editable.
    Could you suggest me a solution?
    Thanks a lot

    HI,
    As mentioned in note 827413 there is a golden rule regarding the changeability of fields in FI documents:
    When the field is used in Special Ledger field movement then it    is not possible to change this field in FI using transaction FB02.
    The reason is that Special Ledger is only updated when the document is created. For other components like profit center accounting or special ledger a subsequent change in an FI document is only local. Special Ledger does not get the information about the change. Thus, in order to avoid inconsistencies between SL and FI those fields are not changeable.
    Please check the follwong field movements for Special Ledger which contain the field ZUONR in the field movement (tr. GCL3).
    Regards
    Ravinagh Boni

  • 221 movement type with Purchase Order Field mandatory in MIGO

    Hi,
    When i enter , 221/261 movement type in SAP in MIGO screen .
    What is the way to make purchase order field should displayed  ? in SAP
    Regards,
    Rajendra D. Sawant

    can you please explain the business need of getting a Purchase order number for while issuing the material with 221 /261
    i have also checked in OMJJ eventhough the field EBELN is available in field catalouge but by adding it in OMJJ in 221 the screen does not appear there & probably the reason is that SAP does not support the need of that field there
    IF at all you want to get a PO field in Screen then first copy 221 to create a new movement type and then look for some screen exit and enhance the table of MSEG/MKPF with a custom field by appending a structre.
    Edited by: Sap: IN on Oct 17, 2011 11:45 AM

  • F-40 Add Purchase Order Field

    Dear All,
    I awant to add purchase order field in T-Code F-40. Following is Scenario.
    Transaction to be processed : Outgoing Payment
    PstKy : 29 (Special G/L Debit)
    Account : (vendor Account)
    SGL IND : J
    uner more data also it is not showing. I have also used T-Code OB41 but still it is not showing PO field in first screen.
    Dinesh

    Hi,
    Following are the steps i have gone through.
    1. T-Code OBXT to search G/L Account, then i gone through the combination AcctypeSGL Ind (KJ). Then Chart of Accounts. Then i Listed all G/L which are in used.
    2. T-Code FS00, Field Status Group.
    3. T-code : OBC4, Then Field Status Group(which is in use of G/L Account) and marked purchase order field as required field under (material management/purchase order)
    Still it is not showing purchase order field in first screen of F-40.
    Dinesh

  • Disabling selected Purchase Order field(s) after released/approved

    Hi Experts,
    I have a requirement to disable specific Purchase Order fields after released via ME29N.
    For example, in Purchase Requisition - I can "Release Indicator - Field Selection Key" to control Purchase Requisition screen layout. However, for Purchase Order - the configuration for "Release Indicator" consist only standard default "Chgable" options.
    Question:
    Is there a way to customize the Purchase Order "Release Indicator" for screen layout based on customer requirements other that using the default as mentioned above?
    Thank you.
    Steven

    Hi Padmasri,
    I understand your explanation on the standard SAP behavior.
    Nevertheless, I'm looking for some flexibility to meet customer requirement. Like in Purchase Requisition, there is option to further customize the screen layout by linking it to the "Release Indicator".
    Therefore, apart from the standard 6 options given by standard SAP, can we add/customize the options? For example, my customer may one to change a field in the Purchase Order even after released.
    Thank you.
    Steven

  • Find purchase order of a material batch added in a delivery for a report re

    Hi,
    I create purchase orders in ME21N and do the inbound delivery in VL31N referring the purchase order. Sales order entry is done in VA01 and once goods is in-house allocation is done in J3AB. Outbound delivery is created in VL01N.
    For a report requirement I need to find the purchase order of the outbound delivery material batches.
    We donu2019t maintain the purchase order number any ware in the material batch. Please advice me on how to find the purchase order of a material batch added in a delivery.
    Thanks,
    Sam

    use Mb51, enter material number and batch number and movement type 101, then execute.
    You get the receipt, go into the detail and you will see the PO number
    Technically spoken, material movements are stored in MKPF and MSEG table
    Edited by: Jürgen L. on Apr 26, 2011 8:24 PM

  • ME21n - Purchase order field exit??

    Hi
    Does anybody know what the ME21n (enter purchase order) field exit would be so that I can default a particular G/L account (HKONT) when the account assignment group is 'F' & the purchasing org is a particular value?
    If you can also confirm if that is going to be possible with coding in that field exit I would appreciate it....
    Thanks all for your time...

    Screen Exit
    Please remove the TDS-related input fields on the PO entry screen on the customer data tab  (PO line details).
    - TDS account
    - TDS cost code
    - TDS sub code
    1.     Goto Transaction Code Me21n
    Fill the following fields
    Enter
    Give the input values in following fields from  ORGDATA TAB
    Purchasing org
    Purchasing group
    Company code
    Vendor
    Enter
    Select Customer Data tab like following
    USER EXIT  : MM06E005 (Customer fields in purchasing document )
      Goto  : T.Code : SMOD
         Give the Enhacement Name : MM06E005
         Click on Display
         Click on Components Push Button
         Double click on function module EXIT_SAPMM06E_016( Export Data to Customer Subscreen for Purchasing document item)
         Double click on Include ZXM06O01.
         Insert the following coding in that include
    SET PARAMETER ID 'BUK' FIELD g_ekko-bukrs.
      LOOP AT SCREEN.
        IF screen-name = 'EKPO_CI-ISMSUBTITLE1'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    *>>>>>>>>>>>>>>>>>>>>>> Begin of insert CR336/BG1 >>>>>>>>>>>>>>>>>>>>>>
        IF screen-name = 'G_EAN11'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    *<<<<<<<<<<<<<<<<<<<<<<< End of insert CR336/BG1 <<<<<<<<<<<<<<<<<<<<<<<
    *>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
    IF screen-name = 'EKPO_CI-TDSACCOUNT'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    IF screen-name = 'EKPO_CI-TDSCOST'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    IF screen-name = 'EKPO_CI-TDSSUB'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    *>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
    *>>>>>>>>>>>>>>>>>>>>>> Begin of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
        IF ( screen-name = 'EKPO_CI-TDSACCOUNT'
          OR screen-name = 'EKPO_CI-TDSCOST'
          OR screen-name = 'EKPO_CI-TDSSUB'
          OR screen-name = 'TDS_TXT_1'
          OR screen-name = 'TDS_TXT_2'
          OR screen-name = 'TDS_TXT_3'
          OR screen-name = 'TDSACCOUNT-DESC'
          OR screen-name = 'TDSCOST-DESC'
          OR screen-name = 'TDSSUB-DESC'  ).
          IF g_ekko-bukrs(2) <> 'U6'.       "not a theatrical company
            screen-invisible = '1'.
            screen-input     = '0'.
          ELSEIF g_flag = 0.                "display only
            screen-invisible = '0'.
            screen-input     = '0'.
          ELSEIF g_flag = 1.                "change
            screen-invisible = '0'.
    *>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
           screen-input     = '1'.       "Fharook Syed
            screen-input     = '0'.        "Fharook Syed
    *>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
          ENDIF.
          IF screen-name = 'EKPO_CI-TDSACCOUNT'.
            screen-required  = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
    *>>>>>>>>>>>>>>>>>>>>>> End of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
    &#61664; save & activate.
    &#61664; Repeat the above process in ME21N to see customer data fileds in CUSTOMER DATA tab
    After the above Modifications CUSTOMER DATA is   displaying like this
    rewars if useful

  • Excise Invoice Number through Purchase Order no. or Material Document no.

    Hi,
    Is there any report through which I can find Excise Invoice Number (J1IEX) with the help of either Purchase Order no. or Material Document no.?
    Can anyone provide some idea in this regard?
    Thanks in advance

    Using transaction code J1I7,You canfind excise invoice no in report,with purchase order no. or Material document no. as inputs.

  • Purchase order field in Cash Journal

    Hi,
    We want to post expenses with reference to Purchase order in Cash Journal. Purchase order field is not available in the Cash Journal. How to update the purchase order field in Cash Journal.
    Regards,
    Azeem

    Hi,
    In Cash journal, there are fields which are standard from the program SAPMFCJ0 and Control FTCJ_E_POSTINGS.
    So you can see in FBCJ, while you post transaction line at the extreme right, you can see "configuration" there you can see the available fields. If you want to include, contact ABAP consultant or SAP team.
    Regards,
    Ramesh.

  • View "Purchase Order Text" in Material Master

    Hi,
    I need replicated text of  view "Purchase Order Text" in ECC to Material Master in SRM.
    Or When We create a shopping cart in the way in which the text replicated "Purchase Order Text" from the the Material Master(ECC).
    Regards
    Angie

    For Purchase Order text in Material Master:
      use this code for Purchase Order text,
    DATA:  l_lsize(3)  TYPE n VALUE '132'.
      DATA:   lwa_tline     TYPE tline,
                lwa_thead     TYPE thead,
                lwa_valid     TYPE ty_input(flat file data),
                lwa_temp      TYPE ty_input.
      DATA: lit_tline TYPE STANDARD TABLE OF tline.
      lwa_thead-tdobject   = 'MATERIAL'.
      lwa_thead-tdid       = 'BEST'.
      lwa_thead-tdspras    = 'E'.
      lwa_thead-tdlinesize = l_lsize.
      LOOP AT pu_it_valid INTO lwa_valid.
        lwa_temp = lwa_valid.
        AT NEW matnr.
          CLEAR: lwa_thead-tdname,
                 lwa_tline-tdformat.
          lwa_thead-tdname     = lwa_temp-matnr.
        ENDAT.
        IF lwa_tline-tdformat IS INITIAL.
          lwa_tline-tdformat = ' \ '.
        ELSE.
          lwa_tline-tdformat = '='.
        ENDIF.
        CLEAR lwa_tline-tdline.
        lwa_tline-tdline = lwa_valid-text_line.
        APPEND lwa_tline TO lit_tline.
        AT END OF matnr.
          CALL FUNCTION 'SAVE_TEXT'
            EXPORTING
              client          = sy-mandt
              header          = lwa_thead
              insert          = c_x
              savemode_direct = c_x
            TABLES
              lines           = lit_tline
            EXCEPTIONS
              id              = 1
              language        = 2
              name            = 3
              object          = 4
              OTHERS          = 5.
          IF sy-subrc = 0.
            REFRESH lit_tline.
          ENDIF.
        ENDAT.
        CLEAR: lwa_temp,
               lwa_valid.
      ENDLOOP.

  • The note field is in non-editable mode in appraisal document

    Hi all,
    In appraisal document,
    the reviewer can give his comment in the status u201CIn Processu201D and in the Sub Status u201CAnnual Review by Addl Managers/Reviewersu201D in an appraisal document. It is editable when I am trying via web but when I try to upload the comment from backend GUI  ( using phap_admin) the note field is in non-editable mode. My client requires it in editable mode at the back end.
    Can any one help me on thisu2026

    Hello Girish,
    Can you please check the appraisal  template, Proper access has been given to use the note column. If still faces problem can look for the BADI  HRHAP00_COL_ACCESS.
    You can look for the following notes also :
    1554467   column access does not work
    Best Regards,
    Deepak..

  • VKM1 Status and Purchase Order Fields

    Hi Everyone,
    I'm new with SD and not familiar with transaction VKM1. I have a task that needs to get the corresponding Status field and Purchase Order field for a corresponding VBELN. To what table can I map these data?
    Please help.
    Many Thanks!

    Hi
    Kindly use the belwo  tables and fields
    VBAK--BSTKD --POurchase order
    VBUP-GBSTAOverall processing status of the SD document item
    Regards
    Damu

  • Purchase order field optional for Movement type

    Hi SAP friends ,
    Please let me know the config path to make the purchase order field as optional for particular mvt types that are used in MIGO transaction to receive the overage stock or reversal of overage stock
    Regards,
    JR.

    Hi John,
    If your posting a 101 movement against a purchase order then there is probably no way of making the PO optional, as this is a designed process
    I guess I need to understand the process in more detail
    In the Interim please look at the following customising settings
    Materials management > Inventory management > Inventory management and PI > Field selection for for goods movement
    Materials management > Inventory management > Inventory management and PI > settings for enjoy transactions > fields for goods movements
    Regards
    Steve

  • Purchase order field change

    How can i change this length to be appear again

    Hello Mohamed,
    The length is adopted from data element definition in the system for that purchase order field.
    Please ensure you have authorization to change the standard layout of your PO screen. Also check the structure MEPO1211 and the field length of your required fields.
    Regards,
    Amit

Maybe you are looking for

  • Accounting for discounts given at the order entry level

    Hi, I'm Anil Wadhwa and I'm working for Amtrex Hitachi Appliances Ltd., Ahmedabad, India. we have implemented Oracle applications 11i and I'm part of the Order to Cash cycle specifically handling the OM Module. Initially I had the problem of using th

  • Exporting HD footage

    As some of you may know from a previous post, I am currently working on my Senior Capstone film project. My classes have all been FCP based, and I was really getting into risky waters by using Adobe Premiere Pro CS5 for my edit - due to potential com

  • Satellite A505D Randomly Shuts off...help please

    hi, i recently baught a Toshiba satellite A505D....recently it has started shutting off randomly...the screen will go black and briefly display a blue screen that says that it is shutting off to protect something in the computer...does anyone know wh

  • BDC - avoiding default values in screens

    Hi all, I am writing a BDC for transaction me31k. There are nearly 14 fields in the first screen. I am passing values to only 5 of them in my BDC program. The problem I am facing is that the remaining fields get some default values which I am not pas

  • Running Tomcat server in Debug mode?

    Hi.. I am using Eclipse IDE to develop a Portal project.. I am also using Tomcat server for the same without using the default servers provided by eclipse.. My question is how do I run the Tomcat server in the "debug" mode? Please help me..