SAP FVKM_CORP_ACT_EDIT_NO_DIALOG Function Module for Edit a Corporate Action in User Dialog









FVKM_CORP_ACT_EDIT_NO_DIALOG is a standard fvkm corp act edit no dialog SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Edit a Corporate Action in User Dialog 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 fvkm corp act edit no dialog FM, simply by entering the name FVKM_CORP_ACT_EDIT_NO_DIALOG into the relevant SAP transaction such as SE37 or SE38.

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



Function FVKM_CORP_ACT_EDIT_NO_DIALOG 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 'FVKM_CORP_ACT_EDIT_NO_DIALOG'"Edit a Corporate Action in User Dialog
EXPORTING
* EDIT_KZ = 'A' "zulässige Editierfunktionen -->
* I_KMNR = "Kennummer der Kapitalmaßnahme
* I_KMART = '0' "Type of corporate action
* I_HERK = '00' "Corporate action category
* I_COPY_KMNR = "Kennummer einer Kopiervorlage
* I_COPY_HEAD = 'X' "Copy Header
* I_COPY_POS = 'X' "Copy Item
* I_COPY_BEW = 'X' "Bewegungen kopieren

EXCEPTIONS
WRONG_NUMBER_INTERVALL = 1 KMNR_USED = 2 WRONG_KMNR = 3 WRONG_MODUS = 4 NOT_CHANGEABLE = 5 INTERN_NUMBER = 6
.



IMPORTING Parameters details for FVKM_CORP_ACT_EDIT_NO_DIALOG

EDIT_KZ - zulässige Editierfunktionen -->

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

I_KMNR - Kennummer der Kapitalmaßnahme

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

I_KMART - Type of corporate action

Data type: VWKMKO-KMART
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_HERK - Corporate action category

Data type: VWKMKO-HERK
Default: '00'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COPY_KMNR - Kennummer einer Kopiervorlage

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

I_COPY_HEAD - Copy Header

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

I_COPY_POS - Copy Item

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

I_COPY_BEW - Bewegungen kopieren

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

EXCEPTIONS details

WRONG_NUMBER_INTERVALL -

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

KMNR_USED -

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

WRONG_KMNR -

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

WRONG_MODUS -

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

NOT_CHANGEABLE -

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

INTERN_NUMBER -

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

Copy and paste ABAP code example for FVKM_CORP_ACT_EDIT_NO_DIALOG 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_edit_kz  TYPE C, "   'A'
lv_wrong_number_intervall  TYPE C, "   
lv_i_kmnr  TYPE VWKMKO-KMNR, "   
lv_kmnr_used  TYPE VWKMKO, "   
lv_i_kmart  TYPE VWKMKO-KMART, "   '0'
lv_wrong_kmnr  TYPE VWKMKO, "   
lv_i_herk  TYPE VWKMKO-HERK, "   '00'
lv_wrong_modus  TYPE VWKMKO, "   
lv_i_copy_kmnr  TYPE VWKMKO-KMNR, "   
lv_not_changeable  TYPE VWKMKO, "   
lv_i_copy_head  TYPE C, "   'X'
lv_intern_number  TYPE C, "   
lv_i_copy_pos  TYPE C, "   'X'
lv_i_copy_bew  TYPE C. "   'X'

  CALL FUNCTION 'FVKM_CORP_ACT_EDIT_NO_DIALOG'  "Edit a Corporate Action in User Dialog
    EXPORTING
         EDIT_KZ = lv_edit_kz
         I_KMNR = lv_i_kmnr
         I_KMART = lv_i_kmart
         I_HERK = lv_i_herk
         I_COPY_KMNR = lv_i_copy_kmnr
         I_COPY_HEAD = lv_i_copy_head
         I_COPY_POS = lv_i_copy_pos
         I_COPY_BEW = lv_i_copy_bew
    EXCEPTIONS
        WRONG_NUMBER_INTERVALL = 1
        KMNR_USED = 2
        WRONG_KMNR = 3
        WRONG_MODUS = 4
        NOT_CHANGEABLE = 5
        INTERN_NUMBER = 6
. " FVKM_CORP_ACT_EDIT_NO_DIALOG




ABAP code using 7.40 inline data declarations to call FM FVKM_CORP_ACT_EDIT_NO_DIALOG

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_edit_kz) = 'A'.
 
 
"SELECT single KMNR FROM VWKMKO INTO @DATA(ld_i_kmnr).
 
 
"SELECT single KMART FROM VWKMKO INTO @DATA(ld_i_kmart).
DATA(ld_i_kmart) = '0'.
 
 
"SELECT single HERK FROM VWKMKO INTO @DATA(ld_i_herk).
DATA(ld_i_herk) = '00'.
 
 
"SELECT single KMNR FROM VWKMKO INTO @DATA(ld_i_copy_kmnr).
 
 
DATA(ld_i_copy_head) = 'X'.
 
 
DATA(ld_i_copy_pos) = 'X'.
 
DATA(ld_i_copy_bew) = 'X'.
 


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!