Capture Data from BSP

Hi All,
I have a BSP application which i am calling in an WD ABAP Iframe. The BSP Application uploads a file and validates for encryption. IF it is, then a pop up tells it is, else a pop up shows a error message.
I am unable to capture this result and send it back to WDABAP.
How can i capture the variable result and send it to WDABAP.?
In which event shall i add my code? Any help will be great as i am new to BSP.

Hi Runal,
I built something similar recently at one of my customers.
I used the Web Dynpro Notification framework as a semaphore to let the WDA application know when the BSP page had concluded processing.
In WDA you setup the notification and grab it's ID.
lv_event_id = cl_wd_notification_service=>get_service(
    wd_this->wd_get_api( ) )->register_new_event( 'BSP_DONE' ).
Then when you call the BSP you need to pass the ID as a parameter so it knows what it is.
When the BSP page is ready to signal to the WDA application that it is complete it clears the notification
cl_wdr_notification=>update_event_status(
    EXPORTING
      event_id = lv_event_id
      status = cl_wd_notification_service=>c_status_done ).
The WDA application will now execute the previously registered event - in this example 'BSP_DONE'.
Cheers
Graham Robbo

Similar Messages

  • Capture data from a http request

    i am really new learning abap and i just playing around so i looking a way for capture data from a http request giving the request value and submit for respont something like :
    put the url "http://www.imdb.com/find?s=all&q=" in some way and way for the data to request by the user
    val = 'user_entry'
    result =(any_Function)http://www.imdb.com/find?s=all&q=val
    write / result.
    pd: sorry for my bad english

    Welcome to SDN.
    If you are saying that you want to read some request from the HTTP page,then you have to do it with BSP instead of ABAP.
    Check this link for BSP.
    /message/1688265#1688265 [original link is broken]
    Regards,
    Amit
    Reward all helpful replies.

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • Capturing data from ALV grid

    Dear experts.
    Can anyone help me to capture data from ALV grid to pass to a BAPI FM.
    My ALV grid has the check box as first column and I want to capture only the rows in the grid with these checkboxes checked. I would prefer to do it without OO.
    Regards
    Sathar

    Loop at the table used for ALV data where <checkbox-field> = 'X'.
    Best,
    Jim

  • Capturing data from a website

    Hello,
    I would like to capture data from websites, or get a snapshot
    of a given URL. I was wondering how this would be posible using
    Java.
    Any help or comments will be greatly appreciated.
    Chanie

    Thanks, that worked beautifully.
    I was wondering if you could help me with one more point.
    There are some webpages that before getting to them you must
    give a username and password. I was wondering how I could get
    data from such a webpage if I know the username and password
    using Java.
    Thanks in advance.

  • Capturing data from a RS232 device

    how do I capture data from an RS232 device to my APEX application. Precisely, I am using a barcode scanner and I need to know how to get the barcode data into an item (say P12_barcode) in my application. I have tried the keyboard wedge and the problem is that I have to set the input focus each time I need to collect the barcode of an item, so I have to switch to RS232 mode but how do I get this barcode data now?
    Please HELP...

    Thanks a trillion for this reply! wether your reply was helpful is an understatement in this matter!
    That is the type of Barcode scanner I am using man... they call it USB Keyboard emulation. It scans into note pad, word processors and text items freely.
    In my design for a solution to this problem, I have on paper, your type of solution but I lack the ability to set the focus on the desired Text Field when my cash_sales page loads.
    Secondly you said "I did have to set it to include a "Enter" after each scan" that touched upon another bug in me: I had always wanted the form to submit after each scan so that my procedure can use it against the items database and display the item in my Current Transaction Report. How did you set it to include a "Enter" after each scan? Is it on the scanner or at the page item level?
    Precisely I am using Metrologic MS9520 barcode scanner a.k.a Honeywell MS9520 barcode scanner!
    If I can set a cursor in my Px_Barcode text item after loading my CASH_SALES page and automatically submit the page after a scan(without clicking any button) then my nightmare is over...and you become my Virgo 2009 Hero.
    Happy September :)

  • Capturing Data from forms before it is stored in the table

    Hi...I would like to capture data from a form before the data is stored in the database. that is, i would like to access whatever data is entered into a field right after the user pushes the Insert button. I would like to do some processing on the data and then store it in the table along with the data from the other fields. Is it possible to access it through a bind variable or something? Please tell me how to go about it. Thanks

    Hi,
    You can make of the session variables to access the values. Every field in the form has a corresponding session variable with the name "A_<VARIABLE_NAME>". For example for deptno the session variable will be "A_DEPTNO"
    Here is a sample.
    declare
    flightno number;
    ticketno varchar2(30);
    tdate date;
    persons number;
    blk varchar2(10) := 'DEFAULT';
    begin
    flightno := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_FLIGHT_NO');
    ticketno := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_TICKET_NO');
    tdate := p_session.get_value_as_date(
    p_block_name => blk,
    p_attribute_name => 'A_TRAVEL_DATE');
    persons := p_session.get_value_as_number(
    p_block_name => blk,
    p_attribute_name => 'A_NOF_PERSONS');
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_FLIGHTNO',
    p_value => to_char(NULL)
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_TICKETNO',
    p_value => to_char(NULL)
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_TRAVEL_DATE',
    p_value => to_char(NULL)
    end;
    In the above example the values of the variables are got into temporary variables and session variabels are set to null.
    Thanks,
    Sharmil

  • Using streams to capture data from physical standby database.

    Does anybody know if it is possible to use streams to capture data from physical standby database instead of PROD database? The standby database is in read only mode. We use Oracle 11gR2.
    Thanks in advance.

    physical are closed : how will it managed the queues and overspill queues when target is not present? Also the data dictionary must reflect the primary but If you run capture, then you introduce rules that are not on primary: How ?

  • Pass data from BSP to WebDynpro Abap

    Hi,
    Can anyone pls tell how to pass the data from BSP to WD4A Application.
    I am trying to call the WDA URL using the class CL_GUI_FRONTEND_SERVICES in BSP,but it is giving a run time error.
    How to call the WDA URL from the classes in BSP & not using iFrame ?
    Thanks,
    Krishna

    Hi Raja,
    Can u pls tell the class which the object navigation->goto_page( url ) refers to.
    My main requirement is to call the WDA URL from a class in BSP Application.
    Since there is no GUI connection i'll be not able to use class CL_GUI_FRONTEND_SERVICES.
    So i need a class which will call URL before passing data.
    Thanks for the same,
    Regards,
    Vamsi.

  • On my mac, photoshop cc "save as" removes capture date from exif data. How do I prevent this?

    On my mac, photoshop cc "save as" removes capture date from exif data. How do I prevent this?

    You had to reinstall CS6 after cancelling the CC as both were from the same Adobe ID. You can always use & keep both CC & CS6 together.
    Please refer to the blog:
    Can I install both CS6 and CC apps on my computer? « Caveat Lector
    Other references are :
    Creative Cloud Help | Install, update, or uninstall apps
    What is the difference CS6 & CC Versions?
    Regards
    Rajshree

  • Hi, I would like to ask about how to capture data from real time loop.

    Hi,
    Here is some overvier of my project:
    I have done real time control using labview 9.0. I used PID controller.
    In order to optimise this controller, I need to capture data from my sensor(input) and actuator (output).
    1. For example while real time control is running. I need to capture 1000 sample data (sensor(input) and actuator (output)).
    Then I will used these data for PID optimisation on the other loop without intefere my real time loop.
    2. When PID optimisation is completed, I will sent its PID parameter to real time control loop.
    3. These operation is done in parallel.
    Anybody can help me to solve these. Your idea may solve my problem.
    TQ

    Typically you will have to use RT FIFO or Queue communication to avoid any impact to your time critical loop.
    Best regards
    Christian

  • Unable to capture data from Serial port using LVRT2010 in single core pentium 4 machine

    I am using application written in Labview using windows Labview
    Runtime environment 2010. Application creates a tunnel to intercept data from
    Serial port.
    My problem is, Currently, I am using single core Pentium
    processor. When I am trying to intercept the data between COM1 and COM7 (COM 7
    is a virtual port) it is not able to capture data.
    When I am running Labview RT environment using dual core
    processor machine it is running normally. I wonder whether it could be the compatibility issues with
    single core Pentium processor.

    Hi Magnetica
    Are both of the machines running the same runtime engine,
    drivers ect?
    Have you had RT applications running on this
    machine before?
    Is the development computer a 64bit machine?
    The processor is a supported model (See link below).
    http://zone.ni.com/devzone/cda/tut/p/id/8239
    Regards
    Robert
    National Instruments UK & Ireland

  • Using interactive form to capture data from user u0096 please helpu0085.

    Hi folks,
         I am trying to use an interactive form to capture some data from the user.
    This is what I have planned to do
    User runs a program which will have four function module calls
    (FP_JOB_OPEN
    FP_FUNCTION_MODULE_NAME
    'Function modules which the above function module returned'
    FP_JOB_CLOSE)
    This will display a print box where I can click on the print preview to get the interactive form.
    From here I am not sure how to go about, but following is what I can think …
    Once the user enters the data in the form and he should be given some button to click(say ‘save’). This button click should trigger the program (PAI) which will read the data from the form (this data will be saved to a Z table)..
    First of all, Can I do this? Please guide…
    Note: I am not using WebDynpro ABAP or JAVA. Rather I am trying to use a Module pool + interactive form solution.
    Thanks in advance

    could you tell me how to read data from the form ? which function module(s) to be used ?

  • Capturing data from usb webcam

    I'm interested in the acquisition of footage from a usb webcam into labVIEW. I have the professional development system and downloaded NI-IMAQ which I believe i'll need from reading online material.
    I don't really know where to start to link the camera with labview so any material would be a great help...
    Final question, is it a big undertaking acquiring data from a video camera in labVIEW? it's just i've limited time to work on a project and want to know if it's worthwhile undertaking or if it will be very time heavy. I've a few months labVIEW development experience if that would give an indication to anyone...
    Strokes 

    Hi,
    First your USB Cam needs to be DirectShow Compliant.
    Then you will need NI-IMAQdx from the Vision Acquisition Software 2009 (supports LV 8.2 and higher) or higher to acquire images from USB cameras. The NI IMAQ driver is to capture images from framegrabbers, and the NI SmartCamera, not for USB. There is also a own IMAQ USB Library for the Vision Acquisition 8.6 but since you need to buy the Acquisition Software I would recommend to use 2009 or higher where we added the DirectShow Support to IMAQdx.
    The Vision Acquisition Software is just for image acquisition and processing. If you want to do image processing you will need the Vision Development Module.
    And when doing a search at ni.com you should find some articles, examples and tutorials too.
    I can't estimate how much time you will need get that running, but you could just try to run one of the examples for IMAQdx in LabVIEW and then see how it works.
    Christian

  • GP - CAF : How to capture data from impersonalized form.

    Hi All,
              I have a requirement where in I have submit the data offline using an Adobe form and this data should be fed to an RFC any no if times.
    I have created a interactive callable object (Impersonalized form) using a form template. I'm able to download the form and submit any no of times.
    But the problem I have here is: I do not see any way to capture the data from the form and input it to the RFC. Please let me know if any of you have any ideas.
    Version: Netweaver 2004s SP15
    Thank you,
    Vasu Mullapudi

    I got the solution.
    GP Process in design mode have a tab Forms. Here, we can add the Interactive form callable object (Impersonalised form) and can map the fields to the process context.
    Thats it. Whenever you submit the form, the process is run with the form data and the job is done.
    Note: If the data is not sent to the process, try from the callable object in design mode -> Configuration tab.
    Here while selecting the Start process Upon completion, you have a option for mapping fields.
    Thank you,
    Vasu

Maybe you are looking for

  • Can I transfer apps from 1 iTunes account to another?

    Can I transfer apps from 1 iTunes account to another? Or can I make a copy for another account?  How would I do this?

  • Facebook notifications while using seperate email folders?

    I don't use the primary message folder because I like my emails seperate. When I get a Facebook notification via email, it would typically be intercepted by the FB app and would go to the location on the FB app (Like messages or notifications). This

  • Adjustment of inventory between SAP and Legacy system

    Hi Gurus, Here is the scenario: 1) One plant within a company code is in SAP and the other plant in a same company code is still in legacy. Since both of them are Not in SAP, I cannot do an STO.  But, ROH materials need to be moved from the legacy pl

  • How to know the Z tcodes being used by the company.

    Hi Everyone, Can you please tell me how do i know what are the Z tcodes being used by the company.My client is asking me to check all the Ztodes & tell them if there is any problem in them or not. Regards, Reah

  • Gnome 2.24 and openbox

    Hello, after upgrading to gnome 2.24 I noticed that I can't use openbox anymore to replace metacity.  The openbox/gnome session in gdm doesn't seem to work anymore. Once I'm in my Desktop Environment I can run 'openbox --replace' and this gives me my