SAP BAPI_STUDENT_ADDINDCOM_GET Function Module for Method: Read Address-Independent Communication Data of Student









BAPI_STUDENT_ADDINDCOM_GET is a standard bapi student addindcom get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Method: Read Address-Independent Communication Data of Student 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 bapi student addindcom get FM, simply by entering the name BAPI_STUDENT_ADDINDCOM_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPIQ00STUDENTBAPI
Program Name: SAPLHRPIQ00STUDENTBAPI
Main Program: SAPLHRPIQ00STUDENTBAPI
Appliation area:
Release date: 23-Oct-2002
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_STUDENT_ADDINDCOM_GET 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 'BAPI_STUDENT_ADDINDCOM_GET'"Method: Read Address-Independent Communication Data of Student
EXPORTING
* PLANVERSION = "Plan Version
OBJECTID = "Object ID of Student
* VALID_DATE = SY-DATLO "Validity Date

TABLES
* RETURN = "Messages
* PRTADDRESSDATANONADDRESS = "BAPI Structure for PRT Addresses (Business Address Services)
* SSFADDRESSDATANONADDRESS = "BAPI Structure for SSF Addresses (Business Address Services)
* URIADDRESSDATANONADDRESS = "BAPI Structure for URI Addresses (Business Address Services)
* PAGADDRESSDATANONADDRESS = "BAPI Structure for Pager Numbers (Business Address Services)
* COMMUNICATIONNOTESNONADDRESS = "BAPI Structure for Communication Type Comments
* COMMUNICATIONUSAGENONADDRESS = "Communication Usages (BAS)
* TELEFONDATANONADDRESS = "BAPI Structure for Telephone Numbers (Bus. Address Services)
* FAXDATANONADDRESS = "BAPI Structure for Fax Numbers (Business Address Services)
* TELETEXDATANONADDRESS = "BAPI Structure for Teletex Numbers (Bus. Address Services)
* TELEXDATANONADDRESS = "BAPI Structure for Telex Numbers (Business Address Services)
* E_MAILDATANONADDRESS = "BAPI Structure for E-Mail Addresses (Bus. Address Services)
* RMLADDRESSDATANONADDRESS = "BAPI Structure for RML Addresses (Business Address Services)
* X400ADDRESSDATANONADDRESS = "BAPI Structure for X.400 Addresses (Bus. Address Services)
* RFCADDRESSDATANONADDRESS = "BAPI Structure for RFC Addresses (Business Address Services)
.



IMPORTING Parameters details for BAPI_STUDENT_ADDINDCOM_GET

PLANVERSION - Plan Version

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

OBJECTID - Object ID of Student

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

VALID_DATE - Validity Date

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

TABLES Parameters details for BAPI_STUDENT_ADDINDCOM_GET

RETURN - Messages

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

PRTADDRESSDATANONADDRESS - BAPI Structure for PRT Addresses (Business Address Services)

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

SSFADDRESSDATANONADDRESS - BAPI Structure for SSF Addresses (Business Address Services)

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

URIADDRESSDATANONADDRESS - BAPI Structure for URI Addresses (Business Address Services)

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

PAGADDRESSDATANONADDRESS - BAPI Structure for Pager Numbers (Business Address Services)

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

COMMUNICATIONNOTESNONADDRESS - BAPI Structure for Communication Type Comments

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

COMMUNICATIONUSAGENONADDRESS - Communication Usages (BAS)

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

TELEFONDATANONADDRESS - BAPI Structure for Telephone Numbers (Bus. Address Services)

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

FAXDATANONADDRESS - BAPI Structure for Fax Numbers (Business Address Services)

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

TELETEXDATANONADDRESS - BAPI Structure for Teletex Numbers (Bus. Address Services)

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

TELEXDATANONADDRESS - BAPI Structure for Telex Numbers (Business Address Services)

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

E_MAILDATANONADDRESS - BAPI Structure for E-Mail Addresses (Bus. Address Services)

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

RMLADDRESSDATANONADDRESS - BAPI Structure for RML Addresses (Business Address Services)

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

X400ADDRESSDATANONADDRESS - BAPI Structure for X.400 Addresses (Bus. Address Services)

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

