on 05-18-2020 1:56 PM
Hello guys,
I've been struggling with this lately. I made a macro to view certain things in the tables in SE16 and when i give the parameters to the table fields, it sometimes fails because the order of the fields changes. Please take a look at the picture attached to see what i am refering to.
As you can see, in one ocassion the field for "Vendor" dissapeared from the search criteria for the table, and just a matter of minutes later it is available again.
When my macro executes the line
session.findById("wnd[0]/usr/ctxtI1-LOW").Text
it does not always lands on the same field, because the first field keeps switching.
Is there a way in which i can prevent this from happening, or at least maybe set it myself to which fields i want to see?
Thank you beforehand for your support!
Hi jhonavon,
first of all you need to understand the transaction SE16. Every user can change the fields of the selection screen of every table.
Fields for Selection is global setting and client independent.
After adding or deleting one or more fields the generated report (in your case /1BCDWB/DBLFB1) will be regenerated with the choosen fields. So you described a normal behaviour of SE16.
I see only one way that your macro will work is:
I hope this will help you.
Greetings
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Regarding SE16 and selection screen/variants you can check SAP Notes below:
##2520680 - Problems with selection screens or variants on SE16
##1499199 - Problems with selection screens of the SE16 display reports
You may also refer to SAP knowledge base article
##2860615 - Do not use SE16 transaction as a business transaction
Regards,
Bíborka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.