Menu

SAP Function Module RTP_US_API_DATES_TO_AGE

Calculate age within the given dates

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

The Function Module RTP_US_API_DATES_TO_AGE (Calculate age within the given dates) is a standard Function Module in SAP ERP and is part of the function group RTP_US_API_GENERAL within the package BCA_US.

Technical Information

Function Module RTP_US_API_DATES_TO_AGE
Short Text Calculate age within the given dates
Function Group RTP_US_API_GENERAL
Package BCA_US
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_FROM_DATE LIKE SY-DATUM Date and time, current (application server) date
I_TO_DATE LIKE SY-DATUM Date and time, current (application server) date

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_AGE_DAYS TYPE I Completed days of age
E_AGE_MONTHS TYPE I Completed months of age
E_AGE_YEARS TYPE I Completed years of age

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INVALID_DATE_RANGE Invalid Date range