Need o/p in following format

Hi All,
Presently im getting an output of my Select statement like this:
0000000000279012,Service E777: please enter a price
0000000000279012,Purchase order still contains faulty items
0000000000279012,No instance of object type PurchaseOrder has been created. External re
0000000000279023,Purchase order still contains faulty items
0000000000279023,No instance of object type PurchaseOrder has been created. External re
0000000000279025,Service E221: please enter a price
0000000000279025,Purchase order still contains faulty items
0000000000279025,No instance of object type PurchaseOrder has been created. External re
0000000000279031,User NATARAK already processing Contract 4600000024 &
0000000000279031,Purchase order still contains faulty items
0000000000279031,No instance of object type PurchaseOrder has been created. External re
But i want it like this:
0000000000279012: Service E777: please enter a price
                              Purchase order still contains faulty items
                              No instance of object type PurchaseOrder has been created. External re
0000000000279023: Service E221: please enter a price
                             No instance of object type PurchaseOrder has been created. External re
...so on......
I tried usig distinct..but it is not solving the purpose.
SELECT distinct docnum FROM edidc
    INTO CORRESPONDING FIELDS OF TABLE lt_edidc
    WHERE credat BETWEEN s_credat-low AND s_credat-high AND
          sndprn = p_sndprn AND
          status = p_status AND
          mestyp = p_mestyp AND
          idoctp = p_idoctp.
IF lt_edidc[] IS NOT INITIAL.
      SELECT * FROM edids
      INTO TABLE lt_edids
      FOR ALL ENTRIES IN lt_edidc
      WHERE docnum = lt_edidc-docnum AND ( statyp = 'A' OR statyp = 'E' ).
    ENDIF.
Please help.
Thanks and regards,
Meena.

Hi,
Put all data into an internal table.
Use following pseudo-code.
loop at <int_tab> into wa.
  at new <field-name for key field>
    put in any order u wish
  endat.
endloop.
Hope this helps,
Regards,
Rajat

