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

PO header text reading problem

Former Member
0 Likes
399

Hi,

This is quite strange. Maybe you can shed some light on this problem.

We have a smartform, that outputs purchase order header text.

It prints everything OK, but "<" and "&" characters are printed as "<(><<)>" and "<(>&<)>"

After doing some debugging I found that when SAP reads STXL table:

import tline to rt_lines 
    from database stxl(tx) 
         client   rt_client 
         id       stxl_id 
         IGNORING CONVERSION ERRORS.

and returns

1   *   <(>&<)> 
2   *   <(><<)> 
3   *

to gt_lines itab even though header text contains

& 
<

This doesn't happen to any other characters. Not even with ">"

Any ideas?

PS: We are on 700 version

2 REPLIES 2
Read only

Former Member
0 Likes
377

pass the parameters

TD ID

TD OBJECT

TD NAME

TD SPRAS properly

Reward if useful

Read only

Former Member
0 Likes
377

pass the parameters

TD ID

TD OBJECT

TD NAME

TD SPRAS = "EN' properly make sure the LANGUAGE

It is happening due to improper language parameter

Reward if useful