Working R/3 Transactions and Screens
The following procedure summarizes the typical sequence of tasks you would perform when using the GUI Library to work with a certain application or transaction in R/3:
Connect and Log onto R/3.
Go to the desired R/3 transaction, by using one of the following methods:
ItEv_SetOKCode to set the transaction code to the desired transaction, and then send the event to the application server with
It_GetTransaction function to go to the desired transaction (you do not need to use It_SendEvent when using the It_GetTransaction).
Let the user enter data into the transaction screen, or change the contents of the event structure programmatically, with the ItEv_* functions.
Send the new contents of the event structure to the R/3 application server with the
- Get the data for the transaction screen from the R/3 application server, by using
You repeat the operations of sending the screen data to the R/3 application server with It_SendEvent and then capturing its response with the It_GetEvent as necessary.
sample program SAMPLE.C for an example of using these functions.
When working with R/3 transaction screens you can programmatically perform any task an end user can perform with the R/3 transaction screen. You can:
Select a menu option
Enter data into fields on the screen
Select from a list or matchcodes
Select an option from a radio button set
Choose a button