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

Help with code for Selection Box

Former Member
0 Likes
418

Hi All,

I have written the below code in the Data Section of the infoset

BEGIN OF IT_TYP-SALE OCCURS 0,

LTEXT TYPE TVKOT-VTEXT,

END OF IT_TYP-SALE.

DATA: IT_RETURN LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE.

The code works fine, but when the user presses F4 in the box which opens the header displayed is 'Name' which is the header for TVKOT-VTEXT. I would like to know how i can define a custom header Eg: 'Company Name'.

Hope my problem is clear, await assitance.

Vivek

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
396

Hi,

Try this.

Instead of TVKOT-VTEXT use T001-BUTXT.

awrd points if useful

Bhupal

2 REPLIES 2
Read only

Former Member
0 Likes
397

Hi,

Try this.

Instead of TVKOT-VTEXT use T001-BUTXT.

awrd points if useful

Bhupal

Read only

0 Likes
396

Hi,

Thanks for the inputs, what i really need is how i can define a custom text. As the header i want to display is not a standard field header. So in that case how should i declare?

Note: The Company Name was only a example.

Any suggestion on how i can have a custom name appearing as the header instead of the table field header?

Edited by: Vivek on Jan 8, 2008 9:35 PM