Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Data Description

The BD87_DYN event is used in SAP to view iDoc details including statuses, segments, and the data stored within the EDI container.

Potential Use Cases

This event could be used for the following scenarios:

  • Alert on iDoc failures.

  • Dashboard iDoc error distribution for a specific interface.

  • Correlate outbound iDoc data with tRFC failures.

  • End-to-end monitoring or dashboarding use cases when trying to track business process flows and failures across systems.

Metric Filters

Important Note: The metric filters need to be applied to extract data for the BD87_DYN event.

To access the metric filters for the BD87_DYN event, execute the /n/bnwvs/main transaction in the managed system. Then go to Administrator → Metric Filters → IDOC Segment filter.

Then you will be brought to a page where the iDoc parameters can be input. Select the New Entries option.

Then input the desired values into the selection criteria fields. Here are the definitions for each of the fields, and how they can be leveraged:

  • Message Type - This field is mandatory, and is based on the Message Type associated with the iDoc desired for data extraction.

  • Basic Type - This field is mandatory, and is based on the Basic Type associated with the iDoc desired for data extraction.

  • Direction - This field is optional, but can be used to filter on inbound or outbound transactions. To filter on inbound transactions enter “Inbound”, and to filter on outbound transactions enter “Outbound”. If you would like to select all transactions regardless of direction, leave the field value empty.

  • RcvPartn.no. - This field is optional, but can be used to filter on a particular receiving partner number associated with an iDoc. If you could like to select all transactions regardless of the partner, leave the field value empty.

  • RcvPort - This field is optional, but can be used to filter on a particular receiving port associated with an iDoc. If you would like to select all transactions regardless of the port, leave the field value empty.

  • SndPartn.no. - This field is optional, but can be used to filter on a particular sending partner number associated with an iDoc. If you could like to select all transactions regardless of the partner, leave the field value empty.

  • SndPort - This field is optional, but can be used to filter on a particular receiving port associated with an iDoc. If you would like to select all transactions regardless of the port, leave the field value empty.

  • Active - This checkbox can be used to enable and disable the data extraction. To enable the data extraction ensure that the checkbox is selected.

Extract iDocs Accross Clients

If you would like to extract iDocs from multiple clients, select the row that you would like to extract the data from, and then double-click the IDOC Clients section on the left side of the screen.

You will then be brought to a page where you can input the Clients from which you would like to extract the iDocs. Select the New Values button.

Enter the Client(s) that you would like to extract the data from, and Save.

Extract iDoc Segments

Once the values have been input as specified above, Save. Then select the row that you would like to extract the segment values for and and then double-click the IDOC Segments section on the left side of the screen.

You will then be brought to a page where you can input which iDoc segment associated with the field values you would like to extract. Select the “New Entries” button.

Then input the desired values into the selection criteria fields. Here are the definitions for each of the fields, and how they can be leveraged:

  • Segment Type - This field is mandatory and is used to input the segment associated with the fields and field values you would like to extract from within the iDoc container.

  • Status - This field is optional and is used if you would only like to extract the fields and field values from within the iDoc on specific statuses.

  • Active - This checkbox can be used to enable and disable the data extraction. To enable the data extraction ensure that the checkbox is selected.

Once the values have been input, hit the Save button. Then select the row that you would like to extract the fields and field values for, and then double-click on the Segments Fields section on the left side of the screen.

You will then be brought to a page where you can input which iDoc segment fields that you would like to extract. Select the “New Entries” button.

Then input the field names associated with the iDoc segment you previously highlighted, and Save.

Splunk Event

Important Note: The metric filters need to be applied to extract data for the BD87_DYN event. Please see the Metric Filters section above for how to apply the filters.

BD87_DYN with EVENT_SUBTYPE=””

The event will look like this in Splunk:

BD87_DYN with EVENT_SUBTYPE=”SGFV”

This event subtype is customized based on the parameters input in the metric filters. The event will look somewhat like this in Splunk:

BD87_DYN with EVENT_SUBTYPE=”SGLG”

The event will look like this in Splunk:

SAP Navigation

Important Note: The metric filters need to be applied to extract data for the BD87_DYN event. Please see the Metric Filters section above for how to apply the filters.

Navigate to this data by using the WE02 t-code. The BD87 t-code can be leveraged, but the WE02 t-code provides more specific filter criteria. Enter the desired filter criteria from the entry page and select “Execute”.

You will then be presented the list of iDocs that were specified in the filter criteria. Select one of the iDocs of interest by double-clicking the iDoc number:

Each of the data types below is accessed using the entry point steps documented above.

BD87_DYN with EVENT_SUBTYPE=””

When viewing the iDoc selected from the steps above, double-click the Control Record option from the left side of the screen.

Each of the tabs are extracted as part of this event:

Type Information

Partner

Technical Information

Address Information

Details

BD87_DYN with EVENT_SUBTYPE=”SGFV”

When viewing the iDoc selected expand the Data Records option from the left side of the screen.

The fields that are extracted as part of this event are based on the customization of the Metric Filters defined above. Please see the Metric Filters section for how to customize what data is extracted from within the iDoc.

BD87_DYN with EVENT_SUBTYPE=”SGLG”

When viewing the iDoc selected expand the Status Records option from the left side of the screen.

