SAP ISP_CONVERT_TO_ISSUE Function Module for IS-M/SD: Convert Publication Date to Copy Number









ISP_CONVERT_TO_ISSUE is a standard isp convert to issue 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/SD: Convert Publication Date to Copy Number 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 isp convert to issue FM, simply by entering the name ISP_CONVERT_TO_ISSUE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_CONVERT_TO_ISSUE 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 'ISP_CONVERT_TO_ISSUE'"IS-M/SD: Convert Publication Date to Copy Number
EXPORTING
DRERZ = "Publication
PVA = "
BEZTYP = "Mix Type
* BEZPER = "Service Type
* DATE_FROM = "
* DATE_TO = "
* PV_XEXACT_VALUE = ' ' "Checkbox Field

IMPORTING
ISSUE_FROM = "
ISSUE_TO = "

EXCEPTIONS
NO_ISSUE = 1 WRONG_PARAMETERS = 2 WRONG_DRERZ = 3
.




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_SAPLJK12_001 IS-M/SD: User Exit for Order Overview - Selection of Additional Fields
EXIT_SAPLJK12_002 IS-M/SD: User Exit for Order Overview - Change Field Catalog and Layout

IMPORTING Parameters details for ISP_CONVERT_TO_ISSUE

DRERZ - Publication

Data type: JKAP-DRERZ
Optional: No
Call by Reference: No ( called with pass by value option)

PVA -

Data type: JKAP-PVA
Optional: No
Call by Reference: No ( called with pass by value option)

BEZTYP - Mix Type

Data type: JKAP-BEZUGSTYP
Optional: No
Call by Reference: No ( called with pass by value option)

BEZPER - Service Type

Data type: JKEP-BEZPER
Optional: Yes
Call by Reference: No ( called with pass by value option)

DATE_FROM -

Data type: JKAP-GUELTIGVON
Optional: Yes
Call by Reference: No ( called with pass by value option)

DATE_TO -

Data type: JKAP-GUELTIGVON
Optional: Yes
Call by Reference: No ( called with pass by value option)

PV_XEXACT_VALUE - Checkbox Field

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

EXPORTING Parameters details for ISP_CONVERT_TO_ISSUE

ISSUE_FROM -

Data type: JDVVA-HEFTNUMMER
Optional: No
Call by Reference: Yes

ISSUE_TO -

Data type: JDVVA-HEFTNUMMER
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_ISSUE -

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

WRONG_PARAMETERS - Incorrect call of function module

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

WRONG_DRERZ -

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

Copy and paste ABAP code example for ISP_CONVERT_TO_ISSUE 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_drerz  TYPE JKAP-DRERZ, "   
lv_no_issue  TYPE JKAP, "   
lv_issue_from  TYPE JDVVA-HEFTNUMMER, "   
lv_pva  TYPE JKAP-PVA, "   
lv_issue_to  TYPE JDVVA-HEFTNUMMER, "   
lv_wrong_parameters  TYPE JDVVA, "   
lv_beztyp  TYPE JKAP-BEZUGSTYP, "   
lv_wrong_drerz  TYPE JKAP, "   
lv_bezper  TYPE JKEP-BEZPER, "   
lv_date_from  TYPE JKAP-GUELTIGVON, "   
lv_date_to  TYPE JKAP-GUELTIGVON, "   
lv_pv_xexact_value  TYPE XFELD. "   SPACE

  CALL FUNCTION 'ISP_CONVERT_TO_ISSUE'  "IS-M/SD: Convert Publication Date to Copy Number
    EXPORTING
         DRERZ = lv_drerz
         PVA = lv_pva
         BEZTYP = lv_beztyp
         BEZPER = lv_bezper
         DATE_FROM = lv_date_from
         DATE_TO = lv_date_to
         PV_XEXACT_VALUE = lv_pv_xexact_value
    IMPORTING
         ISSUE_FROM = lv_issue_from
         ISSUE_TO = lv_issue_to
    EXCEPTIONS
        NO_ISSUE = 1
        WRONG_PARAMETERS = 2
        WRONG_DRERZ = 3
. " ISP_CONVERT_TO_ISSUE




ABAP code using 7.40 inline data declarations to call FM ISP_CONVERT_TO_ISSUE

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.

"SELECT single DRERZ FROM JKAP INTO @DATA(ld_drerz).
 
 
"SELECT single HEFTNUMMER FROM JDVVA INTO @DATA(ld_issue_from).
 
"SELECT single PVA FROM JKAP INTO @DATA(ld_pva).
 
"SELECT single HEFTNUMMER FROM JDVVA INTO @DATA(ld_issue_to).
 
 
"SELECT single BEZUGSTYP FROM JKAP INTO @DATA(ld_beztyp).
 
 
"SELECT single BEZPER FROM JKEP INTO @DATA(ld_bezper).
 
"SELECT single GUELTIGVON FROM JKAP INTO @DATA(ld_date_from).
 
"SELECT single GUELTIGVON FROM JKAP INTO @DATA(ld_date_to).
 
DATA(ld_pv_xexact_value) = ' '.
 


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!