KB 027 – IDOC Configuration
IDOC Configuration
Configure IDOCS
Administrator -> Setup Metric IDOC -> Segment Filter
IDOC Creation Example 1
Enter IDOC Details
Select New Entries
Message Type: Z_ISU_TO_WEB_API
Basic Type: Z_ISU_TO_WEB_API
Direction: Outbound
Select “Active” and save
Highlight newline
Enter IDOC Segments
Highlight the IDOC Header line
Double-click “IDOC Segments”
Select New Entries
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
Double-click “Segment Fields”
Select “New Entries”
Enter the following values
- TRANSACTION_ID
- TRANSACTION_DATE
- TRANSACTION_TIME
Save entries
Double-Click on “IDOC Segments” and highlight ZDIGCONTRACTACCOUNT\
Double-click “Segment Fields”
Select “New Entries”
Enter the following values
- CONTRACT_ACCOUNT
- NAMED_IDENTIFIER
Save Entries
Double-Click on “IDOC Segments” and highlight ZDIGCONTRACT
Double-click “Segment Fields”
Select “New Entries”
Enter the following values
- CONTRACT
Save Entries
For the remaining enter the following Fields:
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
Highlight new line
Double-click on “IDOC Segments”
Select “New Entries”
Add the follow Segments
- ZTRANSACTION
- ZISUWEBAPIERROR
- ZDIGCONTRACTACCOUNT
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