Subinventory to be made enterable

Hi,
I have made the PO distribution form --> column (subinventory) mandatory using forms personalization but while entering the purchase order i want the user to select the subinventory so that the PO charge account get defaulted correclty but
1. After making the subinventory column i am able to save the record without entering any value
2. Trying to write a condition in forms perosonalization form but not working
in PO LINES BLOCK WITH WHEN VALIDATE RECORD
if :PO_DISTRIBUTIONS.DESTINATION_SUBINVENTORY is null then
PO_DISTRIBUTIONS.DESTINATION_SUBINVENTORY := 'TEST'
end if;
can someone help me ?
Regards
846691

Hi,
First check your PO document type which you want to make PR number field as mandatory in ME21N.
Then Goto -> SPRO- Material Management - Purchase order- define document type for Purchase order - E.g NB- check the field selection assignment ( NBF)
Next,
Goto - Define screen layout at document level ( t.code OMF4) SELECTION GROUP Reference data, item and under Field selection key as NBF.
Field name - Purchase Requisition as Required entry with flagged check box.
Now in purchase order for the choose document type NB=PO the PR field as required entries.
System will allow to create PO only with reference to PR.
Thanks
Thiru

Similar Messages

  • Update deleted my tabs, made Close Tab buttons vanish and made entering an address into a tab not work

    Had some problems with Firefox being ridiculously slow yesterday, so I updated in the hope of speeding it up. Big mistake. Firstly, the 54 tabs I use for work were all replaced with Fast Dial screens. Assuming the add-on had gone rogue, I removed it, but am still having more problems.
    All my tabs have gone mad. For one thing, any time I open a new tab, enter an address into the address bar and press Enter, or select an address from the Autocomplete menu, it does nothing. Only if I click a link that opens in a new tab can I open a new tab and get it to navigate to an actual address, but then, I can't access my other tabs until I've closed the new one. Also, all the Close Tab buttons have vanished from my tabs. To fix this, I have already tried:
    a) Disabling hardware acceleration, which made no difference.
    b) Starting in Safe Mode, which worked, so I went through my add-ons, narrowing it down. The problem appeared to be caused by Tab Utilities, so I disabled it, which solved the address entering problem. However, the Close Tab buttons were still absent, so I made the mistake of trying to find another tab management add-on that would be compatible with this version of Firefox. Found out the hard way that Tab Mix Plus and Tab Utilities Lite aren't, because the previous problem returned, but even now I've disabled both those add-ons (I think: can't double-check without closing this tab and losing the message), I still can't navigate to addresses in new tabs or look at any tab other than the most recent one I have open.
    Any ideas what to do about this, please?

    To check extension status, you can open a new instance of the Add-ons page by pressing Ctrl+Shift+a. This should open in a new tab next to the current tab. When disabling an extension, it often is necessary to restart Firefox before it actually is disabled (in that case, Firefox shows a link above the extension). To close that tab, you can use Ctrl+w.
    I'm not sure why Tab Mix Plus would cause a problem using the address bar. Perhaps it is interacting with another add-on??
    Could you describe the problem with the close tab buttons in more detail? Previously, it was possible to easily ''hide'' them on background tabs but now if the background tabs are wide enough they are always visible. There probably is a custom style rule (user style) to tackle that issue, but I'm not sure that's the problem you're having.
    Not sure if this is relevant, but the Facebook Disconnect, Google Disconnect, and Twitter Disconnect extensions have been superseded by the (consolidated) Disconnect extension. They've switched from having individual icons inside the address bar to a single D button on the toolbar. Maybe that will help?

  • What's with having to change passwords each time one error is made entering it?

    So I entered what I believe was the correct itunes store account password and it says invalid.  I try again and it suddenly locks me out, now I have to create an entirely new password (one that has not been used in over a YEAR) and a bunch of other restrictions on how many characters, what types of characters are allowed, where the characters can be placed (oh no, you can't have three characters the same together, no matter how long your password is.) 
    I understand the risks out there, and I understand Apple is doing what they consider is best for the customer.  But Appple, you really dropped the ball on this one.  There are many disappointed and frustrated customers, including newbies, who chose Apple with the understanding it was more friendly than the "Other" platforms out there.  ****, my government security isn't even this stringent!!  Lossen up Apple, you're not doing your customers any good furiating them with complex passwords.  Next you'll be expecting the general public to come up with their own password Algorithums! 
    This goes against the principal of Apple's reputation of making computers friendly for ALL users. 
    Listen, we know the risks. You make us agree to those internet inherant risks before we can use any of your products.  We need Apple to ease up the the stringent security measures a bit and find other non-invasive ways to protect its customers.
    I was so frustrated, I might even go back to the "Other" camp.

    jph_25, welcome to the discussion area!
    "Here's the problem: if I leave the network or power down (macbook pro), I'm told that my machine can't find the proper network once I boot back up. I have to manually enter the name of the network and enter the password each time in order to get access——then I'm back online again"
    On your MacBook Pro, you might check a few things:
    Open System Preferences and click on Network
    Click on your AirPort connection on the left to highlight it and then click on the Advanced tab at the lower right of the pane.
    Make sure that there is a check mark next to "remember any network this computer has joined"
    Also check to make sure that your network shows up in the Preferred Networks list and that it is listed at the top of any other networks you make have shown.
    You would also want to make sure there were NOT check marks next to:
    "Disconnect from any wireless networks when logging out" and
    "Require Administrator password to control AirPort"

  • Defaulting rules for subinventory locators

    hi folks,
    i have researched a little bit, but am unable to figure out if oracle r12 has this capability inherent. before i move on to a forms-personalization / custom.pll based solution, i would like your expert opinion.
    i am in need of providing the ability to default a "stock locator" on the "subinventory transfer" form. a subinventory could have several locators, and a locator could have several types of items. does r12 provide any way to default a particular value for "stock locator" based on the value selected in the source or destination subinventory?
    thanking you,
    regards.

    Form personalization does not have when-validate-item event so it is a little hard to default field2 (locator) after field1 (subinventory) value has been entered / changed.
    But in your case, since there is already an LOV attached to the locator field, you can try the following.
    Find the LOV and Record group associated with the locator field.
    Create a new record group similar to the seeded one but add the condition that says
    "locator_id = mtl_secondary_inventories.attribute5" -- assuming attribute5 stores the default locator id
    And then assign this new RG to the LOV.
    If all else fails, you can always write a when-validate-record personalization that fires AFTER user has selected a non-default locator and then stops him/her from saving the record.
    Hope this helps,
    Sandeep Gandhi

  • Insert links in jeditorpane

    Hi,
    I am working on an applet that allow a user to edit simple HTML.
    The user can basicly enter plain text, and there are buttons that bold and add links.
    I have also made Enter insert a break tag.
    The code works fine EXCEPT in one case.
    If a user pastes in some text, that has newlines in it, and selects the first word after a newline to become a link, the link appears on the line above where it should be.
    The strange thing is that when I print the jeditorpane text, it looks fine, it just does not display in the pane correctly.
    The code I use is
    editor.replaceSelection("");
    kit.insertHTML( doc, start, "<a href=\"" + link + "\">" + text + "</a>", 0, 0, HTML.Tag.A );
    HOWEVER if I change to
    kit.insertHTML( doc, start, "<a href=\"" + link + "\">" + text + "</a>", 1, 1, HTML.Tag.A );
    I.e. change 0,0 to 1,1 it displays properly BUT only in the case where the word selected is just after a newline.
    I catch Ctrl-V keypresses, to ensure that the user only pastes in the plaintext version of what they are pasting. The problem would be solved if I could replace the newlines with break tags at this stage, but if I do that, the tags appear in the text.
    So (finally) my questions are.
    a) Is there a way to see check for the newline character being before the word selected?
    b) Or is there a way to make the default pasteaction handle break tags as markup rather than plain characters.
    Thanks
    wbxv

    a) Is there a way to see check for the newline character being before the word selected?You can try something like this:
    String newline=System.getProperty("line.separator");
    if (text.startsWith(newline)) text=text.substring(newline.length());
    editor.replaceSelection("");
    kit.insertHTML( doc, start, "<a href=\"" + link + "\">" + text + "</a>", 0, 0, HTML.Tag.A );
    b) Or is there a way to make the default pasteaction handle break tags as markup rather than plain
    characters.You can try something like this:
    int i=text_to_paste.indexOf(newline);   // newline is defined above
    if (i>=0) text_to_paste=text_to_paste.substring(0,i)+"<br>"+text_to_paste.substring(i+newline.length());You can make a loop to replace all newlines with <br> if you like.
    Hope this helps...
    V.V.

  • "inspection lot stock" tab grey out

    Dear Gurus,
    I am facing subject problem while completing UD. In QA32, i have recorded results, then accepted the lot under "partially rejected" option. I want to post some of the stock qty to UR and rest to Blocked. But as all the fields are grey out, i am not able to do so. I can only clist on "propose" button, by which all the stock can move to UR.Is this an authorsation issue?
    Request to guide me.

    But as all the fields are grey out, i am not able to do so. I can only clist on "propose" button, by which all the stock can move to UR.Is this an authorsation issue?
    I am sure by this action the status of the inspection lot would have become UD SPCO.
    The system in not allowing to enter the stock because of the "stock posting praposal "
    In QS51--->agsint the UD code partially rejected -->check whether you have made/entered  "stock posting praposal "
    as "Post to unrestricted.
    If yes then  remove it.System will allow to post the stock in different pockets................

  • Problem in fetching data from 0025IT

    Hello...
    Here we are working on One Page Profile and when i had made enteries in dev server  for employee first aparaisal in infotype 25 , it has shown one record correctly.But in the table HRP1001 , it created two records with same  dates and ratings but created two different object ids for the same record. It is showing same two record in the smartform also.
    Please advice me how to solve this problem...
    Thanks and Regards
    Shivangi...

    Hello Experts ,
    I have the problem regarding Infotype25 . I am working on one page profile , for that i have maintain new entry for an employee in infotype 25.In PA30 ,the record is maintained correctly but in the table HRP1001 it has shown two duplicate records with different object ids.Please help me how can i get the single record in that table .
    Thanks and Regards,
    Shivangi

  • How to simulate F8

    Hi All,
    In the smartbar, there are Enter-Query button and Execute-Query button. When the user presses F7 or Enter-Query button, enter some values in the form, then presses F8 or Execute-Query button, the corresponding records will display.
    However, I don't want to use the smartbar, I want to create my own buttons to perform these functions. I know I can create two buttons with the code 'enter_query' and 'execute_query' respectively, but the 'hand-made' Execute-query button can only retrieves all records, and after pressing the 'hand-made' Enter-query button, the user has to press F8. But the user may not know this, so is there a way that I can create a button that simulates
    the F8 key?
    Thanks in advance

    All you will need to do is go over the items in the block collect the inserted value and use the set_block_property(Default_where) built in to set a where condition for your block and then execute the query.
    I think that using the default behavior that Forms gives you is simpler.

  • Scripting Transform for user interaction

    I'm trying to create a vector layer in PS CS6 that is used as a cropping guide for portraits.  When I try to apply a transform to this layer, the transform box comes up but I can't change anything.  I've done a search for this, and seen some examples from Mike and Paul, but they all will not allow me to change the transform.

    You may want to make sure what the Photoshop target is when you do the transform and also make sure there is no active selection.  Like perhaps set the which layer is the active active layer and target the RGB channel. Free Transform may have some options disabled depending on layer type.  For example if the current targeted layer is a text layer distort and perspective transforms can not be done. You would need to convert the text layer to a shape layer first to do that type of transform. You may want to also have a try catch to allow cancel for if no change is made ENTER as well as ESC cancels the transform.
    activeDocument.selection.deselect();
    try{
    InteractiveTransform()
    }catch(e){alert("Image Transform Canceled");}  //  or have no message
    function InteractiveTransform() {
      // Menu Edit>Free transform
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID('Mn  '), cTID('MnIt'), cTID('FrTr'));
        desc1.putReference(cTID('null'), ref1);
        executeAction(cTID('slct'), desc1, DialogModes.NO);

  • Color abrev?

    We have a script (javascript for cs3 & 4) that allows a user to type in colors (among other things) and puts those colors in a new document's swatches. Those colors are chosen from a custom library of spot colors set up by our corporate office. The color names do in fact coincide with their numerical counterparts
    :example: myScarlet200 = PANTONE 200 C. currently the user types in PANTONE 200 C and it has to be exact or the script will fail. We would like the user to simply be able to type in "200" and have the correct color assigned. I'm hoping someone has already taken insane time to do the solid coated library in such a way (so we could pillage the code), or be able to advise on the most expedient way to associate colors with their pantone equivalent numbers for the purpose of dialog entry in cs3 or cs4.
    Thanks in advance
    (The script creates a custom template for art design and the color entries eliminate the need to load colors manually. The script saves all of the art departments time division wide, however a main complaint is that the script fails when a typo is made entering colors. We are trying to fix that part of the script.)

    I think my question has been misunderstood. I'll use this example:
    We're doing a book cover for a customer and that customer has decided on a particular vector illustration and logo on the front (cover style template).
    They can choose any colors to represent the 3 colors allowed for this package.
    on to the script...
    1.
    The dialog will ask the artist doing the cover a series of questions that builds the template based on those entries (all that is already done).
    One of those categories is colors. The customer may choose between 0 and 4 colors in this option set.
    2.
    The script loads document colors from an .indd document in a static location that contains all of the colors and we will remove unused colors at the     end via script leaving behind only the ones from the dialog entry in the swatches panel (that is because we don't know how to pull entries from a    library that isn't available to the active or new document)
    Currently the dialog entry requires the full name (PANTONE 200 C) case sensitive and spelled exactly as the library.
    3.
    I would like to be able to just enter "200" in the dialog instead of the full color name in the library.
    my question: How can I associate 200 with PANTONE 200 C (along with every other color in the solid coated library) using 200 as the common thread?
    Do I have to say: "200 = PANTONE 200 C" for every color so when I call 200 it gives me PANTONE 200 C?
    You may have understood the question and I just don't get it (the answer). please don't flame me for my ignorance.
    Thanks,
    ps: notice in the color picker in the InDesign you can just type 200. In a nutshell that's what I want to accomplish through script in a dialog.

  • Hi. I am using a time capsule for few PC s. I have made 5 different account to access time capsule. but in windows when i enter account name and password for one account, i cannot access other accounts, because windows saves username

    Hi. I am using a time capsule for few PC s. I have made 5 different account to access time capsule. but in windows when I enter account name and password for one account, i cannot access other accounts, because windows saves username. how can i prevent this from happenning. I really need to access all my accounts and dont want it to save automaticlly.

    Why have 5 accounts if you need to access all of them.. just have one account?
    Sorry I cannot follow why you would even use the PC to control the Time Capsule. Apple have not kept the Windows version of the utility up to date.. so they keep making it harder and harder to run windows with apple routers.

  • Error Message (Enter spread  / MAD type B ...) while saving sale order

    hello,
    when i try to create sale order (VA01) , and when i enter the custmer number (befor entring other informations ..) I get this Error Message :
    "Enter spread  / MAD type B for 05.08.2008 in the system settings"
    the message number is : SG117
    plz help me to solve this problem.
    cordialy
    SDA

    Hi
    The exchange rate buying & selling rate has not been secified for the conversion of amount to another curency
    you need to maintain this
    please work with your FI consultant on this as exchnage rate spread needs to eb maintained - verify the currency maintained for the cuustomer in the master for this
    the settings will be done in the IMG under currencies - type B = Actual period end rate
    cheers
    Nandu

  • TS1368 My iTunes account was hacked and charges were made from some other computer. Now my computer isn't being recognized and I need to enter security answers I never provided answers for and cannot access my account to make a purchase. I need help!

    My iTunes account was hacked and fraudulant charges were made. Now when I try to go into my account from my personal computer, it states that "this is the first time using this computer, please enter answers for security questions," I never answered any security questions and cannot change or edit that because it tells me I'm entering the wrong info. How do I get a live person to help me through this so I can return to making purchases on my own account?

    Does anyone have any suggestions?

  • Payment made in SAP without entering an invoice

    Dear All,
    How can I make a wire payment in SAP without having an invoice entered for it. The scenario at my client site is they make a wire payment through AMEX (credit card) for which there is no invoice entered. SO they make a wire payment say at the begininng of the month and then they would enter the invoice made for the wire payment say at the end of the month and link the payment made to that particular invoice. How will I replicate this in SAP? Please help.
    Thanks,
    Ratheesh

    Hi,
    Please note that Payment Request functionality is to be used to meet your requirement. The following are the steps:
    1. Create Payment Request: F-47 (assign Spl. GL indicator F or P)
    2. Make payment through F110. The Spl. GL indicator should be allowed in FBZP in Set All Company Codes for Payment Transactions.
    3. Post Invoice: F-43 or FB-60 clear the using the Spl. GL indicator (as given in point.1)
    Regards,
    Kiron Kumar T.

  • I've updated my phone and I've made a backup. but now it says I must enter my code to restore all my files and I haven't got this code. If I cancel the process or choose something else, all my stuff will be deleted, and I really don't want that.

    I've updated my phone and I've made a backup. but now it says I must enter my code to restore all my files and I haven't got this code. If I cancel the process or choose something else, all my stuff will be deleted, and I really don't want that.
    HELP ME PLEASE!!!

    If, for some reason, your backup got encrypted and you don't know the code, you'll have to set up your phone as new device and start all over again without the backup.
    Warning: If you encrypt an iPhone backup in iTunes and then forget your password, you will not be able to restore from backup and your data will be unrecoverable. If you forget the password, you can continue to back up and use the device, however you will not be able to restore the encrypted backup to any device without the password. You do not need to enter the password for your backup each time you back up or sync.
    If you cannot remember the password and want to start again, you must perform a full software restore and when iTunes prompts you to select the backup from which to restore, choose set up as a new device.
    If you can't get pass the lock screen, connect in recovery mode and restore the phone, you'll have the option to reset the lock secreen passcode.
    iOS: Unable to update or restore and iPhone and iPod touch: Wrong passcode results in red disabled screen
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.

Maybe you are looking for

  • Problems with Photoshop performance and data transfer speed on iMac

    Two months ago, I started noticing slow performances using Photoshop (above all using clone stamp tool) on my 27" iMac (late 2012). I did the AHT and I found that 8GB of 32GB RAM were broken. I removed them but the problem didn't disappered, I also n

  • Planned Cost & Planned revenue - Not displaying data in Bex.

    Hi BW Experts, I have installed 0PS_C04_Q002 query from the business Content and loaded the data for the Cube 0PS_C04. While executing the query, I am not getting data for Planned Cost and Planned revenue. I am getting data for Actual Cost and Actual

  • Firewire Camera problem - please help ;)

    I've just recieved a sony HVR-Z1E to digitise some material. However when I connect it to the firewire bus (any lead, any port, with/without other firewire devices) the computer creates a high-pitched wine (not that unusual), but it also fails to rec

  • My call register is not working

    Y is my call register not working at all

  • Help with importing lens profile to Lightroom 5.4 for Windows

    Hi, I'm running Adoble Lightroom 5.4 on Windows. I recently bought a Rokinon 14mm lens for Canon and have a couple lens profiles that I want to try out. I have already tried importing to the two following locations below and nothing showed up when I