SAP ISM_SUB_ADSPEC_COPY_TEMPL_OL Function Module for IS-M/AM: Copy Sub Ad Specs for a Header Ad Spec (Online)









ISM_SUB_ADSPEC_COPY_TEMPL_OL is a standard ism sub adspec copy templ ol 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/AM: Copy Sub Ad Specs for a Header Ad Spec (Online) 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 sub adspec copy templ ol FM, simply by entering the name ISM_SUB_ADSPEC_COPY_TEMPL_OL into the relevant SAP transaction such as SE37 or SE38.

Function Group: JHTD
Program Name: SAPLJHTD
Main Program: SAPLJHTD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISM_SUB_ADSPEC_COPY_TEMPL_OL 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_SUB_ADSPEC_COPY_TEMPL_OL'"IS-M/AM: Copy Sub Ad Specs for a Header Ad Spec (Online)
EXPORTING
PS_TJ180 = "Initial Values of Transaction in IS-M
PS_RJHAMOTO_VORL = "
PS_RJHALLG = "
PS_RJHAK = "
PT_RJHABPZ = "
PT_RJHAISZ = "
PT_RJHAMOZO = "

CHANGING
PS_RJHAMOTO = "
* PT_LOOP_RJHADRVA = "
PV_FLG_UPDATE = "Checkbox Field
PV_FLG_XDRVL = "IS-M: Ad Spec Master Is Transferred During Copying Indicator
PV_FLG_XDRVLDAT = "IS-M: Copy Ad Spec Master Data With Template Indicator
PV_FLG_XDRVL_OVL = "IS-M: Copy Ad Spec Master Without Template Indicator
PT_RJHAMOTO = "
PS_RJHAP = "
PS_RJHAPO = "
PT_RJHAE = "
PT_RJHAEO = "
PS_RJHADRV = "
PT_RJHADRV = "
PT_RJHADRVA = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLJHTD_001 IS-M/AM: Set Status Characteristics for an Ad Spec
EXIT_SAPLJHTD_002 IS-M/AM: Conversion of Characters, Words, or Lines to Column Millimeters
EXIT_SAPLJHTD_003 IS-M/AM: Conversion of Characters, Words or Lines to Page Parts
EXIT_SAPLJHTD_004 IS-M/AM: Check Completeness and Plausibility of an Ad Spec
EXIT_SAPLJHTD_005 IS-M/AM: Define Default Ad Spec
EXIT_SAPLJHTD_006 IS-M/AM: Plausibility Checks for Positioning Instructions
EXIT_SAPLJHTD_007 IS-M/AM: Convert Ad Sizes
EXIT_SAPLJHTD_008 IS-M/AM: Convert Ad Spec Widths and Heights
EXIT_SAPLJHTD_009 IS-M/AM: Define Default Ad Spec Master
EXIT_SAPLJHTD_010 IS-M/AM: Check Completeness and Plausibility of Ad Spec Master
EXIT_SAPLJHTD_011 IS-M/AM: Set Status Characteristics for a Commercial Ad Spec
EXIT_SAPLJHTD_012 IS-M/AM: Define Default Ad Spec (Commercial)
EXIT_SAPLJHTD_013 IS-M/AM: Define Default Ad Spec (Online)
EXIT_SAPLJHTD_014 IS-M/AM: Check Completness and Plausibility of an Ad Spec (Online)
EXIT_SAPLJHTD_015 IS-M/AM: Set Status Characteristics for an Online Ad Spec
EXIT_SAPLJHTD_016 IS-M/AM: Check Completeness and Plausibility of an Ad Spec

IMPORTING Parameters details for ISM_SUB_ADSPEC_COPY_TEMPL_OL

PS_TJ180 - Initial Values of Transaction in IS-M

Data type: TJ180
Optional: No
Call by Reference: Yes

PS_RJHAMOTO_VORL -

Data type: JHA1_RJHAMOTO_STR
Optional: No
Call by Reference: Yes

PS_RJHALLG -

Data type: JHA1_RJHALLG_STR
Optional: No
Call by Reference: Yes

PS_RJHAK -

Data type: JHA1_RJHAK_STR
Optional: No
Call by Reference: Yes

PT_RJHABPZ -

Data type: JHA1_RJHABPZ_TAB
Optional: No
Call by Reference: Yes

PT_RJHAISZ -

Data type: JHA1_RJHAISZ_TAB
Optional: No
Call by Reference: Yes

PT_RJHAMOZO -

Data type: JHA1_RJHAMOZO_TAB
Optional: No
Call by Reference: Yes

CHANGING Parameters details for ISM_SUB_ADSPEC_COPY_TEMPL_OL

PS_RJHAMOTO -

Data type: JHA1_RJHAMOTO_STR
Optional: No
Call by Reference: Yes

PT_LOOP_RJHADRVA -

Data type: JHA1_RJHADRVA_TAB
Optional: Yes
Call by Reference: Yes

PV_FLG_UPDATE - Checkbox Field

Data type: XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

PV_FLG_XDRVL - IS-M: Ad Spec Master Is Transferred During Copying Indicator

