SAP ISU_SAMPLE_R992 Function Module for Move FAEDN on Creation of BB Plan









ISU_SAMPLE_R992 is a standard isu sample r992 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Move FAEDN on Creation of BB Plan processing and below is the pattern details for this FM, 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 isu sample r992 FM, simply by entering the name ISU_SAMPLE_R992 into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_SAMPLE_R992 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 'ISU_SAMPLE_R992'"Move FAEDN on Creation of BB Plan
EXPORTING
X_KAR_DATUM = "Due Date for Net Payment
X_VKONTO = "Contract Account Partner-Specific

IMPORTING
Y_FAEDN = "Due Date for Net Payment
Y_FAEDS = "Due Date for Cash Discount
Y_SKTPZ = "Cash Discount Percentage Rate
Y_SOLLDAT = "Print Date for Budget Billing Requests or Generation of Partial Bill
Y_CHANGEABLE = "
.



IMPORTING Parameters details for ISU_SAMPLE_R992

X_KAR_DATUM - Due Date for Net Payment

Data type: REA61-FAEDN
Optional: No
Call by Reference: Yes

X_VKONTO - Contract Account Partner-Specific

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

EXPORTING Parameters details for ISU_SAMPLE_R992

Y_FAEDN - Due Date for Net Payment

Data type: FKKOP-FAEDN
Optional: No
Call by Reference: Yes

Y_FAEDS - Due Date for Cash Discount

Data type: FKKOP-FAEDS
Optional: No
Call by Reference: Yes

Y_SKTPZ - Cash Discount Percentage Rate

Data type: FKKOP-SKTPZ
Optional: No
Call by Reference: Yes

Y_SOLLDAT - Print Date for Budget Billing Requests or Generation of Partial Bill

Data type: FKKOP-SOLLDAT
Optional: No
Call by Reference: Yes

Y_CHANGEABLE -

Data type: REGEN-KENNZX
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_SAMPLE_R992 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_y_faedn  TYPE FKKOP-FAEDN, "   
lv_x_kar_datum  TYPE REA61-FAEDN, "   
lv_y_faeds  TYPE FKKOP-FAEDS, "   
lv_x_vkonto  TYPE FKKVKP, "   
lv_y_sktpz  TYPE FKKOP-SKTPZ, "   
lv_y_solldat  TYPE FKKOP-SOLLDAT, "   
lv_y_changeable  TYPE REGEN-KENNZX. "   

  CALL FUNCTION 'ISU_SAMPLE_R992'  "Move FAEDN on Creation of BB Plan
    EXPORTING
         X_KAR_DATUM = lv_x_kar_datum
         X_VKONTO = lv_x_vkonto
    IMPORTING
         Y_FAEDN = lv_y_faedn
         Y_FAEDS = lv_y_faeds
         Y_SKTPZ = lv_y_sktpz
         Y_SOLLDAT = lv_y_solldat
         Y_CHANGEABLE = lv_y_changeable
. " ISU_SAMPLE_R992




ABAP code using 7.40 inline data declarations to call FM ISU_SAMPLE_R992

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.

"SELECT single FAEDN FROM FKKOP INTO @DATA(ld_y_faedn).
 
"SELECT single FAEDN FROM REA61 INTO @DATA(ld_x_kar_datum).
 
"SELECT single FAEDS FROM FKKOP INTO @DATA(ld_y_faeds).
 
 
"SELECT single SKTPZ FROM FKKOP INTO @DATA(ld_y_sktpz).
 
"SELECT single SOLLDAT FROM FKKOP INTO @DATA(ld_y_solldat).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_y_changeable).
 


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!