Need help in writing coding in HTML?

HI All
I have requirement like this.
1st RFC i pass Plant and i will get trasportation point.
in display template i need to display trasportation point in dropdown box and user will select the trasportation point and iam passing this trasportation  to aother RFC and gettting shipment cost.
i need help in how to write coding in .IRPT
i created the transactions for both the RFC and its working fine.First RFC iam getting trasportaion point ...i created Xecute query.
I need how to display !st one in dropdown box and pass that data into 2nd RFC.
Regards,
Phani

Phani,
You have to use the iBrowser displaytemplate.
Map the transportion point Xacute qquery in iBrowser displaytemplate.
In code use : 
document.APP1.getBrowserObject().getSelectedItem();
Store the value of above code in a variable.
And pass this variable in other appalet which displays the R/3 details as below:
document.APP2.getQueryObject().setParam(1,var);
document.APP2.refresh();
-Suresh

Similar Messages

  • Need help in writing data from JSP to excel

    Hi ,
    I need help in writing the data from JSP to excel.I somehow able to retrieve the data into excel but unable to get the required format.
    For eg: The amount should be displayed in 0.00 format .when i am exporting it to excel it is displaying as 0 :( .
    I am using the following code in JSP.
    "out.print(amt + '\t');"
    Would like to know if there is any otherway where in i can get my requirement.
    Thanks
    Tom

    Hi,
    Try using format part of the JSTL tag libs.
    Syntax :
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <fmt:formatNumber value="40" pattern="$#,##0.00"/>
    I need help in writing the data from JSP to excel.I
    somehow able to retrieve the data into excelHow do u convert the jsp to excel?
    One way to convert the jsp page to excel, is to render it as an excel appl instead of html. Set the content type of the response to application/ms-excel.
    response.setContentType("application/ms-excel")Hope this Helps....

  • Need help for writing extract program

    hi
    i need help for writing extract program to retriew data from legacy system.
    i already developed bdc programs for me31k and me21.
    my requirement is to write extract program s for those t.codes.
    to retriew data from legacy system and stored in flat file.

    i need help with a java program. it is a program that allows the user to enter a student's GPA, number of extracurricular activities, and number of service activities. The user can not enter a gpa above 4.0 or below 0. The user can not enter a negative number for the number of both activities. If the student meets the following criteria: 1) GPA of 3.8 or above and at least one extracurricular activity and one service activity, 2) GPA below 3.8 but at least 3.4 and a total of at least three extracurricular and service activities, 3) GPA below 3.4 but at least 3.0 and at least two extracurricular activities and three service activities, the message "Scholarship candidate" should display. If the student does not meet the criteria above, then the message"not a candidate" should display. Can you help me, please?
    You haven't posted ANY 'java program' for us to help with.
    The forum is NOT a coding service. It is to help you with YOUR code.
    Post the code you have written and SHOW us (don't just tell us) how you compile it and execute it and the results you get. Then we can help you with any problems you are are having.
    If you need help understanding just what the program should be doing you need to ask your instructor to clarify the assignment.

  • Need Help in writing a UDF

    Hi,
    Please help in writing a UDF for these fields in mapping, which I need for the object Iu2019m doing currently.
    The fields are like this:
    1)         batch_no = "TRUNC((GetMaxObjid('x_txn_sap_parts')-POWER(2,28))/5000)+1",
    2)         lot_id = "TRUNC((GetMaxObjid('x_txn_sap_parts')-POWER(2,28))/500)+1",
    3)        How to use JDBC connection factory class in the UDF.
    Some logic I can provide which I know i.e. Power (2, 28) means 2 to the power of 28 (2 multiplied 28 times), Trunc means truncate, X_TXN_SAP_Parts is a database table.The Target fields are Batch_no, lot_id & Objid.Actually, objid is mapped initially to a source field i.e. Object ID and in this function it is only being used for the calculation of the batch_no.
    Thanks in Advance,
    Sreedhar.

    Hi,
    Following with my query I've tried to use this code but still I'm unable to execute the mapping.
    import java.util.*;
    import com.sap.aii.mapping.lookup.*;
    import com.sap.aii.mapping.lookup.*;
    DataBaseAccessor accessor = null;
    DataBaseResult JDBCOutPayload = null;
    String BusinessSystem="clarify_dev_bizsys";
    //give your business system having channel name
    String CommunicationChannel="JDBC_TO_CDEV";
    //give your channel name
    String InputPayload= " select X_TXN_PRE_SITE_XFACE.nextval from dual;";
    //give your sql query
    try {
    Channel channel =
    LookupService.getChannel(BusinessSystem,CommunicationChannel);
    accessor = LookupService.getDataBaseAccessor(channel);     
    DataBaseResult resultSet = accessor.execute(InputPayload);
         for(Iterator rows = resultSet.getRows();rows.hasNext();){  
         Map rowMap = (Map)rows.next();
         Object cValue = rowMap.get("batchno");
    //field name of field required , as in database
          catch (Exception e) {}
          finally {
                  if (accessor != null)
                  accessor.close();
           result.addValue((String)cValue);
    --> I don't know what are the parameters to be used and how to be used in the UDF because this is the first time I'm writing a UDF.
    --> The problem in using this query is that both OBJID & BatchNo. are on the target side and the value for the OBJID is retrieved by a SELECT query from the database.
    Kindly help me how to resolve this query of mine.
    Thanks in Advance.
    Sreedhar.

  • Need helping in writing query for finding percentage of duration

    Can any one please help in writing query for this.
    The table is like this :-
    ID     Region     Month     Duration
    I1 R1     Jan     80
    I2     R2     Jan     70
    I3     R1     Jan     70
    I4     R3     Jan     40
    I5     R1     Feb     80
    I6     R2     Feb     30
    I7     R3     Mar     100
    I want to write a query to find
    % of duration for each and every region against each and every month.
    Please help in solving this query. I am in urgent need of this.
    Thanks in advance.

    I also have to do in MS Access 2003You also have to ask into an other forum since here it's an Oracle forum, to try to find Oracle solution.
    Nicolas.

  • Need help in writing a vbscript

    Hi,
    I need help in wring a vbscript. I have serached for the vbscript on the net, but could not find any.
    I need to add a file to an msi using vbscript. - That's the requirement.
    For this I have done the following with the help of vbscript.
    1. With the insert statement I inserted a new copmonent in the FeatureComponent Table.
    2. Now the next thing I did is, I inserted a new row in the File table using insert statement again. The file is uncompressed.
    3. Since the file is a non-version file I also added a row in the MSIFileHash table.
    4. Also, now added the Component in the component table.
    After doing this I am able to see the chnages in the mst, however whrn I try to install it I get an error 2725 (Invalid database tables).
    Can somebody please post a vbscript which can add a file to an msi?

    Hi All,
    Thanks for all your responses.
    Yes, It is not so easy. I never said it was.  Thanks for pointing out Orca. We use Orca on a daily basis.
    What exactly I am looking at, is this.
    We have some standard applications which needs to be repackaged every month. The repackaging process is same and does not change at least for these packages. So I was actually looking at automating these things.
    What I did so far.
    First we have created an object for Windows installer. I have then taken a copy of the original msi and then opened the database of this temporary msi database in transact mode. Once the database is opened we can use select, insert, update
    and delete statements to update the database.  
    I could successfully add a registry to the msi. The component was also added successfully to the component table. I also could make changes to the Property table.
    The tricky part comes with the addition of file to the file table.
    The addition of file requires the following steps.
    1. Add a new row to the file table. This can be done with the Insert statement.
    2. We then need to associate the file to a new component or any other component already existing in the msi. In my case I am creating a new component.
    3. We then have to associate this components to a feature in the FeatureComponents table.
    4. Since the file I am adding is a non-versioned file, a new row also has to be added to the MSIFILEHASH table.
    I could see the changes that I have done using the mst. But when I try to install the msi with the mst, I get the error 2725. I checked everything. All the other steps except for the file addition works fine.
    To check whether I am indeed right, I have did this.
    Skipped the file addition part to the msi. Every other change that I make works and I am able to install the msi with the mst successfully.
    For obvious security reasons I will not be able to share the vbscript with you. If you guys think, that this is not a right forum for this question, please let me know the right forum. I have been stuck with this issue from the past 6 months. Any help would
    really be appreciated.

  • Need help in writing a vbs script

    I am very new to scripting and need help in scripting the following:
    When the Windows 7 machine boots up or a user logs on (easy to do with GPO), I want to execute a script that starts some services
    ONLY if the length of the computer name is less than or equal to 15 else it should exit. It has to be done in the background without any user interaction.
    The script should be able to work for both x86 and x64 version of Win7.
    Any help would be greatly appreciated.
    Thanks in advance.
    JD
    JD

    Hi,
    I highly recommend that you skip VBScript and learn PowerShell instead. This is pretty trivial in PowerShell:
    If ($env:COMPUTERNAME.Length -le 15) {
    # Do stuff
    # HINT: Look into Start-Service
    Write-Host "Under limit: $env:COMPUTERNAME"
    } Else {
    # Do optional stuff
    Write-Host "Over limit: $env:COMPUTERNAME"
    (OT: jrv - happy? =])
    If you must stick with VBScript for some odd reason, here's an example to get you started:
    Set wshNetwork = WScript.CreateObject( "WScript.Network" )
    strComputerName = wshNetwork.ComputerName
    If Len(strComputerName) <= 15 Then
    'Do stuff here when the name is short enough
    WScript.Echo "Under limit: " & strComputerName
    Else
    'Do stuff here when the name is too long (only if you want to)
    WScript.Echo "Over limit: " & strComputerName
    End If
    http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/services/
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • Need help with writing a rule

    Need help with some rules. I want to book a number to a specific Entity at a Specific Custom 4 only. I don't want this formula to work at all C4 levels. How can this be done?
    for example if Entity is "XBM1123" and we use C4 for tracking and the tracking level I want to book it to is IMPORT, how can this be done for a specific account 4400221
    I have my formula as
    If pov_value = "<Entity Currency>" or pov_value = "<Entity Curr Adjs>" Then
    If HS.Entity.Member = "XBM1123" or HS.Custom4.Member = "IMPORT" then
    HS.EXP "A#4400221= A#4521111 + A#3526644 + A#635210"
    End If
    End if
    this did not work. I got hte following error
    Calculate started.<BR>Error executing VBScript Microsoft VBScript runtime
    error, Line 259:Object doesn't support this property or method:
    'HS.Custom4.Member'.<BR>Calculate finished.<BR>Error executing
    VBScript %0.
    I then changed it to the below and it still did not work
    If pov_value = "<Entity Currency>" or pov_value = "<Entity Curr Adjs>" Then
    If HS.Entity.Member = "XBM1123" then
    HS.EXP "A#4400221.C4#IMPORT= A#4521111 + A#3526644 + A#635210"
    End If
    End if
    error
    Invalid Custom1 member
    specified for this function.
    Invalid Destination specified for this function:
    A#4400221.C4#IMPORT.

    You are close.
    Try:
    If pov_value = "<Entity Currency>" or pov_value = "<Entity Curr Adjs>" Then
        If HS.Entity.Member = "XBM1123" then
           HS.EXP "A#4400221.C4#IMPORT= A#4521111.C4#IMPORT + A#3526644.C4#IMPORT + A#635210.C4#IMPORT"
        End If
    End if
    or replace IMPORT with with Top_C4 or what ever member you need to copy to C4#IMPORT.
    Rule of thumb, to be on the safe side and for most simple calcs, is if you mention a dimension on the left side, you need to define it on the right side as well.

  • Need help in writing NVARCHAR2 column to an excel sheet

    Hi All,
    I have a NVARCHAR2 column in my table. I want to store the data present in the column into an excel file. When i write the data to an excel file the data is getting converted to some other form. It's not in human readable form.
    Language is not fixed for the column.
    I need help in storing the NVARCHAR2 data into an excel file without any implicit conversion done by the oracle.
    Please help.
    Thanks,
    Girish G
    Edited by: Girish G on Jul 14, 2011 2:02 AM

    Export data to BLOB (csv)

  • Need help with writing a query with dynamic FROM clause

    Hi Folks,
    I need help with an query that should generate the "FROM" clause dynamically.
    My main query is as follows
    select DT_SKEY, count(*)
    from *???*
    where DT_SKEY between 20110601 and 20110719
    group by DT_SKEY
    having count(*) = 0
    order by 1; The "from" clause of the above query should be generated as below
    select 'Schema_Name'||'.'||TABLE_NAME
    from dba_tables
    where OWNER = 'Schema_Name'Simply sticking the later query in the first query does not work.
    Any pointers will be appreciated.
    Thanks
    rogers42

    Hi,
    rogers42 wrote:
    Hi Folks,
    I need help with an query that should generate the "FROM" clause dynamically.
    My main query is as follows
    select DT_SKEY, count(*)
    from *???*
    where DT_SKEY between 20110601 and 20110719
    group by DT_SKEY
    having count(*) = 0
    order by 1; The "from" clause of the above query should be generated as below
    select 'Schema_Name'||'.'||TABLE_NAME
    from dba_tables
    where OWNER = 'Schema_Name'
    Remember that anything inside quotes is case-sensitive. Is the owner really "Schema_Name" with a capital S and a capital N, and 8 lower-case letters?
    Simply sticking the later query in the first query does not work.Right; the table name must be given when you compile the query. It's not an expression that you can generate in the query itself.
    Any pointers will be appreciated.In SQL*Plus, you can do something like the query bleow.
    Say you want to count the rows in scott.emp, but you're not certain that the name is emp; it could be emp_2011 or emp_august, or anything else that starts with e. (And the name could change every day, so you can't just look it up now and hard-code it in a query that you want to run in the future.)
    Typically, how dynamic SQL works is that some code (such as a preliminary query) gets some of the information you need to write the query first, and you use that information in a SQL statement that is compiled and run after that. For example:
    -- Preliminary Query:
    COLUMN     my_table_name_col     NEW_VALUE my_table_name
    SELECT     table_name     AS my_table_name_col
    FROM     all_tables
    WHERE     owner          = 'SCOTT'
    AND     table_name     LIKE 'E%';
    -- Main Query:
    SELECT     COUNT (*)     AS cnt
    FROM     scott.&my_table_name
    ;This assumes that the preliminary query will find exactly one row; that is, it assumes that SCOTT has exactly one table whose name starts with E. Could you have 0 tables in the schema, or more than 1? If so, what results would you want? Give a concrete example, preferably suing commonly available tables (like those in the SCOTT schema) so that the poepl who want to help you can re-create the problem and test their ideas.
    Edited by: Frank Kulash on Aug 11, 2011 2:30 PM

  • Need help on logic/ coding

    Dear all,
    I need help on , How to compare two lists? I wrote the following code. but I'm not success. please help.
    declare
    rec_cnt number;                             --This for getting first record set count
    pd_cnt  number;                              -- This for getting second  record set count
    flg_tst char(1):='F';                      -- this flag  is set to false.
    begin             
          go_block('block1');                     -- In this block displays my first  list         
          last_record;                                 -- cursor Point out the last record.
          rec_cnt := :system.cursor_record;        -- here getting total number of records in the first list
          go_block('block2');                        -- In this block displays my second  list        
          last_record;                                 -- cursor Point out the last record.
          pd_cnt := :system.cursor_record;        -- here getting total number of records in the  second list
          begin   
               /* go_block('block1');
               first_record; */
               for i in 1..rec_cnt
               loop                                         /* Here my comparison  of records going on. for every record in  first list there  should be
                                                           corresponding record in second record.
                                         otherwise should throw message.
                                         suppose if one record is not matched then the control should exit from the two loops and throws the message */
                      go_block('block1');                              
                      go_record(i);
                      go_block('block2');
                      first_record;
                         for j in 1..pd_cnt
                         loop
                               if :block1.TEST_ID =:block2.TEST_CODE then     /*If two records match set the flag as True and exit from second loop. there is no need to further check. */
                                        flg_tst := 'T';                /* And loops should take next record from second list, again loops goes for second list record matching */
                                        exit;
                                  else
                                       if j != pd_cnt then       /*not match then compare with next record of the second record */                            
                                           next_record;
                                       end if;          
                                  end if;    
                         end loop;   
                      if (flg_tst := 'F' and j=pd_cnt) then     /*suppose one record in first list is not equal with all records in second list,exit from second loop and shows message */
                   exit;
                      elsif (flg_tst := 'F' and i != rec_cnt) then
                               next_record;
                      else
                           exit;
                      end if;   
                end loop;
               if flg_tst = 'F' then
                            message('For mu test no corresponding test code');                  
                      end if;
              /* Exception when others then
               message('HI:=  '||sqlerrm);
               message('HI:=  '||sqlerrm); */
          end ;
    end;
          My problem is :
    1. we should take one record from firstlist and compare with all records in second list.
    --> suppose match then,we should continue for next record for first list.
    -->not match then exit from two loops and shows error.
    2. we should compare all the records in first list with all records in second list.
    Thanks
    SB
    Edited by: SB on Dec 7, 2011 1:31 AM

    Hi all,
    Now I've changed my query as follows,
    PROCEDURE testing IS
    rec_cnt number:=0;
    pd_cnt  number:=0;
    flg_tst char(1);
    begin
          go_block('med_uw');
          last_record;
          rec_cnt := :system.cursor_record;
          go_block('panel_doctor');
          last_record;
          pd_cnt := :system.cursor_record;
          message('rec_cnt'||rec_cnt||'  '||'pd_cnt'||pd_cnt);
          message('rec_cnt'||rec_cnt||'  '||'pd_cnt'||pd_cnt);
           begin
               for j in 1..pd_cnt
               loop
                      flg_tst:='F';
                      go_block('panel_doctor');
                      go_record(j);
                      go_block('med_uw');
                      first_record;
                         for i in 1..rec_cnt
                         loop 
                                    if :block2.TEST_ID =: block1.TEST_CODE then
                                        flg_tst := 'T';
                                        exit;
                                  else
                                       next_record;
                                end if;          
                         end loop;   
                      if (flg_tst = 'F')then
                              exit;
                         else
                           next_record;
                      end if;   
               end loop;
            if flg_tst = 'F' then
                                message('For'||'  '||:block1.PD_DOC_CODE||' '|| 'doc code med test has not been added, please add the test or delete the doc code');                  
            end if;
          end ;
    end;
          but still the problem persist.
    Edited by: SB on Dec 7, 2011 5:22 AM

  • ABAP to XML conversion...need help for XSTL coding

    Hi,
    I am trying to convert ABAP internal table to XML format. I am using CALL TRANSFORMATION command. But i am not getting the exact conversion of my internal table data as i am lagging in perfection of XSLT coding that i have to maintain(in call transformation command).
    I am passing the data with internal table which has deep structuring( 2 other internal tables(table types) inside it).
    i am facing issue in writing the XSLT format coding(Tcode:XSLT_TOOL). I need some help on this.
    Thanks,
    Mahidhar.

    Hi,
    Can you please share the XSLT program that you have created and also your ABAP structure that is going to hold the data.
    Thanks,
    Aanand.

  • Need help asap Dreamwaver coding.

    Ok i am trying to replicate the following map.
    However stuck on one thing (got rusty) currently it is built with google api, the aim is to move it away in to plain old html....
    Ive sorted the easy part, when clicking on stay, eat it goes to the relevant screen loading up all the dots in this area, the hard part, as i mentioned ive become rather rusty with HTML is to have the dots when clicked on load up a small pop up box like shown below
    Can you help me with the code that would be required a) to bring the pop up (but in line with the picture more) b) that brings up a similar design, not a new window if can be helped but rather the cute little x box like above.
    the dimensions of the pop up box is 202 wide however length is to the information.
    The coding of the map and code is attached in a dropbox folder here i would use the stay picture and stay html.
    Thank you, any help would really be appreciated

    HTML alone cannot do this.  You need CSS Rollovers or JavaScript Tooltips.
    Pure CSS Disjointed Rollovers
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    jQuery UI Basic Tooltips
    http://jqueryui.com/tooltip/
    30 Stylish jQuery Tooltip Plugins
    http://www.1stwebdesigner.com/css/stylish-jquery-tooltip-plugins-webdesign/
    Nancy O.

  • Need help in writing a .jsp page

    Hi Guys,
    I am new to JSP. My requirement is " I have a link on my webpage. When the user clicks that link, a HTML page is displayed which has parameters to be entered (for ex: from_date , to_date). When the user clicks the submit button, a jsp page should be displayed in which a query is run to display the output. For example, the user enters the from_date and to_date parameter values to know the employees employed within those dates in their company. The query is "select empname,empno,sal,dept,comm from emp where employed_date between from_date and to_date" . The following should run and display in the jsp page.
    How can i write a .jsp to extract the parameters that are entered in the HTML form in to a .jsp and run the query with those parameters to display the output. Help needed in making me write this .jsp for this query.
    Help Aprreciated.
    Thanks

    Hm, your requirements sound like homework assignment from classroom. If so, is itn't better that you find the answer youself? There are plenty of very relevant references for how to use jsp to handle html forms or talk to a rdbms through a jdbc connection. For example, for jsp and html forms, you can google "jsp html forms"; for jsp and sql query, search for "jsp jdbc".
    Tell me if this is not helpful.

  • I need help with XML coding. Please reply

    I recently created a podcast. I submitted it to iTunes. All was successful but the download speed was Horrible. I had about 10 people test it -- after that the ISP I use shifted my Domain to a Streaming Server. The Tech then changed the specs to my iTunes <guid>. I updated the info on iTunes, but since then no one has been able to download it from iTunes. The RSS feed on the page ( website) works, but if I type it in to an RSS feed, I am even having problems getting it to recognize it.
    I feel the main problem is that the shifting of servers and changing the <guid> caused a major problem. Since my ISP and Tech rep is mainly Windows oriented, his expertise with Apple is very little. ( As is mine ).
    I will insert a snippet of the code and ask for Help... I really need to fix this, because I have secured another Domain, and wish to create a new podcast.
    (BTW if any one listens to any of them, I now have a mixing board and Mic.. so I am trying to better it.)
    Website: www.riverratdoc.com
    snippet of XML code
    <enclosure url="http://stream.riverratdoc.com/RiverratDoc/episode1a.mp3" length="9551933" type="audio/mpeg" />
    <guid isPermaLink="false">09072010EPS01</guid><!-- just make unique per episode -->
    <pubDate>Fri, 9 Jul 2010 12:40:01 GMT</pubDate>
    Thank you in advance
    River Rat Doc

    The problem doesn't lie with your feed, although it does contain an error - you have given a non-existent sub-category. You need to stick to the categories and sub-categories listed here:
    http://www.apple.com/itunes/podcasts/specs.html#categories
    Subscribing to your feed from the iTunes Store page work as such, but the episodes throw up an error message. The problem lies with your episode media files: you are trying to stream them. Pasting the URL into a browser produces a download (where it should play the file) of a small file which does not play and in fact is a text file containing (in the case of ep.2) this:
    [Reference]
    Ref1=http://stream.riverratdoc.com/RiverratDoc/episode2.mp3?MSWMExt=.asf
    Ref2=http://70.33.177.247:80/RiverratDoc/episode2.mp3?MSWMExt=.asf
    You must provide a direct link to the actual mp3 file. Streaming won't work. The test is that if you paste the URL of the media file (as given in the feed) into the address bar of a browser it should play the file.

Maybe you are looking for

  • How to get a list of displayed columns from a UIX read only table

    I am using JDev 9.0.5.2 ADF UIX. Is there a way to get all the columns and/or column labels displayed in a UIX read only table? I would like to be able to do this in my DataForwardAction.

  • Using an iMac as a monitor.

    Hi all. It is possible to utilize an iMac 24 as a monitor for a MacPro? Thanks.

  • Links are not working...

    I recently created a wedding website for my wedding videos and after I upload my site the buttons/links at the top of the page are not working... I had my site all laid out at one point and everything was fine. But using the templates I was having is

  • Remote access Time Capsule using Windows Vista

    Hello I ve tried to connect TC remotely using a VPN connection but i ve failed. Does anyone knows how can i do that? Thanks

  • Keynote 06 to Keynote 08

    I made a presentation on Keynote 06. When I switched my Macbook over to Leopard, I edited my Keynote 06 presentation on Keynote 08, and the file became corrupt. How do I fix this?