openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /idoc/SYRECD01/SYRECD: post: summary: Determination of IDoc record types operationId: /idoc/SYRECD01/SYRECD requestBody: content: application/json: schema: type: object properties: EDI_DC40: properties: TABNAM: type: string maxLength: 10 description: Name of Table Structure MANDT: type: string maxLength: 3 description: Client DOCNUM: type: string maxLength: 16 description: IDoc number DOCREL: type: string maxLength: 4 description: SAP Release for IDoc STATUS: type: string maxLength: 2 description: Status of IDoc DIRECT: type: string maxLength: 1 description: 'Direction enumValues: 1=Outbound, 2=Inbound' enum: - '1' - '2' OUTMOD: type: string maxLength: 1 description: 'Output mode enumValues: 1=Transfer IDoc immediately and start external subsystem, 2=Transfer IDoc immediately, 3=Collect IDocs, transfer and start external subsystem, 4=Collect IDocs and transfer' enum: - '1' - '2' - '3' - '4' EXPRSS: type: string maxLength: 1 description: 'Overriding in inbound processing enumValues: ""=No overriding, X=Overriding' enum: - '' - X TEST: type: string maxLength: 1 description: 'Test flag enumValues: ""=IDoc contains a productive message, X=IDoc contains a test message' enum: - '' - X IDOCTYP: type: string maxLength: 30 description: Name of basic type CIMTYP: type: string maxLength: 30 description: Extension (defined by customer) MESTYP: type: string maxLength: 30 description: Message type MESCOD: type: string maxLength: 3 description: Message code MESFCT: type: string maxLength: 3 description: Message Function STD: type: string maxLength: 1 description: EDI standard, flag STDVRS: type: string maxLength: 6 description: EDI standard, version and release STDMES: type: string maxLength: 6 description: EDI message type SNDPOR: type: string maxLength: 10 description: Sender port (SAP System, external subsystem) SNDPRT: type: string maxLength: 2 description: Partner type of sender SNDPFC: type: string maxLength: 2 description: Partner Function of Sender SNDPRN: type: string maxLength: 10 description: Partner Number of Sender SNDSAD: type: string maxLength: 21 description: Sender address (SADR) SNDLAD: type: string maxLength: 70 description: Logical address of sender RCVPOR: type: string maxLength: 10 description: Receiver port RCVPRT: type: string maxLength: 2 description: Partner Type of Receiver RCVPFC: type: string maxLength: 2 description: Partner function of recipient RCVPRN: type: string maxLength: 10 description: Partner Number of Receiver RCVSAD: type: string maxLength: 21 description: Recipient address (SADR) RCVLAD: type: string maxLength: 70 description: Logical address of recipient CREDAT: type: string format: date maxLength: 8 description: Created on CRETIM: type: string maxLength: 6 description: Created at REFINT: type: string maxLength: 14 description: Transmission file (EDI Interchange) REFGRP: type: string maxLength: 14 description: Message group (EDI Message Group) REFMES: type: string maxLength: 14 description: Message (EDI Message) ARCKEY: type: string maxLength: 70 description: Key for external message archive SERIAL: type: string maxLength: 20 description: Serialization E1IDOCH: type: array items: properties: LANGUA: type: string maxLength: 1 description: Language SELREL: type: string maxLength: 4 description: Documentation output for this release LANGUA_ISO: type: string maxLength: 2 description: Language key E1SEGMH: type: array items: properties: SEGMENTTYP: type: string maxLength: 30 description: Segment type in 30-character format SEGMENTDEF: type: string maxLength: 30 description: 'IDoc Development : Segment definition' SEGLEN: type: string maxLength: 4 description: Length of Field (Number of Characters) PARSEG: type: string maxLength: 30 description: Segment type in 30-character format PARPNO: type: string maxLength: 4 description: Sequential number of parent segment PARFLG: type: string maxLength: 1 description: 'Flag for parent segment: Segment is start of segment group: X=Yes,""=No' enum: - X - '' MUSTFL: type: string maxLength: 1 description: 'Flag: Mandatory entry: X=Yes,""=No' enum: - X - '' OCCMIN: type: string maxLength: 10 description: Minimum number of segments in sequence OCCMAX: type: string maxLength: 10 description: Maximum number of segments in sequence HLEVEL: type: string maxLength: 2 description: Hierarchy level of IDoc type segment DESCRP: type: string maxLength: 60 description: Short description of object GRP_MUSTFL: type: string maxLength: 1 description: 'Flag for groups: Mandatory: X=Yes,""=No' enum: - X - '' GRP_OCCMIN: type: string maxLength: 10 description: Minimum number of groups in sequence GRP_OCCMAX: type: string maxLength: 10 description: Maximum number of groups in sequence REFSEGTYP: type: string maxLength: 30 description: Segment type in 30-character format QUALIFIER: type: string maxLength: 1 description: 'Flag: Qualified segment in IDoc: ""=Blank,X=Selection flag' enum: - '' - X E1TXTH2: type: array items: properties: FUNCTION: type: string maxLength: 3 description: Function (for transferred text) TDOBJECT: type: string maxLength: 10 description: 'Texts: application object' TDOBNAME: type: string maxLength: 70 description: Name TDID: type: string maxLength: 4 description: Text ID TDSPRAS: type: string maxLength: 1 description: Language TDTEXTTYPE: type: string maxLength: 6 description: 'SAPscript: Format of Text' LANGUA_ISO: type: string maxLength: 2 description: Language key E1TXTP2: type: array items: properties: TDFORMAT: type: string maxLength: 2 description: Tag column TDLINE: type: string maxLength: 132 description: Text Line required: - E1TXTH2 E1SEGMF: type: array items: properties: FIELDNAME: type: string maxLength: 30 description: Field Name INTLEN: type: string maxLength: 6 description: Internal Length in Bytes EXTLEN: type: string maxLength: 6 description: Output Length FIELD_POS: type: string maxLength: 6 description: Position number of field BYTE_FIRST: type: string maxLength: 6 description: Position of first byte BYTE_LAST: type: string maxLength: 6 description: Position of last byte ROLLNAME: type: string maxLength: 30 description: Data element (semantic domain) DOMNAME: type: string maxLength: 30 description: Domain name DATATYPE: type: string maxLength: 4 description: 'ABAP/4 Dictionary: Screen data type for Screen Painter: ACCP=Posting period YYYYMM,CHAR=Character String,CLNT=Client,CUKY=Currency key, referenced by CURR fields,CURR=Currency field, stored as DEC,DATS=Date field (YYYYMMDD) stored as char(8),DEC=Counter or amount field with comma and sign,FLTP=Floating point number, accurate to 8 bytes,INT1=1-byte integer, integer number <= 255,INT2=2-byte integer, only for length field before LCHR or LRAW,INT4=4-byte integer, integer number with sign,LANG=Language key,LCHR=Long character string, requires preceding INT2 field,LRAW=Long byte string, requires preceding INT2 field,NUMC=Character string with only digits,PREC=Precision of a QUAN field,QUAN=Quantity field, points to a unit field with format UNIT,RAW=Uninterpreted sequence of bytes,RSTR=Byte String of Variable Length,SSTR=Short Character String of Variable Length,STRG=Character String of Variable Length,TIMS=Time field (hhmmss), stored as char(6),VARC=Long character string, no longer supported from Rel. 3.0,UNIT=Unit key for QUAN fields' enum: - ACCP - CHAR - CLNT - CUKY - CURR - DATS - DEC - FLTP - INT1 - INT2 - INT4 - LANG - LCHR - LRAW - NUMC - PREC - QUAN - RAW - RSTR - SSTR - STRG - TIMS - VARC - UNIT DESCRP: type: string maxLength: 60 description: Short description of object ISOCODE: type: string maxLength: 1 description: 'IDoc development: ISO code ID in field: ""=Blank,X=Selection flag' enum: - '' - X VALUE_TAB: type: string maxLength: 30 description: Value table for IDoc segm. field E1TXTH3: type: array items: properties: FUNCTION: type: string maxLength: 3 description: Function (for transferred text) TDOBJECT: type: string maxLength: 10 description: 'Texts: application object' TDOBNAME: type: string maxLength: 70 description: Name TDID: type: string maxLength: 4 description: Text ID TDSPRAS: type: string maxLength: 1 description: Language TDTEXTTYPE: type: string maxLength: 6 description: 'SAPscript: Format of Text' LANGUA_ISO: type: string maxLength: 2 description: Language key E1TXTP3: type: array items: properties: TDFORMAT: type: string maxLength: 2 description: Tag column TDLINE: type: string maxLength: 132 description: Text Line required: - E1TXTH3 E1VALU1: type: array items: properties: FLDVALUE_L: type: string maxLength: 10 description: Lower value/single value FLDVALUE_H: type: string maxLength: 10 description: Upper value DESCRP: type: string maxLength: 60 description: Explanatory short text required: - E1SEGMF required: - E1SEGMH required: - E1IDOCH responses: '200': description: OK content: application/json: schema: type: object properties: TID: type: string description: tid '400': description: Bad request. 5XX: description: Unexpected error.