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

Currency field

Hi,

I am doing a BDC for F-43 transaction... & in my T_BDCDATA internal table all fields for FVAL are getting populated except for the WRBTR (currency feild). For this field I tried using 13(length given in BSEG table) as well as 16(output length)in my flat file ... but nothing getting populated. Can somebody give me other solution for populating this field??...

Please Help.

-SB.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2005 at 08:11 PM

    Hi,

    For the amount field first declare a variable

    say v_wrbtr(18)type c,

    write T_BDCDATA-WRBTR to v_wrbtr.

    condense v_wrbtr.

    finally populate v_wrbtr to BDC table.

    Hope this will solve your problem.

    Thanks

    Rajeev

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      For correct results, you should use:

      data: L_WRBTR_CHAR(16) type C.

      write BSEG-WRBTR to L_WRBTR_CHAR currency BKPF-WAERS (Or your Currency Field).

      T_BDCDATA-WRBTR = L_WRBTR_CHAR.

      Cheers,

      Bhanu

  • Posted on Nov 21, 2005 at 08:02 PM

    Can you post the relevant code where you fill this field? Is your character field having the value left-justified, with no seperators except the decimal point? Also, this field probably is line item data, so are you using the correct index like WRBTR(01), WRBTR(02) etc?

    Srinivas

    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.