What does Function Module 'LE_EAN128_LABEL_READ' do?

Hi, experts! I have no idea about this FM and cannot find the helpful documentation. Could you tell me what can we get after calling this FM?
Here is the code snippet about calling this FM:
* get data
  CALL FUNCTION 'LE_EAN128_LABEL_READ'
    EXPORTING
      is_output_record       = nast
    IMPORTING
      es_label_data          = label_data
      es_ean128_data         = ean128
    EXCEPTIONS
      object_does_not_exist  = 01
      conversion_has_failed  = 02
      internal_error_occured = 03
      OTHERS                 = 99.
Appreciate for your help!

ean128 barcode can have multiple information embedded in it using separators known as Application identifier (AI). These AIs are defined by GS1.
When SAP wants to print an ean128 barcode it first need to retrieve values to be embedded in the barcode. This is where LE_EAN128_LABEL_READ comes in picture. FM put data in structure EAN128 which is later passed to FM LE_EAN128_ENCODE to create ean128 barcode string using AIs.
These AIs are configured in SAP system in view V_T313D. Can also be reached using menu path SPRO->Logistics Execution->Mobile Data Entry->Bar Code->Maintain Bar Code Specification.
Regards,
Pawan.
PS: There is a FM called LE_EAN128_DECODE which decode ean128 barcode and put values back in sap EAN128 structure based on config in V_T313D.

