In ME51N need to make Purchase Org. as mandatory only for selected one

Dear guru's
While creation of Purchase requisitions (ME51N), I need to make Purchase Org. as mandatory only for selected one Purchase Org. out of say 10 Purchase Orgs.
Is there any userexit or workaround for this.
Thanks in advance,
With regards,
Harisha

Dear Harisha,
One way is to define a transaction variant with SHD0.
http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
In the SAP Reference IMG, you can create transaction variants. Choose Basis Components -> Application Personalization -> Tailoring of Application Transactions -> Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.
To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).
Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).
To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.
or
In IMG under
Materials Management -> Purchasing -> Purchase Requisition -> Data Screen Layout at Document Level.
Hope this will help.
Regards,
Naveen.

Similar Messages

  • Need to Make end customer field mandatory in sales order form.

    I need to make end customer field mandatory when sales channel entered as some value...
    for this i have used when validate record on order form
    when i enter a value in sales channel as desired value the form is getting saved automatically and the field is getting mandatory
    but my requirement is to make field mandatory and then to save the order.
    let me know the sequence how it works if any one knows.

    Sanni,
    >
    when i enter a value in sales channel as desired value the form is <b>getting saved automatically</b> and (then) the <b>field is getting mandatory</b>
    but my requirement is to make field mandatory and then to save the order.
    >
    Which trigger are you using to do the "getting saved automatically'?
    Does this trigger fire before the trigger that is making the field mandatory?
    Regards,
    PS: Is this an Oracle EBS query? If yes, this is the wrong forum
    Edited by: Prabodh on Jun 14, 2012 4:48 PM

  • How to make a DFF segment mandatory only in one page?

    Hi All,
    We have added a DFF in 2-3 pages. One of the segments in that DFF should be made mandatory only for one particular page. Is there any way to make it mandatory via personalization?
    I can't make it mandatory in DFF settings as it will make the field mandatory in all pages where the DFF is used.
    I m aware that I can extend the controller and check wehther the value has been entered or not. But does anyone have idea whether this can be achieved without any customization?
    Regards,
    Pradeep

    We can achieve this requirement using Java script but this script is fired for every event in the page. You need to carefully choose the event(i.e. when the script should be fired).
    Sample code:
    1. create a rawText item
    2. .in text property of the rawtext item use below sample code
    <SCRIPT>if (document.getElementById("DFFFlex0").value != null) {alert('This field is required');} </SCRIPT>
    // here DFFFlex0 is the ID of the specific DFF segment-Anand

  • Need to give REVOKE CLOSE option in CO02 only for selective users

    Hello,
    Need to Restrict Revoke Close Option in Tcode CO02 (Under Functions - Restrict Processing - Revoke Close) through Role/Object Level.  Can any one suggest how to control this .    Need to give access for CO02 for 5 Users , but only 2 Users can able to do Revoke Close Option , other 3 Users should not able to do this activity.
    BR,
    Murali

    There is no authorization object as B_USERSTAT_T , but there is a authorization object as B_USERSTAT . I tried to create a Temporary Role and manually assigned this Object .  In this object there is no way to control REVOKE Close option . 
    But there is one way noted in Google to restrict Revoke Close option .
    1.Goto BS22
    2.Select the system status TEC0 (I0045) & just duble click it,
    3.Maintain the Revoke technical completion (BUTA) =Forbidd (not allowed),
    But if i set the above Parameter ,  this will restrict Revoke Option for all the users .  I need to control ONLY for selective users .  I can set some value in user data for those users  , based on that i can write some coding to restrict , but i want to know where to write this code ....  I tried in some area , but it never works.
    Can any one give some idea to fix this issue.
    BR,
    Murali

  • How to Make Purchase Order TEXTS Mandatory

    Hi.........
                 I want to make some Purchase Order texts mandatory(for ex Header text) so that i should appear in PO Print and user should not be able to proceed unless he make an entry.
                                            Please help me out......
    Thanks

    Hi,
    In spro>mm>pur>po>define screen layout select filed selection AKTH Create for ref.data item make it
    required entry
    BR
    Diwakar

  • Need to make an app URL as default for a domain

    I am having:
    Glassfish + ApexListener
    I need to make it so that requests for a domain are transfered to a spesific apex application:
    hellowrld.com - > hellowrld.com/apex/f?p=105:7
    I Searched all around the internet I cant find a solution. Maximum I found was:
    1) Edit portal-ext.properties file and set company.default.home.url option
    But as I am a glassfish noob I cant find the location on that file (if you know please tell me there it is on windows platform)
    2) Change the default module for glassfish virtual server to apex . This allowed me to make a
    hellowrld.com - > hellowrld.com/apex/f?p=4550:1:.. transfer. Modification of the "Default Web Page" Apex Listener parameter did no good if I changed the value to f?p=105:7 or apex/f?p=105:7
    Please help me find a solution and make a redirect
    hellowrld.com - > hellowrld.com/apex/f?p=105:7
    Maybe there is some kind of glassfish module that I can install that would corectly change the Default Web Page to hellowrld.com/apex/f?p=105:7?

    Thanks Udo.
    I made a quik, ugly and noob-like solution for the time beeng (if enyone needs a quick solution to the above problem):
    I went to glassfish/docroot/index.html file and added a <meta http-equiv="Refresh" content="0;url=/apex/f?p=105:7"> tag:
    <!--Arbortext, Inc., 1988-2008, v.4002-->
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html lang="en">
    <!--
    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    Copyright (c) 2009, 2010 Oracle and/or its affiliates. All rights reserved.
    Use is subject to License Terms
    -->
    <head>
    <meta http-equiv="Refresh" content="0;url=/apex/f?p=105:7">
    <title>BONDS</title>
    </head>
    <body bgcolor="#ffffff" text="#000000" link="#594fbf" vlink="#1005fb" alink="#333366"><br> <table width="100%" border="0" cellspacing="0" cellpadding="3">
    BONDS PORTAL</body></html>
    I will repeat that this an ugly temporary solution witch will be replaced by one of the ones that Udo spesified.

  • Need to make automatic startup  and shut down for the instance

    hi to all
    i have os : Red Hat lunix as 3 , woth oracle DB 10g 10.0.1
    need to make an automatic startup and shut down for the instance when i start and shutdown the OS
    i tried Use dbstart and dbshut scripts then created file dbora at dbora as a script
    then i did
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    nothing worked
    if you will attach me any files
    my mail is :
    [email protected]
    thanks much
    Ahmed

    Hi,
    The /etc/oratab should have an entry for this database with 'Y' in the last field as:
    Oracle_sid: Oracle_Home:Y, so when dbstart command issued it will check the oratab and starts the database.
    I advise you to keep the dbstart and dbshut in different scripts and save them directly in the runlevel directories, instead of creating links.
    thanks
    srinivas.

  • Need to make a dff field read only if it has data

    Hi,
    we added dffs to the manage sites page, i am extending the controller to do some validations of this DFF page. I need to make dff read only if it has some data. The following code is not working.
    public void processRequest(OAPageContext pageContext,OAWebBean webBean)
    super.processRequest(pageContext,webBean);
    OAApplicationModule xam = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObjectImpl DffVO = (OAViewObjectImpl)xam.findViewObject("SitesFlexVO");
    OAViewRowImpl DffRow = (OAViewRowImpl)DffVO.getCurrentRow();
    if(DffRow.getAttribute("Attribute1")!= null)
    OADescriptiveFlexBean dffBean = (OADescriptiveFlexBean)webBean.findChildRecursive("Attribute1");
    dffBean.setReadOnly(true);
    can you please suggest whats wrong and give me a correct solution.
    Thanks,
    Kiran M.

    Thanks for the reply nani,
    it didnot work, i am getting the following exception.
    ## Detail 0 ##
    java.lang.NullPointerException
         at xxtjx.oracle.apps.pos.supplier.webui.XXTJXByrMngSiteDFFCO50.processRequest(XXTJXByrMngSiteDFFCO50.java:43)
    The error line 43 in my code is
    dffBean.setReadOnly(true);
    so i feel there is something wrong with this command. I kept this validation in process request and i am able to fetch attribute values in process request. so i feel there is no issue fetching the attribute value. i feel its the issue with the set command.
    Let me know if you have any other solution.
    Thanks,
    Kiran M.

  • Need to make Batch Number (CHARG) display only on MSC1N

    Hi, we have a requirement to make batch number field (DFBATCH-CHARG) display only based on user authorization. I have tried implemented BADI BATCH_MASTER and tried to change the screen field property in method SINGLE_FIELD_CONTROL but batch number (CHARG) is not part of the loop for this method.
    Does anybody know BADI or Screen exit for MSC1N that can make the batch number display only?
    Thanks,

    Hi
    Although it's for older releases, see Note 562690 - BAdI BATCH_MASTER: Field selection control, perhaps it helps you
    Regards
    Eduardo
    PD: Other thing, see that it refers to T148F and T148G. Try to add the field CHARG in customizing menu. Ask your MM consultant about implications.
    Edited by: E_Hinojosa on Jul 13, 2011 9:48 AM

  • Need to make a simple dvd from Habitat for Humanity video

    Hi,
    I work for a local habitat for humanity affilate.
    We are having our local fundraiser and I want to use 2 parts off the Habitat for Humanity's international video that they sent us...While I can just use their video I thought it would be nicer if I just had the 2 clips I needed on a separate dvd.
    How do I go about this??
    Thanks, Laura

    Laura Drew1 wrote:
    The source is a dvd.
    I need to take parts of the dvd off-and put them on a fresh dvd.
    I may need a slideshow in the middle somewhere.
    For instance the finished dvd will have 3 chapters, one video, one slideshow
    then one more video.
    so, step 1 is to convert the DVD content into something editable..
    depending on your version of iMovie, you have diff. options.
    esp. for converting just parts, Mpeg Streamclip plus the mp2 playback component (apple.com/quicktime, 20$) is the most recommended tool
    chapters usually mean 'bookmarks' in a movie..
    I would create 3 buttons in iDVD, to jump to each part indiviually ..
    allthough, you can produce a solid movie, with converted part1, slides, part2..
    all that is editing.. iDVD, as said is for encoding disks from movies ..

  • Make material as a mandatory field for a particular document type in PR

    Hi,
        Currently we are in SAP 4.6c version. There is a business requirement for making material as a mandatory field for a particular document type of purchase requisition as they don't want the user to raise non material purchase requisition using that document type. The field for material is currently not available in the configuration for Define Screen Layout at Document Level for purchase requisition.
    So could you kindly let me know the possible options to prevent user from raising a non material purchase requisition using that document type. If not could you kindly suggest me the user exits available at the time of saving purchase requisition which i could use so that we can write a code to check if the material number is entered or not. If not entered prevent the user from saving the purchase requisitions.
    Also it would be helpful if you could let me know how the fields for enjoy transaction (like material,document type) can be made available for selection in the configuration for Defile Screen Layout at Document Level for purchase requisition.
    All you help in the solving the above problem is highly appreciated.
    Thanks & Regards
    Ram

    Hi,
    Check below method works out for you, if you do not want to proceed with any ABAP development.
    Have a custom field selection key with Material Description field as "Mandatory" and "Display" in Basic Data, Item selection group.
    Assign this to your PR document type which need material as mandatory. With this you are making user to enter material indirectly as mandatory & user will not have an option of entering text which avoids indirect / service procurement.
    "Material Group" option won't help as User can have default settings with some value and it updates even in display mode of field.
    Regards,
    Ram
    Edited by: Ramprashanna S on Jan 11, 2012 11:51 PM

  • How to make a column as read only for update integrator.

    Hi All,
    i came across one issue while creating integrator.
    for update integrator i have column rowid.rowid is a parameter. by using this(rowid) i'am updating.i want to make rowid column as read only .
    if i enable read only for rowid,then it is passing null as parameter and inserting new row instead of updating the row.
    If any one came across this problem you can help me in fixing this issue.

    Hi Sanket,
    Thanks for reply.
    i have created a dummy column and passed the value of the orginal column values to dummy cloumn. and hided the orginal column.
    in this process i have come across same issue. it is not passing the value as parameter and instead of updating the row it is inserting an new row.
    Any alternate for this scenario.
    Thanks in advance.

  • How to make the OAF page Read-Only for one Responsibility?

    I have a requirement to make the entire OAF page to Read-only for particular Responsibility.
    Is there any direct option to make page Read-only ?
    Can anyone suggest some solution?

    Hi,
    Check one article on
    http://www.applikast.net/technical/oa-fwk/misc/making-an-oa-framework-page-readonly
    or you can do Personalization for each item on page.
    Thanks,
    Abhi

  • Unable to purchase Grand Theft Auto 5 for Xbox One - Error in listing

    I was planning on purchasing GTA5 for Xbox One tonight before the "buy 2 get 1 free" promotion expires. 
    However, the Xbox One listing for GTA5 is messed up! It shows a picture of the Xbox One copy of the game, 
    yet the title reads "Grand Theft Auto 5 - PlayStation 4"
    Shipping is not available for the item, and it's not in stock at my local Best Buy (hard to believe).
    Bummer!

    BrettQ,
    Thank you for the link to that thread.  There indeed is a solution per that thread - https://discussions.apple.com/thread/3681763?start=330&tstart=0
    Again - many thanks for your reply.  My search queries didn't lead me to that thread.
    El

  • Will I need to take my mac in with me for each one to one session i sign up for or can I count on being able to use the machines in the store ?

    I hate the thought of having to do a complete disconnect each time I go for a one to one or group tutorial. My assumption is that other than an issue with my specific content the basic teaching can be on any of the apple products utilizing the software that came on my machine.
    Is this a fair assumption and do I need to contact the store about this before I show up for a session?

    Hi Brad,
    I'd call the store to see, but reading between the lines here, I think it must require your Mac present...
    https://www.apple.com/retail/learn/one-to-one/terms.html
    Seems here too, that you must bring your Mac...
    http://forums.macrumors.com/showthread.php?t=755849

Maybe you are looking for