on 01-12-2008 8:29 AM
Hi Gurus,
I import a rfc as model in webdynpro.
I input a company code, the rfc will return the cost center code list.
Scenario:
I input a company code A, it returns me a code list.
I put an invalid company code B, the rfc will throw some exception which is caught in webdynpro java, but the problem is the output part is not cleaned, I can still get the cost center code which belong to company A.
so , I want to know when I caught the exception how can I empty the output part.
Best regards,
John
Hi all,
I bind the output with a empty list, my problem solved.
Best regards,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jhon,
You can invalidate the RFC node like this - wdContext().node<your RFC node>().invalidate();
Regards
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
is this rfc customized or standard SAP?
if it is customized, why don't you clean the output in the rfc itself?
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 | |
7 | |
7 | |
6 | |
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.