Connectors

ERP & Enterprise Systems

SAP IDoc

SAP IDocs: send and receive IDocs, convert them to and from XML, and check their status
Signs in with
Connection details
Runs on
Cloud or On-Prem Worker
Operations
10
Ready-made triggers
0

Connect SAP IDoc

  1. In Neblex open Connect › Connections and click New Connection.
  2. Search for SAP IDoc and give the connection a clear name.
  3. Fill in the fields. Secret values are encrypted and never shown again.
  4. Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
FieldWhat to enter
ProtocolRequiredRFC uses the SAP NW RFC SDK installed on an On-Prem Worker and offers every operation. HTTP uses the system's SOAP RFC and IDoc services over HTTPS and also runs in the Cloud.
Application serverOptionalHost name or address of the application server. Leave empty to log on through a message server.Example: s4app01.example.internal
System numberOptionalThe two-digit instance number of the application server.Example: 00
Message serverOptionalHost of the message server, for load-balanced logon through a logon group.
Message server serviceOptionalPort or service name of the message server, when it is not sapms followed by the system ID.
System IDOptionalThe three-character system ID, for logon through a message server.
Logon groupOptionalThe logon group the message server balances over, for example PUBLIC.
SAP router stringOptionalThe route through one or more SAP routers, for example /H/router.example.com/S/3299/H/.
System addressOptionalThe HTTPS address of the SAP system, without a path.Example: https://s4.example.com:44300
ClientRequiredThe three-digit SAP client to log on to.Example: 100
UserOptionalThe SAP user. Leave empty when SNC or a client certificate signs the user on.
PasswordOptionalSecret
LanguageOptionalThe logon language, as a two-letter ISO code.Example: EN
SNC partner nameOptionalThe SNC name of the SAP system, for example p:CN=S4H. Setting it turns on Secure Network Communications.
SNC protection levelOptional1 authentication, 2 integrity, 3 privacy, 8 the system's default, 9 the maximum.
SNC own nameOptionalThe SNC name of this client, when it is not the default of the security library.
SNC libraryOptionalFull path of the SNC security library on the host that runs the step, for example the SAP Cryptographic Library.
Gateway hostOptionalTo receive calls and IDocs from SAP: the host of the SAP gateway this connection registers at.
Gateway serviceOptionalThe gateway service or port, sapgw followed by the system number.Example: sapgw00
Program IDOptionalThe program ID of the registered server program, as entered in the TCP/IP RFC destination (transaction SM59).
Client certificateOptionalPEM certificate for logon with an X.509 client certificate.
Client certificate keyOptionalSecretPEM private key of the client certificate.
Trusted server certificateOptionalPEM certificate authority of the SAP system, when it is not publicly trusted.

Use it in a flow

  1. Open a flow, open the node library and search for SAP IDoc.
  2. Drag it onto the canvas and choose an Operation and your connection.
  3. Map the operation's fields from earlier steps, or click Map with Matt.
  4. Use Test this step to see what it returns, then save.

To start a flow from SAP IDoc without a ready-made trigger: a Poll for changes trigger can check one of its list operations on a schedule and pass on only what is new; if SAP IDoc can send webhooks, a Webhook trigger receives them at its own URL.

Operations

10 operations in 5 groups. Each one is a step you can add to a flow.

Connection1
Test the connectionpingLog on over RFC, or check that the IDoc XML service answers over HTTP.
Conversion2
Read IDoc XMLparseIdocXmlTurn IDoc XML into one record per IDoc.
Write IDoc XMLbuildIdocXmlTurn IDoc records into one IDoc XML packet, for a file or another channel.
IDoc2
Receive IDocsreceiveIdocsRegister at the SAP gateway as the program of a tRFC port and receive the IDocs SAP sends, one record per IDoc.
Send IDocssendIdocsSend IDocs to SAP: with RFC as one tRFC or qRFC unit of IDOC INBOUND ASYNCHRONOUS that SAP posts exactly once; with HTTP as IDoc XML to the idoc xml service or in a SOAP envelope to the...
Metadata3
Describe an IDoc typedescribeIdocTypeReturn the segments of an IDoc type with their hierarchy and occurrence, and every field with its position and length.
List IDoc typeslistIdocTypesList the system's basic IDoc types with their descriptions.
List message typeslistMessageTypesList the system's IDoc message types with their descriptions.
Monitoring2
Get IDoc status historygetIdocStatusReturn every status record of an IDoc with its time, text and message details.
List IDocslistIdocsList IDoc control records, filtered by direction, status, message and IDoc type, partner and creation date.