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

Sales Order Additional Data

aidan_mulcahy
Active Participant
0 Likes
863

Hi,

I have 2 sales orders:

SO1) with an entry in the Header Level field VBKA-KVGR1 (Additonal Data A).

SO2) No entry in the Header Level field VBKA-KVGR1 (Additonal Data A).

If I open SO1 in VA02 and F3 Back out of it without making a change, I am asked "do I want to Save Changes"?

If I open SO2 in VA02 and F3 Back out of it without making a change, I am not asked the question.

Anyone know why?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
799

Hi

Check if there's some user-exit has filled your SO

Or try to save your SO and then check which information was updated by change document

Max

4 REPLIES 4
Read only

aidan_mulcahy
Active Participant
0 Likes
799

of course, I mean VBAK, not VBKA....

Read only

Former Member
0 Likes
800

Hi

Check if there's some user-exit has filled your SO

Or try to save your SO and then check which information was updated by change document

Max

Read only

0 Likes
799

Hi Max,

I said yes to the 'Save Changes' question but no new change document appeared.

I'll do a debug now and see if there is a userexit somewhere changing something.

From the quick debug that I have done, the Popup appears because...

(SAPMV45B)R185D-DATALOSS = X here:

SAPLV00F / LV00FF0D

Form DIALOG_AUSGEBEN

IF T185D-DIADYN NE SPACE.

PERFORM DIALOGFELD_DYNAMISCH USING MODUL-POOL USER_DATALOSS

USER_FIELD.

ASSIGN (USER_FIELD) TO <FS1>.

Datenverlust -


CHECK <FS1> NE SPACE. -


>>>>> 'X'

ENDIF.

(USER_FIELD) = (SAPMV45B)R185D-DATALOSS

In the other one (SAPMV45B)R185D-DATALOSS = ' '

Thanks.

Read only

0 Likes
799

Thanks Max.

I debugged. Yes, there is a check that the VBAK-KVGR1 is ne to an internal structure value. If so...new pricing carried out. But there is no check if there has been a change made and the internal structure is always empty until this check. I need to either assign the correct value before the check or do something like.... if vbak NE *vbak.....

Full marks assigned....another 10 to add to the 15 million you already seem to have

Thanks again.