SAP ISP_ISSUE_WEIGHT_CALCULATION Function Module for









ISP_ISSUE_WEIGHT_CALCULATION is a standard isp issue weight calculation SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 issue weight calculation FM, simply by entering the name ISP_ISSUE_WEIGHT_CALCULATION into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_ISSUE_WEIGHT_CALCULATION 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_ISSUE_WEIGHT_CALCULATION'"
EXPORTING
* ISSUEWEIGHT_UNIT_I = ' ' "
NR_OF_PAGES = "
* OUTERSHEETWEIGHT = 0 "
* OUTERSHEETWEIGHT_UNIT = ' ' "
SHEETWEIGHT = "
SHEETWEIGHT_UNIT = "

IMPORTING
ISSUEWEIGHT = "
ISSUEWEIGHT_UNIT_O = "

EXCEPTIONS
CONVERSION_NOT_FOUND = 1 DIVISION_BY_ZERO = 2 INVALID_DIMENSION = 3 INVALID_NR_OF_PAGES = 4 OVERFLOW = 5 T006D_ENTRY_MISSING = 6 T006_ENTRY_MISSING = 7
.



IMPORTING Parameters details for ISP_ISSUE_WEIGHT_CALCULATION

ISSUEWEIGHT_UNIT_I -

Data type: JDTVAUSGB-MEINHGEW
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

NR_OF_PAGES -

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

OUTERSHEETWEIGHT -

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

OUTERSHEETWEIGHT_UNIT -

Data type: JDTVAUSGB-MEINHPAGMT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

SHEETWEIGHT -

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

SHEETWEIGHT_UNIT -

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

EXPORTING Parameters details for ISP_ISSUE_WEIGHT_CALCULATION

ISSUEWEIGHT -

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

ISSUEWEIGHT_UNIT_O -

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

EXCEPTIONS details

CONVERSION_NOT_FOUND -

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

DIVISION_BY_ZERO -

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

INVALID_DIMENSION -

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

INVALID_NR_OF_PAGES -

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

OVERFLOW -

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

T006D_ENTRY_MISSING -

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

T006_ENTRY_MISSING -

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

Copy and paste ABAP code example for ISP_ISSUE_WEIGHT_CALCULATION 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_issueweight  TYPE JDTVAUSGB-VAGEWICHT, "   
lv_issueweight_unit_i  TYPE JDTVAUSGB-MEINHGEW, "   ' '
lv_conversion_not_found  TYPE JDTVAUSGB, "   
lv_nr_of_pages  TYPE JDTVAUSGB-ANZSEITEN, "   
lv_division_by_zero  TYPE JDTVAUSGB, "   
lv_issueweight_unit_o  TYPE JDTVAUSGB-MEINHGEW, "   
lv_outersheetweight  TYPE JDTVAUSGB-PAGEWMANTL, "   0
lv_invalid_dimension  TYPE JDTVAUSGB, "   
lv_invalid_nr_of_pages  TYPE JDTVAUSGB, "   
lv_outersheetweight_unit  TYPE JDTVAUSGB-MEINHPAGMT, "   ' '
lv_overflow  TYPE JDTVAUSGB, "   
lv_sheetweight  TYPE JDTVAUSGB-PAPIERGEW, "   
lv_sheetweight_unit  TYPE JDTVAUSGB-MEINHPAGEW, "   
lv_t006d_entry_missing  TYPE JDTVAUSGB, "   
lv_t006_entry_missing  TYPE JDTVAUSGB. "   

  CALL FUNCTION 'ISP_ISSUE_WEIGHT_CALCULATION'  "
    EXPORTING
         ISSUEWEIGHT_UNIT_I = lv_issueweight_unit_i
         NR_OF_PAGES = lv_nr_of_pages
         OUTERSHEETWEIGHT = lv_outersheetweight
         OUTERSHEETWEIGHT_UNIT = lv_outersheetweight_unit
         SHEETWEIGHT = lv_sheetweight
         SHEETWEIGHT_UNIT = lv_sheetweight_unit
    IMPORTING
         ISSUEWEIGHT = lv_issueweight
         ISSUEWEIGHT_UNIT_O = lv_issueweight_unit_o
    EXCEPTIONS
        CONVERSION_NOT_FOUND = 1
        DIVISION_BY_ZERO = 2
        INVALID_DIMENSION = 3
        INVALID_NR_OF_PAGES = 4
        OVERFLOW = 5
        T006D_ENTRY_MISSING = 6
        T006_ENTRY_MISSING = 7
. " ISP_ISSUE_WEIGHT_CALCULATION




ABAP code using 7.40 inline data declarations to call FM ISP_ISSUE_WEIGHT_CALCULATION

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 VAGEWICHT FROM JDTVAUSGB INTO @DATA(ld_issueweight).
 
"SELECT single MEINHGEW FROM JDTVAUSGB INTO @DATA(ld_issueweight_unit_i).
DATA(ld_issueweight_unit_i) = ' '.
 
 
"SELECT single ANZSEITEN FROM JDTVAUSGB INTO @DATA(ld_nr_of_pages).
 
 
"SELECT single MEINHGEW FROM JDTVAUSGB INTO @DATA(ld_issueweight_unit_o).
 
"SELECT single PAGEWMANTL FROM JDTVAUSGB INTO @DATA(ld_outersheetweight).
 
 
 
"SELECT single MEINHPAGMT FROM JDTVAUSGB INTO @DATA(ld_outersheetweight_unit).
DATA(ld_outersheetweight_unit) = ' '.
 
 
"SELECT single PAPIERGEW FROM JDTVAUSGB INTO @DATA(ld_sheetweight).
 
"SELECT single MEINHPAGEW FROM JDTVAUSGB INTO @DATA(ld_sheetweight_unit).
 
 
 


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!