cancel
Showing results for 
Search instead for 
Did you mean: 

Error when using SAP BO SDK methods

Former Member
0 Kudos

I am receiving this error when I call

repEng.getDocumentInformation(siCuid, retrieveMustFillInfo, action, navigate, retrieveData) method from my application. but the report is running fine through Launch Pad.

Accepted Solutions (0)

Answers (1)

Answers (1)

daniel_paulsen
Active Contributor
0 Kudos

Hi Megha,

Can you provide any additional information other than just an error message?

What actions are you passing? is RetrieveMustfFillInfo poputlated with prompt values?

Why are you passing a navigate into this call?

It might help to split up getDocumentInformation into a series of steps where you perform a single step a time to see where the problem may be.

Former Member
0 Kudos

helper-class.txt

Hi Daniel,

Thank you for answering. Below is the description of the issue we are facing:

We have created a custom Scheduler application, which calls the below web service from our application when we wish to schedule a report.

RetrieveMustFillInfo mustFillInfo = RetrieveMustFillInfo.Factory.newInstance();

mustFillInfo.setRetrievePromptsInfo(retrievePromptInfo);

cdzDocument = BOHelperClass.getDocumentInformation(cdzReportEngine, cuid, mustFillInfo, new Action[] {Refresh.Factory.newInstance()} , null, null);

buildPromptInfo(httpSession, pInfo, promptDetails, request, cdzReportEngine, cdzDocument, mustFillInfo, promptIndex, reportPrompts);

I was able to trace the issue back to BO Universe and found that the issue is actually with the way our LOVs are defined (it worked in Webi tough). The Objects which have Null values and are a part of cascading LOV and sorting enabled for this Null value column, will throw an error when the above function is invoked. I have attached the sample code where it fails( catch AxixFault is the exact location).

Please let me know if you need any details.

Thanks for all your help.

Best Regards,

Megha.