SAP FKK_FPE0_START_TRANSACTION Function Module for









FKK_FPE0_START_TRANSACTION is a standard fkk fpe0 start transaction 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 fkk fpe0 start transaction FM, simply by entering the name FKK_FPE0_START_TRANSACTION into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_FPE0_START_TRANSACTION 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 'FKK_FPE0_START_TRANSACTION'"
EXPORTING
TCODE = "
* I_DISPLAY_EURO = ' ' "
* I_XBLNR = ' ' "Reference Document Number
* I_XBLNR_WITHOUT_ALV = ' ' "
* I_EXBEL = ' ' "
* I_PROCESS = "
* I_CHANGE_ID = ' ' "Change Number of Document
* I_OPORD = ' ' "Classification Key
* I_XARCH = 'X' "
* OPBEL = "
* I_OPUPK = "Document Item
* I_OPUPW = "Repetition Item
* I_OPUPZ = "Subitem
* I_TBNAM = 'FKKOP' "
* I_CALLING_TCODE = "Calling Transaction
* I_DISPLAY_OPLIST = ' ' "
* I_CALL_TRANSACTION = ' ' "

IMPORTING
E_ANSWER = "

TABLES
* T_EXCLUDED_FUNCTIONS = "

EXCEPTIONS
DOCUMENT_NOT_FOUND = 1
.



IMPORTING Parameters details for FKK_FPE0_START_TRANSACTION

TCODE -

Data type: SY-TCODE
Optional: No
Call by Reference: No ( called with pass by value option)

I_DISPLAY_EURO -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XBLNR - Reference Document Number

Data type: FKKKO-XBLNR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XBLNR_WITHOUT_ALV -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_EXBEL -

Data type: DFKKEXTDOC-EXBEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PROCESS -

Data type: CHAR1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHANGE_ID - Change Number of Document

Data type: CDCHANGENR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OPORD - Classification Key

Data type: OPORD_KK
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XARCH -

Data type: XARCD_KK
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

OPBEL -

Data type: FKKKO-OPBEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OPUPK - Document Item

Data type: FKKOP-OPUPK
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OPUPW - Repetition Item

Data type: FKKOP-OPUPW
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OPUPZ - Subitem

Data type: FKKOP-OPUPZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TBNAM -

Data type:
Default: 'FKKOP'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CALLING_TCODE - Calling Transaction

Data type: SY-TCODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DISPLAY_OPLIST -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CALL_TRANSACTION -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FKK_FPE0_START_TRANSACTION

E_ANSWER -

Data type: CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FKK_FPE0_START_TRANSACTION

T_EXCLUDED_FUNCTIONS -

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

EXCEPTIONS details

DOCUMENT_NOT_FOUND - Document not found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FKK_FPE0_START_TRANSACTION 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_tcode  TYPE SY-TCODE, "   
lv_e_answer  TYPE CHAR1, "   
lv_document_not_found  TYPE CHAR1, "   
lt_t_excluded_functions  TYPE STANDARD TABLE OF FKK_UCOMM, "   
lv_i_display_euro  TYPE BOOLE-BOOLE, "   SPACE
lv_i_xblnr  TYPE FKKKO-XBLNR, "   SPACE
lv_i_xblnr_without_alv  TYPE BOOLE-BOOLE, "   SPACE
lv_i_exbel  TYPE DFKKEXTDOC-EXBEL, "   SPACE
lv_i_process  TYPE CHAR1, "   
lv_i_change_id  TYPE CDCHANGENR, "   SPACE
lv_i_opord  TYPE OPORD_KK, "   SPACE
lv_i_xarch  TYPE XARCD_KK, "   'X'
lv_opbel  TYPE FKKKO-OPBEL, "   
lv_i_opupk  TYPE FKKOP-OPUPK, "   
lv_i_opupw  TYPE FKKOP-OPUPW, "   
lv_i_opupz  TYPE FKKOP-OPUPZ, "   
lv_i_tbnam  TYPE FKKOP, "   'FKKOP'
lv_i_calling_tcode  TYPE SY-TCODE, "   
lv_i_display_oplist  TYPE BOOLE-BOOLE, "   SPACE
lv_i_call_transaction  TYPE BOOLE-BOOLE. "   SPACE

  CALL FUNCTION 'FKK_FPE0_START_TRANSACTION'  "
    EXPORTING
         TCODE = lv_tcode
         I_DISPLAY_EURO = lv_i_display_euro
         I_XBLNR = lv_i_xblnr
         I_XBLNR_WITHOUT_ALV = lv_i_xblnr_without_alv
         I_EXBEL = lv_i_exbel
         I_PROCESS = lv_i_process
         I_CHANGE_ID = lv_i_change_id
         I_OPORD = lv_i_opord
         I_XARCH = lv_i_xarch
         OPBEL = lv_opbel
         I_OPUPK = lv_i_opupk
         I_OPUPW = lv_i_opupw
         I_OPUPZ = lv_i_opupz
         I_TBNAM = lv_i_tbnam
         I_CALLING_TCODE = lv_i_calling_tcode
         I_DISPLAY_OPLIST = lv_i_display_oplist
         I_CALL_TRANSACTION = lv_i_call_transaction
    IMPORTING
         E_ANSWER = lv_e_answer
    TABLES
         T_EXCLUDED_FUNCTIONS = lt_t_excluded_functions
    EXCEPTIONS
        DOCUMENT_NOT_FOUND = 1
. " FKK_FPE0_START_TRANSACTION




ABAP code using 7.40 inline data declarations to call FM FKK_FPE0_START_TRANSACTION

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 TCODE FROM SY INTO @DATA(ld_tcode).
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_display_euro).
DATA(ld_i_display_euro) = ' '.
 
"SELECT single XBLNR FROM FKKKO INTO @DATA(ld_i_xblnr).
DATA(ld_i_xblnr) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xblnr_without_alv).
DATA(ld_i_xblnr_without_alv) = ' '.
 
"SELECT single EXBEL FROM DFKKEXTDOC INTO @DATA(ld_i_exbel).
DATA(ld_i_exbel) = ' '.
 
 
DATA(ld_i_change_id) = ' '.
 
DATA(ld_i_opord) = ' '.
 
DATA(ld_i_xarch) = 'X'.
 
"SELECT single OPBEL FROM FKKKO INTO @DATA(ld_opbel).
 
"SELECT single OPUPK FROM FKKOP INTO @DATA(ld_i_opupk).
 
"SELECT single OPUPW FROM FKKOP INTO @DATA(ld_i_opupw).
 
"SELECT single OPUPZ FROM FKKOP INTO @DATA(ld_i_opupz).
 
DATA(ld_i_tbnam) = 'FKKOP'.
 
"SELECT single TCODE FROM SY INTO @DATA(ld_i_calling_tcode).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_display_oplist).
DATA(ld_i_display_oplist) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_call_transaction).
DATA(ld_i_call_transaction) = ' '.
 


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!