ImportSchemaFromSAP Method
Loads the schema for an IDoc type.
Syntax
public void importSchemaFromSAP(String IDocType, String enhancement);
Remarks
Imports the IDoc schema for the IDoc type specified by the parameters IDocType and Enhancement from the SAP system into the bean.
Note that the IDocType parameter should be the same as the IDOCTYP in the ControlRecordData of the document you intend to read. Likewise the Enhancement parameter should be the same as the CIMTYP in the ControlRecordData record. If the Enhancement is set and defined as an IDoc type on the SAP system, then the corresponding schema will be returned.