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: 

displaying parameter's name

Former Member
0 Kudos

Hi,

I am new to abap and facing some problem.The name of a parameter can contain at max 8 letters. but i want to name the parameter like: Employee code.

.can anyone suggest me how it is possible. your response will be appriciated.

Regards

Victor

1 ACCEPTED SOLUTION

Former Member
0 Kudos

in se38 editor screen (where you are writting the report) menu path goto--->textelements --> selection text here you can see your parameter name just type the text beside that and activate it.

regards

shiba dutta

7 REPLIES 7

Former Member
0 Kudos

in se38 editor screen (where you are writting the report) menu path goto--->textelements --> selection text here you can see your parameter name just type the text beside that and activate it.

regards

shiba dutta

Former Member
0 Kudos

no need to declaring parameter that long

use the below code.

parameter: p_pernr like pa0001-pernr.

GO To --> text element --> selection text

Here u will get a table with P_PERNR and give the text here

h_senden2
Active Contributor
0 Kudos

The parameter name is 8 long, let say P_EMPL,

but you can modify the text on the input screen, by changing the selection text.

Abap editor : Goto --> Text elements --> Selection texts

regards,

Hans

Please reward all helpful answers !!!!!

Former Member
0 Kudos

hi,

Go to se38 and follwo this path ie., goto-> text elements - > selection texts Aand beside the parameter name give the name of your parameter ..but never forget to save and activate ..

Regards,

Santosh

Former Member
0 Kudos

parameters: empcode(30).

now in the output u will be having empcode.

to get Employee code.

in menubar click Goto->Text Elements->Selection Text.

Now ur empcode will be with ?... delete that & write ur Text there.

Former Member
0 Kudos

Hi you can use

Goto --> Text elements --> Selection texts

or you can use

SELECTION-SCREEN COMMENT 1(31) text-001 FOR FIELD p_field.

PARAMETERS: p_field

SELECTION-SCREEN END OF LINE.

Former Member
0 Kudos

Hi,

write this code as like,

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.

parameters:matnr type mara-matnr.

SELECTION-SCREEN end OF BLOCK B2.

double click on TEXT-002 and give text name as u like.

pls give reward if helpful.

Thnaks

vana