Functionality The function module SRM_DOCUMENT_CHECKOUT_VIA_TAB gets the documentcontent from the Records Management back end for the client application. You can use the binary_flag field of the structure BAPIDOCCOMP to decidewhether the content of a component is retrieved from the ASCIItable ASCII_CONTENT (binary_flag <> 'X') or from the binary tableBIN_CONTENT (binary_flag = 'X'). Using the component size and the rowlength of BIN_CONTENT or ASCII_CONTENT (calculated in bytes), you cancalculate the offset at which a component in the internal table beginsand ends. A new component always begins with a new line. Example CALL FUNCTION 'SRM_DOCUMENT_CHECKOUT_VIA_TAB' EXPORTING objectid = objectid documentclass = documentclass * version = version " version = 0 variant = 0 stands for thecurrent version * variant = variant IMPORTING return = return TABLES components = components ascii_content = ascii_content bin_content = bin_content . |