SAP ISM_DM_IOS_FOR_AD_CONTENT_GET Function Module for IS-M DM: Supply IOs for All BOR Object Instances of the Ad Content
ISM_DM_IOS_FOR_AD_CONTENT_GET is a standard ism dm ios for ad content get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M DM: Supply IOs for All BOR Object Instances of the Ad Content processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ism dm ios for ad content get FM, simply by entering the name ISM_DM_IOS_FOR_AD_CONTENT_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: ISM_DM_EXTERNAL_INTERFACE
Program Name: SAPLISM_DM_EXTERNAL_INTERFACE
Main Program: SAPLISM_DM_EXTERNAL_INTERFACE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ISM_DM_IOS_FOR_AD_CONTENT_GET pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ISM_DM_IOS_FOR_AD_CONTENT_GET'"IS-M DM: Supply IOs for All BOR Object Instances of the Ad Content.
EXPORTING
* PS_HEADER = "IS-M/AM: Technical Interface for Ad Production Order
* PV_FLG_CONSID_INHERITED_PROPS = 'X' "Indicator 'Also Take Account of Inherited Features'
* PT_ADVERTISERS = "IS-M/AM: Ad Production Order Item Advertiser Assignment
* PT_AD_SPECS = "IS-M/AM: Ad Spec (Technical Interface)
* PT_STATUSES = "IS-M/AM: Status/Characteristic List (Tech. Interface)
* PT_REQUESTED_INSTANCES = "List of Instances Whose Info Objects are to be Selected
* PT_REQUESTED_PROPERTIES = "List of Attributes to be Selected
* PT_PROPERTIES_QUERY = "Restrict Info Objects to be Selected According to Their Attributes
* PV_FLG_NEWEST_ONLY = 'X' "Indicator 'Only Select Most Recent Version'
* PV_FLG_RELEASED_ONLY = 'X' "Indicator 'Only Select Released for Use in Ad Content'
IMPORTING
PT_LOIOS = "LOIOS
PT_PHIOS = "PHIOs
PT_FOLDERS = "Folder
PT_LOIOPHIOS = "Table with Loio/Phio Pairs
PT_INST_IO_PROP_ASSIGNMENTS = "Assignments of the Business Object Instance - Info Objects - Characteristics
PS_ERROR = "Return Parameters
IMPORTING Parameters details for ISM_DM_IOS_FOR_AD_CONTENT_GET
PS_HEADER - IS-M/AM: Technical Interface for Ad Production Order
Data type: RJHATPAKOptional: Yes
Call by Reference: No ( called with pass by value option)
PV_FLG_CONSID_INHERITED_PROPS - Indicator 'Also Take Account of Inherited Features'
Data type: SKWF_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PT_ADVERTISERS - IS-M/AM: Ad Production Order Item Advertiser Assignment
Data type: RJHATISZ_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_AD_SPECS - IS-M/AM: Ad Spec (Technical Interface)
Data type: RJHATMO_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_STATUSES - IS-M/AM: Status/Characteristic List (Tech. Interface)
Data type: RJHATSTAT_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_REQUESTED_INSTANCES - List of Instances Whose Info Objects are to be Selected
Data type: SIBFLPORBTOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_REQUESTED_PROPERTIES - List of Attributes to be Selected
Data type: SDOKPROPTNSOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_PROPERTIES_QUERY - Restrict Info Objects to be Selected According to Their Attributes
Data type: SDOKPROPTYSOptional: Yes
Call by Reference: No ( called with pass by value option)
PV_FLG_NEWEST_ONLY - Indicator 'Only Select Most Recent Version'
Data type: SKWF_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PV_FLG_RELEASED_ONLY - Indicator 'Only Select Released for Use in Ad Content'
Data type: SKWF_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISM_DM_IOS_FOR_AD_CONTENT_GET
PT_LOIOS - LOIOS
Data type: SKWF_IOSOptional: No
Call by Reference: No ( called with pass by value option)
PT_PHIOS - PHIOs
Data type: SKWF_IOSOptional: No
Call by Reference: No ( called with pass by value option)
PT_FOLDERS - Folder
Data type: SKWF_IOSOptional: No
Call by Reference: No ( called with pass by value option)
PT_LOIOPHIOS - Table with Loio/Phio Pairs
Data type: SKWF_LPIOSOptional: No
Call by Reference: No ( called with pass by value option)
PT_INST_IO_PROP_ASSIGNMENTS - Assignments of the Business Object Instance - Info Objects - Characteristics
Data type: ISM_DM_BO_INST_IO_PROP_ASSIGNSOptional: No
Call by Reference: No ( called with pass by value option)
PS_ERROR - Return Parameters
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISM_DM_IOS_FOR_AD_CONTENT_GET Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_pt_loios | TYPE SKWF_IOS, " | |||
| lv_ps_header | TYPE RJHATPAK, " | |||
| lv_pv_flg_consid_inherited_props | TYPE SKWF_FLAG, " 'X' | |||
| lv_pt_phios | TYPE SKWF_IOS, " | |||
| lv_pt_advertisers | TYPE RJHATISZ_TAB, " | |||
| lv_pt_folders | TYPE SKWF_IOS, " | |||
| lv_pt_ad_specs | TYPE RJHATMO_TAB, " | |||
| lv_pt_statuses | TYPE RJHATSTAT_TAB, " | |||
| lv_pt_loiophios | TYPE SKWF_LPIOS, " | |||
| lv_pt_requested_instances | TYPE SIBFLPORBT, " | |||
| lv_pt_inst_io_prop_assignments | TYPE ISM_DM_BO_INST_IO_PROP_ASSIGNS, " | |||
| lv_ps_error | TYPE BAPIRET2, " | |||
| lv_pt_requested_properties | TYPE SDOKPROPTNS, " | |||
| lv_pt_properties_query | TYPE SDOKPROPTYS, " | |||
| lv_pv_flg_newest_only | TYPE SKWF_FLAG, " 'X' | |||
| lv_pv_flg_released_only | TYPE SKWF_FLAG. " 'X' |
|   CALL FUNCTION 'ISM_DM_IOS_FOR_AD_CONTENT_GET' "IS-M DM: Supply IOs for All BOR Object Instances of the Ad Content |
| EXPORTING | ||
| PS_HEADER | = lv_ps_header | |
| PV_FLG_CONSID_INHERITED_PROPS | = lv_pv_flg_consid_inherited_props | |
| PT_ADVERTISERS | = lv_pt_advertisers | |
| PT_AD_SPECS | = lv_pt_ad_specs | |
| PT_STATUSES | = lv_pt_statuses | |
| PT_REQUESTED_INSTANCES | = lv_pt_requested_instances | |
| PT_REQUESTED_PROPERTIES | = lv_pt_requested_properties | |
| PT_PROPERTIES_QUERY | = lv_pt_properties_query | |
| PV_FLG_NEWEST_ONLY | = lv_pv_flg_newest_only | |
| PV_FLG_RELEASED_ONLY | = lv_pv_flg_released_only | |
| IMPORTING | ||
| PT_LOIOS | = lv_pt_loios | |
| PT_PHIOS | = lv_pt_phios | |
| PT_FOLDERS | = lv_pt_folders | |
| PT_LOIOPHIOS | = lv_pt_loiophios | |
| PT_INST_IO_PROP_ASSIGNMENTS | = lv_pt_inst_io_prop_assignments | |
| PS_ERROR | = lv_ps_error | |
| . " ISM_DM_IOS_FOR_AD_CONTENT_GET | ||
ABAP code using 7.40 inline data declarations to call FM ISM_DM_IOS_FOR_AD_CONTENT_GET
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_pv_flg_consid_inherited_props) | = 'X'. | |||
| DATA(ld_pv_flg_newest_only) | = 'X'. | |||
| DATA(ld_pv_flg_released_only) | = 'X'. | |||
Search for further information about these or an SAP related objects