Greying out MEPO1211-NETPR in purchase order?

Hi
I need to grey out out MEPO1211-NETPR in purchase order when the status is released 'S'?
I have used BADI  - ME_ACTV_CANCEL_PO - method check activity
field-symbols:<fs> type any table,
              <ls> type any,
              <lr_screen> type screen.
assign ('(SAPLMEGUI)TC_1211-COLS') to <fs>.
if sy-subrc is initial.
  loop at <fs> assigning <ls>.
    clear lv_inx.
     assign component 'SCREEN' of structure <ls> to <lr_screen>.
if <lr_screen>-name = 'MEPO1211-NETPR'.
        <lr_screen>-input = 0.
     endif.
endif.
endif.
BUT still the field is input enabled in the screen
Kindly suggest how to acheive desired.

Hi Arun -
Check the previous post - http://scn.sap.com/thread/3474357
check the function module - MEPOBADI_FS_ITEM is getting triggered or not. 
If yes, you can put an implicit enhancement at the end of this function module.
Create a implit enahcnement at the end of this function module MEPOBADI_FS_ITEM (just before    ENDFUNCTION). Let me know if you need help on implicit enhancemnt.
1. declare data
    DATA: ,    w_header TYPE mepoheader,
                    w_item   TYPE mepoitem ,
                       w_fieldselection  TYPE mmpur_fs.
   CONSTANTS: c_61       TYPE mmpur_metafield  VALUE '61', 
2 .   check header data
   IF im_header IS NOT INITIAL.
      CALL METHOD im_header->get_data
        RECEIVING
          re_data = w_header.
    ENDIF.
Here you can take the document type from w_header
3. . check if im_item is not inintial. then take the item data
     CALL METHOD im_item->get_data
        RECEIVING
          re_data = w_item.
Here you can check plant from w_item.
if your condition match.
4.    LOOP AT ch_fieldselection INTO  w_fieldselection
                                        WHERE metafield = c_61.
                    w_fieldselection-fieldstatus = '*' .
                MODIFY ch_fieldselection FROM  w_fieldselection.
                CLEAR w_fieldselection.
              ENDLOOP.

