Skip to Content
author's profile photo Former Member
Former Member

error

Hi Guys

Iam updating MR21 New price(verpr in mbew table) from BDC.

When value is coming into field,but its not updating bcz of currency length or other reason.

iam getting message its should be in this format etc.

my field also is like mbew-verpr.

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jul 12, 2007 at 02:36 PM

    Do a write to a tex field beforehand. It should automatically convert to the user format. If the user uses comma instead of decimal point, it should be addressed there.

    Hope it helps,

    Leonardo De Araujo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2007 at 02:48 PM

    Hi,

    While writing in BDC in loop write WRITE statement to convet it into screen field.

    Reward if useful!

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI Leo,prasad

      Thanks for your suggestion

      when iam moving to bdc-fval its coming normal value only..its not converting

      Please suggest me .

      here is my code

      BDCDATA-FNAM = 'CKI_MR21_0250-NEWVALPR(01)'.

      write wa_mbew-verpr to BDCDATA-FVAL .

      Thanks

  • author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2007 at 03:38 PM

    define that feild

    type c (20)

    then u won't get any error

    for quantity and cost we have to declare like this only

    other wise the error wil rise

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 12, 2007 at 03:44 PM

    Hi,

    write wa_mbew-verpr currency <here u specify the currency key from table TCURX> to BDCDATA-FVAL

    Please check the documentation for write syntax

    Correct format for currency specified in the field w.

    Treats the contents of f as a currency amount. The currency specified in w determines how many decimal places this amount should have.

    The contents of w are used as a currency key for the table TCURX; if there is no entry for w, the system assumes that the currency amount has 2 decimal places.

    aRs

    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.