Skip to Content
avatar image
Former Member

JCO 3 writeHTML

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 12, 2009 at 08:24 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 12, 2009 at 08:58 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

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