SAP Function Modules

ISM_OL_POSITION SAP Function module - IS-M/AM Accesses the Program for (Automat.) Positioning of the Online Ad







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

Associated Function Group: JHTO
Released Date: 06.12.2002
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM ISM_OL_POSITION - ISM OL POSITION





CALL FUNCTION 'ISM_OL_POSITION' "IS-M/AM Accesses the Program for (Automat.) Positioning of the Online Ad
  EXPORTING
    ps_rjhatko =                " rjhatko       IS-M/AM: Online Header Data for Technical System
    ps_rjhatpo =                " rjhatpo       IS-M/AM: Online Item for Technical System
    pv_flg_pos_changeable =     " xfeld         Controls Input Options in Positioning System
  TABLES
    pt_rjhateo =                " rjhateo       IS-M/AM: Online Schedule Line in Technical System
    pt_rjhatmoto =              " rjhatmoto     IS-M/AM: Online Ad Spec for Technical System
    pt_rjhatiszo =              " rjhatiszo     IS-M/AM: Online Item/Advertiser Assignment for Tech.System
    pt_rjhatbpzo =              " rjhatbpzo     IS-M/AM: Book.Unit Assignment to Online Item for Tech.System
    pt_rjhatikzo =              " rjhatikzo     IS-M/AM: Item/BU/TechCC Assignment (Online) for Tech.System
    pt_rjhattgzo =              " rjhattgzo     IS-M: Online Target Grp Assignment to OPM Item for Tech.Sys.
    pt_rjhattxto =              " rjhattxto     IS-M/AM: Online Text Assignment for Technical System
    pt_rjhatstato =             " rjhatstato    IS-M/AM: Online Status/Characteristic List for Tech.System
    pt_msg_return =             " ism_msg_return  IS-M: Message Information
    .  "  ISM_OL_POSITION

ABAP code example for Function Module ISM_OL_POSITION





The ABAP code below is a full code listing to execute function module ISM_OL_POSITION 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_pt_rjhateo  TYPE STANDARD TABLE OF RJHATEO,"TABLES PARAM
wa_pt_rjhateo  LIKE LINE OF it_pt_rjhateo ,
it_pt_rjhatmoto  TYPE STANDARD TABLE OF RJHATMOTO,"TABLES PARAM
wa_pt_rjhatmoto  LIKE LINE OF it_pt_rjhatmoto ,
it_pt_rjhatiszo  TYPE STANDARD TABLE OF RJHATISZO,"TABLES PARAM
wa_pt_rjhatiszo  LIKE LINE OF it_pt_rjhatiszo ,
it_pt_rjhatbpzo  TYPE STANDARD TABLE OF RJHATBPZO,"TABLES PARAM
wa_pt_rjhatbpzo  LIKE LINE OF it_pt_rjhatbpzo ,
it_pt_rjhatikzo  TYPE STANDARD TABLE OF RJHATIKZO,"TABLES PARAM
wa_pt_rjhatikzo  LIKE LINE OF it_pt_rjhatikzo ,
it_pt_rjhattgzo  TYPE STANDARD TABLE OF RJHATTGZO,"TABLES PARAM
wa_pt_rjhattgzo  LIKE LINE OF it_pt_rjhattgzo ,
it_pt_rjhattxto  TYPE STANDARD TABLE OF RJHATTXTO,"TABLES PARAM
wa_pt_rjhattxto  LIKE LINE OF it_pt_rjhattxto ,
it_pt_rjhatstato  TYPE STANDARD TABLE OF RJHATSTATO,"TABLES PARAM
wa_pt_rjhatstato  LIKE LINE OF it_pt_rjhatstato ,
it_pt_msg_return  TYPE STANDARD TABLE OF ISM_MSG_RETURN,"TABLES PARAM
wa_pt_msg_return  LIKE LINE OF it_pt_msg_return .

DATA(ld_ps_rjhatko) = 'Check type of data required'.
DATA(ld_ps_rjhatpo) = 'Check type of data required'.
DATA(ld_pv_flg_pos_changeable) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_pt_rjhateo to it_pt_rjhateo.

"populate fields of struture and append to itab
append wa_pt_rjhatmoto to it_pt_rjhatmoto.

"populate fields of struture and append to itab
append wa_pt_rjhatiszo to it_pt_rjhatiszo.

