SAP Function Modules

ISH_CASEPROCEDURE_MODIFYMULTIP SAP Function module







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

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


Pattern for FM ISH_CASEPROCEDURE_MODIFYMULTIP - ISH CASEPROCEDURE MODIFYMULTIP





CALL FUNCTION 'ISH_CASEPROCEDURE_MODIFYMULTIP' "
  EXPORTING
    ss_einri =                  " tn01-einri    Institution
    ss_falnr =                  " nfal-falnr    Case Number
*   ss_lfdbew =                 " nbew-lfdnr
*   ss_testrun = 'X'            " npdok-xfeld
*   ss_act_complete = ' '       " ish_on_off
*   ss_comm_wait = ' '          " ish_on_off
*   ss_call_from_bapi = 'X'     " ish_on_off
*   ss_authcheck = 'X'          " ish_on_off    Execute Authorization Check
*   ss_wplacetype = SPACE       " npdok-c3
*   ss_event =                  " n_event
  IMPORTING
    ss_retmaxtype =             " npdok-bapiretmaxty  Message Type That Occurred Most
  TABLES
    ss_rnapinicp =              " rnapinicp
*   ss_rnapinlicz =             " rnapinlicz
*   ss_rnapindicz =             " rnapindicz
*   ss_actnicp =                " vnicp
*   ss_actnlicz =               " vnlicz
*   ss_actndicz =               " vndicz
*   ss_actnbew =                " vnbew
*   ss_actnlei =                " vnlei
*   ss_actndia =                " vndia
*   ss_onicp =                  " nicp
*   ss_onlicz =                 " nlicz
*   ss_ondicz =                 " ndicz
*   ss_inicp =                  " nicp
*   ss_unicp =                  " nicp
*   ss_inlicz =                 " nlicz
*   ss_unlicz =                 " nlicz
*   ss_dnlicz =                 " nlicz
*   ss_indicz =                 " ndicz
*   ss_undicz =                 " ndicz
*   ss_dndicz =                 " ndicz
*   ss_return =                 " bapiret2      Return Code
*   ss_textinfo =               " ish_doccollinfo  IS-H: Manage Cllctv. Representation of SAPscript Documents
*   ss_textcontent =            " tline         SAPscript: Text Rows
* CHANGING
*   ss_actnfal =                " nfal          Current Case Data
    .  "  ISH_CASEPROCEDURE_MODIFYMULTIP

ABAP code example for Function Module ISH_CASEPROCEDURE_MODIFYMULTIP





