SAP FWOS_FIELD_MODIFICATION_AMOUNT Function Module for Modify Screen Fields for Securities Order (Amount Fields, Price Fields)
FWOS_FIELD_MODIFICATION_AMOUNT is a standard fwos field modification amount SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Modify Screen Fields for Securities Order (Amount Fields, Price Fields) 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 fwos field modification amount FM, simply by entering the name FWOS_FIELD_MODIFICATION_AMOUNT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FWOS
Program Name: SAPLFWOS
Main Program: SAPLFWOS
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FWOS_FIELD_MODIFICATION_AMOUNT 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 'FWOS_FIELD_MODIFICATION_AMOUNT'"Modify Screen Fields for Securities Order (Amount Fields, Price Fields).
EXPORTING
* I_DISPLAY_ALL = ' ' "(hier doppelklicken)
I_LOCAL_CURRENCY = "Local Currency
I_QUOTATION = "Notierung: 'S' oder 'P'
* I_TRANSACTION = "Daten zur Bewegung im Format VZZBEPP
* I_MAIN_FLOW = "Daten zur Bewegung im Format VTBFHAPO
EXCEPTIONS
I_LOCAL_CURRENCY_INITIAL = 1 I_QUOTATION_INITIAL = 2
IMPORTING Parameters details for FWOS_FIELD_MODIFICATION_AMOUNT
I_DISPLAY_ALL - (hier doppelklicken)
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LOCAL_CURRENCY - Local Currency
Data type: T001-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
I_QUOTATION - Notierung: 'S' oder 'P'
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
I_TRANSACTION - Daten zur Bewegung im Format VZZBEPP
Data type: VZZBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MAIN_FLOW - Daten zur Bewegung im Format VTBFHAPO
Data type: VTBFHAPOOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
I_LOCAL_CURRENCY_INITIAL - Hauswährung initial
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_QUOTATION_INITIAL - Notierung initial
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FWOS_FIELD_MODIFICATION_AMOUNT 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_i_display_all | TYPE C, " SPACE | |||
| lv_i_local_currency_initial | TYPE C, " | |||
| lv_i_local_currency | TYPE T001-WAERS, " | |||
| lv_i_quotation_initial | TYPE T001, " | |||
| lv_i_quotation | TYPE C, " | |||
| lv_i_transaction | TYPE VZZBEPP, " | |||
| lv_i_main_flow | TYPE VTBFHAPO. " |
|   CALL FUNCTION 'FWOS_FIELD_MODIFICATION_AMOUNT' "Modify Screen Fields for Securities Order (Amount Fields, Price Fields) |
| EXPORTING | ||
| I_DISPLAY_ALL | = lv_i_display_all | |
| I_LOCAL_CURRENCY | = lv_i_local_currency | |
| I_QUOTATION | = lv_i_quotation | |
| I_TRANSACTION | = lv_i_transaction | |
| I_MAIN_FLOW | = lv_i_main_flow | |
| EXCEPTIONS | ||
| I_LOCAL_CURRENCY_INITIAL = 1 | ||
| I_QUOTATION_INITIAL = 2 | ||
| . " FWOS_FIELD_MODIFICATION_AMOUNT | ||
ABAP code using 7.40 inline data declarations to call FM FWOS_FIELD_MODIFICATION_AMOUNT
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.| DATA(ld_i_display_all) | = ' '. | |||
| "SELECT single WAERS FROM T001 INTO @DATA(ld_i_local_currency). | ||||
Search for further information about these or an SAP related objects