Application Development 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: 

Text of Column for Report ALV

Former Member
0 Kudos

Hi.

I am creating a report ALV, but the consultant modify the Data Element Text of the field as is made in the following link:

http://www.erpgenie.com/sap-technical/abap/changing-data-element-field-text

I Question is:

How can display the news texts in the columns of my report ALV taking the texts that the consultant Modify using this method?

I am creating the catalog as follow:

gt_fieldcat-tabname = 'IT_TABLA'.

gt_fieldcat-fieldname = 'ORD41'.

gt_fieldcat-ddictxt = 'L'.

gt_fieldcat-seltext_l = TEXT-C01.

gt_fieldcat-col_pos = W_POSI.

gt_fieldcat-ref_tabname = 'ANLA'.

gt_fieldcat-ref_fieldname = 'ORD41'.

APPEND gt_fieldcat. CLEAR gt_fieldcat.

Can any help me please.?

Thank in advance for your help.

Regards

1 ACCEPTED SOLUTION

Former Member
0 Kudos

>

> Hi.

>

> I am creating a report ALV, but the consultant modify the Data Element Text of the field as is made in the following link:

>

> http://www.erpgenie.com/sap-technical/abap/changing-data-element-field-text

>

>

> I Question is:

>

> How can display the news texts in the columns of my report ALV taking the texts that the consultant Modify using this method?

>

> I am creating the catalog as follow:

>

>

>

> gt_fieldcat-tabname = 'IT_TABLA'.

> gt_fieldcat-fieldname = 'ORD41'.

> gt_fieldcat-ddictxt = 'L'.

> gt_fieldcat-seltext_l = TEXT-C01.-->you hardcoded the column text,,,,better to use FM REUSE_ALV_FIELDCATALOG_MERGE

> gt_fieldcat-col_pos = W_POSI.

> gt_fieldcat-ref_tabname = 'ANLA'.

> gt_fieldcat-ref_fieldname = 'ORD41'.

> APPEND gt_fieldcat. CLEAR gt_fieldcat.

>

> Can any help me please.?

>

> Thank in advance for your help.

>

> Regards

regards

Prabhu

8 REPLIES 8

Former Member
0 Kudos

>

> Hi.

>

> I am creating a report ALV, but the consultant modify the Data Element Text of the field as is made in the following link:

>

> http://www.erpgenie.com/sap-technical/abap/changing-data-element-field-text

>

>

> I Question is:

>

> How can display the news texts in the columns of my report ALV taking the texts that the consultant Modify using this method?

>

> I am creating the catalog as follow:

>

>

>

> gt_fieldcat-tabname = 'IT_TABLA'.

> gt_fieldcat-fieldname = 'ORD41'.

> gt_fieldcat-ddictxt = 'L'.

> gt_fieldcat-seltext_l = TEXT-C01.-->you hardcoded the column text,,,,better to use FM REUSE_ALV_FIELDCATALOG_MERGE

> gt_fieldcat-col_pos = W_POSI.

> gt_fieldcat-ref_tabname = 'ANLA'.

> gt_fieldcat-ref_fieldname = 'ORD41'.

> APPEND gt_fieldcat. CLEAR gt_fieldcat.

>

> Can any help me please.?

>

> Thank in advance for your help.

>

> Regards

regards

Prabhu

0 Kudos

I tested usign this FM, but this not take the texts,

This take the texts standard .

Regards

0 Kudos

Hello.

Anyone have other idea of How Solve the issue that I Have in this moment?

Thank in advance for your help .

Regard

0 Kudos

Issue not was solved.

Regards

0 Kudos

you might want to reread the ruels of enggagement of this forum, since pushing a thread isnt on the allow list.

what really bugs me is that by telling this to you i´m pushing your thread right to the top again, but well.

0 Kudos

We checked several options but none work.

Regards

0 Kudos

Hi,

Did you try to remove seltext_l to display new enhancement of domain:


gt_fieldcat-tabname = 'IT_TABLA'.
gt_fieldcat-fieldname = 'ORD41'.
*gt_fieldcat-ddictxt = 'L'. "remove
*gt_fieldcat-seltext_l = TEXT-C01. remove
gt_fieldcat-col_pos = W_POSI.
gt_fieldcat-ref_tabname = 'ANLA'.  "with this option you pull the text in domain from dictionary
gt_fieldcat-ref_fieldname = 'ORD41'.
APPEND gt_fieldcat. CLEAR gt_fieldcat.

please try and check

Kind regards,

Edited by: Thien M. Pham on Sep 10, 2010 10:35 PM

0 Kudos

Hi Consultor_ess_mss,

Please run the report BALVBUFDEL first and then run your report. It will take the new text.

Thanks,

Duy