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

Initialize a date using eCATT and a file

Jelena_Perfiljeva
Active Contributor
0 Likes
720

We are trying to clear the values in a date field (MBEW-ZKDAT), i.e. we're trying to update the field from some date to the initial value.

We have an eCATT that has been working fine when there is some value in the date field. But when we try to put any other value (00/00/0000, 00000000 or just leave it blank) in the file, we're getting 'Invalid date' error.

I've looked in FAQ, SAP Help, but can't find any useful information on this. Does anyone know what we need to enter in the date field to make it blank (=initialize)?

Thank you.

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
599

Hello Jelena

Normally &CLEAR does this job.

[Special Variables (eCATT Tutorial)|http://help.sap.com/saphelp_nw04/helpdata/EN/3d/72cd3bb961766de10000000a11402f/content.htm]

Regards

Uwe

3 REPLIES 3
Read only

uwe_schieferstein
Active Contributor
0 Likes
600

Hello Jelena

Normally &CLEAR does this job.

[Special Variables (eCATT Tutorial)|http://help.sap.com/saphelp_nw04/helpdata/EN/3d/72cd3bb961766de10000000a11402f/content.htm]

Regards

Uwe

Read only

0 Likes
599

Hello Jelena

Try passing '' (two single quotation marks without spaces) to the value in the input file. Hope this will work.

thanks

Venkat

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
599

&CLEAR resolved the issue. Thanks for your help!