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

Authorization in BDC session (date format)

Former Member
0 Likes
690

Hi All,

I have a very peculiar problem, When I am executing a Background job (XK15) sometimes the job is successful and sometimes it is failing. When I am checking the error (SM35)it is showing as Date format (MM/DD/YYYY). My data format is same as MM/DD/YYYY but observed that under authorization it is taking different users.Sometimes it is taking my user id and the jobs are successful.

I feel that when it is taking different user ids for the sessions executed by me it is taking the date format of those user ids and I am getting the date format error.

Formatting error in the field RV13A-DATAB;

see next message XK15 1 SAPMV13A 1806 2 E 0

Enter date in the format ____/__/__

Please let me know why it is taking different userid's and how to resolve this issue ?

Early response is highly appreciated.

Thanks

Supriya

2 REPLIES 2
Read only

Former Member
0 Likes
461

Hi,

Goto tableUSR01.

Take field value 'DATFM' for every user.

Depends on this use FM, 'CONVERSION_EXIT_PDATE_OUTPUT' to convert date.

or do manual processing using concatenate statement to get user specific date format.

If you struck up anywhere revert back,

Thanks,

Krishna.

Read only

0 Likes
461

hi krishna,

I can do this or call the FM SUSR_GET_USER_DEFAULTS, but why is the authorization taking different user ids and sometimes even mine though in call the cases I am created the session.

Thanks

Supriya