cancel
Showing results for 
Search instead for 
Did you mean: 

Get content document in WD abap

Former Member
0 Kudos

Hi all,

I need to get the content of a document (BINARY or XSTRING) in a WD abap.

I know the following values:

- doknr

- dokar

- dokvr

- doktl

Can anybody helps me?

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

I don't see anything related to WD ABAP in the query, you can post this in ABAP general forum to get quick response.

Getting Binary and Xstring format is general ABAP.

What kind of document is this?, in which module these documents are used?..where the data is stored?

is it Knowledge Provider ?

Abhi

Former Member
0 Kudos

I have put my question in Abap General Forum.

Thanks.

Former Member
0 Kudos

hallo, Kata!

the files are stored in the system with the help of Knowledge Provider. Every document has unique PHIO and LOIO attributes.

if you know storage name of documents you can get PHIO of the folder where data is kept. futhermore you can get the list of all documents stored in that folder and select the required one. after that use function module:

SKWF_PHIO_LOAD_CONTENT

exporting to this module PHIO attributes of your object in import you'll get a table of type sdokcntbin

this table contains data in binary format

Note: with the help of SCMS_BINARY_TO_XSTRING you'll convert data to XSTRING

Answers (0)