Ansicht
Dokumentation

/AIN/PUB_BTD_LOCK - Business Transaction Document: Lock Instances

/AIN/PUB_BTD_LOCK - Business Transaction Document: Lock Instances

TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This service enables a calling application such as an activity, user interface, or custom application to issue an application lock on business transaction documents (BTDs) in SAP Auto-ID Infrastructure (SAP AII).

This service can be used to ensure data integrity in SAP AII by locking BTDs before allowing them to be updated. Before calling an update service, the calling party should use this service to lock the BTDs to be updated. If the objects cannot be locked, then the update service should not be called.

It is the responsibility of the service user to call the locking service before calling any update service and to resolve the resulting lock appropriately.

The BTD external ID is the input parameter for this service.

Example

If you write your own custom activity to be called in an inbound or outbound scenario, you can use this service to lock the processed BTDs before accessing them.

Notes

This core service documentation is intended for technical developers and implementation consultants. For information about the individual parameters, see the SAP AII system documentation for parameters.

Interaction with BTD unlock service

Every lock created by this service exists until it is resolved by a call to the BTD unlock service, or a database commit, or a rollback.

Message handling

Messages generated by the services are not stored in any application log. It is the responsibility of the calling application to store the application log entries in the relevant application log objects. All the messages that are generated during the service call are returned to the calling application.

Further information

The documentation for core services can be found in SAP Help Portal at help.sap.com → mySAP Business Suite → SAP Auto-ID Infrastructure → Auto-ID Core Services..





Parameters

ET_RETURN
IT_BTD_EXTID_TYPE

Exceptions

BUSINESS_LEVEL_ERROR_INPUT
BUSINESS_LEVEL_ERROR_LOCK
TECHNICAL_LEVEL_ERROR

Function Group

/SAPLPUB_BTD

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2802 Date: 20240424 Time: 020032     sap01-206 ( 55 ms )