"populate fields of struture and append to itab
append wa_pt_rjhatbpzo to it_pt_rjhatbpzo.

"populate fields of struture and append to itab
append wa_pt_rjhatikzo to it_pt_rjhatikzo.

"populate fields of struture and append to itab
append wa_pt_rjhattgzo to it_pt_rjhattgzo.

"populate fields of struture and append to itab
append wa_pt_rjhattxto to it_pt_rjhattxto.

"populate fields of struture and append to itab
append wa_pt_rjhatstato to it_pt_rjhatstato.

"populate fields of struture and append to itab
append wa_pt_msg_return to it_pt_msg_return. . CALL FUNCTION 'ISM_OL_POSITION' EXPORTING ps_rjhatko = ld_ps_rjhatko ps_rjhatpo = ld_ps_rjhatpo pv_flg_pos_changeable = ld_pv_flg_pos_changeable TABLES pt_rjhateo = it_pt_rjhateo pt_rjhatmoto = it_pt_rjhatmoto pt_rjhatiszo = it_pt_rjhatiszo pt_rjhatbpzo = it_pt_rjhatbpzo pt_rjhatikzo = it_pt_rjhatikzo pt_rjhattgzo = it_pt_rjhattgzo pt_rjhattxto = it_pt_rjhattxto pt_rjhatstato = it_pt_rjhatstato pt_msg_return = it_pt_msg_return . " ISM_OL_POSITION
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_ps_rjhatko  TYPE RJHATKO ,
it_pt_rjhateo  TYPE STANDARD TABLE OF RJHATEO ,
wa_pt_rjhateo  LIKE LINE OF it_pt_rjhateo,
ld_ps_rjhatpo  TYPE RJHATPO ,
it_pt_rjhatmoto  TYPE STANDARD TABLE OF RJHATMOTO ,
wa_pt_rjhatmoto  LIKE LINE OF it_pt_rjhatmoto,
ld_pv_flg_pos_changeable  TYPE XFELD ,
it_pt_rjhatiszo  TYPE STANDARD TABLE OF RJHATISZO ,
wa_pt_rjhatiszo  LIKE LINE OF it_pt_rjhatiszo,
it_pt_rjhatbpzo  TYPE STANDARD TABLE OF RJHATBPZO ,
wa_pt_rjhatbpzo  LIKE LINE OF it_pt_rjhatbpzo,
it_pt_rjhatikzo  TYPE STANDARD TABLE OF RJHATIKZO ,
wa_pt_rjhatikzo  LIKE LINE OF it_pt_rjhatikzo,
it_pt_rjhattgzo  TYPE STANDARD TABLE OF RJHATTGZO ,
wa_pt_rjhattgzo  LIKE LINE OF it_pt_rjhattgzo,
it_pt_rjhattxto  TYPE STANDARD TABLE OF RJHATTXTO ,
wa_pt_rjhattxto  LIKE LINE OF it_pt_rjhattxto,
it_pt_rjhatstato  TYPE STANDARD TABLE OF RJHATSTATO ,
wa_pt_rjhatstato  LIKE LINE OF it_pt_rjhatstato,
it_pt_msg_return  TYPE STANDARD TABLE OF ISM_MSG_RETURN ,
wa_pt_msg_return  LIKE LINE OF it_pt_msg_return.

ld_ps_rjhatko = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_pt_rjhateo to it_pt_rjhateo.
ld_ps_rjhatpo = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_pt_rjhatmoto to it_pt_rjhatmoto.
ld_pv_flg_pos_changeable = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_pt_rjhatiszo to it_pt_rjhatiszo.

"populate fields of struture and append to itab
append wa_pt_rjhatbpzo to it_pt_rjhatbpzo.

"populate fields of struture and append to itab
append wa_pt_rjhatikzo to it_pt_rjhatikzo.

"populate fields of struture and append to itab
append wa_pt_rjhattgzo to it_pt_rjhattgzo.

"populate fields of struture and append to itab
append wa_pt_rjhattxto to it_pt_rjhattxto.

"populate fields of struture and append to itab
append wa_pt_rjhatstato to it_pt_rjhatstato.

"populate fields of struture and append to itab
append wa_pt_msg_return to it_pt_msg_return.

SAP Documentation for FM ISM_OL_POSITION


IS-M/AM contains an interface that accesses the corresponding function in the technical system for positioning banners and defining admissible ...See here for full SAP fm documentation

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