cancel
Showing results for 
Search instead for 
Did you mean: 

BAdI for clearing fields while copying WBS in CJ20N

Former Member
0 Kudos

Hi,

can anyone help? When copying a WBS element I want one customer defined field not to be copied but cleared.

I am looking for a BAdI that can change the content of a user-defined field. I found the Exit CNEX0007 and the Badi WORKBREAKDOWN_UPDATE. Both does not help.

The Exit is only half the answer. The program runs only through the Exit, if I jump into the page customer enhancement of the wbs in cj20n. But that's not a good solution. I don't want to jump into Screen 0215 to make the change happen.

The Badi has only inporting Parameters, so I cannot change any field.

Substitutions do not work either.

Is the only answer a modification?

thanks for any advice

Inga

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

There is a MOVE-CORRESPONDING TEMP_STRUCT to OUT_RESULT.

And that's the point where the Information of my field gets lost.

So the question is: How can I get the generated modul-pool for Substitution Output to append my enhanced field in table PRPS to the TEMP_STRUCT structure???

Thanks for any help.

Inga

Former Member
0 Kudos

Hi,

thanks for the advice. I tried that already, but when I add my customer enhancement field to the view of table GB01, it does not automatically update the Temp_structure in the Substitution program.

Temp_structure Looks like this and it is missing MY FIELD

former_member1139057
Participant
0 Kudos

Hi'

I believe a substitution could work.

I have made substitutions that clear a field when creating an object.

How have you made your substitution?

Are you aware that you can execute exits through substitution?

Regards

Lone würtz

varshal_kachole3
Active Contributor
0 Kudos

Hi,

Please check if CNEX033 in SMOD suffices your requirement.

Hope it Helps!

Thanks and Regards,

Varshal Kachole