on 04-23-2015 2:08 PM
Hi ,
I am trying to do some customisation in the CRM ISA 4.0 development component.
Have followed the steps given in the Development and Extension Guide and tutorial PDF
Steps done for Custom RFC Call
1. Create RFCs
2. Edit file backendobject-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification:-
3. BackendBusinessObject Jco -
4. BusinessObject -
5. Edit file bom-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification
6. BusinessObjectManager BoM
7. BackendAware-
8. config.xml - to add custom actions
9. Action creation
10. Page : Order_change.jsp.
The backend is the CRM system while making a call to the CRM system the connection to the CRM system is not working .
Similar to what is given in the tutorial the getDefaultJCoConnection() is used .
But gettting null at the JCO connection.
JCO.Function func = getDefaultJCoConnection().getJCoFunction(‘CRM_ISA_SHOP_GETLIST’);
This is how my custom FM is being called.
Can someone help me with what may be the possible reason for this call failure.
While debugging and checking it shows null pointer exception in the JCo connection .
Thanks
Chinju
Hi Chinju,
Please debug your code. It's the best way to dig.
Thanks,
Hamendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hamendra,
When the code debugging was done in Java then we got just the NullPointerException for the JCo.
In the nwa log shows
where BackendBusinessObjectBaseSAP is the standard Java Class in the ISA
|
Thanks
Chinju
Hi Chinju,
Enable JCo tracing by adding these JVM paramters to the startup script:
-Djco.trace_level=6
-Djco.trace_path=<directory_of_trace_files>
The created JCO* file will show the reason.
Best Regards,
Antal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.