Skip to Content
avatar image
Former Member

Error when using SAP BO SDK methods

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 22, 2017 at 12:09 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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)