cancel
Showing results for 
Search instead for 
Did you mean: 

xMII Input (Data entry) screen

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

sufw
Active Participant
0 Kudos

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

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

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

former_member666714
Discoverer
0 Kudos

can not open this link. can you update it

mynynachau
Community Advocate
Community Advocate
0 Kudos

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)