SAP ISM_BPRELATIONSHIP_GETLIST Function Module for IS-M: Read Business Partner Relationships









ISM_BPRELATIONSHIP_GETLIST is a standard ism bprelationship getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M: Read Business Partner Relationships 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 ism bprelationship getlist FM, simply by entering the name ISM_BPRELATIONSHIP_GETLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: JEPBP
Program Name: SAPLJEPBP
Main Program: SAPLJEPBP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ISM_BPRELATIONSHIP_GETLIST 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 'ISM_BPRELATIONSHIP_GETLIST'"IS-M: Read Business Partner Relationships
EXPORTING
BUSINESSPARTNER = "Business Partner Number
* VALIDFROMDATE = "Validity Date (Valid from)
* VALIDTODATE = "Validity Date (Valid To)
* ASPARTNERNUMBER = '1' "
* MAX_HITS = "Maximum Number of Hits

IMPORTING
HITS = "Number of Hits in Operational Reporting

TABLES
RELATIONCATEGORYRANGE = "
RELATIONSHIPS = "
RETURN = "
.



IMPORTING Parameters details for ISM_BPRELATIONSHIP_GETLIST

BUSINESSPARTNER - Business Partner Number

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

VALIDFROMDATE - Validity Date (Valid from)

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

VALIDTODATE - Validity Date (Valid To)

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

ASPARTNERNUMBER -

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

MAX_HITS - Maximum Number of Hits

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

EXPORTING Parameters details for ISM_BPRELATIONSHIP_GETLIST

HITS - Number of Hits in Operational Reporting

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

TABLES Parameters details for ISM_BPRELATIONSHIP_GETLIST

RELATIONCATEGORYRANGE -

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

RELATIONSHIPS -

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

RETURN -

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

Copy and paste ABAP code example for ISM_BPRELATIONSHIP_GETLIST 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_hits  TYPE ISM_CRMT_PORTAL_HITS, "   
lv_businesspartner  TYPE BU_PARTNER, "   
lt_relationcategoryrange  TYPE STANDARD TABLE OF BUS050_BTR, "   
lt_relationships  TYPE STANDARD TABLE OF BAPIBUS1006_ISMRELATIONS, "   
lv_validfromdate  TYPE BU_DATFROM, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_validtodate  TYPE BU_DATTO, "   
lv_aspartnernumber  TYPE CHAR01, "   '1'
lv_max_hits  TYPE ISM_CRMT_PORTAL_MAXHITS. "   

  CALL FUNCTION 'ISM_BPRELATIONSHIP_GETLIST'  "IS-M: Read Business Partner Relationships
    EXPORTING
         BUSINESSPARTNER = lv_businesspartner
         VALIDFROMDATE = lv_validfromdate
         VALIDTODATE = lv_validtodate
         ASPARTNERNUMBER = lv_aspartnernumber
         MAX_HITS = lv_max_hits
    IMPORTING
         HITS = lv_hits
    TABLES
         RELATIONCATEGORYRANGE = lt_relationcategoryrange
         RELATIONSHIPS = lt_relationships
         RETURN = lt_return
. " ISM_BPRELATIONSHIP_GETLIST




ABAP code using 7.40 inline data declarations to call FM ISM_BPRELATIONSHIP_GETLIST

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_aspartnernumber) = '1'.
 
 


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!