Special Handling for API Methods

BOR methods that are flagged as API methods are used for IDoc processing. The corresponding BAPIs are adapted to the extended field length by adding new parameters. In particular, if key fields or logical key fields are affected, it is required that you explicitly declare the new parameters that refer to the object key.

You can flag BOR methods as API methods in order to provide them as wrappers for BAPI function modules. These function modules contain parameters that refer to:

  • method parameters,
  • object key fields provided that it has not been converted into a technical key, or
  • logical key fields if the object key has been converted into a technical key.

In contrast to the key fields that can be changed incompatibly, new parameters have to be created as BAPI methods instead. As a consequence, it is no longer clear which parameters correspond to the (logical) key fields. It is therefore necessary that you specify this relationship in the object type definition.