The ABAP code below is a full code listing to execute function module ISH_CASEPROCEDURE_MODIFYMULTIP 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_ss_retmaxtype  TYPE NPDOK-BAPIRETMAXTY ,
it_ss_rnapinicp  TYPE STANDARD TABLE OF RNAPINICP,"TABLES PARAM
wa_ss_rnapinicp  LIKE LINE OF it_ss_rnapinicp ,
it_ss_rnapinlicz  TYPE STANDARD TABLE OF RNAPINLICZ,"TABLES PARAM
wa_ss_rnapinlicz  LIKE LINE OF it_ss_rnapinlicz ,
it_ss_rnapindicz  TYPE STANDARD TABLE OF RNAPINDICZ,"TABLES PARAM
wa_ss_rnapindicz  LIKE LINE OF it_ss_rnapindicz ,
it_ss_actnicp  TYPE STANDARD TABLE OF VNICP,"TABLES PARAM
wa_ss_actnicp  LIKE LINE OF it_ss_actnicp ,
it_ss_actnlicz  TYPE STANDARD TABLE OF VNLICZ,"TABLES PARAM
wa_ss_actnlicz  LIKE LINE OF it_ss_actnlicz ,
it_ss_actndicz  TYPE STANDARD TABLE OF VNDICZ,"TABLES PARAM
wa_ss_actndicz  LIKE LINE OF it_ss_actndicz ,
it_ss_actnbew  TYPE STANDARD TABLE OF VNBEW,"TABLES PARAM
wa_ss_actnbew  LIKE LINE OF it_ss_actnbew ,
it_ss_actnlei  TYPE STANDARD TABLE OF VNLEI,"TABLES PARAM
wa_ss_actnlei  LIKE LINE OF it_ss_actnlei ,
it_ss_actndia  TYPE STANDARD TABLE OF VNDIA,"TABLES PARAM
wa_ss_actndia  LIKE LINE OF it_ss_actndia ,
it_ss_onicp  TYPE STANDARD TABLE OF NICP,"TABLES PARAM
wa_ss_onicp  LIKE LINE OF it_ss_onicp ,
it_ss_onlicz  TYPE STANDARD TABLE OF NLICZ,"TABLES PARAM
wa_ss_onlicz  LIKE LINE OF it_ss_onlicz ,
it_ss_ondicz  TYPE STANDARD TABLE OF NDICZ,"TABLES PARAM
wa_ss_ondicz  LIKE LINE OF it_ss_ondicz ,
it_ss_inicp  TYPE STANDARD TABLE OF NICP,"TABLES PARAM
wa_ss_inicp  LIKE LINE OF it_ss_inicp ,
it_ss_unicp  TYPE STANDARD TABLE OF NICP,"TABLES PARAM
wa_ss_unicp  LIKE LINE OF it_ss_unicp ,
it_ss_inlicz  TYPE STANDARD TABLE OF NLICZ,"TABLES PARAM
wa_ss_inlicz  LIKE LINE OF it_ss_inlicz ,
it_ss_unlicz  TYPE STANDARD TABLE OF NLICZ,"TABLES PARAM
wa_ss_unlicz  LIKE LINE OF it_ss_unlicz ,
it_ss_dnlicz  TYPE STANDARD TABLE OF NLICZ,"TABLES PARAM
wa_ss_dnlicz  LIKE LINE OF it_ss_dnlicz ,
it_ss_indicz  TYPE STANDARD TABLE OF NDICZ,"TABLES PARAM
wa_ss_indicz  LIKE LINE OF it_ss_indicz ,
it_ss_undicz  TYPE STANDARD TABLE OF NDICZ,"TABLES PARAM
wa_ss_undicz  LIKE LINE OF it_ss_undicz ,
it_ss_dndicz  TYPE STANDARD TABLE OF NDICZ,"TABLES PARAM
wa_ss_dndicz  LIKE LINE OF it_ss_dndicz ,
it_ss_return  TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM
wa_ss_return  LIKE LINE OF it_ss_return ,
it_ss_textinfo  TYPE STANDARD TABLE OF ISH_DOCCOLLINFO,"TABLES PARAM
wa_ss_textinfo  LIKE LINE OF it_ss_textinfo ,
it_ss_textcontent  TYPE STANDARD TABLE OF TLINE,"TABLES PARAM
wa_ss_textcontent  LIKE LINE OF it_ss_textcontent .

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

SELECT single EINRI
FROM TN01
INTO @DATA(ld_ss_einri).


SELECT single FALNR
FROM NFAL
INTO @DATA(ld_ss_falnr).


SELECT single LFDNR
FROM NBEW
INTO @DATA(ld_ss_lfdbew).


DATA(ld_ss_testrun) = some text here
DATA(ld_ss_act_complete) = 'Check type of data required'.
DATA(ld_ss_comm_wait) = 'Check type of data required'.
DATA(ld_ss_call_from_bapi) = 'Check type of data required'.
DATA(ld_ss_authcheck) = 'Check type of data required'.

DATA(ld_ss_wplacetype) = some text here
DATA(ld_ss_event) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_rnapinicp to it_ss_rnapinicp.

"populate fields of struture and append to itab
append wa_ss_rnapinlicz to it_ss_rnapinlicz.

"populate fields of struture and append to itab
append wa_ss_rnapindicz to it_ss_rnapindicz.

"populate fields of struture and append to itab
append wa_ss_actnicp to it_ss_actnicp.

"populate fields of struture and append to itab
append wa_ss_actnlicz to it_ss_actnlicz.

"populate fields of struture and append to itab
append wa_ss_actndicz to it_ss_actndicz.

"populate fields of struture and append to itab
append wa_ss_actnbew to it_ss_actnbew.

"populate fields of struture and append to itab
append wa_ss_actnlei to it_ss_actnlei.

"populate fields of struture and append to itab
append wa_ss_actndia to it_ss_actndia.

"populate fields of struture and append to itab
append wa_ss_onicp to it_ss_onicp.

"populate fields of struture and append to itab
append wa_ss_onlicz to it_ss_onlicz.

"populate fields of struture and append to itab
append wa_ss_ondicz to it_ss_ondicz.

"populate fields of struture and append to itab
append wa_ss_inicp to it_ss_inicp.

"populate fields of struture and append to itab
append wa_ss_unicp to it_ss_unicp.

"populate fields of struture and append to itab
append wa_ss_inlicz to it_ss_inlicz.

"populate fields of struture and append to itab
append wa_ss_unlicz to it_ss_unlicz.

"populate fields of struture and append to itab
append wa_ss_dnlicz to it_ss_dnlicz.

"populate fields of struture and append to itab
append wa_ss_indicz to it_ss_indicz.

"populate fields of struture and append to itab
append wa_ss_undicz to it_ss_undicz.

