Ansicht
Dokumentation

BAPI_1198_REPLICATE_SR - NOTRANSL: General Recipe replizieren

BAPI_1198_REPLICATE_SR - NOTRANSL: General Recipe replizieren

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is integrated in the BUS1198 object in the SITERECIPE.REPLICATE method.

The module is executed in the source (outbound) system. When it is called, all the data for a site recipe is determined (in line with the parameter settings) and prepared for forwarding to other systems.

- Evaluating the change pointers

The "REQUESTCHANGES" (monitor change pointers), "DATEHIGH" (date until which the change pointers are evaluated), and "TIMEHIGH" (time until which the change pointers are evaluated) must be set for this purpose.

If the change pointers are activated in the system, all the changes to site recipes are logged with the date and time by means of change pointers.

This function module searches for the change pointers based on the date/time entries for the message type PPE_SREC.

The resulting change pointers refer to recipes, change statuses, and relations. This information is prepared in such a way that all the site recipes to be processed are selected. All of the associated data for these site recipes is determined via an API. The API parameters transfer this data in BAPI format, and the function for creating IDocs is called. Following this, the IDoc is sent to the relevant recipients.

All of the change pointers that could be processed are assigned a status that identifies them as processed.

- Call with transfer of site recipe GUIDs

The "REQUESTCHANGES" parameter must not be set for this purpose.

The "RECIPEGUID" table parameter is used to transfer the site recipes that are to be processed.

All of the associated data for these site recipes is determined via an API. The API parameters transfer this data in BAPI format, and the function for creating IDocs is called. Following this, the IDoc is sent to the relevant recipients.

Parameter description:

DATEHIGH,,

This parameter allows you to set a date restriction for processing change pointers. All the change pointers that were created before the transfer date are then selected for processing.

TIMEHIGH,,

This parameter allows you to set a time restriction for processing change pointers. All the change pointers that were created before the transfer time are then selected for processing.

REQUESTCHANGES

If this parameter is set (X), processing is carried out in accordance with the change pointer evaluation. Otherwise, processing is carried out using the site recipes that were transferred with the "RECIPEGUID" parameter.,,

KZ_FIRST_CREATE

This flag is only relevant if processing is not carried out with change pointers. If this parameter is set (X), all the iPPE nodes that are transferred with the "RECIPEGUID" parameter are marked for recreation. The BAPI for distribution to the target system evaluates this flag and checks whether the iPPE node to be created already exists. If this is the case, the node is not processed further in the target system.

RECIPEGUID

If processing is not carried out using change pointers, this parameter specifies the site recipe GUIDs that are read from the source system. All of the associated data is determined and distributed to the target systems by means of IDocs.

RECIPIENTS

This parameter contains the names of the logical systems to which the data is to be distributed.

RETURN

This parameter collects all the messages that occur when the data is retrieved, prepared, and deposited for outbound processing. You can evaluate this parameter afterwards.

Example

Notes

Report "RBDSEGRCP" distributes general recipes and the associated objects.

When general recipes are distributed, all the associated objects (variants, texts...) must also be specified in the transfer structures. Each object must be assigned to a general recipe or a variant of the general recipe. This assignment is made using the GUIDs in the structures.

This BAPI does not support the distribution of change statuses, documents, classifications, and formulas.

Further information

For more information, see the documentation on ALE scenarios, SMD for distribution by change pointers, and report "RBDSEGRCP".





Parameters

DATEHIGH
KZ_FIRST_CREATE
RECIPEGUID
RECIPIENTS
REQUESTCHANGES
RETURN
TIMEHIGH

Exceptions

Function Group

RCP993

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 5410 Date: 20240523 Time: 091115     sap01-206 ( 91 ms )