SAP EXIT_SAPMJKWWW02_006 Function Module for IS-M/SD: IAC Address Change, Further Checks
EXIT_SAPMJKWWW02_006 is a standard exit sapmjkwww02 006 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: IAC Address Change, Further Checks 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 exit sapmjkwww02 006 FM, simply by entering the name EXIT_SAPMJKWWW02_006 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XJKWWW
Program Name: SAPLXJKWWW
Main Program: SAPLXJKWWW
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPMJKWWW02_006 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 'EXIT_SAPMJKWWW02_006'"IS-M/SD: IAC Address Change, Further Checks.
EXPORTING
PV_KEY_ADDRESS = "IS-M: WWW, Key for Address Change - Default Values
PV_OKCODE = "Function Code
* PV_PRE_CHECK = ' ' "Indicator: Check Before Standard Checks
CHANGING
PS_ADDRESS_AG = "IS-M/SD: Structure for WWW; Sold-To Party Address Data
PS_CHECK = "IS-M/SD: Structure for WWW; Data for Identification Check
PS_CONFIRM = "IS-M/SD: Structure for WWW, Confirmation Data
PS_RJKWWW02 = "IS-M/SD: Structure for Address Change via Internet
EXCEPTIONS
CHECK_FAILED = 1
IMPORTING Parameters details for EXIT_SAPMJKWWW02_006
PV_KEY_ADDRESS - IS-M: WWW, Key for Address Change - Default Values
Data type: JWWWKEY_ADDRESSOptional: No
Call by Reference: Yes
PV_OKCODE - Function Code
Data type: T185-FCODEOptional: No
Call by Reference: Yes
PV_PRE_CHECK - Indicator: Check Before Standard Checks
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: Yes
CHANGING Parameters details for EXIT_SAPMJKWWW02_006
PS_ADDRESS_AG - IS-M/SD: Structure for WWW; Sold-To Party Address Data
Data type: RJKWWW_ADDRESSOptional: No
Call by Reference: Yes
PS_CHECK - IS-M/SD: Structure for WWW; Data for Identification Check
Data type: RJKWWW_CHECKOptional: No
Call by Reference: Yes
PS_CONFIRM - IS-M/SD: Structure for WWW, Confirmation Data
Data type: RJKWWW_CONFIRMOptional: No
Call by Reference: Yes
PS_RJKWWW02 - IS-M/SD: Structure for Address Change via Internet
Data type: RJKWWW02Optional: No
Call by Reference: Yes
EXCEPTIONS details
CHECK_FAILED - Further Check Identified Incorrect Entries
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPMJKWWW02_006 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_check_failed | TYPE STRING, " | |||
| lv_ps_address_ag | TYPE RJKWWW_ADDRESS, " | |||
| lv_pv_key_address | TYPE JWWWKEY_ADDRESS, " | |||
| lv_ps_check | TYPE RJKWWW_CHECK, " | |||
| lv_pv_okcode | TYPE T185-FCODE, " | |||
| lv_ps_confirm | TYPE RJKWWW_CONFIRM, " | |||
| lv_pv_pre_check | TYPE XFELD, " SPACE | |||
| lv_ps_rjkwww02 | TYPE RJKWWW02. " |
|   CALL FUNCTION 'EXIT_SAPMJKWWW02_006' "IS-M/SD: IAC Address Change, Further Checks |
| EXPORTING | ||
| PV_KEY_ADDRESS | = lv_pv_key_address | |
| PV_OKCODE | = lv_pv_okcode | |
| PV_PRE_CHECK | = lv_pv_pre_check | |
| CHANGING | ||
| PS_ADDRESS_AG | = lv_ps_address_ag | |
| PS_CHECK | = lv_ps_check | |
| PS_CONFIRM | = lv_ps_confirm | |
| PS_RJKWWW02 | = lv_ps_rjkwww02 | |
| EXCEPTIONS | ||
| CHECK_FAILED = 1 | ||
| . " EXIT_SAPMJKWWW02_006 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPMJKWWW02_006
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 FCODE FROM T185 INTO @DATA(ld_pv_okcode). | ||||
| DATA(ld_pv_pre_check) | = ' '. | |||
Search for further information about these or an SAP related objects