How to group the output based on DAYS field

Hi
I am modifying the predefined ALV report "RFTMBL01" .I had added the days field to that report output and I have to group the output based on the DAYS field
Records within 0-10 days in one group
Records within 10-30 days in one group
Records above 30 days should be  one group
No of days may repeat that means with no of days 10 .many records will be there
There is also a field by name "AMOUNT" in my output.
I have to calculate SUBTOTALs at the end of every group and at the end of the report i should caluculate GRAND TOTAL.
Please remember that i should not use any any BLOCKED ALVs and for Totals i should not use the SYMBOLS provided in the application toolbar of the report
Thanks in Advance

<b>>>>The file has to be routed based on the Company Code</b>
check with xpaths.
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
<b>>>>different file should have different file name again based on the company code.</b>
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

Similar Messages

  • How to Solve Routed Output based on certain field.

    Hi,
    Please help me with this routing development...
    We have an input strucutre something like this
    <b><File>
         <Customer>
              <Name>John</Name>
              <Company Info>
                   <Number>101</Number>
                   <Company>Coka Cola</Company>
              </Company Info>
         </Customer>
         <Customer>
              <Name>Ron</Name>
              <Company Info>
                   <Number>102</Number>
                   <Company>Nestle</Company>
              </Company Info>
         </Customer>
         <Customer>
              <Name>Harry</Name>
              <Company Info>
                   <Number>103</Number>
                   <Company>Pepsi</Company>
              </Company Info>
         </Customer>
         <Customer>
              <Name>Shrek</Name>
              <Company Info>
                   <Number>104</Number>
                   <Company>Nestle</Company>
              </Company Info>
         </Customer>
    </File></b>
    And the Output has to be something like this...
    <b><File>
         <Customer>     
              <Name>John</Name>
              <Number>101</Number>
              <Company>Coka Cola</Company>
         </Customer>
    </File>
    <File>
         <Customer>
              <Name>Ron</Name>
              <Number>102</Number>
              <Company>Nestle</Company>
         </Customer>
         <Customer>
              <Name>Shrek</Name>
              <Number>104</Number>
              <Company>Nestle</Company>
         </Customer>
    </File>
    <File>
         <Customer>
              <Name>Harry</Name>
              <Number>103</Number>
              <Company>Pepsi</Company>
         </Customer>
    </File></b>
    The file has to be routed based on the Company Code and different file should have different file name again based on the company code.

    <b>>>>The file has to be routed based on the Company Code</b>
    check with xpaths.
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    <b>>>>different file should have different file name again based on the company code.</b>
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

  • How to fix the output length of a field

    Hi!
    I want to 'allocate' the full length of the field while smartform printing even if it is initial.
    How can I do this? I tried the &field(*)& &field(F<' '>)& output format, but nothing.
    Thanks

    Hi!
    I have only one text element, and in that I have two variables separated only with one space. In the printed form the starting place of the second variable depends on the length of value in the first variable.
    like this:
    The first variable has the dictionay type 'VBELN', despite this fact, the &FIELD(*)& does not work.
    The template doesn't work here too. because I have only one text element.
    Or can I print two text element in one row? It could be a solution probably.

  • How to setup the security based on roles in Organization.

    Hi,
    How to setup the security based on roles in Organization.
    For example:Few users are Manager and a few user are Non Manager .Manager should have access to all work data including Non Manager and Non Manager should access based role.How to setup this? How OBI server identify the user role?
    kindly let me know.
    Regards.,
    CHR

    Hi,
    You need to have Back End support to achieve this. In Back End you need to create two groups . You need to know what joins has to be made for which group (which is more important) and also make session variable for the userrole (with SQL supporting it). In the BMM layer, we need to put the security join conditions in the 'where clause'.
    And make a common report. User loggin in with the respective userid will have userrole and joins assigned in the Back end. And they will be viewing the report according to their access.
    Hope this will solve your problem.
    Regards
    MuRam

  • How to control the measure based on the related dimension.

    Hi Experts,
    In order to improve performance, I have created three kinds of time tables in DB,such as Year .Month, Day.
    Then import them into the physical layer in RPD, and combine them into one dimension in BMM.
    Actually, it has three level fact related with three time tables,so they are also dragged into one fact in BMM,and one column will be corresponding with three column derived from different Fact table in physical layer.
    So I want to know how to control the measure based on the related dimension.
    For example:
    when users drag the Year,Sales column, it will come from Year Dimension and Year Fact Table.
    when users drag the Month,Sales column, it will come from Month Dimension and Month Fact Table.
    when users drag the Day,Sales column, it will come from Day Dimension and Day Fact Table.

    Hi,
    Create a dimension Hierarchy, with Year >> Month >> Day Levels and
    Next Double click on Year Table LTS >> click on Ocntetnt Tab >> set as Year
    same way for Month LTS and Day LTS.
    So now when you select year column then server canknow which LTS to hit and Hits Year LTS.
    Mark If Helpfu/correct
    Thanks.

  • How to get the output of Standard HR forms in PE51

    Hi Experts,
    How to get the output of standard HR forms available in PE51 Transaction for coutry grouping 99.
    Please advice.
    Regards,
    IFF

    Hi
    Use the t code for country grouping 99....PC00_M99_CEDT - Remuneration Statement. to get the variant in tcode PC00_M99_CALC_SIMU - Simulation.
    Like this test for all the standard forms, what all are the available in PE51 for country grouping 99

  • How to use the manually entered Hours/Days in the Duration field for BG_ABSENCE_DURATION

    Hi All,
    How to use the manually entered Hours/Days in the Duration field for BG_ABSENCE_DURATION fast formula?
    Requirement is to restrict employees for applying for leave more than the accrued balance. In SSHR, apply leave functionality, the employee enters the start date, end date and duration manually. The entered duration must be used in the fast formula to check against available balance.
    In the BG_ABSENCE_DURATION FF, I have a function to calculate the net accrual balance as on the calculation date.
    I want to add the logic as - If to_number(Duration) /*[manually entered value]*/ > net accrual balance then
    Duration = 'FAILED'
    invalid_msg = 'Error'
    return duration, invalid_msg
    Thanks!

    Hi,
    We have a standard functionality to override the duration calculation and you don't need to add a validation for the same. Please set the value of profile option HR: Absence Duration Auto Overwrite to Yes
    When you do this user will not have to enter the duration value manually. It will get auto calculated based on the duration calculation in BG_ABSENCE_DURATION when you click on the next button.
    For not allowing negative leaves to be applied, If you are on R12 then, this is a standard functionality and you need to set profile option HR Allow Absence Negative Balance to No
    If you are on 11i then refer Note: 268171.1: How Do You Stop Accrual Plans from Going Negative?
    Try and let me know in case you need further help.
    Thanks,
    Sanjay

  • Group the files based on their extensions

    Hi,
    I am traversing a dir and listing all the files under that directory. Now i want to group the files based on the extension and just print the number of files with each extension.
    ex:
    Extension No.of Files Size of the files
    .java 10 23455 bytes
    .html 2 1000 bytes
    I am able to get the extension of the files. I would like to know how to proceed after that.
    Any sample code will be helpful.
    Regards
    Kutty

    I have used a method to list all the files in the directory. After adding files with same extension to the HashMap. i am printing files after reading file by file. I need to print the files once i complete reading all the files in the directory.
    Any suggestions?
    private void listingFiles(File f )
              Map extensionMap = null;
              File[] files = f.listFiles();
              for( int i = 0; i < files.length; i++ )
                   File file1 = files;
                   Dprop.size += files[i].length();
                   if (file1.isFile())
                        fcount = fcount +1;     
                        if (extensionMap == null)
                             extensionMap = new HashMap();
                             // Group files by extension
                             for(int idx = 0; idx < files.length; idx++)
                                  if (files[idx].isFile() && files[idx] != null)
                                       String ext = getExtension(files[idx]); // get the extension
                                       ext = ext.toLowerCase();
                                       List fileList = (List)extensionMap.get(ext);
                                       if(fileList == null)
                                       fileList = new ArrayList();
                                       extensionMap.put(ext, fileList);
                                       fileList.add(files[idx]);
                        // Access all the files by extension
                             for(Iterator extensionIterator = extensionMap.keySet().iterator(); extensionIterator.hasNext(); )
                                  String ext = (String)extensionIterator.next();
                                  List fileList = (List)extensionMap.get(ext);
                                  System.out.println("\n\nNo of Files "+fileList.size()+" with extension '"+ext+"' in '"+f+ "' Directory");
                                  for(Iterator fileIterator = fileList.iterator(); fileIterator.hasNext(); )
                                       File file = (File)fileIterator.next();
                                  System.out.println("File Name "+file+" File Size "+file.length());
                   else
                        dcount = dcount +1;
                        listingFiles( file1 );
    Thanks in advance
    Kutty

  • How to create the PO based on requisition through interface.

    Hi,
    In P2P,
    How to create the PO based on requisition through interface.
    Regards,
    Srikanth

    Hi Srikanth,
    I knew it from frontend.
    But i want from backend using INTERFACE .please see if this can help you
    http://appshub-hussy.blogspot.com/2010/10/requisition-and-purchase-order-queries.html
    http://oraclemaniac.com/2012/04/17/sql-queries-to-get-requisition-po-and-po-receipt-details/
    SQL to link Requisitions with Purchase Orders
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/how-to-find-the-po-number-if-we-give-requisition-number-3161211
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/need-requisition-sql-query-1338985
    ;) AppSmAstI ;)
    sharing is CAring

  • How to store the output of a analog to digital converter into an 2D array

    Hi
    I am doing my M.Tech Thesis in Image reconstruction and I am using labview for simulation and I want to know how to store the output of a analog to digital converter into an 2D labview array.

    nitinkajay wrote:
    I want to know how to store the output of a analog to digital converter into an 2D labview array.
    How exactly are you performing 'Analog to Digital'???
    Grabbing image using camera OR performing data acquisition using DAQ card OR some other way????
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How to download the output of a report along with column header

    Hi,
    Could someone please tell me on how to download the output of a report along with column header to .txt format. A download option needs to be given to the user using physical and logical file names .The report basically contains header details and item details and requirement is to download the same format into an .txt format.

    Hello,
    Try this FM:
    Data: being of itab occurs 0,
    matnr like mara-matnr,
    maktx like makt-maktx,
    end of itab.
    data:begin of fld_tab occurs 0,
    fld_name(20),
    end of fld_tab.
    fld_tab = 'Material'.
    append fld_tab.
    fld_tab = 'Material Desc'.
    append fld_tab.
    CALL FUNCTION 'WS_DOWNLOAD'
       EXPORTING
            BIN_FILESIZE            = ' '
            CODEPAGE                = ' '
             FILENAME                = 'C:\1.txt '
             FILETYPE                = 'DAT'
            MODE                    = ' '
            WK1_N_FORMAT            = ' '
            WK1_N_SIZE              = ' '
            WK1_T_FORMAT            = ' '
            WK1_T_SIZE              = ' '
            COL_SELECT              = ' '
            COL_SELECTMASK          = ' '
            NO_AUTH_CHECK           = ' '
       IMPORTING
            FILELENGTH              =
         TABLES
              DATA_TAB                = itab
              FIELDNAMES              = fld_tab
       EXCEPTIONS
            FILE_OPEN_ERROR         = 1
            FILE_WRITE_ERROR        = 2
            INVALID_FILESIZE        = 3
            INVALID_TYPE            = 4
            NO_BATCH                = 5
            UNKNOWN_ERROR           = 6
            INVALID_TABLE_WIDTH     = 7
            GUI_REFUSE_FILETRANSFER = 8
            CUSTOMER_ERROR          = 9
            OTHERS                  = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Naimesh

  • How to use the Output clause for the updated statment

    How to use the output clause for the below update stament,
    DECLARE @MyTableVar table(
        sname int NOT NULL)
    update A set stat ='USED' 
    from (select top 1 * from #A 
    where stat='AVAILABLE' order by sno)A
    Output inserted.sname
    INTO @MyTableVar;
    SELECT sname
    FROM @MyTableVar;
    Here am getting one error incorrect syntax near Output
    i want to return the updated value from output clause

    see
    http://blogs.msdn.com/b/sqltips/archive/2005/06/13/output-clause.aspx
    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

  • How to get the date of first day of a week for a given date

    Hi gurus
    can any one say me how to get the date of first day(date of Sunday) of a week for a given date in a BW transformations. For example for 02/23/2012 in source i need to get 02/19/2012(Sunday`s date) date in the result. I can get that start date of a week using  BWSO_DATE_GET_FIRST_WEEKDAY function module. But this function module retrieves me the  start date as weeks monday(02/20/2012) date. But i need sundays(02/19/2012) date as the start date. So it would be really great if anyone sends me the solution.
    Thanks
    Rav

    Hi,
    The simplest way would be to subtract 1 from the date date which you are already getting in transformation routine, but instead of doing that subtraction manually which might need bit of errort, you can simply use another FM to subtract 1 from given date.
    RP_CALC_DATE_IN_INTERVAL
    Regards,
    Durgesh.

  • How to change the output as text format in Apps R12.1.3

    Hi All,
    Currently iam trying to modify the Java Concurrent Program (FDExtractAndFormatting) in Batch Payment Process. This Program is generated in text format in 11i APPS. Now we are upgrading to R12.1.3. In R12.1.3 output is coming as PDF format. Here my requirement is how to change the output as text format in R12.1.3 also.
    Please do the needful and suggest me.
    Regards,
    Jagadeesh

    1. It is seeded java concurrent program. Some attributes are missing from 11i to R12. In 11i it is a text format.So i have to investgate on how to retrive those attributes in R12. What is the concurrent program name?
    Have you tried to change the output and submit the request?
    2. Once all are attributes are coming in PDF format. Client wants to open same output in text format as it is 11i (In R12 it is generated in PDF format).If the above does not help, please log a SR.
    Thanks,
    Hussein

  • How to populate the GR based Invoice Flag in PO.

    Hi,
      How to check the GR based Invoice flag for a purchase order.One solution we think of is flagging the G.R IV flag at vendor master level in xk03 (Purchasing data view ).Are there any SPRO level configurations to attain the same.
    Thanks.
    Rakesh.

    Hi,
    Look into
    SPRO->MM->Inventory Mgmt->Good receipt->For GR-Based IV
    Refer:
    Re: CAN GR/GI  BE REVERSED EVEN THOUGH DEBIT NOTE IS RAISED

Maybe you are looking for

  • No Advanced Dialogue Option in Stnadard Photo Downloader

    In my old Photoshop Elements 6, I could go to File --- Get Photos----Camera Card Reader and it would access my card reader and show me all the files on it so I could choose which ones I wished to download.  This was done by clicking on an Advanced Di

  • I have problem with ID AppStore

    I have problem with AppStore, when I want to buy same money in the game, it all time write me "To complete this transaction contact iTunes Store support" I check credit card, all is ok. A have another app ID bat when I use it on iPad mini in this gam

  • Trail record size & check frecuency for end of uncommitted transactions

    Hi, everyone, Does anyone know if the trail record size can be changed from its default value of 4K? What about how long the data pump process delays before searching for more data to proccess in its source trail while it waits for the end of a uncom

  • BOM item category problem

    Sir in tcode CS02 i am getting error message no.29118[ material type ROH can't be use with item category L ].What to do ? I am online.

  • How to run servlets in IIS Server

    Hi Techies, I had read in one book , in IIS server we can run servlets n jsp. Can u guys tell how can we run servlets n jsp in IIS server. Does we need to include some 3rd party software in IIS regards, KRish