SAP Function Modules

ISM_ISSUECOMP_GEN_SAVE_DISPL SAP Function module - IS-M/SD: Media Issues - Generate Components







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

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


Pattern for FM ISM_ISSUECOMP_GEN_SAVE_DISPL - ISM ISSUECOMP GEN SAVE DISPL





CALL FUNCTION 'ISM_ISSUECOMP_GEN_SAVE_DISPL' "IS-M/SD: Media Issues - Generate Components
  EXPORTING
    in_generate_from =          " mara-ismpubldate  Publication Date
    in_generate_until =         " mara-ismpubldate  Publication Date
*   in_delete_existing = SPACE  " xfeld
*   in_testrun = 'X'            " xfeld         Test Run
*   in_savelog = SY-BINPT       " xfeld
  TABLES
    in_mediaproducttab =        " ismmatnr_producttab  Media Product Table
    .  "  ISM_ISSUECOMP_GEN_SAVE_DISPL

ABAP code example for Function Module ISM_ISSUECOMP_GEN_SAVE_DISPL





The ABAP code below is a full code listing to execute function module ISM_ISSUECOMP_GEN_SAVE_DISPL 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_in_mediaproducttab  TYPE STANDARD TABLE OF ISMMATNR_PRODUCTTAB,"TABLES PARAM
wa_in_mediaproducttab  LIKE LINE OF it_in_mediaproducttab .


SELECT single ISMPUBLDATE
FROM MARA
INTO @DATA(ld_in_generate_from).


SELECT single ISMPUBLDATE
FROM MARA
INTO @DATA(ld_in_generate_until).

DATA(ld_in_delete_existing) = 'Check type of data required'.
DATA(ld_in_testrun) = 'Check type of data required'.
DATA(ld_in_savelog) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_in_mediaproducttab to it_in_mediaproducttab. . CALL FUNCTION 'ISM_ISSUECOMP_GEN_SAVE_DISPL' EXPORTING in_generate_from = ld_in_generate_from in_generate_until = ld_in_generate_until * in_delete_existing = ld_in_delete_existing * in_testrun = ld_in_testrun * in_savelog = ld_in_savelog TABLES in_mediaproducttab = it_in_mediaproducttab . " ISM_ISSUECOMP_GEN_SAVE_DISPL
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_in_generate_from  TYPE MARA-ISMPUBLDATE ,
it_in_mediaproducttab  TYPE STANDARD TABLE OF ISMMATNR_PRODUCTTAB ,
wa_in_mediaproducttab  LIKE LINE OF it_in_mediaproducttab,
ld_in_generate_until  TYPE MARA-ISMPUBLDATE ,
ld_in_delete_existing  TYPE XFELD ,
ld_in_testrun  TYPE XFELD ,
ld_in_savelog  TYPE XFELD .


SELECT single ISMPUBLDATE
FROM MARA
INTO ld_in_generate_from.


"populate fields of struture and append to itab
append wa_in_mediaproducttab to it_in_mediaproducttab.

SELECT single ISMPUBLDATE
FROM MARA
INTO ld_in_generate_until.

ld_in_delete_existing = 'Check type of data required'.
ld_in_testrun = 'Check type of data required'.
ld_in_savelog = '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 ISM_ISSUECOMP_GEN_SAVE_DISPL or its description.