RFCADDRESSDATANONADDRESS - BAPI Structure for RFC Addresses (Business Address Services)

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

Copy and paste ABAP code example for BAPI_STUDENT_ADDINDCOM_GET 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:
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_planversion  TYPE BAPISTUDENT_HEAD-PLVAR, "   
lt_prtaddressdatanonaddress  TYPE STANDARD TABLE OF BAPIADPRT, "   
lt_ssfaddressdatanonaddress  TYPE STANDARD TABLE OF BAPIADSSF, "   
lt_uriaddressdatanonaddress  TYPE STANDARD TABLE OF BAPIADURI, "   
lt_pagaddressdatanonaddress  TYPE STANDARD TABLE OF BAPIADPAG, "   
lt_communicationnotesnonaddress  TYPE STANDARD TABLE OF BAPICOMREM, "   
lt_communicationusagenonaddress  TYPE STANDARD TABLE OF BAPIADUSE, "   
lv_objectid  TYPE BAPISTUDENT_HEAD-OBJID, "   
lt_telefondatanonaddress  TYPE STANDARD TABLE OF BAPIADTEL, "   
lv_valid_date  TYPE BAPIBUS1006_VALIDITY-VALID_DATE, "   SY-DATLO
lt_faxdatanonaddress  TYPE STANDARD TABLE OF BAPIADFAX, "   
lt_teletexdatanonaddress  TYPE STANDARD TABLE OF BAPIADTTX, "   
lt_telexdatanonaddress  TYPE STANDARD TABLE OF BAPIADTLX, "   
lt_e_maildatanonaddress  TYPE STANDARD TABLE OF BAPIADSMTP, "   
lt_rmladdressdatanonaddress  TYPE STANDARD TABLE OF BAPIADRML, "   
lt_x400addressdatanonaddress  TYPE STANDARD TABLE OF BAPIADX400, "   
lt_rfcaddressdatanonaddress  TYPE STANDARD TABLE OF BAPIADRFC. "   

  CALL FUNCTION 'BAPI_STUDENT_ADDINDCOM_GET'  "Method: Read Address-Independent Communication Data of Student
    EXPORTING
         PLANVERSION = lv_planversion
         OBJECTID = lv_objectid
         VALID_DATE = lv_valid_date
    TABLES
         RETURN = lt_return
         PRTADDRESSDATANONADDRESS = lt_prtaddressdatanonaddress
         SSFADDRESSDATANONADDRESS = lt_ssfaddressdatanonaddress
         URIADDRESSDATANONADDRESS = lt_uriaddressdatanonaddress
         PAGADDRESSDATANONADDRESS = lt_pagaddressdatanonaddress
         COMMUNICATIONNOTESNONADDRESS = lt_communicationnotesnonaddress
         COMMUNICATIONUSAGENONADDRESS = lt_communicationusagenonaddress
         TELEFONDATANONADDRESS = lt_telefondatanonaddress
         FAXDATANONADDRESS = lt_faxdatanonaddress
         TELETEXDATANONADDRESS = lt_teletexdatanonaddress
         TELEXDATANONADDRESS = lt_telexdatanonaddress
         E_MAILDATANONADDRESS = lt_e_maildatanonaddress
         RMLADDRESSDATANONADDRESS = lt_rmladdressdatanonaddress
         X400ADDRESSDATANONADDRESS = lt_x400addressdatanonaddress
         RFCADDRESSDATANONADDRESS = lt_rfcaddressdatanonaddress
. " BAPI_STUDENT_ADDINDCOM_GET




ABAP code using 7.40 inline data declarations to call FM BAPI_STUDENT_ADDINDCOM_GET

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 PLVAR FROM BAPISTUDENT_HEAD INTO @DATA(ld_planversion).
 
 
 
 
 
 
 
"SELECT single OBJID FROM BAPISTUDENT_HEAD INTO @DATA(ld_objectid).
 
 
"SELECT single VALID_DATE FROM BAPIBUS1006_VALIDITY INTO @DATA(ld_valid_date).
DATA(ld_valid_date) = SY-DATLO.
 
 
 
 
 
 
 
 


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!