Similar Messages

  • HT204406 I have a song that is in the following format: 256 kbps, 48 kb in size, and an AAC file format. Why would is it noted in imatch as ineligible?

    I have a song that is in the following format: 256 kbps, 48 kb in size, and an AAC file format. Why  is it tagged in imatch as ineligible?

    I ended up reformating the drive as FAT32 because I still need to use it on my Windows 98SE system also. I did have a problem with the allocation size. I wanted to use 512 bytes but it kept failing so I used the default size(8192 bytes) and then it worked fine. I didn't think there would be a problem formatting as NTFS but since you are having problems I just tried it. It failed at 512 bytes allocation size so I tried again using 4096 bytes, the default, as the allocation size and it failed again. It looks like these drives will not format as NTFS.
    Also, I think I figured out what's going on with the ReadyBoost problem. As I said initially it wouldn't work with ReadyBoost then after I had 12GB of data on the drive the ReadyBoost feature started working. After I deleted all the files it quit working again. After doing some reading on the net about Flash drives and ReadyBoost problems it appears that the memory chips on my Lenovo Flash drive are mixed with both fast memory chips that work fine with ReadyBoost and slower memory  chips that are too slow for ReadyBoost. Apparently, after I fill up the portion of memory with data that uses the slow chip(s) then ReadyBoost works fine with the fast chip(s).  I also verified the Flash drives read and write memory speeds using Vista's Event Viewer. To work with ReadyBoost the Flash drive has to read at a minimum of 2.5MB/s (for 4KB random reads) and write at a minimum of  1.75MB/s (for 512KB random writes).
    Let me know what you find out.

  • Need help with converting date format to decimal in SSRS expression.

    Hi all,
    I have a decimal data type column with a record in the following format 20150219 --> yyyyMMdd. And I am trying to convert the return value from SSRS date/time parameter to a decimal value.
    The TMDTOP column is the decimal data type with date records in yyyyMMdd format.
    My return parameter is the following:
    =IIf(IsNothing(Parameters!SystemDate.Value),Fields!TMDTSY.Value,CDec(Format(Parameters!SystemDate.Value,"yyyyMMdd"))) 
    When I try to run the report I get the following error:
    Failed to evaluate the FilterValue of the DataSet ‘DataSet1’. (rsFilterEvaluationError)
    I appreciate if anyone can help me on solving this problem.
    Thanks in advance.

    why casting date to decimal here? Can you explain?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    I want to add that I deleted all the old back-ups and created a new back-up without any issues except sync problem.

  • I Need Java code for following Algorithm

    * I Need Java code for following algorithm. Kindly any one help.
    1. Read the contents (ideas and its corresponding scores) from two files named as 'a' and 'b'.
    2. Stored the file 'a' contents in array a[].
    3. Stored the file 'b' contents in array b[].
    4. compare both files like
    if(a.equals(b[j])
    Writing the common idea and add the score from file 'a' and 'b'.
    else
    write the uncommon idea and its score..
    For example :
    Form Agents.txt
    action,65
    architecture,85
    eco-,15
    essay,30
    form,85
    form,85
    link,40
    tangent,25
    Form Agents1.txt
    Black holes,69
    essay,78
    Herewith i have above mentioned two files named as Form Agents and Form Agents1.
    Form Agents has eight fields
    Form Agents1 has two fields
    --> 'essay' is common in two files, so store the idea 'essay' and add the score from Form Agents score is '30' and Form Agents1 has 78 (essay 108).
    Finally it stores idea in another file with uncommon fields also.
    Please help us.

    We have tried with following code.
    But we cant add the scores.
    For Example:
    Form Agents.txt --> has "essay,30"
    Form Agents1.txt --> has "essay,78"
    Result is: essay,108
    Finally it stores idea in another file with uncommon fields also.
    So Any one pls correct the following code.
    try
    DataOutputStream o1=new DataOutputStream(new
    FileOutputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
    World\\Project\\Material\\art\\System Agents\\Form Agents\\CandidateResponses\\Form
    Agents.txt"));
    //Reading the contents of the files
    BufferedReader br= new BufferedReader(new InputStreamReader(new
    FileInputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
    World\\Project\\Material\\art\\System Agents\\Form Agents\\Ideological\\Form
    Agents.txt")));
    BufferedReader br1= new BufferedReader(new InputStreamReader(new
    FileInputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
    World\\Project\\Material\\art\\System Agents\\Form Agents\\Related\\Form
    Agents.txt")));
    while((s=br.readLine())!=null)
    s1+=s+"\n";
    while((s2=br1.readLine())!=null)
    s3+=s2+"\n";
    int numTokens = 0;
    StringTokenizer st = new StringTokenizer(s1);
    String[] a = new String[10000];
    String[] br_n=new String[10000];
    int i=0;
    while (st.hasMoreTokens())
    s2 = st.nextToken();
    a=s2.substring(0,s2.length()-3);
    s6=s2.substring(s2.length()-2);
    br_n[i]=s6;
    i++;
    numTokens++;
    int numTokens1 = 0;
    StringTokenizer st1 = new StringTokenizer (s3);
    String[] b = new String[10000];
    String[] br1_n=new String[1000];
    int j=0;
    while (st1.hasMoreTokens())
    s4 = st1.nextToken();
    b[j]=s4.substring(0,s4.length()-3);
    s7=s4.substring(s4.length()-2);
    br1_n[j]=s7;
    j++;
    numTokens1++;
    int x=0;
    for(int m=0;m<a.length;m++)
    for(int n=0;n<b.length;n++)
    if(a[m].equalsIgnoreCase(b[n])){
    int sc=Integer.parseInt(br_n[m]);
         int sc1=Integer.parseInt(br1_n[n]);
    int score=sc+sc1;
         o.writeBytes(a[m]+","+score+"\n");
    break;
    else
    o.writeBytes(a[m]+","+br_n[m]+"\n");
    break;
    }catch(Exception e){}

  • Do we need to put the following code in the web-xml for the project to run

    Hi^^^,
    actually I have created a project in Eclipse WTP and I am running it from remote server. Its giving me 404 error when I tried to run it.
    I know 404 error is generally due to some error in deployment descriptor.
    I am going through this tutorial for creating project in eclipse WTP
    this says that I need to include the following code in web-xml. Please look at the quotes below
    "Web modules in J2EE has a deployment descriptor where you configure the web application and its components. This deployment descriptors is called the web.xml. According to the J2EE specification, it must be located in the WEB-INF folder. web.xml must have definitions for the Servlet and the Servlet URI mapping. Enter the following lines into web.xml:"
    "Listing 2. Deployment Descriptor web.xml"
    <servlet>
    <servlet-name>Snoop Servlet</servlet-name>
    <servlet-class>org.eclipse.wtp.tutorial.SnoopServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Snoop Servlet</servlet-name>
    <url-pattern>/snoop/*</url-pattern>
    </servlet-mapping>
    My question is, it is necessary to include the above lines between <servlet> and </servlet-mapping> in web-xml
    thanks and regards,
    Prashant

    pksingh79 wrote:
    actually I have created a project in Eclipse WTP and I am running it from remote server. Its giving me 404 error when I tried to run it.
    I know 404 error is generally due to some error in deployment descriptor. what's the url you've put.
    <servlet>
    <servlet-name>Snoop Servlet</servlet-name>
    <servlet-class>org.eclipse.wtp.tutorial.SnoopServlet</servlet-class>
    </servlet> Every Servlet has to have a <servlet></Servlet> tag in the web.xml
    the <servlet-name>is for the naming the servlet and the <servlet-calss>is for class file of the servlet in your case the .class file is to be in the package of tutorial,if it's not then how the container will no where the calss file is
    <servlet-mapping>
    <servlet-name>Snoop Servlet</servlet-name>
    <url-pattern>/snoop/*</url-pattern>
    </servlet-mapping>You type something in your url likk http://localhost:8080/webappname (Tomcat server),so for url mapping instead of typing the entire class file name ,you just enough have to type what you've put in the <url-mapping> tag and it has to be inside of <servlet-mapping>
    I think the problem is in <url-pattern> change it like /snoop<url-pattern>
    My question is, it is necessary to include the above lines between <servlet> and ></servlet->mapping> in web.xmlSo now you think whether you need something inside <servlet>and </servlet-mapping>

  • Need help in converting date format

    Hi,
    Need help in converting date format from 'DD-MON-YYYY' to 'YYYY-MM-DD' in an .rtf template as I believe xml publisher supports the date format as 'YYYY-MM-DD' only.
    Thanks,
    Raj.

    I got the same problem, anyone know how to solve this problem? I allready found some date functions on http://blogs.oracle.com/xmlpublisher/2008/09/date_functions.html . I also tried <?xdoxslt:month_name(xdoxslt:get_month(xdofx:substr(NEED_BY_DATE, 4,3)), $_XDOLOCALE), 0, 'nl-NL')?>, but then it returns a namespace error (Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'xdofx' used but not declared.). Anyone know how to fix this?
    Edited by: user11165753 on 7-dec-2009 23:50

  • Need to read Hex data format for Handheld device. (SAP AII RFID )

    Hello,
    we developed a custom screens for packing, unpacking, tag commission.. etc for handheld device for my client. the Serial number field  type is /ain/barcode. Its working fine. but for the new system need to read the Hex format. I created a new field in the screen. but the handheld device is not reading the Serial number in Hex format.
    Could anyone suggest me how to read Hex data in Handheld devices. We are using Motorola MC9090 Series.
    Regards,
    Kamal

    Hi
    Are you using the reader to read an RFID tag or for reading barcodes.
    Ideally, if you read an EPC Gen2 RFID tag, for example, the 96 bit encoded EPC is read and that can be converted to its equivalent  HEX format for posting the observation to SAP AII.
    In case of barcodes, the string is read as is printed on the barcode.

  • I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics

    I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
    I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.

    The Acrobat SDK might be a starting point.
    From there, perhaps a plug-in (built with C+).
    Perhaps with a licensed release of a PDF Library (this could be $$).
    The viable and cost effective alternative is use the tried and true.
    Authoring in an appropriate authoring application with appropriate tag management.
    Example:  Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
    This way you place "Alternative Text" when mastering content in the authoring file.
    Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
    Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
    Regardless, here you have a sub-forum for discussions on Acrobat usage.
    Consequently discussions on/of 3rd party software is rather out of scope eh.
    Be well...

  • I need to change from "frames" format to html...

    I published my first website using iWeb. Evidently the search engines aren't finding it because it is "frames" format. It needs to be in "html" format. How do I convert what I've already created? I'm a novice Mac user (since April) and definitely a novice website designer/publisher. Any help will be greatly appreciated! Thanks in advance...Sandi

    Same thing, I made a few sites w/ iWeb and they dropped off Google serches completely. But I love the ease of iWeb so I went searching and I found this article very helpful, and it makes good, common sense.
    http://www.ragesw.com/blog/2008/04/12/seo-for-iweb-how-to-get-your-iweb-websites -into-google-other-major-search-engines/
    It is the Rage SEO website (no affiliation). I used their free SEO Tool to add meta tags and alt tags to photos, and then bought Rage Sitemap Automator to make a sitemap. I also got a Google Webmaster account and verified my sites. Google asks you to create an html file with a specific name provided by Google. I made a blank html page and just named it per Google then uploaded it on my site.
    However, I just did this a few days ago and my sites still aren't showing up in searches but I figure Google hasn't crawled them yet. We shall see.

  • Custom batch rename files with Aperture 3 in the following format: IMG_0023.cr2 to Smith_YYMMDD_0023.cr2?  I cannot find a way to structure the date in Aperture as such, as well as extract only the camera file

    Please advise how to custom batch rename files with Aperture 3 in the following format: IMG_0023.cr2 to Smith_120816_0023.cr2?  I cannot find a way to structure the date in Aperture as such (YYMMDD), as well as extract only the camera file (0023, for example).  Adobe Bridge CS5 can do this, but NONE of the Adobe software is retina optimized, and is terrible to look at.

    In Aperture you are limited to renaming files by the entries in the File Naming preset window.
    At what point are you looking to rename, import or export? It might be possible to do what you are looking to do external to Aperture either via a script or other software.
    regards

  • How to get report with following format

    Hi
    For tax reporting purpose, our company has to get a report in the following format so that they can export it to excel file.
    Customer    -       Name   -    address  -   sales/purchases
    The last column is the one we get from fd10n by entering customer number.
    Please let me know the easiest way to obtain it.
    Thanks
    PrinceofLight

    HI,
    Please consult your technical team they can easily  prepare zreport for that particular fields.
    K.satish

  • How to convert siebel date to following format?

    Hi,
    How to convert siebel date to following format?
    01-01-2011 5:00 AM (dd-mm-yyyy hh:mm AM)
    01-JAN-2011 5:00 AM (dd-MON-yyyy hh:mm AM)
    01/01/2011 5:00 AM (dd/mm/yyyy hh:mm AM)
    Please suggest functions for conversion. Have tried few but didnt work.
    Thanks.

    Excerpts from
    http://bipconsulting.blogspot.com/2010/01/my-date-doesnt-like-me-with-siebel.html
    ".. the date data generated by Siebel with the IO is in ‘MM/DD/YYYY HH:MI:SS’ format, so it is something like ‘10/09/2008 05:31:13’. And BI Publisher doesn’t recognize that this is a date data because it’s not presented in the ‘Canonical’ format!.."
    "...There are two possible and reasonable workarounds to overcome this issue. The first one is to use one of the Siebel’s extended function ‘totext()’ to convert the Siebel date format to the ‘Canonical’ date format before the BI Publisher’s date related function comes in..."
    Please read on the above link to find out how to actually resolve this issue.
    Good Luck
    (please if this provides a solution for you grant the points and close this thread. Thanks!)
    Jorge

  • Output required in following format " Sold-to: Address: GRIMES, IA 50111"

    Hi
    Sold-to: Address: GRIMES, IA 50111
    need help how to join 3 field information in one row
    city, region and pin.
    i am using
    Perform add_to_extract Using label_sold_address2 it_data-ort01.
    I need to add the following fields to sold_address2 - " it_data-regio it_data-pstlz.
    FORM add_to_extract  USING    p_label
                                                    p_value.
      CLEAR it_extract.
      it_extract-label = p_label.
      it_extract-value = p_value. "
      APPEND it_extract.
      CLEAR it_extract.
    ENDFORM.          
    can someone suggest a way to add it.

    use
    data : v_address(40).
    concatenate 'Sold-to: Address:' it_data-city ',' it_data-regio it_data-pstlz into v_address.
    write v_address.
    Thanks
    Mahesh

  • As we want to develope a plug-in in adobe reader, what we need to do or follow, and about authentication. Thank you!

    We need to develope our own adobe reader plug-in, what we need to do to follow the developing.
    When we had finished developing our own adobe plugin, we need the adobe plug-in to be released so that our user can click a link to download and install our plugin. It should be given the appropriate authorization adobe. We need to understand the process of development and publishing plug-ins as well as expenses that may arise here.

    Thanks for your reply. And there is another thing that is when we had finished the developement of the plug-in. We dont't know whether we need to connect to adobe to  licensed to us so that our users can install the plug-in in reader. And of course, is there any costs we need to pay for about the licence.~~~

Maybe you are looking for

  • URGENT: help me to update PO_STANDARD_XSLFO.xsl

    Hi we need the standard PO out put with our company logo and name. For that I would like to insert our Company logo and name into the standard template PO_STANDARD_XSLFO.xsl, I tried to upload our own template to "Standard Purchase Order Stylesheet"

  • MY IPOD DIED AND IT WONT CHARGE!!! HELP!

    it died.. and now it won't charge. my computer doesnt see it and neither does iTunes. What's wrong and how can i fix it? PLEASE help!

  • Taking cluster disk offline made all other resources in the group to go offline.

    Hi, We have three node windows 2008 R2 failover cluster. When we tried to take one of the cluster disk offline from a application and services, it made all other resources in that application and services to go offline even though there was no depend

  • How to Replace Line feed

    Hi All,         i want to replace a line feed which is shown as ## in debug mode with space.. Though i have tried replacing it by giving hexadecimal value of # but still its not gettign replaced. So how do i replace these occurences of line feed in t

  • Need a flash player for ipad

    Not able to download adobe flash player to view a seating chart- what are my options