cancel
Showing results for 
Search instead for 
Did you mean: 

Embed Flavor within a Flavor

nitesh_jain3
Active Participant
0 Kudos

Hi all,

Is it possible to embed a flavor within a flavor?

e.g. I have a flavor for VA01. I have a flavor to create a customer. I want to embed the flavor to create a customer within the flavor for VA01.

regards

Nitesh

Accepted Solutions (0)

Answers (2)

Answers (2)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Technically speaking, it is possible to have an HTML viewer in your VA01 flavor which can run the customer creation transaction using a shortlink.

However, there are certainly problems with this solution. For instance, what happens when you exit the XD01 transaction in the embedded viewer? In Internet Explorer you usually get some popup message asking if you really want to leave this window or something like this. The whole thing will probably behave differently depending on the browser used.

You'd have to test how this works out for you, but as said, it's doable. Just not sure if this is the right approach in flavor design.

nitesh_jain3
Active Participant
0 Kudos

Hi Tamas,

What in your opinion could be a better approach?

The user wants to branch of to create a customer(XD01) from inside the Sales order creation(VA01) process and then get back to Sales order creation..

regards

Nitesh

Former Member
0 Kudos

You have to remember that Personas is just allowing you to provide a new interface to an existing ERP transaction. Behind the scenes of your flavour is the unaltered ERP transaction providing all of the functionality, running pretty much as it does in SAPgui. You can't run two transactions at once, and you can't call another transaction without abandoning the one that's currently running.

That said, if you tell us what you are trying to achieve there might be a way of doing at least some of it.

Steve.

nitesh_jain3
Active Participant
0 Kudos

Hi Steve,

what i am trying to achieve is briefly mentioned in the e.g. in my message. Basically allowing the user to create a customer from inside the Sales order creation process..

regards

Nitesh

0 Kudos

hi nitesh,

have you considered doing this through scripting??

Sounds like a perfect use case for scripting....

sushant

nitesh_jain3
Active Participant
0 Kudos

Hi Sushant,

Will consider scripting only if there is no other solution..

regards

Nitesh

Former Member
0 Kudos

From where in the VA01 transaction are you wanting to branch out to create a customer? The initial screen, the overview screen? How much data has already been input?

I ask because, as I said it isn't possible, apart from using Tamas' embedded HTML technique, to branch out to another transaction and return without losing data. But if there is not much data already entered you may be able to save it, branch out to xd01 and then return and re-enter the data. This does, of course involve scripting.

But what is the business process? You ask about branching out to xd01 from va01, but maybe there's another way. Is this because until you get to the va01 overview screen you can't do a customer lookup, and so don't know if the customer exists or not? If that's the problem, the solution might be to provide a customer lookup function earlier in the process. Build it into a launchpad flavour - first lookup the customer and create it necessary, then create the sales order. Or build it into the VA01 initial screen so that there's no data to save and re-enter. My point is that perhaps changing the process a little will make the implementation easier. It might also more closely match the way your users think.

Personas isn't just about simplifying individual transactions. You can also use it to simplify the whole process, or parts of it.

Steve.

Former Member
0 Kudos

You won't be able to do what you are looking for without scripting.