SAP ESS_MA_NEWS_SET_PERS Function Module for
ESS_MA_NEWS_SET_PERS is a standard ess ma news set pers 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 ess ma news set pers FM, simply by entering the name ESS_MA_NEWS_SET_PERS into the relevant SAP transaction such as SE37 or SE38.
Function Group: SESS
Program Name: SAPLSESS
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ESS_MA_NEWS_SET_PERS 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 'ESS_MA_NEWS_SET_PERS'".
EXPORTING
* USERNAME = "SAP System, User Logon Name
* OS = "Char255
* COLS = "Single-Character Flag
* HEADLINES = "Version Number Component
* ACTIVE = "Version Number Component
IMPORTING
ITEM1 = "3-Byte Field
ITEM_TEXT3 = "Text (20 Characters)
ITEM_TEXT4 = "Text (20 Characters)
ITEM_TEXT5 = "Text (20 Characters)
ITEM_TEXT6 = "Text (20 Characters)
ITEM_TEXT7 = "Text (20 Characters)
COLS_OUT = "Single-Character Flag
HEADLINES_OUT = "Version Number Component
ACTIVE_OUT = "Single-Character Flag
ITEM2 = "3-Byte Field
ITEM3 = "3-Byte Field
ITEM4 = "3-Byte Field
ITEM5 = "3-Byte Field
ITEM6 = "3-Byte Field
ITEM7 = "3-Byte Field
ITEM_TEXT1 = "Text (20 Characters)
ITEM_TEXT2 = "Text (20 Characters)
IMPORTING Parameters details for ESS_MA_NEWS_SET_PERS
USERNAME - SAP System, User Logon Name
Data type: SYUNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
OS - Char255
Data type: CHAR255Optional: Yes
Call by Reference: No ( called with pass by value option)
COLS - Single-Character Flag
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
HEADLINES - Version Number Component
Data type: CHAR2Optional: Yes
Call by Reference: No ( called with pass by value option)
ACTIVE - Version Number Component
Data type: CHAR2Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ESS_MA_NEWS_SET_PERS
ITEM1 - 3-Byte Field
Data type: CHAR3Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_TEXT3 - Text (20 Characters)
Data type: TEXT20Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_TEXT4 - Text (20 Characters)
Data type: TEXT20Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_TEXT5 - Text (20 Characters)
Data type: TEXT20Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_TEXT6 - Text (20 Characters)
Data type: TEXT20Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_TEXT7 - Text (20 Characters)
Data type: TEXT20Optional: No
Call by Reference: No ( called with pass by value option)
COLS_OUT - Single-Character Flag
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
HEADLINES_OUT - Version Number Component
Data type: CHAR2Optional: No
Call by Reference: No ( called with pass by value option)
ACTIVE_OUT - Single-Character Flag
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
ITEM2 - 3-Byte Field
Data type: CHAR3Optional: No
Call by Reference: No ( called with pass by value option)
ITEM3 - 3-Byte Field
Data type: CHAR3Optional: No
Call by Reference: No ( called with pass by value option)
ITEM4 - 3-Byte Field
Data type: CHAR3Optional: No
Call by Reference: No ( called with pass by value option)
ITEM5 - 3-Byte Field
Data type: CHAR3Optional: No
Call by Reference: No ( called with pass by value option)
ITEM6 - 3-Byte Field
Data type: CHAR3Optional: No
Call by Reference: No ( called with pass by value option)
ITEM7 - 3-Byte Field
Data type: CHAR3Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_TEXT1 - Text (20 Characters)
Data type: TEXT20Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_TEXT2 - Text (20 Characters)
Data type: TEXT20Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ESS_MA_NEWS_SET_PERS 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_item1 | TYPE CHAR3, " | |||
| lv_username | TYPE SYUNAME, " | |||
| lv_item_text3 | TYPE TEXT20, " | |||
| lv_item_text4 | TYPE TEXT20, " | |||
| lv_item_text5 | TYPE TEXT20, " | |||
| lv_item_text6 | TYPE TEXT20, " | |||
| lv_item_text7 | TYPE TEXT20, " | |||
| lv_cols_out | TYPE CHAR1, " | |||
| lv_headlines_out | TYPE CHAR2, " | |||
| lv_active_out | TYPE CHAR1, " | |||
| lv_os | TYPE CHAR255, " | |||
| lv_item2 | TYPE CHAR3, " | |||
| lv_cols | TYPE CHAR1, " | |||
| lv_item3 | TYPE CHAR3, " | |||
| lv_item4 | TYPE CHAR3, " | |||
| lv_headlines | TYPE CHAR2, " | |||
| lv_item5 | TYPE CHAR3, " | |||
| lv_active | TYPE CHAR2, " | |||
| lv_item6 | TYPE CHAR3, " | |||
| lv_item7 | TYPE CHAR3, " | |||
| lv_item_text1 | TYPE TEXT20, " | |||
| lv_item_text2 | TYPE TEXT20. " |
|   CALL FUNCTION 'ESS_MA_NEWS_SET_PERS' " |
| EXPORTING | ||
| USERNAME | = lv_username | |
| OS | = lv_os | |
| COLS | = lv_cols | |
| HEADLINES | = lv_headlines | |
| ACTIVE | = lv_active | |
| IMPORTING | ||
| ITEM1 | = lv_item1 | |
| ITEM_TEXT3 | = lv_item_text3 | |
| ITEM_TEXT4 | = lv_item_text4 | |
| ITEM_TEXT5 | = lv_item_text5 | |
| ITEM_TEXT6 | = lv_item_text6 | |
| ITEM_TEXT7 | = lv_item_text7 | |
| COLS_OUT | = lv_cols_out | |
| HEADLINES_OUT | = lv_headlines_out | |
| ACTIVE_OUT | = lv_active_out | |
| ITEM2 | = lv_item2 | |
| ITEM3 | = lv_item3 | |
| ITEM4 | = lv_item4 | |
| ITEM5 | = lv_item5 | |
| ITEM6 | = lv_item6 | |
| ITEM7 | = lv_item7 | |
| ITEM_TEXT1 | = lv_item_text1 | |
| ITEM_TEXT2 | = lv_item_text2 | |
| . " ESS_MA_NEWS_SET_PERS | ||
ABAP code using 7.40 inline data declarations to call FM ESS_MA_NEWS_SET_PERS
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