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

Vaildating typed data for a search help

former_member196517
Contributor
0 Likes
875

Hi Experts,

I have a scenario wherein i have a field which is attached to a dictionary search help, when i type some value in this field without using F4 how should i validate the value, Is it automatically done by the dictionary search help..

Anuj Goyal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
845

Hi,

you can assign a check table to the field..Which means to the structure-fieldname...You can give a foreign key...

Is it a selection screen or a dialog program screen??

Thanks,

Naren

Hi Experts,

I have a scenario wherein i have a field which is attached to a dictionary search help, when i type some value in this field without using F4 how should i validate the value, Is it automatically done by the dictionary search help..

Anuj Goyal

5 REPLIES 5
Read only

Former Member
0 Likes
846

Hi,

you can assign a check table to the field..Which means to the structure-fieldname...You can give a foreign key...

Is it a selection screen or a dialog program screen??

Thanks,

Naren

Read only

0 Likes
845

hi Narendran,

it is a webdynpro screen where i am using a predifened datatype IFLOT-TPLNR for a field..

Read only

Former Member
0 Likes
845

Hi,

I am not sure about webdynpro..

I will explain you in normal dialog programming..

Create a Z structure z_scr_1000.

Then in that structure add the field TPLNR..Then select that field and choose the foreign key button..It will propose the table IFLOT..

Then when you create an input field in the dialog program..

Give the field name as z_scr_1000-TPLNR..

Then it will a give popup to refer the DDIC ...Press yes to continue..

IF you execute the dialog program..

Then if you enter a value which is other than the one in the table..It will give a error message...

Thanks,

Naren

Read only

former_member196517
Contributor
0 Likes
845

Hi Naren,

I know this but i have a scenario where i am not getting an error message like functional location xxxxx does not exist which is a desired behaviour when i enter some raw data. Hovever as i am using standard IFLOT-TPLNR data type i should get that..

Anuj

Read only

Faaiez
Product and Topic Expert
Product and Topic Expert
0 Likes
845

Hi Naren

Why have you marked this as being answered?

Have you found a solution for this? Can you please share it with me?

Thanks

Faaiez