SAP ISM_FREESUBSCRIPTION_GETLIST Function Module for









ISM_FREESUBSCRIPTION_GETLIST is a standard ism freesubscription getlist 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 ism freesubscription getlist FM, simply by entering the name ISM_FREESUBSCRIPTION_GETLIST into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_FREESUBSCRIPTION_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_FREESUBSCRIPTION_GETLIST'"
EXPORTING
* BUSINESSPARTNER = "
* CONTACTPERSON = "
* RELATIONSHIPKEY = "
* SALESORG = "
* DISTR_CHAN = "
* DIVISION = "
* MAX_HITS = "

IMPORTING
HITS = "

TABLES
* FREESUBSCRIPTION = "
* RETURN = "
.



IMPORTING Parameters details for ISM_FREESUBSCRIPTION_GETLIST

BUSINESSPARTNER -

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

CONTACTPERSON -

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

RELATIONSHIPKEY -

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

SALESORG -

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

DISTR_CHAN -

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

DIVISION -

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

MAX_HITS -

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

EXPORTING Parameters details for ISM_FREESUBSCRIPTION_GETLIST

HITS -

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

TABLES Parameters details for ISM_FREESUBSCRIPTION_GETLIST

FREESUBSCRIPTION -

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

RETURN -

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

Copy and paste ABAP code example for ISM_FREESUBSCRIPTION_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 GPNR, "   
lt_freesubscription  TYPE STANDARD TABLE OF BAPIBUSISM007_FREESUBKEY, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_contactperson  TYPE GPNR, "   
lv_relationshipkey  TYPE RJEP_BUPR_CONTP_VIEWDATA-RELATIONSHIPKEY, "   
lv_salesorg  TYPE VKORG, "   
lv_distr_chan  TYPE VTWEG, "   
lv_division  TYPE SPART, "   
lv_max_hits  TYPE ISM_CRMT_PORTAL_MAXHITS. "   

  CALL FUNCTION 'ISM_FREESUBSCRIPTION_GETLIST'  "
    EXPORTING
         BUSINESSPARTNER = lv_businesspartner
         CONTACTPERSON = lv_contactperson
         RELATIONSHIPKEY = lv_relationshipkey
         SALESORG = lv_salesorg
         DISTR_CHAN = lv_distr_chan
         DIVISION = lv_division
         MAX_HITS = lv_max_hits
    IMPORTING
         HITS = lv_hits
    TABLES
         FREESUBSCRIPTION = lt_freesubscription
         RETURN = lt_return
. " ISM_FREESUBSCRIPTION_GETLIST




ABAP code using 7.40 inline data declarations to call FM ISM_FREESUBSCRIPTION_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.

 
 
 
 
 
"SELECT single RELATIONSHIPKEY FROM RJEP_BUPR_CONTP_VIEWDATA INTO @DATA(ld_relationshipkey).
 
 
 
 
 


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!