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

offset and length specificationsfor structures issue

durgaprasanth_vemula
Participant
0 Likes
394

In Unicode-compatible programs the offset and length specificationsfor structures are limited to the length of the character-type initial part

WRITE pi_string+l_offset(lw_dd03l-intlen) TO <data>.

In this case, the offset specification 394 for the structure "PI_STRING" exceeds the length of the character-type initial part (=394).

1 REPLY 1
Read only

guillaume-hrc
Active Contributor
0 Likes
332

Hi,

Obviously, you should specify an offset that is longer than the string length (character-wise not byte-wise).

Do you use the functions that are compliant with Unicode?

§ Functions for string processing in http://help.sap.com/saphelp_nw04s/helpdata/en/79/c55479b3dc11d5993800508b6b8b11/frameset.htm

best regards,

Guillaume