on 03-17-2009 10:06 AM
Hi All!
Do any of you gurus know if it is possible to add an append structure to a table allready imported into webdynpro, and then dynamically gain access to the field runtime?
Our scenarios is that we have created an application that makes use of diffrent tables from R/3, but some of our customers have added aditional fields to theese via the append structure.
So to avoid reimporting the RFC and making explicit customer version, is it possible to dynamically add theese append fields runtime using webdynpro code?
Best regards,
Ronni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I clearly mentioned that take some input and find out some way.
Ok, i answer one by one
it is possible to add an append structure to a table already imported into webdynpro, and then dynamically gain access to the field runtime?
We never import a table in webdynpro , this is one way of access the structure, so that we can work with
DB (for standard CRUD operations and representation ). or talking other than webdynpro perspective if something we want to access from database it gives us a Arraylist further we make it representable for our UI
Our scenarios is that we have created an application that makes use of diffrent tables from R/3, but some of our customers have added aditional fields to theese via the append structure.
So to avoid reimporting the RFC and making explicit customer version, is it possible to dynamically add theese append fields runtime using webdynpro code?
Then why Adaptive reimport function is there so that if some thing change in database after reimport it get reflected in our mapping structure also and of course when ever any changes in data base will happen (adding a new field , changes in datatype ) you must have to do modification in your structure also.
I hope these inputs are sufficient.
Best Regards
Satish Kumar
Hi! I would love to, but it is in a book on page 469 :).
you can get the book on sap-press.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
found solution in the book "Inside Webdynpro for Java".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All!
I found the clue in The"Inside Webdynpro for java" book.
There is an complete example of how to do this. Actually the problem is that one customer might have 5 APPEND'ed fields, while another might have 8 APPEND'et fields... in the book they show how to handle this in a generic way.
Thanks for your inputs!
br,
Ronni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ronni,
Adaptive RFC model adapts at runtime to reflect the changes made with .APPEND to structures. Any changes made to tables in R/3 with .APPEND are already available to you. You do not need to reimport the model to reflect these changes.
If you know the names of fields added, they are available to you with usual get methods.
Let me know if you need any more information.
Vishwas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.