PDT_EXECUTION SAP Method User Exit for PRICING_DETERMINE_DATES
Below is documentation, parameters and attributes of ABAP Method PDT_EXECUTION within SAP class IF_EX_BADI_PDT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_PDT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method PDT_EXECUTION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method PDT_EXECUTION
.| Name | Type | Data Type | Description | Default Value |
| IM_ANZTBME | Importing | TYPE FAKCA | Calendar for Defining Days Relevant to Billing/Invoicing | |
| IM_ANZTJ | Importing | TYPE ANZTJ | Number of Days in the Year | |
| IM_ANZTM | Importing | TYPE ANZTM | Number of Days in the Month | |
| IM_CAL_ID | Importing | TYPE FAKCA | Calendar for Defining Days Relevant to Billing/Invoicing | |
| IM_DATE_BEGIN | Importing | TYPE DATUM | Start Date of Period | |
| IM_DATE_END | Importing | TYPE DATUM | End Date of Period | |
| IM_VARIANT | Importing | TYPE PTYP | Variant | |
| EX_DAYS | Changing | TYPE ANZ_TAGE | Number of days | |
| EX_MONTHS | Changing | TYPE ANZ_MONATE | Number of Months | |
| EX_WEEKS | Changing | TYPE ANZ_WOCHEN | Number of weeks | |
| EX_YEARS | Changing | TYPE ANZ_JAHRE | Number of Years |
Exceptions of Method PDT_EXECUTION
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_PDT.
DATA: lv_EX_DAYS TYPE ANZ_TAGE,
lv_EX_MONTHS TYPE ANZ_MONATE,
lv_EX_WEEKS TYPE ANZ_WOCHEN,
lv_EX_YEARS TYPE ANZ_JAHRE,
lv_IM_ANZTBME TYPE FAKCA,
lv_IM_ANZTJ TYPE ANZTJ,
lv_IM_ANZTM TYPE ANZTM,
lv_IM_CAL_ID TYPE FAKCA,
lv_IM_DATE_BEGIN TYPE DATUM,
lv_IM_DATE_END TYPE DATUM,
lv_IM_VARIANT TYPE PTYP,
lv_other TYPE c.
CALL METHOD lo_class=>PDT_EXECUTION(
EXPORTING
IM_ANZTBME = lv_IM_ANZTBME
IM_ANZTJ = lv_IM_ANZTJ
IM_ANZTM = lv_IM_ANZTM
IM_CAL_ID = lv_IM_CAL_ID
IM_DATE_BEGIN = lv_IM_DATE_BEGIN
IM_DATE_END = lv_IM_DATE_END
IM_VARIANT = lv_IM_VARIANT
CHANGING
EX_DAYS = lv_EX_DAYS
EX_MONTHS = lv_EX_MONTHS
EX_WEEKS = lv_EX_WEEKS
EX_YEARS = lv_EX_YEARS ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects