on 08-30-2006 8:08 AM
Hi
I have an application, where some information is to be displayed in the table. The bapi has only one input parameter.
I am passing that parameter, calling the execute(), and invalidating. But the data is not getting displayed in the table. Also, all the steps are being executed and no exception is being thrown. At the R/3 front, when Bapi is executed, it works properly.
I tried re-importing the model , did the binding n mapping again, and restarted the server but to no avail.
Can anyone tell what other reason could be.Any help in this regard, will be highly appreciated.
Thanks & regards,
Anupreet
Hi,
<i>I am passing that parameter, calling the execute(), and invalidating</i>.
Check whether u r invalidating the node first, then pass the parameter and execute.
For checking print the node size after u execute.
- Nagarajan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagarajan
I am pasting the code below:
IUser user = WDClientUser.getCurrentUser().getSAPUser();
String user_id=user.getUniqueName().toString();
wdComponentAPI.getMessageManager().reportSuccess(user_id);
input.setZusername(user_id);
wdContext.nodeCmpNode_PersonalData().currentCmpNode_PersonalDataElement().modelObject().execute();
wdContext.nodeCmpNode_PersonalData().nodeOutput().invalidate();
and in the init() i am binding the model object to the node:
wdContext.nodeCmpNode_PersonalData().bind(input);
I also checked regarding the Output node binding, it is done correctly.
Also when i am checking the size after execution and invalidation, the node size is 0 only even though there are records present.
Thanks & regards,
Anupreet
// user_id does carry the correct value
Message was edited by: Anupreet Kaur Chhokar
Hi,
Give the code as below.
<b>Invalidate the node before execution.</b>
wdContext.nodeCmpNode_PersonalData().nodeOutput().invalidate();
IUser user = WDClientUser.getCurrentUser().getSAPUser();
String user_id=user.getUniqueName().toString();
wdComponentAPI.getMessageManager().reportSuccess(user_id);
input.setZusername(user_id);
wdContext.nodeCmpNode_PersonalData().currentCmpNode_PersonalDataElement().modelObject().execute();
//print the node size here and check.
and in the init() i am binding the model object to the node:
wdContext.nodeCmpNode_PersonalData().bind(input);
- Nagarajan.
Hi,
Can you post your code. It will ease the proceedings
Regards
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check if you have bound the correct <i>RFC_Output</i> node to the table data source.
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.