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

Changed of datatype effecting the program

Former Member
0 Likes
887

Hi Gurus!

I chnaged the data type from char 24 to dats of a field in my ztable and adjusted the table accordingly. This table was created for a specific program to upoad data into the ztable. So I went into my program and chaged the lenghth of the date field from 24 to the date field lenght i.e. When I do a syntax check on the program it gives me an information messageas follows.

The data type ZWELL_NTS can be enhanced in any way. After a structure

enhancement, this assignment or parameter might be syntactically

incorrect . . . . . . . . .

What should I be doing so that this syntax is eliminated or is it that this wont effect my program in any way?

Thanks

Hi Gurus!

I chnaged the data type from char 24 to dats of a field in my ztable and adjusted the table accordingly. This table was created for a specific program to upoad data into the ztable. So I went into my program and chaged the lenghth of the date field from 24 to the date field lenght i.e. When I do a syntax check on the program it gives me an information messageas follows.

The data type ZWELL_NTS can be enhanced in any way. After a structure

enhancement, this assignment or parameter might be syntactically

incorrect . . . . . . . . .

What should I be doing so that this syntax is eliminated or is it that this wont effect my program in any way?

Thanks

5 REPLIES 5
Read only

Former Member
0 Likes
848

Hi,

Maintain the Enhancement Category using Menu path Extras->Enhancement Category

Read only

0 Likes
848

Thanks

Read only

0 Likes
848

But even after maintaining teh enhancemnet category it still gives me the information with the same message.

The data type ZWELL_NTS can be enhanced in any way. After a structure

enhancement, this assignment or parameter might be syntactically

incorrect . . . . . . . . .

How do i get eliminated of this messge? form my program, before changing the dataelemnt type it was all ok and theer was no message in my program while doing the syntax check.

Thanks

Read only

0 Likes
848

When I did an extended program checck, it gives me error at the following code part saying :

No EXCEPTION to set SY_SUBRC Declared for CALL FUNCTION 'DOWNLOAD'

Thus the value of SY-SUBRC is always 0

when ' '.                      "Blank is presenation server
        translate p_err using '/\'."correct slash Dos file
        call function 'DOWNLOAD'
          exporting
            filename = p_err
            filetype = 'ASC'   "FTYPE set to DAT in DATA seg
          tables
            data_tab = t_err.
        if sy-subrc ne 0.
          message i010(ad) with 'File ' p_err 'cannot be located.'.
          sy-subrc = -1.             "Maintain error condition
          exit.
        endif.

Actually here I geta pop up screen asking for the data to be transfered in ASC or DTA format to the file indicated . As soon as I click transfer it goes to runtime.

Thanks

Could someone help me out with this plz.

Thanks

Read only

0 Likes
848

Cpould I get some suggestions on this issue please.

Thanks