Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Increase length of custom label of a field from GET M method

$
0
0

Hi Experts,

 

I have written the below mentioned code to create custom label in GET M method:-

CALL FUNCTION 'DDIF_FIELDINFO_GET'

     EXPORTING

       tabname        = 'XXXXXXXXXX'  "Data Element

       langu          = 'E'

       all_types      = 'X'

     IMPORTING

       dfies_wa       = lv_dfies

     EXCEPTIONS

       not_found      = 1

       internal_error = 2

       OTHERS         = 3.


   "Get field label values

 

     lv_dfies-reptext   = text-000.

     lv_dfies-scrtext_s = text-000.

     lv_dfies-scrtext_m = text-000.

     lv_dfies-scrtext_l = text-000.

 

   "Create metadata object

   CREATE OBJECT metadata

     TYPE

     cl_bsp_metadata_simple

     EXPORTING

       info = lv_dfies.


But by default it is taking lv_dfies-scrtext_m values. No other values it is taking. I have to show more than 20 chars in the label. That's why it is not working with lv_dfies-scrtext_m = text-000 value.


Please let me know how can I do it.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>