cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAdI or enhancement on SAVE of Cproject

Former Member
0 Kudos
227

hi,

Is there BAdI or standard enhancmetn on Save of Cproject ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can implement a subsystem, and use methods PREPARE_TO_SAVE or INITIALIZE_AFTER_SAVE.

Please have a look at sample one with standard documentation: CL_DPR_DEMO_SUBSYSTEM

Matthias

Former Member
0 Kudos

can you please explain how to implement subsystem ?

Former Member
0 Kudos

You can copy sample class CL_DPR_DEMO_SUBSYSTEM into a custom one.

Then, the methods, PREPARE_TO_SAVE, SAVE & INITIALIZE_AFTER_SAVE will be called by the system at save action.

You can here implement your own logic.

Matthias

Former Member
0 Kudos

HI,

Thank you ,its working fine.but input parameters are mepty as not using this for custom tab.Can you provide me FM name which returns Project guid from memory?

Former Member
0 Kudos

Hi,

   Need some help here. We tried to copy the sample class to a custom class, but upon putting a break-point within prepare_to_save does not pass on the control from the project to the method within the custom class upon saving. Anything we are doing wrong here? Please advise.

thanks.