on 12-03-2007 6:50 PM
Hello all
I i'm using a JCO connector to call a custom ZBAPI to do a material move update. the BAPI has 3 required and 1 optional parameters.. all type string. The response is either an error message or confirm.
I have several BAPI's that I call in my application both standard and custom, all of them work except this one. For some reason it is not accepting the parameters we send it. I had the SAP integrator alter the BAPI to return the values I send it and its getting none of them.
I have Auto Commit Turned on as well.
Any thoughts? I have the source code for the BAPI if that would help
Doug,
Does the updated RequestXML structure appear in the JCo action config? If not this could be because in v11.5.x the JCo API caches the BAPI Request/Response XML documents. If the ZBAPI definition changes after these documents were loaded in the transaction then the older XML docs will be sent to ERP causing the call to fail. To fix this issue, restart the xMII service...this will clear the JCo API cache and re-configure the JCo actions.
Hope this helps.
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doug,
Unfortunatly I cannot answer that question because the Group/Role/User configuration for the ERP system is custom. Sometimes in the BAPI you will attempt to call a func. that requires additional permissions than the standard BAPIs; such as Cost Assignment when releasing a work order. If this is the case the user will have to have access/permissions to the FI/CO module. In order to check and eliminate the permissions issue as a possibility, request SAP_ALL permissions in the dev system and try it again.
Hope this helps.
Sam
Found the problem. The BABI had not been promoted for remote access for the client we were testing with. We could see the request / recieve information from the BAPI, and I could execute it with the SAP GUI (using the same client) But could not send any parameters from the JCO block.
Thanks for all the suggestions.
Hi Doug,
Are you able to execute the BAPI in SAP and getting the required result? (in SE37)
Regards,
Musarrat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.