SO quantity  convert problem  -_-

code :
Tables s906.
data : int1 type i.
select single * from s906 into s906 where bstnk = 'SY05'.
if sy-subrc = 0.
  int1 = s906-aemenge .   (s906-aemeng = 12.000)
  BREAK-POINT.
endif.
The table 'S906' is a  info structure of  SO . It collect the quantity of  one matiral in all SO  when a SO create.
The 'aemenge' is the SO item quantity to base unit.
The field is 'P'.
When I create a test programe by SE38,  the 'int1' is 12.
When I add the code to 'MV45AFZZ' which is a  userexit  for SO save event  ,   the 'int1' is 12000.
SAME CODE.
Help.plz.

The fact is .....
In 'MV45AFZZ'
                  data   int1 type i.
                           p1 type p decimals 3.
                  p1 = 12.
                  int1 = p1.'
the result is  'int1 = 0.012'.
But in  my test prograem
The result is 12.

Similar Messages

  • Convert Problems/Solutions into Knowledge Articles

    Hi Experts,
    I am wroking on SAP CRM 7.0 SP06 and now we are planning to implement Knowledge Article functionality.
    I have done the all configuration settings and multilevel categorization, every thing working fine. Now I want to convert problems/solutions which already created in CRM and stored in SDB into knowledge article.
    Any one please guide me how can I convert existing problems/solutions into knowledge articles. Is there any report for this?
    Thanking you in anticipation.
    Regards,
    Babu.

    Hi Kevin,
    Well, I'm new on this and have only worked on CRM 6 & 7. I'll give you my advice regarding these CRM versions. I don't know if it is supported on CRM 5.
    IMG:
    CRM >> Enterprise Intelligence >> SAF >> Name and Configure KB
    You create and define you DB as you want: ACME INC
    CRM >> Enterprise Intelligence >> SAF >> Business Add-Ins >> BAdI: Knowledge Base
    Each knowledge base should have its own Add-In implementation. So you have to implement an Add-In based on Add-In definition CRM_SAF_KB_*: CRM_SAF_KB_ACME. You can follow IMG documentation.
    In my case, the add-in already existed, since Knowledge Article functionality is standard in 7.0. KB didn't exist, I don't know why. I just created it with the name assigned on the BAdI, compiled, and everything works fine now.
    Hope it helps.
    Regards.
    Pablo

  • Canon Powershot S120 Adobe Lightroom RAW converter problem

    Have a MacBook running Yosemite. I am an underwater photographer so rely on using White Balance to get colour into my photos. Since upgrading Lightroom from 5.3 or 5.6 to 5.7 all my Canon S120 RAW files change colour after import and become a wishy washy green.  As one moves along the filmstrip, the Histogram shows calculating and all the photos lose their colour, as if the White Balance is being removed. My previous catalogue, same camera, Lightroom 5.3 or 5.6 photos import as they look on the camera. Have discussed with Canon and they think an Adobe Codec RAW converter problem. Do you have additional Codecs for Canon S120? Canon happy to discuss problem.  Their reference: 1-3374995525. Please help.

    If you look at the Tint slider with As Shot WB set, you’ll see it is maxed out at 150 for all three of your sample images. 
    I think this means that LR’s DNG Profiles don’t have the range to entirely neutralize the WB so your images are left with the wrong WB and no way to fix it. 
    Adobe profiles don’t do a good job in extreme lighting situations, especially with an overabundance of blue light which underwater pictures typically have.
    You can mess with the Calibration sliders a bit and get some of the colors to be more like the camera-JPGs have, but some colors will still be different. 
    If you have an X-Rite color-checker, that you could photograph without getting it wet, then you could make a custom camera calibration profile for that specific lighting scenario and maybe it’d work, but maybe the profiles still can’t extend beyond a certain point.  I am also not sure how you’d keep the color-checker dry underwater.

  • EZ Vinyl Converter problem transferring to iTunes - window appears  "mixmeister programme has stopped working and will shut down". Then the data is lost, and I have to try to record/transfer again.  I have now tried many times.

    EZ Vinyl Converter problem transferring to iTunes - window appears  "mixmeister programme has stopped working and will shut down". Then the data is lost, and I have to try to record/transfer again.  I have now tried many times.
    The deck is ION TTUSB05XL   Laptop   Asus V550C with Windows 8.
    Strangely I did manage to successfully transfer two tracks to iTunes, but all further attempts have failed.
    JJR

    EZ Vinyl Converter problem transferring to iTunes - window appears  "mixmeister programme has stopped working and will shut down". Then the data is lost, and I have to try to record/transfer again.  I have now tried many times.
    The deck is ION TTUSB05XL   Laptop   Asus V550C with Windows 8.
    Strangely I did manage to successfully transfer two tracks to iTunes, but all further attempts have failed.
    JJR

  • Quantity converting incorrectly

    Hello,
    I've got some code in a userexit (userexit_save_doc_prepare) that needs to convert a sales order's quantity (vbap-kwmeng) to an integer so that I can do further calculations with it.  However, the automatic conversion routines seem to be misfiring, and they also seem to be dependent on user settings (comma decimals vs. period decimals).  Here is a summary of the code and what it is doing:
    DATA: temp_quantity_out TYPE I.
    LOOP AT xvbap.
        temp_quantity_out = xvbap-kwmeng.
    ENDLOOP.
    When I go to this part of the code in debug mode after entering '2' in the quantity of the material, the value it shows for xvbap-kwmeng is '2.000'.  However, after executing the conversion, the field temp_quantity_out has the value of '2000', instead of the '2' I was expecting.  This is throwing future calculations off.  How do I get a value of '2' from this field?
    I've tried using a packed number.  I've tried using 'write to'.  I've tried using it to calculate without converting.  None of these have worked.  I even tried to find a conversion function, but didn't see anything.  Can you help?
    Thanks,
    Nathan Beeler

    Nathan,  I believe that you are seeing this behavior due to an attribute of the program itself.  In the MAIN  program, SAPMV45A,  click Go To->Attributes.  In the dialog that appears, check to see if "Fix-Point Arithmatic" is checked.  If it is not, then this is causing your problem.  An easy fix is to check this on, but make sure that you test everything else thoroughly and make sure that every is ok.  Otherwise, you will need to divide by 1000 when moving to your INT field.
    It would be safer to divide by 1000, instead of marking as "Fix point arithmatic",  SAP has left it off for a reason.
    Regards,
    Rich Heilman

  • Email PDF Convertion problem

    Hi,
    Thanks to the DIS, I'm able to check-in e-mail in my Content Server;
    As for Word, Excel and Powerpoint files, I would like to convert this incoming e-mail in PDF.
    As indicated in the PDF COnvertor documentation, it is possible to convert e-mail messages into PDF.
    To realize it, I defined a new file format in the Configuration Manager of the CS.
    The name is "application/outsidein". I chose "OutsideIn Technology" as "Conversion".
    In the file extension, I added "msg" and I mapped to the newly created format.
    Thanks to that, the email message is converted in PDF. Fine !
    The problem is the result of the conversion. It is just awful. The parts indicating the sender, the subject, ... is displayed in several pages.
    My email server is Microsoft Outlook 2007.
    Does anyone know how to improve the quality of the PDF conversion ?
    Thanks in advance
    Pierre

    the arabic font may not be supported by adobe with the version of adobe that you are using,
    Try another application that allows you to export to Adobe and see if the same issue occurs.
    You may need to get a full blown version of Adobe rather that just you the adobe provided by Crystal.

  • Process order convertion problem

    Hi All
    When I am converting the Planned Order to Process Order I am getting a error message Not able to determine the consumption account.
    Can anybody tell me how this problem can be solved.
    Is there anything I have to do in customizing
    Rregards
    Dhananjay

    Hi Dhananjay,
    check your material is been assigned to valution class in accounting view in MM02
    if it is assigned then check GL account is given properly to that valution class.
    take help of MM and FI consultant
    Thanks
    Bala
    IF useful reward

  • Zen Vision M video convertion problem: image upside d

    Tried to copy .avi videos to my ZVM, but after the required convertion?(via Creative converter to .wmv format) the video appeared upside down. Tried several times with different files -- same result. Any idea?

    trm989 wrote:
    I'm not sure what exactly is the problem with the video, but whenever I upload it, it will only play up 00:08 of 24:0. For some reason, it fails to recognize the other parts of the video, and only shows the video length as 8 seconds. The video works fine when played in Windows Media.
    The size of the video is 70 MB, and the data rate is 966 kbs.
    I would say maybe the data rate is the problem . I use this program to encode my videos & it has a preset for the Zen that also works well on the Zen VM. http://forums.creative.com/showthread.php?t=527380BTW just because a video plays on the computer does not mean it will play on your device.

  • Converting problems with QT file!

    I have a few Quicktime MOV files that I want to send a friend who owns a PC. The problem is - he gets audio but NO video (black screen) when he tries to play or convert these files with any of his software. I tried to convert the file on my Mac using Xilisoft Video Convertor, but I have the same results when I try to convert the files to Divx, AVI, MP4 or any other format. I can ONLY see the video when I play the original MOV file in Quicktime. Any suggestions?

    an H264 exported from QT is a safe way to go for windows play back-its a daily occurance here
    file >export >quicktime movie > H264

  • Adobe Media Converter problems...

    Problem #1 - seems when I'm trying to convert larger files, I instantly get the message in the timeline "Conforming file..." - this NEVER goes away.  However, 9 times out of 10, if I restart my machine and try again it will instantly start encoding without any issues - so obviously there was no need for any conforming in the first place.  What could be causing this and how do I fix it?
    Problem #2 - my file are 1920x1080.  If I convert them to f4v's without any resizing, and then play in a flash player at 640x360, the video is stretched and not as "high" as it should be, despite the 640x360 being a perfect aspect ratio to the 1920x1080.  If I do convert with resizing, then it looks fine, but I'd like to have a better quality when users switch to full screen if possible...
    What might I be doing wrong?  Thanks in advance...

    If the Audio is not in 32-bit, floating point form, with existing PEK files, then it DOES need to be conformed. I do not know of any camera that shoots 32-bit, floating point Audio, but might have missed one.
    In your Project's Scratch Disk folders do you have the CFA and PEK files already? If not, they need to be generated. If so, no Conforming should go on.
    Because of the size of the CFA's, I mentioned the free space on HDD's, as many have experienced Conforming issues, when they just did not have enough space. Cannot say that this is your issue, but is something to check.
    Also, the time to Conform the Audio will depend greatly on the Audio specs. and CODEC used, plus the Duration of the Clips, plus the speed of the computer.
    As a for instances, if one Imports a muxed MPEG w/ 12-bit 32KHz Audio (MPEG CODEC), it will take MUCH longer to Conform, than would a DV-AVI Type II with PCM/WAV 48KHz 16-bit Audio.
    With the former, one can expect to go to Starbucks, get a latte and then come back to find it completing, and with the latter, it will happen almost too quickly to even see the blue progress bar. Still, the Durations and the system will weigh heavily on those general timings.
    Good luck,
    Hunt

  • H:selectOneMenu and converter problem

    Hello
    I'm working on an application (Address Database) using JSF (Base JSF libs with IBM Faces). Apache Tomcat Server 5.5.
    Since days i'm trying to solve my problem with h:selectOneMenu and converter. I can save values correctly, but i cannot display the saved value again as a selected item.
    so here is my jsf code section:
         <h:selectOneMenu value="#{personBean.person.representative}"
                        styleClass="fldDefault fldcombo">
                        <f:selectItems value="#{partnerBean.representatives}" />
                        <f:converter converterId="keywordConvertor" />
                        <f:attribute name="SelectItemArrayList"
                             value="#{partnerBean.representatives}" />
         </h:selectOneMenu>
    representatives are keywords and in the selectOneMenu, a representative keyword object is stored.
    here is my partnerBean.jsp Code:
         private List<SelectItem> representatives = null;
         * populate keywords of type REPRESENTATIVE
         public void populateRepresentatives() {
              representatives = new ArrayList<SelectItem>();
              ArrayList<Keyword> representativeKeywords = kwHandler
                        .getKeywordsByType(KW_REPRESENTATIVE_TYPE);
              for (Keyword keyword : representativeKeywords) {
                   representatives.add(new SelectItem(keyword, keyword
                             .getKwDescription()));
    so the function gets the representative keyword objects, loop through them and add a newly created SelectItem Object to the representatives list.
    There is a converter in order to save and display (should!!) the values:
    public class KeywordConvertor implements Converter {
         public Object getAsObject(FacesContext context, UIComponent component,
                   String value) {
    ....code for saving...
         public String getAsString(FacesContext context, UIComponent component,
                   Object obj) {
    `          System.out.println(((Keyword) obj).getId()+"");
              return ((Keyword) obj).getId()+"";
    i did not provide the code for getAsObject, since the saving of the combo box works fine. If it has to do something with my problem, please ask me for this code..
    The System.out.prinln prints all ids correctly, but the generated HTML Code does not select the given value in the combobox.
    So whats wrong with the getAsString Method? or is the function completely somewhere else?
    I have to say that the function ((Keyword) obj).getId() returns a long !! is that the problem?
    Any help is very appreciated

    Hello
    i implemented the function in the Keyword Class:
    public class Keyword implements Serializable {
         public boolean equals(Keyword kw) {
              System.out.println("calling equals in:" + kw.getId());
              if (kw.getId() == this.getId()) {
                   return true;
              } else {
                   return false;
    but the System.out.print is not executed...
    i tried also:
         public boolean equals(Object o) {
              Keyword kw = (Keyword) o;
              System.out.println("calling equals in:" + kw.getId());
              if (kw.getId() == this.getId()) {
                   return true;
              } else {
                   return false;
    but then i get the following error message:
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: could not initialize proxy - no Session
    hmmm, could you show me how to implement the equals Function correctly?

  • Checkbox convertion problem in screen painter

    Hi experts,
    I would like to convert an field from DD char 1 in checkbox in the screen painter but the field is locked in my screen painter. I can't conert it to checkbox or radiobutton.
    -> The field is from an enhancement of an standard IT.
    Is their some option to unlock field in the screen painter ?
    Thanks,

    Hi,
    first check u are declare text boxes in TOP INCLUDE if OK, then change data type text to integer. it may be problem of it, can u post u r code where u assigned a value in text box.
    Abhilash

  • Character Converting Problem at File Adapter

    I am having a character conversion problem bringing in a XML file into XI.
    It is converting the data wrong.
    I have a file adapter picking up Audit.xml encoding is utf-8, use binary mode to pick it up.
    XI takes the file and converts it into a text file.
    I compared the hex of Audit.xml source file and the Audit.txt file and the characters are different for a specific few.
    See attached image for details
    Please let me know if any additional information will help
    http://i9.photobucket.com/albums/a68/tkc204/SAP%20XI/Audit.png

    Actually for this case Christian is right the source xml that I am receiving wasn't valid UTF-8. The program generating the xml was just putting the encoding - utf-8 tag on top because that's what the code told it to do.
    The actual data is Windows-1252 in xml. So when XI reads it, it uses the utf-8 tag on top and is expecting UTF-8, but it was getting something else causing the unsupported characters to get converted.
    The HEX was different on the Source XML comparing it to what XI was generating after File Adapter.
    After making the output change to Windows 1252. It changes back to the expect HEX.
    Source - is at Windows 1252
    XI - it will use UTF-8 (no way to change it)
    Target - forced to create in Windows 1252
    Other helpful tools I used: W3C Validator - upload the file and found that I wasn't receiving UTF-8
    I hope this is clear and helps someone else in the future.
    Thanks For everyone's input.
    Chirag

  • FM used to convert problem description to it_text ?

    Hi all,
    What is the FM or routine used to convert the problem description or notes we provide in WEBUI to it_text which is an importing parameter for ORDER_MAINTAIN FM?
    Thanks,
    Karthik

    I found one possible solution and a spot where you can put a break point and analyze the standard
    1- Possible solution: cl_crm_erms_converter=>convert_string_to_table
    2- Spot where you can place a breakpoint an analyze the standard: CL_CRM_TEXT_RUN_BTIL->IF_CRM_RUNTIME_BTIL~MAINTAIN_ATTRIBUTES
    Did you try to perform a reference search on the type table CRMT_TEXT_COMT you will find plenty of spots where is used and from here...analyze time
    Cheers!
    Luis

  • MS OFFICE 2014 Converting Problems

    I have just bought Adobe XI Pro, I am also using MS OFFICE 2014.
    When I save Word file as 2014 format and convert it to PDF , On header & footer section , if there is a picture or shape behind  writings, writings are  not been shown when converted.
    If I print it with Adobe Printer Than no problem. If I save Word file 2010 format and convert to PDF. Than no problem.
    Does Acrobat XI Pro or  Acrobat Disteller  support fully MS OFFICE 2014  or what is the solution ?
    I can not change all my word file format to previous one!

    Hi Ayhan ,
    The latest version of Ms Office is 2013 ,I believe you have typed that mistakenly.
    Ms Office 2013 is compatible with Acrobat 11.0.1 and above .
    Try updating it to the latest version .
    Launch Acrobat>Navigate to Help>Check for Updates
    You may want to refer to the following link as well.
    https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    Regards
    Sukrit Dhingra

Maybe you are looking for

  • QR Barcode displays in Acrobat X Pro but converts data to graphic in Reader 8.  How to fix?

    The QR barcode, which displays 3 items, works perfectly in Pro X but changes from graphic to text when form completed by "user" in Reader 8.  How do I prevent this happening.

  • APEX  3.1.2 upgrade Question.

    Hi All, Currently we have APEX 3.0.1.00.08 on Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi Linux. Is it possible to upgrade to 3.1.2 on the same database? Is the any issues if I upgraded to 3.1.2? My current version of application

  • Flow diagram of AP,AR,PO and OPM MOdule

    Hi, I want to learn the flow of tables of AR,AP and OPM module. My question is that is how to learn these flow and ...is thr any documents or flow diagram ?? I am new in Oracle so i want to know the functional flow also. Please share the documents if

  • Is there any way to convert recorded actions into JSX Javascript file?

    For photoshop, there's http://ps-scripts.sourceforge.net/xtools.html (scroll down to "ActionFileToJavascript") which can convert recorded photoshop actions into jsx. Is there any such resource for Illustrator?

  • Iweb designs working outside MM

    I am a heavy user of iweb, using iweb 09. I am dissapointed that apple have dropped iweb, and no longer seem to develop the app as it has so much potetntial. However, i finally got round to buying a years web hosting space, and shared domain mapping