cancel
Showing results for 
Search instead for 
Did you mean: 

Action when saving a document

Former Member
0 Kudos

Hello,

i need help please regarding defining actions when saving a document on CRM web interface. I have a BAdI defined that is run when creating a document and pressing on SAVE button. Running a BAdI is defined as an action (transaction CRMC_ACTION_CONF) with these settings:

- Schedule Condition = Schedule Automatically

- Action Merging = Maximum 1 Successful Processed Action

- Time of Processing = Processing When Saving Document

The problem is that the BAdI is run only on the first save. When i change some data on a document and save it again, the BAdI is not run.

What setting should i change so that the BAdI would be run always when saving a document / pressing a SAVE button ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Zoran

In SPRO in the Action Configuration, locate your Action Profile and within that locate the relevant Action Definition.

For Action Merging I suspect it is set to: Max 1 Action for Each Action Definition

Update this to: Max 1 Action for Each Action Definition.

That should solve the problem.

Regards

Arden

Former Member
0 Kudos

Hi Arden,

thank you for the reply.

This was helpful, although in Action Definition i presume it should be:

- Tab "Action Definition": Action Merging = Set Highest Number of Processed Actions

- Tab "Action Merging": Allow Any Number of Actions = YES

former_member182421
Active Contributor
0 Kudos

Hi Zoran,

You are right, with this settings should work fine.

Cheers!

Luis

Answers (0)