Handling events in BSP application using WML tag Extensions

Hello Everyone  ,
                        We are developing a BSP applications for Mobile handheld using WML tag library. I am looking for some code samples to know how we can handle evevents inside the BSP using the WML tag library.
Can any one of  you plesae help us by placing a code snippet for handling onInputprocessing() methods (BSP Using WML Tag extensions).
I mean to ask how we can handle events inside the BSP applications that uses the WML tag library.
I know about how to handle BSP events using HTMLB and XHTMLB tags frameworks.
Thanks for your help in advance.
Thanks,
Greetson

Is this WML tag library something that is supplied by SAP u2013 as a BSP Extension Element?  Or are you just using WML tags directly in your layout?  I can tell you in general that if you want to generate HTMLB events from regular HTML code you can generate the JavaScript calls using the htmlbEvent tag of the BSP extension library.  However your tags have to be running within an HTMLB Content tag for this to work.
If you want to work totally without HTMLB then you need to use the simple HTTP Post but format the input name as OnInputProcessing(<function code>) like this:
<input type="submit" name="OnInputProcessing(ok)" value="OK">
This will cause the OnInputProcessing event handler to trigger without needing any HTMLB tags (this is how it was done in WebAS 6.10 before we BSP Extensions).

Similar Messages

  • Hi..handling events in console applications

    Hi,
    Can anyone tell me how to handle events in cosole applications...
    I want to trap the event when a user closes the the console window....
    THANKS IN ADVANCE
    Rama

    Hi,
    No, I don't think so. A console application can only read from standard input (and you can read the return key that way). But I don't think that you can detect if ctrl is held down by a user, I think you need an UI for that, but I'm not 100% sure since I haven't had the need for it.
    /Kaj

  • New BSP Application using BOL Entities!..

    Hi All,
    Is it possible to create a new (Custom) BSP application using standard BOL entities, used in ICWC?.
    I have a requirement to create a BSP application which maintain service tickets (Transactions). If I can use the BOL entities it will be more convenient for the developement. When I tried to develope a sample application using standard BOL entitity(BTOrder, BTAdminH, etc), it failed!.
    Anyone did similar developments ?. Please Help!.
    Thanks, Sudeep..

    Requirement ruled out

  • Problems with BSP application using HTTPS in EP6.0

    We developed a custom BSP which uses HTTPS protocol and HTMLB tags.  The BSP page has a date field (htmlb inputfield of type date..which allows the user to pick a date).  If I run this BSP in its own browser window, clicking on the date field will display a calendar.  However, if I run this BSP as an iView in the portal (we use EP6.0) and click on the date, I see a Javascript error message (in the browser status area) that says "access is denied" and the calendar isn't displayed.                           
    Also, this BSP is a stateful application with the portal integration flag checked.  However the DSM terminator is not invoked when I close the iView.                                                                 
    If I change the BSP settings to use HTTP, I can run it as a portal iView without any such problems.  Has anyone experienced this and/or know how to resolve it?  Any feedback would be greatly appreciated? Thanks,                         
    Pradeep

    Hi Pradeep,
    You replied that you have "I fixed the date dropdown issue by specifying the theme in iView definition", could you please let us know where to specify the theme because when i ty to create the BSP iView i never get the option for specifying the theme,your assistance would be highly appreciated,do we have any Note on this issue.
    Regards,
    Rohit Pathak

  • E-recuitment-BSP Applications used

    Dear Experts,
    I am trying to understand the use of BSP's in E-recruitement. I am looking for materials that details the BSP's used in E-recruitment and how they are applied in E-recuitment. Any input on this would be of much help to me.
    Thanks and Regards,
    Pavithra

    Hello Pavithra,
    E-Recruiting uses the BSP technology for user interface. For E-Recruiting 300 BSP was the only user interface, with E-Recruiting 600 SAP introduced WebDynpro for candidate as an option, while for recruiters, managers and admin pages stayed with BSP. With EhP 4 WebDynpro replaces BSP for all E-recruiting applications.
    You will find all BSP applications relevant for E-Recruting in Package PAOC_RCF_UI.
    For the general structure. The very most applications are grouped on startpages for the different roles in the recruiting process (ext. candidate, int. candidate, recrutier, decision maker, ...). To get the links of these standard startpages just run report RCF_GENERATE_URLS. You can then logon to the different startpages but be sure to generate a candiate for your user first, using report RCF_CREATE_USER.
    To learn more about how the different applications are linked within the startpage check the startpage and perhaps the container sequence customizing. Keep in mind that in the IMG only the customer entries are fond. To see the sap standard delivery you will have to use SE11/SE16. E-Recruiting customizing is stored in T77RCF* tables, startpage customizing is T77RCF_SP and container sequence customizing is T77RCF_CS. If you do not get along with the table descriptions just check the technical info of the tables/views behind the IMG nodes, then look for an table named without the C at the end. also check table T77RCF_LOG_APPL.
    I hope that helps for a start.
    Kind Regards
    Roman

  • Development of BSP application using BSP_WD_CMPWB in CRM 2007

    Hi
    I am  to develop an BSP application in web client UI ( using BSP_WD_CMPWB transaction code)
    in CRM 2007could any one suggest me the tutorial i need to go through for this?
    Ajay

    Hi Ajay,
    this is the link that u can visit for BSP application
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/a7/881e3aa03ddb0fe10000000a11402f/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/7a/b86041397211d5992200508b6b8b11/frameset.htm
    If u want to enhance any component of the BSP application then these documents would be helpful
    http://help.sap.com/saphelp_crm60/helpdata/en/df/92fd2caf844d8daf890224d9761cbd/content.htm
    http://help.sap.com/saphelp_crm60/helpdata/en/51/dfdf460f464db1b483d9c2a1bcd488/content.htm
    http://help.sap.com/saphelp_crm60/helpdata/en/31/33591017f24cb68ef6ebf2ff575c2d/content.htm
    Regards
    Mayank

  • Authenticate BSP application using LDAP

    Hi,
    Thanks to Durai Raja for his earlier inputs in setting up LDAP connector in SAP. We were able to connect to our LDAP from SAP ( We use Novell eDirectory 8.5).
    I also wrote a small program as below and I am getting back results from LDAP. We want to build BSP application where users would enter LDAP User ID and password and we want to Authenticate BSP application based on this input. My questions are
    1) Is it possible to Authenticate BSP application based on LDAP user ID and password.
    2) IF so, what is the function module to use. I searched LDAP_* but did not find anything.
    3) If we authenticate using LDAP user ID and password, do we have to provide SAP User id and password in SICF and allow all users to log in using same SAP user ID and password ?
    Niranjan
    data: dns_out type table of ldap_dnii,
          ldapinfo type ldap_dnii,
          attrs_io type table of ldap_atii.
    call function 'LDAP_SIMPLEBIND'
      exporting
        serverid = 'HQLDAP'.   " Logical Server ID set in LDAP tcode
    if sy-subrc eq 0.
      call function 'LDAP_SEARCH'
        exporting
          base     = 'o=xxxxxxxx'  " Company's Base
          filter   = 'uid=xxxxxxxx'  " Novell User ID or LDAP user ID
        tables
          dns_out  = dns_out
          attrs_io = attrs_io.
      if sy-subrc eq 0.
        loop at dns_out into ldapinfo.
        endloop.
      endif.
    endif.

    Thanks Raja for your inputs. This is our requirement.
    We have about 350 SAP Users and about 700 Novell Users (computers). We want to provide Employee Personnel Information like Vacation details, Savings/Insurance details in BSP application. But half of them cannot access because they don't have access to SAP. We cannot give access to all of them since we have only 400 licenses. So, we were thinking to Authenticate against Novell Used ID and password and show them their personnel details. We have a mapping between Novell Used ID and SAP HR Empl # and so we can easily get their information. So, we want users to authenticate using Novell Used ID and password (each Novell user ID is mapped as LDAP ID) and, if it is successful, show their personnel details.
    How can we achieve this ?
    Niranjan

  • Loggin intp BSP applications using SAP Dialog user

    Hi,
    I used SAP - service type user to log into my BSP applications in the following way:
    ========================================
    data: usr type bapialias,
    pwd type bapipwd.
    data: return type table of bapiret2,
    wa_return type bapiret2,
    bname type USUSERNAME.
    usr = request->get_form_field( 'username' ).
    pwd = request->get_form_field( 'password' ).
    CALL FUNCTION 'SUSR_INTERNET_USERSWITCH'
    EXPORTING
    ALIAS = usr
    PASSWORD = pwd
    IMPORTING
    BNAME_AFTER_SWITCH = bname
    TABLES
    RETURN = return.
    loop at return into wa_return.
    err_msg = wa_return-message.
    endloop.
    if bname is not initial.
    navigation->goto_page( 'main.htm' ).
    endif.
    ===========================================
    From the above, i am able to log in successfully. INow i need to log in as SAP Dialog user. Is there any way where i can log into BSP where the sap users are dialog types..
    Thx,
    Rajesh

    Hey Raja,
    Thanks for ur timely suggestions.
    Now its working fine.
    I am closing this issue.

  • Help! writing japanese using jsp tag extension

    Hello Group !
    I'm having problems implementing a simple jsp tag extension.
    I've written a written a short code that is invoked in my tag (see below).
    The code goal is to write two japanese letters. However, all I get are two
    single-byte letters which my browser displays as '?'.
    What should I do to make Weblogic write japanese and not Latin ?
    Should I dynamically mess with the Locale ??
    Any help would be highly appriciated.
    Here's my piece of code:
    public class myBlock extends javax.servlet.jsp.tagext.BodyTagSupport {
    private void parseTagBody() throws IOException, JspException
    ServletResponse response = (ServletResponse) pageContext.getResponse();
    response.setContentType("text/html;charset=EUC_JP");
    pageContext.getOut().write(38498);
    pageContext.getOut().write(39745);
    pageContext.getOut().flush();
    Best,
    Tal Moshaiov

    dataTable might help.
    [example 1|http://www.javabeat.net/tips/46-hdatatable-java-server-faces-jsf.html]
    [example 2|http://www.jsftoolbox.com/documentation/help/12-TagReference/html/h_dataTable.html]

  • Capture Browse Event in BSP application

    Hi guys,
    i have a BSP page which contains a browse button and a drop downlist. my requirement is to enable a button only when the value is selected from the dropdown list and the text field of the browse event is filled.
    the problem is that am able to capture the selection from teh dropdown list however am not able to determine whether the browse button was clicked and hence a file name been selected.
    i wanted to know if there is any kind of event which is trigger when the browse button is presse in the page.
    thanking you for your aids.
    fardeen.

    I found a piece of code whereby the author insert an Event name(OnInputProceesing) in one of the onaction event.
    I have not tried it yet, but will do it in the near future
    Since i got no replies here, i'l close the thread.

  • Additional error handling within a production application using SQLERRM

    I have an application that is already in production. What I would like to do is to add additional error detail currently captured within the SQLERRM. I would like to capture detail such as: where the error occurred ie. what procedure in which package attempting to insert in which table etc. etc. Is this something that I can do easily without writing hundreds of exceptions into the existing code? Please respond if you know of a way to do this.
    Thanks in advance

    Probably not, unfortunately. To get that level of detail, you would need to go in to every procedure and add appropriate exception handlers, state variables (so you know what table you were inserting into). Adding error handling into any application after it is "done" is going to require some heavy lifting.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • BSP application using classification data

    Hi, I haven't found the answer anywhere yet, so here is my question:
    I have to change a standard SAP 4.7 sales transaction VA01 using the configurator into its Web version, using BSPs.
    If I try to make it as simple as possible, will it be easy to keep the standard interaction between the classification data in the web screens ? ("if charactéristic C1 = A, then char C2 = B...")
    Thanks very much for any help !
    Jean

    Hi Dezso,
    Sorry I wasn't totally clear...
    In VA01, you can use sell a configurable product. In this case, you call up a configuration screen, which is basically a list of characteristics (from the classification system), and you assign values.
    When you do that, you can have interaction between the characteristics values.
    Now in my new project, the customer wants to do the sales on a web screen, which means using the BSPs to 'translate' VA01 to a web page.
    And I was wondering if I could keep all the behavior from the SAPGUI screen (matchcode, authorization check, interaction between the characteristics...) on the web version.
    I hope this is more clear ?
    Regards
    Jean

  • Why to use htmlb elements in bsp applications

    Hi All,
       I have a doubt that why to use htmlb elements for implementing user interface in bsp applications .Implementing bsp application using htmlb is difficult than html because we have handle event triggering in oninputprocessing but this is not required in html.Can anybody help me out in understanding the advantages of htmlb over html. 
    Thanks in Advance......

    Dear Srilalitha
    Re: Why htmlb is prefered to normal html code ?
    Please go thorught this. This will surely help.
    Regards
    Vijay.M

  • Calling a custom BSP application in CRM2007  ICWC using transaction launche

    Hi Experts,
    I created a Z BSP application in se80 which is a statefull application.Now I created a direct link in ICWC for this Bsp application using transaction launcher.
    Now my problem is that the session of this BSP remains active even if I click on some other link in the navigation bar.
    I need a way to end the session as soon as we navigate to some other link on the navigation bar.
    It would also be helpful if I just know the code for killing the session programatically.
    Helpful Answers will be rewarded!!
    Thanks,
    Ashish.

    Hi,
    I am not sure, but according to my understanding u can use CL_BSP_SERVER_SIDE_COOKIE class in ur BSP application to get refrence of ur BSP page.
    When u r in Web UI by the help of this class u can check whether u r in BSP related view or in other then view. If u r in other view then u can set runtime->keep_context = 0.
    Take help from this link for the class related info.
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    Regards
    Gaurav

  • Enhancing standard BSP application by using WebDynpro components

    Hi all,
    We have standard BSP application delivered by SAP; we need to enhance the functionality and some new views to meet our requirement. We have planned to develop new things in WebDynpro ABAP and attach those to BSP.
    Is it good practice to use WebDynpro component instead customizing BSP application?
    If any body has fair knowledge on BSP and WDA, please let me know.
    Regards,
    Rajesh

    hi
    good
    BSP->
    It is a set of pages that represent a user interface (layout and page flow definition). The layout part of a page normally contains ABAP or JavaScript code which is inserted into the HTML structure. They can contain server-side scripting code in either JavaScript or ABAP. BSP applications use all the conventional ABAP technologies, such as Open SQL and internal tables, allowing developers to create Web pages quickly. This enables existing SAP logic, data structures, and interfaces to be directly used in Web applications.
    http://www.thespot4sap.com/Articles/SAP_WAS_BSP_Apps.asp
    WDA->
    Web Dynpro for ABAP or Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web applications in the ABAP environment. It consists of a runtime environment and a graphical development environment with special Web Dynpro tools that are integrated in the ABAP Workbench (SE80).
    Web Dynpro offers the following advantages for application developers:
    &#9679;      The use of declarative and graphical tools significantly reduces the implementation effort
    &#9679;      Web Dynpro supports a structured design process
    &#9679;      Strict separation between layout and business data
    &#9679;      Reuse and better maintainability by using components
    &#9679;      The layout and navigation is easily changed using the Web Dynpro tools
    &#9679;      Stateful applications are supported – that is, if the page is changed and the required data remains intact so that you can access it at any time throughout the entire application context.
    Note that stateless applications are not possible.
    &#9679;      Automatic data transport using data binding
    &#9679;      Automatic input check
    &#9679;      Automatic operation of the Web Dynpro application using the keyboard
    &#9679;      User interface accessibility is supported
    &#9679;      Full integration in the reliable ABAP development environment
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/content.htm
    thanks
    mrutyun^

Maybe you are looking for