Output
condition records are crucial for business in the case of interfaces. Any changes
to it will have an impact on the receiver system not receiving the data.
Standard
SAP hasn't given any feature to capture records directly but however, SAP has given
a provision to do so.
Below is the process to be recommended by SAP through SNOTE: 2967998 - No changelog available for OUTPUT condition records
Check the indicator for "Log Data Changes" for table NACH in SE11.
(-> click button for Technical settings) This can be set.
You can develop your own query or
Abap to read out the changes made in an output condition record. Use this
information as a source:
If you create/change an output condition in MN04/MN05, an entry is written into the table
B02* (e.g. B026) and into table NACH. The two tables are linked with
B026-KNUMH=NACH-KNUMH.
Read table CDHDR where OBJECTCLAS = COND_OC and OBJECTID = NACH-KNUMH = B026-KNUMH
OBJECTID is stored in this
format: 0000000001BEF026NEU where 0000000001=KNUMH, B=output,
EF=Application (PO), 026=B026, NEU=output type
Then you can read table CDPOS
with OBJECTCLAS = COND_OC and CHANGENR = CDHDR-CHANGENR
or
the simplest way is to execute OY18 and pass the NACH table. Transaction OY18 is used for analysis table entries as well,
Thank
you.
Comments
Post a Comment