biuan SAP® BUSINESS ONE SDK
API Report Layouts Service

Description

The ReportLayoutsService service enables you to do the following:

  • Copy a PLD report layout from one company to another.
  • Add a Crystal Reports layout or standalone report.

Source table: RDOC (report layouts) and RDFL (associates default report with user, business partners)

Object Model

Remarks

To work with report layouts in SAP Business One:

  1. Open a marketing document form (for example, Sales A/R -- Sales Quotation).
  2. Select Tools --> Print Layout Designer (or select the pencil icon on the toolbar). The Layout Designer - Selection Criteria form opens.
  3. Click Edit. The Report and Layout Manager opens.

To work with the Print Layout Designer:

  1. Open the Report and Layout Manager, as described above.
  2. Select a PLD report layout.
  3. Click Edit.

Example

See Also

SAP® B1 DI-API C# definition

public class ReportLayoutsServiceClass : IReportLayoutsService, ReportLayoutsService { public extern ReportLayoutsServiceClass(); public virtual extern ReportLayoutParams AddReportLayout( ReportLayout pIReportLayout); public virtual extern ReportLayoutParams AddReportLayoutToMenu( ReportLayout ppIReportLayout, string MenuID); public virtual extern void DeleteReportLayout( ReportLayoutParams pIReportLayoutParams); public virtual extern void DeleteReportLayoutAndMenu( ReportLayoutParams ppIReportLayoutParams); public virtual extern object GetDataInterface( ReportLayoutsServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); public virtual extern DefaultReportParams GetDefaultReport( ReportParams pIReportParams); public virtual extern ReportLayout GetDefaultReportLayout( ReportParams pIReportParams); public virtual extern ReportLayout GetReportLayout( ReportLayoutParams pIReportLayoutParams); public virtual extern ReportLayoutsParams GetReportLayoutList( ReportParams pIReportParams); public virtual extern void Print( ReportLayoutPrintParams ppIReportLayoutPrintParams); public virtual extern void SetDefaultReport( DefaultReportParams ppIDefaultReportParams); public virtual extern void UpdateLanguageReport( ReportLayout ppIReportLayout); public virtual extern void UpdatePrinterSettings( ReportLayout pIReportLayout); }

Related information


Report Layout ReportLayout Object· Table: RDOC
Represents a layout for PLD or a layout/report for Crystal Reports. Source table: RDOC
   Parent: Report Layouts Service ReportLayoutsService Service· Table: RDOC

Default Report Params DefaultReportParams Object· Table: RDFL
Specifies the default report layout for a document type. The default report layout can be designated for a specific user and business partner, or for all users and business partners. Use this object with the GetDefaultReport/SetDefaultReport...
   Parent: Report Layouts Service ReportLayoutsService Service· Table: RDOC

Report Params ReportParams Object
Indicates which reports to retrieve, for example in the GetDefaultReport method of the ReportLayoutsService. ReportParams can specify reports based on the following parameters: Business partner for whom the report was created Report code...
   Parent: Report Layouts Service ReportLayoutsService Service· Table: RDOC

Report Layouts Service Data Interfaces ReportLayoutsServiceDataInterfaces Enumeration
ReportLayoutsService data interfaces.
   Parent: Report Layouts Service ReportLayoutsService Service· Table: RDOC

Report Layout Print Params ReportLayoutPrintParams Object
ReportLayoutPrintParams Class
   Parent: Report Layouts Service ReportLayoutsService Service· Table: RDOC

Report Layouts Params ReportLayoutsParams Collection
A collection of ReportLayoutParams objects.
   Parent: Report Layouts Service ReportLayoutsService Service· Table: RDOC


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Icons by Icons8 Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates