Ansicht
Dokumentation
ABENREDUCE_METHOD_CALL_ABEXA - REDUCE METHOD CALL ABEXA
General Data in Customer Master CPI1466 during BackupThis documentation is copyright by SAP AG.
- Table Reduction, Method Calls
This example demonstrates a reduction of the columns of an internal table to an object.
Source Code
Description
In this example, a call of a method to_string transforms the lines of the internal table carriers after the FOR expression to a text string. This string is then passed to the instance method WRITE of an object of the class CL_DEMO_OUTPUT. This object is created after INIT and referenced by the local reference variable o. The return value of the method WRITE returns a reference to its own object, which means that the assignment to o does not modify its value but meets the syntax rule that o must be filled. At the end of processing, the reference to the object in o is assigned to the reference variable out and the content of the internal table written to the object can be displayed using the method DISPLAY.
General Material Data RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 1310 Date: 20240329 Time: 135106 sap01-206 ( 30 ms )