Hello,
in my use case I have the Extensible Framework activated on a screen (eg OSOBJA) and I need to retrieve data from another screen (eg UDS screen called XUABCD).
The problem is that the user might not have visibility of said UDS screen (it's a screen used for configuration and, for UX reasons, the menus are kept as lean as possible), so it is added to their menu but it is being kept hidden (Administration > Security > User Groups > Menus > Hide Menu Item)
The methods I'm aware of to achieve this either don't work or work only partially: if I use a GRIDDATA Ajax request with "MADDON" filters the request fails altogether because of invalid permissions
var request = EAM.Ajax.request({
url: 'GRIDDATA',
params: {
SYSTEM_FUNCTION_NAME: 'BSUDSC',
USER_FUNCTION_NAME: 'XUABCD'
}
});
If I use a POST Ajax request pointing to the screen, the request succeeds but I can only retrieve one record at a time, so I have to use multiple requests to retrieve multiple records which is not ideal (omitting the "key" parameters from the request makes it fail).
var request = EAM.Ajax.request({
'url':'XUABCD.HDR',
'method':'POST',
'params': {
'SYSTEM_FUNCTION_NAME': 'BSUDSC',
'USER_FUNCTION_NAME': 'XUABCD',
'CURRENT_TAB_NAME': 'HDR',
'key_field_code': keyfieldVal
}
});
Are you aware of a way that allows to retrieve ALL records (with an optional filter) from a screen which is added to the menu but is hidden?
Thank you for your time,
Federico