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

ABAP Query

Former Member
0 Likes
739

Hey Guys,

I am using SQ01 transaction used for making an ABAP query. I need to make a field as obligatory in the selection screen.. Can any one help me in this.. its really urgent..

Regards,

PRASHANT

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
718

Hi,

Go to the Infoset Query and there check the checkbox Selection against the field which you need on selection screen.

Hope this helps.

Regards,

Lalit

6 REPLIES 6
Read only

former_member402443
Contributor
0 Likes
718

Hi Prashant,

Use this statment for making a field obligatory in the selection screen.

PARAMETERS : p_type type bkpf-belnr OBLIGATORY.

Reward Points,

Regards,

Manoj Kumar

Read only

Former Member
0 Likes
719

Hi,

Go to the Infoset Query and there check the checkbox Selection against the field which you need on selection screen.

Hope this helps.

Regards,

Lalit

Read only

0 Likes
718

Hey Lalit,

Can u tell me how to do it in selections. The required field checkbox seems to be disabled.. Can u tell me how to go about it..

In the infoset i only have one table AUFK and i need to make the Order Type AUFK-AUART as the obligatory field for selection.

Please help

Regards,

PRASHANT

Read only

0 Likes
718

Hello,

You can't do it, but you should insert some selection fields obligatory in the infosets.

With Regards,

BVS

Read only

0 Likes
718

Hello Prashant,

Go to the info set of the query.

SQ02 -> Enter the infoset name -> click on 'Change'

Go to the 'Selections' tab.

There you will find all the selction screen parameters. Double click on the selection parameter which you want to make it a mandatory field.

It will pop-up a dialog screen. On this dialog screen on the input field 'Extras'

enter the key word OBLIGATORY. Than don't forget to regenarate the infosets again.

With Regards,

BVS

Read only

Former Member
0 Likes
718

Hi, Everyone .

We can do that .

At selection-screen output (code section 13), set "1" to the field REQUIED by using MODIFY SCREEN code .

(You can get Dynpro number by F1 key or T-cd SE51 )

Masao .

Edited by: MASAO NONAKA on Oct 20, 2008 9:13 AM