SAP Program SMOG_TRANSACTION_DATA_CHECK - Check BDoc repository for data consistency

Purpose
If you followed the directions of the BDoc Modeler documentation, youknow how to define a BDoc type. There will probably be some datainconsistency in your BDoc type, however. For example, a table wasdeleted in the R/3 application, but still exists in the SFA DDIC andwas referenced by a BDoc type. Data inconsistency in the BDoc type mayresult in failures at the activation step, or in a short-dump duringprogram execution. You can use this function to check the BDoc data inthe CRM Server to avoid such errors.

Integration
The consistency check is carried out in a hierarchically structuredform, similar to a BDoc structure. The consistency check starts fromthe BDoc definition, then goes on to its segments definition withinformation to related database tables, and then finally to segmentfields that are mapped to database table fields. To avoid runtimeerrors, checks are extended for validation of defined mappings,join-conditions, and where-clauses at the data element level againstR/3 DDIC.
The BDoc data consistency check is the first step of the activationprocess. The next activation steps can be started only if BDoc data isconsistent, that is, without error messages.
Note: The check can also be carried out by the BDoc Modeler. Theresults of the check are displayed in an information window.

Features

Selection
You can enter a BDoc type to be checked by its name or a set of BDocsby their generic name.

Output
The results of the check are displayed in an application log. At thefirst level of the hierarchical structure you can see the message typeof the result, the BDoc name, version number, version status (X -active version, E - edit version), and its corresponding GUID. At thesecond level of the hierarchical structure, you can see detailedinformation on a selected BDoc.
One and only one update table is defined for a segment in nonretrieve-only BDocs, otherwise an error message will be displayed.
Unicode setting for segment fields is not same as that for table fields. A warning message is displayed.
Not all parameters are used in where-clauses. An information messageis displayed.