Sie sind auf Seite 1von 2

IDOC BASICS

IDOC sections
Data Record-Contains application dependent data
Control Record- Always first line of file and provides administrative information
For Inbound processing, this holds the method of processing an IDOC
Which can be an Function Module or Business object(BADI, BAPI etc).
Example: IDOC structure MATMAS01

IDOCs are defined in WE31


IDOC segment viewer WE30
EDIDC-Control record table- Contains administrative information
Main TCODES WEDI,SALE,BALE,WE31,WE30(View segments for basic
type),WE31(Create IDOC segments)
IDOC type example MATMAS01
Details In an IDOC record;
IDOC type
CREDAT- Created on Date
CRETIM- Created on Time
DOCTYP-Idoc document type
DOCNUM-Idoc document number
STATUS- IDOC STATUS
DIRECT-Direction for IDOC 01-Outbound 02-Inbound
RCVPRN-Partner number of receiver
SNDPRN-Partner number of sender
SNDPOR-sender port
RCVPOR-Receiver port

IDOC DATA RECORD


EDID4/EDID3 IDOC Data Record table

IDOC status codes in EDIDC


53- Success
51-Error

Das könnte Ihnen auch gefallen