on 11-23-2009 8:49 AM
Hi Experts
I am developing an interface between BW 3.5 and SAP-XI. Business scenario is: XI loading csv files as records into the delta que in BW.
I have created a SOAP connection DataSource (begins with "6"), and established a delta que. Init and Delta InfoPackages work fine (there are 0 recors in the delta que).
In t-code SPROXY I created a new Proxy under the relevant component that was developed in the XI.
When I hit the Activation button for the proxy, I get an error message about a syntax error in the Interface of the generated ABAP class for the proxy: (6AZMM_GLOBAL is the name of the Datasource)
" You can only refer to the object type ZCX___BI0__QI6AZMM_GLOBAL_RFC using "REF TO". "
I have tried to play around with generated ABAP but no luck!
Where could be the problem, on BW / XI side? I didn't find any relevant threads or notes...
Please help...
Thanks,
Yaniv
Hi ,
In the SPROXY transaction , create the corresponding class and interface and save it to the package $TMP . Now save it and activate .
Hope this will solve your problem
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Don't rely on SAP generated code, use your ABAP skills/intuition ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Check ur code . Find if any syntax error is there .
or Paste the error , so that it will be easily for us to find a solution
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I haven't inserted any code yet...
here is the code for which the error appears:
interface ZMMII_INVENTORY_VISIBILITY_IN
public .
methods EXECUTE_ASYNCHRONOUS
importing
!INPUT type ZMMCX___BI0__QI6AZMM_GLOBAL_RF
raising
ZMMCX___BI0__QI6AZMM_GLOBAL_RF .
endinterface.
the error refers to the line :
!INPUT type ZMMCX___BI0__QI6AZMM_GLOBAL_RF
I tried to add "REF TO" to this line and the interface was indeeded activated, but then I couldn't use INPUT in the main generated class since INPUT is of "TYPE REF TO"
Hi
INPUT is nothing but an internal table with deep structure , Check your Message type in the XI , Both should be same .
why you have ! INPUT it shd be INPUT right ....
or else Delete all the Interface , method , class ....Now go to SPROXY , redo the same process again , and save it in the Package $ TMP ( Local object ) save and activate it
Regards,
Jude
The scenario is INBOUND.
Any way, you wrote that INPUT is just a deep structure and it made me think...
Finally, instead of using:
TYPE ZMMCX___BI0__QI6AZMM_GLOBAL_RF
I used another structre:
TYPE ZMMINVENTORY_VISIBILITY_IN_IB2
(this is another generated structure)
AND EVERYTHING WORKED
So, thanks for the hint, it was helpfull
Yaniv
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.