SAP ISP_JJTVB_ADD_WITH_REFERENCE Function Module for IS-M/AM INTERNAL: Copy Contract Requirement
ISP_JJTVB_ADD_WITH_REFERENCE is a standard isp jjtvb add with reference 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 INTERNAL: Copy Contract Requirement 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 jjtvb add with reference FM, simply by entering the name ISP_JJTVB_ADD_WITH_REFERENCE into the relevant SAP transaction such as SE37 or SE38.
Function Group: JJGA
Program Name: SAPLJJGA
Main Program: SAPLJJGA
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISP_JJTVB_ADD_WITH_REFERENCE 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_JJTVB_ADD_WITH_REFERENCE'"IS-M/AM INTERNAL: Copy Contract Requirement.
IMPORTING
OUT_BEDNR = "
OUT_READINDEX = "
CHANGING
IO_REF = "
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_SAPLJJGA_001 IS-M/AM: Sort Contract Requirements (1.Variant)
EXIT_SAPLJJGA_002 IS-M/AM: Sort Contract Requirements (2. Variant)
EXIT_SAPLJJGA_003 IS-M/AM: Sort Contract Elements (1. Variant)
EXIT_SAPLJJGA_004 IS-M/AM: Sort Contract Elements (2. Variant)
EXIT_SAPLJJGA_005 IS-M: Define Default Contract Header when Creating a Sales Agent Contract
EXIT_SAPLJJGA_006 IS-M/AM: Plausibility Check for Sales Agent Contract Header
EXIT_SAPLJJGA_007 IS-M/AM: Plausibility Checks for Sales Agent Contract Requirements
EXIT_SAPLJJGA_008 IS-M/AM: Plausibility Check for Sales Agent Contract/Sales Areas
EXIT_SAPLJJGA_009 IS-M/AM: Plausibility Checks for Sales Agent Contract Requirement Elements
EXIT_SAPLJJGA_010 IS-M/AM: Sales Agent Contract Consistency Check
EXIT_SAPLJJGA_011 IS-M/AM: Customer Potential: Determine Contract-Relevant BP Role
EXIT_SAPLJJGA_012 IS-M: Customer Potential: Identify Free Attributes with Customer Relevance
EXPORTING Parameters details for ISP_JJTVB_ADD_WITH_REFERENCE
OUT_BEDNR -
Data type: JJTVV-LAST_BEDNROptional: No
Call by Reference: No ( called with pass by value option)
OUT_READINDEX -
Data type: SY-INDEXOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISP_JJTVB_ADD_WITH_REFERENCE
IO_REF -
Data type: JJTVBOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISP_JJTVB_ADD_WITH_REFERENCE 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_io_ref | TYPE JJTVB, " | |||
| lv_out_bednr | TYPE JJTVV-LAST_BEDNR, " | |||
| lv_out_readindex | TYPE SY-INDEX. " |
|   CALL FUNCTION 'ISP_JJTVB_ADD_WITH_REFERENCE' "IS-M/AM INTERNAL: Copy Contract Requirement |
| IMPORTING | ||
| OUT_BEDNR | = lv_out_bednr | |
| OUT_READINDEX | = lv_out_readindex | |
| CHANGING | ||
| IO_REF | = lv_io_ref | |
| . " ISP_JJTVB_ADD_WITH_REFERENCE | ||
ABAP code using 7.40 inline data declarations to call FM ISP_JJTVB_ADD_WITH_REFERENCE
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 LAST_BEDNR FROM JJTVV INTO @DATA(ld_out_bednr). | ||||
| "SELECT single INDEX FROM SY INTO @DATA(ld_out_readindex). | ||||
Search for further information about these or an SAP related objects