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

Data element documentation

Former Member
0 Likes
2,243

Hi,

How would we attach the self made documentation to a field in ALV grid display.If you are calculating a self defined field in the driver program and need to attach F1 help how to do that.

Thanx in advance

Suruchi

8 REPLIES 8
Read only

Former Member
0 Likes
938

hi suruchi,

if it is OO alv you have an event for ONF1 , you need a local event listener, and implement that method with your code to show F1 help. and set the handler for it. then when you press F1 it will be automatically triggers the F1 help.

but in normal alv list/grid case if the documentation is at the domain level then it will come automatically when you press F1.

Regards

vijay

Read only

Former Member
0 Likes
938

Hi

Good

If u r attaching a self defined field than you have to create a f1 help for that particular field.

Here is a link for you.

http://www.mpls.k12.mn.us/sites/f7071225-9844-4da6-96c0-996b9c74b221/uploads/SAP_Navigation_Training...

Thanks

Mrutyunjaya Tripathy

Read only

Former Member
0 Likes
938

<duplicate>

Message was edited by: Vijay Babu Dudla

Read only

Former Member
0 Likes
938

Hi

Good

If u r attaching a self defined field than you have to create a f1 help for that particular field.

Here is a link for you.

http://www.mpls.k12.mn.us/sites/f7071225-9844-4da6-96c0-996b9c74b221/uploads/SAP_Navigation_Training...

Thanks

Mrutyunjaya Tripathy

Read only

Former Member
0 Likes
938

HI Suruchi,

Alternatively, what you can do is to create a new data element for the field , in se11 and give the documentation there itself.

Use that Data element to defibe your field in the alv.

Regards,

Ravi

Read only

0 Likes
938

Hi ,

I am unable to attach the help to a field which I am myself calculating and displaying.

Suppose there is a field that i have displayed in ALV grid,(without using objects) as mentioned by vijay,

For that field I have created a help text in se61.

Now when I wanted to attach a help normally to any field in ALV grid I used to pass just the data element to field catalog like this.

FIELDCATALOG-ROLLNAME = 'POSNR'.

But in this case I do not know how to attach my own created help..

What can i do now?

Suruchi

Read only

0 Likes
938

Hi,

Create the Zfield and maintain the documentation for that field, then try to use that field in your internal table while defining the iatb. then definitely it will come.

data: begin of itab occurs 0,

      field like zfield, "created newly and holding F1

      end of itab.

Regards

vijay

Read only

vinod_gunaware2
Active Contributor
0 Likes
938

<b>Changing Data Element documentation (F1 help text)</b>

SAP allows you to modify data element documentation (F1 help text), this could be useful if you want to add/remove information from the F1 help text. E.g. If you are using the field to store info it was not intended for.

Step 1

Using transaction CMOD chose the following menu option

<b>Menu Goto->TExt Enhancements_>data elements->list cust docu.</b>

Enter the data element that you wish to change the documentation text for, then click the change icon(Pencil in 4.6c and tick in 4.6b). You will then be presented with the following screen, which allows you to create new versions of the data element documentation. Simply click on the Change button and enter a name within the customer name range.

regards

vinod