Force the PO to be created in the desired Quantity

Dear Guru's,
I have been struggling with a problem while converting a PR to a PO.
Suppose the PR quantity is of 1000 Pallets. I want to define a logic that system should only create the PO for a Full truck load only which is say 80 Pallets for this material.
Every time a PO is created it would read the materal Unit of measures and convert the PO order unit to pallets (if it is not pallets) and specify the quantity as the maximum truck load quantity in the PO line tem quantity field.
I would prefer not to give a pop-up to user click some where and then change the line item quantity. System should define the quantity automatically.
I have explored couple of badi's and user exits. But some can change only custom fields and some chan fill some custom subscreen.
Can anyone suggest a BADI or an exit to make thing work.
Any kind of help is highly appreciated.
Regards
VG

Hello,
You can change order qty in method PROCESS_ITEM of the BADI ME_PROCESS_PO_CUST. Not sure how you are going to decide how much to update for different plant/material combinations. Probably, you can maintain this max limit in Info Records and then validate in the BADI.
Thanks,
Venu

Similar Messages

  • Can I force the bootcamp wizard to skip looking for the bootcamp drivers?  I have already downloaded the latest drivers and loaded them on a FAT usb drive.  All I want is for bootcamp to create the partition and allow me to install windows 8 pro

    Hi Everyone,
    Can I force the bootcamp wizard to skip looking for the bootcamp drivers?  I have already downloaded the latest drivers and loaded them on a FAT usb drive.  All I want is for bootcamp to create the partition and allow me to install windows 8 pro.
    The bootcamp drivers have been downloaded from apple's website.  Filename:  BootCamp5.0.5033
    I have a iMac 27" late 2013 model.
    NOTE:  I have downloaded the drivers manually from apples support site as the bootcamp wizard fails third of the way through the download.
    Appreciate any assistance.
    Regards,
    asdutoit

    There is a missing point in this thread, and it is that the Boot Camp drivers for the Late 2013 iMac can only be downloaded from Boot Camp Assistant. The Boot Camp drivers available in the Apple site are not compatible with that iMac.
    Delete the Boot Camp drivers from the USB drive, open Boot Camp Assistant and try to download the Boot Camp drivers again. If you get a message telling you that they could not be downloaded, I would try reinstalling OS X through OS X Recovery, by holding down Command and R keys while your Mac is starting up

  • How to create a Lync policy to force the AD picture to be used.

    Hi there
    We are using office 365 and ADFS, how we can create a Lync policy to force the AD picture to be used.
    Best regards,

    On-premise this works
    New-CsClientPolicy -DisplayPhoto PhotosFromADOnly
    however in o365 I believe  there only these options 
    PLEASE REMEMBER, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answered"

  • The latest Premier Pro CC 2014 update forced me to convert and create version of my project while guaranteeing that the project would not be altered; however, the timelines are not the up to date versions I had.

    The latest Premier Pro CC 2014 update forced me to convert and create version of my project while guaranteeing that the project would not be altered; however, the timelines/sequences are not the up to date versions I had. I saved different version of this project for various purposes, but they were all named differently(i.e joe and mary wedding, joe and mary wedding 2, joe and mary wedding 3, joe and mary wedding 3.1).  I do not know if they just pulled the timelines from the earliest version, eradicated the data entirely, or something else.
    Since the program prompts me to create and save a new version for the updated premier, I still have the previous projects, but cannot open them.  I imagine they are unchanged, but cannot be sure.
    Thoughts? Is it possible to uninstall an update re-install it later?
    Please advise.
    Thank you.
    Brian

    Also...
    Add to right click menu of timelines an entry for "go to next keyframe" and "go to last keyframe" a la After Effects, we should also be able to assign a kb shortcut to this.
    There are buttons on either side of the create keyframe button to advance forward or backward in the effects control panel or timeline.
    You can also advance forward or backward in the effects control window by holding shift while dragging the playhead.
    Allow copy/paste of selection of audio/video effects, not just one at a time. Sure we can copy/paste attributes but since we can also copy/paste effects it would only make sense to allow to copy/paste a selection of effects.
    I guess I don't get this one. If I have 5 effects on a clip, I can simply command-click on the ones I want to copy over to the other clip.

  • Hi, I tried to create a slideshow that contain more than 500 photos. Now, trying to open / execute / select the slideshow, iPhoto hangs with the spinning coloured wheel and I have only to force the deletion from System Preference. Any suggestion?

    Hi, I tried to create a slideshow that contain more than 500 photos. Now, trying to open / execute / select the slideshow, iPhoto hangs with the spinning coloured wheel and I have only to force the deletion from System Preference. I already tried to rebuild the iPhoto Library (all the possible options) and tried to update teh version from 9.4.3 to 9.5 but the problem still persists: is there a way to delete this slideshow without selecting it ? How can I solve the problem, please?
    Kind Regards

    Can you restore your iPhoto Library from a backup version, that was created before you added the slideshow?
    If not, have you tried to rebuild the slideshow with iPhoto Library Manager?
    As described by Terence Devlin here:  Re: iphoto library was created with an unrelased version of iphoto please quit and ugrade library by opening it in iphoto 2 or iphoto 4

  • How can I delete all the Time Machine backups to make room for more? And how do I force the trash to empty?

    I moved a bunch of my husband's files from his Macbook (which is dieing) to my iMac.  I created a user for him on my iMac so he'd be able to keep his stuff separate from mine.  All is working great except my Time Machine is now unable to backup.  The total of used space on my hard drive (including the recently added user's files) is about 420 GB.  The amount of capacity of my external hard drive is 999GB.  I think Time Machine failed because there was all of a sudden so much more data and a new full backup would be more than the unused capacity of the HD?  Regardless I don't need any old backups.  I have all my files and all his files.  So I moved all the backups from the external HD to the trash.  Apparently that's a no no.  I can't fully empty the trash now and that is making my iMac crazy slow. 
    1) Can anyone tell me how to force the trash to empty?
    2) Is there a way to delete the whole external HD and start over with a new full backup via Time Machine?  In Disk Utility I try to erase the partition and get an error "Volume Erase failed with the error: Couldn't unmount disk." Then I try to Unmount it and get another "Unmount failed. The disk Backup iOmega could not be unmounted.  Make sure that all applications and files are closed on this disk." I turned off Time Machine and tried again but with the same errors.
    The external HD is called iOmega.  It only connects to the iMac with USB.  Any help is much appreciated!!!!

    Try this instead:
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. Select the backup volume from the left side list. Click on the Erase tab in the DU main window.
    3. Set the format type to Mac OS Extended (Journaled.)
    4. Click on the Erase button.
    You will need to reconfigure Time Machine preferences for the backup.
    FYI: Never remove Time Machine backup data except through the Time Machine application. If you aren't sure about using Time Machine then visit Pondini's Time Machine FAQ for help with all things related to Time Machine.

  • Is there a way to force the proxy.pac RELOAD before sending a UIWebView request?

    I'm working with a dynamic .pac remote file.
    When i start my app, i get the proxy automatic configuration only the first time...
    Is there a way to force the PAC reload every time I use a UIWebView ?

    sure, create a listener that waits for the complete event, then play the video.

  • [svn] 3936: Added flag to force the creation of a displayObject for a GraphicElement

    Revision: 3936
    Author: [email protected]
    Date: 2008-10-28 17:27:07 -0700 (Tue, 28 Oct 2008)
    Log Message:
    Added flag to force the creation of a displayObject for a GraphicElement
    SDK-17818 - calling getBitmapData on a GraphicElement that shares it's displayobject always causes a layout pass
    adding flag which forces the graphicElement to always create a displayObject for itself. This is a temporary solution to the bug and should get revisted after alpha.
    QE Notes: n/a
    Doc Notes: n/a
    Bugs: SDK-17818
    Reviewer: Gordon
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17818
    http://bugs.adobe.com/jira/browse/SDK-17818
    Modified Paths:
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/G raphicElement.as

    mimomimi wrote:
    Hi;
    I am developing a console for my Server Application. I'm using a JFrame and a ScrollPane.
    I am using a vertical Scroll and I want to force the index of this Scroll to be in the down in order to display the last informations added to my console.
    I didn't find a solution yet.
    Thank you for your help.
    CheersYou mean like was mentioned in [this |http://forums.sun.com/thread.jspa?threadID=5420524&tstart=0] post, right on the front page of the Swing Forums?

  • When opening Final Cut Pro it keeps getting stuck with the loading circle and I have to force the quit so please help?

    I have a Macbook Air, still fairly new from July 4, 2014. Yesterday, I was editing some footage in Final Cut Pro, and the colored spinning circle kept popping up. I continuously forced the quit, as I couldn't do anything, and then I restarted and looked for updates (though there was none). I then deleted the app and reinstalled it, but it's still giving me the same problem. This morning, I created a new user account, and Final Cut Pro works on that account, but it took some time to find the exported video (I actually had to turn it off and turn it back on to find the video). Later today, I went onto the main account, where Final Cut Pro isn't working, and it's still giving me trouble, and then the Picture Preview program got stuck, as well, twice, where I had to also force it to quit. What's happening? How do I fix this problem?

    The info given below might help but if it doesn't, I'm sure other people will give you useful suggestions.
    Corrupt preferences can create a vast range of different symptoms, so whenever FCP X stops working properly in any way, trashing the preferences should be one of the first things you do using this free app.
    http://www.digitalrebellion.com/prefman/
    Shut down FCP X, open PreferenceManager and in the window that appears:-
    1. Ensure that  FCP X  is selected.
    2. Click Trash
    The job is done instantly and you can re-open FCP X.

  • How do I force the keyboard to stay open in Safari?

    Is there a manual way to force the keyboard to be displayed whenever I want in Safari?
    I know it will pop up when I click on Search or the address bar, but I need to have it displayed while I'm reading a web page.
    Thanks.
    Roxy

    If anyone is still interested, here is the closest I could get to a solution.
    If the iPhone or iPad wants a text field, give it one. Create it immediately before the area your keystrokes will populate, then do everything you can to hide it.
    <input type="text" id="keyboardtrigger" style="position: relative; top: 100px; background-color: transparent; border: transparent; height:0px;" />
    Now, every event where you want to make the keyboard visible, add the Javascript line
    $("#keyboardtrigger").focus();
    And the keyboard appears. Take the focus away from the text box and it dissapears.
    Just a couple of notes:-
    You will get a very small blinking cursor - hopefully not too much of a problem
    The keyboard works, but cursor movements and mouse drags for selecting your text doesn't. That is a totally different problem. Like the keyboard, they really only work in a text field.

  • Does Responsive HTML5 have an option to force the output to be lowercase?

    Using RoboHelp 11.0.3.268, I'm testing the Responsive HTML5 layout as a potential upgrade from our current WebHelp SSL. The one thing I cannot find in configuring the SSL is the option to force the output to lowercase like what is offered in WebHelp and other SSLs. This is a critical project requirement because our team authors on Windows, which is case insensitive, and we publish help output to UNIX web servers, which is case sensitive.
    Thanks,
    Alan

    Also, I should add this. As long as everyone is authoring in RoboHelp, there really shouldn't be issues because RoboHelp "has your back".
    I believe what that option is intended to prevent is a situation where someone may be using perhaps Notepad or maybe even an app such as CoffeeCup HTML Editor to edit the content. And when creating links, if you were to create a topic that was named MyTopic.hTm, if you created the link as mytopic.htm, of course it would break on a UNIX system. And I'm guessing you already know that. So the RoboHelp option just changes all the names and the links to lower case to prevent breakage. But if all are working in RoboHelp and not hand coding links, you are probably totally safe. In fact, I'd be shocked to see that RoboHelp would actually have allowed creating any broken links.
    Cheers... Rick

  • Force the use of synonym (database link)

    Hello,
    I'm on a database DB_1 with the user NP.
    In the NP schema I have a table TEST_TABLE.
    I create a public synonym on TEST_TABLE referencing a table named TEST_TABLE in a database DB_2 (*the synonym use a dblink*).
    In my DB_1 instance connected with NP user, when I run "SELECT * FROM TEST_TABLE", the result is the content of TEST_TABLE in DB_1.
    Connected with NP user on DB1_instance, how can i force the use of the synonym to get the content of TEST_TABLE in DB_2 instance ? Is it possible ?
    Thanks...

    Pl post details of OS and database versions.
    I do not believe you can achieve your requirement, unless you name the synonym something other than "TEST_TABLE". The resolution to "TEST_TABLE" will always result in the local table first - the synonym will not be included in the name resolution.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements009.htm#SQLRF51134
    HTH
    Srini

  • Using a dummy where-clause to force the use of an index

    I notice that an index only gets used when I use the index key in the where clause. Should I use a dummy where clause to force the index to be used?
    SQL> create table emp (
    2 empno NUMBER(5),
    3 empname VARCHAR2(15) );
    Table created.
    SQL> create index idx_emp_no on emp (empno);
    Index created.
    SQL> insert into emp (empno, empname) values (1, 'Peter');
    1 row created.
    SQL> set autotrace traceonly;
    SQL> select empno from emp;
    Execution Plan
    Plan hash value: 3956160932
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 13 | 3 (0)| 00:00:01 |
    | 1 | TABLE ACCESS FULL| EMP | 1 | 13 | 3 (0)| 00:00:01 |
    SQL> select empno from emp where empno > 0;
    Execution Plan
    Plan hash value: 434430053
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 13 | 1 (0)| 00:00:01 |
    |* 1 | INDEX RANGE SCAN| IDX_EMP_NO | 1 | 13 | 1 (0)| 00:00:01 |
    As you can see, using a dummy where clause (empno > 0), I manage to reduce the cost from 3 to 1.

    Again. Be careful with comparisons. But I like the discussion. It is usefull to carefully look at what happens "behind the scenes" and find a sensible explaination for that.
    Your new scenario now is different. By selecting one specific row instead of selection all you already made an assumption. That only one or few of the rows are returned. Andre's statement still is correct. Now the CBO will prefere the index scan.
    The CBO now has to decide between two options.
    Option a) use the index.
    This means =>
    Step 1: Access the index to find the value
    Step 2: Access the table using the rowid that was found in the index leaf entry.
    Option b) scan the full table
    This means =>
    Step 1: Iterate over all rows of the table
    Step 2: Apply a filter condition (empno = :x)
    We can see this execution plan by adding a hint to the query.
    select /*+ FULL(emp) */ * from emp where empno = 1;This hint will force the CBO to access the table emp using a full table scan.
    The cost in my environment for option B is 3.
    Option A has a cost with 2. Therefore the CBO prefers Option A.
    However this can easily change.
    Consider the following
    begin
      for i in 1..1000 loop
        insert into emp (empno, empname) values (1, 'Employee');
      end loop;
    end;
    commit;
    execute dbms_stats.gather_table_stats(user,'EMP');The run the select again.
    SQL> set autotrace traceonly
    SQL> select * from emp where empno = 1;
    1001 Zeilen ausgewõhlt.
    Ausf³hrungsplan
    Plan hash value: 3956160932
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |  1001 | 12012 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| EMP  |  1001 | 12012 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("EMPNO"=1)
    Statistiken
              1  recursive calls
              0  db block gets
             74  consistent gets
              0  physical reads
              0  redo size
          18356  bytes sent via SQL*Net to client
           1250  bytes received via SQL*Net from client
             68  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
           1001  rows processedThe CBO now prefers the full table scan and not the index access.
    If we force it to use an index then the cost increases.
    SQL> set linesize 100
    SQL> select /*+INDEX(emp) */ * from emp where empno = 1
    1001 Zeilen ausgewõhlt.
    Ausf³hrungsplan
    Plan hash value: 2426388914
    | Id  | Operation                   | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |           |  1001 | 12012 |     5   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| EMP       |  1001 | 12012 |     5   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | IDX_EMPNO |  1001 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("EMPNO"=1)
    Statistiken
              0  recursive calls
              0  db block gets
            139  consistent gets
              0  physical reads
              0  redo size
          30550  bytes sent via SQL*Net to client
           1250  bytes received via SQL*Net from client
             67  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
           1001  rows processed
    SQL>The cost using the index range scan is now 5. WHile the FTS is still 3. Therefore the CBO prefers to use the FTS.

  • Question on forcing the style on main page in publisher

    Hey Guys,
    We have announcement portlet created using publisher. We want to provide rich text editor for the text field of the announcement in the create article pop up page.
    The issue we have is font size and color of the text specified by the user using the rich text editor overwrites the styles that are specified in the presentation templates. The question is how to force the font size and color of the text to the style specified on the presentation template. In other words how to overwrite the font size/color which user specifies using the editor to the font size/color which is specified in the presentation template.
    Thanks for your help
    shalini

    If you do not want users to be able to style the article text at all then you should change that field to be a plain text field instead of rich text. You can change this on the data entry template for the articles themselves.

  • How to force the scrollpane not wrap ?

    Hi All,
    I am creating Editor with JScrollPane.
    The JScrollPane contains JTextPane(implements Scrollalbe, etc class) as a Viewport, and this JTextPane is being used rather than JTextArea to have some styles in it (color and fonts..)
    My question is...
    I am forcing the maximum size of the line by setting the PreferredSize of the JTextPane. However, when it reaches the end of the line, it automatically wraps to the next line. Is there any way to stop to go to next line ? Any ideas ?

    Read this sections from the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html#document]Using Documents. It gives an example of limiting the total number of character to 300. This isn't exactly what you want but it should get you started.
    Warning, this task is not as easy as you might think. Also you might want to consider using a JTextArea with a monospaced font. This will make it easier to size the components since it has a constructore that allows you to specify row/columns.

