SAP IMA_INSOBJECT_READ Function Module for IO: Read Header Data for an Insurance Object









IMA_INSOBJECT_READ is a standard ima insobject read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IO: Read Header Data for an Insurance Object 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 ima insobject read FM, simply by entering the name IMA_INSOBJECT_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function IMA_INSOBJECT_READ 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 'IMA_INSOBJECT_READ'"IO: Read Header Data for an Insurance Object
EXPORTING
* I_INSOBJECT = "Insurance Object: ID of Insurance Object
* I_INSOBJECTEXT = "
* I_BCONKEY = "Reference to the Contract in the Feeder System
* I_FROM_DATE = SY-DATLO "Validity Date
* I_BYPASS_BUFFER = 'X' "
* I_DELETE_BUFFER = ' ' "
* I_WA = ' ' "
* I_LOCAL_MEM = ' ' "
* I_CHECK_ARCHIVE = ' ' "

IMPORTING
E_DIMAIOB = "IO: Header Data for Insurance Object in FS-CD
E_DIMAIOBBCON = "

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for IMA_INSOBJECT_READ

I_INSOBJECT - Insurance Object: ID of Insurance Object

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

I_INSOBJECTEXT -

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

I_BCONKEY - Reference to the Contract in the Feeder System

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

I_FROM_DATE - Validity Date

Data type: SY-DATLO
Default: SY-DATLO
Optional: Yes
Call by Reference: Yes

I_BYPASS_BUFFER -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_DELETE_BUFFER -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_WA -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_LOCAL_MEM -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_CHECK_ARCHIVE -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for IMA_INSOBJECT_READ

E_DIMAIOB - IO: Header Data for Insurance Object in FS-CD

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

E_DIMAIOBBCON -

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

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for IMA_INSOBJECT_READ 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_e_dimaiob  TYPE DIMAIOB, "   
lv_not_found  TYPE DIMAIOB, "   
lv_i_insobject  TYPE INSOBJECT_MD, "   
lv_e_dimaiobbcon  TYPE DIMAIOBBCON, "   
lv_i_insobjectext  TYPE INSOBJECTEXT_MD, "   
lv_i_bconkey  TYPE VKKBCONKEY, "   
lv_i_from_date  TYPE SY-DATLO, "   SY-DATLO
lv_i_bypass_buffer  TYPE XFELD, "   'X'
lv_i_delete_buffer  TYPE XFELD, "   SPACE
lv_i_wa  TYPE XFELD, "   SPACE
lv_i_local_mem  TYPE XFELD, "   SPACE
lv_i_check_archive  TYPE XFELD. "   SPACE

  CALL FUNCTION 'IMA_INSOBJECT_READ'  "IO: Read Header Data for an Insurance Object
    EXPORTING
         I_INSOBJECT = lv_i_insobject
         I_INSOBJECTEXT = lv_i_insobjectext
         I_BCONKEY = lv_i_bconkey
         I_FROM_DATE = lv_i_from_date
         I_BYPASS_BUFFER = lv_i_bypass_buffer
         I_DELETE_BUFFER = lv_i_delete_buffer
         I_WA = lv_i_wa
         I_LOCAL_MEM = lv_i_local_mem
         I_CHECK_ARCHIVE = lv_i_check_archive
    IMPORTING
         E_DIMAIOB = lv_e_dimaiob
         E_DIMAIOBBCON = lv_e_dimaiobbcon
    EXCEPTIONS
        NOT_FOUND = 1
. " IMA_INSOBJECT_READ




ABAP code using 7.40 inline data declarations to call FM IMA_INSOBJECT_READ

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 DATLO FROM SY INTO @DATA(ld_i_from_date).
DATA(ld_i_from_date) = SY-DATLO.
 
DATA(ld_i_bypass_buffer) = 'X'.
 
DATA(ld_i_delete_buffer) = ' '.
 
DATA(ld_i_wa) = ' '.
 
DATA(ld_i_local_mem) = ' '.
 
DATA(ld_i_check_archive) = ' '.
 


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!