SAP POPUP_TO_CREATE_METHODE Function Module for
POPUP_TO_CREATE_METHODE is a standard popup to create methode 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 popup to create methode FM, simply by entering the name POPUP_TO_CREATE_METHODE into the relevant SAP transaction such as SE37 or SE38.
Function Group: GLU1
Program Name: SAPLGLU1
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function POPUP_TO_CREATE_METHODE 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 'POPUP_TO_CREATE_METHODE'".
EXPORTING
* METHODE = ' ' "Currency translation method
* TABELLE = ' ' "Data basis table name e.g. GLT2
* TEXT = ' ' "Description of currency translation method
* TEXTLINE1 = ' ' "Header line number 1
* TEXTLINE2 = ' ' "Header line number 2
* TITEL = ' ' "Title of the popup
VERWENDUNG = "0, 1 or 2 usage indicators Domain USEWU
IMPORTING
ANSWER = "Confirmation (If 'J', carry out action)
METHODE = "Currency translation method
TABELLE = "Data basis table name e.g. GLT2
TEXT = "Description of currency translation method
VERWENDUNG = "0, 1 or 2 usage indicators Domain USEWU
TABLES
NEGTAB = "
IMPORTING Parameters details for POPUP_TO_CREATE_METHODE
METHODE - Currency translation method
Data type: T884M-WAEGRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABELLE - Data basis table name e.g. GLT2
Data type: T884M-TABDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT - Description of currency translation method
Data type: T884T-TXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE1 - Header line number 1
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE2 - Header line number 2
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TITEL - Title of the popup
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VERWENDUNG - 0, 1 or 2 usage indicators Domain USEWU
Data type: T884M-USEWUOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for POPUP_TO_CREATE_METHODE
ANSWER - Confirmation (If 'J', carry out action)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
METHODE - Currency translation method
Data type: T884M-WAEGROptional: No
Call by Reference: No ( called with pass by value option)
TABELLE - Data basis table name e.g. GLT2
Data type: T884M-TABOptional: No
Call by Reference: No ( called with pass by value option)
TEXT - Description of currency translation method
Data type: T884T-TXTOptional: No
Call by Reference: No ( called with pass by value option)
VERWENDUNG - 0, 1 or 2 usage indicators Domain USEWU
Data type: T884M-USEWUOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for POPUP_TO_CREATE_METHODE
NEGTAB -
Data type: LCMETHODOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for POPUP_TO_CREATE_METHODE 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_answer | TYPE STRING, " | |||
| lt_negtab | TYPE STANDARD TABLE OF LCMETHOD, " | |||
| lv_methode | TYPE T884M-WAEGR, " SPACE | |||
| lv_methode | TYPE T884M-WAEGR, " | |||
| lv_tabelle | TYPE T884M-TAB, " SPACE | |||
| lv_text | TYPE T884T-TXT, " SPACE | |||
| lv_tabelle | TYPE T884M-TAB, " | |||
| lv_text | TYPE T884T-TXT, " | |||
| lv_textline1 | TYPE T884T, " SPACE | |||
| lv_textline2 | TYPE T884T, " SPACE | |||
| lv_verwendung | TYPE T884M-USEWU, " | |||
| lv_titel | TYPE T884M, " SPACE | |||
| lv_verwendung | TYPE T884M-USEWU. " |
|   CALL FUNCTION 'POPUP_TO_CREATE_METHODE' " |
| EXPORTING | ||
| METHODE | = lv_methode | |
| TABELLE | = lv_tabelle | |
| TEXT | = lv_text | |
| TEXTLINE1 | = lv_textline1 | |
| TEXTLINE2 | = lv_textline2 | |
| TITEL | = lv_titel | |
| VERWENDUNG | = lv_verwendung | |
| IMPORTING | ||
| ANSWER | = lv_answer | |
| METHODE | = lv_methode | |
| TABELLE | = lv_tabelle | |
| TEXT | = lv_text | |
| VERWENDUNG | = lv_verwendung | |
| TABLES | ||
| NEGTAB | = lt_negtab | |
| . " POPUP_TO_CREATE_METHODE | ||
ABAP code using 7.40 inline data declarations to call FM POPUP_TO_CREATE_METHODE
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 WAEGR FROM T884M INTO @DATA(ld_methode). | ||||
| DATA(ld_methode) | = ' '. | |||
| "SELECT single WAEGR FROM T884M INTO @DATA(ld_methode). | ||||
| "SELECT single TAB FROM T884M INTO @DATA(ld_tabelle). | ||||
| DATA(ld_tabelle) | = ' '. | |||
| "SELECT single TXT FROM T884T INTO @DATA(ld_text). | ||||
| DATA(ld_text) | = ' '. | |||
| "SELECT single TAB FROM T884M INTO @DATA(ld_tabelle). | ||||
| "SELECT single TXT FROM T884T INTO @DATA(ld_text). | ||||
| DATA(ld_textline1) | = ' '. | |||
| DATA(ld_textline2) | = ' '. | |||
| "SELECT single USEWU FROM T884M INTO @DATA(ld_verwendung). | ||||
| DATA(ld_titel) | = ' '. | |||
| "SELECT single USEWU FROM T884M INTO @DATA(ld_verwendung). | ||||
Search for further information about these or an SAP related objects