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 SY-DATAR

Former Member
0 Likes
2,449

Hi,

Good day!

For the same fields in a custom screen SY_DATAR is setting to 'X' some times and setting to Blank. It's not consistent, what could be the reason for this, is there any alternate to achieve the functionality of the SY-DATAR.

Please help me with your valuable inputs.

Thanks in advance

Hi,

Good day!

For the same fields in a custom screen SY_DATAR is setting to 'X' some times and setting to Blank. It's not consistent, what could be the reason for this, is there any alternate to achieve the functionality of the SY-DATAR.

Please help me with your valuable inputs.

Thanks in advance

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,074

Hi,

See this note : [SAP note 25373 (Field SY-DATAR has incorrect value)|https://service.sap.com/sap/support/notes/25373 ]

Sandra

Read only

Former Member
0 Likes
1,074

Hi,

Have you checked when the field gets set to 'X'and when it is blank.

The description of SY-DATAR

Set to X at time of PAI if at least one screen input field was changed by the user or other data transfer, otherwise empty.

Please whether the flag is not set even when you enter some data.

Also check for the below note

Link: : [Note 25373 :|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=25373]

Shiva