SAP Function Modules

ISH_PROCEDURE_RULES_SUBMIT SAP Function module







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

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


Pattern for FM ISH_PROCEDURE_RULES_SUBMIT - ISH PROCEDURE RULES SUBMIT





CALL FUNCTION 'ISH_PROCEDURE_RULES_SUBMIT' "
  EXPORTING
    ss_einri =                  " einri         Current Institution
*   ss_event = 'NPR000'         " n_event
    ss_nfal =                   " nfal
    ss_npat =                   " npat          Current Patient Data
*   ss_nbew_act =               " nbew
*   ss_nbew_act_select = OFF    " ish_on_off
*   ss_popup = ON               " ish_on_off
*   ss_col = '4'                " sycucol
*   ss_row = '2'                " sycurow
  TABLES
    ss_vnbew =                  " vnbew
    ss_nicp =                   " rnicp         Current Procedure Data
*   ss_nlicz =                  " vnlicz
*   ss_ndicz =                  " vndicz
*   ss_ndia =                   " rndia
  CHANGING
    ss_ok_code =                " syucomm
    .  "  ISH_PROCEDURE_RULES_SUBMIT

ABAP code example for Function Module ISH_PROCEDURE_RULES_SUBMIT





The ABAP code below is a full code listing to execute function module ISH_PROCEDURE_RULES_SUBMIT 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:
it_ss_vnbew  TYPE STANDARD TABLE OF VNBEW,"TABLES PARAM
wa_ss_vnbew  LIKE LINE OF it_ss_vnbew ,
it_ss_nicp  TYPE STANDARD TABLE OF RNICP,"TABLES PARAM
wa_ss_nicp  LIKE LINE OF it_ss_nicp ,
it_ss_nlicz  TYPE STANDARD TABLE OF VNLICZ,"TABLES PARAM
wa_ss_nlicz  LIKE LINE OF it_ss_nlicz ,
it_ss_ndicz  TYPE STANDARD TABLE OF VNDICZ,"TABLES PARAM
wa_ss_ndicz  LIKE LINE OF it_ss_ndicz ,
it_ss_ndia  TYPE STANDARD TABLE OF RNDIA,"TABLES PARAM
wa_ss_ndia  LIKE LINE OF it_ss_ndia .

DATA(ld_ss_ok_code) = 'some text here'.
DATA(ld_ss_einri) = 'some text here'.
DATA(ld_ss_event) = 'some text here'.
DATA(ld_ss_nfal) = 'some text here'.
DATA(ld_ss_npat) = 'some text here'.
DATA(ld_ss_nbew_act) = 'some text here'.
DATA(ld_ss_nbew_act_select) = 'some text here'.
DATA(ld_ss_popup) = 'some text here'.
DATA(ld_ss_col) = '123 '.
DATA(ld_ss_row) = '123 '.

"populate fields of struture and append to itab
append wa_ss_vnbew to it_ss_vnbew.

"populate fields of struture and append to itab
append wa_ss_nicp to it_ss_nicp.

"populate fields of struture and append to itab
append wa_ss_nlicz to it_ss_nlicz.

"populate fields of struture and append to itab
append wa_ss_ndicz to it_ss_ndicz.

"populate fields of struture and append to itab
append wa_ss_ndia to it_ss_ndia. . CALL FUNCTION 'ISH_PROCEDURE_RULES_SUBMIT' EXPORTING ss_einri = ld_ss_einri * ss_event = ld_ss_event ss_nfal = ld_ss_nfal ss_npat = ld_ss_npat * ss_nbew_act = ld_ss_nbew_act * ss_nbew_act_select = ld_ss_nbew_act_select * ss_popup = ld_ss_popup * ss_col = ld_ss_col * ss_row = ld_ss_row TABLES ss_vnbew = it_ss_vnbew ss_nicp = it_ss_nicp * ss_nlicz = it_ss_nlicz * ss_ndicz = it_ss_ndicz * ss_ndia = it_ss_ndia CHANGING ss_ok_code = ld_ss_ok_code . " ISH_PROCEDURE_RULES_SUBMIT
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_ok_code  TYPE SYUCOMM ,
ld_ss_einri  TYPE EINRI ,
it_ss_vnbew  TYPE STANDARD TABLE OF VNBEW ,
wa_ss_vnbew  LIKE LINE OF it_ss_vnbew,
ld_ss_event  TYPE N_EVENT ,
it_ss_nicp  TYPE STANDARD TABLE OF RNICP ,
wa_ss_nicp  LIKE LINE OF it_ss_nicp,
ld_ss_nfal  TYPE NFAL ,
it_ss_nlicz  TYPE STANDARD TABLE OF VNLICZ ,
wa_ss_nlicz  LIKE LINE OF it_ss_nlicz,
ld_ss_npat  TYPE NPAT ,
it_ss_ndicz  TYPE STANDARD TABLE OF VNDICZ ,
wa_ss_ndicz  LIKE LINE OF it_ss_ndicz,
ld_ss_nbew_act  TYPE NBEW ,
it_ss_ndia  TYPE STANDARD TABLE OF RNDIA ,
wa_ss_ndia  LIKE LINE OF it_ss_ndia,
ld_ss_nbew_act_select  TYPE ISH_ON_OFF ,
ld_ss_popup  TYPE ISH_ON_OFF ,
ld_ss_col  TYPE SYCUCOL ,
ld_ss_row  TYPE SYCUROW .

ld_ss_ok_code = 'some text here'.
ld_ss_einri = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_vnbew to it_ss_vnbew.
ld_ss_event = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_nicp to it_ss_nicp.
ld_ss_nfal = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_nlicz to it_ss_nlicz.
ld_ss_npat = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_ndicz to it_ss_ndicz.
ld_ss_nbew_act = 'some text here'.

"populate fields of struture and append to itab
append wa_ss_ndia to it_ss_ndia.
ld_ss_nbew_act_select = 'some text here'.
ld_ss_popup = 'some text here'.
ld_ss_col = '123 '.
ld_ss_row = '123 '.

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