Ansicht
Dokumentation

BAPI_CRM_AVAILABILITY_INFO - CRM Verfügbarkeitsprüfung im APO durchführen (extern)

BAPI_CRM_AVAILABILITY_INFO - CRM Verfügbarkeitsprüfung im APO durchführen (extern)

Fill RESBD Structure from EBP Component Structure   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module enables you to obtain availability information from one of the ATP services. The module directly accesses the corresponding service without using the CRM order. Note: Only availability information can be obtained. When obtaining information, no temporary or reserving objects are left in the target system of the relevant ATP service. This is not permitted, as there is no reference to an order. If you wish to create reservations, a reference (order) must exist; in this case, it is recommended to use CRM_ORDER_MAINTAIN. Reservations without a reference (order) will not be supported because a reference (order) is a prerequisite for a reservation. This is a basic principle of all ATP services such as Global ATP in APO.

If you wish to use an ATP service, you need to ensure that it provides a feature for availability information only.

Whether the ATP information outside of the order produces the same results as the ATP information within order processing depends on the order context provided. The context also determines whether a quantity conversion into the base unit of measure is possible. If, for example, the information PRODUCT_I is missing, conversion is not possible and the caller must transfer the quantity in the base unit of measure. Another important factor is the FIELDCAT, when using SAP standard ATP services,such as the APO system or R/3. You must ensure that the order context provided is sufficient to construct an adequate FIELDCAT. This is carried out automatically, and no effort is required from the user. If you use APO, you should specify a corresponding profile in IT_ITEM.

Alternatively, you can specify a FIELDCAT explicitly, or you can configure the ATP system in such a way that no or very little FIELDCAT information is required in order to obtain correct ATP information. Therefore there are different ways to transfer field catalogs.

IT_FIELDCAT_CRM transfers the FIELDCAT fields in CRM format. If necessary, they are converted to the R/3 terms and formats using the currently available means.

IT_FIELDCAT_R3 transfers the FIELDCAT fields in R/3 format.

At present, only one reference document (order) is supported. A list of orders will be supported in a later release.

Example

Notes

You do not necessarily have to work with GUIDs. You can also enter numbers as references in the GUID fields.

For some services you can define in CRMT_ATP_ITEM-MODIFY_TMP_OBJ that you only require the information once. This field then overrides other possible settings.

In order to determine which order contexts are necessary in which environment for automatically configuring the field catalog, you can create a corresponding order. Before doing so, you set a break point in CRM_CONFIRM_PREPARE_FIELDCATLG and observe the data returned by CRM_CONFIRM_GET_ITEM_DATA. This is generally the superset, which means that you must differentiate to be able to obtain the data you really need. This depends on the business environment.

Further information





Parameters

ET_HEADER
ET_ITEM
ET_ITEM_EXTENSION
ET_ITEM_R3_EXTENSION
ET_MSG_LONG
ET_MSG_SHORT
ET_RETURN
ET_RETURN_LONG_TEXT
ET_SCHEDLIN
ET_SCHEDULING_CONF
ET_SCHEDULING_REQ
ET_SUBITEM
ET_SUBITEM_SCHEDLIN
ET_SUBITEM_SCHEDLIN_CONF
IS_DISPATCHER_PARMS
IS_HEADER
IS_LOGICAL_SWITCH
IT_APO_I
IT_CFGS_BLOB
IT_CFGS_INST
IT_CFGS_PART_OF
IT_CFGS_REF
IT_CFGS_VALUE
IT_CFGS_VK
IT_FIELDCAT_CRM
IT_FIELDCAT_R3
IT_HIERARCHY_TAB
IT_ITEM
IT_ORDERADM_I
IT_ORGMAN
IT_PARENT
IT_PARTNER_SHIP_TO
IT_PARTNER_SOLD_TO
IT_PRODUCT_I
IT_SALES
IT_SCHEDLIN
IT_SHIPPING

Exceptions

Function Group

CRM_ATP_TOOL

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4154 Date: 20240523 Time: 114332     sap01-206 ( 101 ms )