Show TOC Entering content frame

Function documentation BDoc Validation Locate the document in its SAP Library structure

Use

This function checks whether or not the BDoc or its details, which you enter manually while modeling business logic objects, are valid. 

Prerequisites

You have ensured that the tpsfiles folder in the Mobile Application Studio (MAS) installation path contains the latest business document (.bdoc) files. For more information, see Synchronizing BDoc Changes.

Caution

You must ensure that you synchronize BDoc changes on your Mobile Development Workstation (MWD) before you begin modeling a business logic object. This function checks the .bdoc files to validate a BDoc or its details, which you specify while modeling a business logic object. If you do not synchronize these BDoc changes on your MDW, this function ignores the changes made in the BDoc Repository.

Features

·        Strict validation

The function ensures that you use accurate BDoc data while modeling business logic objects. This function by default enforces a strict validation. As a result, you can save a business logic object only if you specify a BDoc that is available as part of the BDoc metadata (.bdoc files) on your MDW. 

·        Liberal validation

This function allows you to change the default setting to enforce liberal validation. As a result, you can save a business logic object even though the BDoc you specify is not available as part of the BDoc metadata (.bdoc files) on your MDW. However, the system displays appropriate warning messages. 

Caution

This feature can cause inconsistencies in your business logic modeling, if you use BDocs that are not part of the BDoc metadata (.bdoc files) on your MDW. However, you can use this feature under the following conditions:

§         You are aware that the .bdoc files on your MDW are latest, and the name of the BDoc or its element that you want to use is correct.

§         You know that the .bdoc files on your MDW are not latest; however, you cannot connect to the BDoc Repository and synchronize the BDoc changes on your MDW due to technical problems. In this case, if you know the exact changes made to the BDocs in the BDoc Repository, then you can continue modeling objects.      

Recommendation

We strongly recommend that you use strict validation to avoid inconsistencies in your business logic modeling.

Activities

To change the BDOC Validation option in the MAS Options window, choose Tools  ® MAS Options.

 

Leaving content frame