SAP COM_PAYPLAN_GET_DATA Function Module for









COM_PAYPLAN_GET_DATA is a standard com payplan get data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for com payplan get data FM, simply by entering the name COM_PAYPLAN_GET_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: COM_PAYPLAN_IL
Program Name: SAPLCOM_PAYPLAN_IL
Main Program: SAPLCOM_PAYPLAN_IL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function COM_PAYPLAN_GET_DATA pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'COM_PAYPLAN_GET_DATA'"
EXPORTING
* IV_ALL = FALSE "Logical Variable
* IV_CURRENT_LINE = "
* IV_NUMBER = "

IMPORTING
EV_NUMBER_OF_LINES = "
ET_7001_PAYPLAN_UI = "Payment Plan Data Table
EV_PAYPLAN_GUID = "Payment Plan GUID
ET_PAYM_TYPE = "Table with Payment Form and Description
ET_CARD_TYPE = "Table Type for COMT_PAYCARD_TYPE
EV_PAYPLAN_CATEGORY = "Payment Plan Category (Application)
EV_PARTNER = "Business Partner Number
.



IMPORTING Parameters details for COM_PAYPLAN_GET_DATA

IV_ALL - Logical Variable

Data type: COMT_BOOLEAN_PP
Default: FALSE
Optional: Yes
Call by Reference: Yes

IV_CURRENT_LINE -

Data type: I
Optional: Yes
Call by Reference: Yes

IV_NUMBER -

Data type: I
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for COM_PAYPLAN_GET_DATA

EV_NUMBER_OF_LINES -

Data type: I
Optional: No
Call by Reference: Yes

ET_7001_PAYPLAN_UI - Payment Plan Data Table

Data type: COMT_7001_PAYPLAN_UI_TAB
Optional: No
Call by Reference: Yes

EV_PAYPLAN_GUID - Payment Plan GUID

Data type: COMT_PAYPLAN_GUID
Optional: No
Call by Reference: Yes

ET_PAYM_TYPE - Table with Payment Form and Description

Data type: COMT_PAYPLAN_PAYM_TYPE_TAB
Optional: No
Call by Reference: Yes

ET_CARD_TYPE - Table Type for COMT_PAYCARD_TYPE

Data type: COMT_PAYCARD_TYPE_TAB
Optional: No
Call by Reference: Yes

EV_PAYPLAN_CATEGORY - Payment Plan Category (Application)

Data type: COMT_PAYPLAN_CATEGORY
Optional: No
Call by Reference: Yes

EV_PARTNER - Business Partner Number

Data type: BU_PARTNER
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for COM_PAYPLAN_GET_DATA Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_iv_all  TYPE COMT_BOOLEAN_PP, "   FALSE
lv_ev_number_of_lines  TYPE I, "   
lv_iv_current_line  TYPE I, "   
lv_et_7001_payplan_ui  TYPE COMT_7001_PAYPLAN_UI_TAB, "   
lv_iv_number  TYPE I, "   
lv_ev_payplan_guid  TYPE COMT_PAYPLAN_GUID, "   
lv_et_paym_type  TYPE COMT_PAYPLAN_PAYM_TYPE_TAB, "   
lv_et_card_type  TYPE COMT_PAYCARD_TYPE_TAB, "   
lv_ev_payplan_category  TYPE COMT_PAYPLAN_CATEGORY, "   
lv_ev_partner  TYPE BU_PARTNER. "   

  CALL FUNCTION 'COM_PAYPLAN_GET_DATA'  "
    EXPORTING
         IV_ALL = lv_iv_all
         IV_CURRENT_LINE = lv_iv_current_line
         IV_NUMBER = lv_iv_number
    IMPORTING
         EV_NUMBER_OF_LINES = lv_ev_number_of_lines
         ET_7001_PAYPLAN_UI = lv_et_7001_payplan_ui
         EV_PAYPLAN_GUID = lv_ev_payplan_guid
         ET_PAYM_TYPE = lv_et_paym_type
         ET_CARD_TYPE = lv_et_card_type
         EV_PAYPLAN_CATEGORY = lv_ev_payplan_category
         EV_PARTNER = lv_ev_partner
. " COM_PAYPLAN_GET_DATA




ABAP code using 7.40 inline data declarations to call FM COM_PAYPLAN_GET_DATA

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

DATA(ld_iv_all) = FALSE.
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!