cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set report menu location using SDK?

Former Member
0 Kudos

Hi everyone,

I have a Add-On for SAP. This add-on has a method that records some reports in SAP Business One, to do this I'm using ReportLayout class.

But I have a problem, I can't set the menu location using this Class.

I found this discussion in SCN: https://scn.sap.com/thread/3700768, and there is not field in RDOC to show menu location.

Can I set report menu location using SDK? If I can, how can I do this?

Thanks for help.

Regards,

Diogo.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What version of SAP B1 are you using? I don't even see the field mentioned in the post in my version:

Former Member
0 Kudos

Hi Westley,

     My SAP B1 version is 9.0, but I tryed in 9.1 too.

     This field is on radio option 'Report'.

     Below there's a print.

    

Thanks for help.

Regards,

Diogo.

Former Member
0 Kudos

Okay, thanks for the screenshot. I found what you're talking about. If you turn on View > System Information, then you should be able to hover over all fields on a form and see what tables/fields they are tied to. From what I can see, it's an aspect of SAP that we don't have access to, an internal field that we have no control over. Take a look at the below two screenshots. The first shows a field that's tied to a SQL table, the RDOC table that you had mentioned, specifically the "Local" field:

We can alter this value in code, it is accessible to us to at least view.

However, if we do the same for the Menu Location field:

It shows "table" 81_FU_P, field "StringVar". This suggests to me that it's an SAP internal table that we're not meant to mess with. Sorry buddy, it looks like it's a no go unless you contact SAP and ask them to add a cross reference to a table that we have access to.

Former Member
0 Kudos

Hi Westley,

     That's what I thought, but I needed to be sure. In my search, really the answers told me that the field can not be updated by SDK.

     however, I appreciate your help.

Thanks for help.

Diogo.

Answers (0)