SAP EXIT_SAPMJHAW_007 Function Module for IAC Create Classified Ad: Define Default Confirmation Values
EXIT_SAPMJHAW_007 is a standard exit sapmjhaw 007 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IAC Create Classified Ad: Define Default Confirmation Values 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 sapmjhaw 007 FM, simply by entering the name EXIT_SAPMJHAW_007 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XJHB
Program Name: SAPLXJHB
Main Program: SAPLXJHB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPMJHAW_007 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_SAPMJHAW_007'"IAC Create Classified Ad: Define Default Confirmation Values.
EXPORTING
PS_RJHALLG = "IS-M/AM: General Control Structure for Order
PS_RJHA300 = "IS-M/AM: OPM Header Structure
PS_RJHA800 = "IS-M/AM: Screen Attributes for Order Ad Spec Details
PS_RJHAW100 = "IS-M/AM: IAC Enter Classified Ad: Order Data
PS_RJHATMO_IAC = "IS-M/AM: IAC Enter Classified Ad: Ad Spec Data
PS_RJKWWW_ADDRESS = "IS-M/SD: Structure for WWW, BP Address Data
PS_RJKWWW_PAYMENT = "IS-M/SD: Structure for WWW, Payment Data
CHANGING
PS_RJHAW120 = "IS-M/AM: IAC Enter Classified Ad: Order Confirmation
IMPORTING Parameters details for EXIT_SAPMJHAW_007
PS_RJHALLG - IS-M/AM: General Control Structure for Order
Data type: JHA1_RJHALLG_STROptional: No
Call by Reference: Yes
PS_RJHA300 - IS-M/AM: OPM Header Structure
Data type: RJHA300Optional: No
Call by Reference: Yes
PS_RJHA800 - IS-M/AM: Screen Attributes for Order Ad Spec Details
Data type: RJHA800Optional: No
Call by Reference: Yes
PS_RJHAW100 - IS-M/AM: IAC Enter Classified Ad: Order Data
Data type: RJHAW100Optional: No
Call by Reference: Yes
PS_RJHATMO_IAC - IS-M/AM: IAC Enter Classified Ad: Ad Spec Data
Data type: RJHATMO_IACOptional: No
Call by Reference: Yes
PS_RJKWWW_ADDRESS - IS-M/SD: Structure for WWW, BP Address Data
Data type: RJKWWW_ADDRESSOptional: No
Call by Reference: Yes
PS_RJKWWW_PAYMENT - IS-M/SD: Structure for WWW, Payment Data
Data type: RJKWWW_PAYMENTOptional: No
Call by Reference: Yes
CHANGING Parameters details for EXIT_SAPMJHAW_007
PS_RJHAW120 - IS-M/AM: IAC Enter Classified Ad: Order Confirmation
Data type: RJHAW120Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPMJHAW_007 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_ps_rjhallg | TYPE JHA1_RJHALLG_STR, " | |||
| lv_ps_rjhaw120 | TYPE RJHAW120, " | |||
| lv_ps_rjha300 | TYPE RJHA300, " | |||
| lv_ps_rjha800 | TYPE RJHA800, " | |||
| lv_ps_rjhaw100 | TYPE RJHAW100, " | |||
| lv_ps_rjhatmo_iac | TYPE RJHATMO_IAC, " | |||
| lv_ps_rjkwww_address | TYPE RJKWWW_ADDRESS, " | |||
| lv_ps_rjkwww_payment | TYPE RJKWWW_PAYMENT. " |
|   CALL FUNCTION 'EXIT_SAPMJHAW_007' "IAC Create Classified Ad: Define Default Confirmation Values |
| EXPORTING | ||
| PS_RJHALLG | = lv_ps_rjhallg | |
| PS_RJHA300 | = lv_ps_rjha300 | |
| PS_RJHA800 | = lv_ps_rjha800 | |
| PS_RJHAW100 | = lv_ps_rjhaw100 | |
| PS_RJHATMO_IAC | = lv_ps_rjhatmo_iac | |
| PS_RJKWWW_ADDRESS | = lv_ps_rjkwww_address | |
| PS_RJKWWW_PAYMENT | = lv_ps_rjkwww_payment | |
| CHANGING | ||
| PS_RJHAW120 | = lv_ps_rjhaw120 | |
| . " EXIT_SAPMJHAW_007 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPMJHAW_007
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