2010 Nov 19 3:18 PM
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.
2010 Nov 19 3:42 PM
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
2010 Nov 19 3:33 PM
2010 Nov 19 3:42 PM
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
2010 Nov 19 4:19 PM
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.
2010 Nov 22 2:35 PM
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.