Problem in displaying the description of item

Hi,
I am working on a report of production order and i want to display the description of the Item but the problem the matnr is stored in ITPO1 AND i am displaying the values of ITPO5 which contains the difference value of qty of Item . To display the quantities i am using the table AUFM and i want to display the description of the production order Item which is stored in the ITPO1 .
I am declaring the value of item in the ITPO5 and writing this select single query but it is not displaying the data.
LOOP AT ITPO5.
      SELECT SINGLE MAKTG FROM MAKT INTO ITPO5-ITEMDESC WHERE MATNR = ITPO1-MATNR.
      WRITE: / ITPO5-AUFNR,ITPO5-ITEMDESC,ITPO5-I_QTY.
      TOT_QTY = TOT_QTY + ITPO5-I_QTY.
    ENDLOOP.
Plzz provide me guidelines how to solve this problem.

HI,
Check this way..
LOOP AT ITPO5.
LOOP AT ITPO1 WHERE AUFNR = ITPO5-AUFNR.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
  EXPORTING
    input              = ITPO1-MATNR
IMPORTING
   OUTPUT             = ITPO1-MATNR
EXCEPTIONS
   LENGTH_ERROR       = 1
   OTHERS             = 2 .
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SELECT SINGLE MAKTG FROM MAKT INTO ITPO5-ITEMDESC WHERE MATNR = ITPO1-MATNR.
IF SY_SUBRC EQ 0.
WRITE: / ITPO5-AUFNR,ITPO5-ITEMDESC,ITPO5-I_QTY.
TOT_QTY = TOT_QTY + ITPO5-I_QTY.
ENDIF.
ENDLOOP.

