There
are two different "tab" modes in the SAP system, so this makes your
goal a bit complicated. Normally SAP uses tabs that cause an application server
interrupt when clicked.
In
this case you can work with
if
Q[Page=xxxxx]
...
endif
if
Q[Page=yyyy]
...
endif
in
your script in order to distinguish the tabs. If you want to delete the first
tab you need to switch to a different tab when the transaction starts with this
tab, since it is not possible to delete the active tab:
// 1st
tab active?
if
Q[Page=xxx first page]
Enter
"=IC02" // go to 2nd tab (example)
endif
The
2nd kind of tab is the "local" tab. These are rarely used in the SAP
system, but transaction CIC0 uses them in some places. Here all fields are
already on the frontend and the change between tabs is done locally without
application server interrupt, and without processing the GuiXT script again.
Please use the keyword "SetActiveTab" in this case.
|