Maybe you are looking for

  • Adding new backgrounds to Photoshop Elements 11

    Hi I have recently purchase Photoshop Elements 11 and i am wanting to transfer all my backgrounds and graphics to the program.  I located the Photo Creations folder and pasted my backgrounds in the "Backgrounds' folder but when going back into the pr

  • MSIGE60 not using dedicated graphics?

    i everyone, I recently purchased a refurbished MSIGe60 laptop online equipped with a 2gb Nvidia Gtx660m and has the integrated intel HD 4000 as well. My laptop at the moment seems to be always using the Intel graphics, because I am getting terrible p

  • Error repeating a lo in the log

    Hi experts, I'm getting this error a lot in my BPC LOG ==============[System Error Tracing]============== [System  Name] : OSoftCPM [Message Type] : ErrorMessage [Job Name]     : MetaData/GetAppSetInfo [DateTime]     : 27/04/2011 15:22:11 [UserId]   

  • Could someone please help with two differences between CS and CS4?

    Hello, I just moved from Photoshop CS to CS4 and have a couple of questions regarding some differences I'm seeing in the two versions. (1) When opening files, I'm used to them opening in a smaller view as individual windows.  CS4 opens all images in

  • Adobe CS for OSX v10.6 Snow Leopard

    Hello Mac People, I have a late-2006 MacBook Pro which I recently upgraded to OSX v10.6 Snow Leopard. It currently has 4ram and the 2.16Ghz Intel Core 2 Duo processor. What is the "best" version of Adobe CS for this system?  If I understand correctly