SAP ISM_PDF_RECEIVER_ADDRESS_GET Function Module for Determine Recipient Data
ISM_PDF_RECEIVER_ADDRESS_GET is a standard ism pdf receiver address 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 Determine Recipient Data 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 pdf receiver address get FM, simply by entering the name ISM_PDF_RECEIVER_ADDRESS_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: ISM_PDF_NAST
Program Name: SAPLISM_PDF_NAST
Main Program: SAPLISM_PDF_NAST
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_PDF_RECEIVER_ADDRESS_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 'ISM_PDF_RECEIVER_ADDRESS_GET'"Determine Recipient Data.
EXPORTING
* I_BPARTNER = "Business Partner Number
* I_ADRNR = "IS-M: Address Number
* I_ADRVAR = "IS-M: Address Variant
* I_DATE = SY-DATUM "Current Date of Application Server
* I_ADDRESS_FORMAT = "IS-M: Address Print Format
* I_NUMBER_OF_LINES = 6 "Number of lines in address
* I_COMMDATA_RECEIVER = "IS-M: Form Interface, Communication Data
* I_SENDER_COUNTRY = "
IMPORTING
E_ADDRESS_RECEIVER = "IS-M: Form Interface, Recipient Address
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for ISM_PDF_RECEIVER_ADDRESS_GET
I_BPARTNER - Business Partner Number
Data type: BU_PARTNEROptional: Yes
Call by Reference: Yes
I_ADRNR - IS-M: Address Number
Data type: JADRNROptional: Yes
Call by Reference: Yes
I_ADRVAR - IS-M: Address Variant
Data type: ADRESSVAROptional: Yes
Call by Reference: Yes
I_DATE - Current Date of Application Server
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
I_ADDRESS_FORMAT - IS-M: Address Print Format
Data type: JFORMNROptional: Yes
Call by Reference: Yes
I_NUMBER_OF_LINES - Number of lines in address
Data type: ADRS-ANZZLDefault: 6
Optional: Yes
Call by Reference: Yes
I_COMMDATA_RECEIVER - IS-M: Form Interface, Communication Data
Data type: ISM_PDF_ADDRESS_COMMDATAOptional: Yes
Call by Reference: Yes
I_SENDER_COUNTRY -
Data type: LAND1Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISM_PDF_RECEIVER_ADDRESS_GET
E_ADDRESS_RECEIVER - IS-M: Form Interface, Recipient Address
Data type: ISM_PDF_ADDRESS_RECEIVEROptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR - Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISM_PDF_RECEIVER_ADDRESS_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: | ||||
| lv_error | TYPE STRING, " | |||
| lv_i_bpartner | TYPE BU_PARTNER, " | |||
| lv_e_address_receiver | TYPE ISM_PDF_ADDRESS_RECEIVER, " | |||
| lv_i_adrnr | TYPE JADRNR, " | |||
| lv_i_adrvar | TYPE ADRESSVAR, " | |||
| lv_i_date | TYPE SY-DATUM, " SY-DATUM | |||
| lv_i_address_format | TYPE JFORMNR, " | |||
| lv_i_number_of_lines | TYPE ADRS-ANZZL, " 6 | |||
| lv_i_commdata_receiver | TYPE ISM_PDF_ADDRESS_COMMDATA, " | |||
| lv_i_sender_country | TYPE LAND1. " |
|   CALL FUNCTION 'ISM_PDF_RECEIVER_ADDRESS_GET' "Determine Recipient Data |
| EXPORTING | ||
| I_BPARTNER | = lv_i_bpartner | |
| I_ADRNR | = lv_i_adrnr | |
| I_ADRVAR | = lv_i_adrvar | |
| I_DATE | = lv_i_date | |
| I_ADDRESS_FORMAT | = lv_i_address_format | |
| I_NUMBER_OF_LINES | = lv_i_number_of_lines | |
| I_COMMDATA_RECEIVER | = lv_i_commdata_receiver | |
| I_SENDER_COUNTRY | = lv_i_sender_country | |
| IMPORTING | ||
| E_ADDRESS_RECEIVER | = lv_e_address_receiver | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " ISM_PDF_RECEIVER_ADDRESS_GET | ||
ABAP code using 7.40 inline data declarations to call FM ISM_PDF_RECEIVER_ADDRESS_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 DATUM FROM SY INTO @DATA(ld_i_date). | ||||
| DATA(ld_i_date) | = SY-DATUM. | |||
| "SELECT single ANZZL FROM ADRS INTO @DATA(ld_i_number_of_lines). | ||||
| DATA(ld_i_number_of_lines) | = 6. | |||
Search for further information about these or an SAP related objects