280 likes | 389 Views
ORNL SAP Applications for Telephone and Space Assignments. Connie Begovich Oak Ridge National Laboratory. Various Topics. Background Integration with HR data and Workflow Basic Description/Demo Usability Comment Development Environment Testing Environment Specific Javascript.
E N D
ORNL SAP Applications for Telephone and Space Assignments Connie Begovich Oak Ridge National Laboratory
Various Topics • Background • Integration with HR data and Workflow • Basic Description/Demo • Usability Comment • Development Environment • Testing Environment • Specific Javascript
Background • Telephone costs and space costs • Charged back to individual organizations • Based on a flat rate(s) • Uses cost object assigned to a person for phones • Uses room square footage assigned to an organization for space
Roles Assigned • Division Telecommunications Officers are assigned to organizations to handle telephones • Division Space Coordinators are assigned to organizations to handle space assignments • The Space Allocation Manager (SAM) is responsible for space in the entire Laboratory • Finance Officers (assigned to organizations) handle cost objects assigned to individuals and organizations
Telecommunication Workflow • Division Telecommunications Coordinators (DTCs) can reassign a phone to another Division’s personnel • Workflow sends email and workflow request to receiving division’s DTC; they approve or disapprove • Sender informed of results
Space Workflow • Division Space Coordinator (DSCs) can change • Room function, no approval required • Other room parameters, SAM must approve • Organization assignments within division, no approval required • Assignment to another division, requires approval of recipient and SAM • Return to unassigned space, requires 90-day wait, walk down, and approval by SAM • Division Space Coordinator can request unassigned space
Applications • Selection screens • Only DTCs can use this application • Anyone can use space app; DSCs can make changes • Display and update of assignments • Workflow review and update
Usability Issue • Two specific methods of updating • Reassign blocks of rooms to organizations • Change the assignment of one room • Two methods for updating • Choose a set of rooms with checkbox • Select a room and update it only
Development Methods • No SQL to SAP tables • Remote Function Calls used • Alternative Methods for Development, main ones used are • CGIs • SAP Internet Transaction Server
Testing Environment • Standard landscape • Development • Quality Assurance • Production • Web pages also follow landscape • Use system/directories for determining which landscape
JavaScript for Dropdown Synchronization • Two dropdown lists need to stay synchronized • When item is changed in the first one, the second one needs to change • When the user leaves the screen using the browser and comes back • the two lists must be synchronized • Of course, Netscape 4.7 and IE/Netscape 7 treat it differently
<html> <head> <form name=myform> <script language="Javascript"> var holditem = 2; var holdsub = 1; listsub = new Array( new Array( new Array("Item1A", "1A"), new Array("Item1B", "1B")), new Array( new Array("Item2A", "2A"), new Array("Item2B", "2B")), new Array( new Array("Item3A", "3A"), new Array("Item3B", "3B"), new Array("Item3C", "3C")) ); function fillOptions(optionCtrl, itemArray){ var i; var j = 0; var prompt; for (i = optionCtrl.options.length; i >= 0; i--){ optionCtrl.options[i] = null; } if (itemArray != null) { for (i = 0; i < itemArray.length; i++){ optionCtrl.options[j] = new Option(itemArray[i][0]); if (itemArray[i][1] != null){ optionCtrl.options[j].value = itemArray[i][1]; } j++; }; optionCtrl.options[0].selected = true; } } function loadSub(){ if (navigator.userAgent.indexOf('Netscape4') == -1 ){ document.myform.item.selectedIndex = holditem; document.myform.subitem.selectedIndex = holdsub; }} function returnV(){ if (navigator.appName != 'Netscape') { document.myform.item.selectedIndex = holditem; document.myform.subitem.selectedIndex = holdsub;} } </script> </head> <body onLoad="loadSub();" onUnLoad="returnV();"><center> <form name=myform> <br> <a href=https://home.ornl.gov/sap>SAP Home</a><p> <table width= cellpadding=2><tr><td align=center colspan=02><font size=+1>Change Item/Subitem <tr><th>Item<td><select name=item onChange="fillOptions(this.form.subitem,((this.selectedIndex == -1) ? null :listsub[this.selectedIndex]));"> <option value=1>Item 1</option> <option value=2>Item 2</option> <option value=3 selected>Item 3</option> </select> <tr><th>Subitem <td><select name=subitem> <option value=3A>Item 3A</option> <option value=3B selected>Item 3B</option> <option value=3C>Item 3C</option> </select> </table></form></body></html> Dropdown Synchronization
Questions? More Demo? Acknowledgments • Development of these specific applications • Lamar Lepard and myself of ORNL SAP Team • Development of the other SAP web applications • Rob Tannert and other developers of ORNL SAP Team