IDoc Functions

CALL FUNCTION ‘MASTER_IDOC_DISTRIBUTE’
EXPORTING
VALUE(MASTER_IDOC_CONTROL) LIKE EDIDC STRUCTURE EDIDC
” Control record of master IDoc
VALUE(OBJ_TYPE) LIKE SERIAL-OBJ_TYPE DEFAULT ”
VALUE(CHNUM) LIKE SERIAL-CHNUM DEFAULT ”
TABLES
COMMUNICATION_IDOC_CONTROL STRUCTURE EDIDC
” Control records of created comm. IDocs
MASTER_IDOC_DATA STRUCTURE EDIDD
” Data records of master IDoc
EXCEPTIONS
ERROR_IN_IDOC_CONTROL
” Incorrect entry in IDoc control record
ERROR_WRITING_IDOC_STATUS
” Error when writing IDoc status records
ERROR_IN_IDOC_DATA
” Incorrect entry in IDoc data records
SENDING_LOGICAL_SYSTEM_UNKNOWN
” Own logical system unknown

CALL FUNCTION ‘CHANGE_POINTERS_READ’
EXPPORTING
VALUE(ACTIVATION_DATE_HIGH) LIKE SY-DATUM DEFAULT SPACE
VALUE(ACTIVATION_DATE_LOW) LIKE SY-DATUM DEFAULT SPACE
VALUE(ACTIVATION_TIME_HIGH) LIKE SY-UZEIT DEFAULT ‘000000’
VALUE(ACTIVATION_TIME_LOW) LIKE SY-UZEIT DEFAULT ‘000000’
VALUE(CHANGE_DOCUMENT_OBJECT_CLASS) LIKE CDPOS-OBJECTCLAS
DEFAULT SPACE
VALUE(CREATION_DATE_HIGH) LIKE SY-DATUM DEFAULT SPACE
VALUE(CREATION_DATE_LOW) LIKE SY-DATUM DEFAULT SPACE
VALUE(CREATION_TIME_HIGH) LIKE SY-UZEIT DEFAULT ‘000000’
VALUE(CREATION_TIME_LOW) LIKE SY-UZEIT DEFAULT ‘000000’
VALUE(MESSAGE_TYPE) LIKE BDCPS-MESTYPE
VALUE(READ_NOT_PROCESSED_POINTERS) LIKE BDCPS-PROCESS DEFAULT
‘X’
TABLES
CHANGE_POINTERS STRUCTURE BDCP
MESSAGE_TYPES STRUCTURE BDMSGTYP OPTIONAL
EXCEPTIONS
ERROR_IN_DATE_INTERVAL
ERROR_IN_TIME_INTERVAL

CALL FUNCTION change_pointers_status_write.
IMPORTING
VALUE(MESSAGE_TYPE) LIKE EDIDC-MESTYP
TABLES
CHANGE_POINTERS_IDENTS STRUCTURE BDICPIDENT

Examples of Inbound function modules are
IDOC_INPUT_BLAOCH IDoc inbound processing: change Ccontract
IDOC_INPUT_BLAORD IDoc inbound processing: Create Contract
IDOC_INPUT_MATMAS01 IDoc inbound processing: Material Master

Examples of Outbound function modules are
IDOC_OUTPUT_BLAOCH
IDOC_OUTPUT_BLAORD

Advertisements
Categories: ALE, IDoc | Leave a comment

Post navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: