cancel
Showing results for 
Search instead for 
Did you mean: 

Batch determination in Sales order

Former Member
0 Kudos

Greetings. I have an issue. Actually we are doing standart batch determination in sales order. But that determination doesn't fit our needs. So, we want to do that batch determination with a user exit ('cause we just did it in the deliveries), but I can't find the exit in the program of sales order creation (SAPMV45A).

Someone knows where can I find that exit? Is that program which I had to look?

Thanks a lot.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

It doesn't work in the exit you told me, but that answer give us a guide to solve the problem.

Thanks a lot.

former_member204513
Active Contributor
0 Kudos

Hi Rodriguez,

Please try with these User Exits

Program MV45AFZZ

USEREXIT_SAVE_DOCUMENT

Use this user exit to fill user-specific statistics update tables.

The user exit is called up by the FORM routine BELEG-SICHERN before

the COMMIT command.

Note

If a standard field is changed, the field r185d-dataloss is set to

X. The system queries this indicator at the beginning of the safety

routine. This is why this indicator must also be set during the

maintenance of user-specific tables that are also to be saved.

USEREXIT_SAVE_DOCUMENT_PREPARE

Use this user exit to make certain changes or checks immediately

before saving a document. It is the last possibility for changing or

checking a document before posting.

The user exit is carried out at the beginning of the FORM routine

BELEG_SICHERN.

I hope it will help you,

Regards,

Murali.