Problem with webrfc

Question: Hi NG!

Iīve got a really nasty problem with WebRFC.

I have a function which starts a HR report (showing some timedata), transforms the data to HTML and hands them over to the ITS.
When I debug the function in R/3 everything is fine, but when I call the function via the ITS some data is missing. It seems to me that the ITS kills some of my data.
Now letīs come to the weird stuff:
The ITS not only kills some data, no the ITS kills the data with correct HTML syntax. My internal table with the HTML-data contains a HTML-table (<table>) with 1 cell in each row. What the ITS does, is that he kills the data from a certain point inside the cell till the end of the cell but he NEVER kills the HTML-tags like <td>, <tr>, </td> or </tr>!!!
But thatīs not all! The original report has a line size of 126 characters per line. In some cases (not all) the ITS decides that showing all the data in one line wonīt be pretty enough and so he closes the original line (</td></tr>) and opens new one (<tr><td>)!

Could it be a problem that the HTML-Table (based on W3HTML DDIC-structure) is completly full (every line is filled with the maximum of 255 chars)?

If it would be helpful to understand the problem I could upload an example.

Any ideas?

Thank you in advanve!

Thomas

Answer:
Hi Thomas!

I also had that kind of problem in the past. Here is what I found out:

1. This problem only occures if you call a function using webrfc and
2. you use this function to call a report and
3. this report has no line-size information

In that case the SAP R/3 System hands over the standard report list-size (80*65) to the ITS. The ITS itself applies this list size to the result table and the presentation of you data doesn't look like the way you expact.

So what to do?
Just enter the line-size information in the report header.

Let me know if my solution also solves your problem.

Best Regards

Marcel
Copyright ?2007 - 2008 www.jt77.com