Skip to Content
avatar image
Former Member

In report manager can`t see add-on documents

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

What is the reason ?
t1.jpg (957.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 10, 2017 at 08:06 AM

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