Show TOC

Interface (API) for Partner ProfilesLocate this document in the navigation structure

Use

You can use the IDoc Interface function modules for dialog-free maintenance of partner data. For example, you can add a large number of partners to the database without having to enter the partner data in the system.

Features

The function modules access the four partner profile tables: EDPP1 (general partner profile), EDP12 (message control), EDP13 (outbound parameters) and EDP21 (inbound parameters).

The names of the function modules start with EDI_AGREE. The end of the name describes the relevant database operation.

Name

Description

EDI_AGREE_PARTNER_INSERT

Inserts new partners.

After checking whether:

  • Partner number exists in the system (for example, master record)?

  • Partner type is permitted?

  • Partner status permitted ("A","I", or "T")?

  • Agent type is permitted?

  • Permitted agents exist?

  • Test and archive indicators not initial?

The partner type and number can be copied without being checked.

EDI_AGREE_PARTNER_UPDATE

Changes partners.

Same checks as EDI_AGREE_PARTNER_INSERT.

EDI_AGREE_PARTNER_DELETE

Deletes partners.

EDI_AGREE_PARTNER_READ

Reads partner data.

Name

Description

EDI_AGREE_OUT_IDOC_INSERT

Inserts a new entry.

After checking whether:

  • Partner exists in table EDPP1?

  • Partner function exists in table TPAR?

  • Application for message conditions and output type exist as a combination?

  • Change indicators and test indicators not initial?

  • Outbound process code exists in table TEDE1?

  • Logical message type exists in table EDMSG?

EDI_AGREE_OUT_IDOC_UPDATE

Changes a line. Same checks as EDI_AGREE_OUT_IDOC_INSERT, exception: Does not check whether the partner exists in EDPP1.

EDI_AGREE_OUT_IDOC_DELETE

Deletes a line.

EDI_AGREE_OUT_IDOC_READ

Reads a line.

Name

Description

EDI_AGREE_OUT_MESSTYPE_INSERT

Inserts a new entry.

After checking whether:

  • Partner exists in table EDPP1?

  • Partner function exists in table TPAR?

  • Logical message type exists in table EDMSG?

  • Test indicator and syntax check not initial?

  • Agent parameters are valid?

  • Output mode is valid (value between 1 and 4)?

  • Port is defined in table EDIPORT?

  • Package size: number of IDocs sent per RFC is greater than 0 (ALE scenario)

  • Release for which the segment definitions are to be taken exists

EDI_AGREE_OUT_MESSTYPE_UPDATE

Changes a line.

Checks such as:

  • EDI_AGREE_OUT_MESSTYPE_INSERT

Exception: Does not check whether the partner exists in EDPP1.

EDI_AGREE_OUT_MESSTYPE_DELETE

Deletes a line.

EDI_AGREE_OUT_MESSTYPE_READ

Reads a line.

Name

Description

EDI_AGREE_IN_MESSTYPE_INSERT

Inserts a new entry.

After checking whether:

  • Partner exists in table EDPP1?

  • Partner function exists in table TPAR?

  • Logical message type exists in table EDMSG?

  • Test indicator and syntax check not initial?

  • Agent parameters are valid?

  • Process code exists in table TEDE2?

  • Processing mode not initial?

EDI_AGREE_IN_MESSTYPE_UPDATE

Changes a line. Same checks as EDI_AGREE_IN_MESSTYPE_INSERT.

EDI_AGREE_IN_MESSTYPE_DELETE

Deletes a line.

EDI_AGREE_IN_MESSTYPE_READ

Reads a line.

The following function modules access several tables in the partner profiles:

Name

Description

EDI_PARTNER_READ_COMPLETE

Reads all partner profiles (EDPP1, EDP12, EDP13, EDP21) for a specific partner.

EDI_PARTNER_DELETE_COMPLETE

Deletes all partner profiles for a specific partner.

EDI_PARTNER_COPY_COMPLETE

Copies all partner profiles of a specific partner.

EDI_PARTNER_APPL_READ_OUT

Reads EDP13 for a specific partner. The partner's status must be "active".

EDI_PARTNER_READ_OUTGOING

Reads EDP12 and EDP13 for a specific partner. The partner's status must be "active".

EDI_PARTNER_READ_INCOMING

Reads EDP21 for a specific partner. The partner's status must be "active".

EDI_PARTNER_READ_USER_OUTGOING

Reads permitted agents from EDP13 or EDPP1.

EDI_PARTNER_READ_USER_INCOMING

Reads permitted agents from EDP21 or EDPP1.

EDI_PARTNER_TEST_OUTGOING

Tests whether a partner is defined for outbound processing.

EDI_PARTNER_TEST_INCOMING

Tests whether a partner is defined for inbound processing.