Similar Messages

  • What are function modules used in alv,and its explanation

    what are function modules used in alv,and its explanation

    hi..
    The important function modules are
    Reuse_alv_fieldcatalog_merge
    Reuse_alv_list_display
    Reuse_alv_events_get
    Reuse_alv_grid_display
    Reuse_alv_commentary_write.
    <b>REUSE_ALV_FIELDCATALOG_MERGE</b>
          This function module is used to populate a field catalog which is essential to display the data in ALV.
          If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter (I_structure_name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.
    Note : Fieldcatalog can be filled manually also by filling up all the required details into the internal table     
    The important parameters are:
       1. Export:
            a. I_program_name     : report id
            b. I_internal_tabname     : the internal output table     
            c. I_inclname     : include or the report name where all  
                                                 the dynamic forms are handled.
        2. Changing
           ct_fieldcat     :    an internal table with the type 
                                      SLIS_T_FIELDCAT_ALV which is declared in the
                                      type pool SLIS.
    <b>REUSE_ALV_LIST_DISPLAY</b>
    This is the function module which prints the data.
    The important parameters are:
    1. Export:
          I_callback_program            : report id
          I_bypassing_buffer             : ‘X’
          I_buffer_active                    : ‘ ‘
          I_callback_pf_status_set     : routine where a user can set
                                                             his own pf status or change the
                                                             functionality of the existing pf status.
          I_callback_user_command : routine where the function codes are
                                                               handled.
          I_structure name     : name of the dictionary table
          Is_Layout          : structure to set the layout of the report
          It_fieldcat          : internal table with the list of all fields and their
                                                 attributes which are to be printed (this table
                                                 can be populated automatically by the function
                                                 REUSE_ALV_FIELDCATALOG_MERGE
          It_events          : internal table with a list of all possible events
                                                 of ALV and their corresponding form names.
    2.  Tables:
         a. t_outtab     : internal table with the data to be output
    <b>REUSE_ALV_EVENTS_GET: </b>
          Returns table of possible events for a a list type
    1. Import:
          Et_Events      :
          The event table is returned with all possible CALLBACK events for the specified list type (column ‘NAME’). For events to be processed by the Callback, their ‘FORM’ field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field ‘FORM’ filled and the entry modified using constants from the type pool SLIS.
    2. Export:
        I_list_type:
              0 = simple list REUSE_ALV_LIST_DISPLAY
              1 = hierarchical-sequential list                                           
                    REUSE_ALV_HIERSEQ_LIST_DISPLAY
              2 = simple block list                                                        REUSE_ALV_BLOCK_LIST_APPEND
              3 = hierarchical-sequential block list
                    REUSE_ALV_BLOCK_LIST_HS_APPEND
    <b>REUSE_ALV_GRID_DISPLAY</b>
      A new function from 4.6 version, to display the results in grid rather than a
      preview.
      Parameters : same as reuse_alv_list_display
    <b>REUSE_ALV_COMMENTARY_WRITE</b>
    This is used in the Top-of-page event  to print the headings and other
    comments for the list.
    It_list_commentary : Internal table with the headings of the type
                                             slis_t_listheader.
        This internal table has three fields:
        Typ : ‘H’ - header, ‘S’ - selection, ‘A’ - action
        Key : only when typ is ‘S’.
        Info : the text to be printed
    <b>plz reward pts if helpful.</b>
    regards
    vijay.

  • What is function module?wn we use it in "generic extractor"

    hi  friends
    i dont know what is function module?wn we,and how we will creat it? whats tha use of it? send me notes with some real time examples
    i  will waiting for ur replays

    What is FM extractor and when we are using :
    Sometimes, if your application or requirement makes it necessary, you have to create your own function module to extract the data from whatever sap system to bw.
    Therefore you normally make a copy of the standard fm 'RSAX_BIW_GET_DATA_SIMPLE'. To make this new function work for you, you have to realize the following.
    Generic Extraction via Function Module
    Generic Extraction via Function Module
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    http://help.sap.com/saphelp_nw04/helpdata/en/86/1c8c3e94243446e10000000a114084/frameset.htm

  • What are functional modules? why we use them?

    HI all,
    Please explain what are the functional modules? why we use them? I am talking in reference to SAP HR.
    Thanks,
    Rashmi

    Hi SAP Gurus,
    as now i got some idea that SAP has provided lot of funtional modules and also we can create our own function modules,
    1, can any one tell with an example when and at what cases this funtional modules are made use of,  and how will we come to know which funtional module has to be made use of and  for which specific purposes.
    2, do you mean to say SAP has provided many funtional modules but they are in Dormant stage untill activated or made use of.
    3. Is developing funtional module mainly ABAPers work or could be done by Funtional person alltogether (in case of using the existing FMs
    4, When and how this FMs work, what is the trigger point do we have to run this when required, if so how
    5, what is the difference Between FMs and UserExits
    Can anyone throw some light on this with an example,
    Points for sure for Suitable answers
    Thanks and Regards
    Sathish
    Edited by: sathish kumar on May 5, 2008 7:43 PM

  • What for Function module is used in Extraction? Pls provide step by step.

    Hai Experts.
    I am kid infront of u all Experts who is well Experienced in SAP BW need u r help.
    Pls what is the need for Going Extraction by Function Module? Provide the real time scenario step by step with screen schots?
    Thanks a lot........
    Regards
    Ashok

    Hi,
    Check this doc.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    Regards.

  • What is function module get previous date by enteing no of days

    FM should take : 7 days
    and should return : 4.12.2007
    as output.
    Thanx,
    Naveen

    Hi,
    Apart from function module, you can write as follows.
    data : date1 type datum,
           date2 type datum.
    date1 = sy-datum.
    date2 = date1 - 7 .
    write date2.

  • What is function module that popups when the find button is clicked

    hi,
    I need to get a popup screen that usually popup when the find(ctrl+F) is clicked.

    Hi
    Try using the following fnction modules:
    POPUP_WITH_TABLE_DISPLAY.
    F4_FILENAME.
    Reward points if helpful answer.
    Ashvender

  • V51S_HU_UPDATE_DB function module....

    Hi All,
    Can someone help me out in telling me, what does function module-V51S_HU_UPDATE_DB do regarding update of any field of a table.
    Regards,
    Mainak.

    Dear,
    You can use the same code in ur Z function module.
    Regards,
    R.Brahmankar

  • Documentation about this function module

    ineed Documentation about this function module RP_ANSAL_FROM_PERNR

    Hi Avinash,
    Have a look at the function group program documentation.It gives an idea of what the function module does.
    Short text
    Annual Salary Functionality (ANSAL)
    Description
    This function group contains different functionality for calculating the annual salary, and calculating a period salary from the annual salary.
    The function group evaluates different tables and features:
    Tables
    T503      defines whether an employee is paid on an
              hourly basis or per period
    T510W     defines the time unit
    T511      determines the relevant module from the annual
              salary wage type, rounding, etc.
    T539J     defines the valid wage types for calculating 
              the annual salary
    Features
    ANSAL     defines the annual salary wage type
    PFREQ     number of periods per year
    Old U510F -> use T510F ?
    Thanks
    Lakshman

  • Question about function Module

    Hi Expert,
             First tell me What is function Module & its working?
    And second is how to call dynamically function module?
    Moderator message : Search for available information, read forum rules before posting.  Thread locked.
    Edited by: Vinod Kumar on Nov 9, 2011 4:57 PM

    This is what happens inside the FM using I_ROLL_BACK:
    To understand what a rollback statement does, have a look at this:
    https://help.sap.com/abapdocu_70/en/ABAPROLLBACK.htm

  • APO-DP Function Modules Description.

    Hi,
    Can I get the description of all Function Modules used in APO-DP.
    i.e. just a one liner of what each Function Module does in APO.
    Regards,
    Vikas

    Hi
    Check the Table
    <b>TFTIT</b>
    for all descriptions of the fun modules in SAP
    Regards
    Anji

  • Function Module from R3

    Hi All,
               I have a function module in SAP R3 System (Eg FORCE_TRIGGER) . What this function module does it based on some input parameters it creates a trigger to to kick off an event on SAP.
    How do i call this function in Data services
    I am not able create a new function call inside the r3 data flow. But i am able to use a new function call in a data flow(Not R3).
    I tried to use that in a script but i get some <ALL DOUBLE CONVERT etc....> Error.
    Is this the right way to do it. Or is there any other way to execute it
    Let me know you thoughts

    Yes, you can code a lot of nonsense in RFC enabled FM's or files written to the OS and expose dangerous import parameters and tables to make it worse....
    If your data flow is generated and you know what it should do, then you can call FM's which are not remote enabled from them for transformation and "triggers". This is standard development work for ABAP developers who have done some basic training - but of course you need to check that you are calling released and stable functions otherwise you will experience problems with both local and remote "hacks".
    Best solution os to find the Business Object in the BOR and an appropriate BAPI for it. That works and is stable for sure...
    Cheers,
    Julius

  • Unicode Error in DOWNLOAD function module

    Hi ABAPpers,
    I am getting the unicode error in using
    CALL FUNCTION 'DOWNLOAD'
           EXPORTING
             bin_filesize = v_bytecount
             filename     = v_download_filename
             filetype     = 'WK1'
           IMPORTING
             act_filename = v_download_filename
           TABLES
             data_tab     = i_download.
    If i try to use GUI_DOWNLOAD, it doesn't have importing parameter act_filename.
    What alternate function module should i use to rectify this unicode error?
    Regards,
    Rahul

    Hi,
    The answer is similar to the one for your previous post. You need to use both CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG and GUI_DOWNLOAD
    DATA: PRC_WINDOW_TITLE      TYPE STRING,
          PRC_DEFAULT_FILE_NAME TYPE STRING,
          PRC_INITIAL_DIRECTORY TYPE STRING,
          PRC_FILE_NAME         TYPE STRING,
          PRC_PATH              TYPE STRING,
          PRC_FULL_PATH         TYPE STRING,
          PRC_USER_ACTION       TYPE I.
    PRC_INITIAL_DIRECTORY = FILENAME.
    PRC_DEFAULT_FILE_NAME = FILENAME.
    PRC_WINDOW_TITLE      = 'Debitoren-Saldenliste'.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
      EXPORTING
        WINDOW_TITLE         = PRC_WINDOW_TITLE
        DEFAULT_FILE_NAME    = PRC_DEFAULT_FILE_NAME
        INITIAL_DIRECTORY    = PRC_INITIAL_DIRECTORY
      CHANGING
        FILENAME             = PRC_FILE_NAME
        PATH                 = PRC_PATH
        FULLPATH             = PRC_FULL_PATH
        USER_ACTION          = PRC_USER_ACTION
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2
        NOT_SUPPORTED_BY_GUI = 3
        OTHERS               = 4
    IF SY-SUBRC = 0 AND PRC_USER_ACTION NE
    CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
         FILENAME                        = PRC_FILE_NAME
         FILETYPE                        = 'ASC'
         WRITE_FIELD_SEPARATOR           = '#'
        TABLES
          DATA_TAB                        = TAB_EXCEL
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                        = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                    = 4
         NO_AUTHORITY                    = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                       = 17
         DP_TIMEOUT                      = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                          = 22
    ENDIF.

  • CS_BOM_EXPLOSION :Looking for a general concept of function modules

    Dear friends,
    As i am new to abap world,i have a few apprehensions regarding using a function module.I am being asked to use CS_BOM_EXPLOSION to explode BOM list.I searched at google,found some pretty links and this suited to my requirements as given under.However what is not clear to me is that up till now i believe EXPORTING is what result i get from function module and importing is what i pass to function module.In this and many other examples i found that values are itself assigned to EXPORTING  while importing are internal tables (probably) assigned to some structures standard used.
    In short i am not clear how to use this function module.Could someone help ?
    CALL FUNCTION 'CS_BOM_EXPLOSION'
    EXPORTING
    AUMNG = 0
    CAPID = ' '
    DATUV = DATVAL "valid-from date
    EHNDL = '1'
    MKTLS = 'X'
    MEHRS = 'X'
    MMORY = '1'
    MTNRV = MATNR
    STLAL = LAL "like mast-stlal default '1'
    STLAN = LAN "like mast-stlan default '2'
    SVWVO = 'X'
    VRSVO = 'X'
    WERKS = WERKS
    mmaps = 'X'
    IMPORTING
    TOPMAT = STARTMAT "includes structure CSTMAT
    TABLES
    STBD = TBD "includes structure CSXDOC
    STBE = TBE "includes structure CSXEQUI
    STBK = TBK "includes structure CSXKLA
    STBM = TBM "includes structure CSXMAT
    STBP = TBP "includes structure CSXGEN
    STBT = TBT "includes structure CSXTDL
    EXCEPTIONS
    ALT_NOT_FOUND = 1
    CALL_INVALID = 2
    MISSING_AUTHORIZATION = 3
    NO_BOM_FOUND = 4
    NO_PLANT_DATA = 5
    NO_SUITABLE_BOM_FOUND = 6
    OBJECT_NOT_FOUND = 7
    CONVERSION_ERROR = 8
    OTHERS = 9.

    Hi,
    when you call the function module, EXPORTING is what you pass to the function module and IMPORTING is what the function module returns, TABLES again maybe returned by the function module.
    You will need to define table types to get the tables data from the Function module.
    ex : it_sTBD type table of tbd.
    you will need to define variable to get the IMPORTING data from the FM.
    CALL FUNCTION 'CS_BOM_EXPLOSION'
    EXPORTING
    AUMNG = 0
    CAPID = ' '
    DATUV = DATVAL "valid-from date
    EHNDL = '1'
    MKTLS = 'X'
    MEHRS = 'X'
    MMORY = '1'
    MTNRV = MATNR
    STLAL = LAL "like mast-stlal default '1'
    STLAN = LAN "like mast-stlan default '2'
    SVWVO = 'X'
    VRSVO = 'X'
    WERKS = WERKS
    mmaps = 'X'
    IMPORTING
    TOPMAT = STARTMAT "includes structure CSTMAT
    TABLES
    STBD = TBD "includes structure CSXDOC
    STBE = TBE "includes structure CSXEQUI
    STBK = TBK "includes structure CSXKLA
    STBM = TBM "includes structure CSXMAT
    STBP = TBP "includes structure CSXGEN
    STBT = TBT "includes structure CSXTDL
    EXCEPTIONS
    ALT_NOT_FOUND = 1
    CALL_INVALID = 2
    MISSING_AUTHORIZATION = 3
    NO_BOM_FOUND = 4
    NO_PLANT_DATA = 5
    NO_SUITABLE_BOM_FOUND = 6
    OBJECT_NOT_FOUND = 7
    CONVERSION_ERROR = 8
    OTHERS = 9.
    Hope you are clear abt FM's.
    Shruthi

  • Function module for FBZ5

    hi,
    what is function module for FBZ5 and F-53.
    regards,
    Balu.K

    Hi Balu ,
    Some FM's For FBZ5 are
    GET_INVOICE_DOCUMENT_NUMBERS
    RP_IMPORT_PAY_STATEMENT
    FI_CUST_SCROLL
    HR_TCODE_CHECK_AUTHORIZATION
    HR_CHECK_AUTHORITY_PERNR
    AUTHORITY_CHECK_TCODE
    CUSTOMIZED_MESSAGE
    in the similar way go for F-53 tcode program then search with the string Call function in main program we will get list of all FM's.
    Regards,
    jana

Maybe you are looking for