SAP RV_KONDITION_SICHERN_V13A Function Module for NOTRANSL: Sichern von Konditionen aus der Stammdatenpflege









RV_KONDITION_SICHERN_V13A is a standard rv kondition sichern v13a SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Sichern von Konditionen aus der Stammdatenpflege 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 rv kondition sichern v13a FM, simply by entering the name RV_KONDITION_SICHERN_V13A into the relevant SAP transaction such as SE37 or SE38.

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



Function RV_KONDITION_SICHERN_V13A 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 'RV_KONDITION_SICHERN_V13A'"NOTRANSL: Sichern von Konditionen aus der Stammdatenpflege
EXPORTING
* CHANGE_DOCS_WRITE = ' ' "Switch: Not used
* USE_OUTBOUND_CALL = ' ' "
* IV_CACS_VERSION = "UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

TABLES
DB_TIME = "New condition records
* DB_XVAKE = "
* TVADATTRANS = "
DB_XKONH = "New condition header
DB_XKONP = "New Condition Item
DB_XSTAF = "Scales
DB_YKONH = "Old condition header
DB_YKONP = "Old condition item
DB_XKONDAT = "New change documents (key)
DB_YKONDAT = "Old change documents (key)
* DB_YSTAF = "

EXCEPTIONS
EXC_CACS_VERSIONING_BADI = 1
.



IMPORTING Parameters details for RV_KONDITION_SICHERN_V13A

CHANGE_DOCS_WRITE - Switch: Not used

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

USE_OUTBOUND_CALL -

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

IV_CACS_VERSION - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

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

TABLES Parameters details for RV_KONDITION_SICHERN_V13A

DB_TIME - New condition records

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

DB_XVAKE -

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

TVADATTRANS -

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

DB_XKONH - New condition header

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

DB_XKONP - New Condition Item

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

DB_XSTAF - Scales

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

DB_YKONH - Old condition header

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

DB_YKONP - Old condition item

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

DB_XKONDAT - New change documents (key)

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

DB_YKONDAT - Old change documents (key)

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

DB_YSTAF -

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

EXCEPTIONS details

EXC_CACS_VERSIONING_BADI -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RV_KONDITION_SICHERN_V13A 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:
lt_db_time  TYPE STANDARD TABLE OF VAKEDB, "   
lv_change_docs_write  TYPE BOOLE, "   ' '
lv_exc_cacs_versioning_badi  TYPE BOOLE, "   
lt_db_xvake  TYPE STANDARD TABLE OF VAKEVB, "   
lt_tvadattrans  TYPE STANDARD TABLE OF TVADATTRANS, "   
lt_db_xkonh  TYPE STANDARD TABLE OF KONHDB, "   
lv_use_outbound_call  TYPE BOOLE, "   ' '
lt_db_xkonp  TYPE STANDARD TABLE OF KONPDB, "   
lv_iv_cacs_version  TYPE TIMESTAMP, "   
lt_db_xstaf  TYPE STANDARD TABLE OF CONDSCALE, "   
lt_db_ykonh  TYPE STANDARD TABLE OF KONHDB, "   
lt_db_ykonp  TYPE STANDARD TABLE OF KONPDB, "   
lt_db_xkondat  TYPE STANDARD TABLE OF VKONDAT, "   
lt_db_ykondat  TYPE STANDARD TABLE OF VKONDAT, "   
lt_db_ystaf  TYPE STANDARD TABLE OF CONDSCALE. "   

  CALL FUNCTION 'RV_KONDITION_SICHERN_V13A'  "NOTRANSL: Sichern von Konditionen aus der Stammdatenpflege
    EXPORTING
         CHANGE_DOCS_WRITE = lv_change_docs_write
         USE_OUTBOUND_CALL = lv_use_outbound_call
         IV_CACS_VERSION = lv_iv_cacs_version
    TABLES
         DB_TIME = lt_db_time
         DB_XVAKE = lt_db_xvake
         TVADATTRANS = lt_tvadattrans
         DB_XKONH = lt_db_xkonh
         DB_XKONP = lt_db_xkonp
         DB_XSTAF = lt_db_xstaf
         DB_YKONH = lt_db_ykonh
         DB_YKONP = lt_db_ykonp
         DB_XKONDAT = lt_db_xkondat
         DB_YKONDAT = lt_db_ykondat
         DB_YSTAF = lt_db_ystaf
    EXCEPTIONS
        EXC_CACS_VERSIONING_BADI = 1
. " RV_KONDITION_SICHERN_V13A




ABAP code using 7.40 inline data declarations to call FM RV_KONDITION_SICHERN_V13A

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_change_docs_write) = ' '.
 
 
 
 
 
DATA(ld_use_outbound_call) = ' '.
 
 
 
 
 
 
 
 
 


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!