Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How can I set report menu location using SDK?

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:, 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.



Former Member
Former Member replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question