Ansicht
Dokumentation

RCP301_RECIPES_WRITE - NOTRANSL: RMS-RCP: Anlegen/Ändern/Löschen von Rezeptobjekten

RCP301_RECIPES_WRITE - NOTRANSL: RMS-RCP: Anlegen/Ändern/Löschen von Rezeptobjekten

rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is part of the Application Programming Interface (API) in RMS for Recipe objects, and is used to create, change, and delete recipe data.

Which Data is Processed?

Only data with valid keys in the interface tables is processed. These keys are the GUID/AENNR and corresponding foreign keys (GUID_MAST, GUID_ROOT, AENNR_ROOT). The required foreign keys are determined by the type of data record that is to be updated.

How is the Data Processed?

The I_DATA_SCENARIO scenario determines how the recipe objects are processed. In this case, with the "check ('C')" or "standard ('S')" only.

How Does the System Determine Which Data Record is to be Processed?

The LINEMODE field determines which recipe data is processed. Depending on the entry in the field - Insert ('I), Update ('U'), or Delete ('D') - the data is created, updated, or deleted.

For Which Objects Does LINEMODE Have to be Set?

In general, for a dependent object to be processed, the LINEMODE field has to be set for the actual entry and the header entry (recipe or building block). The header entry should always be set to Update 'U', and the dependent object to Update, Insert, or Delete.

Objects for which LINEMODE is not set are not processed (except on deletion).

Which Objects are Deleted?

The function module deletes the object itself and all the objects below it (cascading deletion). Only the actual object has to be flagged with Linemode 'D'. The objects below are deleted automatically.

Authorization

If write authorizations are missing for an entry, the system creates an entry in the ET_NO_AUTH table.

Troubleshooting

All messages (errors, warnings, success messages, and so on) are collected in the ET_ERROR table.

If errors occur while the data is being processed, the LINEMODE field in the corresponding tables is not cleared.

Example

Notes

Further Information

Type group RCP31 contains constants for the function call.





Parameters

ET_ERROR
ET_NO_AUTH
IT_STATUS
IT_USTATUS
I_DATA_SCENARIO
I_FLG_NO_AENNR_DATE_CHECK
XT_ASCOPE
XT_CLA
XT_DOC
XT_EQR
XT_IDENT
XT_LTX
XT_OP_PRE
XT_OP_SUC
XT_PAC
XT_POP
XT_PP
XT_PP_N
XT_PRO
XT_PST
XT_RCP
XT_RCTX
XT_REL_FIT
XT_REL_FRM
XT_REL_MR
XT_REPLACE
XT_STX

Exceptions

ERROR

Function Group

RCP301

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2996 Date: 20240523 Time: 154346     sap01-206 ( 59 ms )