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

Problem with validations.

Former Member
0 Likes
1,103

Hi Guys,

I am putting validation on one of my field as mentioned below:

"If user enters value manually then it should check that the value exist in my table or not."

But the problem is I don't know the name of that field. When I am going for technical details it is showing PRPS-USR03 but when I am putting this in validation, it is showing that PRPS is unknown.

Please help me guys?

Thanks and Regards,

Virendra Kedia.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,031

Hi,

when u r debugging ur code, search on Global data for ur field that u want to validate it.

It is best way to check all the variables that u can use in ur program.

Regards

9 REPLIES 9
Read only

andreas_mann3
Active Contributor
0 Likes
1,031

use tcode GGB0.

here you can define checks for table prps

grx

A.

Read only

Former Member
0 Likes
1,031

The technical settings can have table or structure to look for. If you are validating 'USR03', check the domain (which may not have a check table). If not, please give your requirement on what field you need to validate.

Thanks,

Santosh

Read only

Former Member
0 Likes
1,032

Hi,

when u r debugging ur code, search on Global data for ur field that u want to validate it.

It is best way to check all the variables that u can use in ur program.

Regards

Read only

0 Likes
1,031

@All : Thanks for your reply.

But I am not getting it yet.

It is related to Transaction CJ20N/CJ02. I have put one search help on one of the user fields PRPS-USR03. Now I want to validate its value if user directly enters value in this field. But the problem is the field PRPS-USR03 is showing as unknown in coding.

Plesase help me out.

Thanks and Regards,

Virendra Kedia

Read only

0 Likes
1,031

Are you using an Exit to validate the field? I

Read only

0 Likes
1,031

@Rahul,

Yes Rahul I am using "exit_saplcjwb_001" for validation.

Regards,

Virendra Kedia

Read only

0 Likes
1,031

Then use SAP_PRPS instead of PRPS

Read only

0 Likes
1,031

@virendrakedia,

I have checked the user exit 'EXIT_SAPLCJWB_001', it looks like you are using the structure PRPS directly in your coding instead of SAP_PRPS which is the import parameter to this exit.

Please check.

Regards,

Vijaymadhur.

Read only

0 Likes
1,031

@Rahul and VijayMadhur:

Thanks guys. I was doing a silly mistake.

Thank you so much

Regards,

Virendra Kedia