Application Development 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: 

Problem in VA02 tcode !

Former Member
0 Kudos
489

Hi,

I am facing so weird problem,

When I open document number in VA02 tcode then press 'Enter/Search' key to change the document.

Next I am selecting the document number (selcting in table control) and without doing any changes I am saving the document,

Then I am getting the message in the bottom of the screen "SAmple Document number has been saved'

And when open the document number again the Net value is getting changed !!!!!!

When I tried to debug in depth I found the functionality is getting deviated in the below part

Program, > SAPMV45AInclude MV45AF0B_BELEG_SICHERN --

In this piece of code.

      • Update item data only if something has changed. But save the**

      • item always if forced by rescheduling " note 644789**

if r185d-dataloss = space and

force_update = space and

upd_vbuk is initial and

pd_vbup is initial.

This variable value is 'X' here.

Again i debugged and tried to fine the code part which is setting value for variable "r185d-dataloss "

I found the below part of code

  • Wenn das Flag sitzt, muß Sicherheitsabfrage durchgeführt werden

IF SY-DATAR NE SPACE AND SY-DYNGR NE DYNGR_ANFORDERUNG.

R185D-DATALOSS = SY-DATAR.

ENDIF.

I am having my question here

The system variable SY-DATAR will store 'X' value when any values choose in the table screen !!!

Could some one help me out why its happening?

Why the net values are changing automatically without doing any changes?

Regards

James.

3 REPLIES 3

former_member156446
Active Contributor
0 Kudos
84

check the latest changes made in your Zpacakge of SD

Former Member
0 Kudos
84

SOlved myself after depth Debugging.

Its Functional configuration problem.

0 Kudos
84

Hi Nagarajan,

I am also having same issue with

R185D-DATALOSS, This flag was behaving differently in each environment(Development & Quality).

Could you please provide information for the configuration you did for your issue.

This will be helpfull for my requirement.

Thanks,

Satya.