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

Create Credit Memo (VA01) - Problem of checking a field before saving

Former Member
0 Likes
771

Hello!

In tcode VA01, why a field (ex. Customer Group) is checked to be filled before saving in case of a Standard order (type OR, or for us is ZOR), but not in case of a Credit Memo (type CR, or for us is ZCR) ? Is this Config problem? If yes, do you know how to config? If not, do you know any User-Exits I should use? I've tried some but didn't work.

Please help if you can. Thanks!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

Hi Timmy,

Please go to include MV45AFZZ and try the user exits

USEREXIT_SAVR_DOCUMENT

in here VBAK values are present in XVBAK and VBAP values in table XVBAP....

Write the required code here and see if it solves our problem

Every time user clicks the 'SAVE' button it has to go through this exit

Regards

Byju

Hello!

In tcode VA01, why a field (ex. Customer Group) is checked to be filled before saving in case of a Standard order (type OR, or for us is ZOR), but not in case of a Credit Memo (type CR, or for us is ZCR) ? Is this Config problem? If yes, do you know how to config? If not, do you know any User-Exits I should use? I've tried some but didn't work.

Please help if you can. Thanks!!

3 REPLIES 3
Read only

Former Member
0 Likes
681

Hi Timmy,

Please go to include MV45AFZZ and try the user exits

USEREXIT_SAVR_DOCUMENT

in here VBAK values are present in XVBAK and VBAP values in table XVBAP....

Write the required code here and see if it solves our problem

Every time user clicks the 'SAVE' button it has to go through this exit

Regards

Byju

Read only

0 Likes
680

Hi Byju,

To be able to modify this include, I need an access key right? If yes, I will request for that. Thanks a lot.

Read only

0 Likes
680

Timy,

yes you need access key for same.contect basis department.

Amit.