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

User Exit after saving batch and batch classifikation

edvdm
Participant
0 Likes
4,150

Hello!

I'm looking for a User Exit after saving datas of batch or batch classification.

Is there any User Exit which I can use?

Regards

Markus

9 REPLIES 9
Read only

Former Member
0 Likes
3,039

Try  Class IF_EX_BATCH_MASTER  method CHECK_DATA_BEFORE_SAVE

Read only

0 Likes
3,039

Aka BAdI BATCH_MASTER. (or good old enh. SMOD SAPLV1ZN / EXIT_SAPLV01Z_01*)

Regards,

Raymond

Read only

0 Likes
3,039

Hello Raymond,

I need an Exit after saving the batch, I need the number of the batch which is created by our system.

Regards

Markus

Read only

0 Likes
3,039

In the BAdI (before commit) you could use CALL FUNCTION ... IN BACKGROUND TASK|UNIT or PERFORM ... ON COMMIT for your code to be executed after creation (in another luw)

Regards,

Raymond

Read only

0 Likes
3,039

EXIT_SAPLV01Z_01* are not called from transaction MSC1N and MSC2N

I've activated this exits.



Regards


Markus

Read only

0 Likes
3,039

AFAIK this exit is triggered at creation only, so I first suggested BAdI BATCH_MASTER. But you could also require SMOD SAPLV01P (statsus change) and BATCHCHK to trigger your own operations.

Hint: If you want an extensive list, call SE80 on package VB and look for function group starting with a X and Enhancements.

Regards,

Raymond

Read only

0 Likes
3,039

Hello Raymond

Thanks for your help.

I found a solution for our issue.

Regards

MArkus

Read only

sunil_mani
Active Participant
0 Likes
3,039

Hi Markus,

You can use exit EXIT_SAPLCLFM_002 , this gets triggered when you save a batch.

Thanks

Sunil

Read only

0 Likes
3,039

Hello Sunil,

I need an Exit after saving the batch, I need the number of the batch which is created by our system.

Regards

Markus