Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

unicode : comparing uncompatible structs

$
0
0

Hello everyone,

 

I am a new member on the site and I will post my first question on the forum.

 

the question is UNICODE, making the transaction UCCHECK I found a mistake in my program, the error is "have the same structure layout as" P_OC ", irrespective of the length of a"

 

Prog:

FORM creation_enreg_ef18 t_ef18 TABLES it_ef18 STRUCTURE

                                   poste_oc STRUCTURE it_zipsnp

                                   Expedition r_exped STRUCTURE

                                   reception r_recept STRUCTURE

                          LIKE USING date_d p_dt_deb

                                   date_f LIKE p_dt_fin

                          CHANGING STRUCTURE p_oc zreflivrek

                                   p_oc_ref STRUCTURE zreflivrek.

 

 

........

 

 

     IF IS INITIAL OR p_oc p_oc <> poste_oc. "ERROR"

       CLEAR zreflivrek.

       SELECT SINGLE * FROM zreflivrek

       WHERE werks = werks poste_oc-

       AND zzno_ordre = poste_oc-zzno_ordre.

       p_oc = zreflivrek.

     ENDIF.

 

 

do you have any ideas?

 

 

Regards


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>