Multiple Line Results

I use Crystal to get shipments by warehouse.
The only way to get this is by Order Entry line item detail - Warehouse # field.  However, if I group by
invoice #, I get multiple line results for every line item on the invoice.  I only need one.
So if I have total fields in the detail, I get repeated info.
I cannot surpress becuause some totls may be the same on multiple invoices.
If the last item on the invoice is freight or misc. charge, there is no warehouse associated with this so i get no answer if I just take the last record.
The item line field (status) DOES NOT WORK other wise I could use a formula to pick warehouse for item # 1 line.
Does anyone have any ideas?

If you could post some sample data that would help.
What about multiple groups.  group by warehouse and then date, item number etc.
Once you have these, supress the group headers / footers as needed..  Again a sample of the
data would help.

Similar Messages

  • QuickViewer - logical DB PNPCE.  Same person on multiple lines in result

    Hi
    I have created a Quickviewer using SQVI.  Logical DB PNPCE is used as data source.
    When I create the quickviewer I first has to build up the infoset by selecting info types to be included.
    I select several info types.
    When I build up the report I select fields also from several info types.
    Next is to execute the report.
    When I get the result list it is several lines for each person.  I may look like one line is displayed for each info type (included in the infoset) that the person has info in.
    This is even that I have build up my report with only line.
    Content is more or less the same on all lines for the person.
    How can get only one line for each person?  Even when I select info from several info types.
    Best regards
    Tom

    HI,
    check the infotypes used in the infoset with ONE personnel number that gives you several line items.
    There must be some infotypes where there is more than one data record stored for one personnel number (eg many infotypes have time dependent entries (begin-date / end-date) thus moe than one entry exists for the same personnel number if tthere are more begin / end time intervals.
    If you have identified the infotypes causing the multiple line items, define your selectioncriteria in a way that only ONE record is selected.
    best regards, Christian

  • Single/ Consolidated  GR/IR entry for a PO having multiple line items

    Hi,
    In a PO there are couple of line items for materials of similar type and class. While making the Goods Receipt, the Accounting Document is making two no of line items for GR/IR accounts as credit and two no of inventory accounts as debit. Same is happening to GR/IR account while making Invoice Receipt document also.
    Informatively, both the materials above have been assigned to one GR/IR account in the OBYC table.
    My question is, is it possible to consolidate the value of both these materials and post one line item for GR/IR account. This is required as in our case in a PO, normally, we do have multiple line items and hence it is resulting multiple no of GR/IR and inventory accounts in a single accounting document. As we are getting details of the line item from PO history, we do not require it in the accounting document.
    Requested to kindly help.
    Regards
    B.Mohanty

    Hi
    This is not possible (you will compleet los the link between the Invoice and GR)
    The reason is that when you receive an invoice that this is based on a G/R line and the way arround when you receive first the invoice(s).
    The system need this for the automatecly clearing from the  G/R - I/R account, that is based on PO an PO line item number.

  • Is there a way to execute a proecdure in multiple lines in sqlplus

    Is there a way to execute a procedure in multiple lines in sqlplus
    this is what appears in my text file. It is not wrapped
    exec UNREGISTER2(p_ChannelType=>:p_ChannelType,-
    p_User_ID=>:p_User_ID,-
    p_CallerID=>:p_CallerID,-
    p_DDINo=>:v_ddi_no,-
    :p_Return);
    of course the above cannot be executed
    thanks

    Declare
      Result Number;
      p_result Number;
    Begin
    result := p_pck.f_funct  ( P_para1 => p_result,
                                      p_para2 => 'XX',
                                      p_para3 => 'wser',
                                      p_para4 => 'yyyy',
                                      p_para5 => 'Y'
    End;
    Result To hold Value Return By The Function
    p_result Is Out para From Function f_unct which Is written inside pck p_pck

  • 1 line item in invoice for Multiple line items of SO

    Hi SD Gurus,
    My client requirement is multiple line items of the sales order should reflect as a single line item in the invoice ..?
    For ex: I am using Service material type Dien & material created under different material groups.
    My Sales order looks somthing like below with material no & amount:
    10  Testing charges    10$     material group xx1
    20  Baking charges     20$     material group xx2
    30  Scan/Taping          20$    matierial group xx1
    Now in the invoice its should reflect only with 1 line item with the whole amount 50$.
    Kinldy let me know how  this requriement can be fullfilled.
    Thanks,
    Rahul

    Dear Rahul
    I think you can apply Rate Routing for this.
    A rate routing is a routing for repetitive manufacturing. It enables you to easily reproduce the lean production process.
    In the rate routing, the production rate per operation is defined (production time according to a base quantity). Set-up time is not usually defined, since no changes to setup are planned.
    However, you can also use standard routings. A standard routing represents the various steps of production (such as setup, processing, teardown and so on), operation by operation, if necessary with suboperations.
    A rate routing does, however, offer all the same functions as a standard routing.
    <b>Structure</b>
    If you use the same standard value key for all the work centers on the line, the system copies the descriptions of the standard values to the routing as the column headings of the operation overview.
    If you use different standard value keys for the work centers, the system copies the descriptions into the routing that is entered in the control data for the routing in Customizing.
    To create a Rate Routing, follow the steps as under:-
    1)  Starting from the main Line Design menu, choose Rate routing --> Create.
           The system displays the initial screen for rate routings.
    2)  Enter the plant, the material and in the field Group, the group to which you want to assign the rate routing.
    3)  Choose Enter.
         The system displays the screen Header details.
    4)  Enter the following data:
             => the routing description
             => the plant
             => the usage of the rate routing, i.e.production
             => the status, i.e. released
             => the unit of measure of the materials to be produced
    5)  Save your rate routing.
    <b>Result</b>
    You have created the rate routing. Continue creating the main production line and if necessary, feeder lines.
    You can also take the help of your PP guy for this.
    Thanks
    G. Lakshmipathi

  • Script issue with multiple lines printing

    Dear All,
    I'm trying to print multiple lines of my internal table in a script.
    But only the last line is being printed all the time in all the lines.
    Attached is my code.
        CLEAR GS_REGUP.
        LOOP AT GT_REGUP INTO GS_REGUP.
    * Start the Form
          CALL FUNCTION 'START_FORM'
            EXPORTING
              ARCHIVE_INDEX = TOA_DARA
              FORM          =  'ZFORM'                                    "T042E-ZFORN
              LANGUAGE      = SY-LANGU                          "T001-SPRAS
              STARTPAGE     = 'FIRST'
              PROGRAM       = 'ZPROG'.
    * Net Amount
          CLEAR GV_NETWR.
          GV_NETWR = ( GS_REGUP-WRBTR - GS_REGUP-PSSKT ).
    * Print the Content
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              ELEMENT  = '525'      "Header
              FUNCTION = 'APPEND'
              TYPE     = 'BODY'
              WINDOW   = 'MAIN'.
    * End the Form
          CALL FUNCTION 'END_FORM'
            IMPORTING
              RESULT = ITCPP.
          IF ITCPP-TDPAGES EQ 0.       "Print via RDI
            ITCPP-TDPAGES = 1.
          ENDIF.
        ENDLOOP.
    Please let me know the flaw in it.
    Regards,
    Deepu.K

    Dear All,
    As i Mentioned in my earlier post, the same coding working fine in Quality server --> Printing multiple lines in script output.
    But now, I have the same reqt. in another window.
    So, I did the same coding.
    But, this time it's printing the last line of the internal table in all the lines.
    This is happening in Quality Server only.
    The only difference between the previous internal table and this int. table is:
    1. The first int. table content is printing in MAIN Window. ---> working fine
    2. The second int. table content is printing in VARIABLE window. ---> NOT WORKING.
    Can any one tell me what's the issue with this ?
    Regards,
    Deepu.K

  • SAP Query with Multiple lines

    HI Team,
    Can we create multiple lines in an SAP Query? If yes, how (pls explain the steps)?
    Like can we have a line for the employee, next for spouse & then the next for child, so on...and then the next employee details.
    Also, there might be fields which will repeat in most of these lines for each employee.
    Thanks
    RL

    Hi RL:
    HR module have PA0021 table (HR Master Record: Infotype 0021 (Family), with this table into TCODE: SQ02  is naturally obtain the result that you ask, or Do you are customizing "Z" program with ALV?
    Regards
    José Luis

  • How to display multiple lines of texts in a single rows in ALV

    Hi,
    I have a unique requirement in which i have to display multiple lines if texts for a single rows in ALV Grid. Right now in my output it is coming in single line which is not visible fully because that text is more than 255 character. So i want to display the test by splitting into multiple lines and show it on output. Please suggest some solution for this if this is possible in ALV.
    Thanks,
    Raghav

    Hi Raghavendra,
    Its not possible to display multiple line in one row of an alv, but i think you can acheive it by splitting the whole text into multiple sub-text.
    For example, if your requirement is as below:
    Field #1          Field #2
    1                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(200 characters)
    2                    yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy(220 character)
    then you can break Field#2 value into say 50 character and then populate the internal table with repetative entries of Field#1 and the finally sort it by Field#1 value... as a result of which you output will be somewhat as below:
    Field#1          Field#2
    1                   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    2                   yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyy           
    Hope it will help you in meeting your requirement.
    Regards,
    Shradha

  • Multiple lines in screen painter

    hi All,
    How can i enable multi lines entry in screen painter ?
    I have a sigle line text right now but user wants ability to enter multiple line since single lines dont suffice their requirement
    tahnks
    AJ

    Hi Ashish,
    Example 1: Creating the TextEdit control
    This is a simple example of how to implement a text edit control.
    Steps
    1.     Create a report
    2.     In the start of selection event add: SET SCREEN '100'.
    3.     Create screen 100
    4.     Place a custom control on the screen by choosing the custom control icon which can be recognized by the letter 'C', and give it the name MYCONTAINER1.
    5.     To be able to exit the program, add a pushbutton with the function code EXIT.
    6.     In the elements list enter the name OK_CODE for the element of type OK.
    The code
    REPORT sapmz_hf_controls1 .
    CONSTANTS:
      line_length TYPE i VALUE 254.
    DATA: ok_code LIKE sy-ucomm.
    DATA:
    Create reference to the custom container
      custom_container TYPE REF TO cl_gui_custom_container,
    Create reference to the TextEdit control
      editor TYPE REF TO cl_gui_textedit,
      repid LIKE sy-repid.
    START-OF-SELECTION.
      SET SCREEN '100'.
          MODULE USER_COMMAND_0100 INPUT                                *
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
    The TextEdit control should only be initialized the first time the
    PBO module executes
      IF editor IS INITIAL.
        repid = sy-repid.
      Create obejct for custom container
        CREATE OBJECT custom_container
          EXPORTING
            container_name              = 'MYCONTAINER1'
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            others                      = 6
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      Create obejct for the TextEditor control
        CREATE OBJECT editor
          EXPORTING
             wordwrap_mode          =
                    cl_gui_textedit=>wordwrap_at_fixed_position
             wordwrap_position      = line_length
             wordwrap_to_linebreak_mode = cl_gui_textedit=>true
            parent                  = custom_container
          EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 5
            others                 = 6
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    The result
    hope this will be helpfull.
    Regards,
    Raghu

  • Multiple line selection for RRI  in WAD

    Is it possible to select multiple lines from 1 query and do a RRI to the receiver query. Eg : Select multiple POs and then go to PO details query which shows PO details of multiple POs in WAD and both the results shown in the same web report?
    I tried the below solution, but all I get is the display of the entire Master data dump and not the filtered values. Any suggestion?????
    Rao  
    Posts: 135
    Registered: 6/24/04
    Forum Points: 8 
       Re: Multiple line selection for RRI   
    Posted: Feb 4, 2008 2:22 PM    in response to: LAKSHMI HARINDRAN           Reply 
    Yes. You can do this. You create web template with ANALYSIS web item. In the item parameters of ANALYSIS web item, you can set a property, single line or multiple for the runtime selection. Once you do this, you create a button option or context selection menu option to jump target. In the button (RRI button) in the command sequence, the first command should be SET_SELECTION_STATE_BY_BINDING and then, the RRI command to jump to the target. Hope it will help.
    Venny.

    Hi, Do you have any solution on this. please suggest. Thanks

  • URGENT: Delivery with multiple line items for a STO

    Hi Gurus,
    We ar ecreating deliveries using VL10b for a STO. Teh TSO has 40 - 50 line items. But the delivery is created with one line item only an dit creates a delivery for each line item. How cna we allow the inclusion of multiple line items in delivery?
    We are using delivery type NL an ditem categor is NLN.
    Geratly appreciate any help in that.
    Thanks,
    KHAN

    The problem you face is called 'Delivery split'.
    For the STO scenario, one common cause is different delivery dates (in the past) in the STO line items. If so, then you should refer to SAP Note 377501 (from where I quote below):
    You can implement the source code specified in the correction instructions in copy routine 301 (or a copy of this routine in the customer namespace). This correction ensures that when you transfer data form the preceding document, backlogged delivery dates or goods issue dates are set to the current date. This prevents the system form performing a delivery split.
    Then a rescheduling of the delivery occurs. Since forward scheduling occurs for backlogged delivery items (that is, the picking date or the transportation planning date is set to the current date), the manipulation of the delivery date or goods issue date in the copy routine does not affect the result of the scheduling.
    If the dates are not the problem, then this Note refers to other Notes which deal with this problem, and should definitely solve your problem.
    Regards
    Nikhilesh

  • Concatenate multiple lines into 1

    I am trying to pull a list of journal entries that meet a certain criteria.  What I would like to know is if I can take that list of multiple lines and combine them into one?  This way I can use the results and run another report with those parameters.  I don't know of any other way to pull in all the lines in a journal entry with certain GL accounts.  I know I can do this if I export a query as an .iqy file and run it in excel, but nobody in my company knows, or wants to know, how to do this other than me.  Or if you know of a better way, I would surely appreciate it.
    Thanks.
    Oracle BI Discoverer 11g (11.1.1.6.0)
    Oracle Business Intelligence Discoverer Plus 11g (11.1.1.6.0)
    Discoverer Model - 11.1.1.6.0
    Discoverer Server - 11.1.1.6.0
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 11.1.1.6.0
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Copyright © 1999, 2009, Oracle.  All rights reserved.

    Post Author: Charliy
    CA Forum: General
    Take the initialize formula out of the Group Header.
    Place it an the Report Header, and create a second (print suppressed) Group Footer and place it there

  • BDC for F - 43, Multiple posting keys,multiple line items

    Dear gurus,
                     I need to develop a bdc for  F-43, it it working for multiple posting keys with two line items, but not working for multiple line items, can you tell me where to loop the line items.
    regards,
    vidyasagar yadav.

    F-43 is actually FB01 (with two parameters, check it with SE93).
    So you could use the following FMs in sequence to build the BDC :
    POSTING_INTERFACE_START
    POSTING_INTERFACE_DOCUMENT
    POSTING_INTERFACE_END
    Else
    Re-execute transaction SHDB for a document with 2 items and for a document with a dozen items and analyze the result.
    Use a BAPI like BAPI_ACC_INVOICE_RECEIPT_POST or BAPI_ACC_DOCUMENT_POST
    Regards,
    Raymond

  • How to paste multiple lines in multiple rows in Numbers

    Hi,
    I have a list of Items I would like to have in different row in Numbers. But when I paste the list (Item Name <carriage return>) in a Number cell but instead of spanning multiple rows, it all paste in the same cell with multiple lines.
    Is there a way to paste it in multiple rows or import it from a plain text file in Number the way I wish?
    Thanks

    Using your hint and Pages, I found my issue.
    That was because when paster in Pages, I saw a CR, that when pasted in Numbers resulted in a one cell with multiple lines in it.
    I used Pages to replace the CR by a paragraph code, and now it work just fine.
    Thanks

  • Collecting Multiple lines of input

    I'm trying to write a method that will collect multiple lines of input off a console and put each line as a separate in an element. This includes blank lines.
    For example, someone could input:
    First Line.
    Second Line.
    Third Line.
    It's the blank lines that is mainly causing me a problem.
    I currently have:
    public Vector<String> newInput(){
              //Collect Input
              Vector<String> inputs = new Vector<String>();
              BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
              String input = null;
              try {
                   while((input = in.readLine()) != null) {
                        inputs.add(input);
              }catch (IOException ioe) {
              //Return the collected input
              return inputs;
         }Any ideas much appreciated

    import java.util.Scanner;
    import java.util.Vector;
    public class Test {
         public static void main(String[] args) {
              Vector<String> inputs = new Vector<String>();
              Scanner s = new Scanner(System.in);
              System.out.println("Enter input: ");
              while (s.hasNextLine()) {
                   String input = s.nextLine();
                   if (inputs.equals(""))
                        input = "\n";
                   inputs.add(input);
              System.out.println("Input is: ");
              for (String input : inputs) {
                   System.out.println(input);
    }Results:
    Enter input:
    lol
    lmao...          wtf?
    the end
    Input is:
    lol
    lmao...          wtf?
    the end
    ** END OF INPUTIsn't it what you're loonking for? If not your problem is elsewhere

Maybe you are looking for