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

parameter field comparision

Former Member
0 Likes
699

hey

I have data field like this

BUDAT_VAL(8) VALUE '200?0520',

parameter

P_BUDAT LIKE BKPF-BUDAT OBLIGATORY DEFAULT BUDAT_VAL,

i want to check whether budat_val is equal to p_budat entry.

in At selection screen part.

when i try to execute it gives me error system status message as

saying "you have execeeded the size plz make reentry in format( / / ) like this.."

why

ambichan.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
671

Hi ambichan,

I think the problem is the assignment of '200?0520' to the parameter. As the parameter normally is displayed in the external format, SAP is not able to convert the year 200? to a date. You need to change this to a real date.

regards

Siggi

5 REPLIES 5
Read only

Former Member
0 Likes
671

Hi,

Is the value of BUDAT_VAL(8) in your code really '200?0520' or is this a typing error?

Regards

Read only

Former Member
0 Likes
672

Hi ambichan,

I think the problem is the assignment of '200?0520' to the parameter. As the parameter normally is displayed in the external format, SAP is not able to convert the year 200? to a date. You need to change this to a real date.

regards

Siggi

Read only

0 Likes
671

yes given value is correct format.

client want that value to be default.

i want to check condietion and give user error message

ambichan.

Read only

0 Likes
671

Hi,

In that case, you might have to change type of parameter from date to char format. The error is generated by the system as a result of the inconsistency between expected value and supplied value formats.

Regards

Read only

0 Likes
671

ambi,

you must take a help-value char08 or char10

instead of a field type d.

-> after input you can migrate the field to a field type d.

Andreas