SAP IMA_PARTNER_INSOBJECT_READ Function Module for IO: Read Insurance Object<->Partner









IMA_PARTNER_INSOBJECT_READ is a standard ima partner 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 Insurance Object<->Partner 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 partner insobject read FM, simply by entering the name IMA_PARTNER_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_PARTNER_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_PARTNER_INSOBJECT_READ'"IO: Read Insurance Object<->Partner
EXPORTING
* I_PARTNER = "Business Partner Number
* I_VKONV = "Contract account used for payment transactions
* I_RCL_PARTNER = "Business Partner Number
* I_RCL_INSOBJECT = "Identification for an Insurance Object
* I_INSOBJECTTYP = "External Insurance Object Category
* I_VALDT = SY-DATLO "Validity Date
* I_BYPASS_BUFFER = ' ' "
* I_DELETE_BUFFER = ' ' "
* I_DI = ' ' "
* I_DB = 'X' "
* I_WA = ' ' "
* I_INSOBJECT = "Identification for an Insurance Object
* I_LOCAL_MEM = ' ' "
* I_USE_HINTS = ' ' "
* I_CHECK_ARCHIVE = ' ' "
* I_COLL_BILL_GPART = "Business partner in a collective invoice
* I_COLL_BILL_VKONT = "Contract acct in a collective invoice
* I_PARTNERACC = "Contract Account Number
* I_ABWRE = "Alternative Payer
* I_ABWRA = "Alternative Payee
* I_TRANSFER_ACC = "Clearing Account
* I_GPARV = "Business Partner Acting as Payer in Payment Transactions

IMPORTING
E_DIMAIOBPAR = "IO: Insurance Object-Partner Relationship in FS-CD

TABLES
* T_DIMAIOBPAR = "IO: Insurance Object-Partner Relationship in FS-CD

EXCEPTIONS
NOT_FOUND = 1 INVALID_INPUT = 2
.



IMPORTING Parameters details for IMA_PARTNER_INSOBJECT_READ

I_PARTNER - Business Partner Number

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

I_VKONV - Contract account used for payment transactions

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

I_RCL_PARTNER - Business Partner Number

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

I_RCL_INSOBJECT - Identification for an Insurance Object

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

I_INSOBJECTTYP - External Insurance Object Category

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

I_VALDT - Validity Date

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

I_BYPASS_BUFFER -

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

I_DELETE_BUFFER -

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

I_DI -

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

I_DB -

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

I_WA -

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

I_INSOBJECT - Identification for an Insurance Object

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

I_LOCAL_MEM -

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

I_USE_HINTS -

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

I_COLL_BILL_GPART - Business partner in a collective invoice

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

I_COLL_BILL_VKONT - Contract acct in a collective invoice

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

I_PARTNERACC - Contract Account Number

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

I_ABWRE - Alternative Payer

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

I_ABWRA - Alternative Payee

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

I_TRANSFER_ACC - Clearing Account

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

I_GPARV - Business Partner Acting as Payer in Payment Transactions

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

EXPORTING Parameters details for IMA_PARTNER_INSOBJECT_READ

E_DIMAIOBPAR - IO: Insurance Object-Partner Relationship in FS-CD

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

TABLES Parameters details for IMA_PARTNER_INSOBJECT_READ

T_DIMAIOBPAR - IO: Insurance Object-Partner Relationship in FS-CD

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

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

INVALID_INPUT - Incorrect Parameter Transfer

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for IMA_PARTNER_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_i_partner  TYPE BU_PARTNER, "   
lv_not_found  TYPE BU_PARTNER, "   
lv_e_dimaiobpar  TYPE DIMAIOBPAR, "   
lt_t_dimaiobpar  TYPE STANDARD TABLE OF DIMAIOBPAR, "   
lv_i_vkonv  TYPE VKONV_KK, "   
lv_i_rcl_partner  TYPE BU_PARTNER, "   
lv_i_rcl_insobject  TYPE INSOBJECT_MD, "   
lv_i_insobjecttyp  TYPE INSOBJECTTYPC_MD, "   
lv_i_valdt  TYPE SY-DATLO, "   SY-DATLO
lv_i_bypass_buffer  TYPE XFELD, "   SPACE
lv_i_delete_buffer  TYPE XFELD, "   SPACE
lv_i_di  TYPE XFELD, "   SPACE
lv_i_db  TYPE XFELD, "   'X'
lv_i_wa  TYPE XFELD, "   SPACE
lv_i_insobject  TYPE INSOBJECT_MD, "   
lv_invalid_input  TYPE INSOBJECT_MD, "   
lv_i_local_mem  TYPE XFELD, "   SPACE
lv_i_use_hints  TYPE XFELD, "   SPACE
lv_i_check_archive  TYPE XFELD, "   SPACE
lv_i_coll_bill_gpart  TYPE COLL_BILL_GPART_VK, "   
lv_i_coll_bill_vkont  TYPE COLL_BILL_VKONT_VK, "   
lv_i_partneracc  TYPE VKONT_KK, "   
lv_i_abwre  TYPE ABWRE_KK, "   
lv_i_abwra  TYPE ABWRA_KK, "   
lv_i_transfer_acc  TYPE KTDEP_VK, "   
lv_i_gparv  TYPE GPARV_KK. "   

  CALL FUNCTION 'IMA_PARTNER_INSOBJECT_READ'  "IO: Read Insurance Object<->Partner
    EXPORTING
         I_PARTNER = lv_i_partner
         I_VKONV = lv_i_vkonv
         I_RCL_PARTNER = lv_i_rcl_partner
         I_RCL_INSOBJECT = lv_i_rcl_insobject
         I_INSOBJECTTYP = lv_i_insobjecttyp
         I_VALDT = lv_i_valdt
         I_BYPASS_BUFFER = lv_i_bypass_buffer
         I_DELETE_BUFFER = lv_i_delete_buffer
         I_DI = lv_i_di
         I_DB = lv_i_db
         I_WA = lv_i_wa
         I_INSOBJECT = lv_i_insobject
         I_LOCAL_MEM = lv_i_local_mem
         I_USE_HINTS = lv_i_use_hints
         I_CHECK_ARCHIVE = lv_i_check_archive
         I_COLL_BILL_GPART = lv_i_coll_bill_gpart
         I_COLL_BILL_VKONT = lv_i_coll_bill_vkont
         I_PARTNERACC = lv_i_partneracc
         I_ABWRE = lv_i_abwre
         I_ABWRA = lv_i_abwra
         I_TRANSFER_ACC = lv_i_transfer_acc
         I_GPARV = lv_i_gparv
    IMPORTING
         E_DIMAIOBPAR = lv_e_dimaiobpar
    TABLES
         T_DIMAIOBPAR = lt_t_dimaiobpar
    EXCEPTIONS
        NOT_FOUND = 1
        INVALID_INPUT = 2
. " IMA_PARTNER_INSOBJECT_READ




ABAP code using 7.40 inline data declarations to call FM IMA_PARTNER_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_valdt).
DATA(ld_i_valdt) = SY-DATLO.
 
DATA(ld_i_bypass_buffer) = ' '.
 
DATA(ld_i_delete_buffer) = ' '.
 
DATA(ld_i_di) = ' '.
 
DATA(ld_i_db) = 'X'.
 
DATA(ld_i_wa) = ' '.
 
 
 
DATA(ld_i_local_mem) = ' '.
 
DATA(ld_i_use_hints) = ' '.
 
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!