MS_READ_SERVICE_PACKAGE 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 MS_READ_SERVICE_PACKAGE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
MLSH
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'MS_READ_SERVICE_PACKAGE' "
* EXPORTING
* no_cond = SPACE "
* no_change_doc = SPACE "
* no_text = SPACE "
TABLES
i_packno = " pack_tab
i_eslh = " eslh
i_esll = " esll Service Lines
* i_esuh = " esuh Limits
* i_esuc = " esuc Limits with Contract Reference
* i_eskl = " eskl
* i_konv = " konv DOcument Condition
* i_a081 = " a081
* i_a082 = " a082
* i_a215 = " a215
* i_konh = " konh
* i_konp = " konp
* i_konm = " konm
* i_konw = " konw
* i_stxh = " stxh Text header
* i_stxl = " stxl Long Text
* i_cdhdr = " cdhdr Change Document Header
* i_chpos = " cdpos Change document position
. " MS_READ_SERVICE_PACKAGE
The ABAP code below is a full code listing to execute function module MS_READ_SERVICE_PACKAGE 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).
| it_i_packno | TYPE STANDARD TABLE OF PACK_TAB,"TABLES PARAM |
| wa_i_packno | LIKE LINE OF it_i_packno , |
| it_i_eslh | TYPE STANDARD TABLE OF ESLH,"TABLES PARAM |
| wa_i_eslh | LIKE LINE OF it_i_eslh , |
| it_i_esll | TYPE STANDARD TABLE OF ESLL,"TABLES PARAM |
| wa_i_esll | LIKE LINE OF it_i_esll , |
| it_i_esuh | TYPE STANDARD TABLE OF ESUH,"TABLES PARAM |
| wa_i_esuh | LIKE LINE OF it_i_esuh , |
| it_i_esuc | TYPE STANDARD TABLE OF ESUC,"TABLES PARAM |
| wa_i_esuc | LIKE LINE OF it_i_esuc , |
| it_i_eskl | TYPE STANDARD TABLE OF ESKL,"TABLES PARAM |
| wa_i_eskl | LIKE LINE OF it_i_eskl , |
| it_i_konv | TYPE STANDARD TABLE OF KONV,"TABLES PARAM |
| wa_i_konv | LIKE LINE OF it_i_konv , |
| it_i_a081 | TYPE STANDARD TABLE OF A081,"TABLES PARAM |
| wa_i_a081 | LIKE LINE OF it_i_a081 , |
| it_i_a082 | TYPE STANDARD TABLE OF A082,"TABLES PARAM |
| wa_i_a082 | LIKE LINE OF it_i_a082 , |
| it_i_a215 | TYPE STANDARD TABLE OF A215,"TABLES PARAM |
| wa_i_a215 | LIKE LINE OF it_i_a215 , |
| it_i_konh | TYPE STANDARD TABLE OF KONH,"TABLES PARAM |
| wa_i_konh | LIKE LINE OF it_i_konh , |
| it_i_konp | TYPE STANDARD TABLE OF KONP,"TABLES PARAM |
| wa_i_konp | LIKE LINE OF it_i_konp , |
| it_i_konm | TYPE STANDARD TABLE OF KONM,"TABLES PARAM |
| wa_i_konm | LIKE LINE OF it_i_konm , |
| it_i_konw | TYPE STANDARD TABLE OF KONW,"TABLES PARAM |
| wa_i_konw | LIKE LINE OF it_i_konw , |
| it_i_stxh | TYPE STANDARD TABLE OF STXH,"TABLES PARAM |
| wa_i_stxh | LIKE LINE OF it_i_stxh , |
| it_i_stxl | TYPE STANDARD TABLE OF STXL,"TABLES PARAM |
| wa_i_stxl | LIKE LINE OF it_i_stxl , |
| it_i_cdhdr | TYPE STANDARD TABLE OF CDHDR,"TABLES PARAM |
| wa_i_cdhdr | LIKE LINE OF it_i_cdhdr , |
| it_i_chpos | TYPE STANDARD TABLE OF CDPOS,"TABLES PARAM |
| wa_i_chpos | LIKE LINE OF it_i_chpos . |
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_no_cond | TYPE STRING , |
| it_i_packno | TYPE STANDARD TABLE OF PACK_TAB , |
| wa_i_packno | LIKE LINE OF it_i_packno, |
| ld_no_change_doc | TYPE STRING , |
| it_i_eslh | TYPE STANDARD TABLE OF ESLH , |
| wa_i_eslh | LIKE LINE OF it_i_eslh, |
| ld_no_text | TYPE STRING , |
| it_i_esll | TYPE STANDARD TABLE OF ESLL , |
| wa_i_esll | LIKE LINE OF it_i_esll, |
| it_i_esuh | TYPE STANDARD TABLE OF ESUH , |
| wa_i_esuh | LIKE LINE OF it_i_esuh, |
| it_i_esuc | TYPE STANDARD TABLE OF ESUC , |
| wa_i_esuc | LIKE LINE OF it_i_esuc, |
| it_i_eskl | TYPE STANDARD TABLE OF ESKL , |
| wa_i_eskl | LIKE LINE OF it_i_eskl, |
| it_i_konv | TYPE STANDARD TABLE OF KONV , |
| wa_i_konv | LIKE LINE OF it_i_konv, |
| it_i_a081 | TYPE STANDARD TABLE OF A081 , |
| wa_i_a081 | LIKE LINE OF it_i_a081, |
| it_i_a082 | TYPE STANDARD TABLE OF A082 , |
| wa_i_a082 | LIKE LINE OF it_i_a082, |
| it_i_a215 | TYPE STANDARD TABLE OF A215 , |
| wa_i_a215 | LIKE LINE OF it_i_a215, |
| it_i_konh | TYPE STANDARD TABLE OF KONH , |
| wa_i_konh | LIKE LINE OF it_i_konh, |
| it_i_konp | TYPE STANDARD TABLE OF KONP , |
| wa_i_konp | LIKE LINE OF it_i_konp, |
| it_i_konm | TYPE STANDARD TABLE OF KONM , |
| wa_i_konm | LIKE LINE OF it_i_konm, |
| it_i_konw | TYPE STANDARD TABLE OF KONW , |
| wa_i_konw | LIKE LINE OF it_i_konw, |
| it_i_stxh | TYPE STANDARD TABLE OF STXH , |
| wa_i_stxh | LIKE LINE OF it_i_stxh, |
| it_i_stxl | TYPE STANDARD TABLE OF STXL , |
| wa_i_stxl | LIKE LINE OF it_i_stxl, |
| it_i_cdhdr | TYPE STANDARD TABLE OF CDHDR , |
| wa_i_cdhdr | LIKE LINE OF it_i_cdhdr, |
| it_i_chpos | TYPE STANDARD TABLE OF CDPOS , |
| wa_i_chpos | LIKE LINE OF it_i_chpos. |
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 MS_READ_SERVICE_PACKAGE or its description.