First it selects three columns in the table and sorts them in ascending order. Then it clears the "Confirmation" column and sorts the selected
'columns in descending order.
SAPGuiSession("Session").SAPGuiWindow("Access").SAPGuiOKCode("OKCode").Set"me21n"
SAPGuiSession("Session").SAPGuiWindow("Access").SendKey ENTER
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiButton("Execute (F8)").Click
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiTable("SAP").SelectColumn "Confirmation"
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiTable("SAP").ExtendColumn "Order"
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiTable("SAP").ExtendColumn "Operation"
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiButton("Sort in ascending").Click
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiTable("SAP").DeselectColumn "Confirmation"
SAPGuiSession("Session").SAPGuiWindow("Confirmation").SAPGuiButton("Sort in descending").Click
No comments:
Post a Comment
Note: only a member of this blog may post a comment.