SAP Function RSOD_DOC_TRAN_CHANGE - Document API: Create Document for InfoProvider Data

Parameter Reference Type Length Default Optional Text
I_COPY_URL_CONTENT RS_BOOL C 1 X = 'X' Document read and copied. ' ' Link to URL (not yet functional)
I_DESCRIPTION SDOK_DESCR C 64 Short Description
I_INFOPROV RSINFOPROV C 30 X InfoProvider
I_KYFNM RSKYFNM C 30 X Online Documentation
I_LANGU LANGU C 1 SY-LANGU X Language Key
I_NAME SKWF_URLP C 40 X Name
I_OVERWRITE_MODE RSOD_OVERWRITE_MODE C 1 0: New LOIO, 1: New PHIO, 2: Replace PHIO, 3: Delete LOIO
I_QUERY RSZCOMPID C 30 X Name (ID) of a reporting component
I_S_CONTENT_INFO RSOD_S_CONTENT_INFO u 418 X API Documents: Content Info
I_URL SAEURI C 4096 X URL
I_WITH_CONTENT RS_BOOL C 1 X = 'X' Contents provided (I_T_FILE_CONTENT_ASCII / I_T_FILE_CONTENT_BINARY)
I_WITH_URL RS_BOOL C 1 X = 'X' Document specified using URL

Parameter Reference Type Length Text
E_NAME SDOK_PROPV C 64 Attribute Value
E_S_RETURN BAPIRET2 u 548 Return Parameter

Parameter Reference Length Optional Text
I_T_CHAVL RSOD_S_CHANM_CHAVL 90 X Characteristic Values
I_T_FILE_CONTENT_ASCII SDOKCNTASC 1022 X Text Document Contents
I_T_FILE_CONTENT_BINARY SDOKCNTBIN 1022 X Binary Document Contents

Functionality
You use this module to create or change a document for InfoProviderdata.
This module is similar to function module
RSOD_CREATE_DOC_META. The only difference lies in how you specifydocument properties. This is explained below:

Specific parameters (selection) for documents for InfoProvider data:
The characteristic values are transferred using table parameterI_T_CHAVL. In each row, you have to specify the characteristic (CHANM)and the characteristic value (I_CHAVL). For compound characteristics,the characteristic value must be transferred in concatenated form (thatis, 10010000001000 for the cost center 1000 in controlling area 1001).All other are selected with property "not available".
In addition, you can specify the document using parameter I_INFOPROV tospecify the InfoProviders, I_QUERY to specify the queries and I_KYFNM tospecify the key figures for the document. These parameters are optional.If, for example, the InfoProvider is not entered, the document appliesto all InfoProviders.