Error regarding quantity unit

Hi everyone.
I have the below statement in report program.WHEN I SYNTAX CHECK I DOESN'T SHOW ANY ERRORS
write:/ 'zorder : ', itab-zorder,
               '  with quantity ', itab-zQUAN.
BUT WHEN I DO THE EXTENDED SYNTAX CHECK AT SE10 OR SE09 I.E WHEN I DO THE EXTENDED CHECK TO THE TRANSPORT OF THAT REPORT I GET THE FOLLWING ERROR.
Use addition UNIT when outputting ITAB-ZQUAN
Use auxiliary field when outputting with MESSAGE          
ZQUANT  IS THE QUANTITY OF MATERIAL
PLEASE LET ME KNOW IF I NEED TO DO ANY THING TO OVERCOME THIS.
Thanks in advance

Taken from ABAP Help.....
<i>
<b>... UNIT unit</b>
This addition cannot be used together with the addition TIME ZONE.
<b>Effect</b>
This addition cuts off decimal places that have the value 0 and are outside the exactness of a unit of measure during output of data objects of data type p. For all other data types, except f, this addition is ignored. For unit, a three-digit, character-type field is expected that contains a unit key from the column MSEHI in the database table T006 in uppercase letters. The system determines the number of decimal places from the column DECAN in the corresponding row in the database table T006. If the content of unit is not found in T006, the addition is ignored.
If the data type of dobj is p and has at least as many decimal places as specified by unit, and if no positions are thus cut off that are not equal to 0, then dobj is output with this number of decimal places.
In the case of data objects of type f, the addition UNIT will be treated like the addition DECIMALS (see above). Here, the number of decimal places is determined by unit.
If the addition UNIT is used with the length specification * or ** after AT, it is used first, and the output length is determined from the result.
If the addition CURRENCY is used at the same time, this is used first for data type p and then the addition UNIT is used. In the case of data type f, the addition UNIT is ignored.
Example
If no decimal places are specified for the number "PC" in T006, the output of the WRITE statement is "1234".
DATA pack TYPE p DECIMALS 4 VALUE '1234.0000'.
WRITE pack NO-GROUPING UNIT 'PC'.
</i>
REgards,
Rich Heilman