Data type: XDRVL_CP
Optional: No
Call by Reference: No ( called with pass by value option)

PV_FLG_XDRVLDAT - IS-M: Copy Ad Spec Master Data With Template Indicator

Data type: XDRVLDAT
Optional: No
Call by Reference: No ( called with pass by value option)

PV_FLG_XDRVL_OVL - IS-M: Copy Ad Spec Master Without Template Indicator

Data type: XDRVL_OVL
Optional: No
Call by Reference: No ( called with pass by value option)

PT_RJHAMOTO -

Data type: JHA1_RJHAMOTO_TAB
Optional: No
Call by Reference: Yes

PS_RJHAP -

Data type: JHA1_RJHAP_STR
Optional: No
Call by Reference: Yes

PS_RJHAPO -

Data type: JHA1_RJHAPO_STR
Optional: No
Call by Reference: Yes

PT_RJHAE -

Data type: JHA1_RJHAE_TAB
Optional: No
Call by Reference: Yes

PT_RJHAEO -

Data type: JHA1_RJHAEO_TAB
Optional: No
Call by Reference: Yes

PS_RJHADRV -

Data type: JHA1_RJHADRV_STR
Optional: No
Call by Reference: Yes

PT_RJHADRV -

Data type: JHA1_RJHADRV_TAB
Optional: No
Call by Reference: Yes

PT_RJHADRVA -

Data type: JHA1_RJHADRVA_TAB
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISM_SUB_ADSPEC_COPY_TEMPL_OL 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_ps_tj180  TYPE TJ180, "   
lv_ps_rjhamoto  TYPE JHA1_RJHAMOTO_STR, "   
lv_pt_loop_rjhadrva  TYPE JHA1_RJHADRVA_TAB, "   
lv_pv_flg_update  TYPE XFELD, "   
lv_pv_flg_xdrvl  TYPE XDRVL_CP, "   
lv_pv_flg_xdrvldat  TYPE XDRVLDAT, "   
lv_pv_flg_xdrvl_ovl  TYPE XDRVL_OVL, "   
lv_pt_rjhamoto  TYPE JHA1_RJHAMOTO_TAB, "   
lv_ps_rjhamoto_vorl  TYPE JHA1_RJHAMOTO_STR, "   
lv_ps_rjhap  TYPE JHA1_RJHAP_STR, "   
lv_ps_rjhallg  TYPE JHA1_RJHALLG_STR, "   
lv_ps_rjhak  TYPE JHA1_RJHAK_STR, "   
lv_ps_rjhapo  TYPE JHA1_RJHAPO_STR, "   
lv_pt_rjhae  TYPE JHA1_RJHAE_TAB, "   
lv_pt_rjhabpz  TYPE JHA1_RJHABPZ_TAB, "   
lv_pt_rjhaeo  TYPE JHA1_RJHAEO_TAB, "   
lv_pt_rjhaisz  TYPE JHA1_RJHAISZ_TAB, "   
lv_ps_rjhadrv  TYPE JHA1_RJHADRV_STR, "   
lv_pt_rjhamozo  TYPE JHA1_RJHAMOZO_TAB, "   
lv_pt_rjhadrv  TYPE JHA1_RJHADRV_TAB, "   
lv_pt_rjhadrva  TYPE JHA1_RJHADRVA_TAB. "   

  CALL FUNCTION 'ISM_SUB_ADSPEC_COPY_TEMPL_OL'  "IS-M/AM: Copy Sub Ad Specs for a Header Ad Spec (Online)
    EXPORTING
         PS_TJ180 = lv_ps_tj180
         PS_RJHAMOTO_VORL = lv_ps_rjhamoto_vorl
         PS_RJHALLG = lv_ps_rjhallg
         PS_RJHAK = lv_ps_rjhak
         PT_RJHABPZ = lv_pt_rjhabpz
         PT_RJHAISZ = lv_pt_rjhaisz
         PT_RJHAMOZO = lv_pt_rjhamozo
    CHANGING
         PS_RJHAMOTO = lv_ps_rjhamoto
         PT_LOOP_RJHADRVA = lv_pt_loop_rjhadrva
         PV_FLG_UPDATE = lv_pv_flg_update
         PV_FLG_XDRVL = lv_pv_flg_xdrvl
         PV_FLG_XDRVLDAT = lv_pv_flg_xdrvldat
         PV_FLG_XDRVL_OVL = lv_pv_flg_xdrvl_ovl
         PT_RJHAMOTO = lv_pt_rjhamoto
         PS_RJHAP = lv_ps_rjhap
         PS_RJHAPO = lv_ps_rjhapo
         PT_RJHAE = lv_pt_rjhae
         PT_RJHAEO = lv_pt_rjhaeo
         PS_RJHADRV = lv_ps_rjhadrv
         PT_RJHADRV = lv_pt_rjhadrv
         PT_RJHADRVA = lv_pt_rjhadrva
. " ISM_SUB_ADSPEC_COPY_TEMPL_OL




ABAP code using 7.40 inline data declarations to call FM ISM_SUB_ADSPEC_COPY_TEMPL_OL

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!