Multiple lines of data to single line

Hi All,
Need help on getting data in single line out of multiple lines from bex query based on condition.
Reporting using Crystal 2011 SP06
Please find the attachment.
Thanks
Santhosh

Hi Santosh,
Here's what you need to do:
1) Create a formula with this code:
If {Confirmed_Qty} > 0 then {Conf_Delivery_Date}
2) Go to Insert Summart > Choose the above formula field as the field to summarize > Choose 'Max' as the sum function > Under Summary Location chose Group section
3) You would also need to insert a Max function on the Confirmed Qty field and place the summary on the Group Section like all the other summaries.
-Abhilash

Similar Messages

  • Is it possible to create a form with multiple form fields on a single line?

    Is it possible to create a form with multiple form fields on a single line?  I can't find anything in the documentation or a template that does this.
    I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
    In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor.  I would prefer to use FormsCentral if it is possible.

    We now support multiple fields on one line. This post provides a brief overview.
    Give it a try and send us your feedback.
    Sorry it took so long.
    Randy

  • In Capital P.O - Multiple asset number in a single line item

    Hi friends,
    My Client is using SAP 4.7. In capital P.O selecting account assignment as 'A'  asset and entering in description as Laptop 5 Qtys in a single line item. in item details account assignment tab its asking to enter asset. I'm able to select only one asset number. But my client requirement is it should ask to enter 5 asset number....
    Pls anyone give solution for the above scenario....
    very urgent.... pls

    Hi,
    1st check in OME9 t.code for account assignment A, the selection of 2(Multiple account ***)in field ID: AcctAssgt Scrn and Distribution field as 1 and save.
    Then during capital P.O. creation for single line item & in Item details TAB, in account assignment segment, you can enter qty with asset number (A1) with G/L account for 1st Line and for 2nd line keep qty. with asset number(A2) with G/L account ( different G/L Account) OR enter qty with asset number (A1) with G/L account for 1st Line and for 2nd line keep qty. with another asset number(A2) with G/L account (same G/L Account)
    Option-1----> In account assignment segment , As you needed
    G/L account----
    Asset
    12345u2026u2026u2026u2026u2026u2026u2026u2026A1
    12346u2026u2026u2026u2026u2026u2026u2026u2026A2
    12347u2026u2026u2026u2026u2026u2026u2026u2026A3
    12348u2026u2026u2026u2026u2026u2026u2026u2026A4
    12349u2026u2026u2026u2026u2026u2026u2026u2026A5
    Having a concept that GR is non-valuated and accounting entries in invoice (without tax) are:
    Vendor A/C: Cr
    G/L account (12345): Dr
    G/L account (12346): Dr
    G/L account (12347): Dr
    G/L account (12348 ):Dr
    G/L account (12349 ):Dr
    Option-2---> In account assignment segment , You can have also
    G/L account----
    Asset
    12345u2026u2026u2026u2026u2026u2026u2026u2026A1
    12345u2026u2026u2026u2026u2026u2026u2026u2026A2
    12345u2026u2026u2026u2026u2026u2026u2026u2026A3
    12345u2026u2026u2026u2026u2026u2026u2026u2026A4
    12345u2026u2026u2026u2026u2026u2026u2026u2026A5
    Having a concept that GR is non-valuated and accounting entries in invoice (without tax) are:
    Vendor A/C: Cr
    G/L account (12345): Dr
    Regards,
    Biju K

  • Multiple form items on a single line.

    Does anybody know if it is possible to squeeze multiple items onto a single line in a Java ME form? i.e. can you have a small TextBox (say, 2 chars wide), a small StringItem, and then another small TextBox all together on the same line?
    If it can be done, then how can it be done?

    Are you referring to using the standard LCDUI framework? If so this may be down to the device manufacturers implementation of the standard Form layout.
    Besides, I would personally advise using LWUIT for any current Mobile Java App, unless you have to target very old devices. LWUIT certainly has this layout capability and more through Swing-like layout managers, and Suns endorsement of it as the de-facto UI framework on JavaME apps seems to be growing by the day.

  • Multiple invoice line items posted as single line item in FI

    Dear Gurus,
    My client has a specific requirement.
    We are required to maintain a rebate condition at item level. In the invoice the values of rebate conditons are appearing as per the line item. This rebate condition has been maintained as statistical and accrual key has been assigend to it. Respective configuration has been done in VKOA. Accural check box has been activated for the rebate condition type.
    Now when we are posting the invoice to FI, client requires that instead of line item wise posting of accrual amount it should post entire accrual amount in the single line item. In other words it is like posting of header amount directly, without any line item wise splitting.
    Please help me ASAP.
    Thanks in advance.
    Regards
    Piyush Ranpura

    Dear Friends,
    I am thankful for your replies. But probably I was not able to put the issue is the proper manner. Let us consider this example -
    Mat. codes - M1, M2, M3 & M4   Rebate cond. - ABCD    Accrual key - ABC    GL - 12345678
    In the invoice, rebate values are determined as follows for the each line item -
    For Line item 10, Material M1
    ZSHA   -   100
    For Line item 20, Material M2
    ZSHA   -   125
    For Line item 30, Material M3
    ZSHA   -   100
    For Line item 40, Material M4
    ZSHA   -   75
    While the invoice is released for accounting follwing entries are there
    xx 1 xx
    xx 2 xx
    xx 3      100  12345678
    xx 4      125  12345678
    xx 5      100  12345678
    xx 6        75  12345678
    xx 7 xx
    xx 8 xx
    But my requirement is
    xx 1 xx
    xx 2 xx
    xx 3    400  12345678
    xx 4 xx
    xx 5 xx
    How it could be done?
    Thanks & Regards
    Piyush Ranpura
    Edited by: Piyush Ranpura on Sep 1, 2010 9:10 AM

  • Converting strings with line feeds to a single line with identifying chars

    Hi, I dont want to re invent the wheel if there is something out there that does this already. I want to take some string with multiple
    line feeds and convert it to a single line. For example:
    "I want this string
    to be changed to
    a single line"
    to this...
    "I want this string\r\n to be changed tor\\n a single line"

    vsekvsek wrote:
    OK, Hope this will make better sense. So right now a I have a routine that loads files like below:
    "TEST\r\n TEST1\R\n TEST2"It's not clear to me at this point what you mean by that string.
    After the initial word TEST, does that string have a backslash character followed by an r followed by another backslash followed by an n? Or does it have a carriage return followed by a line feed. (\r followed by \n)
    We format it when loading in a way that it will look like this when queriing from the DB
    "TEST
    TEST1
    TEST2"It doesn't look like anything "when querying from the DB." That part doesn't make any sense.
    Either the string has a backslash followed by an r, in which case when you render in in a text editor or on a console it will look like a single line with a visible backslash character followed by an r, or it has a carriage return (\r) in which case it will look like multiple lines when rendered in a text editor or on a console.
    Later I re-extract it to a file from the DB and What confuses me is when I inspect the string it looks like this
    "TEST\r\n TEST1\R\n TEST2"How are you inspecting it? If it's in a debugger or similar tool, it's not uncommon for it to be showing a carriage return character (\r) as a visible backslash followed by an r, rather than interpreting it and rendering a new line. This is so that you can see exactly what characters are in there, rather than wondering about the specific whitespace.
    >
    but it extracts to my file like
    "TEST
    TEST1
    TEST2"
    So I guess there are some hidden cr's or something messing it up that I need to manipulate but not sure how to apprach it?I still don't know what you're trying to do, or if you even have an actual problem with your data or are simply not understanding what you're seeing.

  • Many lines of codes into single line

    I want to execute t-sql-query from VB.NET program. I wrote and successfully executed sql query in MANAGMENT-STUDIO-EXPRESS..  But the problem is that. The codes are of 10 lines. And i need single line code to paste in vb.net.. How is that possible
    In qbasic i used to use COLON ":" to merge lines. 
    Is merging lines possible in SQL SERVER. If yes how?? Please help

    Hi,
    Like Rsingh, suggested create Stored Procedure - 
    http://support.microsoft.com/kb/309486
    To combine multi line code -
    http://msdn.microsoft.com/en-us/library/ba9sxbw4.aspx
    http://stackoverflow.com/questions/461714/vb-net-single-statement-across-multiple-lines
    http://blogs.msdn.com/b/bethmassi/archive/2007/10/23/avoid-underscores-in-your-multiline-strings.aspx
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • SQ01 query, one field not populating in first line, pushing data to next line

    Good day all
    I have worked with queries for some time and have never encountered this error
    I have a few table joins (FAGLFLEXA, BKPF, BSEG, EKKN, SKAT and EKPO), every thing works and displays correctly, except for the one field
    EKKN (ABLAD) - Unload Point.
    For some reason, when I test the query, it displays correctly with one entry, but as soon as you run the test for more entries, for some reason, the first Unloading point on the report is empty and the value reflects on the next line.  If you display the physical documents where the data pulls from, you can clearly see that the entire report pushes down the field to the next line.
    For example
    Physical SAP Document GL and or PO:
    Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point
    2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      24/59/68
    2014     001     XD     40000000001     ABCC     86100       Text              ACC       18755.50             11          20140108      26/00/48
    SQ01 report (with one line)
    Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point
    2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      24/59/68
    SQ01 report (with more lines)
    Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point
    2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      2014     001     XD     40000000001     ABCC     86100       Text              ACC       18755.50             11          20140108      24/59/68

    I found the error!  The query was written in a certain format.  For example it had many fields which was used to populate the data from different tables.  The error occured because of the sequence.  The query had to bring in a field but it had to derive it from a purchase order, but the purchase order check was after the said field therefor, when it looked at the Purchase Order, it found the field and populated it, but only on the second line.  In the first line it couldnt find the Purchase order yet (as EKKO was lower down), so it didnt populate it yet....
    SIGH

  • How to upload multiple company codes data for single vendor by LSMW Idoc

    Hi ,
    My requ is like this.
    uploading data by LSMW Idoc method
    In source file we have two company codes data for single vendor.
    It should create vendor for two company codes.
    But its not creating its showing error.
    How to handle this?
    Thanks in Advance.

    have you ever see this docu:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/1a/178ac72d3011d3bc3500105a6588b2/content.htm
    You can use the recording function to create a new object (or a new "import method") if neither a standard batch input program nor a standard direct input program nor the BAPI/IDoc method is available for a data object.
    Recordings are static, thats why you cannot do such flexible things like  multiple company codes at the same time.
    But with IDOC method it is certainly possible, I have done it several times already.
    Unfortunatly the creator of this thread did not say what error he got with the IDOC method. Maybe he will add this. Otherwise I dont think that anybody can help

  • Can I add multiple swing elements on a single line.

    Im adding a number of labels to the JPanel -- is there a way to add them all on one line as opposed to:
    c.add(top1);
    c.add(top2); etc. etc.?

    Im adding a number of labels to the JPanel -- is
    there a way to add them all on one line as opposed
    to:
    c.add(top1);
    c.add(top2); etc. etc.?well you can do
    c.add(top1); c.add(top2);
    but basically no, you can't add them all together at the same time

  • Exporting Multiple Internal table data to Single Excel file.

    Hello Expert,
      I want to export more than one internal table data from Web Dynpro Application to single Excel file but in such a way that
    each table's data to be get exported to different tabs in (Multiple sheets)  that single excel file.
    So help me in this matter.
    Thank You.
    Varun
    Moderator message: wrong forum, please post again in "Web Dynpro ABAP".
    Edited by: Thomas Zloch on Oct 29, 2010 1:39 PM

    Each table having different sheet in same CSV file .
    A CSV file is a flat file and don't have "Sheets"; you would have to Export to an Excel file, which supports several Sheets in one file.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to Read multiple material master data in single idoc

    Iam working inbound material master custoum idoc .IN a single idoc i am receiveing multiple materials data .
    i want to read each material  data in idoc that data need to pass BAPI(perform REC_CREATION_MM Iin side this perform material posting bapi is there.).
    Please provide any suggestion <removed by moderator>.this below logic is not working if idoc contain single material and last record in multiple material is not posting
    lOOP AT idoc_data WHERE docnum = idoc_contrl-docnum.
    if sy-tabix NE 1.
          If idoc_data-segnam = 'E1MARAM'.
            perform REC_CREATION_MM.
          endif.
        endif.
        CASE idoc_data-segnam.
          WHEN 'E1MARAM'.
            wa_E1MARAM = idoc_data-sdata .
            APPEND wa_E1MARAM TO it_E1MARAM.
            MOVE-CORRESPONDING wa_E1MARAM TO it_BAPIMARA.
            APPEND it_BAPIMARA.
            MOVE wa_E1MARAM-MATNR TO it_TABFILD-MATNR.
            MOVE wa_E1MARAM-MEINS TO it_TABFILD-MEINH.
            APPEND it_TABFILD.
          WHEN 'ZMM_C_CLFMAS01'.
            wa_ZMM_C_CLFMAS01 = idoc_data-sdata.
            APPEND  wa_ZMM_C_CLFMAS01 TO it_ZMM_C_CLFMAS01.
          WHEN 'E1MAKTM'.
            wa_E1MAKTM = idoc_data-sdata.
            APPEND  wa_E1MAKTM TO it_E1MAKTM.
            MOVE-CORRESPONDING wa_E1MAKTM TO it_BAPIMAKT .
            APPEND it_BAPIMAKT.
          WHEN 'E1MARCM'.
            wa_E1MARCM = idoc_data-sdata.
            APPEND wa_E1MARCM to it_E1MARCM.
            MOVE-CORRESPONDING wa_E1MARCM TO it_BAPIMARC .
            APPEND it_BAPIMARC.
         WHEN 'E1MVKEM'.
            wa_E1MVKEM = idoc_data-sdata.
            APPEND wa_E1MVKEM to it_E1MVKEM.
            MOVE-CORRESPONDING wa_E1MVKEM TO  it_BAPIMVKE .
            APPEND it_BAPIMVKE .
          WHEN 'E1MLANM'.
            if NOT idoc_data-sdata is INITIAL.
              wa_E1MLANM = idoc_data-sdata.
              if  NOT wa_e1mlanm is INITIAL.
                APPEND wa_E1MLANM TO it_E1MLANM.
                MOVE-CORRESPONDING wa_E1MLANM TO it_BAPIMLAN .
                APPEND it_BAPIMLAN .
              ENDIf.
            endif.
        ENDCASE.
      ENDLOOP.
    Thanks
    VIJAY
    Edited by: Thomas Zloch on May 4, 2010 3:09 PM - priority normalized

    Check the material available in MARC table in SE11 transaction against your plant.If it is not available please maintain through MM01 transaction.

  • Sharepoint 2013, Document Library: Sharepoint is changing data in a single line of text column to ISO8601 after modifying other columns

    Hello there,
    basically, as the title says: We have a Document Library on a Sharepoint 2013. Attached to every document are multiple columns, the type for every column is 'Single line of text'.
    One column is called 'billing date' and has suitable data in it, e.g. 01.01.2015, 26.02.2015, 29.03.2015 an so on.
    Sometimes when someone is editing an other column of the same document the data in 'billing date' changes from 01.01.2015 to 2015-01-01T00:00:00Z for that document, seemingly randomly.
    Is there any way to configure or prevent this?
    Thanks in advance and kind regards,
    Michael

    Hi,
    From your description, my understanding is that SharePoint changes the format of date in single line.
    It is very strange issue. I try to reproduce your issue in my environment, but everything is OK.
    To solve your issue, I need to collect some information, please confirm these points below:
    When will the format of date change? Does it change immediately when you edit the document or after clicking save button?
    Does the issue occur in this document library or each one in your environment?
    Do you have some special configurations for this document library?
    In addition, could you provide a screenshot as below?
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Posting multiple tax codes for single line order in MIRO

    Hi all ,
    I have received a request from my business colleagues to investigate the possibility of posting multiple tax codes against a single line order in MIRO.
    This apparently can be a possibility for such things as training.
    I have searched a number of forums and tried and tested different ways in my develoment client but am unable to find a solution. admittedly I am no real expert in this area and would be gratefu;lt of any ideas / assistance  / etc..

    HI,  There is a possible solution for this scenario.
    1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
    2. While posting the Invoice (TRX - FB60) following steps need to be followed.
    3. Amount has to be split into two line items
    4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
        created for 12.5%
    5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that    
        was created for 12.36%.
    Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
    Regards
    K.Sanjai Babu

  • XML output - all tags in Single line?

    Hi,
    Scenario: HTTP----> XI --- > File(XML)/Proxy(abap).
    Output XML file has the data in single line(all XML tags).
    Now, issue with abap proxy which reads this XML file for sending attachment in email has length constraint(can not read if line length exceeds 255 chars).
    Is there any option in XI, to print each pair of tags in each line(using carriage return or line feed?)
    Please help.

    Mallik,
    I do not think that this can be achieved in XML to XML (unless you can create a specific module and add to the module tab)
    But if you create say a CSV or TXT file and use the <b>Content Conversion Parameters</b> option
    Here you can specify the fieldSeparator to be 'nl'
    <b>Input</b>
    <?xml version="1.0" encoding="UTF-8"?>
    <record>
    <field1>f1</field1>
    <field2>f2</field2>
    <field3>f3</field3>
    </record>
    <b>Output</b>
    f1
    f2
    f3
    Here you have retained your data and each field is separated by a new line.  Unfortunatley with this method you lose your XML tags
    Regards,
    Mike

Maybe you are looking for