Skip to Content

How can i print draft documents by SAP SDK?

Dim oReportLayoutService As SAPbobsCOM.ReportLayoutsService
Dim oReporPrintParams As SAPbobsCOM.ReportLayoutPrintParams

oReportLayoutService = oCompany.GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.ReportLayoutsService)

oReporPrintParams = oReportLayoutService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportLayoutPrintParams)

oReporPrintParams.LayoutCode = "INV20018"
oReporPrintParams.DocEntry = docEntry


When i try to print a draft document which its docEntry is just on the draft tables (ODRF) it print a blank pages. How can i solve this problem?
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers