Trigger server round trip from input field

HI,
I have a normal  input field with  F4 help. I am trying to trigger a server round trip after selecting a value using the value help. I tried with the following code in the P-getter method , but is not working.
when iv_property = if_bsp_wd_model_setter_getter=>fp_server_event OR
           iv_property = if_bsp_wd_model_setter_getter=>fp_onclick.
    rv_value = 'myeventname'
is it because the fp_server_event or fp_onclick are only valid for a dropdown and not for a normal input field as in my case ?
Please help.
regards,
Amrit.

Amrit,
I too checked now, there is an importing paramter. Try using code like this
CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
    EXPORTING
      iv_help_id        = 'CRMD_PRICING-CURRENCY'
      iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
      iv_input_mapping  = lt_inmap
      iv_output_mapping = lt_outmap
      IV_TRIGGER_SUBMIT = abap_true.
Thank you Bhavishya for the tip.
(I dint try it yet.)
Regards,
Masood Imrani S.

Similar Messages

  • How to avoid server round trip?

    Hi,
    I am customizing UI for emergency contacts(ESS -> personnel info).
    When a value is corrected (changed after an error from server) in a text field and clicks review button nothing happens.
    It seems like I have to make a server round trip for the text value to be updated and be recognized (if I select a value in the other drop-down it makes a round trip and then recognizes the value I entered in the text field.)
    How to avoid this situation? Is there a work around for this?
    Please advise.
    Thanks,
    Dileep

    Dileep,
    Web Dynpro framework carries out round trip for some UI elements(liek table row selection). As per my knowledge this cannot be controlled or mdofied.
    Regards,
    Ganga

  • How to minimize Client-Server Round-trip in ADF Faces application ?

    Hi All,
    We have just finished POC on our prototype of ADF Faces + ADF BC application. The POC Emphasizes on Bandwidth requirement.
    After receing the result from the communication provider, including : TCP packets send, Bytes sent from/to server and number of Client-Server Round-Trip.
    There are several part of the application that Must be tuned for the application to run on acceptable performance.
    Here is some page/ function that should be tuned :
    - First page, ADF Read Only Table with two images and some buttons, cause 5 round-trip
    - ADF Dialog Returning Value (as LOV), cause 4 Round-trips
    - On ADF Form, press Commit button, cause 3 Round-trips.
    So the question is :
    1) How to reduce round-trips on ADF Faces application ?
    2) How to minimize the bytes send from / To server on a specific user action ?
    Please give me some recommendation..
    Thank you very much,
    xtanto

    Hi Frank and Steve,
    Thank you for your reply.
    Yes Frank, what I mean by Round-Trip is the traffic between Client and the Server. And Yes, we will use VSAT where the latency is 1 - 1.5 second, so that round-trip matters significantly.
    What I will do is :
    - use minimal skin and No image at all
    - don't use Dialog for LOV because it requires AutoSubmit there.
    - Use 'Apply-Changes' button to do server-side validation before Commit.
    Then do the POC / testing again.
    Thank you,
    xtanto

  • Add data to table view from input fields in a page

    Hi
            I am developing a BSP page which will be called from SRM shop transaction. After user enters the line item data, data will be passed back to shop transaction using OCI interface and the page attributes (URL).
       (1) How can I add data from input fields to table view on a page on a button click? I am able to add first line but I could not retain first line data when I try to add the second line.
          I am able to add multiple lines to table view if I use view and controller by adding to the line data to static attribute of the controller. I can’t use the controller and view because I can not set the attribute to Controller automatically.
       (2) Is there a way to pass an attribute (URL) to controller from SPRO? Like we pass an attribute to page automatically (Automatic page attribute).
       (3) How can I call a controller and view and pass the page attribute to the controller on a button click from a page with out controller?
    Thanks
    Sreenivas

    I'm trying to test the merge with the following data in a test.txt file:
    ZZZZZ114923000004
    1234Z400660000001
    ZZZZZ114923000010
    Getting an error:
    SQL> @C:\dataformats\sql\pc12seriesMerge.sql
    Directory created.
    SP2-0552: Bind variable "17" not declared.
    SQL>
    here it the pc12seriesMerge.sql file
    set serveroutput on
    create or replace directory user_dir as 'c:\dataformats\incoming\';
    DECLARE
    v_filename VARCHAR2(100); -- Data filename
    v_file_exists boolean;
    v_file_length number;
    v_block_size number;
    f utl_file.file_type;
    s varchar2(200);
    lineString varchar(200);
    v_account varchar(5);
    v_IDN varchar(6);
    v_quantity varchar(6);
    BEGIN
    v_filename := 'TEST.TXT';
    DBMS_OUTPUT.PUT_LINE(v_filename); --shows filename
    utl_file.fgetattr('USER_DIR', v_filename, v_file_exists, v_file_length ,v_block_size );
    IF v_file_exists THEN
    dbms_output.put_line('File Exists');
    create table ext_table (
    account varchar2(5),
    idn number(6),
    quantity varchar2(6)
    organization external (
    type oracle_loader
    default directory user_dir
    access parameters (
    records delimited by newline
    fields (
    account position(1:5) char(5),
    idn position(6:11) char(6),
    quantity position(12:17) char(6)
    location ('test.txt')
    reject limit unlimited;
    MERGE INTO id_req_stg t
    USING (
    SELECT account,
    idn,
    decode(quantity, '-', 0, to_number(quantity)) as quantity
    FROM ext_table
    ) v
    ON ( t.account = v.account AND t.idn = v.idn )
    WHEN MATCHED THEN
    UPDATE SET t.quantity = v.quantity
    DELETE WHERE t.quantity = 0
    WHEN NOT MATCHED THEN
    INSERT (account, idn, quantity)
    VALUES (v.account, v.idn, v.quantity);
    ELSE
    dbms_output.put_line('File Does Not Exist');
    END IF; -- file exists
    EXCEPTION
    WHEN UTL_FILE.ACCESS_DENIED THEN
    DBMS_OUTPUT.PUT_LINE('No Access!!!');
    WHEN UTL_FILE.INVALID_PATH THEN
    DBMS_OUTPUT.PUT_LINE('PATH DOES NOT EXIST');
    WHEN others THEN
    DBMS_OUTPUT.PUT_LINE('SQLERRM: ' || SQLERRM);
    END;
    /

  • Trouble with the round trip from Soundtrack Pro 2 to Final Cut Pro

    I have edited a home movie together. I then have sent the sequence to Color for grading and then after completing the Color changes and Rendering. I sent it back to Final Cut Pro. It starts out working fine but during the transfer process it stops at somewhere between 50% and 60%. It is during the "Importing XML Data" phase. It just sits there and does not change and I have to force quit to get out of it. The exact same thing happens when I try to round trip from Soundtrack Pro 2 back to Final Cut Pro. So I am unable to make use of the changes I make in these programs.
    This is a round trip process that I have successfully made many times before. Nothing has changed. I am working in Final Cut Studio 2 with the latest updates on an Intel Mac. Any advice on how to remedy this situation would be greatly appreciated.
    Thank you in advance.

    Make sure your easy setup has the correct frame rate for your sequence.  Seems crazy but somehow or other fcp assigns a frame rate to audio files.   I've found this can sometimes be tricky to get right.  Here's what I've done to force the issue.  Make sure the easy setup frame rate reflects that of the target sequence in fcp.  Create a new project.  import the audio in the new project.  And then copy the clip from the new project to your main project. 
    Good luck

  • Trouble with the round trip from Color to Final Cut Pro

    I have edited a home movie together. I then have sent the sequence to Color for grading and then after completing the Color changes and Rendering. I sent it back to Final Cut Pro. It starts out working fine but during the transfer process it stops at somewhere between 50% and 60%. It is during the "Importing XML Data" phase. It just sits there and does not change and I have to force quit to get out of it. The exact same thing happens when I try to round trip from Soundtrack Pro 2 back to Final Cut Pro. So I am unable to make use of the changes I make in these programs.
    This is a round trip process that I have successfully made many times before. Nothing has changed. I am working in Final Cut Studio 2 with the latest updates on an Intel Mac. Any advice on how to remedy this situation would be greatly appreciated.
    Thank you in advance.

    Hard to say where the XML interpretation is getting lost... That it stalls at 60% could mean a number of things. If you have a cuts and dissolves simple timeline, that should not be an issue. Something is causing a corruption, though and it could be a media type, a filename (which can break folder paths), a filter or motion tab which generates an invalid value, or a recompression that violates the sequence settings.
    At this point, I start cutting up the original sequence and roundtripping it until it works, or breaks and then try to figure out what's different. Often there's something hidden like an imbedded recompressor in a nested sequence or something like that, that will allow COLOR will load, grade, render, and then not know what to do to re-write the export XML, or re-imbed it illegally.
    There are a lot of things that FCP does that editors take for granted that COLOR utterly cannot cope with -- but may deceptively carry along and then crash on the next step.
    jPo

  • Check box in ALV, server round trip

    Hello,
    I have a ALV list with about fifty row. The first column is a checkbox. The user now can click several checkboxes. But after clicking each checkbox it seems that the system does a server round trip, the 'egg timer' appears. Is it possible to stop this in order to do the round trip only when a button is clicked?
    regards
    stefan

    Hi rather than using checkboxes, try making the Table selection mode as MULTI and instead of using checkboxes, make users select Rows. That way for multiple selects, they can press SHIFT key and select records rather than selecting one by one. Also for distinct selects they can use CNTRL key.
    Easier way.
    You can easily get all selected elements by calling
    NODE->GET_SELECTED_ELEMENTS( ).
    If the number of columns in the table are less, then this way it will be faster.
    Thanks
    Anand

  • How to Change UI element from input Field to Date Picker

    Hi All,
    One Custom View is created in which we are pulling some fields from a custom context node created using the value Node.
    For one of the field which is already an input field we need to convert it to date picker.
    in the GET_P_METHOD
    CASE IV_PROPERTY.
    WHEN 'fieldType'.
    rv_value = cl_bsp_dlc_view_descriptor=>field_type_radio.
    WHEN 'radioCols'.
    rv_value = '1'.
    ENDCASE.
    We can change the attribute to clbsp_dlc_view_descriptor_ and bring
    checkbox,radiobutton,hyperlink and all but not finding anything for Date picker.
    Can anyone suggest a method by which we can convert a UI element to Date Picker.
    Any suggestions will be highly appreciated.
    Regards,
    Sijo

    The technical data type for that field should be DATS then input help will automatically come.
    Also in get_m method of that attribute should have
      metadata = cl_crm_uiu_bt_date_tools=>get_m_date( ir_model_binding  = me
                                                      iv_attribute_path = attribute_path ).
    Regards,
    Shobhit

  • Round trip from Aperture to PS CS3 and back problem

    Hi everyone; I hope someone can help me to solve this. I posted it before but the only suggestion I got was to check if the processed photo is not stacked under, which it isn't.
    I have PS CS3 set as my external photo processing app (exports are PSD 16-bit 300 dpi) in Aperture 2.1.1. When I process the picture in CS3 and then save it(mind you I only SAVE, I do not do SAVE AS) as PSD (or TIFF) Aperture only shows me the original file in preview with the little circle informing me about the round trip to CS3. So the processed file does not show. Instead I only see two identical versions of the same photo or a layer from CS3.( I mean, I see the master and the version with the little circle).
    If I save the work in PS CS3 as jpeg and then import into Aperture, it shows fine. When trying to import the processed and saved PSD and TIFF files, Aperture only shows the original file.
    If it helps, I am working on layered pictures (HDR) where I use different parts of different pictures to get wide dynamic range. I export 3 or so photos from Aperture at once to CS3, process them into one, flatten the picture and save it.
    And then Aperture just shows me the original file as version. I really need your help with this.
    I have done this before 2.1.1 and it worked. Not sure if I have changed anything that might be causing this.
    Thank you for your ideas.

    Ernie, the photos are captured by Canon XTi so they are in CR2, saved to my internal HD and then "loaded" to Aperture as referenced files.
    As for PS CS3, I am not sure whether I have it set up as a scratch disk or not (if you could let me know where to check it).
    Yesterday, I did yet another round trip and found out that when I finish in PS and SAVE and CLOSE, then the file shows up properly in Aperture. What I was doing before was I SAVEd if but did not close. Then I would SAVE AS in PS to make sure I have some kind of a version of the file if the one in Aperture fails to work.
    So it seems I cracked it but I would still like to hear what you have to say, or anyone for that matter. It seems to me that the SAVE-CLOSE is crucial.

  • Round trip from photoshop or portraiture causes problems(TIFF)

    And always has to be honest.  2 different computers, with this new LR build and and several before it.  Mac OS latest everything and previous builds..  Macbook Pro and imac..
    Edit in photoshop CS5 (and previous versions) as a TIFF, apply clone corrections and liquify fashion portraits.  Save and close and re-open for some final tweaks in Lightroom.  I still get erratic sliders, slow updates when moving sliders and jumping bars to previous values on TIFFs only.  Even worse when i edit in Portraiture App and skin smooth, save tiff and return to lightroom.  It takes a about 3 minutes to even show itself before editing, keeps flashing up then dissapearing again.
    If i remove Tiffs that have been through photoshop or portraiture and synchronise the folder to import them back into Lightoom my problems disapear..  but its tiring.  I now find myself using C1 more and more because the transitions between apps are smooth and problem free.  However i prefer the flexibilty, speed and control of LRs functions
    Others must be experiance this, it can't be fate this is happening on two different computers, old computers that have been replaced and previous versions of Mac OS and Lightroom.

    Ernie, the photos are captured by Canon XTi so they are in CR2, saved to my internal HD and then "loaded" to Aperture as referenced files.
    As for PS CS3, I am not sure whether I have it set up as a scratch disk or not (if you could let me know where to check it).
    Yesterday, I did yet another round trip and found out that when I finish in PS and SAVE and CLOSE, then the file shows up properly in Aperture. What I was doing before was I SAVEd if but did not close. Then I would SAVE AS in PS to make sure I have some kind of a version of the file if the one in Aperture fails to work.
    So it seems I cracked it but I would still like to hear what you have to say, or anyone for that matter. It seems to me that the SAVE-CLOSE is crucial.

  • How to change ui element from input field to TextArea?

    Dear colleagues,
    When I try to add an attribute of type string  in Ui configuration, I found it's by default INPUT_FIELD and can not change to text_area, does any one know how to do this?
    It will be better if you can tell me how to set text and get text from the text edit.
    Thanks and best regards,
    Adners

    Hi,
         It's simple. After you use the config tool to align your fields, generate the p_getter for your attribute and put in the following code.
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>FIELD_TYPE_TEXTAREA.
      ENDCASE.
    Setting or getting values are not a problem. You can do it the usual way by accessing the model/value bo's attribute values.
    Regards,
    Arun Prakash

  • How do I generate URL with multiple variables from input fields?

    I'm creating an ad with four input text fields labels fname, lname, city and prov, and I wanted to know how to generate URLs based on information entered into the fields. The text fields default to display "First Name," "Last Name," "City" and "State," respectively, but if a user does not enter information in those fields, I want the URL to behave as if those were empty, if that makes sense. The text fields are in a movie clip called "input_text" and the button is labeled "send". If any of you can provide insight, I would be greatly appreciative. Thank you.

    1. use if-statements to see if the text properties of your textfields meets your requirements for creating that url.
    2. you can use the flash string methods and properties to create your url.
    p.s.  the plus sign + can be used to concatenate strings.

  • & from input field

    I have a JSP input where the user can enter a parameter containing '&' .
    For eg: , they enter J&J for searching Johnson & Johnson
    How Can i read these parameters properly?
    The screen is submitted using POST
    Please advise

    ignore ,
    my mistake

  • Audio from Sony EX1r Camera will not round trip from Audition

    With Premier CC15 the audio from my Sony EX1R Video Camera comes back from Audition after the edit  just as a loud buzz.  It works fine in Premier 6 and also CC.  My Panasonic camera Audio, as well as all others work fine. 
    Can someone help?

    Giving up? Four product releases in nine months. That's a pretty aggressive development schedule for a new product.
    Motion is a separate development track and always has been. Roundtripping to Motion was not available in its first releases. Apple has taken a new approach with publishing and rigging, which has great benefits. It basically meant that the entire effects, transitions, generators, and titling architecture didn't have to be rebuilt in FCP and that the two applications can work together. There are a lot of things this allows. For instance, if you want to add effects from Motion to clips in FCP, roundtripping is quite unnecessary; simply publish the effect with the parameters you need and apply the effect inside FCP.
    Roundtripping is really useful for a lot of things and will probably be implemented. In the interim third party soluations using XML hooks are available.

  • Round tripping from Premiere CC to Audition CC back to Premiere-no video

    My last big project was on Adobe CS6 and roundtripped from Premiere to Audition and back to Premiere and it all worked out great. Been doing the recent project with Premiere CC to Audiition CC. Made the audio adustments in Audition, saved, etc and went to export under Multitrack>Premiere Pro(and keeping the individual stems).  When I saw the new sequence in PP project panel and opened it up, but all I got were the edited audio tracks, but no video. I tried it three times and the same thing happened. I can't send out the finished movie without the video. And I won't start over and copy and paste the video over the new audio sequence(still on seperate video tracks before the final tweaking). What was changed from CS6 to CC?

    Not a direct reply to your question but...
    I have only exported video to Audition as a reference track- preferring to use the PP timeline for the master export.  I somehow feel it's less prone to image quality loss (codec dependent!)
    To that end, I add the imported Audition mix-down either as a single or multiple stems, depending upon the project requirements,  and place them in sync in the original timeline.

Maybe you are looking for