‎2011 Mar 01 11:02 AM
Hi all,
i'm facing a problem concerning the switch framework with append search helps. I want to create an append search help, which should only be visible, if a switch is activated.
Here are my steps up to now:
1. Create a package ZNOSWITCH
2. Create a elementary search help ZMY_SH1 in package ZNOSWITCH
3. Create a collective search help ZMY_CSH (which includes ZMY_SH1) in package ZNOSWITCH
4. Create a package ZSWITCH
5. Create a switch ZMY_SWITCH in package ZNOSWITCH
6. Assign package ZSWITCH to switch ZMY_SWITCH.
7. Create a business function ZMY_BF (reversible and Type Enterprise Business Function) in package ZNOSWITCH
8. Assign switch ZMY_SWITCH to business function ZMY_BF
9. Create an elemtary search help ZMY_SH2 in package ZSWITCH
11. Create an append search help ZMY_ASH (which includes ZMY_SH2) for ZMY_CSH in package ZSWITCH
On step eleven the issues occur. The activation of my append search help fails, but there is no activation protocol, so i don't know what the problem is. I've debugged the activation and found a code sequence in function module RS_DD_WORKLIST_ACTIVATE where a comment says:
* remove switched off appends
LOOP AT lt_actrc TRANSPORTING NO FIELDS
WHERE switchedof = 'X'.
IF l_switched_off IS INITIAL.
l_switched_off = 'X'.
ENDIF.
DELETE lt_actrc. "switched off -> not activated
ENDLOOP.Unfortunately there is no further explanation. So i've tried to activate my business function via SFW5, but this doesn't work too. A message says:
No activation necessary
Does anybody know how to solve this?
Thanks in advance
Mark André
‎2011 Mar 01 4:21 PM
Hi,
i've solved it. Different things caused my problem:
1. It is only possible to activate switchable DDIC Objects by activating Business Function via SFW5.
2. There was a missing authorization on my user profile.
After getting the authorization an activation of my Business Function via SFW5 was succesful and it automatically activated my append search help.
Regards
Mark André