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

BADI DOCUMENT_MAIN01 does not exist

Former Member
0 Likes
471

Hi!

To do some stuff after a document in SAP is saved I use the BADI DOCUMENT_MAIN01-AFTER_SAVE method (SE19). Now I have tried to copy my code into a different SAP system but the BADI does not exist there! Isn't this a BADI from SAP which should exist in every SAP system or can I create it by my own (if yes, how) if it does not exist?

Thanks,

Konrad

1 REPLY 1
Read only

uwe_schieferstein
Active Contributor
0 Likes
396

Hello Konrad

The BAdI DOCUMENT_MAIN01 is within package CV (application component CA-DMS, Document Management). Although package CV belongs to the very basic software component SAP_APPL this does not automatically imply that the cross-application (CA) component is in other SAP system types as well.

I do not think it makes sense to create your own BAdI because I believe that if there is no BAdI there will be no corresponding BAdI exit in the standard coding.

In order to analyse the difference have a look at menu System -> Status and compare the software components available.

Regards

Uwe