Similar Messages

  • Problem in displaying the TaxRate columns .

    Hi Experts,
                            I am having a problem in displaying the 'TaxRate', in this Query there are some different Taxrate's columns  like-  ' 'Basic Excise Duty BED@10 %',  ' Education ces@2% ' , 'Secondary Education Cess @1%',    etc.   only  4 -5  tax's value should display  at a  time  and rest of  the TaxRate's  columns whose value is NULL  should not display.
    So, I want to display only those TaxRate's  columns whose  value  is not NULL  and If there is  no value for any taxrate's column  in the data, then it should Display only 'Excempt' column.
    This is my query...
    SELECT DISTINCT OSTA.Code , ORPC.DocNum AS 'Debit Note No.', ORPC.CardName AS 'Name', ORPC.CardCode AS 'code', ORPC.NumAtCard AS 'Supplier Ref.'  ,
                          RPC1.Dscription AS 'Description of Goods', ORPC.Address, RPC1.Quantity, RPC1.Price AS 'Rate', RPC1.LineTotal AS 'Amount', ORPC.DocDate,
                              (SELECT DISTINCT TaxRate
                                FROM          RPC4
                                WHERE      (staType = - 90) AND (StaCode = 'BED@10') AND (DocEntry = RPC1.DocEntry)) AS 'Basic Excise Duty BED@10 %',
                             (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_8
                                WHERE      (staType = - 60) AND (DocEntry = RPC1.DocEntry)) AS 'Education Cess @2%',
                             (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_7
                                WHERE      (staType = - 55) AND (DocEntry = RPC1.DocEntry)) AS 'Secondary Education Cess @1%',
                             (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_6
                                WHERE      (staType = 4) AND (StaCode = 'CST2') AND (DocEntry = RPC1.DocEntry)) AS 'Central Sales Tax(CST)',
                             (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_5
                                WHERE      (staType = 1) AND (StaCode = 'VAT4') AND (DocEntry = RPC1.DocEntry)) AS 'Input VAT@5%',
                              (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_4
                                WHERE      (staType = 1) AND (TaxRate = 12.500000) AND (StaCode = 'VAT12.5') AND (DocEntry = RPC1.DocEntry)) AS 'VAT12.5%',
                           (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_3
                                WHERE      (staType = 18) AND (StaCode = 'Add2') AND (DocEntry = RPC1.DocEntry)) AS 'ADD Tax 1%',
                                  (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_2
                                WHERE      (staType = 7) AND (DocEntry = RPC1.DocEntry)) AS 'Excempt'
    FROM         OSTA INNER JOIN
                          RPC4 AS RPC4_1 ON OSTA.Code = RPC4_1.StaCode CROSS JOIN
                          ORPC INNER JOIN
                          RPC1 ON ORPC.DocEntry = RPC1.DocEntry
    WHERE     (OSTA.Code IN ('BED@10','eCess 2%','HeCess 1%','CST')) AND (ORPC.CardCode = 'V00308') AND (ORPC.DocNum = '9220004')
    Kindly help me to solve this problem
    Regards
    Rahul

    Hi rahul,
    Try this:
    SELECT DISTINCT T0.DocNum AS 'Debit Note No.', T0.CardName AS 'Name', T0.CardCode AS 'code', T0.NumAtCard AS 'Supplier Ref.'
         ,T1.Dscription AS 'Description of Goods', T0.Address, T1.Quantity, T1.Price AS 'Rate', T1.LineTotal AS 'Amount', T0.DocDate,
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0)FROM RPC4 WHERE RPC4.StaType = -90 AND RPC4.DocEntry = T0.DocEntry) AS 'Basic Excise Duty BED@10 %',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -60 AND RPC4.DocEntry = T0.DocEntry) AS 'Education Cess @2%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -55 AND RPC4.DocEntry = T0.DocEntry) AS 'Secondary Education Cess @1%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 4  AND RPC4.StaCode = 'CST2' AND RPC4.DocEntry = T0.DocEntry) AS 'Central Sales Tax(CST)',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1  AND RPC4.StaCode = 'VAT4'AND RPC4.DocEntry = T0.DocEntry) AS 'Input VAT@5%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT12.5'AND RPC4.DocEntry = T0.DocEntry) AS  'VAT12.5%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 18 AND RPC4.StaCode = 'Add2'AND RPC4.DocEntry = T0.DocEntry) AS   'ADD Tax 1%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 7 AND RPC4.DocEntry = T0.DocEntry) AS  'Excempt'
    FROM ORPC T0
         INNER JOIN RPC1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE  (T0.CardCode = 'V00308') AND (T0.DocNum = '9220004')
    FOR BROWSE
    Thanks,
    Neetu

  • Iam  gettin a problem in displaying the HTM file in filechooser please help

    Dear Sir,
    Iam working on swing in my project.In tha iam using file chooser Iam gettin problem in displaying the file of types HTM or HTML it taks if it is htm ot html . in filechooser below files of type will be there in that also its not displaying the files of types HTM or HTML. in the code i used
    filter.addExtension("HTML",True);
    but its not working please any body can help me in solving the problem . If possible send me the piece of code also il be very thankful to you. please ill be waiting for the reply.
    regards,
    surya

    this is what I did:    private void dateiNameHolen()
            // create FileChooser
            final JFileChooser pv_fileChooser = new JFileChooser();
            pv_fileChooser.addChoosableFileFilter(new HTMLFileFilter());
            pv_fileChooser.setSelectedFile(new File(iv_dateiTextField.getText()));
            // open chooser and get selected file
            if (pv_fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File lv_datei = pv_fileChooser.getSelectedFile();
                iv_dateiTextField.setText(lv_datei.getPath());
        }It uses my class HTMLFileFilter:import java.io.File;
    import javax.swing.*;
    import javax.swing.filechooser.*;
    public class HTMLFileFilter extends FileFilter {
        // accept all htm and html
        public boolean accept(File f)
            if (f.isDirectory()) {
                return true;
            String dateiname = f.getPath().toLowerCase();
              if (dateiname != null)
                if (dateiname.endsWith("htm") || dateiname.endsWith("html"))
                    return true;
                else
                    return false;
            return false;
        // description of this filter
        public String getDescription() {
            return "HTML-Dateien (*.htm, *.html)";
    }hope this helps
    koem

  • Custom Infotype - to display the description  in query ouput!!

    I have created a Custom Infotype  and when I run a Infoset Query against the custom infoset, the field is getting displayed but not the description.
    For Ex
    ADP Infotype Company Code A11 - America
                           Company Code A12 - Africa
                                                    A13 - Russion,
    My issue is, when i run the query, the three letter code (A111, A12) is getting displayed but not the descripton itself.
    Can some one please let me know how to display the description in the output when we nun the infoset Query.
    Thanks for your assiance!!

    Hi,
    Have u given proper Data element and Domain to the field?
    Generate the Query again.
    Manoj

  • Display the description of a parameter in the report

    Hi Guru:
    I have a parameter, for each value to be selected, there is a description.
    Now my question is, how to display the description of the value in the report?
    I tried to put the parameter into the report, but it display the value, not the description.
    For example, I have a parameter, for company code, each company code will have a description in the value list of the parameter, after the user pick 1000, I want to put the name of company code 1000 into the report.
    Thanks.
    Eric

    The only way I have found to do this without hard-coding a translation table is to return the value in your dataset.  In your case, cross join your results to
    select company_name from company where company_code = {?comp parm}
    (or something similar...)
    HTH,
    Carl

  • Re:Problem in displaying the output by using filters

    hi to all,
    when using filters in ALV i am getting a problem of displaying the <b>full contents of a particular field while going for F4 option</b>.
    even i using <b>ls_fieldcat-outputlen = field length</b> it is not coming .
    please help me in this issue.
    thanks
    sun
    Message was edited by: sun deep

    Hello,
    set ST_FIELDCAT-OUTPUTLEN to the actual lenght of the field.
    regards,
    Naimesh

  • On ebay, i can't see the descriptions of items. i can using iexpl on my laptop.

    I called ebay b/c I could no longer see item descriptions on all the items I was interested in. All that comes up is the items for sale and the ship price. She said it must be my browser, and sure enough, I also logged on to my laptop which utilized internet explorer and lo and behold the descriptions were there. We went through the cookie settings and everythings seems to be set correctly. Is there something I need to change which will allow the descriptions to display?

    Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. When the screen goes blank then power ON again in the normal way.] It is 'appsolutely' safe!

  • Problem in displaying the data of columns into rows in sap script

    hi,
    i am working on a sap script and i have to display the dat which is displayed in column into rows but it is not displaying it properly.
    eg, C
        12.1
        Si
        5.5
    it is displaying the data right now like this but i want to display the  data like this:-
    eg, C      Si
        12.1   5.5
    plzzprovide me guidelines how to solve this problem.

    hi,
    i am using this code to display the data:-
    plzz provide me guidelines where i am getting wrong?
    TOPparCOMPONENT DESP,,,,,, INS. LOT #, , , , , , MIC,,,,,,,,,, MIC VALUEparENDTOPparFINAL
    PROTECT
    IF &I_FINAL-PRUEFLOS& NE '000000000000'
    &I_FINAL-MAKTX(23)&&i_final-prueflos(12Z)&
    &I_FINAL-kurztext(25)&
    &I_FINAL-original_input(8)&
    ELSE
    &I_FINAL-MAKTX(23)&     
    &I_FINAL-kurztext(25)&
    &I_FINAL-original_input(8)&
    ENDIF
    ENDPROTECT
    ITEMHEAD
    POSITION WINDOW
    SIZE WIDTH +0 . 4 CH HEIGHT +1 LN
    BOX FRAME 10 TW
    BOX HEIGHT '1.35' LN INTENSITY 20
    IF &PAGE& = '1'
    BOX XPOS '0' CH YPOS '0' CM WIDTH '0' CM HEIGHT '43' LN FRAME '10' TW
    For horizontal line at top
    BOX XPOS '0' CH YPOS '0' CM WIDTH '75' CH HEIGHT '0' LN FRAME '10' TW
    COLUMN LINES...
    END OF COLUMN LINES...
    BOX XPOS '0' CH YPOS '43' LN WIDTH '75' CH HEIGHT '0' LN FRAME '10'TW
    BOX XPOS '75' CH YPOS '0' LN WIDTH '0' CH HEIGHT '43' LN FRAME '10'TW
    ELSE
    COLUMN LINES...
    END OF COLUMN LINES...
    BOX XPOS '0' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '0' CM WIDTH '75' CH HEIGHT '0' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '0' CM WIDTH '45' CM HEIGHT '0' LN FRAME '10' TW
    BOX XPOS '20' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '47' LN WIDTH '75' CH HEIGHT '0' LN FRAME '10'TW
    BOX XPOS '75' CH YPOS '0' LN WIDTH '0' CH HEIGHT '47' LN FRAME '10'TW
    ENDIF
    LINEFEED
    NEWPAGE
    NEW-PAGE
    provide me guidelines to solve this problem.
    Edited by: ricx .s on Mar 13, 2009 5:58 AM

  • Htmldb_item displays the value of items as HTML code

    I have created an SQL Query(Updateable Report) with 1 edit column. I am trying to display the data and to do Multi-row updates using HTMLDB.Item.
    The data displays as HTML code when I define the element as a "Text Field".
    The data displays fine when I define the element as a "Standard Report Column", but then I can't edit it.
    Here is the code I use in my Sql Query:
    Select x.seq_no, x.tpc_note
    from
    (select HTMLDB_ITEM.HIDDEN(1,CONSULTANT_NO) consultant_no,
    HTMLDB_ITEM.TEXT(2,SEQ_NO) Seq_no,
    HTMLDB_ITEM.TEXT(3,TPC_NOTE,4,75) Tpc_note
    from wb_tpc_consultant_notes
    where company = v('p1_company') and
    consultant_no = v('p1_consultant_no')
    union all
    select HTMLDB_ITEM.HIDDEN(1,null) consultant_no,
    HTMLDB_ITEM.TEXT(2,((select max(seq_no)
    from wb_tpc_consultant_notes where
    company = v('p1_company') and
    consultant_no = v('p1_consultant_no')) + nvl(:p2_rows,1))) Seq_no,
    HTMLDB_ITEM.TEXT(3,null,4,75) Tpc_note
    from all_objects where rownum < nvl(:P2_ROWS, 2)) x
    order by 1
    Any ideas on what I am doing wrong? I cannot find any documentation on using the Htmldb_item API.
    Thanks
    Debbie

    Yes. I have done that. When I set it to Standard Report Column it displays fine.
    Then when I type in changes and click the apply changes button, it always goes back to the original value.
    Here is the code behind the apply changes button:
    For i in 1..htmldb_application.g_f01.count loop
    if htmldb_application.g_f01(i) is not null then
    update wb_tpc_consultant_notes
    set tpc_note = htmldb_application.g_f03(i)
    where company = v('p1_company') and
    consultant_no = v('p1_consultant_no') and
    seq_no = htmldb_application.g_f02(i);
    else
    if htmldb_application.g_f01(i) is null then
    insert into wb_tpc_consultant_notes
    (company,
    consultant_no,
    seq_no,
    tpc_note)
    values
    (v('p1_company'),
    v('p1_consultant_no'),
    htmldb_application.g_f02(i),
    htmldb_application.g_f03(i));
    end if;
    Debbie

  • Displaying the description using a Named List of Values

    Hi All,
    Can anyone help me to display just the Description rather then Value on an updateable report using a Named List of Values.
    Thanks
    Arif

    Hi
    Create the named list of values. Go to the Report Attributes and then to the column attributes page for the column that you want to be displayed as description. In Tabular Form Element section select Display As: Select List (named LOV). Then in the List of Values section select the LOV that you created in the Named LOV. Set Display Extra Values to No.
    -Priyanka

  • Problem while displaying the data when double clicked on JTable element

    Hi All,
    i have one List box( JList ) and one table (JTable). Both JTable and JList are positioned on the same Frame. I am able to drag the elements from JList to JTable and also i have added the mouse click action on both List box and JTable.
    if i double click on JList element, that will popup one dialog box.
    if i double click on JTable cell element that was dragged from JList, that will popup same dialog box which was opened earlier for JList action.
    But my problem here is:
    Suppose if i drag the four elements one by one from JList to JTable and (after four elements dragged) double clicked the first element which was dragged first that displayed the popup dialog box structure correctly but the data displayed in that was not correct. It is showing the data of recent dragged element( i.e, fourth element).
    But if i double click on JList element that is showing the correct data according to the double clicked element.
    What might be the problem here, why it was not displaying the correct data when double clicked on JTable element.
    Please help me here.
    Many thanks in advance.
    The following code is used in mouse clicked event method of JList
    private void listMouseClicked(java.awt.event.MouseEvent evt) {                                              
             if(evt.getClickCount()==2){
             AssigningResourcesUI assignResource=new AssigningResourcesUI(this,true);
             assignResource.show();
    }                AND The following code is used in mouse click enevet method of JTable.
    private void tableMouseClicked(java.awt.event.MouseEvent evt) {                                          
            if(evt.getClickCount()==2){
             int row=table.rowAtPoint(new Point(evt.getX(), evt.getY()));
             int col=table.columnAtPoint(new Point(evt.getX(), evt.getY()));
             if(row==-1||col==-1){
                 return;
              Object obj=table.getModel().getValueAt(row, col);
             if(obj==null||(obj.equals(""))){
               }else{
             AssigningResourcesUI assignResource=new AssigningResourcesUI(this,true);
             assignResource.show();
         }            Thanks & Regards,
    Maadhav....
    Edited by: maadhav on Jul 1, 2009 7:22 AM

    I doubt it is related to your problem but:
    int row=table.rowAtPoint(new Point(evt.getX(), evt.getY()));Why are you creating a new Point? Just use evt.getPoint().
    Object obj=table.getModel().getValueAt(row, col);Don't get the data through the model method, get the data through the table method:
    Object obj = table.getValueAt(...)
    This way it will work even if the table happens to be sorted.
    Instead of creating a AssigningResourcesUI object, just disply the value retrieved from the model. That way you know whether the problem is with the mouse event code or your UI class. Like Walter suggested above I"m guess the problem is with your UI class.

  • Problem in displaying the o/p of report

    HI ABAPers
    this query is as assignment for me (i am undergoing abap training)
    there is build in transaction in sap (MCTA) for SIS: CUSTOMER ANALYSIS SELECTION.
    THE DETIALS OF THIS TRANCTION ARE AS FOLLOWS.
    T-CODE:- MCTA
    Pacakage:- MCV
    Transaction text: SIS: Customer Analysis - Selection
    Program : RMCV0100
    Selection Screen: 1000
    i want to build a similar report as this one but in my report i want to enter more than one currency values in currency field (for ex: i want the report o/p for USD,INR & EURO on the same output screen with all the currencies which i have entered. there should be seperate column for each currency value)
    in the report (mcta) it accepts only one currency and gives the o/p for that currency.
    now i know how to enter multiple currency values in the selection screen (thanx to one of our friend)
    SL_WAERS is the parameter for currency (see line 42 of your standard report).
    Line 42: SELECT-OPTIONS: SL_WAERS FOR RMCS0-AWAER1.
    now i am having the problme of displaying the output.
    i want the logic for displaying the report with all the currency (seperate column for each one of them) if possible the code also( as iam still a learner)
    i think i need to do some changes in the logic which displays the data on  the screen but in which part of the program to do and what logic to be implement iam unable to get that.
    waiting for ur early positive replys
    regards,
    maqsood

    Please close your other post for the same issue, so that people don't end up giving solutions in one, while you are looking in the other.
    Thanks,
    Srinivas

  • Basic problem in displaying the pdf and images in Application express

    Hi,
    I have oracle 10g and application express.
    I have already stored the images and pdfs using PLSQL in table with following columns
    TableA(vessel number, cruise number, image blob, pdf blob)
    now for every vessel, cruise combination there is a particular image and pdf.
    so in my htmldb page.
    I have created 2 select list for vessel and cruise respectively.
    now on selecting these lists i want to diaplay their corresponding image and pdf.
    How can i do this? I just somehow miss the basic knowledge of how to do this.
    Should i create a html region or a report region for the image and pdf.
    under what region the image and pdf goes. and on sleecting the vessel, cruise can i show hyperlinks and upon selecting the hyperlinks a image and pdf opens in a new window.
    or can i create 2 regions and display the image and pdf right in the region itself.
    Can someone please guid eme please.
    Thanks,
    Philip.

    Hi Philip.
    I suggest switching to the Application Express forum.
    Pretty sure it'll be easier for you to find the answers over there
    Oracle Application Express (APEX)

  • Problem with displaying the data from Database on swf file.

    Hi ,
      I am new to flash.Thanks in Advance Please help me....
    Actually my requirement is my application consists a button(submit_Btn) when we click on the button(submit_Btn), each time it must to database(through servlet) and brings the data from database and places it on the flash swf file.Here my problem is for the first time when we click on the button it goes to database and place the data(which was returned from database) on the swf file.Next  when we click on the button for the second time(or anytime) it is not going  and bringing the new data from database(if some data is modified in database or not),Infact it is showing the old data(the data that was collected from previous ClickListener) only on the swf file and it is also not showing any complile time or run time error.
    my Code looks like this:
    submit_Btn.addEventListener(MouseEvent.CLICK,onCheck2);
    function onCheck2(evnt:MouseEvent):void {
    var xmlLoader:URLLoader = new URLLoader();
        var xmlurl:String = "http://localhost:8888/xmlServlet";
        var xmlrequest:URLRequest = new URLRequest(xmlurl);
    xmlLoader.dataFormat = URLLoaderDataFormat.TEXT;
    xmlLoader.addEventListener(Event.COMPLETE, xmlcompleteHandler);
    xmlLoader.load(xmlrequest);
    function xmlcompleteHandler(event:Event):void {
        var loader:URLLoader = URLLoader(event.target);
        var succData:String=loader.data;
            var xmlData:XML = new XML();
            var xmlList:XMLList;
            xmlData = XML(loader.data);
            xmlList = xmlData.children();
            for (var i=0; i<xmlList.length(); i++) {
                for (var n=0; n<xmlData.UserHumanap[i].HumanapDot.length(); n++) {
                        var x_coordinate:Number = xmlData.UserHumanap[i].HumanapDot[n].@x;
                        var y_coordinate:Number = xmlData.UserHumanap[i].HumanapDot[n].@y;
                        var point2:Point = new Point(x_coordinate,y_coordinate);
                        var circle:Sprite = new Sprite();
                        circle.graphics.beginFill(0x00ff00);
                        circle.graphics.drawCircle(point2.x,point2.y,3);   //Placing the data as dots on the swf file
    Thanks in Advance.......Please Help me..........
    its Urgent..........
    Thanks,
    Swarthi

    Checkout following line in your code
    var xmlurl:String = "http://localhost:8888/xmlServlet";
    now change it to
    var xmlurl:String = "http://localhost:8888/xmlServlet?random="+String(MAth.random());
    I think you will get the point now

  • Problem in displaying extension data at item level in JSP!!!

    Hi Experts,
    I am facing a problem when i try to display extension data in JSP. This is how i have coded in CRM system and in JSP:
    After searching an order in the webshop let say order no 1, and i ll select this order no .1. Now the BADI CRM_ISA_BASKET_ITEMS is triggered and in the method getitems_getdata, i have written a code with hard coded values like this:
    method IF_EX_CRM_ISA_BASKET_ITEMS~GETITEMS_GET_DATA..
    data:wa_extension like line of ct_extension.
    wa_extension-ref_guid = '498AB6EC7B623152E1000000AC1383C5'.(ref guid is item guid of the order 1)
    wa_extension-name = 'Z_CustomItemExtData'.
    wa_extension-value = 'he is a good boy'(hardcoded value) .
    append wa_extension to ct_extension.
    endmethod.
    And in JSP i have written code like this to display:
    <%--  code for extension data --%>                       
    <tr>
    <td class="identifier">Ext data</td>
    <td class="value" ><%= JspUtil.encodeHtml(orderitem.getExtensionData("Z_CustomItemExtData")) %></td>
    </tr>
    But i am not getting the value in the JSP which i have hard coded in the BADI method. Is there any thing wrong in the above code? Please help me in this as i am very much new to ABAP.
    Thanks a lot in Advance!!
    Regards,
    lakshman.

    hi,
    did you hardcode the ref-guid too? This could be the problem.
    Regards
    Michael

Maybe you are looking for

  • Materialzed view rewrite

    Hi http://download.oracle.com/docs/cd/B28359_01/server.111/b28313/qradv.htm#CHDFIAGB In the following section Materialized View Delta Joins A materialized view delta join is a join that appears in the materialized view but not the query. All delta jo

  • Continuous fan running?

    Hi, i have a problem which has just started in the last few days. i have only had the iMac for 3-4 months from new? my fan will not turn off. i have unplugged etc as suggested in other forums but it still starts up and doesnt stop untill i shut down

  • Converting "minutes.seconds.milliseconds" to "seconds.milliseconds"

    Hello I have string (string a = 1.15.67) which represents time (minutes. seconds. milliseconds). Which is the easiest way to get a Double which holds the above mentioned time, where minutes are converted to seconds (double b = 75.67)? Should i conver

  • Logic pro 7 can't see my 3rd party plug-ins

    I run Logic Pro 7 on an Intel Core Duo iMac and I have a few third party plug-ins (Waves NPP, Guitar Rig, Symphonic Orchestra) that I'd also like to use with logic, but it seems that logic can't find them - when I go to try and insert one on an audio

  • POJO runtime datasource to report designed using CRv10 Access DAO datasourc

    I need to pass POJO runtime data source to a report which was designed using Crystal Report Designer v 10 using MS Access database as data source ie (DAO data source connection). I'm using CR for Java "import com.crystaldecisions.sdk.occa.report.appl