Then double-click the status record value of interest, and you will be brought to the next screens, which are viewable within the Splunk event.

Technical Information

Status Details

Logging

Field Mapping

BD87_DYN with EVENT_SUBTYPE=””

Field

Description

Unit of Measure

ARCKEY

EDI archive key

CIMTYP

Extension

CREDAT

Creation Date

CRETIM

Creation Time

CURRENT_TIMESTAMP

The date time stamp when the information was collected

DIRECT

Direction

DOCNUM

iDoc number

DOCREL

SAP Release for IDoc

DOCTYP

iDoc Type

EVENT_SUBTYPE

SGLG

EVENT_TYPE

BD87_DYN

EXPRSS

Overriding in inbound processing

Boolean

IDOCTP

Basic type

MAXSEGNUM

Number of data records

MESCOD

Logical Message Variant

MESFCT

Logical message function

MESTYP

Message Type

OUTMOD

Output Mode

RCVLAD

Logical address of recipient

RCVPFC

Partner Function of Receiver

RCVPOR

Receiver port (SAP System, EDI subsystem)

RCVPRN

Partner Number of Receiver

RCVPRT

Partner Type of Receiver

RCVSAD

Recipient address (SADR)

RCVSCA

Communication type (SADR) of recipient

RCVSDF

SADR default flag for recipient address

RCVSLF

Sequential Number of Recipient Address (SADR)

RCVSMN

SADR client (recipient)

RCVSNA

SADR flag for international recipient address

REFGRP

Reference to message group

REFINT

Reference to interchange file

REFMES

Reference to message

SERIAL

Serialization field

SNDLAD

Logical address of sender

SNDPFC

Partner Function of Sender

SNDPOR

Sender port (SAP System, EDI subsystem)

SNDPRN

Partner Number of Sender

SNDPRT

Partner type of sender

SNDSAD

Sender address (SADR)

SNDSCA

Communication type (SADR) of sender

SNDSDF

SADR default flag for sender address

SNDSLF

Sequential Number of the Sender Address (SADR)

SNDSMN

SADR client (sender)

SNDSNA

SADR flag for international sender address

STATUS

Status of iDoc

STD

EDI Standard

STDMES

EDI message type

STDVRS

Version of EDI standard

TEST

Test Flag

Boolean

UPDDAT

Date on which control record was last changed

UPDTIM

Time on which control record was last changed

UTCDIFF

The UTC OFFSSET in HHMMSS that the data was collected in

UTCSIGN

The UTC positive or negative OFFSET indicator. Positive (+) means add UTCDIFF to find the time zone of the data, negative (-) means subtract the UTCDIFF to find the time zone adjusted date time the data was collected in.

BD87_DYN with EVENT_SUBTYPE=”SGFV”

Field

Description

Unit of Measure

COUNTER

Counter

CURRENT_TIMESTAMP

The date time stamp when the information was collected

YYYYMMDDHHMMSS

DOCNUM

iDoc number

Number

DTINT2

Length

EVENT_SUBTYPE

SGLG

N/A

EVENT_TYPE

BD87_DYN

N/A

HLEVEL

Hierarchy level

PSGNUM

No. higher segment

SEGNAM

SAP segment name

SEGNUM

Segment No.

UTCDIFF

The UTC OFFSSET in HHMMSS that the data was collected in

HHMMSS

UTCSIGN

The UTC positive or negative OFFSET indicator. Positive (+) means add UTCDIFF to find the time zone of the data, negative (-) means subtract the UTCDIFF to find the time zone adjusted date time the data was collected in.

+ | -

UZEIT

Time

BD87_DYN with EVENT_SUBTYPE=”SGLG”

Field

Description

Unit of Measure

APPL_LOG

Application Log

COUNTR

IDoc status counter

CREDAT

Date status record was created

YYYYMMDD

CRETIM

Time status record was created

HHMMSS

CURRENT_TIMESTAMP

The date time stamp when the information was collected

YYYYMMDDHHMMSS

DOCNUM

iDoc number

Number

EVENT_SUBTYPE

SGLG

String

EVENT_TYPE

BD87_DYN

String

IDOCTP

Basic type

String

LOGDAT

Date of status information

YYYYMMDD

LOGTIM

Time of status information

HHMMSS

REPID

Program Name

String

ROUTID

Name of subroutine (routine, function module)

String

SEGFLD

Field Name in SAP Segment

String

SEGNUM

Number of SAP segment

Number (Count)

STACOD

Status code

STAMID

Status message ID

String

STAMNO

Status message number

Number

STAMQU

Status message qualifier

String

STAPA1

Parameter 1

String

STAPA2

Parameter 2

String

STAPA3

Parameter 3

String

STAPA4

Parameter 4

String

STATUS

Status of IDoc

Number

STATXT

Text for status code

String

STATYP

Type of system error message (A, W, E, S, I)

String

TID

Transaction ID

Integer

UNAME

User Name

String

UTCDIFF

The UTC OFFSSET in HHMMSS that the data was collected in

HHMMSS

UTCSIGN

The UTC positive or negative OFFSET indicator. Positive (+) means add UTCDIFF to find the time zone of the data, negative (-) means subtract the UTCDIFF to find the time zone adjusted date time the data was collected in.

+ | -

  • No labels