We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] Changing ALV Header During Display

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from Sachingaur21 on Feb 21 at 1:04 AM
REUSE_ALV_FIELDCATALOG_MERGE
TYPE-POOLS : slis.
*INTERNAL TABLE
data : BEGIN OF it_final occurs 0,
waers LIKE tcurc-waers,
isocd LIKE tcurc-isocd,
altwr LIKE tcurc-altwr,
gdatu LIKE tcurc-gdatu,
xprimary LIKE tcurc-xprimary,
END OF it_final.
*FIELD CATALOG
DATA : it_field TYPE slis_t_fieldcat_alv,
wa_field TYPE slis_fieldcat_alv.

Now create Field Catalog using:-
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'IT_FINAL'
i_inclname = sy-repid
CHANGING
ct_fieldcat = it_field
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

Use this it_field as your field catalog table.
This will get the Auto fields text to your o/p.

---------------Original Message---------------
From: desperado20032003
Sent: Tuesday, February 19, 2013 3:21 AM
Subject: Changing ALV Header During Display

In ALV display in the column heading there are VBELN, MATNR, ERNAM, MAKTX, etc. When we bring the cursor on header it should show the actual heading like 'Sales Order', 'Material No.', etc. How can we achieve this?

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2013 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
Sachingaur21  

Sachingaur21
achievement
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language