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

selection screen

Former Member
0 Likes
753

hi experts,

I have report that has selection screen. coding as below :

SELECT-OPTIONS : S_BUKRS FOR BSEG-BUKRS NO-EXTENSION NO INTERVALS ,

S_KUNNR FOR BSEG-KUNNR ,

S_ERDAT FOR BKPF-BUDAT OBLIGATORY DEFAULT '20060101' TO SY-DATUM .

BUt in output it shows Text in place of S_BUKRS, S_KUNNR, S_ERDAT as company code, company, date respectively. where this text is define. Plz help.

Thanks.

Khan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
733

in se38(text editor) use the following path in menu bar

Goto->Text elements->Selection Texts, now you'll be able to see your fields, just mark the checkboxes(Dictionary Ref.) against them, or provide your own field description in the fields provided.

8 REPLIES 8
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
733

HI,

Its coming from their Data elements.

You can check that by going to that strucutre for which you are creating the SELECT-OPTIONS or parameter and check the data elements Field label's.

For example just check the data element BUKRS.

Regards,

Sesh

Read only

0 Likes
733

hi!,

But when I copy this code and paste for new report then why its showing only S_BUKRS

S_KUNNR

S_BUDAT

istead of TEXT.

Thanks.

Khan

Read only

0 Likes
733

buddy, when you copy and paste s_bukrs..... into a new report, you have to tell the system that how do u wanna get its texts, and this is by the way i told u earlier, now the previous program where TEXT was coming, if you go to Selection Texts like i told you, u'll see that they have been check marked for dictionary reference, but in new program you have to check mark them to get the TEXT, plz do see my previous post to this answer

Read only

0 Likes
733

hi!,

Thanks alot for help. I didnt say ur answer and posted by question. I got what I want. Thanks.

Khan

Read only

Former Member
0 Likes
733

HI,

the text is coming from respective data elements.

BR, Artem

remeber points

Read only

Former Member
0 Likes
733

They are the labels of data element: BUKRS, KUNNR and SY-DATUM

Max

Read only

Former Member
0 Likes
733

tables: bseg,bkpf.

SELECT-OPTIONS : S_BUKRS FOR BSEG-BUKRS NO-EXTENSION NO INTERVALS ,

S_KUNNR FOR BSEG-KUNNR ,

S_ERDAT FOR BKPF-BUDAT OBLIGATORY DEFAULT '20060101' TO SY-DATUM .

Come back to Program, then

Goto -> Text Elements -> Selection Texts

In this screen just check the check boxes adjacent to the select-options names.

Save and Activate.

Regards,

Pavan P.

Read only

Former Member
0 Likes
734

in se38(text editor) use the following path in menu bar

Goto->Text elements->Selection Texts, now you'll be able to see your fields, just mark the checkboxes(Dictionary Ref.) against them, or provide your own field description in the fields provided.