11-28-2013 10:46 AM
Hello SDNers,
I have been toying around with the Switch FW (SFW) for the past few weeks & i need your help in solving a (silly) problem.
Scenario:
Enhancements EH1-EH5 can be turned on/off via BS, so far so good.
Problem:
I want EH1-EH3 to be activated & EH4-EH5 to remain inactive.
I know that i can put them in separate packages & the problem is solved, but i want to check other options before doing this.
Thanks for your time.
BR,
Suhas
11-28-2013 11:03 AM
In my opinion, all enhancements can be in same package.
Enhancements 123 need to be in subpackage, and 45 in another subpackage.
If package is not assigned to switch, subpackages can be assigned to separate switches.
I am looking at diagram in this link. (I haven't tried it though).
http://help.sap.com/saphelp_nw04s/helpdata/en/42/f186d1faf93255e10000000a1553f7/content.htm
11-28-2013 11:03 AM
In my opinion, all enhancements can be in same package.
Enhancements 123 need to be in subpackage, and 45 in another subpackage.
If package is not assigned to switch, subpackages can be assigned to separate switches.
I am looking at diagram in this link. (I haven't tried it though).
http://help.sap.com/saphelp_nw04s/helpdata/en/42/f186d1faf93255e10000000a1553f7/content.htm
11-28-2013 12:32 PM
Nice tip Manish
But then again i have to create 2 sub-packages & assign them to the new switches(2 in this case). But if i understand correctly from the link -
cannot assign the same package to several switches.
I did read the online documentation on SFW but somehow this skipped my eyes I'll keep you posted.
- Suhas
12-09-2013 11:58 AM
Manish,
Thanks for the link.
Can you please share your knowledge on the below point related to Switch.
Not able to understand the difference between ON and STANDBY going by the documentation in the above link.
http://help.sap.com/saphelp_nw04s/helpdata/en/4e/708441fd86030de10000000a1550b0/content.htm
Documentation from the above link.
When a switch is switched on, the ABAP Dictionary objects and the BC sets connected to it are activated and the programs with enhancements are invalidated.
The next time you use a program with enhancements, it is recompiled with the enhancements switched on. Conflict switches are also switched on if, after switching on the business function, the conflict still exists.
If you change and activate a switch that is switched on, again the ABAP Dictionary objects are activated and the programs are invalidated. Depending on the scale of the changes, the process can take several minutes. That is why the activation of switches is always executed in the background.
Thanks,
K.Kiran.