on 01-17-2007 1:13 AM
Our application BCS (Business Consolidation) is developed in the pure ABAP environment. It uses BW also.
In our application, lots of DDIC are dynamic. They are generated when customers deploy his customizing. Their name, type, structure are all generated. At the runtime, we use the service class to get the description of those DDIC.
In Visual Composer, I found it need DDIC when we use the data service RFC or BAPI. And these DDIC are defined explicitly.
How can I use the dynamic DDIC in the Visual Composer? Can Visual Composer use some service to get defination of the DDIC?
Best regards,
Shiguo
You need the definition of the RFC during designtime.
The only exception that I know is BW, where the structure can depend on the result, and can have more or less fields every call.
But you need a start configuration. We would need in the VC a certain data service type that allows to be completely dynamic. I am afraid, we don't have that at the oment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mario,
Thank you very much!
The question is my first question in SDN and you are the first colleague answered me.
Thank you very much!
Yes. We will define RFC and the DDIC will be set in the parameters. But the structure of the DDIC is generated at run time.
For example, there is one structure: UCD_S_KFIG_TOTALS. It has one component DUMMY with type CHAR(1). The component DUMMY is not one meaningful component. Its components will be generated at the runtime.
If the VC is able to contain one data service type that allows to be completely dynamic, it must be very very great. Do we have the possibility to have that? If it's true, I can ask my manager or higher level manager to raise function request if you need it.
Best regards,
Shiguo
Hi Mario,
this is an important point. I also have to develop a dynamic application. I tried to customize the import/export parameters during ABAP run time, but I also had the problem, that VC must know this interfaces during designtime.
I solved it with a workaround, e.g. I used a lot of string for the interface and then I process the values in the ABAP coding. It works, but it is not the best solution.
Do you know if, there will be a solution with the next Visual Composer release?
Do you have any information about the next release, which you want share with us?
Thanks in advance!
Best Regards,
Marcel
Hi Marcel,
Your experience is really very good.
Some time, it could be much more dynamic. it could be that at the design time, we don't know how many fields it needs at all and the field could be with table type.
We can take the BW as one example. The data structure is completely dynamic.
Thank you and best regards,
Shiguo
I started a WIKI entry for workarounds etc.:
https://wiki.sdn.sap.com/wiki/display/VC/Usingdynamicstructures
Hi Mario,
thanks for the wiki entry. I read this solution for the RFCs with strings. You wrote that, this solution is performance intensive. My solution is fast as a static function module, because ABAP is very fast on the database and also in manipulating data/tables.
Have you created a model, which the performance is intensive. If it is so, can you share this model?
Thx in advance.
Best Regards,
Marcel
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.