Po quantity multiply by 1000

Dear:
  I'm using script to print PO .  But the po quantity multiply by 1000.
I found it's processEd by some standard program.
1.        PERFORM menge_ausgeben USING ekpo-menge *t006-decan
                                     rm06p-prmg1.
2.
  form menge_ausgeben using mga_menge mga_decan mga_ameng.
data: h-ameng like rm06p-prmg1.
write mga_menge no-sign to h-ameng.
  write mga_menge no-sign decimals mga_decan to mga_ameng.  "569326
if mga_andec eq 0 and
    h-ameng+14(3) eq '000'.
   shift h-ameng right by 4 places.
endif.
mga_ameng = h-ameng.
Example:
     ekpo-menge = 90.000
    *t006-decan  = 3
   result: rm06p-prmg1 = 90,000.
  The correct result should be 90.000.
How can i modify it?
Thanks.
BR
ENDFORM.                               " MENGE_AUSGEBEN

I am thinking this must be a decimal notation problem. Check if you are using the required decimal notation.
In First SAP Screen Go to the Menu    Systems -> User Profile -> Own Data
Then go to the 'Defaults' Tab and verify if the Decimal notation is 1,234,567.89 (and not 1.234.567,89)

Similar Messages

  • Bug  5064928-THRESHOLD VALUES IN DOMAIN CONFIGURATION MULTIPLIED BY 1000.

    Where can I find more explanation/doc for the bug 5064928?
    the only information I came across was:
    THRESHOLD VALUES IN DOMAIN CONFIGURATION MULTIPLIED BY 1000.
    Is this because there is a difference in 10.1.2.0.0 and 10.1.2.0.2 configuration settings (ms and sec)? Applying this patch, the default domain disappears!!!!!!!!!!
    This patch is for 10.1.2.0.2.

    I have the same errors occurring at an alarming rate. I did isolate it to the App Store. Specifically when checking for an update. I was hoping that you could test this out for me. Go to your console log and select all messages and then check kernel in the sender box (bottom left). I found that now is a good time to insert a marker. Now launch the app store then got to the update section. Select check for update.
    Does this generate a series of the errors? I can reproduce the errors every time I "check for updates". The error would not show up when checking for updates in iTunes.
    I did notice errors in both extending from CFNetwork
    App store:
    2015-01-15 8:40:38.047 AM storeassetd[356]: CFNetwork SSLHandshake failed (-9802)
    iTunes
    2015-01-15 8:53:53.986 AM iTunes[2200]: CFNetwork SSLHandshake failed (-9806)
    Please compare and see if you get the same results.

  • PO Quantity divided by 1000 in LSMW

    Hi Experts,
    Hope you can help me.
    I created a LSMW to create PO. I'm using direct input and program RM06EEI0. Everything is working fine and the PO's are created in the system. The only problem is when I look at the PO (ME23N) to check if all the data is correct, I noticed that the PO Quantity (MENGE) are divided by 1000. I mean if the value in the LSMW files is 10, in the PO shows 0.010. This happen with all the quantities I loaded.
    Any idea what is causing this?
    I don't have any translation or user defined routine that is using this field.
    Thanks in advance,
    Mairo.

    Thanks JÜrgen.
    I added 3 decimals in the source file.
    It working fine now.
    Regards,
    Mairo.

  • Getting Unit Price from Net Price by dividing with Quantity.

    Good Day Guys,
            I have a requirement, wherein I've got to find the Unit Price Per Item, by Dividing Net Price with the Quantity.
    Currently, Quantity field (MENGE) is of type  QUAN.
    Let me tell you what I experience when i divide by type QUAN:
    I have  Net Value        :       87405.32
    I have Quantity Value  :       2.000 (Data Type - QUAN)
    When I divide ( 87405.32 /  2.000 ), I see that I am getting, a value which is 43.72.
    ( It should acutally be, 43702.66 ).
    So, On seeing the value 47.02, I multiply by 1000 and I now get the value 43700.00
    Now, I see the Decimals, the Units, and the Tenths, are all replaced by zeroes, by doing so. This still is a problem, cause I don't get the exact value of 43702.66
    I guess, I need to find a function module that will change this quantity of  2 which of type QUAN to Integer, in order to get the exact value.
    Would it be possible for any of you, to give me a suggestion as to what i can do, to obtain the exact value, and if there is any function module that will convert QUAN type to Integer.

    Hi,
        Actually, I did not explain well i guess.
       What is happening is that I am getting these values, from an excise table,
    J_1IEXCDTL.
    For Net Price, from table J_1IEXCDTL.
          This has, Field               :  EXBAS,
                        Data Element   :  J_1IEXCBAS
                        Domain            : WERT7
                        Domain  WERT7 is of type, CURR.
    For Quantity this, from table J_1IEXCDTL.
            This has, Field:              :  MENGE
                          Data Element  :  J_1IMENGE
                          Domain           : MENG13
                          Domain MENG13 is of type, QUAN
    So, if you do lv_result = lv_price / lv_qty, then you won't get 43702.66. Instead, you'll get 43.72.

  • Quantity is different from sale order and delivery

    Hi,
    Gurus,
    Quantity is different from sale order and delivery.
    I identified the Material in the sales order, the item category for this material as BOM.
    I have also checked the bill of material display header overview. The Base Quantity maintained as 1000 EA3. The SUBITEM maintained in G in the unit field in bill of material display.
    Accordingly i have checked the same for material master's additionl data in Units of Measure tab, it is mentioned the basic unit as 1000 EA3 and alternative unit as 600 G.
    My client processed the order for 100 QTY. The QTY for the two sub item is 99.601 each in the sale order.
    My client Question is why in delivery the Material Qty is coming as 99.730 and the SUB ITEM is coming as 99.330 EACH.
    Note:- The material X is maintained in EA3 in Bill of material header overview. I do no how the sale unit came as G for the Material in sale order.
    The other two sub item is perfectly coming as G. Because it is maintained in G in the Bill of Material Display.
    Guide me GURUS.
    Thanks and Regards,
    ANAND

    Hello Rumar
    I guess you entered the text manually in the sales order. The Ship-to may not be having any text, but the Sold-to may be and it may be coming from sold to.
    In transaction VOTXN, check the access sequence for the text type id and see which one takes precedence - one from customer master or from the order by checking the order of accesses.

  • 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

  • How to manage different supply parameters for the same item based on demand quantity?

    We are using unconstrained ASCP.  We have some products that can be produced in a 'small' machine or can be produced in a large tank.  If ASCP has created a planned order for a quantity less than 1000 it will be made on the small machine with the supply quantity = demand quantity.  For example, we have a demand of 250, we will make exactly 250 on the small machine.  But if the demand quantity is greater than 1000 we will make the supply in the tank with a fixed order quantity of 1590.  Financially it will cost us less to do this and scrap the difference because the small machine is very expensive to run compared to the tank.
    The challenge is, say we need 1200.  ASCP generates a planned order for 1200 and all the dependent demands support 1200.  Now we want to make 1590 and we are short of materials.  This assumes we have set the item with no supply parameters.  On the other hand, if we set a fixed order quantity of 1590 but only need 100 then we we have to scrap the materials for the balance due to a short shelf life.
    Any ideas how to set a supply quantity using different parameters based on the demand quantity?
    Mark Madal

    Hi Mark,
    I personally don’t see any standard solution for this requirement especially with an unconstrained plan.
    However, if it is feasible, you can try below solution with a 'constrained plan with decision rules enabled' and check if it works,
    1.   1. Define two different items – Item A and Item B
    2.   2. Item A uses small machine in its routing and can have any demand that is below 999. So, Max order quantity = 999.
    3.   3. Item B uses Large Tank in its routing and is a substitute of item A. Also, fixed order quantity = 1590.
    4.   4. Define component substitution relationship between A and B. A and B will have identical BOM.
    In a constrained  plan with decision rules enabled, optimization logic will ensure that planned orders are generated for Item A whenever there is demand below 999. And for Item A, supply will always be equal to demand quantity. When the demand is more than 999, optimization engine will select substitute item B and will generated fixed supply of 1590 for it.
    Check if this satisfies your requirement.
    Regards,
    Durgesh P
    (Please mark this post helpful or correct, if answered)

  • Quantity for activity type

    Dear CO,
    SKF quantity is connected to receiver cost center.
    May I know Activity Type quantity is connected to receiver cost center or sender cost center? My understanding is connected to sender as sender will allocate the activity base on quantity multiply the rate. But some say not correct.
    Example quantity in KB21N. this quantity multiply rate would be the activity allocated cost.
    Kindly correct me if my understanding is not correct.
    Thank you very much
    help.sap.com

    Hi Vaithiyanathan,
    Go to table AUFK and pass order number and get the OBJNR. This OBJNR you need to pass to table COEP to get the relevent actual cost details.
    Thanks & Regards,
    Ramagiri

  • Can we Purchase with Secondary UOM Quantity and with Secondary UOM Price on

    Friends..
    wanna ask about Purchasing matters..
    we have item with Dual Unit of Measure, say it with Kilogram and Pieces,
    now, on Purchase Orders Form, when i enter my order,
    TOTAL Price is driven by Primary QUANTITY multiply PRICE.
    My question:
    when user would like to purchase with SECONDARY UOM, how oracle handle it?
    i mean, when i try to locate secondary quantity,Total Price is still driven
    by Primary QUANTITY (which is already autoconvert after i enter secondary quantity)
    multiply PRICE.
    is there any advanced setup to do this?
    if not user have to manual calculate the Price converted to Primary Quantity,
    when user purchase base on secondary Quantity.
    really appreciate your help

    Hi
    I think you can try "Adv Pricing Integration with Purchasing" for diff UOM with diff Price.
    But what you are seeing is the Standard functionality as per Oracle. I faced similar kind of issue and got a reply from SR like that.
    Regds
    Ravisankar

  • Material price in PO depending on quantity

    Hi All
    My requirement is that for a particular material and plant if I make a PO of quantity greater than 1000 then system should propose me price of material as 1000 INR but if I make PO of quantity less than 1000 then system should propose me price of material as 1500 INR .How do I achieve this through purchasing info record or is there any other way around?
    Pls help.
    Regards
    Satish Kumar

    Hi Satish Kumar,
    I dont think theres any other way to adopt ur business process.
    Better to use standerd functionaly of Info record with scales.
    Define scales using quatity basis descending order.
    Hope u understand.
    Regards,
    Gitesh

  • FORECAST QUANTITY

    Hi
    I am using Oracle Apps 11.5.10.2.
    I am developing an interface for sending forecast details to some external system.
    Here I want to send forecast quantity plus some other information. Forecast quantity is stored in the MRP_FORECAST_DATES table.
    Here comes the problem. single record in this table corresponds to multiple forecast entries. A single record in this table is created with following column values.
    FORECAST_DATE --forecast start date     26-APR-99
    RATE_END_DATE --end date of the forecast       19-JULY-99
    ORIGIONAL_FORECAST_QUANTITY --per bucket quantity    1000
    CURRENT_FORECAST_QUANTITY --Remaining forecast quantity after consumption      1000
    Now This record shows a total forecast quantity of 13000.
    If I want to fetch data for specific date range for this entry then it will create problem.
    Please give me some suggestion for fetching total quantity for desired period.

    please make it more clear. put some example data as in a single record and multiple entries belonging to that particular entry.

  • Doubt on Order Quantity

    HI all,
    Currently i am using the datasource 2LIS_11_VAITM. I have activated the datasource. And i run this datasource in RSA3.I have compared the data with the Table level data.
    In this datasource, there is a field called Order Quantity (KWMENG). I have compared this data with the table VBAP-KWMENG.
    But i found there is a difference in Data. In table level it is displaying as 1.
    Whereas in datasource, the value for Order Quantity is showing 1000- .
    Am i looking the right table in R/3 side. From where the data  is pulling for the field "Order Quantity in datasource level.
    Please help on this issue.
    Thanks,
    Jelina.

    Hi Jelina,
    Goto t-code ST05>activate the SQL Trace test>
    Then goto RSA3>give the data source name>execute for some records.
    Then come to ST05>deactivate the trace>then click on display trace button-->
    Then in the trace>in the trace list menu>display tables
    then you can see from where this datasource is pulling data .. i mean which table...
    Regards,
    ravi Kanth

  • How does "scale multiplier" works on a chart?

    Hello!
    We wonder if anyone can explain how this one works? And "xscale maximum" too... in the headline it should be "xscale.multiplier". We tried to analyse it but can not figure it out... so if anyone could explain this we would be greatful. Thank you. Best regards!

    Hello Ex-jobb,
    scale multiplier multiplies your input data...
    Let's say you have data measured in meter and want to display this in millimeter. So you can multiply your data with 1000 to get millimeter values or set the scale.multiplier to 1000 and the graph scales the data itself (and only for display). I did this to let the user easily change the displayed unit of data. But be aware that cursors will also give you the scaled values!
    Best regards,
    GerdW
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Error with the keyfigure format

    Hi Guru's
    I'm loading the data from the Flat file to the ODS
    the key figure net masss volume with the data type quantity show 's the value multiply thousand but it in the psa it shows correct value what is there in the source system
    for eg: value for this key figure 48.984 in the flat file means 48.(point) 984
    but it is showing in the ods 48,984(comma) so some where it is multiplying by 1000 like it is applying coumn level
    and there is no transfer rules it is direct mapping
    there is no routines
    if i change in the user profile that is W.R.T the user only but i need this globally
    please let me know where is the problem
    Points will be assign

    Hey,
    So you need to change your flat file.
    1) For this key figure replace "." (dot) with "," (comma)
    2) Put this entire number in ""
    For example
    12.345 was your original number replace "."(dot) with "," comma. Means it would be as below
    12,345
    Now put this in inverted colon
    "12,345"
    3) Save this file.
    4) Reselect this revised file in info package.
    5) make sure escape indicator is "
    6) delete PSA data.
    7) again run package
    Now you should get it fine.
    Please let me know.
    Thanks,
    Mihir

  • BAPI :  BAPI_PO_CREATE1

    Hi everybody
    I'm using  a BAPI (BAPI_PO_CREATE1)    I send the table PO_ITEM and the quantity field   has a value but when I check the  generated purchase order I see another value in quantity
    What can I solve my problem??????

    Is it the same quantity but with the decimal moved?  I have found that you need to multiply by 1000 (I believe it is 1000) to create a sales order using the BAPI.
    I am about to use the same BAPI, as you, to create a PO so I will be interested to see what your isssue is.
    Aaron

