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

DM package name in write_back BAdI?

Former Member
0 Likes
187

Hi guys,

I have a question regarding the UJR_WRITE_BACK BAdI in BPC 10.0 NW Classic version. I want to use it to implement some logic for manual entry and for some DM packages (not all, and especially not the CLEAR packages).

My first idea was to look for a variable with the name of the DM package within the BAdI, but I haven’t found anything. As a workaround, in the DM package I am using script logic to append a dummy entry in ct_array. Based on this entry (that I remove later in the BAdI) I can know from which DM package has been called the BAdI.

At the moment it works, but I am not convinced that it is the best way to solve my problem: use the BAdI for MAN and some DM calls.

Any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Likes

"DM package within the BAdI, but I haven’t found anything" - correct!

You can create a very simple custom logic badi that will set a memory variable - flag.

In script logic just call this badi and in write back you can read this flag.

Vadim

former_member186338
Active Contributor
0 Likes

Look at my answer here:

Former Member
0 Likes

Ok, thank you very much.

Answers (0)