SAP ISM_WWW_PUBDATES_F4 Function Module for IS-M: Value Help for Country on Template
ISM_WWW_PUBDATES_F4 is a standard ism www pubdates f4 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: Value Help for Country on Template 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 www pubdates f4 FM, simply by entering the name ISM_WWW_PUBDATES_F4 into the relevant SAP transaction such as SE37 or SE38.
Function Group: JGWWW
Program Name: SAPLJGWWW
Main Program: SAPLJGWWW
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_WWW_PUBDATES_F4 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_WWW_PUBDATES_F4'"IS-M: Value Help for Country on Template.
EXPORTING
PV_GPNR = "IS-M: Business Partner Key
PV_KEY_COMPL = "IS-M/SD: Key of IAC Create Complaint
* PV_PUBLICATION_DATE = "Date and Time, Current (Application Server) Date
* PV_COPY_NUMBER = "Copy Number of Issue
CHANGING
PT_ORDER_COMPL = "IS-M/SD: Table Type for Order Data for Complaint on Internet
EXCEPTIONS
WRONG_INPUT = 1
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_SAPLJGWWW_001 IS-M: IAC: Identification of BP on Form with Further Data
EXIT_SAPLJGWWW_002 IS-M: IAC: Identification of BP on Logon Screen with Further Data
EXIT_SAPLJGWWW_003 IS-M/SD: User Exit for Converting Messages
EXIT_SAPLJGWWW_004 IS-M: Change Contents and Recipients of Mails with Access Data
EXIT_SAPLJGWWW_005 IS-M/SD: Default Value Determination for FI-CA Contract Account
EXIT_SAPLJGWWW_006 IS-M/SD: Create Sales Customer
EXIT_SAPLJGWWW_007 IS-M/SD: User Exit Create Subscription Order in Internet
EXIT_SAPLJGWWW_008
IMPORTING Parameters details for ISM_WWW_PUBDATES_F4
PV_GPNR - IS-M: Business Partner Key
Data type: GPNROptional: No
Call by Reference: No ( called with pass by value option)
PV_KEY_COMPL - IS-M/SD: Key of IAC Create Complaint
Data type: JWWWKEY_COMPLAINTOptional: No
Call by Reference: No ( called with pass by value option)
PV_PUBLICATION_DATE - Date and Time, Current (Application Server) Date
Data type: SYDATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
PV_COPY_NUMBER - Copy Number of Issue
Data type: HEFTNUM_VAOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISM_WWW_PUBDATES_F4
PT_ORDER_COMPL - IS-M/SD: Table Type for Order Data for Complaint on Internet
Data type: RJKWWW_ORDER_COMPL_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
WRONG_INPUT - Incorrect Input
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_WWW_PUBDATES_F4 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_pv_gpnr | TYPE GPNR, " | |||
| lv_wrong_input | TYPE GPNR, " | |||
| lv_pt_order_compl | TYPE RJKWWW_ORDER_COMPL_TAB, " | |||
| lv_pv_key_compl | TYPE JWWWKEY_COMPLAINT, " | |||
| lv_pv_publication_date | TYPE SYDATUM, " | |||
| lv_pv_copy_number | TYPE HEFTNUM_VA. " |
|   CALL FUNCTION 'ISM_WWW_PUBDATES_F4' "IS-M: Value Help for Country on Template |
| EXPORTING | ||
| PV_GPNR | = lv_pv_gpnr | |
| PV_KEY_COMPL | = lv_pv_key_compl | |
| PV_PUBLICATION_DATE | = lv_pv_publication_date | |
| PV_COPY_NUMBER | = lv_pv_copy_number | |
| CHANGING | ||
| PT_ORDER_COMPL | = lv_pt_order_compl | |
| EXCEPTIONS | ||
| WRONG_INPUT = 1 | ||
| . " ISM_WWW_PUBDATES_F4 | ||
ABAP code using 7.40 inline data declarations to call FM ISM_WWW_PUBDATES_F4
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