Skip to Content
Former Member
Jan 16, 2007 at 12:58 PM

Problem accessing item in RFC from Portal



I developed a portal component using JSPDynpage.

In this component I hand over data to a RFC in R/3 using JCO for the connection.

The input of the data to the RFC works fine, but I've got some problems with the data I receive as result.

The data has the following structure:

Under the Export-Tab in R/3 you can find the table "EX_PDF_TAB".

This table has the following structure

-- Field EBELN (of Datatype CHAR)

-- Field NUMBYTES (of Datatype INT4) and

-- PDF_TABELLE which contains a table

-- This again contains 2 colums TD and TDLINE.

It works fine to access EBELN and NUMBYTES but with the table I don't know how it works.

A piece of the code:

Object messages = output.get(Constants.MESSAGE_EX_PDF_TAB);

if (messages == null) {

return null;


else if (messages instanceof IRecordSet) {

Vector resultMessages = new Vector();

while (((IRecordSet)messages).next()) {



???????Object pdf_Tabelle =(((IRecordSet)messages).getObject("PDF_TABELLE"));





Any ideas?

Best regards,