打印凭证Ap发票sdk

2020-08-14 16:34发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我在执行代码时执行此代码以打印Ap发票而无法正常工作

 SAPbobsCOM.ReportLayoutsService oReportLayoutService =(SAPbobsCOM.ReportLayoutsService)var_public.Vcmp.GetCompanyService()。GetBusinessService(SAPbobsCOM.ServiceTypes.ReportLayoutsService);
             SAPbobsCOM.ReportLayoutPrintParams oReporPrintParams = oReportLayoutService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportLayoutPrintParams);
             SAPbobsCOM.ReportParams oReportParam = oReportLayoutService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportParams);
             oReportParam.ReportCode =" PCH2";
             SAPbobsCOM.DefaultReportParams oReportParaDefault = oReportLayoutService.GetDefaultReport(oReportParam);
             oReporPrintParams.LayoutCode =" PCH20002";
             oReporPrintParams.DocEntry = Convert.ToInt32(38259);
             oReportLayoutService.Print(oReporPrintParams);
 

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我在执行代码时执行此代码以打印Ap发票而无法正常工作

 SAPbobsCOM.ReportLayoutsService oReportLayoutService =(SAPbobsCOM.ReportLayoutsService)var_public.Vcmp.GetCompanyService()。GetBusinessService(SAPbobsCOM.ServiceTypes.ReportLayoutsService);
             SAPbobsCOM.ReportLayoutPrintParams oReporPrintParams = oReportLayoutService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportLayoutPrintParams);
             SAPbobsCOM.ReportParams oReportParam = oReportLayoutService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportParams);
             oReportParam.ReportCode =" PCH2";
             SAPbobsCOM.DefaultReportParams oReportParaDefault = oReportLayoutService.GetDefaultReport(oReportParam);
             oReporPrintParams.LayoutCode =" PCH20002";
             oReporPrintParams.DocEntry = Convert.ToInt32(38259);
             oReportLayoutService.Print(oReporPrintParams);
 
付费偷看设置
发送
3条回答
樱桃小丸子0093
1楼 · 2020-08-14 17:25.采纳回答

谢谢,我建议使用门户网站创建B1事件。

我从没见过B1工程师登录此论坛,但那是错误的。

葫芦娃快救爷爷
2楼-- · 2020-08-14 17:15

产品sab业务。

SDK Interop.SAPbobsCOM

SAP德到
3楼-- · 2020-08-14 17:35

您正在使用什么产品和SDK?

一周热门 更多>