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

documentation for user defined field

Former Member
0 Likes
2,810

Hai gurus,

parameters : x type i.

i want create documentation for this field x in selection screen.

please replay me

14 REPLIES 14
Read only

Former Member
0 Likes
2,005

Hi

In the ABAP editor,

Check F1 help for "SELECTION-SCREEN FOR FIELD XX ". Here XX is the parameter field.

Vishwa.

Read only

0 Likes
2,005

but that is for field validation. iwant f1 help for user defined field in selection-screen

Read only

Former Member
0 Likes
2,005

Hi,

Do it in this. create a data element for this field and give the user documatation for that data element.

now create an internal table and use the above created data element for field decleration.

Now make ur field in the report of this type.

the user documentation u have given there will also be available here.

Hope it will work.

Thanks

Rajesh Kumar

Read only

Former Member
0 Likes
2,005

Hello

In SE38

Goto -> Text elements -> Selection texts

and enter description for your parameter.

Read only

Former Member
0 Likes
2,005

Hi Ankal,

Just refer thhis link.

http://help.sap.com//saphelp_470/helpdata/EN/79/34a243d9b511d1950e0000e8353423/content.htm

You can have a look at this similar thread also.

Thanks

Nitesh

Read only

Former Member
0 Likes
2,005

Hi Ankal,

Try the FM's below :

HELP_OBJECT_SHOW

HELP_OBJECT_SHOW_FOR_FIELD

DSYS_SHOW_FOR_F1HELP

Check the thread given below:

With luck,

Pritam.

Read only

Former Member
0 Likes
2,005

Hello Ankal ,

parameters: p_docu type zdoc.

create a Data element ZDOC follow normal procedure to ceate a Data element .

when u press create -> it asks for domain and other attributes , in the same screen , click

DOCUMENTATION ( CTRL F7 ) --> editor opens , type the description or the document you want and then activate it .

then go to report and execute it , on selection screen you get p_docu and one input field ,

in that press F1 and you will get the documentation that you mentioned for that Data Element.

Regards,

Aby.

Please clsoe this thread as soon as your problem is solved.

Read only

Former Member
0 Likes
2,005

Hi,

Try to use this:

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 3(25) TEXT-012 FOR FIELD P_Field.

SELECTION-SCREEN POSITION 40.

SELECTION-SCREEN END OF LINE.

you can maintain messages with varied degree of details here for more details in you can refer the ABAP Documentation.

http://help.sap.com/saphelp_NW04/helpdata/en/9f/dba7e235c111d1829f0000e829fbfe/frameset.htm

Regards

Neha

Edited by: Neha Shukla on Nov 30, 2008 10:28 AM

Read only

Former Member
0 Likes
2,005

Hi Guys,

Try the tcode se61. we can create the documentation for data element.

Regards,

Sathis

Read only

Former Member
0 Likes
2,005

Hi,

For documentation of a parameter go to transaction SE38 select the documentation option, there you can find an option selections you van enetr the document of that particular field. You can view this documentation on selection screen with a option program documentaion.

Regards,

Rajani

Read only

Former Member
0 Likes
2,005

Hi,

To maintain documentation for parameters,better reference your own defined data element as

Parameters p_num type s_id.

Here s_id is a data element.While creating data element,you can write the documentation for that field which is the only way to get documentation help ( F1 help ).

So,when you press F1 on selection screen for p_num field ,you will get the data element documentation.

For database reference fields,you will get F1 help through its data element.

Read only

Former Member
0 Likes
2,005

Hi,

Create A Data Element for that parameter and provide the documentation at the data element level.

When u use that parameter in your program it shows the documentation done for that data element.

Thanks

Ravi Aswani

Read only

Former Member
0 Likes
2,005

Hi,

If you want to get F1 help for the parameter on the selection-screen then you have to define that field of type referring to an data element.

For eg:

Parameters:

p_num type MANDT.

for this the same documentation of the data element MANDT will come.

Parameters:

p_num type i.

for this no F1 documnetation will come.

Read only

Former Member
0 Likes
2,005

Hi,

u can use

AT SELECTION-SCREEN ON HELP-REQUEST FOR <<field-name>>

*provide documentation here like

MESSAGE 'Enter Notification number' TYPE 'I'.

Hope this helps.