on 04-24-2007 10:32 AM
Goodday,
Need some advice here. We're developing this functiaonality to change existing data back in R/3 through a webdynpro application in the portal. We have developed 2 RFC's. RFC1 for sending data from R/3 to portal (with userID as the input) and RFC2 for sending data from portal to R/3.
When the view initialize, it will send userID back to RFC1 and get all the relevant data to populate the form view. Once populated, users can now change the data. Once completed, users will click on the button 'save' which will execute RFC2 to update R/3.
Since the fields are binded to output of RFC1 (when initializing the view), how do i now bind these updated fields (once user changes) to RFC2 as input and update R/3? Please advise.
Regards
Hi,
Raher than binding direcly from model nodes to view, i will suggest the following way:-
1. Bind the model output node to view context nodes with same names.
2. Create new nodes with the same structure to hold the values at View
While calling RFC1, you will will having the data in model nodes.
3. Then by looping /copying move the model node elements contets to newly created nodes which are binded to View layout element.,
4. Now if user changes the values, call the RFC2 with this newly created nodes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andreas,
Refer to this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c">Tutorial</a> it shows how to write data back to R3.
Regards
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have apparently posted this Message but rather believe that someone posted it from some PC where I was logged in and did not change the login to his own account (properbly some other colleague) - since I didn't actually posted it
If that person does check this post I would appreciate a quick mail.
Thanks for the answer anyway!
Regards,
Andi
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.