An question in T-CODE ABZON

I use T-CODE ABZON to enter asset transaction.My company code was HJW1.When I enter the asset 10000 and fill other fields and press return,the sap give me an error "Check your quantity entry, asset HJW1 10000-0 does not manage quantities".Then the sap pop up an message box with "document number HJW1 1 2000 was already assigned" and let me exit the screen.I don't know why and how to manage the quantities.So I need your help.Thank you.

Hello Melody
The error AAPO183 arises when the receiving asset does not contain a
unit of measure for the quantity . Please ensure that you have defined
a unit of measure (MEINS).  For your case, you can go to AS02 and change
your asset to have a unit of measure (the field beside quantity)
Please also see note 44944 which explains this.
Other related errors to understand the theory behind are AAPO181 and AAPO168. You have take into account if the asset does have in the "asset master record
a "unit of measure" indicated or not.
If you display the asset master, in trx. AS03 and you can see a
"unit of measure", then this asset is supposed to be posted by
quantities...
In this case, if you try to post an acquisition for this asset,
without indicating quantity, then you get the WARNING message
AAPO168 (Enter quantity in &2 asset &1 has quantity update)
Why is a warning? Cause it is just a reminder that this asset can
be posted with quantities. Not an error, cause quantity can be
manually updated in the asset by trx. AS02.
Now the error AAPO181 (Enter both quantity and unit of measure). This error comes from the relation between "quantity" and "unit of measure" in the posting, not in the asset master.
So if we go to ABZON, and indicate and unit of measure without
indicating quantity, you get the ERROR message AAPO181.
Why an error? Cause you are indicating to the system that an
unit of measure is involved, so it is not logic to have quantity
zero then.
I hope this helps you.
Regards
Javier