Maybe you are looking for

  • How to reinstall PDF Printer in Print & Scan window on OSX 10.8.2

    Hello, I was having issues where PDF's were not saving when I was printing them, so I thought that if I deleted the PDF printer from my list of printers and reinstalled it, my problem would be solved.  Now I can't figure out how to reinstall (add) th

  • How to best display/update images in gallery??

    I'm designing a site for my photography but I'm stuck. I'm new to this and trying to learn, so I'll try to explain clearly. Usually I have problems with things that sound like they should be really simple but end up with unbelievably complex answers,

  • Left and right justifiation in alv grid

    I m using alv grid to display a tbale.I have to justify one perticular cell depending on value.So i have to first check the value of that field in itab and then justify right or left accordingly. Therefore , i cnt use just field of field catalog as i

  • Problem with Controller 5760-50

    hi all, My customer has a Controller 5760-50, and 30 APs. My customer wants to add 100 APs to this controller. I know that: Controller 5760-50 only add maximum 50 APs... How do I resolve this problem? (buy license or buy other controller can manage o

  • My Zen touch is really, really irritating me

    the simplest shock makes it stop playing. It is only week old, I could have gotten an Ipod but I got this because I was told it was superior. It plays perfectly when I am sitting, but once I start walking it will just stop in the middle of a song and