on 12-13-2005 5:15 AM
Hi Experts ,
In my web dynpro application, I have 2 components comp1 and comp2 . Comp2 is declared as used component in comp1 . I am executing one RFC in comp2. When I go to View1 in comp1 , I want to dispaly changed data .
Hence I am calling one RFC to display data in onPlugFrom_View2 . but I am not able to see changed data .
Thanks in advance
Dhanashree
Hi,
1) Try to put all of yours BAPI into one Model.
(keyword - transaction isolation)
2) Try to use BAPI_TRANSACTION_COMMIT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just make me clear on this
are you going from comp2 View 2 to comp1 view 1..
Where u used onPlugFrom_View2..
AD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhanashree,
Try invalidating the context before calling the RFC.
That might help.
Regards,
Sangeeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Its not related to interface controller . Bapi which is changing data is diifernt and BAPI which is used to dispaly data is different . So in comp1 itself I am executing BAPI to display data . but is is not fetching updated data .
Thanks ,
Dhanashree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhanashree,
Try the following.
1. Declare your component usage as "Manual" and not "Create on Demand".
2. Depending on some condition, say on click of a button,create your component dynamically. the code will look something like this.
if(wdThis.wdGetUsedPlanningPropertyCompComponentUsage().hasActiveComponent()){
wdThis.wdGetUsedPlanningPropertyCompComponentUsage().deleteComponent();
}
wdThis.wdGetUsedPlanningPropertyCompComponentUsage().createComponent();
Regards,
Bala.
Please consider rewarding suitable points to the answers on SDN.
Hi Dhanashree ,
You can make use of ComponentInterfaceController to pass the data from one Comp to another.
Create context @ComponentInterfaceController and do the context mapping correctly .
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.