Skip to Content
0

Error when using SAP BO SDK methods

Feb 07, 2017 at 06:40 AM

89

avatar image

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.

untitled.png (9.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Daniel Paulsen
Feb 22, 2017 at 12:09 AM
0

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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.

helper-class.txt (1.6 kB)
0