Ansicht
Dokumentation

ABAPDERIVED_TYPES_PARAM - DERIVED TYPES PARAM

ABAPDERIVED_TYPES_PARAM - DERIVED TYPES PARAM

Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

%param

%param is a component group in BDEF derived types.

It is used for the result parameter in the context of action and function implementations. %param must be filled by the action or function implementation if a result is defined. For actions or functions with a selective result, only those fields that are requested with the REQUEST keyword must be filled.

In the context of the draft action edit, %param contains the component preserve_changes. It is a Boolean value and if it is set to true, the draft action request is rejected if a draft already exists. If it is set to false, which is the default setting, the edit is executed, i. e. the active instance is copied to the draft database table and the existing draft is overwritten with the values of the active data. In that case, current changes on the existing draft instance are lost.

Type

  • Depending on the specification of the parameter in the BDEF, %param can be a structure whose components are comprised of %data and %key/%tky/%pky plus, if relevant, other % components like %pid. %param can also be of the DDIC type that is specified in the BDEF for static actions or functions.
  • ACTION IMPORT
  • ACTION RESULT
  • FUNCTION IMPORT
  • FUNCTION RESULT

Example

The following source code section taken from DEMO_RAP_DERIVED_TYPES_TKY demonstrates the component %param in the context of the draft action edit.

The example Using %tky focuses on the use of %tky with a managed RAP BO in a draft and non-draft scenario. In the program, the draft action edit includes the specification of %param-preserve_changes.






General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 3075 Date: 20240623 Time: 205428     sap01-206 ( 54 ms )