COPA Report Layout with Object List (ALV)

Hi,
I have question about the COPA report layout with object list (ALV). Everytime I executed the report with ALV format, the amount for quantity column always shows with 3 decimal number, menwhile for amount column always follow by 2 decimal number.
Can anyone help me regarding this matter? I do not know how to turn off the decimal number to be 0 in this type of layout, although in the form itself I already put 0 decimal number.
Thanks.

Hi,
Better to raise this issue in CO Forum. You can expect some solution.
regards

Similar Messages

  • COPA line item report, Number format  -output type - object list(ALV).

    Hi,
    I am preparing COPA line item report. I want to change number format (two decimal place). I did the changes in form level then I did the changes in drill down report as well and saved as save definition.
    But changes are not reflecting in- output type - object list(ALV).
    Please provide help in this.
    Regards

    HI
    What t-code you are using to write this line item report ?

  • Report layout with User default and gobal default

    hi,
    any authorization to control report layout, only some user ID can use "user default" layout, and part of user available to set the layout as default
    thanks

    Is is a custom-developed ALV report or an SAP-supplied one?
    If if is custom-developed, you can register the following user-commands
    &AVE - Save layout
    &OL0 - Change layout
    &OAD - Select layout
    in parameter IT_EVENT_EXIT  of REUSE_ALV_LIST_DISPLAY.  When these user-commands are triggered, control passes to the user command routine in your callback program.  In the callback routine, you can implement authorization/security checks.
    Also look at parameters IS_VARIANT and I_SAVE to control use of variants.,
    If it is an SAP-supplied program, try using the auth-object mentioned in my earlier post.

  • MB51 - report layout and detail list

    We are running jobs with MB51 with a specific layout.  when the report displays, we click the detail box to convert it to a one line report.
    Is it possible t execute MB51 and have the detail list display - so this could be run in the background and the one line list display would be the spool file.
    OR - Can I create a one line report with MAterial number oand vendor on each line with quantities, values etc.
    thanks
    Althea

    I finally had a chance to look into this -
    All report layouts are using a "header" line and a "Position" line
    It is this Header and Position that are making it "not useful" as a download file at this level.  As I said - if I click "details" - I get the report I'd really like to see for back ground process spool file or export file.
    Any ideas how to create a report layout without the header and position line? or just no header line would work.  When I try modifying an existing report - Material and Plant are always on the header line and not available on the position line.
    Any and all help will be rewarded -  thank you

  • Custom Report Layout with mutliple child tables

    I am trying to create a custom report layout (using Bi Publisher) where I have parent data (multiple jobs on a page) and several child tables for each job (JobDays and JobStops) and several child tables for JobDays (JobDayProviders, JobDayCrew). On the apex screen, I have a join on Jobs and JobDays and I am using functions to string each child row value for JobDayProviders and JobDayCrew together and putting a <br> in between so that they will format on separate lines within a cell. It works fine on the screen but when trying to print to pdf, it ignores these line breaks. I have also tried using <br></br> (saw an article that said just use HTML in bi pulisher) which puts two lines in between each value on the screen and is still ignored on the pdf.
    for example:
    Table hierarchy:
    Jobs table
    Job Stops
    Job Days
    Job Day Service Providers
    Job Day Crew
    Report Layout per job (will have mutlipe jobs to print, just printing 1 day per job):
    Jobs.col1 JobStops.row1 JobDay.col1 JobDayProviders.row1 JobDayCrew.r1
    JobStops.row2 JobDayProviders.row2 JobDayCrew.r2
    JobDayProviders.row3
    Thanks,
    Linda
    First, is there a way to get bi publisher to recognize the line breaks? If not, what is the best way to create a custom report for this scenario? I tried to create a report query with mutliple queries, but cannot determine how to link the child queries to the paren query. I have seen an example where a button is pressed to print one parent row and the id of that row is saved and referenced as a parameter in each of the queries, but if printing mutliple parents on a report, how would I link the child queries to the parent query?

    Helen,
    The best way for your case is to use a content folder and customize it whichever way you like.
    however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
    anyway. something similar but not exactly the same as what you wanted do is the following.
    use a query like the following: (with a union in between)
    SELECT COLUMN1,NULL , NULL ,NULL ,NULL
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    UNION
    SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    ---------- Now, have the following codes in the layout segments:
    <!--- header --->
    <table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
    <!--- body --->
    <tr align="center">
    <td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
    <tr align="center">
    <TH><#COLUMN1.FIELD#></TH>
    </tr>
    </table>
    </td>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
    </tr>
    <!--- footer --->
    <TR><TD></TD></TR>
    this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
    with kind regards,
    naqvi

  • How do I create a crystal report layout with a table and borders

    My crystal report is a signin sheet. The sign in sheet has an ID column, Name column, Institution column, Place to signin column, and Weekday columns with checkboxes in each column for the visitor to checkoff.
    How do I display the data that is being used int he crystal report in a table layout with borders around each cell? And is it possible to center vertical alignment of the data within eacvh cell like Excel?

    Blahahaha! Great answer Deb!
    Seriously though... There is no vertical alignment in CR. There have been several past threads related to this issue and all of them have various workarounds. None of them are very elegant.
    The best workaround I've found (especially if you are grid or borders) is to turn off the boarders for the field itself and drawl a rectangle around the field(s). Now you can place the field in the lower portion of the rectangle and adjust the rectangles height to place the field text in the center of the rectangle.
    This will give you more control over the height of your elements than using a carriage return before the text.
    Jason

  • Report layout with BIP

    Hi All,
    As I am a newbie,
    Could any one help, how to create a report layout file with BI Publisher.?
    Thanks in advance
    bye
    Srikavi

    As far as I understood, if you have BI publisher there is an addon for word which you can install and then create your layout in word like every other document.
    In this OBE it should be described:
    http://www.oracle.com/technology/obe/11gr1_db/appdev/apexpdf/apexpdf.htm
    Regards, Tine.

  • Use parameters in SQL Server reporting services with sharepoint lists

    I want to make report from sharepoint 2010 list and forms library in sql server reporting services.
    but also want to apply parameters.
    I tried but parameters but it is not working.
    How I can apply sharepoint lists parameters in sql server reporting services ?
    How to run or view report of sharepoint lists or form library in sqlserver reporting services with required parameters?

    Hi John,
    When we use SharePoint list as datasource in SSRS it has two method to add parameter. Suppose we have a dataset (DataSet1) get data from SharePoint list. Please refer to the methods below.
    Method 1: We can add parameter in the Query Designer dialog box to add parameter.
    Click “Add Filter” icon in the “Applied filters” dialog box in Query Designer.
    Select the corresponding field (Title), fill with specific conditions, and select Parameter option in the end of the row.
    Create a dataset (DataSet2) fill with Title field.
    Double click the parameter we create above, set the available values from DataSet2 field Title.
    (Note: In the situation, we are get the single-value parameter.)
    Method 2: It is a general method to add parameter in SSRS report.
     Create another dataset (DataSet2) in the report fill with Title field.
    Add a parameter (Title) get available values from DataSet2 Title field.
    Add filter in the DataSet1.
    (Note: This method, we can configure multi-values parameter.)
    Reference:
    http://technet.microsoft.com/en-us/library/aa337432(v=sql.105).aspx
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Difficult to achive the report layout with dynamic column names

    I have a report layout as below.
    So here the column names are dynamic.And each fixed row group has different calculations. I have a date parameter. If I select July 2013, then I need to show data from July 2012 to July 2013 with Columns(Jul-12, Aug-12...Jul-13). How to achive below layout
    with dynamic columns?

    Hi Sarayu_CM,
    According to your description, you want to filter the records of prior year based on only one parameter selection. Right?
    In this scenario, we can create two parameters. The first one is for user to select. The second parameter is based on the first parameter selection. We don't need to specify Available Values for the second parameter, but we should use expression to specify
    Default Values based on the first parameter selection. Use the expression below:
    =DateAdd("m",-12,FormatDateTime(Parameters!param1.Value))
    Then we just need to apply a filter on the matrix/dataset to get the records which the date is between values in these two parameters.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Report -- filter with selection list -- show all values after select page

    Hello!
    I have the following problem:
    - I have a report
    - this report can be filtered with a selection-list
    - the selection list is based on dynamic LOV and has a null-value
    - I added the code of the report the following, to filter the report after choosing a value of the selection list:
    ... and (instr(type, decode(:P8_FILTER_type, '%null%',type,:P8_FILTER_type)) > 0)
    This works very well.
    But my problem is: When the user logs out and the next time, he logs in, the selection list shows " --- show all values --- " (my null-display-value) and the report is empty "no values found".
    ---> I want to show the first time, the page is selected ALL the values of the report. (this is now only possile if I press the button which belongs to the selection list)
    I hope, somebody understands my problem.
    Thank you so much,
    LISA

    Hello Lisa,
    The first time it's probably NULL.
    So what you can do in your where: (instr(type, decode(NVL(:P8_FILTER_type,'%null%'), '%null%',type,:P8_FILTER_type)) > 0)
    Off topic: I also wonder if that where clause can't be simpler? Do you rely need the instr?
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Crystal Report Layout With Prompts SAP BO v8.8

    Forum members,
    I can successfully import a Crystal Report with parameters as a REPORT type into SAP BO 8.8.  But when I attempt to upload the same report as a LAYOUT type, I receive the error, "Missing Parameters" and the import process halts even when I set a value as the default value for the parameters.  I have two questions:
    1.  Does SAP BO v8.8 support Crystal Report parameters in print layouts?  If it does,
    2.  How do I resolve this error message and get this functionality to work?
    Thanks!
    Gregg

    I ended up submitting this to SAP support as a bug.  Found that we can successfully print using the preview button first and then printing from that interface but sending the report directly to the printer or pdf generates an error.
    Edited by: Gregg Horwitz on Mar 30, 2010 8:30 AM

  • Working with Object Oriented ALV

    Hi All..
    could anyone please send me the sample code for working with OO ALV.
    Like.. I have two tables VBAK and VBAP... what I'll do if working with FM approach, is that, I'll join both the tables on certain condition, put the joined data in a Final Internal Table, and then display it in ALV grid using REUSE_ALV_GRID_DISPLAY.
    Now I want to do the same thing using OO ALV.
    Quick Help will be appreciated very much..
    Thanks..

    TABLES: zsflight.
    G L O B A L   I N T E R N  A L   T A B L E S
       DATA: gi_sflight TYPE STANDARD TABLE OF sflight.
    G L O B A L   D A T A
       DATA:
             g_wa_sflight LIKE sflight.
    Declare reference variables to the ALV grid and the container
       DATA:
         go_grid             TYPE REF TO cl_gui_alv_grid,
         go_custom_container TYPE REF TO cl_gui_custom_container.
    S T A R T - O F - S E L E C T I O N.
       START-OF-SELECTION.
        CALL SCREEN 100.
    *&      Module  USER_COMMAND_0100  INPUT
          text
    module USER_COMMAND_0100 input.
         CASE SY-UCOMM.
           WHEN 'EXIT'.
             LEAVE PROGRAM.
         ENDCASE.
    endmodule.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
          text
    module STATUS_0100 output.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    Create objects
         IF go_custom_container IS INITIAL.
         create object go_custom_container
           exporting
            PARENT                      =
             container_name              = 'ALV_CONTAINER'  “UR CUSTOM CONTROL NAME
            STYLE                       =
            LIFETIME                    = lifetime_default
            REPID                       =
            DYNNR                       =
            NO_AUTODEF_PROGID_DYNNR     =
          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 SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
         create object go_grid
           exporting
            I_SHELLSTYLE      = 0
            I_LIFETIME        =
             i_parent          = go_custom_container
            I_APPL_EVENTS     = space
            I_PARENTDBG       =
            I_APPLOGPARENT    =
            I_GRAPHICSPARENT  =
            I_USE_VARIANT_CLASS = SPACE
            I_NAME            =
          EXCEPTIONS
            ERROR_CNTL_CREATE = 1
            ERROR_CNTL_INIT   = 2
            ERROR_CNTL_LINK   = 3
            ERROR_DP_CREATE   = 4
            others            = 5
         IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
    PERFORM load_data_into_grid.
         ENDIF.
    endmodule.                 " STATUS_0100  OUTPUT
    *&      Form  load_data_into_grid
          text
    -->  p1        text
    <--  p2        text
    form load_data_into_grid.
    SELECT *
           FROM sflight
           INTO TABLE gi_sflight.
    Load data into the grid and display them
    CALL METHOD go_grid->set_table_for_first_display
    EXPORTING
       I_BYPASSING_BUFFER            =
       I_BUFFER_ACTIVE               =
       I_CONSISTENCY_CHECK           =
        I_STRUCTURE_NAME              = 'SFLIGHT'
       IS_VARIANT                    =
       I_SAVE                        =
       I_DEFAULT                     = 'X'
       IS_LAYOUT                     =
       IS_PRINT                      =
       IT_SPECIAL_GROUPS             =
       IT_TOOLBAR_EXCLUDING          =
       IT_HYPERLINK                  =
       IT_ALV_GRAPHICS               =
       IT_EXCEPT_QINFO               =
      CHANGING
        it_outtab                     = gi_sflight
       IT_FIELDCATALOG               =
       IT_SORT                       =
       IT_FILTER                     =
    EXCEPTIONS
       INVALID_PARAMETER_COMBINATION = 1
       PROGRAM_ERROR                 = 2
       TOO_MANY_LINES                = 3
       others                        = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.                    " load_data_into_grid
    Name of the structure would be a structure of your alv display and gi_sflight would be the internal containing the data.
    Thanks,
    Jayant

  • Report program with detail list and GUI status.

    Hi,
    I am working on type 1 program (report) and want to use detail lists.
    I want to use a GUI status and want to use AT LINE-SELECTION. But AT LINE-SELECTION does not work when I use a GUI status.
    How do I achieve this?
    Thanks.

    Hi
    In the secondary windows, it is not possible to have GUI Status.
    If you need like that, you should go for ALV Reports.
    Here, You can have GUI Status only in the selection-screen as below..
    REPORT  zak014  LINE-SIZE 60 LINE-COUNT 20(2).
    TABLES: sscrfields.
    * Appliction Tool Bar Elements
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN FUNCTION KEY 2.
    * Selection Screen
    PARAMETERS: matnr TYPE matnr.
    INITIALIZATION.
      sscrfields-functxt_01 = 'TEST1'.
      sscrfields-functxt_02 = 'TEST2'.
    START-OF-SELECTION.
      WRITE:/20 'CLICK HERE TO NAVIGATE'.
    AT LINE-SELECTION.
      WINDOW STARTING AT 5  5
             ENDING   AT 50 18.
      CASE sy-lsind.
        WHEN 1.
          WRITE:/ 'This is First window'.
        WHEN 2.
          WRITE:/ 'This is second'.
      ENDCASE.
    TOP-OF-PAGE.
      WRITE:/5 'LINE SELECTION'.

  • Is there an easier way to get tabular report results with select lists?

    Ok, as a newbie, I have gotten this query to work in my report region but I figure if I am doing something this convoluted then I am not letting a wonderful feature of HTML DB do its job.
    I have 3 select lists that I want to "AND" together to filter the result list. Two of the selected items to filter could have null values.
    I want to have the entire results to appear when the list is reset (clear cache is working and sets each select list value to null). However, it appears to me, if one select list is used and the others are not, the other select lists by default have %null% (Null return value setting left blank) which isn't really null.
    Well if that wasn't confusing so far. Here is the select:
    select [my columns]
    from my_table
    where (instr(upper("COL1"),upper(
    decode(:P1_FILTER_COL1,'%null%',"COL1",
    null,"COL1",:P1_FILTER_COL1))) > 0 -- COL1 is mandatory
    AND
    (instr(upper("COL2"),upper(
    decode(:P1_FILTER_COL2,'%null%',"COL2",
    null,"COL2",:P1_FILTER_COL2))) > 0 OR "COL2" IS NULL)
    AND
    (instr(upper("COL3"),upper(
    decode(:P1_FILTER_COL3,'%null%',"COL3",
    null,"COL3",:P1_FILTER_COL3))) = 1 OR "COL3" IS NULL)
    Do I have to use decode for the select values being reset, selected/not selected? Is there some way for the Null return value setting to really be null not %null%?
    Thanks,
    Kelly

    Rather than creating your report directly from a SQL statement use the "Sql Query (PL/SQL Function Body returning Sql Query)" option and re-write your code in PL/SQL. PL/SQL gives you greater control and allows you to test the "null" values and add where clauses to your SQL query based on whether or not a value was selected in the SELECT list.
    For example, I have a report parameter screen that has a state drop down list that returns a value of -1 if no state is selected. I can, therefore, code:
    IF :P6_STATE_CODE != -1 THEN
    query := query + " WHERE state_code = ' ||
    :P6_STATE_CODE ;
    END IF ;
    I have a more complete example if you would like to send me an email ([email protected])
    Jeff

  • Problem with object lists in BPEL and not in WS (ElementNSImpl)

    Hi all, I've the next:
    class Category{
       private List<Group> groups;
       private String name;
       public List<Group> getGroups(){
          return grops;
       public String getName(){
          return name;
    }I've created a webservice that returns a Category in NetBeans:
    @WebMethod
        public Category getMyCategory  throws Exception{  
            try {
                return new MyThing().getCategory();     
            } catch (Exception ex) {
                ex.printStackTrace();
                throw new Exception(ex);
        }Ok, If I call this WS in my jsp page or an app, I can access to the attribute "groups" (of the type "Category") as a List of "Group".
    I've created a BPEL that does the same: return a Category. The same category. getName() works fine
    But the list "groups" is a list of com.sun.org.apache.xerces.internal.dom.ElementNSImpl !
    Using NetBeans 5.5 to do all.

    You are perpetrating mistake #1 here. Don't try to send C structs over the wire. The format is dependent on the hardware, the operating system, the compiler, the compiler version, compiler bugs, the #pragmas, and the compiler options in effect. Too many variables. What you should be doing is writing the primitive types to the network, in network byte order, and reading them inJava with the appropriate methods of DataInputStream.

Maybe you are looking for

  • Why can't I print a map from a PDF file?

    I am going to the website   http://www.atac.roma.it/   which is the public transit system for Rome, Italy. If you scroll down and click on the green button for     Linee e Mappe     and then scroll down on the next page and click on the PDF file for

  • How do I print email from IPad to wi-fi printer?

    60-something REALLY Non-techie here with IPad wifi printing question. I think I successfully enabled the wifi print option on my Epson work force 3520 all in one Wi Fi printer. I printed the Epson Check network connection sheet, the Epson Status Shee

  • ABAP ER Switching to Business objects

    Hi , I am ABAP technical Consultant with 5 yrs of Exp. I wanted know whether an ABAPER can swtich to Business Objects.Please help me to take a decision. Do we need to have any prerequisites for swtiching to BO.Please guide me. And If Yes, please let

  • Module at-exit command

    Hi, Inside this module I have logic for ok_code WHEN 'EXIT'. perform pop_up. form pop_up. function module: do you want to save the changes? if yes. " perform save_changes. " leave program for msave_changes. perform incompletion_logic. " save changes

  • Arabic in reports

    hi i hope having some helps concerning the problem of reports,i have a report which is showing arabic characters in report builder, but when i call from app server (PDF format) its not showing correctly.. i'm doing this but no result These are the st