Hi Gurus,
I feel this post doesnu2019t really belong to this Section, but I hope i twill stay longer on the top of the list, rather than in the General section. And many good people are around this section 😉
OK, here is my issue: I want to create my own Business Function.
Iu2019ve been reading the different blogs from Thomas Weiss, they are very informative. I myself feel comfortable with implicit/explicit enhancement in standard code.
But Iu2019m less aware of switches. And I want to create a custom Add-On, not enhance the standard here.
My 1st step, I think, is to set up some switches on my DDIC object.
Iu2019ve tried to set a simple test, creating a simple test table in one Transport Request (TR). Then I want to add a Customer Include or Customer Append to it, and switch it. Actually, I want to add 2 of them, in 2 distinct TR. Because I want to try to transport my 2nd enhancement 1st on another system.
My 1st issue is that I have inconsistency in my table, using switched customer include/appendu2026
My main table is in one package. But my structure is in a new package, and Iu2019ve created a switch linked to that package. Then I can see in my structure properties that my switch appears.
What would be the logical way to set up such a scenario? Do I have to create many switches, or should I try to use one most of the time?
Next step is to switch some dynpros in some reports (SE38 ones). There, what should be the methodology? Should I add one new switch to each field I want to switch? Can I (or Should I?) use some sub screen to switch? But then what would be the syntax to write the PBO and PAI in the flow logic? Can I make some u201Chooku201D in my dynpro to attach there several sub screens, depending on my add-ons?
Thanks in advance for your highlights!
N.H.