Specific Commands
Specific Commands
Content
Macros
Function Modules
Macros
If you want to use these macros in reports that do not use the logical database
PNP, you must include program DBPNPMAC with the keyword INCLUDE.
You can also define your own macros. In accordance with the naming
convention, the first two letters stand for the application.
Some macros are also stored in the table Macros in ABAP Programs (TRMAC)
Macros
Macros
The RP_PROVIDE_FROM_LAST
macro retrieves the last valid data record
in the data selection period.
You can use the standard function modules to help you process large quantities
of data. Make sure that you check whether allowed entries are not already
defined for specific functions in standard function modules.
Note: You should not use this function module in reports that use the
logical database PNP. If you want to read an infotype separately in one
of these reports, you can call the subroutine READ-INFOTYPE
directly in the database program SAPDBPNP (PERFORM READ-
INFOTYPE(SAPDBPNP)). . .). In this case, you declare the infotypes in
the statement INFOTYPES with enhancement MODE N.
Function Modules
1. P0000 Measures
2. P0001 Organizational assignment
3. P0016 Contract components
4. P0041 Date specifications
Function Modules
ENDIF.