"populate fields of struture and append to itab
append wa_ss_dndicz to it_ss_dndicz.

"populate fields of struture and append to itab
append wa_ss_return to it_ss_return.

"populate fields of struture and append to itab
append wa_ss_textinfo to it_ss_textinfo.

"populate fields of struture and append to itab
append wa_ss_textcontent to it_ss_textcontent. . CALL FUNCTION 'ISH_CASEPROCEDURE_MODIFYMULTIP' EXPORTING ss_einri = ld_ss_einri ss_falnr = ld_ss_falnr * ss_lfdbew = ld_ss_lfdbew * ss_testrun = ld_ss_testrun * ss_act_complete = ld_ss_act_complete * ss_comm_wait = ld_ss_comm_wait * ss_call_from_bapi = ld_ss_call_from_bapi * ss_authcheck = ld_ss_authcheck * ss_wplacetype = ld_ss_wplacetype * ss_event = ld_ss_event IMPORTING ss_retmaxtype = ld_ss_retmaxtype TABLES ss_rnapinicp = it_ss_rnapinicp * ss_rnapinlicz = it_ss_rnapinlicz * ss_rnapindicz = it_ss_rnapindicz * ss_actnicp = it_ss_actnicp * ss_actnlicz = it_ss_actnlicz * ss_actndicz = it_ss_actndicz * ss_actnbew = it_ss_actnbew * ss_actnlei = it_ss_actnlei * ss_actndia = it_ss_actndia * ss_onicp = it_ss_onicp * ss_onlicz = it_ss_onlicz * ss_ondicz = it_ss_ondicz * ss_inicp = it_ss_inicp * ss_unicp = it_ss_unicp * ss_inlicz = it_ss_inlicz * ss_unlicz = it_ss_unlicz * ss_dnlicz = it_ss_dnlicz * ss_indicz = it_ss_indicz * ss_undicz = it_ss_undicz * ss_dndicz = it_ss_dndicz * ss_return = it_ss_return * ss_textinfo = it_ss_textinfo * ss_textcontent = it_ss_textcontent * CHANGING * ss_actnfal = ld_ss_actnfal . " ISH_CASEPROCEDURE_MODIFYMULTIP
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_ss_actnfal  TYPE NFAL ,
ld_ss_retmaxtype  TYPE NPDOK-BAPIRETMAXTY ,
ld_ss_einri  TYPE TN01-EINRI ,
it_ss_rnapinicp  TYPE STANDARD TABLE OF RNAPINICP ,
wa_ss_rnapinicp  LIKE LINE OF it_ss_rnapinicp,
ld_ss_falnr  TYPE NFAL-FALNR ,
it_ss_rnapinlicz  TYPE STANDARD TABLE OF RNAPINLICZ ,
wa_ss_rnapinlicz  LIKE LINE OF it_ss_rnapinlicz,
ld_ss_lfdbew  TYPE NBEW-LFDNR ,
it_ss_rnapindicz  TYPE STANDARD TABLE OF RNAPINDICZ ,
wa_ss_rnapindicz  LIKE LINE OF it_ss_rnapindicz,
ld_ss_testrun  TYPE NPDOK-XFELD ,
it_ss_actnicp  TYPE STANDARD TABLE OF VNICP ,
wa_ss_actnicp  LIKE LINE OF it_ss_actnicp,
ld_ss_act_complete  TYPE ISH_ON_OFF ,
it_ss_actnlicz  TYPE STANDARD TABLE OF VNLICZ ,
wa_ss_actnlicz  LIKE LINE OF it_ss_actnlicz,
it_ss_actndicz  TYPE STANDARD TABLE OF VNDICZ ,
wa_ss_actndicz  LIKE LINE OF it_ss_actndicz,
ld_ss_comm_wait  TYPE ISH_ON_OFF ,
ld_ss_call_from_bapi  TYPE ISH_ON_OFF ,
it_ss_actnbew  TYPE STANDARD TABLE OF VNBEW ,
wa_ss_actnbew  LIKE LINE OF it_ss_actnbew,
ld_ss_authcheck  TYPE ISH_ON_OFF ,
it_ss_actnlei  TYPE STANDARD TABLE OF VNLEI ,
wa_ss_actnlei  LIKE LINE OF it_ss_actnlei,
ld_ss_wplacetype  TYPE NPDOK-C3 ,
it_ss_actndia  TYPE STANDARD TABLE OF VNDIA ,
wa_ss_actndia  LIKE LINE OF it_ss_actndia,
ld_ss_event  TYPE N_EVENT ,
it_ss_onicp  TYPE STANDARD TABLE OF NICP ,
wa_ss_onicp  LIKE LINE OF it_ss_onicp,
it_ss_onlicz  TYPE STANDARD TABLE OF NLICZ ,
wa_ss_onlicz  LIKE LINE OF it_ss_onlicz,
it_ss_ondicz  TYPE STANDARD TABLE OF NDICZ ,
wa_ss_ondicz  LIKE LINE OF it_ss_ondicz,
it_ss_inicp  TYPE STANDARD TABLE OF NICP ,
wa_ss_inicp  LIKE LINE OF it_ss_inicp,
it_ss_unicp  TYPE STANDARD TABLE OF NICP ,
wa_ss_unicp  LIKE LINE OF it_ss_unicp,
it_ss_inlicz  TYPE STANDARD TABLE OF NLICZ ,
wa_ss_inlicz  LIKE LINE OF it_ss_inlicz,
it_ss_unlicz  TYPE STANDARD TABLE OF NLICZ ,
wa_ss_unlicz  LIKE LINE OF it_ss_unlicz,
it_ss_dnlicz  TYPE STANDARD TABLE OF NLICZ ,
wa_ss_dnlicz  LIKE LINE OF it_ss_dnlicz,
it_ss_indicz  TYPE STANDARD TABLE OF NDICZ ,
wa_ss_indicz  LIKE LINE OF it_ss_indicz,
it_ss_undicz  TYPE STANDARD TABLE OF NDICZ ,
wa_ss_undicz  LIKE LINE OF it_ss_undicz,
it_ss_dndicz  TYPE STANDARD TABLE OF NDICZ ,
wa_ss_dndicz  LIKE LINE OF it_ss_dndicz,
it_ss_return  TYPE STANDARD TABLE OF BAPIRET2 ,
wa_ss_return  LIKE LINE OF it_ss_return,
it_ss_textinfo  TYPE STANDARD TABLE OF ISH_DOCCOLLINFO ,
wa_ss_textinfo  LIKE LINE OF it_ss_textinfo,
it_ss_textcontent  TYPE STANDARD TABLE OF TLINE ,
wa_ss_textcontent  LIKE LINE OF it_ss_textcontent.

