Application Development 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: 

HELP NEEDED WITH THE ERRORS

Former Member
0 Kudos

Hi all

we are a MDMP code page system and we upgraded to ECC 6.0.

We fixed all our unicode errors by checking the unicode flag in the attributes we activated the program without any syntax errors or warnings.

Now when we go back to UCCHECK, it still shows erros especially for bdc programs

My question why would it show as an errors in UCCHECK when the program gets activated without any warnings or errors.

-

This is the error iam getting

The system could not perform a static convertibility check on the current

statement, because of untyped or generic operands. It can only carry out this

. runtime.

Whta exactly static convertibility check.

Can anyone suggest what i have to do regarding this

The error is pointing this piece of code

----


  • FORM bdc_dynpro *

----


  • ........ *

----


  • --> PROGRAM *

  • --> DYNPRO *

----


form bdc_dynpro using program dynpro.

clear i_bdcdata.

i_bdcdata-program = program.

i_bdcdata-dynpro = dynpro.

i_bdcdata-dynbegin = 'X'.

append i_bdcdata.

endform.

----


  • FORM bdc_field *

----


  • ........ *

----


  • --> FNAM *

  • --> FVAL *

----


form bdc_field using fnam fval.

clear i_bdcdata.

i_bdcdata-fnam = fnam.

i_bdcdata-fval = fval.

append i_bdcdata.

endform.

Thanks

Suchitra

3 REPLIES 3

Former Member
0 Kudos

form bdc_dynpro using program <b>TYPE BDC_PROG</b> dynpro <b>TYPE BDC_DYNR.</b>

form bdc_field using fnam <b>TYPE FNAM_____4</b> fval <b>TYPE BDC_FVAL</b>

Otherwise you can specify the <b>TYPE any</b>.

I believe this could be the reason. Please try & let me know.

<b>Reward if its useful.</b>

Regards,

Sail

0 Kudos

Hi,,

This is from the standard include bdcrecx1

----


  • Start new screen *

----


FORM BDC_DYNPRO USING PROGRAM DYNPRO.

CLEAR BDCDATA.

BDCDATA-PROGRAM = PROGRAM.

BDCDATA-DYNPRO = DYNPRO.

BDCDATA-DYNBEGIN = 'X'.

APPEND BDCDATA.

ENDFORM.

----


  • Insert field *

----


FORM BDC_FIELD USING FNAM FVAL.

IF FVAL <> NODATA.

CLEAR BDCDATA.

BDCDATA-FNAM = FNAM.

BDCDATA-FVAL = FVAL.

APPEND BDCDATA.

ENDIF.

ENDFORM.

It looks the same way i wrote the code right.

But again when i do syntax check it won't show up. It shows only in UCCHECK

Thanks

0 Kudos

Just copy the code & create ur own subroutine with way i told u & check if u r getting UCCHECK error.

Its not a syntax error.

As per the unicode standards that is an error.

May be you can ignore since its not gonna harm anything.

Regards,

Sail