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

BDC field value is not transfered to Screen Field.

Hi! Everyone..

I created BDC program with t_code 'FB01' for GL posting.

And then I executed it, but BDC field's value was not transfered to screen field.

Of course, I confirmed the BDC field value in Debugging Mode.

What is the Cause????

My env. is SAP ECC 5.0.

Thanks in Advance...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Dec 05, 2005 at 09:40 AM

    Hi,

    have you analysed bdc-map ?

    if you've used rfbibl00, have you analysed data with rfbito00 ?

    Andreas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2005 at 09:43 AM

    jUST check, if that Varibale Value is having any leading space, after you append that in BDCDATA internal table.

    just Before calling the transaction..put a break..

    double click on the internal table of type BDCDATA.

    say if your internal table name is itab..then check the content of itab[], before you call the Transaction..i suspect, for that perticular field which is making problem, it contains leading space, thats why its not coming in the screen.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hey if the variable is some QUANTITY variable, then pass it to a char field of equal length and then pass the char field onto the screen. If you're having leading character problem write CONDENSE statement, to remove the leading spaces.

      (Do award points if the approach works)

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2005 at 09:45 AM

    Hi,

    Check whether you have mapped the screen field with the internal table ( Of type BDCDATA ) field value correctly, this might lead to error some times,

    Rgds,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2005 at 03:55 PM

    hi min,

    since you've not given your code sample.... i can only predict that In your form for bdc_field or bdc_dynpro never refresh the bdcdata only clear it...

    FORM BDC_FIELD USING FNAM FVAL.

    IF FVAL <> NODATA.

    CLEAR BDCDATA.

    BDCDATA-FNAM = FNAM.

    BDCDATA-FVAL = FVAL.

    APPEND BDCDATA.

    refresh bdcdata. // error line

    ENDIF.

    ENDFORM.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Shetal,

      I agree a code sample would be useful, however the 'refresh' example you have given is invalid. The refresh should only happen after each 'call' transaction NOT after each field value has been added to the bdcdata. This will empty the table each time which is wrong.

      Regards

      Neil

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2005 at 11:54 PM

    You can pass values in character format only in BDC. If you are trying to pass any numric value on screen, first move/write it to char variable and then pass that character variable to BDC value field (BDCDATA_FVAL).

    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.