SAP Function Modules

ISP_LIST_ORDER_SELECTION_VIEW SAP Function module - IS-M/SD: Order Processing: Order Overview







ISP_LIST_ORDER_SELECTION_VIEW 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_LIST_ORDER_SELECTION_VIEW into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: JK12
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISP_LIST_ORDER_SELECTION_VIEW - ISP LIST ORDER SELECTION VIEW





CALL FUNCTION 'ISP_LIST_ORDER_SELECTION_VIEW' "IS-M/SD: Order Processing: Order Overview
  EXPORTING
    wa_rjk0100 =                " rjk0100
    trtyp =                     " tj180-trtyp
    ranges_xzugauftr =          " jk12_rangetab_xrechart
    ranges_xabgauftr =          " jk12_rangetab_xrechart
    rjk0300_tab =               " jk12_rjk0300_tab
    pt_rjk_jvso =               " rjk_jvso_tab  IS-M/SD: Tab.Ty.for Data on Address-Based Shipp.in Cent.Acc.
  IMPORTING
    exp_ok_code =               "
  TABLES
    jffarekl_tab =              " jk12_jffa_tab
    jffaremz_tab =              " jk12_jffa_tab
    jkap_tab =                  " jk12_jkap_tab
    jkpa_tab =                  " jk12_jkpa_tab
    gpnr_tab =                  " jk12_gpnr_tab
    .  "  ISP_LIST_ORDER_SELECTION_VIEW

ABAP code example for Function Module ISP_LIST_ORDER_SELECTION_VIEW





The ABAP code below is a full code listing to execute function module ISP_LIST_ORDER_SELECTION_VIEW 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).

DATA:
ld_exp_ok_code  TYPE STRING ,
it_jffarekl_tab  TYPE STANDARD TABLE OF JK12_JFFA_TAB,"TABLES PARAM
wa_jffarekl_tab  LIKE LINE OF it_jffarekl_tab ,
it_jffaremz_tab  TYPE STANDARD TABLE OF JK12_JFFA_TAB,"TABLES PARAM
wa_jffaremz_tab  LIKE LINE OF it_jffaremz_tab ,
it_jkap_tab  TYPE STANDARD TABLE OF JK12_JKAP_TAB,"TABLES PARAM
wa_jkap_tab  LIKE LINE OF it_jkap_tab ,
it_jkpa_tab  TYPE STANDARD TABLE OF JK12_JKPA_TAB,"TABLES PARAM
wa_jkpa_tab  LIKE LINE OF it_jkpa_tab ,
it_gpnr_tab  TYPE STANDARD TABLE OF JK12_GPNR_TAB,"TABLES PARAM
wa_gpnr_tab  LIKE LINE OF it_gpnr_tab .

DATA(ld_wa_rjk0100) = 'Check type of data required'.

SELECT single TRTYP
FROM TJ180
INTO @DATA(ld_trtyp).

DATA(ld_ranges_xzugauftr) = 'Check type of data required'.
DATA(ld_ranges_xabgauftr) = 'Check type of data required'.
DATA(ld_rjk0300_tab) = 'Check type of data required'.
DATA(ld_pt_rjk_jvso) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_jffarekl_tab to it_jffarekl_tab.

"populate fields of struture and append to itab
append wa_jffaremz_tab to it_jffaremz_tab.

"populate fields of struture and append to itab
append wa_jkap_tab to it_jkap_tab.

"populate fields of struture and append to itab
append wa_jkpa_tab to it_jkpa_tab.

"populate fields of struture and append to itab
append wa_gpnr_tab to it_gpnr_tab. . CALL FUNCTION 'ISP_LIST_ORDER_SELECTION_VIEW' EXPORTING wa_rjk0100 = ld_wa_rjk0100 trtyp = ld_trtyp ranges_xzugauftr = ld_ranges_xzugauftr ranges_xabgauftr = ld_ranges_xabgauftr rjk0300_tab = ld_rjk0300_tab pt_rjk_jvso = ld_pt_rjk_jvso IMPORTING exp_ok_code = ld_exp_ok_code TABLES jffarekl_tab = it_jffarekl_tab jffaremz_tab = it_jffaremz_tab jkap_tab = it_jkap_tab jkpa_tab = it_jkpa_tab gpnr_tab = it_gpnr_tab . " ISP_LIST_ORDER_SELECTION_VIEW
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_exp_ok_code  TYPE STRING ,
ld_wa_rjk0100  TYPE RJK0100 ,
it_jffarekl_tab  TYPE STANDARD TABLE OF JK12_JFFA_TAB ,
wa_jffarekl_tab  LIKE LINE OF it_jffarekl_tab,
ld_trtyp  TYPE TJ180-TRTYP ,
it_jffaremz_tab  TYPE STANDARD TABLE OF JK12_JFFA_TAB ,
wa_jffaremz_tab  LIKE LINE OF it_jffaremz_tab,
ld_ranges_xzugauftr  TYPE JK12_RANGETAB_XRECHART ,
it_jkap_tab  TYPE STANDARD TABLE OF JK12_JKAP_TAB ,
wa_jkap_tab  LIKE LINE OF it_jkap_tab,
ld_ranges_xabgauftr  TYPE JK12_RANGETAB_XRECHART ,
it_jkpa_tab  TYPE STANDARD TABLE OF JK12_JKPA_TAB ,
wa_jkpa_tab  LIKE LINE OF it_jkpa_tab,
ld_rjk0300_tab  TYPE JK12_RJK0300_TAB ,
it_gpnr_tab  TYPE STANDARD TABLE OF JK12_GPNR_TAB ,
wa_gpnr_tab  LIKE LINE OF it_gpnr_tab,
ld_pt_rjk_jvso  TYPE RJK_JVSO_TAB .

ld_wa_rjk0100 = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_jffarekl_tab to it_jffarekl_tab.

SELECT single TRTYP
FROM TJ180
INTO ld_trtyp.


"populate fields of struture and append to itab
append wa_jffaremz_tab to it_jffaremz_tab.
ld_ranges_xzugauftr = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_jkap_tab to it_jkap_tab.
ld_ranges_xabgauftr = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_jkpa_tab to it_jkpa_tab.
ld_rjk0300_tab = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_gpnr_tab to it_gpnr_tab.
ld_pt_rjk_jvso = 'Check type of data required'.

Contribute (Add Comments)

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_LIST_ORDER_SELECTION_VIEW or its description.