Similar Messages

  • Some question about sql code

    for example:
    select
    from testtable
    outputs below results:
    item_desc
    950gapple(z)110ml*40
    650gbanana(z)215ml 1x18
    make above example outputs below result:
    item_desc
    a950gapplez110ml40
    a650gbananaz215ml1x18
    how to write above sql code?
    who can help me?
    thanks

    Jameel Provided solution to one of your other thread
    a question about sql code
    Try the below query. You can modify the TRANSLATE function to add the characters you want to remove from the string.
    select 'a'||replace(translate(str,'()* ','`'),'`') from testtable

  • Ucs question about major code F0283 and dce interfac and chassis number?

    dear,
    Introductions:
    one 6120 connect  chassis 1 one 2104-1 and   chassis 2 one 2104-1
    chassis 1 have sever 3/4/5/6/7/8  (all sever is B200 M3,two 2104)
    chassis 2 have sever 1/2/3/4/5/7 (sever 1/2/3/4 is B200 M3,two 2104)
    question
    1.major code F0283
    all server have  major code F0283 ,but all sever  still can use.what this? How I did it?
    affected object:sys/chassis-1/blade-6/fabric-A/path-1/vc-722
    description: ether vif 1/6 a-722 down,reason: unknown
    chassis 1 have sever 3/4/5/6/7/8
    chassis 2 have sever 1/2/3/4/5/7
    i shutdown all ,and start the problem is also.
    affected 
    i shutdown all ,and start the problem is also.
    2.on chassis 1 sever-1 adapter 1 dce interface (dce interfac 1 and dce interface 5)
    ony one use? 
    3.
    chassis 1 have sever 3/4/5/6/7/8
    chassis 2 have sever 1/2/3/4/5/7
    but i reboot ,
    chassis 2 have sever 3/4/5/6/7/8
    chassis 1 have sever 1/2/3/4/5/7
    so the profile is disorder
    i shtdown all,and start chassis 1 ok ,later chassis 2
    the problem is ok..what this ?

    Hi Hailing,
    The transport VIF for server is down.The Cisco UCS Manager raises this fault when any of the following scenario occur:
    •Endpoint(switch/fabric  interconnect) reports the connectivity state on virtual interface as  one of: a.down, b.errored, c.unavailable.
    Verify  that the blade discovery was completed successfully. Check the states  on all of the communicating ports in an end to end manner.
    If connectivity seems correct, recommision the server.
    Also, please make sure you are using the correct drivers of the OS installed in the server as Padma recommended you.
    I hope this helps.
    David

  • T-code ABZON and F-91

    Can someone please tell me wht type of transaction do we post with T-code ABZON and F-91?
    and will be the Credit and debit entry?
    Please let me know
    thanks

    Hi,
    When you have posted the amounts on an open item account and you want to post this to an asset an clear the open itme in one step you are using the transactin F-91.
    When this account is not an open item account the posting is going faster with ABZON.
    When it is a clearing account it is possible to to use ABZON and then clear manual the account
    Paul

  • I need help, I have alot of questions too (swing, code, optimizing...)

    Hi, I'm having a little trouble with aligning my GUI correctly. Here are screenshots from my laptop which runs OS 10.4 & my PC running Windows 2000:
    http://kavon89.googlepages.com/clipper.png <= On the laptop
    http://kavon89.googlepages.com/clipper_windows2000.jpg <= On the PC
    I don't know why the OS 10.4 looks almost perfect and the win 2k is a disaster. I played with it on my laptop and once i came over to my PC to post a problem about somthing else, i noticed this issue on my windows box. My guess is that either the JButton on OS 10.4 is smaller than the one for win2k and causing the automatic organizing to malfunction... or maybe the pixels are larger on my PC then on my laptop.
    I was thinking that I should make diffrent .jar's for each OS since there are GUI issues.... or is there a way to make it universal? (i read somwhere about GridBag?)
    Next off, Is there any way to reduce the size of the space between the JList box closest to the top of the frame & the buttons & text box below it? I tried all sorts of resizing and it seems stuck on some sort of space there which i would like to make compact.
    Those are all the swing questions i have ^
    About my code:
    I recently added 2 buttons which are at the bottom of the OS 10.4 screenshot, Clear Box & Drop All. Clear Box is the one I made work, or so I thuoght. I wrote this for my Clear Box button (by the way, the button is sapose to just clear the text box directly to the upper left of itself.)
           if(e.getSource() == buttonc)
               textfield.setText("");
           }I thought that was the best way to go about clearing the text box. just setting it to blank. But after some testing to ensure there were no reprocussions, I found a problem... When i select somthing from my JList and hit Clear Box, it deletes the entry in the JList when it is not sapose to. It also does it when there is text in the textbox and i have selected somthing in my JList. I haven't been able to figure out why. Here is my full source code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class winclipstart
      JButton buttona, buttond, buttonc, buttonda;
      DefaultListModel clippedtxt = new DefaultListModel();
      JTextArea textfield;
      JList ClippedLines;
      public static void main(String[] cheese){new winclipstart().buildGUI();}
      public void buildGUI()
        JFrame frame;
        Container contentPane;
        JPanel Bottom = new JPanel();
        JPanel Top = new JPanel();
        frame = new JFrame();
        frame.setTitle("Clipper 0.1 Beta");
        contentPane = frame.getContentPane();
        ClippedLines = new JList(clippedtxt);
        JScrollPane scroll2 = new JScrollPane(ClippedLines, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        scroll2.setPreferredSize(new Dimension(400,150));
        textfield = new JTextArea(3,20);
        JScrollPane scroll1 = new JScrollPane(textfield, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        buttona = new JButton("Clip");
        buttond = new JButton("Drop");
        buttonc = new JButton("Clear Box");
        buttonda = new JButton("Drop All");
        Bottom.add(scroll1);
        Bottom.add(buttona);
        Bottom.add(buttond);
        Bottom.add(buttonc);
        Bottom.add(buttonda);
        Top.add(scroll2);
        Box All = Box.createVerticalBox();
            All.add(Top);
            All.add(Box.createVerticalStrut(5));
            All.add(Bottom);
        contentPane.add(All);
        buttonL cl = new buttonL();
        buttona.addActionListener(cl);
        buttond.addActionListener(cl);
        buttonc.addActionListener(cl);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setResizable(false);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
        frame.setSize(424,314);
        ClippedLines.setDragEnabled(true);
      public class buttonL implements ActionListener
        public void actionPerformed(ActionEvent e)
           if(e.getSource() == buttona)
              String elementToAdd = textfield.getText();
              if(elementToAdd.equals("")==false) clippedtxt.addElement(textfield.getText());
           else
             int index = ClippedLines.getSelectedIndex();
             if(index > -1) clippedtxt.remove(index);
           if(e.getSource() == buttonc)
               textfield.setText("");
    }There is a stray dragenabled true line in there which on my ibook showed that it drags after holding the mouse button down a little longer than expected, and it shows im dragging , but obiously not dropping because i haven't configured dropping yet. but on my windows machine it shows nothing of it. oh and, on the ibook it shows it with a green "+" and then makes it look like im trying to put it inbetween two other lines but does nothing when dropped like expected
    Another question: In the beginning of my code i have it loading the entire library with the *, and i noticed after turning it into a .jar that it loads slower than i expected... would a way to speed it up be to specify exactly what i need loaded after the program is finished or would it make no diffrence?
    :-/ seems my program isn't as cross platform as i exptected java to be

    I solved the code problem myself after a careful run through of the code, the "else" in my subclass made it so that every button other than the Add button deleted a selected entry, i quickly fixed it and made it an if statement.
    Thank you for the link cotton.m
    My question bout optimizing still remains though:In the beginning of my code i have it loading the entire library with the *, and i noticed after turning it into a .jar that it loads slower than i expected... would a way to speed it up be to specify exactly what i need loaded after the program is finished or would it make no diffrence?

  • Quick Question About Javascript Code

    I'm trying to write some code in JavaScript so that a different image will display every time someone loads my homepage. I have come across a section called
    'imgct' what does "ct" stand for?
    Please excuse the stupid question but this is my first time!
    If anyone could point me in the right direction of how to do this aswell I would be extremely grateful!
    Thanks
    Kyra

    I'm so sorry about this, it just doesn't seem to be working, I did what you suggested but it still doesn't show up in my browser. :S
    The is the code view of my page now:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="Style_sheet.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    homeImg = newArray(
    "Images/Homepage/Image1.jpg",
    "Images/Homepage/Image2.jpg",
    "Images/Homepage/Image3.jpg",
    "Images/Homepage/Image4.jpg",
    "Images/Homepage/Image5.jpg"
    ImgCt=homeImg.length;
    function swapImg() {
        if (document.images) {
            randomNum=Math.floor((Mathrandom()*ImgCt));
            document.images ["homePicture"].src = homeImg[randomNum];
    window.onload = swapImg()
    </script>
    </head> 
    <body>
    <div class="container">
      <div class="header">
    *//There is a spry menu bar that goes here//*
        <!-- end .header --></div>
      <div class="content">
      <img src="" name="homePicture" width="627" height="250" id="homePicture" /> </div>
      <noscript><img src="Images/Homepage/Image2.jpg"/></noscript>
    As you can see I have also tried to add in a 'noscript' tag incase someone doesn't have javascript enabled etc. although when I preview it in IE I see both 'Image2' and the image placholder where teh random image is meant to appear, but doesn't.
    I'm very grateful for all the help you are giving me!
    Thank you
    Kyra

  • Question about Byte Code

    Hello...can anyone tell me how I write a java program, compile it and get my byte code written into another file??
    Thanks in advance!

    I am looking to write my bytecode into a .bc file and
    open it and actually be able to read the bytecode
    instruction...(stuff like iload_2, i2d etc.,)I see... that was not clear from your first question. What you want is a disassembler. The SDK comes with one called 'javap': http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/javap.html

  • Quality Module Question: Grouping Defect Codes by Work Center

    Is it possible to group Defect Codes by Work Center?

    Welcome to the forum.
    Please post this question in the below forum
    [Forum: ERP Operations - Quality Management (QM)|SAP ERP Operations - Quality Management (SAP QM);
    thanks
    G. Lakshmipathi

  • LAST QUESTION ABOUT MY CODE (promise)

    Here is my final code for the 6/49 lottery game (it's a more simplified version so don't mind that there is no Bonus Number) sorry for the long code...
    I'll just post my question here for those who don't want to go through all of this.
    I want to throw an exception and let it catch it after the first input box appears. So let's say I entered text or a null value in the first input box then it would loop back to the beginning of the program and output a message saying "You entered a wrong value!"
    But in the code that I have, even if I enter text or just press enter without inputting anything, it just moves on to the next input box, until on the 6th input box it says "invalid value".
    So how would I proceed in doing this?
    THANKS!
    import java.util.Random;
    import javax.swing.*;
    public class Game
         public static void main (String args[])     
              mGame();
         }//end main
         public static void mGame()
              JOptionPane.showMessageDialog(null, "Ali Uz\n110231263", "About", JOptionPane.PLAIN_MESSAGE);
              Random randomNumbers = new Random();
              String sInput,
                      win = "";
              int iNumber1=0,
                   iNumber2=0,
                   iNumber3=0,
                   iNumber4=0,
                   iNumber5=0,
                   iNumber6=0,
                   match=0,
                   randNumber,
                   prize=0;
             int array [] = new int [50];
              try
                        //get the numbers from the user
                        sInput=JOptionPane.showInputDialog ("Enter winning number 1.");
                        sInput=JOptionPane.showInputDialog ("Enter winning number 2.");
                        sInput=JOptionPane.showInputDialog ("Enter winning number 3.");
                        sInput=JOptionPane.showInputDialog ("Enter winning number 4.");
                        sInput=JOptionPane.showInputDialog ("Enter winning number 5.");
                        sInput=JOptionPane.showInputDialog ("Enter winning number 6.");
                        //convert strings to integers
                        iNumber1=Integer.parseInt(sInput);
                        iNumber2=Integer.parseInt(sInput);
                        iNumber3=Integer.parseInt(sInput);
                        iNumber4=Integer.parseInt(sInput);
                        iNumber5=Integer.parseInt(sInput);
                        iNumber6=Integer.parseInt(sInput);
             }//end try
              catch (Exception e)
                        System.out.println ("Invalid input please try again");
                        System.exit (0);
              }//end catch
              for (int i=1; i<=6; i++)
                   randNumber = 1 + randomNumbers.nextInt(49);
                   array [randNumber] = randNumber;
                   if (randNumber==iNumber1)
                             match++;
                   else
                             if (randNumber==iNumber2)
                                       match++;
                             else
                                       if (randNumber==iNumber3)
                                                 match++;
                                       else
                                                 if (randNumber==iNumber4)
                                                           match++;
                                                 else
                                                           if (randNumber==iNumber5)
                                                                     match++;
                                                           else
                                                                     if (randNumber==iNumber6)
                                                                               match++;
                   if (match==3)
                        prize = 10;
                        if (match==4)
                             prize = 1000;
                             if (match==5)
                                  prize = 10000;
                                  if (match==6)
                                       prize = 1000000;
              for ( int counter = 1; counter < array.length; counter ++)
                      if (counter % 7 == 0)
                                System.out.printf("%s\n", array [counter]);
                     else
                            System.out.printf("%s ",  array [counter]); 
                   if (match >= 3)
                             System.out.println ("You have gotten " + match + "/6 correct\nYou have won $" + prize);
                   else
                             System.out.println ("You have gotten " + match + "/6 correct\nSorry you have lost! Please try again");     
    }//end class Assignment1

    Your problem here as that the exception you want to
    throw takes place here
    iNumber1=Integer.parseInt(sInput);
    public void showMessage(int number){
    try{
    sInput=JOptionPane.showInputDialog ("Enter
    nter winning number " + number);
    iNumber1=Integer.parseInt(sInput);
    }catch(Exception e){
    System.out.println ("Invalid input please try
    e try again");
    System.exit (0);
    }then call this method from inside a for loop:
    for(int i=1; i <=6; i++){
    showMessage(i);
    }Hope that helps you a littleOnly catch NumberFormatException there, though.

  • Question about error-code in web.xml

    Can you use pattern matching for error-codes?
    Instead of
    <error-code>401</error-code>
    <error-code>403</error-code>
    <error-code>404</error-code>
    etc..
    you could just do
    <error-code>4*</error-code>

    I don't know a replacement for this, but I recommend to post this questione into Servlets section to get more chances for receiving answers...
    Regards,
    Mohammed Saleem

  • Questions about byte code

    1.How can a java program mutate and kill itself after running a certain times?
    i think the argorithm is to modify the byte code, but i don't know the structure of the byte code.
    for example:
    "int i=1156;
    victim.seek(i);
    int changed_byte=(int)victim.readUnsignedByte()+1;
    victim.seek(i);
    victim.writeByte(changed_byte);"
    how can i know that 1156 is the place that count the running times of the program. please help me and give the relevent pages to read, many thanks!

    In Mustang, the java.lang.instrument API has been extended to allow not only redefinition of classes, but also retransformation (without / with original bytes, respectively), so you could hook up a Java agent to transform classes at will. You could use this with 5.0, but you can't get the actual bytes for the current class from the JVM when retransforming classes. See http://java.sun.com/j2se/1.5.0/docs/api/java/lang/instrument/package-summary.html#package_description and http://download.java.net/jdk6/docs/api/java/lang/instrument/package-summary.html#package_description for more on instrumentation in 5.0 and (provisionally) 6.0.
    You might find a tool I've been working on lately useful: http://jen.dev.java.net/ - It basically presents a mutable class with a collections-ish interface and allows you to generate as bytes or a Class. It can be used in regular code, in agents, with .class files, byte arrays, java.lang.Classes, and so on.
    However, I would question your motivation here, particularly since you're using names like 'victim' and 'attacker'. You will struggle to do any of this is the user really doesn't want you to, since the platform is designed pretty well against it.

  • Question on bar code 128 B (BC_C128B)

    hi all,
    i have 2 question of creating a custom bar code 128 Bvia SE73.
    1.for conventional system bar code, what is the correct step or parameter to fill up to get the code 128 B to print. I've created one but fail to see the bar code printing.
    2. for the new bar code technology, which Code128 Mode (N,A,C) i suppose to choose if i want to use BC_C128B.
    thank you.

    Hi
    The code set128 is having  below modes
    AUTO:
    The starting code set is determined automatically.
    A:
    Start the barcode with code set A. Code set A encodes all uppercase and ASCII control characters.
    B:
    Start the barcode with code set B. Code set B encodes all uppercase and lowercase characters as well as printable characters from the space (32) to DEL (127).
    C:
    Start the barcode with code set C. Code set C encodes numeric digit pairs 00 through 99.
    have a look into the below links for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
    http://wiki.sdn.sap.com/wiki/display/Snippets/Newbarcodetechnology(smartforms+only)
    kyocera printer BARCODE type C128 prints in small size.how to increase size

  • Filevault encryption: no security questions, no recovery code; how to revert?

    Running the latest Yosemite (10.10.2) on an iMac (upgraded from Mavericks) ...
    I decided I wanted to encrypt the boot drive on our iMac, so I clicked to turn on Filevault. Here's what happened:
    I was NOT offered a recovery key. (As this point, I didn't know when the key is normally offered.)
    I DID get a window that asked if I wanted Apple to save my key, and I clicked on the radio button to do so. Then I clicked on CONTINUE.
    I did NOT get any security questions to answer, just a RESTART button. I thought, maybe the security questions come after the restart.
    I clicked on RESTART and the iMac restarted and encrypted the drive (17 hours).
    Concerned that I didn't have a recovery key, I read up on the forums. Sounded like if I simply used my user password, I could turn off Filevault to decrypt the drive, and I'd be back to where I started. I did so, and watched as it decrypted the drive (6 hours). Filevault indicates that is is "now off." 
    I thought I'd try again, so I clicked to turn on Filevault. This time, I did NOT get a recovery key (same as before) and I did NOT get the window asking if I wanted Apple to save my key — only an immediate RESTART button. I canceled.
    I restarted the iMac, noting that the startup graphics were different — the iMac now starts immediately with an all-white screen, something that one forum participant said is evidence that your boot drive IS encrypted regardless of what Filevault says.
    This concerned me because it now seemed like the drive might be encrypted and I had no recovery key and hadn't been asked any security questions.
    I thought if I turned on Filevault I could generate a fresh recovery key that would supplant anything Apple was storing for me — and give me a chance to answer security questions.
    I turned on Filevault and was, for the third time, NOT offered a recovery key but this time I DID get the window that asked if I wanted Apple to save my key. Apparently the restart at least added this screen. I cancelled.
    So while Filevault says it is off, the immediate white start-up screen suggests the drive may be encrypted. Regardless, Filevault is not offering a recovery key or security questions.
    I have sketchy ideas about how to rectify things:
    I could start up from an external backup (unencrypted) of the boot drive, erase the boot drive, and clone the backup to the boot drive. Will that create a bootable (non-encrypted) startup drive? I don't think so ...
    I could start up from the external backup (unencrypted) of the boot drive, erase the boot drive, then do a clean install of Yosemite on the boot drive. Would that clear any existing encryption? I don't know ...
    Or I read about using Terminal to un-encrypt a drive?
    Any advice would be much appreciated.
    Thanks,
    Bradley

    Click here for information. If you can't get the answers emailed to you for some reason, contact the iTunes Store staff via the link in that article.
    (80111)

  • Question about JS code hinting

    When dreamweaver codehints javascript the code options have a little icon to the left
    i have seen red squares, hollow green circles, and yellow squares balanced on on it's its corners.
    what do these symbols mean?

    Company code is create  for legal requirement purpose.
    ex:  You have create A Comapany. company act 1956 every comapny has submmited the financial years Balance sheet and profit loss a/c govtment.
    Business area:  to veiw the divisional wise balance sheet and profit loss a/cit is mainpurpose of business area.

  • Question on T-Code 2KES - PCA forward

    Hi,
    a generell question regarding the PCA in SAP: If we are posting some PCA bookings in 2010 and executing the 2KES afterwards what happends to our earlier bookings? (will be overwritten vs. will still be there)
    In generell: Can somebody lead me to a documentation how the tables GLPCT and GLPCA are organized? (have trouble to understand the 1KEH as well).
    Thanks a lot in advance.
    BR,
    Hansi

    Hi,
    Check this link:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/43/4ef8621c091dede10000000a422035/frameset.htm
    Hope this helps.

Maybe you are looking for

  • FRM-40502 unable to read list of values

    Hi all FRM-40502 unable to read list of values am getting this error when i try to populate list of values for some employees only The LOV query is as follows Select dsm_code,dsm_desc,dsm_content from deschange_master where dsm_orgn=:parameter.p_orgn

  • TS1717 itunes will not start automatically when the phone is plugged in

    My iTunes will not start on my pc when I plug the phone in and the box to check is greyed out

  • ORA-12899 : Does it exist an option to truncate automaticly the data too...

    Hi, I work on a migration project : Sybase to Oracle 10g. There are a lot of request INSERT writed in Sybase with data too long to be insert in a table. Example : create table MyTable (txt varchar(10)) insert into MyTable values ('AAAAAAAAAAAAAAAAA')

  • Layer mask advise

    I use Photoshop CC for astrophotography processing, I have watched a number of tutorials for this but they all seem to be on older versions of Photoshop, I am having problems adapting the information in to Photoshop CC. One example is the following v

  • Table for email settings

    Hi, We have more than 100 reports scheduled in broadcaster. The client would like to know which WAD template / query goes to which user. Is there a table to get list of email related settings for all WAD / Queries (e.g. Subject line, list of recipien