MASS_MARC_ENCODE_IN_FLAT_STR is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name MASS_MARC_ENCODE_IN_FLAT_STR into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
MASS_MARC_UTILITIES
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'MASS_MARC_ENCODE_IN_FLAT_STR' "encode mass_marc structure in 2 flats structures
TABLES
p_all_gt_marc = " mass_marc_table table for MARC mass maintenance
p_out_gt_marc = " mass_marc_d mass maintenance structure for MARC data
p_out_gt_style = " mass_style_info_flat flat structure for mas maintenance style info (for RFC use)
. " MASS_MARC_ENCODE_IN_FLAT_STR
The ABAP code below is a full code listing to execute function module MASS_MARC_ENCODE_IN_FLAT_STR including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_p_all_gt_marc | TYPE STANDARD TABLE OF MASS_MARC_TABLE,"TABLES PARAM |
| wa_p_all_gt_marc | LIKE LINE OF it_p_all_gt_marc , |
| it_p_out_gt_marc | TYPE STANDARD TABLE OF MASS_MARC_D,"TABLES PARAM |
| wa_p_out_gt_marc | LIKE LINE OF it_p_out_gt_marc , |
| it_p_out_gt_style | TYPE STANDARD TABLE OF MASS_STYLE_INFO_FLAT,"TABLES PARAM |
| wa_p_out_gt_style | LIKE LINE OF it_p_out_gt_style . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| it_p_all_gt_marc | TYPE STANDARD TABLE OF MASS_MARC_TABLE , |
| wa_p_all_gt_marc | LIKE LINE OF it_p_all_gt_marc, |
| it_p_out_gt_marc | TYPE STANDARD TABLE OF MASS_MARC_D , |
| wa_p_out_gt_marc | LIKE LINE OF it_p_out_gt_marc, |
| it_p_out_gt_style | TYPE STANDARD TABLE OF MASS_STYLE_INFO_FLAT , |
| wa_p_out_gt_style | LIKE LINE OF it_p_out_gt_style. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name MASS_MARC_ENCODE_IN_FLAT_STR or its description.
MASS_MARC_ENCODE_IN_FLAT_STR - encode mass_marc structure in 2 flats structures MASS_MARC_DECODE_FROM_FLAT_STR - decode mass_marc structure from 2 flats structures MASS_MARC_CUSTOM_SAVE - Allows the user to act after the vendor save MASS_MARC_CHANGE_CELL_VALUE - Change color of cells in mass maintenance ALV grid MASS_MAINTENANCE - Mass Maintenance: Article Assignments MASS_MAINTAIN_PARAMETERS - Read/write reatail mass maintenance parameters