cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Jco Function Action Block - "Returned Content XML is Empty" message.

Former Member
0 Kudos

Dear Experts

I am working with the SAP JCO Function Action Block in SAP MII 12.2.5

When I try to search for a BAPI in the search button box, using the GET LIST option, I get the following message :

"Returned Content XML is Empty".

I am unable to proceed further after getting this message.

Please advise on the steps that I need to follow to resolve this. All assistance and guidance in this regards, is

very much appreciated.

Regards

Miss Nash Govender

Accepted Solutions (1)

Accepted Solutions (1)

former_member211944
Active Participant
0 Kudos

Hi Nash,

Did you use SAP JCO Start Session Action block before SAP JCO Function Action Block for defining the ECC server details.

If yes then  check the ECC System details and the credentials used there.

Also use the Pool Connections Checkbox.

Regards,

Rohit Negi.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rutika and Rohit

Thank you for your solutions to my above mentioned issue.

Both your answers steered me in the correct direction and I was able to resolve the issue with not just the error I was receiving but also managed to get my transaction to work correctly altogether.

I had to work with both my SAP JCO Function as well as the SAP JCO Start Session in order to get this to work again.

Thank you guys. Really appreciate it.

Regards

Nash

former_member211944
Active Participant
0 Kudos

Hi Nash,

You could also use SAP JCo Interface action block.

If you use this action block then you do not need to use SAP JCo Start Session action block as all the ECC system settings need to be given in this SAP JCo Interface action block only.

Also depends on your business scenario.

If you need a session to be maintained(in case where add, edit or delete type of operations are performed) or you make more than 1 calls to ECC and want all of them to happen or fail then using SAP JCo Start Session, SAP JCo Function, SAP JCo Commit is more beneficial.

But if you dont need a seesion then SAP JCo Interface action block could be used.

Regards,

Rohit Negi.

Former Member
0 Kudos

Hi Nash,

Ensure that:

1. The ECC username used is a System(Background) user with RFC execution privillege.

2. You have entered proper parameters in the System Connection Editor.

3. You have entered exact case password in credential editor.

4. Test connection with a JCo Interface by calling BAPI_TRANSACTION_COMMIT as simple.

If still the issue persists, refer the below thread.

http://scn.sap.com/message/6034694

Regards,

Prashant

rutika_bodas
Participant
0 Kudos

Hello Nash,

This error appears when the details provided under the header 'SAP Server Details' are incorrect.

If you are using 'SAP JCo Function' then you need to provide these details in 'SAP JCo Start Session' action block, OR, if you are using JCo Interface then provide the details in 'SAP JCo Interface' action block's configuration.

Thanks,

Rutika