Skip to Content
0

In report manager can`t see add-on documents

Apr 10, 2017 at 07:41 AM

44

avatar image
Former Member

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

What is the reason ?
t1.jpg (957.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Edy Simon Apr 10, 2017 at 08:06 AM
0

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
Share
10 |10000 characters needed characters left characters exceeded