Similar Messages

  • Statistical Setup Error - Error Converting Quantity

    Dear SDN Mates,
    We are getting this below error while doing the statistical setup for SD extraction in 11 application,
    Error converting quantity: unit M numerator 0 / denominator 0.
    Regards
    Arun S

    Hi guys,
    I have the same error with below message :
    Error determining rate: foreign curr.  local curr.KRW date 17.06.2011 (doc. 14024)
    I checked data in table VBAK with sale document 14024, some information of this data record related above error :
    + ERDAT (Date on Which Record Was Created) : 17.06.2011
    + WAERK (SD Document Currency) : KRW
    + STWAE (Statistics currency) : <BLANK>
    I tried to create 2 new records in Currency Exchange Rates (OB08), like this :
    But there're still error.
    Please give some ideas to solve it.
    Regards
    Dennis Vu,

  • Error in quantity translation in CO-PA valuation using material costing

    Dear SAP Gurus,
    While releasing the billing document to accounting I am getting the following error:
    Error in quantity translation in CO-PA valuation using material costing
    Message no. K/821
    Diagnosis
    In Profitability Analysis (CO-PA), the system tried to use a material cost estimate to translate the unit KG for the material KG into the base unit of measure EA for that material.
    The system could not do this.
    System Response
    The document cannot be processed further.
    Procedure
    Check the quantity entered in the affected CO-PA quantity field &V4 .
    If necessary, change the material master to allow the unit KG as an alternative unit for the material 970000000000000016.
    Can anyone provide me with a solution to the said problem.
    Regards
    Nikit

    Hi Piet,
    That does not seem to be the solution as i cant define for all the materials how many units EA = how many kgs. Thanks for the reply anyway

  • Quantity unit ROLE

    Hello,
    in previous weeks I posted a message () where I mentioned that I have a problem with the quantity unit ROLE. It doesn´t seem to be a programming error nor a parametrization in customizing.
    In order to find out whether it´s local (in this company) or global or whatever, I need the help from any volunteer to test a very small code in his/her system. You get the code and steps to follow from me. Just send me an email to [email protected]
    Thanks a lot

    you can send the code to me, and you can find my email in my SDN BC.
    Regards
    Raja

  • Error message "Quantity could not be converted from GA to"

    Error message "Quantity could not be converted from GA to" gets displayed when i update any condition value/type ZMET in VA02 transaction.
    Where we need to maintain "Alternative unit of measure for the material"
    Plz do the needful. Points rewarded
    Regards,
    Sathish

    Dear Sathish
    Go to material master, select "Additional Data" tab.  There select "Units of measure" and maintain the alternative unit of measure and save.  Now retry.
    thanks
    G. Lakshmipathi

  • Error : Sales Org.Unit does not have these attributes -- Urgent

    Hi, Team,
    I am unable to create a service order with serivce material ( Only installation visit charges ) for w/o warranty product .
    I am getting error : " Sales Org.Unit does not have these attributes "
    I had checked the related Org data of respective sales org , already the sales area combination is also maintained from R/3 with required attributes "
    Pls revert with possible solution .
    Regards,
    VCS

    PePe :
    Thanks for reversion !!
    Basically it is a product Service Material (Servicing Charges), where in I had checked in the transaction ,   Though the required sales area  is well maintained in the R/3 System and is being replicated to the CRM . 
    When I checked the product Service material , the required comination is missing and could find other sales area combinations .
    Pls guide , how to go to get this resolved .
    Regards,
    VCS

  • How to validate the line item values in OFR - quantity , unit price and UOM

    Hi All,
    Is there any possibility to validate the line items like quantity, unit price and UOM against the DB and stops those invoices at verifier (1 batch =10 invoices) level  if yes could you please let me know the process how to proceed further.
    due to this some the invoices are coming to OFR is with incorrect quantity, UOM and unit price different from PO lines information like quantity , UOM and unit price and those invoices are not validating from the DB and these are processed to EBS and it's effecting the GL and reporting.
    Regards,
    Anil

    Hi ,
    I did not get the exact requirement.Let me bit:
    In standard AP project lines validation will try to compare the quantity , unit price and UOM of line against the database for match which actually performed on export.
    So even if match fails batch will be exported.Now if you want to correct it before EBS,i think you can do it in the business process easily that you are consuming whether BPEL/BPM process.
    We have done this in several projects
    =========================
    But If you want that to be done from OFR side i think we need to code  UserExitPONumberValidate event to  compare the line items values against database.I need to test this also.

  • Convert the all the quantity units into one Unit of measure that is 'CSE'.

    Hi all,
    I want to convert the all the quantity units into one Unit of measure that is 'CSE'.
    would anybody tell me what is the FM that converts all the quantity units into one Unit.
    Thanks in advance,
    Mythily

    Hi Mythily,
    You can check the following function module - -
    FCO_CONVERT_FROM_BASE_UNIT
    MD_CONVERT_MATERIAL_UNIT
    MS_CONVERT_UNIT_TO_TIME
    RV_CONDITION_CONVERT_UNITS
    VHUMISC_CONVERT_TO_ALTERN_UNIT
    VHUMISC_CONVERT_TO_BASEUNIT
    WALL_QUANTITY_CONVERT_UNIT
    WALL_QUANTITY_CONVERT_UNIT_RND
    WSTP_CONVERT_UNIT
    Regards
    Pinaki

  • 217 Error in quantity/value determination

    Hi experts,
    In my pricing procedure the condition type VPRS is showing 0 value.
    In analysis it is showing error: 217 Error in quantity/value determination.
    Can you please tell what can be the problem? How dose VPRS work? I only know that VPRS is taken from the material master.
    Regards
    Fan

    Hi
    VPRS retrives the cost of the Material from the material master data > Accounting 1 tab to the Sales order.
    Once the cost is found, then Profit margin  (Net value - cost) is calculated.
    VPRS does not contain any Access sequence.
    With the help of its Condition category "G", it accesses the Material master > Accounting tab 1 and takes cost.
    There may be two cost specified in the Material master. They are
    - Moving Avarage Price
    - Standard Price
    Which one system will consider that depends upon the "Price control" field.
    If the value is "V' in the Price control field, the system takes the "Moving Avarage Price" and if it is "S", then system takes the "Standard Price".
    So, you must ensure these few control
    - VPRS should  NOT have any Access sequence.
    - Condition category "G" must have been assigned to VPRS.
    - VPRS must have been activated as "Statistical" condition in the Pricing Procedure and should not have any Account key.

  • Error in Quantity Value Determination

    Hi all,
    I am creating an invoice with respect to an intercompany PO. In the invoice, I am getting an error "Mandatory condition VPRS missing". When I check the analysis, I could see a message "Error in Quantity Value Determination"
    In the preceeding PO, when I checked the P101 Condition type, it also displays the same message "Error in Quantity Value Determination". However, when the value of P101 is manually maintained, --> PO saved --> invoice cancelled and --> Invoice recreated, no error in SD invoice is seen. Evident that problem is in MM.
    Please share your views and help me in solving this issue
    Regards,
    Rajesh

    Dear Jürgen and Praveen,
    Material master valuation price is maintained. What actually the error "Error in Quantity Value Determination" mean?
    Regards,
    Rajesh

  • Error in Quantity/Value Determination  : VPRS (IV)

    Gurus,
    When I am creating an IV (Intercompany Invoice), I am getting an error in VPRS determination in pricing. VPRS is not getting determined and it throws up an error saying "Error in Quantity/Value determination" (Error number 217)
    Need you help on the same
    Regards
    Leo

    Lakshmipathi,
    Pricing procedure is defined as you indicated. It is all standard. VPRS is getting determined for other materials for IV. Only for this specific material it is a problem.
    The error says as below
    Diagnosis
    "This condition has not been determined using condition records. The amount or value should be determined from another data source. For cost (condition category 'G') it is read using conditions from the material valuation segment, for a cash discount condition it is read using conditions from the terms of payment table.
    In this transaction an error occurs - the material valuation segment or the terms of payment table could not be read or a currency translation has failed."
    Any idea
    Regards
    Leo

  • Error "Available quantity in bin is zero" with FM: L_TO_CREATE_MULTIPLE

    Hi, all,    I encounter  one problem wtih BAPI:  L_TO_CREATE_MULTIPLE.
    I want to transfer 100 batches from P01 storage type to P02 storage type ,  this function module show error "Available quantity in bin is zero".  
    But the TO is created and this TO only include 30 batchs.
    Why this happen?
    Any one could help me? Tks.

    Hi Justin,
    I am facing the exact same problem.
    Can you please share the solution for this?
    Thanks in advance.
    Regards,
    Gayatri

  • Quantity Unit for individual objects missing.

    Hi,
    i have the following problem using mobile service.
    We need to enter individual objects in the service confirmation. I can select one, but the dropdown for the quantity unit is empty. Because of this beeing a mandatory field, i can not save the service confirmation. The select statement coming from the corresponding comboengine is using the SFAMARA key to search the SMOMARM for this information. This table is empty for individual objects.
    Each equipment has a back reference to it's original material wich has got the information, even in SMOMARM.
    so my question: In CRM-Online the back reference is used, in Mobile its using the individual object key. I would identify this as a bug. We are using Mobile 5.0 SP7, CRM 5.0 .
    Has anybody experience with this and can support me? i found nothing in OSS! Maybe some customizing in CRM-Online or MSY. I don't know.
    Thanks a lot,
    Andreas Rose

    Hi,
    IObjects cannot be entered as items for service confirmations or orders as it makes no sense at all.
    The reference to one or more IObjects will be done in Tileset <Subject/Objects> or <Item Subject/Objects>, Tile <Reference Objects>.
    Regards,
    Wolfhard

  • During invoice verification- error "Invoice Quantity exceeds GR quantity".

    Dear friends,
    Myclientisfacing a problem during invoice verification(invoice quantity exceeds GR quantity).
    user created PO withtwo line items. in first line item he used account assignment K (cost center) for cable purchase. and inthe second line item he used account assignment category -K and item category -D for cableinstallation charges. foe firat line item he created GR(migo) and for the secondlineitem being service he did service entry sheet(ML81N). while doing invoice verification they got the error "Invoice Quantity exceeds GR quantity". so we tried to post the first lineitemand it was successfully posted.while doing invoice verification for second line item it is throwing "Invoice Quantity exceeds GR quantity".
    please help me in this to solve the issue.
    Thanksin advance.
    Regards,
    william

    Hi,
    Please check that if your second line item which happened to be service line item as you have mentioned have the service base invoice verification checked in the invoice tab of second line item (line item detail level). If so the you need to post your service entry sheet after releasing it. System will generate a 101 movement material document in the back ground.
    Hope it helps.
    BR

  • Inspection Lot  quantity unit is changing to Basic UOM.

    Dear All,
    In material master, material unit is in MTR(M),for that material i created Production order in NOS
    I am confirming that order (TCODE -CO11N) in nos only ,up to last stage of confirmation it is in NOS only
    but after confirmation the lot is generating in qa32 that lot quantity unit is basic unit of measure i.e MTR(M).
    But i want that lot in confirmation unit i.e 'NOS' .
    So,please suggest me to solve this problem.
    Is there is any user exit to overcome on this problem.??
    Regards,
    Sanket.

    Hi,
    the UOM of QA32(inspection lot) is always similar to the UOM of MM03(material master).
    Arunima

Maybe you are looking for

  • I'd like to buy an all-one print, scan, fax wireless laser printer for my Mac.  Any suggestions?

    Any suggestions for a laser all-one, wireless, print, scan, fax printer for my Mac Air? Suggestions gratefully accepted.

  • Specify either address number or address handle(AM053)

    Hi Experts, We have this error when we try to create a purchase order from a purchase requisition. This problem just appears for only one User, the same purchase requisition is ok to create the PO in the rest of the user. So we donu2019t know what is

  • Where is second page of W4 ???

    I downloaded PDF template of W4. It has 2 pages. My data has 12 rows. On PDF template I did create <?rep_field="BODY_START"?> and <?rep_field="BODY_END"?> on first page. When report is generated, it generates 13 pages not 24 (2 pages per record). The

  • RMAN create catalog

    I will backup my oracle10g database( target DB) using rman in oracle9i database (Rman catalog Dabase) How could I create a 10g recovery catalog in the 9i catalog database.

  • Leave Carry over

    Hi we have situation where we are using Anniversary hire date as Leave accrual process.TO meet the requirements Anniversary hire date Oracle seeded formula has been amended and it's fie going. We have problem carry over process.Since leave carry over