ISM_BUPA_ADDR_PRINTFORM is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISM_BUPA_ADDR_PRINTFORM into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JEPBP
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'ISM_BUPA_ADDR_PRINTFORM' "IS-M: Business Partner Address in Print Format
* EXPORTING
* businesspartner = " bu_partner Business Partner Number
* addr_no = " ad_addrnum Address Number
* pers_no = " ad_persnum Person Number
* addr_type = '1' " ad_adrtype Address Type (1=Organization, 2=Person, 3=Contact Person)
* number_of_lines = 10 " anzei Number of lines in address
IMPORTING
address_printform = " adrs_print Formatted address (maximum 10 lines)
address_short_form = " ad_line_s One-line short form of formatted address
address_short_form_s = " ad_line_s One-line short form of formatted address
number_of_used_lines = " anzei Number of lines in address
* TABLES
* address_printform_table = " rjep_address_printform IS-M: Address in Print Format
* return = " bapiret2 Return Parameter(s)
. " ISM_BUPA_ADDR_PRINTFORM
The ABAP code below is a full code listing to execute function module ISM_BUPA_ADDR_PRINTFORM including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_address_printform | TYPE ADRS_PRINT , |
| ld_address_short_form | TYPE AD_LINE_S , |
| ld_address_short_form_s | TYPE AD_LINE_S , |
| ld_number_of_used_lines | TYPE ANZEI , |
| it_address_printform_table | TYPE STANDARD TABLE OF RJEP_ADDRESS_PRINTFORM,"TABLES PARAM |
| wa_address_printform_table | LIKE LINE OF it_address_printform_table , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_address_printform | TYPE ADRS_PRINT , |
| ld_businesspartner | TYPE BU_PARTNER , |
| it_address_printform_table | TYPE STANDARD TABLE OF RJEP_ADDRESS_PRINTFORM , |
| wa_address_printform_table | LIKE LINE OF it_address_printform_table, |
| ld_address_short_form | TYPE AD_LINE_S , |
| ld_addr_no | TYPE AD_ADDRNUM , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| ld_address_short_form_s | TYPE AD_LINE_S , |
| ld_pers_no | TYPE AD_PERSNUM , |
| ld_number_of_used_lines | TYPE ANZEI , |
| ld_addr_type | TYPE AD_ADRTYPE , |
| ld_number_of_lines | TYPE ANZEI . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISM_BUPA_ADDR_PRINTFORM or its description.
ISM_BUPA_ADDR_PRINTFORM - IS-M: Business Partner Address in Print Format ISM_BUPA_ADDR_OBJECT_TYPE_GET - IS-M: Determine Address Type ISM_BUPA_ADDR_HH_ASSIGN_TD - Assign Address to Household - Table Control ISM_BUPA_ADDR_HH_ASSIGN - Assign Address to Household ISM_BUPA_ADDRCODE_MEMORY_GET - Read Data from Memory ISM_BUPA_ADDRCHCK_RESULT_SET_T - IS-M: Write Result of Address Check to Memory - Time Dependency