Skip to Content
author's profile photo Former Member
Former Member

How to remove layout from "Report and layout manager"

Dear all,

I used this way to add report layout to B1:

Associate a Crystal Report to your own form

But I do not know how to remove it from "Report and layout manager".

(I only know replace layout and if I add incorrect one then I restore DB.)

Is it possible to remove layout if I accidentally added an incorrect one?

Regards,

David

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2013 at 04:21 PM

    Hi David,

    Here's an example from SAP SDK Help:

    Dim oCmpSrv As SAPbobsCOM.CompanyService
    Dim oReportLayoutService As ReportLayoutsService
    Dim oReportLayoutParams As ReportLayoutParams

    'Get report layout service
    oCmpSrv = oCompany.GetCompanyService
    oReportLayoutService = oCmpSrv.GetBusinessService(ServiceTypes.ReportLayoutsService)

    'Set parameters
    oReportLayoutParams = oReportLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiReportLayoutParams)
    oReportLayoutParams.LayoutCode = "POR20002"

    'Delete report layout
    oReportLayoutService.DeleteReportLayout(oReportLayoutParams)

    Beni

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.