Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

dynpro_field_conversion error in abap

Former Member
0 Likes
13,900

Hi All,

I am passing the value of wrbtr to an output screen field d_debit which is of type currency.

while passing the value to d_debit gives me a runtime error "DYNPRO_FIELD_CONVERSION" 

ategory               Error at Screen Runtime
untime Errors         DYNPRO_FIELD_CONVERSION
BAP Program           Z_IC_CAPTURSCREEN
pplication Component  Not Assigned
ate and Time          07/23/2012 08:21:55

Short text
    Conversion error

What happened?
    The current screen processing action was terminated since a situation
    occurred where the application could not continue.
    This is probably due to an error in the ABAP program or in the current
    screen.

Error analysis
    The program has been interrupted and cannot resume.
    Program "Z_IC_CAPTURSCREEN" attempted to display fields on screen 0200.
    An error occurred during the conversion of this data.

Kindly advice me on this.

Thanks,

Neha

1 ACCEPTED SOLUTION
Read only

yogendra_bhaskar
Contributor
0 Likes
10,307

hi neha ,

you must be getting the dump bcoz of negative value being assigned in D_DEBIT .

regards ,

Yogendra Bhaskar

hi neha ,

you must be getting the dump bcoz of negative value being assigned in D_DEBIT .

regards ,

Yogendra Bhaskar

6 REPLIES 6
Read only

Former Member
0 Likes
10,307

Hi Neha

Please check that your screen field's data element is the same as the wrbtr field.

Hope this helps.

Regards

Vic

Read only

Former Member
0 Likes
10,301

Hi Neha,

You might be transferring a negative amount to that field. So the screen field is giving you the dump.

In the element list of the I/O field, put a "V" at the end of I/O field. If you field is 12 character length, put V in the 13th character. Now, your field will accept the negative values.

If you are not giving the negative values, check the character length of the screen field . For example, You might pass 15 character length to 12 character length field.

Cheers

~Niranjan

Read only

yogendra_bhaskar
Contributor
0 Likes
10,308

hi neha ,

you must be getting the dump bcoz of negative value being assigned in D_DEBIT .

regards ,

Yogendra Bhaskar

Read only

Aashish28
Contributor
0 Likes
10,301

Hiii,

         yes this error is due to -ve value assigning to that field see below screenshot when i put "V" my last check box With Sign  = marked with 'X'  when not mark is disable so as per your requirement put this "V" into your screen.

Read only

Former Member
0 Likes
10,301

This message was moderated.

Read only

pravingupta01
Explorer
10,301

  • Double Click on the Field on the Screen Painter Which Will open Field Property....

    Under the Attributes Section - Dict Tab - Tick the Checkbox With Sign.

    This should resolve your problem

    Reward if issue resolved 🙂