SAP DERIVED TYPES FOREIGN ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• %foreign ABAP_BDEF_DER_TYP_COMP

%foreign
%foreign is a component group in BDEF derived types. The component group is contained in the REPORTED RAP response parameter in the context of the map_messages saver method and summarizes all available foreign entities defined in the BDEF.
Type
The subcomponents of %foreign are internal tables of type TYPE TABLE FOR REPORTED LATE.
Where used
TYPE RESPONSE FOR REPORTED LATE

ABAP_FURTHER_INFO
Development guide for the ABAP RESTful Application Programming Model, section Message Mapping.

ABAP_EXAMPLE_VX5
The following source code section taken from the BP_DEMO_UNMANAGED_MAP_MESSAGESCCIMP of the global class of the behavior pool BP_DEMO_UNMANAGED_MAP_MESSAGES demonstrates the component group %foreign in the context of a map_messages method implementation that is responsible for processing the responses of a foreign entity. See the executable program for this example further down.
METH BP_DEMO_UNMANAGED_MAP_MESSAGES(CCIMP)=>MAP_MESSAGES
ABAP_EXAMPLE_END

ABAP_EXAMPLE_ABEXA
The example Example for RAP Saver Method map_messages demonstrates the use of %foreign in the context of the implementation of a map_messages saver method within a RAP saver class using unmanaged RAP BOs.
ABAP_EXAMPLE_END

Return to menu