Skip to Content

Probelm in printing of net price in PO print

Hi,

In ME9F, we are facing problem of amount printing in case of non INR cureency the actual PO value is AS BELOW

Net price : 80.0000 USD Per 1 NO

Total value : 2,880.0000 USD

but while printing system si shoing as below

Net price : 80,0000 USD Per 1 NO

Total value : 2.880.0000 USD

, is coming as . also the problem is not for all the Po in some Po we are facing this problem , I have check thread on the same issue some has given sugg. to chnage the Decimal Notation setting in user own data, i try with all three options X, Y and blank, but still the problem is same.

While debuggin i have check that the items are pass from table EKPO, same table is use in program the value before the write form call in the program is OK with proper '. place but while coming in sap script it is shoing as , insted of .

regards,

zafar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2012 at 05:43 AM

    Hi Zafar,

    You can try this in driver program.

    WRITE <value> CURRENCY <curr_key> TO <char_field>.

    OR

    * Convert Internal SAP value to Currency value
    data: p_intval like wmto_s-amount. "Internal Amount
    data: gd_disval like wmto_s-amount. "Display Amount

    call function 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'
    exporting
    currency = po_tab-waers
    amount_internal = p_intval
    importing
    amount_display = gd_disval
    exceptions
    internal_error = 1
    others = 2.

    Thanks

    Abhinesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Thanks for reply, I have solve as per suggestion by doing the modification as below.

      FORM SAP_TO_DISPLAY_NETPR.
      CLEAR : PRICE.

      data: p_intval like wmto_s-amount. "Internal Amount
      data: gd_disval like wmto_s-amount. "Display Amount

      p_intval = ekpo-netpr.

      call function 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'
      exporting
      currency = EKKO-WAERS
      amount_internal = P_intval
      importing
      amount_display = gd_disval
      exceptions
      internal_error = 1
      others = 2.

      PRICE = gd_disval.
      CONDENSE PRICE.
      CLEAR : gd_disval,p_intval.

      ENDFORM.

      regards,

      zafar

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2012 at 05:47 AM

    Is your Form custom?

    Can you see any special formatting for Netprice field.

    Try to use set country in the script and check

    SET COUNTRY 'US'

    Check with this also, Go to your form where the amount is printing and give &NETPR(K)&.

    Thanks,

    Shambu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2012 at 05:57 AM

    Hi Zafar,

    http://scn.sap.com/thread/3190807

    Is it working.

    Regards,

    Madhu.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2012 at 06:02 AM

    Hi

    Please check the decimal notation , In country settings .

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.