Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What does Function Module 'LE_EAN128_LABEL_READ' do?

Former Member
0 Likes
2,762

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!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,387

Hi Shelwin,

The FM you are talking is used by standard driver - RLE_EAN128_LABEL ( Can see in SE38) against the output type E128. This can be triggered using transaction VL74. It is used for label printing.

Please issue an output using VL74 and see the output in SP02. I cannot issue because of some missing config in current client.

BR.

4 REPLIES 4
Read only

deependra_shekhawat3
Contributor
0 Likes
1,387

Hi Shelwin,

you can go through below link . this is related to labels .

http://scn.sap.com/thread/119334

Read only

Former Member
0 Likes
1,388

Hi Shelwin,

The FM you are talking is used by standard driver - RLE_EAN128_LABEL ( Can see in SE38) against the output type E128. This can be triggered using transaction VL74. It is used for label printing.

Please issue an output using VL74 and see the output in SP02. I cannot issue because of some missing config in current client.

BR.

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,387

Hi shlewin

Do a where used list for this FM. It is used for fetching HU related data and pass it to the next fm to display the labels in script or forms

Nabheet

Read only

Pawan_Kesari
Active Contributor
0 Likes
1,387

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.