on 11-21-2007 9:09 AM
Is there any way to create input/Data entry screens in xMII. The screen may in turn interact with some query template or BLS so that the user can insert data into some configured database or communicate with BAPI.
Hi Siddhartha,
one of the ways for doing this is to use HTML input elements, such as text fields, etc. to capture data from the end user.
You don't need to use a traditional HTML form to post information back to the server. Instead, simply use JavaScript to assign the contents of your input elements to the query parameters of an iCommand applet. The iCommand would point to a Query Template which executes the required SQL to insert the data into a database.
Of course, you will need to be careful not to have tons of easily exploitable SQL injection vulnerabilities, but it's one way...
Hope this helps,
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is even a simple script example in the docs: http://help.sap.com/saphelp_xmii115/helpdata/en/Applet_Reference_Details/iCommand_Reference.htm
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi and welcome to SAP Community.
While I found this SAP Help link that Jeremy might had referred to, please familiarize yourself with our SAP Community guidance on how to ask and answer questions in SAP Community. If you do have a question which needs help by the community, please search for existing questions in the community and if you don't find any, please ask your own question separately.
Best regards
Mynyna (SAP Community Moderator)
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.