ISP_POSTAGE_GET_DETAIL 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 ISP_POSTAGE_GET_DETAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JL40
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISP_POSTAGE_GET_DETAIL' "IS-M/SD: Determine Postal Charges for Existing Delivery Type
EXPORTING
gewichtseinheit = " rjll40-geweinheit Unit of Weight
gewicht_exkl_blg = " rjll40-gewicht
gewicht_inkl_blg = " rjll40-gewicht
* kurstyp = SPACE " komk-kurst
* lfartlog = SPACE " tjv01-lfartlog Logistical delivery type
* posartpost = SPACE " rjll40-posartpost
* posttarif = SPACE " rjll40-posttarif
* sendartpo = SPACE " tjv01-sendartpo Shipment type
* sendavarpo = SPACE " tjv01-sendavarpo
* stueckzahl = '0' " rjll40-stueckzahl No.of Units
vrsnddatum = " rjll40-vrsnddatum Shipping Date
* postabrart = " tjl29-objart IS-M: Postal settlement type
IMPORTING
postentgelt = " rjll40-entgelt Postal charges
TABLES
tkomk = " komk
tkomp = " komp
tkomv = " komv
EXCEPTIONS
NO_CALCULATION_SCHEME = 1 "
NO_POSTAGE_CATEGORY = 2 "
NO_PRICES_FOUND = 3 "
WRONG_CURRENCY = 4 "
WRONG_INPUT = 5 "
. " ISP_POSTAGE_GET_DETAIL
The ABAP code below is a full code listing to execute function module ISP_POSTAGE_GET_DETAIL 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_postentgelt | TYPE RJLL40-ENTGELT , |
| it_tkomk | TYPE STANDARD TABLE OF KOMK,"TABLES PARAM |
| wa_tkomk | LIKE LINE OF it_tkomk , |
| it_tkomp | TYPE STANDARD TABLE OF KOMP,"TABLES PARAM |
| wa_tkomp | LIKE LINE OF it_tkomp , |
| it_tkomv | TYPE STANDARD TABLE OF KOMV,"TABLES PARAM |
| wa_tkomv | LIKE LINE OF it_tkomv . |
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_postentgelt | TYPE RJLL40-ENTGELT , |
| ld_gewichtseinheit | TYPE RJLL40-GEWEINHEIT , |
| it_tkomk | TYPE STANDARD TABLE OF KOMK , |
| wa_tkomk | LIKE LINE OF it_tkomk, |
| ld_gewicht_exkl_blg | TYPE RJLL40-GEWICHT , |
| it_tkomp | TYPE STANDARD TABLE OF KOMP , |
| wa_tkomp | LIKE LINE OF it_tkomp, |
| ld_gewicht_inkl_blg | TYPE RJLL40-GEWICHT , |
| it_tkomv | TYPE STANDARD TABLE OF KOMV , |
| wa_tkomv | LIKE LINE OF it_tkomv, |
| ld_kurstyp | TYPE KOMK-KURST , |
| ld_lfartlog | TYPE TJV01-LFARTLOG , |
| ld_posartpost | TYPE RJLL40-POSARTPOST , |
| ld_posttarif | TYPE RJLL40-POSTTARIF , |
| ld_sendartpo | TYPE TJV01-SENDARTPO , |
| ld_sendavarpo | TYPE TJV01-SENDAVARPO , |
| ld_stueckzahl | TYPE RJLL40-STUECKZAHL , |
| ld_vrsnddatum | TYPE RJLL40-VRSNDDATUM , |
| ld_postabrart | TYPE TJL29-OBJART . |
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 ISP_POSTAGE_GET_DETAIL or its description.
ISP_POSTAGE_GET_DETAIL - IS-M/SD: Determine Postal Charges for Existing Delivery Type ISP_POSTAGE_GET - IS-M/SD: Determine Postal Charges for Existing Delivery Type ISP_POSTABRECHNUMMER_ERMITTELN - IS-M/SD: Settlement Number for 'Goods Arrival List for Periodical Post ISP_POSITION_DIALOG_CALL - IS-M/AM: Access RFC Function Module ISP_POSITION_DIALOG ISP_POSITION_DIALOG - IS-M/AM Accesses Positioning Program in Dialog ISP_POSITION_CALL - IS-M/AM: Access RFC Function Module ISP_POSITION