SAP REMD_OBJECT_ACCOUNT Function Module for









REMD_OBJECT_ACCOUNT is a standard remd object account 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 remd object account FM, simply by entering the name REMD_OBJECT_ACCOUNT into the relevant SAP transaction such as SE37 or SE38.

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



Function REMD_OBJECT_ACCOUNT 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 'REMD_OBJECT_ACCOUNT'"
EXPORTING
* ACTIVITY = ' ' "
* BEKNZ = ' ' "
* INTRENO = ' ' "
* KEYDATE = SY-DATUM "Posting Date in the Document
* CHANGE_STATUS = 'X' "
* DABRBEZ = "
* GBBIL = ' ' "
* IMKEY = "
* KATYP = ' ' "Cost Element Category
* NO_BUFFER = ' ' "
* FIKRS = ' ' "
* FIPOS = ' ' "

IMPORTING
ERROR_OCCURRED = "Errors have occurred
E_TXJCD = "
E_FKBER = "Functional Area
E_BUKRS = "Company Code
E_GSBER = "Business Area
E_OBJNR = "CO Object Number
E_KOKRS = "Controlling Area
E_PRCTR = "
E_WAERS = "Object Currency
WARNING_OCCURED = "Warning Message Occurred
E_OBJTYP = "

EXCEPTIONS
INPUT_ERROR = 1 NOT_ALLOWED = 2 NOT_FOUND = 3 NO_ACCOUNTING_OBJECT = 4 NO_GSBER = 5 OBJECT_NOT_FOUND = 6 WRONG_GSBER = 7 OTHER_ERROR = 8
.



IMPORTING Parameters details for REMD_OBJECT_ACCOUNT

ACTIVITY -

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

BEKNZ -

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

INTRENO -

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

KEYDATE - Posting Date in the Document

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

CHANGE_STATUS -

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

DABRBEZ -

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

GBBIL -

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

IMKEY -

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

KATYP - Cost Element Category

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

NO_BUFFER -

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

FIKRS -

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

FIPOS -

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

EXPORTING Parameters details for REMD_OBJECT_ACCOUNT

ERROR_OCCURRED - Errors have occurred

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

E_TXJCD -

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

E_FKBER - Functional Area

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

E_BUKRS - Company Code

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

E_GSBER - Business Area

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

E_OBJNR - CO Object Number

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

E_KOKRS - Controlling Area

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

E_PRCTR -

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

E_WAERS - Object Currency

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

WARNING_OCCURED - Warning Message Occurred

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

E_OBJTYP -

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

EXCEPTIONS details

INPUT_ERROR - Incorrect Entry

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

NOT_ALLOWED - Activity Not Allowed

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

NOT_FOUND - Object Not Found

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

NO_ACCOUNTING_OBJECT -

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

NO_GSBER -

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

OBJECT_NOT_FOUND - CO object not found

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

WRONG_GSBER -

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

OTHER_ERROR -

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

