cancel
Showing results for 
Search instead for 
Did you mean: 

JCO 3 writeHTML

Former Member
0 Kudos

Hey,

In JCO 2.x you have the possibility to see the import and export parameters of a BAPI call as HTML with the function writeHTML of the JCO.Record class. Is there a similar function in the JCO 3.0 version?

thx

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

To the best of my knowledge JCo3 does not provide any default method/writers for HTML output. However, depending on what you want to achieve you could utilize for example the toString() method on the JCoFunction object, to get a console logging type list of all function parameters.

Alternatively you can utilize the toXML() methods available for the objects, which will provide you an XML format with all the function parameters. If you require HTML output you could write an XSLT transformation for converting the XML output into HTML output.

Cheers, harald

Former Member
0 Kudos

I'll try to use this, but it's was easier with the printHTML to generate simple, but nice logging.

Former Member
0 Kudos

Hi!

I had a look at Javadocs - JCoRecord of JCo 3.0 seems not to provide this method any more. May I ask what you try to achieve with calling this method?

Regards,

Thomas

Former Member
0 Kudos

I use this to log data that is send to and received from SAP.