ld_ss_actnfal = 'Check type of data required'.

SELECT single EINRI
FROM TN01
INTO ld_ss_einri.


"populate fields of struture and append to itab
append wa_ss_rnapinicp to it_ss_rnapinicp.

SELECT single FALNR
FROM NFAL
INTO ld_ss_falnr.


"populate fields of struture and append to itab
append wa_ss_rnapinlicz to it_ss_rnapinlicz.

SELECT single LFDNR
FROM NBEW
INTO ld_ss_lfdbew.


"populate fields of struture and append to itab
append wa_ss_rnapindicz to it_ss_rnapindicz.

ld_ss_testrun = some text here

"populate fields of struture and append to itab
append wa_ss_actnicp to it_ss_actnicp.
ld_ss_act_complete = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_actnlicz to it_ss_actnlicz.

"populate fields of struture and append to itab
append wa_ss_actndicz to it_ss_actndicz.
ld_ss_comm_wait = 'Check type of data required'.
ld_ss_call_from_bapi = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_actnbew to it_ss_actnbew.
ld_ss_authcheck = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_actnlei to it_ss_actnlei.

ld_ss_wplacetype = some text here

"populate fields of struture and append to itab
append wa_ss_actndia to it_ss_actndia.
ld_ss_event = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ss_onicp to it_ss_onicp.

"populate fields of struture and append to itab
append wa_ss_onlicz to it_ss_onlicz.

"populate fields of struture and append to itab
append wa_ss_ondicz to it_ss_ondicz.

"populate fields of struture and append to itab
append wa_ss_inicp to it_ss_inicp.

"populate fields of struture and append to itab
append wa_ss_unicp to it_ss_unicp.

"populate fields of struture and append to itab
append wa_ss_inlicz to it_ss_inlicz.

"populate fields of struture and append to itab
append wa_ss_unlicz to it_ss_unlicz.

"populate fields of struture and append to itab
append wa_ss_dnlicz to it_ss_dnlicz.

"populate fields of struture and append to itab
append wa_ss_indicz to it_ss_indicz.

"populate fields of struture and append to itab
append wa_ss_undicz to it_ss_undicz.

"populate fields of struture and append to itab
append wa_ss_dndicz to it_ss_dndicz.

"populate fields of struture and append to itab
append wa_ss_return to it_ss_return.

"populate fields of struture and append to itab
append wa_ss_textinfo to it_ss_textinfo.

"populate fields of struture and append to itab
append wa_ss_textcontent to it_ss_textcontent.

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