Copy and paste ABAP code example for REMD_OBJECT_ACCOUNT 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_activity  TYPE TJ01-VRGNG, "   SPACE
lv_input_error  TYPE TJ01, "   
lv_error_occurred  TYPE RCWBS-SEL01, "   
lv_beknz  TYPE COEP-BEKNZ, "   SPACE
lv_e_txjcd  TYPE VIOB01-TXJCD, "   
lv_e_fkber  TYPE COBL-FKBER, "   
lv_intreno  TYPE VVINTRENO, "   SPACE
lv_keydate  TYPE DATUM, "   SY-DATUM
lv_e_bukrs  TYPE VIOB01-BUKRS, "   
lv_not_allowed  TYPE VIOB01, "   
lv_change_status  TYPE RCWBS-SEL01, "   'X'
lv_dabrbez  TYPE COBL-DABRZ, "   
lv_e_gsber  TYPE VIOB01-GSBER, "   
lv_not_found  TYPE VIOB01, "   
lv_gbbil  TYPE T001-XGSBE, "   SPACE
lv_e_objnr  TYPE VIOB01-J_OBJNR, "   
lv_no_accounting_object  TYPE VIOB01, "   
lv_imkey  TYPE VIOB01-IMKEY, "   
lv_e_kokrs  TYPE VIOB01-KOKRS, "   
lv_no_gsber  TYPE VIOB01, "   
lv_katyp  TYPE CSKB-KATYP, "   SPACE
lv_e_prctr  TYPE VIOB01-PRCTR, "   
lv_object_not_found  TYPE VIOB01, "   
lv_e_waers  TYPE VIOB01-WAERS, "   
lv_no_buffer  TYPE RCWBS-SEL01, "   SPACE
lv_wrong_gsber  TYPE RCWBS, "   
lv_fikrs  TYPE FMFPO-FIKRS, "   SPACE
lv_other_error  TYPE FMFPO, "   
lv_warning_occured  TYPE RCWBS-SEL01, "   
lv_fipos  TYPE FMFPO-FIPOS, "   SPACE
lv_e_objtyp  TYPE TIVA5-VVIMKOB. "   

  CALL FUNCTION 'REMD_OBJECT_ACCOUNT'  "
    EXPORTING
         ACTIVITY = lv_activity
         BEKNZ = lv_beknz
         INTRENO = lv_intreno
         KEYDATE = lv_keydate
         CHANGE_STATUS = lv_change_status
         DABRBEZ = lv_dabrbez
         GBBIL = lv_gbbil
         IMKEY = lv_imkey
         KATYP = lv_katyp
         NO_BUFFER = lv_no_buffer
         FIKRS = lv_fikrs
         FIPOS = lv_fipos
    IMPORTING
         ERROR_OCCURRED = lv_error_occurred
         E_TXJCD = lv_e_txjcd
         E_FKBER = lv_e_fkber
         E_BUKRS = lv_e_bukrs
         E_GSBER = lv_e_gsber
         E_OBJNR = lv_e_objnr
         E_KOKRS = lv_e_kokrs
         E_PRCTR = lv_e_prctr
         E_WAERS = lv_e_waers
         WARNING_OCCURED = lv_warning_occured
         E_OBJTYP = lv_e_objtyp
    EXCEPTIONS
        INPUT_ERROR = 1
        NOT_ALLOWED = 2
        NOT_FOUND = 3
        NO_ACCOUNTING_OBJECT = 4
        NO_GSBER = 5
        OBJECT_NOT_FOUND = 6
        WRONG_GSBER = 7
        OTHER_ERROR = 8
. " REMD_OBJECT_ACCOUNT




ABAP code using 7.40 inline data declarations to call FM REMD_OBJECT_ACCOUNT

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 VRGNG FROM TJ01 INTO @DATA(ld_activity).
DATA(ld_activity) = ' '.
 
 
"SELECT single SEL01 FROM RCWBS INTO @DATA(ld_error_occurred).
 
"SELECT single BEKNZ FROM COEP INTO @DATA(ld_beknz).
DATA(ld_beknz) = ' '.
 
"SELECT single TXJCD FROM VIOB01 INTO @DATA(ld_e_txjcd).
 
"SELECT single FKBER FROM COBL INTO @DATA(ld_e_fkber).
 
DATA(ld_intreno) = ' '.
 
DATA(ld_keydate) = SY-DATUM.
 
"SELECT single BUKRS FROM VIOB01 INTO @DATA(ld_e_bukrs).
 
 
"SELECT single SEL01 FROM RCWBS INTO @DATA(ld_change_status).
DATA(ld_change_status) = 'X'.
 
"SELECT single DABRZ FROM COBL INTO @DATA(ld_dabrbez).
 
"SELECT single GSBER FROM VIOB01 INTO @DATA(ld_e_gsber).
 
 
"SELECT single XGSBE FROM T001 INTO @DATA(ld_gbbil).
DATA(ld_gbbil) = ' '.
 
"SELECT single J_OBJNR FROM VIOB01 INTO @DATA(ld_e_objnr).
 
 
"SELECT single IMKEY FROM VIOB01 INTO @DATA(ld_imkey).
 
"SELECT single KOKRS FROM VIOB01 INTO @DATA(ld_e_kokrs).
 
 
"SELECT single KATYP FROM CSKB INTO @DATA(ld_katyp).
DATA(ld_katyp) = ' '.
 
"SELECT single PRCTR FROM VIOB01 INTO @DATA(ld_e_prctr).
 
 
"SELECT single WAERS FROM VIOB01 INTO @DATA(ld_e_waers).
 
"SELECT single SEL01 FROM RCWBS INTO @DATA(ld_no_buffer).
DATA(ld_no_buffer) = ' '.
 
 
"SELECT single FIKRS FROM FMFPO INTO @DATA(ld_fikrs).
DATA(ld_fikrs) = ' '.
 
 
"SELECT single SEL01 FROM RCWBS INTO @DATA(ld_warning_occured).
 
"SELECT single FIPOS FROM FMFPO INTO @DATA(ld_fipos).
DATA(ld_fipos) = ' '.
 
"SELECT single VVIMKOB FROM TIVA5 INTO @DATA(ld_e_objtyp).
 


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!