By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
I'm having a little bit of a problem with JCo. In order to be able to write an XML file efficiently into SAP, I need to be able to determine the primary keys of any table. JDBC has functions that I can use to determine this, but I cannot seem to find anything in JCo that does the same thing, making a writeback either extremely inefficient or impossible. Is there a way around this, or am I missing something really obvious?
You can use the RFM DDIF_FIELDINFO_GET (field KEYFLAG) to check whether a field in a database table is a key field or not.