KB 027 – IDOC Configuration

IDOC Configuration

Configure IDOCS

Administrator -> Setup Metric IDOC -> Segment Filter

IDOC configuration

IDOC Creation Example 1

Enter IDOC Details

IDOC configuration

Select New Entries IDOC configuration

Message Type: Z_ISU_TO_WEB_API
Basic Type: Z_ISU_TO_WEB_API
Direction: Outbound
Select “Active” and save

IDOC configuration

Highlight newline

Enter IDOC Segments

Highlight the IDOC Header line

IDOC configuration

Double-click “IDOC Segments”

IDOC configuration

Select New Entries IDOC configuration

Enter Segments type

  • ZTRANSACTION
  • ZDIGCONTRACTACCOUNT
  • ZDIGCONTRACT
  • ZDIGBASICUSAGEAMT
  • ZDIGSMART
  • ZDIGBILLSIM
  • ZDIGBILLHIST
  • ZDIGPAYMENT
  • ZISUWEBAPIRESPONS

Make all active and save

Enter the Segments you want to extract

Highlight ZTRANSACTION

IDOC configuration

Double-click “Segment Fields”

IDOC configuration

Select “New Entries” IDOC configuration

Enter the following values

  • TRANSACTION_ID
  • TRANSACTION_DATE
  • TRANSACTION_TIME

IDOC configuration

Save entries

Double-Click on “IDOC Segments” and highlight ZDIGCONTRACTACCOUNT\

IDOC configuration

Double-click “Segment Fields”

IDOC configuration

Select “New Entries” IDOC configuration

Enter the following values

  • CONTRACT_ACCOUNT
  • NAMED_IDENTIFIER

IDOC configuration

Save Entries

Double-Click on “IDOC Segments” and highlight ZDIGCONTRACT

IDOC configuration

Double-click “Segment Fields”

IDOC configuration

Select “New Entries” IDOC configuration

Enter the following values

  • CONTRACT

IDOC configuration

Save Entries

For the remaining enter the following Fields:

IDOC configuration

IDOC configuration

IDOC configuration

IDOC configuration

IDOC configuration

IDOC configuration

Save all entries

IDOC Example 2

Double Click on “IDOC header”

Add new entry

Message Type: Z_ISU_ERROR_TO_WEB_API

Basic Type: Z_ISU_ERROR_TO_WEB_API

Direction: Outbound

Make active and save

IDOC configuration

Highlight new line

IDOC configuration

Double-click on “IDOC Segments”

IDOC configuration

Select “New Entries” IDOC configuration

Add the follow Segments

  • ZTRANSACTION
  • ZISUWEBAPIERROR
  • ZDIGCONTRACTACCOUNT

IDOC configuration

Make all active and save

Highlight each segment and select the following fields for each segment.

  • ZDIGCONTRACTACCOUNT
    • CONTRACT_ACCOUNT
  • ZISUWEBAPIERROR
    • ERROR_CODE
  • ZTRANSACTION
    • TRANSACTION_ID

Download PDF version here