cancel
Showing results for 
Search instead for 
Did you mean: 

In report manager can`t see add-on documents

Former Member
0 Kudos

In manager report we don`t see our documents wich we developed for add-on.

What is the reason ?

Accepted Solutions (1)

Accepted Solutions (1)

edy_simon
Active Contributor
0 Kudos

Hi,

You will need to create your own report type
See below example

                    SAPbobsCOM.ReportTypesService rptTypeService = (SAPbobsCOM.ReportTypesService)_oCom.GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.ReportTypesService);
                    SAPbobsCOM.ReportType newType = (SAPbobsCOM.ReportType)rptTypeService.GetDataInterface(SAPbobsCOM.ReportTypesServiceDataInterfaces.rtsReportType);
                    newType.TypeName = TypeName;  //Your choice of TypeName
                    newType.AddonName = SBOAddon.gcAddOnName;   //Your choice of AddOnName
                    newType.AddonFormType = frmTypeEX;    //The formType this layout will be called from
                    newType.MenuID = RptMnuUID;           //Your menuID for calling this report 
                    SAPbobsCOM.ReportTypeParams newTypeParam = rptTypeService.AddReportType(newType);

The Corresponding table for this service is "RTYP"

Regards
Edy

Answers (0)