Similar Messages

  • HOT TO SET THE OUT PUT MESSAGE FOR PURCHASE ORDER

    As i was saving the Purchase order in Me21n the error message that came up was " NO OUTPUT MESSAGE SET FOR THE PO " HOW  DO I SET THE OUTPUT MESSAGE AND SET THE PO PRINT SETTING KINDLY HELP.

    Hi
    First of all Execute  program RSNAST0F in SA38 .
    Following are some steps for PO message printing
    Maintain Output of Purchase Order
    1. Condition Table
    SPRO &#61664; Material Management-> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    Ex:
    EF---> ZNEU
    Select “ZNEU” and double click on “Mail title and texts” and go to
    EN- New Purchase Order Print Out,
    Select “ZNEU” again and double click on “Processing routines,
    Select “ZNEU” again and double click on “Partner Roles
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    ZNEU -> ZNB
    Now you create PO(ME21N) and maintain the text and save it. Go to ME22N and print the PO by giving output type ZNEU).
    Vishal...

  • Can We determine the outer-batch no in Purchase order?

    There's a chemical company. It has a requirement. Managing batch is very important to chemical materials. When they create Purchase order, they hope that they can determine the special batch-no of materials which is from vendor for the purchasing material. Because different batches of material have different chemical character.
    How can we determin the outer-batch no when creating purchase order?

    you cannot determine external vendors batch numbers in your SAP system.
    Even you inspect samples of several baches from your vendor and maintain this as own batches in your system  you cannot determine the batch from the purchase order, there is no batch determination featere in a PO. And even there would be one, it would take your own batch number, and not the vendor batch number.
    If you use exteranl batch number assignment and your vendor batch number gets the same batch number in your system, then you can enter the batch in the batch number field manually (once it is created in your system), In any other case you have to mention the vendor batch in a text.

  • HT1933 cant find out email receipt of purchase order

    i cant receive email reply with purchased order code even thought my bank recorded patment

    Hey there myfahuynh,
    It sounds like you need to report a problem with a purchase but do not have the email reciept needed as HT1933 outlines. You can also find the item and the Report a Problem button in your Purchased history for your Apple ID:
    iTunes Store: See your purchase history and web order numbers
    http://support.apple.com/kb/ht2727
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Printer in Materials Management is printin out a lot of purchase order form

    Hi,
    When I try to print one PO the printer is printing many POs which is not needed is there any check that we need to do for the printer Thanks in Advance

    Are you getting same po print outs.If yes can you check inPO out put condition record comunication how many messages rae maintained .If you have more than zero entry then you will get print more copies.If it is more than zero then you can change through MN04 transaction.

  • Authorization to display Net Price (NETPR) in purchase orders

    Hi,
    Where is the authorzation configured to hide the net price in purchse orders? I think it's a configuration setting (the IMG, SPRO) but I don't know where.
    Thanks.

    hi,
    chek with your basis person. he shud be able to acord authorisations based on the steps in the pricing procedure. he can withdraw the authorisation of viewing from teh step where the value is calculated.
    saurabh

  • Print out of Purchase order.

    Hello all,
    We have release strategy for purchase order. Once the Po gets released, buyer takes out the print of purchase order. Head of dept & MD does manually signature on hard copy of purchase order.Now my clients wants that insted of doing manually signature on PO , will it possible to have scanned signature on PO.
    Thanks in advance.

    Thanks for ur prompt reply. But dear scanned signautre is allowed in India. I mean from legal point of view is it approved ?
    Shailesh

  • Print out of Change Purchase Order

    Dear All,
    Could u please tell me how can i get the Chnage to Purchase order Print?
    As far as my knowldge we have to go to ME22n & then message then select the output type but after doing all this i am unable to get the print out with Change to Purchase order written on PO.
    Please co-operate me

    Hi
    Pl goto -
    > OLME -
    > Messages -
    > Output Control -
    > Message Types -
    >Define message types for PO -
    > Fine Tune control for PO -
    >Pl. check For your Message type, you maintained Change Print Option Control( ie.2 )...other wise maintain
    I think your problem may be solved...
    Reward if useful
    Regards
    S.Baskaran

  • TS2529 Hi.  I'm trying to transfer purchases to update my iphone but the suggested options are either greyed out or don't exist.  How do I transfer purchases?

    Hi.  I'm trying to transfer purchases to update my iphone but the suggested options are either greyed out or don't exist.  How do I transfer purchases?

    Just to clarify -  When I follow the instructions to "transfer purchases from iphone to computer" prior to updating my iphone the options suggested are greyed out. The Transfer Purchases option under Devices in the File menu is greyed out. Can anyone explain why its greyed out and how I can make the option available?

  • Sales Order Header Conditions greyed out

    Hi All,
    For two Sales Organisations and for two Order types (QT and Order) few of the condtion types (Header Condtions) are automatically coming as empty values (0.00) and are greyed out while creating a sales order / Quotaion. Now if user wants to change these values, he has to re-enter the conditions again and give some value (Discount/Freight). Therefore, there are two same condtion types in the sales order / Quotation (one greyed out with empty value and other which user manually entered).
    Now my question is, why the system is taking the empty values and why the condtion type is getting greyed out? Can I debug it? if yes, where should i keep the break point or which user exit i need to check the logic (am sure it cannot be controlled by configurations).
    Awaiting ur replies.
    Thanking you in advance.
    Cheers,
    Anil.

    Hi Ram,
    Thanks for patiently replying to my questiosns.
    As these are Header condtions no access sequence is maintained. More over, when i try to create a condtion record for these condtion type, system throws me the error.
    Am sure it has nothing to do with our standard customizing and must have some logic behind it. But how and where to investigate it? at what part of program i need to debug? which user exit should i refer??

  • Greyed Out Tones and Music.  Tones won't Sync.

    After restoring my new iPhone 6 from backup of an old iPhone 5 via USB, I added my tones and music to my phone.  I have manually manage music checked off.  When I checked my phone, I noticed that not all of the songs were there.  I preceded to download a few new alert tones that day. 
    When I plugged my iPhone back into my computer and attempted to add the songs that weren't there, I noticed that a lot of the music that I had put on my phone was not showing as On My iPhone and that a bunch of greyed out songs with a grey circle icon next to them appeared as if the sync didn't finish.  I deleted the greyed out songs, added the songs that were missing and then synced.  The greyed out songs reappeared. 
    In order to get rid of the greyed out songs, I tried a bunch of the tricks I've seen on the forums.  I unchecked manually manage music and resynced.  I even restored from a backup.  The grey songs still appear.  Now, the tones that a recently downloaded appear greyed out as well.  When I try to manually transfer them to my phone, they won't sync.  Anything previously purchased before the backup is able to be deleted and re-added with no issues. 
    Any help would be greatly appreciated. 
    Using iPhone 6 with iOS 8, Windows 7 Ultimate SP1 x64 with iTunes 11.4. 

    I have the same problem now and had it in the past.  I had this on my 4s for more than a year. And hoped it would go away with a new phone.
    Yesterday i bought my iphone 6, restored from backup. Was able to add a few songs (about 50) without issue. Then this morning i began adding about 6 gbs of songs and though it said it finished copying them I ended up with greyed out entries. I also got an error "56" something saying "can't sync."  I've also had this problem accompanied by my iphone not being able to show the proper embedded art. and i mean the art actually part of the file not just in a folder. It simply wasn't reading the file. It was reading an incorrect directory of artwork that was associated with the wrong song for some reason. But i digress.
    I fundamentally think the problem is our backups are bad. I've read before that completely erasing the and reverting to factory settings fixes it. Personally, though painful i'm going to do that. I took a risk choosing not to do that yesterday. I think something is corrupt and all i've done, is copy bad settings to a new phone. Because, i haven't factory reset my phone since i first got the 4s.
    In the past i read tons of threads. I've read possible causes are unplugging during sync but i haven't done that as i've had this phone one day. I've tried full reinstall of all itunes, multiple versions of itunes from 10, 11, 12 etc. The problem remains. I've fully removed EVERY ounce of itunes even the hidden files and it didn't fix the problem and eventually the problem reoccurs. In fact even when i've gotten it to sync the greyed files the problem eventually occurs.
    Some things i've tried that have helped. 1, through itunes, delete some greyed songs. That once got it to wake up and it copied the grey songs. Again the problem did return. 2, delete all the music on the phone and copy it back. Always had the problem reoccur.
    The one thing i've never tried is a factory reset because i didn't want to lose ios 6 or some podcasts that were on my phone but were no longer available for download so i didnt' want to lose them. Later tonight i'm going factory reset my six, and delete ALL backups on my phone or in icloud (not exactly sure how i do this but i'm doing it lol). Then i'm going to start completely fresh.
    Oh FYI, I manually manage music. I don't sync anything. I drag and drop 100% of media, i don't let itunes manage folders either. i'm on windows 7 ultimate sp1 32bit on a PC. Oh and i've had this issue on multiple windows 7 machines, and multiple versions of itunes. On ios 6 and ios 7.

  • No change of Quantity in ATP report for Return Purchase order

    Hi,
    There is an issue with ATP report. We have a customised report for ATP, the quanity is not changed in the ATP report for the return Purchase Order.
    Will there be ATP carried out for the return purchaser orders.
    Regards,
    Jagadish

    hi,
    this is to inform you that,
    i think when goods are going from the company at that point of time ATP check it will do then when goods coming in to the company in form of returns at that point of time you dont need ATP check.
    any how sit with ABAPER and debugg the program because if you are getting any values into Retuns ATP field.
    that might be the issue with your requriment.
    regards,
    balajia

  • Greyed out options on itunes "devices"

    I have an ipod classic 5th or 6th gen and when i go to File\devices within itunes everything is greyed out apart from "transfer purchase from my ipod".
    I have tried contacting Apple support who gave me a couple of options one of which was to buy help from them or they would send a link to me. I opted for the link which was absolutely useless and like looking for a needle in a hay stack.
    This is the link that apple sent id this one  iPod Troubleshooting Assistant
    Can any one help?

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with             
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    iPod not recognised by windows iTunes
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

  • Purchase order Picks Wrong GL

    Hi Expert,
    Can you guide us, There some 5 purchase order ,out of that  3 purchase order picking wroght GL account but 2 purchase order picking Wrong GL account.
    Where as we have same material for every purchase order including the Valuation class
    So please guide us, why Purchase order picking wrong purchase order. and how can we correct the GL account in purchase order.
    Regards
    Santosh Kumar

    Hi Expert,
    Can you guide us, There some 5 purchase order ,out of that 3 purchase order picking wroght GL account but 2 purchase order picking Wrong GL account.
    Where as we have same material for every purchase order including the Valuation class
    So please guide us, why Purchase order picking wrong purchase order. and how can we correct the GL account in purchase order.
    Regards
    Santosh Kumar
    Santosh,
    Make your question 1st. You have been telling PURCHASE ORDERS and nothing else. Pls know what you want.
    Suraj

  • Approved checkbox on Purchase Order greyed out

    Hi Experts,
    What would cause the Approved checkbox on the logistics tab of a Purchase Order to be 'greyed out'?
    My customer has a few users who cannot update this field.  I have tried to replicate the issue locally on my database using various scenarios but cannot replicate the issue.
    What might be causing this? 
    Thanks
    Greig

    Hai!
    Please verify this..
    1.Open Admin->Sys init-> Documen settings
    2. select Per Document tab.
    3. select Purcahse order from the list of docs.
    4. check the Purcahse Order Approved
    5. The Problem for gray out is user Authorization.
    6. If, the first 4 steps done there will not need for Authorization to enable the field.
    7. If, u want to enable the field, give authorization to sales A/R -> Document Confirmation.
    This can be done only if u r not using approval procedure for PO.If, u use then PO will save as unproved only and check box will gray out.
    Regards,
    Thanga Raj.K
    Edited by: Thanga Raj K on May 21, 2009 11:43 AM

Maybe you are looking for

  • Getting 6.9gb DVDSP proj, 2hr Video, to fit 4.7gb disk without Compressor

    I have no menus in this DVD at all. Track is first play, with loop. Yes, my audio is aif, but it cant add up to >2gb difference for AC3? QT DVNTSC movie is 25GB to start. Compressor, not loading for some reason. Can I make it fit, just using DVDSP 3?

  • PL/SQL package RMAN1.DBMS_RCVCAT version 10.02.00.04 in RCVCAT database

    Hi, catalog database version: 10.2.0.4 target/auxiliary database :10.2.0.5 when i connect to catalog by rman recieving below error, PL/SQL package RMAN1.DBMS_RCVCAT version 10.02.00.04 in RCVCAT database is not current. PL/SQL package RMAN1.DBMS_RCVM

  • CP 4 not opening new tab in browser

    Without actually seeing it myself, here is a problem my client has described.  5 or 6 modules are on a website (SiteBuilder) with links. When a user clicks on a module link, the module opens and runs fine. But when the user closers the module, they a

  • How to connect letters?

    Hi I am a noob here but I've got to start somewhere, so here I am. Anyway In Illustrator cs5 how would I take a word like Soup7 and connect the top of the letter S with a line. I have tried the pen tool and i made a box but i had no success because t

  • Help ipods frozen

    i was trying to upload some songs from itunes onto my ipod. on the ipod screen it came up with the do not disconnect image but nothing happened in itunes. stupidly i disconnected the ipod and now it is frozen...any advice???