Task description
Solution | Sample code, images | Restrictions, R/3 Release, Sapgui version, GuiXT version |
17 Structured parameters in function calls
When you call function modules (e.g. BAPIs) in an InputScript, you often need to handle structured parameters, both in imported and exported parameters. GuiXT does not support data dictionary based symbolic fields; instead you have to use substring notation, e.g. Set V[department] “&V[address](530-569)” // get department from address or Set V[address](530-569) “&V[department]“ // set department in address The maximum GuiXT variable length is 4000, which is enough for all existing BAPIs (GuiXT 2003 Q3 6 and upwards; in previous versions the size was restricted to 255 characters). In order to obtain the right substring notation for a given field, there are 2 possibilities:
To get necessary scripts, please click on the links on the right hand side. Note: As of GuiXT version 2004 Q1 2, data dictionary based symbolic fields are possible, see Tip 20 for an example. | GuiXT Script
InputScript Last update: September 15, 2003 | GuiXT version: 2003 Q3 6 and upwards InputAssistant |