Best SD userexit to use for checking 'material pricing conditions' (KOMV-KSCHL)?

Hiya,
When creating a sales document I'd like to check the material pricing conditions (KOMV-KSCHL), specifically for rate(KBETR), when a material is entered into an order.
If the Rate value is not as expected then I'd like to raise a pop-up to inform the user.
I was searching for a userexit to use and I can't find anything that fits my requirement...
I was therefore thinking of using USEREXIT_PRICING_PREPARE_TKOMP or USEREXIT_PRICING_PREPARE_TKOMK.
But I thought I'd just check with you experts first.
Would anyone have any suggestions?
Thanks in advance!

Hello Robert,
I would suggest using 'USEREXIT_PRICING_PREPARE_TKOMP' which is for Item level fields. However, why would the rate be not as expected, is there a limit that you want to set ?
Also its worth noting that these user-exits get triggered 3-4 times every change is made. You may want to restrict that.
Another option is to set a flag in a requirement routine for the condition type and use it to send a pop up in User-Exit.
Rgds,
Vijay.

Similar Messages

  • Which T code is used for entring the pricing condition P101 for purchase or

    which T code is used for entring the pricing condition P101 for purchase order

    Hi jitendra ,
    if you are looking for T-codes use:
    SE16 and scan table TSTCT.
    Regards Mario

  • HT1586 What's the best HDMI switcher to use for Apple TV?

    What's the best HDMI switcher to use for Apple TV?  My widescreen TV has only one HDMI outlet and it is in use. 
    Thanks,
    Joanna

    Anyone sold by MONOPRICE.COM are really worth buying!

  • What is the best I/O to use for a MUD?

    What is the best I/O to use for a MUD?
    It seems that people usually show I/O examples with IOs like:
    BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInptuStream()));
    PrintWriter out = new PrintWriter(socket.getOutputStream());
    out.println("Hello World");
    out.flush();
    PrintStream out = new PrintStream(socket.getOutputStream());
    out.println("Hello World");
    out.flush();When I say 'best I/O' I mean, can you give me an I/O that'll be the best if a MUD starts getting LOTS of request and becomes rather busy?
    Thanks!
    -Neo-

    One last question, are output streams thread safe?A stream is inherently serial in the way it data is written to it. If two threads try to write to the same stream asynchronously, the ordering of the data written will not be predictable.
    For example:
    One class is recieving input from a user and
    reply-printing thing like "Command Successful", and
    another class is recieving messages from other users,
    but the PrintWriter would be originally created in the
    first class and then passed as a parameter to the
    second class...would this work, or should I just
    redirect all command replies to that second class?If they are in the same thread, then it could work. If there are separate threads, then some higher granularity synchronization needs to be imposed, so that the second thread doesn't start writing part way through the first's output.
    For example:public class NeoThreadWriter implements Runnable {
      final String name;
      final int delay;
      final boolean synch;
      NeoThreadWriter (String name, int delay, boolean synch) {
        this.name = name;
        this.delay = delay;
        this.synch = synch;
      public void run () {
        if (synch) {
          new Synch().run();
        } else {
          new ASynch().run();
      class Synch implements Runnable { 
        public synchronized void run () {
          synchronized (System.out) {
            for (int i=0; i<6; i++) {
              System.out.println(name+":"+i);
              try {
                Thread.sleep(delay);
              } catch (InterruptedException iex) {
                iex.printStackTrace();
      class ASynch implements Runnable { 
        public synchronized void run () {
          for (int i=0; i<6; i++) {
            System.out.println(name+":"+i);
            try {
              Thread.sleep(delay);
            } catch (InterruptedException iex) {
              iex.printStackTrace();
      public static void main (String[] args) {
        try {
          Thread threadA = new Thread (new NeoThreadWriter ("A", 40, false));
          Thread threadB = new Thread (new NeoThreadWriter ("B", 20, false));
          System.out.println("asynchronous threads");
          threadA.start();
          threadB.start();
          threadA.join();
          threadB.join();
          System.out.println("synchronized threads");
          Thread threadC = new Thread (new NeoThreadWriter ("C", 40, true));
          Thread threadD = new Thread (new NeoThreadWriter ("D", 30, true));
          threadC.start();
          threadD.start();
          threadC.join();
          threadD.join();
          System.out.println("Done");
        } catch (InterruptedException iex) {
          iex.printStackTrace();
    }With asynchronous threads A and B, the output is all mixed up. With synchronized threads the ordering of the output is maintained. Note that the guard has to encompass all of the code that generates the output; simply synchronizing the println invocations wouldn't prevent the mixing.
    Pete

  • What's the best logic reverb to use for trumpets and sax

    what's the best logic reverb to use for trumpets and sax.

    The lower transmit frequency limit is in there to make the device meet FCC regulations.. that is a regulation imposed of US regions and, to a lesser extent, Latin american regions that border with the US.
    In addition, you'll be pleased to know that the N900 will not use certain European WiFi channels if a) the sim card is removed or b) the phone has a sim card but is OUT of 3G coverage.. again, to make the device meet FCC regulations.. (seriously.. when you go out of 3G coverage, the kernel reports it is switching from EU wifi to US wifi!!)
    Let me put this into perspective..
    From: http://www.nokia.com/results/Nokia_results2009Q3e.pdf
    Nokia sold 3.1million handsets in the US 2009 Q3
    Nokia sold 27.1million handsets in Europe during the same period.. That is 9 times as many.
    The USA has its OWN firmware
    and yet ALL versions of the firmware (including the UK specific one) are crippled to meet the requirements of a region that produces the lowest sales figures by a factor of 3 (Latin America produced 9.7 million units in 2009Q3)
    Why the HELL are we suffering because of US restrictions..
    That's like saying you can't use bluetooth because it isn't allowed on the Christmas islands.. (it is allowed.. not picking on you, Christmas Islands, but you are small!)
    If the FCC wants a phone that doesn't allow broadcasts on sub 88Mhz frequences, and doesn't want certain Wifi channels to be used, the ALTER THE US FIRMWARE..
    What next, BMWs have with left hand steering in the UK because the US drives on the Left?
    Phillips TVs that only work on 120V because the US uses 120V..
    I don't give a **** what the FCC say.. I'm not in the US and I have my own european and UK legislation to adhere to..
    For a company that INSISTS on having a billion regional firmware versions, they don't appear to be able to get that right either!!! The UK version lacks UK specific restrictions such as the ability to us UK frequencies for wifi and FM transmission!!
    Crazy and very very irritating

  • Best HDMI Cable to use for Thinkpad laptop

    The display port is found in Lenovo laptops. If you want to convert to HDMI, you have to use an adapter. The approved adapter is the SIIG displayport to HDMI adapter according to this link.
    http://forum.lenovo.com/t5/T400-T500-and-newer-T-series/No-audio-output-via-DP-gt-HDMI-converter-aft...
    The next step is to connect the adapter to your monitor or TV using an HDMI cable.
    HDMI can cost from around $10 to $100 depending on the brand.
    On searching for HDMI cable, I noticed that there are several HDMI versions according to this site...
    http://en.wikipedia.org/wiki/HDMI#Version_comparison
    They are versions 1.0 , 1.1, 1.2, 1.2a, 1.3, 1.3a, 1.3b, 1.3c, 1.4, 1.4a
    It was mentioned "Note that with the release of the version 1.4 cable, the HDMI Licensing LLC group (which oversees the HDMI standard) will require that any reference to version numbers be removed from all advertising from the cable only" 
    I guess 1.4a is the best one.???
    In line with this...
    What to look for in choosing the best HDMI cable to use so as to get the highest picture quality and audio clarity?
     (And at the same time not overkill and cost $100+)

    The best adapter and cable is probably the cheapest one (unless you need one that is like 50 feet long, then you'd need a slightly more expensive one).  Go to monoprice.com and buy an HDMI cable for $5, I've bought several from there, and plan to get some adapters and cables for my W520 soon.
    eg.
    adapter: http://www.monoprice.com/products/product.asp?c_id=104&cp_id=10428&cs_id=1042803&p_id=5714&seq=1&for...
    cable: http://www.monoprice.com/products/product.asp?c_id=102&cp_id=10240&cs_id=1024008&p_id=3992&seq=1&for...
    But they have several adapters and a million HDMI cables so look around a bit.
    W520 i7-2720QM | 32 GB RAM 1333 MHz | FHD 1920x1080 | Quadro 1000M | Windows 7 & Ubuntu 14.04
    Crucial M500 480GB mSATA + 2 x 1 TB Hitachi Travelstar 7200 rpm | BIOS 1.38

  • Best Video format to use for Windows

    I am creating a CD ROM (for Windows) that will show 3D animation. I need to make sure that the animations will play on user's computers without any problems.
    What is the best video format to use?

    Flash video has no dependency on pre-installed players, so is often a good choice

  • ***Best Bit Rate To Use For The Zen V Plus 8GB

    I've got the zen v plus (8gb) and I was just wondering what is the best bit rate to use, I've currently got ,32 tracks at "64kbps wma" on my zen micro(6gb) and I'm getting a bit tempted to enhance the quality of the tracks (to maybe 96kbps wma), but I don't want the space on my 8gb v plus to be consumed quickly.
    Thanx if anyone could give me any ideas

    96 kbps? If you want good sound and are using high quality headphones I would suggest using 256 kb
    ps.
    I use 256 kbps mp3 on my mp3 player. I tried 320 kbps and could not hear a difference between it and 256 kbps on my mp3 player. I could hear the difference between 92 kbps and 256 kb
    ps.
    I don't use WMA since WMA uses more battery power and gives you less run time per charge. It isn't a contest to see how many songs can be crammed into the player, but it is instead about enjoying the music. What good is having hundreds of hours of music crammed into a player if the battery life is 5 hours or less?

  • Conditin Record-Check Material pricing group

    Hi
          For a condition type condition table is :
    1.sorg/material/material pricing group
    Now condition record should be created for some specific material pricing groups;
    Therfore the system has to check in the mateiral master data whether material pricing group exists,then the system should allow the creation of condition record.
    Ex:For Z1,Z2 -material contains material pricing gorup -should be allowed for creating conditon record
    For Z3-material contaims no material pricing group- should not be allowed for creating condition record
    Is it possible to check at the time of creation of condition record whether for the material -material pricing group exists or not.
    Plz help me out
    Thanks in advance
    Arpitha

    Hi Arpitha,
    Since you already have Customer/Material field in the condition table ,there is no need for Material Price group field in it.
    You can use the Material Price Group when you are not using the material field in the condition table.
    Can you explain the exact business requirement so that i can give the right solution.
    With Regards
    Vinu.N

  • Any IDoc/BAPI for Loading Material Determination Condition records - VB11??

    Hi All,
    I need to load the material determination condition records which can be done through the transaction VB11. I dont want to do load the records through BDC.
    So, I am looking for any IDoc or BAPI which can do this job.
    Any help in this regard is highly appreciated.
    Points will be awarded for all useful replies.
    Thanks in advance,
    Surendra K

    hi surendra,
    i have a exact same task to load material determination to SCM
    "load the material determination condition records which can be done through the transaction VB11. I dont want to do load the records through BDC, i am looking for any IDoc or BAPI which can do this job"
    thank you
    sridhar K

  • FM for billing doc pricing condition

    Hi
    is there a Fm that returns all the pricing conditions for a billing document (Header and line items) with the condition types and the amounts??
    I tried to use the FM RV_INVOICE_DOCUMENT_READ, but i think this FM does not return the condition types and their corresponding amounts from KONV table. I also tried using the FM PRICING but cudn't run it.
    how can i get the pricing conditions on just giving the invoice document number?? My requirement is to get all the tax amounts for an invoice separately.
    Regards,
    Sujai

    Hi Sujai,
    Try these FM's:
    RV_PRICE_PRINT_HEAD
    RV_PRICE_PRINT_ITEM
    Regards,
    Chandra Sekhar

  • How to block sales order for a particular pricing condition

    Hi Experts,
    Here I have a requirement on sales order blocking . I have searched in the forum but I didn't find any relevant thread. So please help me in the following requirement
    On a particular pricing condition create or change I need to automatically block the sales order. I don't know how exactly to block the sales order. Please make me aware on this concept. Do we have any exit or badi to block the sales order in this requirement.
    How to block the sales order manually and automatically please explain me.
    Thanks & Regards
    G.S.Naidu

    Hi,
    You can use user exit MV45AFZZ, form-routine USEREXIT_SAVE_DOCUMENT_PREPARE to set the delivery block on sales order.  Write your required logic in this routine.  You have to set the value of VBAK-LIFSK to a relevant value available in table TVLS (Field : LIFSP).
    If the value in VBAK-LIFSK is initial, then sales order is not blocked for delivery & if it is having some value (available in TVLS), then sales order is blocked for delivery.
    Regards
    Vinod

  • Screen Varient for the Invoices pricing Conditions

    Dear All,
    I got a requirement that in the VF01 or VF02, The User should not be able change any pricing condition which was copied from the Sales Order.
    Normally pricing would be done mannualy in the Sales Order and currently there is no restriction and the User can delete the Pricing Conditions.
    Please tell me how to control this using the screen varient.
    Thank U
    U..

    Hi,
    No need to create screen varient, simply manage it by authorization object,take help of basis team
    Object -
    V_KONH_VKS (Condition type) only provide authorization for Display so user can not chnge it.
    Kapil

  • Best File Format to use for iTunes and MAC

    I have always used the AAC Encoder set to 256 kbps to import my CDs to iTunes. In preparation for moving to a music server system in the future I want to re-import my CDs at the highest quality (uncompressed) format that I can.
    Is my understanding correct that AIFF was developed for use with MAC and basically WAV for Windows? Would it be best for me to use AIFF? Should the settings be left at automatic or set to 16 bit, 44 khz and stereo?
    I understand there is a way to take these uncompressed files and compress them later for transfer to my iPod. How is that done? If there are tutorials or other directions on this site or others please feel free to direct me to those. At this point I have not been able to find an answer to my specific questions.
    Any other recommendations or suggestions is appreciated.
    Thank You
    Mike

    Macs and iTunes will recognize and play both AIFF and WAV formats. If you want to play the files on Windows machines as well, I'd say use WAV encoding. In order to ensure the quality you want, change the setting from 'Automatic' to 16 Bit, 44.1khz stereo (this is industry standard).
    When you want to compress the high quality WAVs, change the import settings to the desired format (mp3/aac etc). Then select the tracks you wish to compress and in the 'Advanced' menu, chose 'Convert selection to mp3/aac'. iTunes will then create duplicate tracks encoded to the desired format.
    Hope this answers your question.

  • EDI 820 used for Check processing

    We currently print our checks via a data file sent to a 3rd party.  They have informed us they can accept an EDI 820 instead of the custom format we send them now.  We use 820s for other payments so I am familiar with how that process works, but I am having issues getting a check number assigned since you normally would not need one.
    Today, we process our check payments with F110, and the assigned print program has the check lot information to assign the check numbers during processing.  Once that is complete, we extract the data via a custom program and send it to the 3rd party printer.  We currently use EDI 820s to send ACH payments to the bank and that is working just fine.  We use program RFFOEDI1 to create the IDOCs for the 820s.
    I am finding that if I use the current print program to assign the check numbers, I can not create the IDOCs for an 820.  If I change the payment medium on the check payment method so that I can use RFFOEDI1, then I get no check numbers.  I need the check numbers since we are still dealing with checks, but just trying to change the means of sending the data to the 3rd party printer.
    If anyone has done this and can point me in the right direction, I would greatly appreciate it.
    Thank you,
    Karen

    Sim
    I think the information you finally will be sending in the format of EDI 820 will first be stored as IDOCs. The mapping document that you develop will tell which segment in the IDOC will be stored in which EDI segment..
    for example:
    for the amount field, the IDOC segment E1IDQU5-MOABETR will be mapped to BPR02.
    a script that middleware team runs will translate these IDOCs to EDI820's using the mapping rules.
    if you are not using middleware, then probably ABAPers will use the same mapping logic to create the EDI820.
    assign points if you find this useful.

Maybe you are looking for

  • Plant abroad - when use tax indicator? Two reporting countries one invoice

    Hi! My customers has its head office (company code) in Sweden. It has plants abroad and we have activated this function. Now the sellers in Sweden have been on business trip in both Sweden and in Australia (where we have plant abroad). They have used

  • I need help with the GUI nad Graphic 2D....

    Hi i'm kind new to java and i have couple of questions... all my questions about the GUI... when i want to create a GUI programe , and when i want to draw a graphic with GUI, i do that way(code) "public class x1 extends JPanle{      public void Paint

  • Itunes store bought movie shuts down itunes

    everytime i play the movie the punisher i bought off of itunes, it shuts down my itunes or doesnt play the movie well, the audio plays as the video stops and goes

  • I can't install the new iTunes!

    I've tried about a bazillion times and it's just not working. It repeatedly says that some files are corrupt and that I should download a fresh copy which I do and yet it still says the same message. I've even erased my old version of iTunes incase t

  • Remote Panels and LabVIEW 2009

    Hello, I have updated my real-time PXI application to LabVIEW 2009 (Pro)  and I'm now trying to connect to it with remote planels.  I can only have one remote panel opened.  The second one gives me the "Remote Panels connection exceeds maximum number