2015 Mar 12 10:01 AM
Hi All,
Actually my requirement is to add authorization for a field 'Company Code' in the existing SAP Query.So i have added my code in the corresponding infoset in AT SELECTION-SCREEN event. But After I write code in above event my selection screen is getting changed but i am able to get same report in output. But in selection screen I am getting another extra block named "Output format" instead of layout(Refer image) and the previous fields are getting jumbled I have added screenshots of both. Can anybody please help me out of this.
Thanks with regards,
Prasanna
2015 Mar 12 1:18 PM
Hi Prasanna,
without sharing some snippets of your code it will be nearly impossible to recommend you anything.
So please share the code and perhaps you can just put your selctions-screen coding into an own small report to have a copy-paste version for us to help you out.
~Florian
PS: I have moved your discussion to ABAP-Development, because this space fits a lot better than output management
2015 Mar 13 8:23 AM
Hi Florian,
Appreciate your help ,Thank you !!
But im not able to share any code with others as it is an query(Automatically generated report).My issue is whenever i try to add any code(or even a comment line) in AT SELECTION-SCREEN event in its infoset my above attached screen is getting altered , I mean entire report is getting modified. I want to know if anybody has got same problem before and they would have got some solution for that.
# Prasanna
2015 Mar 13 9:21 AM
Try one thing if you can. Have all Selection fields from Infoset Extras. Do not have any selection field from SQ01. Possible that in this set-up the Output format block will be removed. (Preferable to do it in fresh query and opt for all Selection fields from Infoset not from SQ01)
2015 Mar 13 11:56 AM
Hi Jogeswara,
Thank you for your quick response .
You told me to "Have all Selection fields from Infoset Extras". But in my case im not suppose to alter my Query and not even permitted to create new one(As im doing changes in others Query).
And one more thing that i wanted to tell you, Initially when i started to add code by editing infoset i was not able to select AT SELECTION-SCREEN event to write my code. So i have created a parameter in Selections tab (Look for Pic1 attachments) and then made it NO-DISPLAY(Refer Pic 2) so that my selection screen should not get altered. Then i was able to write code at AT SELECTION-SCREEN event. But after i wrote code in there my initial selection screen got altered
I might be confusing you, But plz go through all above points and tell me any case that i can avoid this or any other way to begin with.
# Prasanna
Pic1
Pic2
2020 Mar 21 4:11 AM
2024 Feb 15 7:44 AM
Same issue I am also facing , Please help.
Initially there were multiple output format like excel, ALV, download et.c .
Now when i have done the changes , I see only layout option in the selection screen.
Can anyone help me here.