Use Parameter to choose Group and Sort options

I've got a report that gets used for several different puposes, and needs to be grouped or sorted differently each time.  How can I use a parameter to let the user choose the group and sort options at runtime?
I'm using CR2008, and SAP B1 2005.  The various grouping options I want to offer include SKU, Vendor and Description, and sorting within those Groups by SKU or Description.
I'm a newbie with CR, so detailed instructions would be really helpful.

You can create a report using parameter field. Follow these steps
-- Create new parameter in the field explorer window
-- The parameter shouls be static and enter all the field names on which you want to create in the values option
-- Now create a formula like this
if {?Parameter}="fieldname1" then
else
if {?Parameter}="fieldname2" then
else
-- Now insert new group and select this formula
-- Now the group will change according to the parameter selected
Please note that if you have different data types of fields you must need to convert totext()
as If condition will allow only one data type output.
Also when you insert any group by default the data is sorted on grouped field. If you want to sort on another field then you need to insert a summary field on that and go to report>group sort expert>select the field-->All based on the summary inserted.
Hope this helps!
Raghavendra

Similar Messages

  • Dashboards PowerShell Grid Widgets - Grouping and Sorting?

    First of all, to those who made Dashboard PowerShell Grid Widgets possible - Thank you, Thank you, Thank you.  Love it!  So much more power except for the output......
    Is there a way to group and sort my results or is it my system?  Clicking the column header doesn't seem to work, no personalize option, nor does sorting in the script seem to work. 
    Thank you. 
    BTW, it looks like the dashboard is sorting by ID no matter what one does.

    Tried it, doesn't work. Moreover, the example in the link uses CreateInstance
    whereas I'm using CreateFromObject.  Below is my code.  If I run the first two lines from the SCOM PS command prompt, I receive a nicely sorted results.  Not so in the PowerShell Grid Widget (PsGW).  If I change
    my sort property to Id, then the output order matches the PsGW.  So is this a result of using
    CreateFromObject?
    Editorial Feedback for the SCOM Team:  From all the examples I've seen on the web, and most seem to be derivative of two or three MS examples, the trend appears to be that CreateInstance
    is used for the PowerShell Web Browser Widget and everyone seems to be enamored by its capabilities.  It sure is pretty, but for my environment doesn't offer a great deal.  I feel the real meat and potatoes is PsGW - being
    able to create one's own output.  I'd love to see more examples of the methods in ScritpContextObject (who's link I'm unable to add) that have nothing to do with the web. 
    $class = Get-SCOMClass -Name Microsoft.Windows.Cluster.Group
    $clstrGrpRes = Get-SCOMClassInstance -Class $class | ? { $_.HealthState -ne "Uninitialized" } | sort-object -property Name -Descending
    foreach ($gRes in $clstrGrpRes)
    $dataObject = $ScriptContext.CreateFromObject($gRes,"Id=Id,Health=HealthState", $null)
    $dataObject["Cluster"] = $gRes.Name.Split(".")[0]
    $dataObject["Group Resource"] = $gRes.Name.Split(".")[1]
    $dataObject["Hosting Node"] = ($gRes | % { $_.values } | ? { $_.Type.ToString() -eq 'GroupActiveOnNodeDuringDiscovery' } ).value
      $ScriptContext.ReturnCollection.Add($dataObject)
    

  • Group and sort in webi report

    I have a requirement to group and sort in a report. Group should be based on id, sort based on time. Time sort should be the priority. Meaning, first criteria to sort is time, but if the id is repeated, time should be sorted for that id.
    e.g, If I have ids A,B,C and values are such that A - 9:15 AM, B - 9:00 AM, A - 10:00 AM, C - 9:30 AM.
    Requirement is as below
    B - 9:00 AM
    A - 9:15 AM
    A - 10:00 AM
    C - 9:30 AM
    If I apply sort on time without group on id, I am getting data in the below manner which is not correct.
    B - 9:00 AM
    A - 9:15 AM
    C - 9:30 AM
    A - 10:00 AM
    If I apply group first, I am not able to apply sort. Since the requirement is to show the least time first.
    Please advice.

    use the variable
    =Min([Time]) In ([ID])
    to sort. Then hide the column by reducing the width and making the font and background color as white.

  • Grand Totals functionality under Group and Sort

    Hello community,
    Does anyone know if there is a solution for rolling up text fields in the summary line item (under the Show Grand Totals functionality under Group and Sort)? I can only find that date fields and formula fields summarize. I would like to be able to summarize all the data in one line items so I wont have a really long schedule and I can present to my end users accordingly.
    Thanks,
    P6GURUYOU

    Hope I understand,  if you have the groups setup, you should be able to (CRXI instructions) right click on the item in the Details line, insert a summary, you can select sum, add the sum to the group.  For the locations, insert a summary count, and add that to the groups.
    What I do sometimes, is select the option to add summary to all groups, Perhaps change the font to red, I can see the totals
    I want, and just suppress the other groups.  Just a quick and dirty way to do the totals.

  • Group and Sort

    Hi, I am a new PPM user I am trying to group my activities but the Group and Sort window does not respond.  Any ideas?

    I beg your pardon, but in your example in the insert statement you have 1, 1, Ship , whereas in your report you display 1, 0 , Ship.
    Why not avoid the problem at the source, byt letting T-sql do the work:
    with a ([Group], [FirstSort])
    AS (SELECT [GROUP], MIN(sort) As FirstSort from dbo.Table_1 group by [group])
    select  a.[GROUP], a.FirstSort, c.[Item] AS FirstItem , b.[sort], b.[item]
    from a
    inner join  dbo.table_1 as b on a.[Group] = b.[group]
    inner join dbo.Table_1 as c on a.[Group] = c.[group] and a.[FirstSort] = c.[Sort]
    order by a.[group], b.[sort] -- LEAVE OUT the order BY in the report dataset
    Gives this result (I took the insert statements from your example)
    GROUP FirstSort FirstItem sort item
    1 0 Bike       0 Bike     
    1 0 Bike       1 Car      
    1 0 Bike       1 Train    
    1 0 Bike       1 Ship     
    2 0 Lorry      0 Lorry    
    2 0 Lorry      1 Bus      
    Jan D'Hondt - SQL server BI development
    sorry for that .. will take care heare by
    ShanmugaRaj

  • Grouping and sorting the data based on the parameter

    Hi,
    I need to display the total of item Cost i.e sub total based on parameter in Excel format
    if value = 1 then (Subtotal by Manufacture) and sorting by Manufacture, Receipt Date, Organization, Item Code
    if value = 2 then (Subtotal by Organization ) and sorting by Organization, Item, Serial Number
    and at the end of report need to display full total
    is it possible in excel output using the below xml , please guide me if i need to change the way of getting XML ouput or can be acheived using this.
    Please find the xml , thanks in advance
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.27.0 -->
    <ASWRECDTREP>
    <LIST_G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>10</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PARTS</ORGANISATION_NAME>
    <SERIAL_NUMBER>90699100802262</SERIAL_NUMBER>
    <ITEM_CODE>OM906LA.007</ITEM_CODE>
    <DESCRIPTION>MERCEDES SERIES 900 OFF HWY ENGINE 205 KW 0852</DESCRIPTION>
    <MANUFACTURER>MER</MANUFACTURER>
    <APPLICATION>INDL</APPLICATION>
    <ITEM_COST>15009.09</ITEM_COST>
    <MATERIAL_COST>685.25</MATERIAL_COST>
    <PO_NUMBER>1001395</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>22-MAY-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>EUR</CURRENCY_CODE>
    <PO_UNIT_PRICE>7431.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>10</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PARTS</ORGANISATION_NAME>
    <SERIAL_NUMBER>90699100802285</SERIAL_NUMBER>
    <ITEM_CODE>OM906LA.007</ITEM_CODE>
    <DESCRIPTION>MERCEDES SERIES 900 OFF HWY ENGINE 205 KW 0852</DESCRIPTION>
    <MANUFACTURER>MER</MANUFACTURER>
    <APPLICATION>INDL</APPLICATION>
    <ITEM_COST>15009.09</ITEM_COST>
    <MATERIAL_COST>685.25</MATERIAL_COST>
    <PO_NUMBER>1001395</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>22-MAY-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>EUR</CURRENCY_CODE>
    <PO_UNIT_PRICE>7431.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>30</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Melbourne</ORGANISATION_NAME>
    <SERIAL_NUMBER>6520107896</SERIAL_NUMBER>
    <ITEM_CODE>3500.010</ITEM_CODE>
    <DESCRIPTION>ALLISON 3000 SERIES ON HWY TRANSMISSION E018179</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>11126.11</ITEM_COST>
    <MATERIAL_COST>664.23</MATERIAL_COST>
    <PO_NUMBER>971515</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>14-APR-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>8063.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>30</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Melbourne</ORGANISATION_NAME>
    <SERIAL_NUMBER>6510869062</SERIAL_NUMBER>
    <ITEM_CODE>3200.010</ITEM_CODE>
    <DESCRIPTION>ALLISON 3000 SERIES ON HWY TRANSMISSION E017944</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>11853.57</ITEM_COST>
    <MATERIAL_COST>707.66</MATERIAL_COST>
    <PO_NUMBER>982120</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>12-MAY-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>8251.6</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>40</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Brisbane</ORGANISATION_NAME>
    <SERIAL_NUMBER>D6002 G6003</SERIAL_NUMBER>
    <ITEM_CODE>520 SERIES.002</ITEM_CODE>
    <DESCRIPTION>KONRAD 520 SERIES MARINE STERN DRIVE</DESCRIPTION>
    <MANUFACTURER>OTH</MANUFACTURER>
    <APPLICATION>MARI</APPLICATION>
    <ITEM_COST>9296.95</ITEM_COST>
    <MATERIAL_COST>482.91</MATERIAL_COST>
    <PO_NUMBER>1009062</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>24-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>6939.29</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>40</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Brisbane</ORGANISATION_NAME>
    <SERIAL_NUMBER>ABC123</SERIAL_NUMBER>
    <ITEM_CODE>GM20541-KP1.001</ITEM_CODE>
    <DESCRIPTION>KOHLER GENSET</DESCRIPTION>
    <MANUFACTURER>KOH</MANUFACTURER>
    <APPLICATION>PGEN</APPLICATION>
    <ITEM_COST>756.83</ITEM_COST>
    <MATERIAL_COST>.78</MATERIAL_COST>
    <PO_NUMBER>1015156</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>14-OCT-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>AUD</CURRENCY_CODE>
    <PO_UNIT_PRICE>20</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>40</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Brisbane</ORGANISATION_NAME>
    <SERIAL_NUMBER>ABC124</SERIAL_NUMBER>
    <ITEM_CODE>GM20541-KP1.001</ITEM_CODE>
    <DESCRIPTION>KOHLER GENSET</DESCRIPTION>
    <MANUFACTURER>KOH</MANUFACTURER>
    <APPLICATION>PGEN</APPLICATION>
    <ITEM_COST>756.83</ITEM_COST>
    <MATERIAL_COST>.78</MATERIAL_COST>
    <PO_NUMBER>1015156</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>14-OCT-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>AUD</CURRENCY_CODE>
    <PO_UNIT_PRICE>20</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>06R1017763</SERIAL_NUMBER>
    <ITEM_CODE>6062HK30.005</ITEM_CODE>
    <DESCRIPTION>DETROIT SERIES 60 MARINE ENGINE 615 KW 2949322</DESCRIPTION>
    <MANUFACTURER>MDD</MANUFACTURER>
    <APPLICATION>MARI</APPLICATION>
    <ITEM_COST>99125.34</ITEM_COST>
    <MATERIAL_COST>2028.31</MATERIAL_COST>
    <PO_NUMBER>883339</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>05-MAR-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>63768</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310935001</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1000221</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>01-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310935002</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1000221</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>01-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310935003</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1000221</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>01-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6510876301</SERIAL_NUMBER>
    <ITEM_CODE>T350R.004</ITEM_CODE>
    <DESCRIPTION>ALLISON TORQMATIC ON HWY TRANSMISSION</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>9465.69</ITEM_COST>
    <MATERIAL_COST>597.33</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>6936.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6510876302</SERIAL_NUMBER>
    <ITEM_CODE>T350R.004</ITEM_CODE>
    <DESCRIPTION>ALLISON TORQMATIC ON HWY TRANSMISSION</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>9465.69</ITEM_COST>
    <MATERIAL_COST>597.33</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>6936.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6510876303</SERIAL_NUMBER>
    <ITEM_CODE>T375R.002</ITEM_CODE>
    <DESCRIPTION>ALLISON TORQMATIC ON HWY TRANSMISSION</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>10224.19</ITEM_COST>
    <MATERIAL_COST>645.19</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>7433.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310940354</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310940355</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310940356</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310940357</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>5272003543</SERIAL_NUMBER>
    <ITEM_CODE>T1637K33.002</ITEM_CODE>
    <DESCRIPTION>DETROIT SERIES 4000 INDUSTRIAL ENGINE 1865 KW 2456291</DESCRIPTION>
    <MANUFACTURER>MDD</MANUFACTURER>
    <APPLICATION>MNIG</APPLICATION>
    <ITEM_COST>420083.16</ITEM_COST>
    <MATERIAL_COST>3785.85</MATERIAL_COST>
    <PO_NUMBER>921170</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>30-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>301549</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    </LIST_G_ASW_REC_DATE>
    </ASWRECDTREP>
    Best Regards,
    Mahi

    Hi Vetri,
    I tried to implement the solution you have given and i am getting error,
    I tried to see the output by loading the xml to the template given in BIP Blog in the following Link,
    http://blogs.oracle.com/xmlpublisher/2007/05/left_up_down_right_group.html
    I am getting the same error,Please help me how to overcome this.If possible send me the template that was working for you.
    The error log is as follows:
    ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\Users\MAHESH\Desktop\Grouping.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Users\MAHESH\Desktop\EmployeeListing.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:629)
         at RTF2PDF.runXDO(RTF2PDF.java:439)
         at RTF2PDF.main(RTF2PDF.java:289)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
         at oracle.xdo.parser.v2.XSLTContext.peekExprValue4Grouping(XSLTContext.java:871)
         at oracle.xdo.parser.v2.XPathFunctionCall.evaluate(XPathFunctionCall.java:536)
         at oracle.xdo.parser.v2.XPathFunctionCall.evaluate(XPathFunctionCall.java:583)
         at oracle.xdo.parser.v2.XSLVariable.getValue(XSLVariable.java:205)
         at oracle.xdo.parser.v2.XSLVariable.processAction(XSLVariable.java:117)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
         ... 15 more
    Best Regards,
    Mahi

  • I burnt a dvd from a file I exported from quicktime using the share with apple and pc option.  It was burnt directly from the finder. The dvd works perfectly on my mac, and also runs in my windows, but the sound in my windows pc is stammered.

    This is file I created in SnapzPro (which was saved as a Quicktime mov - Animation) of a Powerpoint Presentation.

    Jon, how do I re-compress the Snapz data for dvd playback?
    That depends on your specific work flow strategy. I normally perform the processing in two stages if editing is involved or in a single stage if I don't plan to trim, title, add a narration track, add special effects, and/or add filters to the Snapz Pro X captured screen data.
    In the two-stage process you export the captured data to an intermediate low-compression, high-quality fomat. (This can be the default settings for Snaps Pro X or a more modern editing specific format like ProRes 422/Linear PCM depending on the codec components for which your system is configured and your personal editing preferences.) The Snapz Pro X intermediate file is then edited in the application of your choice and the results are re-compressed to your final target compression format.
    In any case, whether you are re-compressing the data using QT 7 Pro, iMovie, GarageBand, MPEG Streamclip, Snapz Pro X, or similar third-party app that accesses the built-in OS X QT routines, the export process is essentially the same. Whether you use a "Movie to MPEG-4" or "Movie to QT Movie" export, you must export to a data rate limited, multi-pass H.264/AAC compression combination to take advantage of the "Optimize of CD/DVD" option. Specific data rate limits depend on the playback dimensions of the file you are creating, the minimum level of quality you will accept, and the playback speed of the hardware to be used. (I normally target 4X-8X settings for SD content but if you know the recipient has a higher rated optical drive and your content is HD, then you can use higher encode settings for improved quality.)
    I captured the slideshow again in Snapz, and saved it as H264/AAC. Is this good enough?
    If you did not specifically use the "Optimize for..." feature, then the file is automatically targeted for "Computer" playback which assumes playback is from an hard drive which has greater bandwidth/faster throughput than an optical media player. If the target display dimensions are resonably small, the the contextual nature of the H.264 video encoder may or may not be within the playback limitations of an optical drive usually depending on the encode matrix dimensions, graphic complexity of the source data, overall brightness of the scenes, and limitations you may have place on the target file—i.e., the larger the encoding dimensions, the faster the data date and the less likely the file will be compatible with optical drive playback without having to constantly interrupt playback to cache/rebuffer additional data. However, you can always tell the recipient that if this happens, he or she should simply copy the movie file from the CD/DVD to their hard drive for playback.
    What now? Do I open it in Quicktime and use the "share for mac and pc", then right-click on it in the finder and "burn to disc?"
    What you do next depends on how you plan to burn the file. The steps explained above allows you to create a file that is compatible with playback from an optical drive in a QT Player app but is not authored for playback from a commercial DVD Player. Your next step is to burn that file to an optical disc that can be read by your recipient's computer. I my case, I normally burn the disc using a hybrid (HFS Plus/ISO 9660) format which supports HFS Plus, ISO-9660, Rock Ridge, and Joliet with Rock Ridge file systems. How you do this is up to you. You can, for instance, use a third-party app like Toast or Dragon Burn to create a data disc; create/burn an image file with your Disk Utility app (this is a good option if you plan to burn several discs now and/or in the future); create a named "Burn" folder, drop the file to it, and press the burn button; or simply insert a blank optical media disc into you optical drive, change the default disc name to whatever you want, drop your file to the blank media's Finder window, and press the "Burn" button. (NOTE: Burn options may differ depending on the software installed on your system and/or the version of OS X under which you may be operating.)
    Dont see any specs re playback from an optical disc drive? The slideshow is only 3 min long, and I want to avoid turning it into a video DVD using iDVD, iMovie etc, as the quality of the pictures and type degrades badly. Thanks for the help. Been struggling with this for weeks.
    As noted above, this is an encode setting that only becomes active when you are targeting your H.264/AAC encode for multi-pass/data rate limited compression. When active, the "Optimize for..." pop-up allows you to select "computer" (targets playback from a hard drive), "CD/DVD" (targets playback from optical media), or "Streaming" (targets playback from a realtime streaming server) options. This option prevents data rate excursions from exceeding limits normally associated with each of the named types of playback. This option has nothing to do with the file system used to burn the media disc which determines which platforms/OS can read the disc and the file it contains.

  • Group and sort in group2

    CREATE TABLE [dbo].[Table_1](
    [group] [int] NULL,
    [sort] [int] NULL,
    [Item] [nchar](10) NULL
    ) ON [PRIMARY]
    GO
    INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (1, 1, N'Car ')
    INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (2, 1, N'Bus ')
    INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (1, 0, N'Bike ')
    INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (2, 0, N'Lorry ')
    INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (1, 1, N'Train ')
    INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (1, 1, N'Ship ')
    Data
    My Dataset Query in ssrs table
    Group2 expression
    Group on Group
    Sort on Sort
    Group 1 expression
    Sort on Sort
    First(Item.value ) is not working..  i need to fix in ssrs since this is an an sample data of sp with more columns
      my problem is once group2 is grouped, it is not taking the sort and just dispalying the First item in the sort of the item.
    ShanmugaRaj

    I beg your pardon, but in your example in the insert statement you have 1, 1, Ship , whereas in your report you display 1, 0 , Ship.
    Why not avoid the problem at the source, byt letting T-sql do the work:
    with a ([Group], [FirstSort])
    AS (SELECT [GROUP], MIN(sort) As FirstSort from dbo.Table_1 group by [group])
    select  a.[GROUP], a.FirstSort, c.[Item] AS FirstItem , b.[sort], b.[item]
    from a
    inner join  dbo.table_1 as b on a.[Group] = b.[group]
    inner join dbo.Table_1 as c on a.[Group] = c.[group] and a.[FirstSort] = c.[Sort]
    order by a.[group], b.[sort] -- LEAVE OUT the order BY in the report dataset
    Gives this result (I took the insert statements from your example)
    GROUP FirstSort FirstItem sort item
    1 0 Bike       0 Bike     
    1 0 Bike       1 Car      
    1 0 Bike       1 Train    
    1 0 Bike       1 Ship     
    2 0 Lorry      0 Lorry    
    2 0 Lorry      1 Bus      
    Jan D'Hondt - SQL server BI development
    sorry for that .. will take care heare by
    ShanmugaRaj

  • Grouping and sorting multiple cells

    Is there a way to group multiple contiguous cells so that they act as one large "super" cell, then have Numbers sort the groups according to a value in one of the individual cells in the group?
    I have created a document that has several columns and rows that are added together to arrive at a value that is put into a cell in the bottom right corner of the group. I need to sort these groups according to the value in that last cell in each group.
    I hope that makes sense.

    Seth,
    Consider putting the group value in each row so that when you sort, rows with the same group value will stay together. The column with this value can be hidden and you can repeat it in another column on the last row of each group. This will probably require another auxiliary column to keep the rows in the proper order within a group, and a two-level sort.
    Jerry

  • Htmldb_item.date_popup and sort options in reports

    I use the htmldb_item.date_popup in a report (PLSQL returning SQL). Everything works fine unless I provide the option to sort columns. If I allow a column to be sorted, the date_popup does not return the date to the corresponding field but to another field of the same column. However, the users want to be able to sort the report due to several columns. Can anyone provide a work-around?
    The query is as follows:
    DECLARE
    statement VARCHAR2(32767);
    BEGIN
    statement := '
    select
    htmldb_item.checkbox(47, ID, ''onClick="javascript:doSubmit()"'', :P3_FREISTELLUNG_SELECTED, '':'') as CHECKBOX,
    htmldb_item.hidden(11,ID)||
    htmldb_item.hidden(12,ID_VERTRAG)||
    htmldb_item.date_popup(13,null,VON,''DD.MM.YYYY'',13,10) as BEGINN,
    htmldb_item.date_popup(14,null,BIS,''DD.MM.YYYY'',13,10) as ENDE,
    htmldb_item.date_popup(15,null,ERTEILT,''DD.MM.YYYY'',13,10) as ERTEILT,
    htmldb_item.select_list_from_lov(16,decode(FLAG_CANCELED,null,0,FLAG_CANCELED),''LOV_FREISTELLUNG_NULL'',null,''NO'') as FLAG_CANCELED,
    decode(FLAG_DELETED,1,''direkt gelöscht'',2,''indirekt gelöscht'',''aktiv'') as WERT_DELETED,
    htmldb_item.text(17,BEMERKUNG,20,4000) as BEMERKUNG
    from VERTRAG_FREISTELLUNG where ID_VERTRAG = :P3_KOPF_ID';
    if :P3_FREISTELLUNG_NEU = 2 then
    statement := statement||'
    union all
    select
    null as CHECKBOX,
    htmldb_item.hidden(11,null)||
    htmldb_item.hidden(12,null)||
    htmldb_item.date_popup(13,null,null,''DD.MM.YYYY'',13,10) as BEGINN,
    htmldb_item.date_popup(14,null,null,''DD.MM.YYYY'',13,10) as ENDE,
    htmldb_item.date_popup(15,null,null,''DD.MM.YYYY'',13,10) as ERTEILT,
    null as FLAG_CANCELED,
    null as WERT_DELETED,
    htmldb_item.text(17,null,20,4000) as BEMERKUNG
    from dual';
    end if;
    RETURN statement;
    END;
    PS: I know that the problem already has been discussed in the forum, but I did not find a solution for the problem.

    I have this issue as well with popup_from_query compunded with sorting.
    Wondering if there is any workaround from anyone ?

  • Why can't I use the fade to black and white option in iMovie '11?

    I have a project that uses a few photos with one minute duration timers I want to slowly fade from color to black and white but the fade to options are all greyed out... Am I over looking something or doing something wrong?

    Exiled Angel wrote:
    ....it's the color in the pictures I want to gradually reduce the saturation on until they are black and white before the transitions start, not fade in or out to a black or white screen like you are suggesting.
    Sorry, but I wasn't suggesting that you use Fade to Black or Fade to White, just explaining what they do, given that you used the term "fade" in your first post. I assumed you may have been using the Fade to Black transition (which won't achieve what you want).
    I suggested that you use Cross Dissolve, but I need to explain further how to achieve the effect you are looking for. First, you need to place a copy of the photo directly after the original. Make sure Ken Burns is turned off - use Fit. Now double-click on the copy to bring up the Clip Inspector. Click on Effects and select Black & White, then click Done. Drag a Cross Dissolve transition between the 2 clips (photos) and adjust the duration to your liking in the Inspector. Now you will see the effect your are looking for.
    The key is to have an exact copy of the photo following the original, then change the copy to Black and White (or Sepia or any other effect), then insert the Cross Dissolve (or Cross Blur etc.) transition.
    Hope that''s what you are looking for!
    John

  • Filter and Sort Options???

    Is there a way to Sort or Filter only the RAW files in a Library folder that have had adjustments made to them in the Develop Module?   Not by date, key words or flags etc.  Only develop adjustments.
    Thanks
    Mark

    Versions prior to LR 4 allowed you to easily apply a smart collection to an arbitrary folder, but Adobe removed that functionality in LR 4.  There are several workarounds:
    - Add the criterion Folder Contains All <folder name> to your smart collection.  Of course, you'll have to edit it every time you want to search a different folder.
    - Use this recipe:
    1. Click on the smart collection to show the photos matched by it (all photos in your catalog).
    2. Edit > Select All.
    3. In the Folders pane, click on the desired folder.
    Only the photos in the folder that match the smart collection will be selected.  You can save that selection to the Quick Collection or another collection.
    - Use the Any Filter plugin.
    Please see the discussion about this topic in the official feedback forum and add your opinion and vote:
    http://feedback.photoshop.com/photoshop_family/topics/multi_selecting_smart_collections_an d_folders_in_library_module_has_changed_for_the_worse

  • Row Level Security using BO SDK - Dynamic Group and Criteria (where clauses)

    To the Universe Gurus out there:
    I have a rather daunting task of implementing a Row Level Security on a number of tables within our project using BO XI R2 SP2 with SQLServer 2005. Given the nature of the requirements around this (listed below), I am going to go with BO SDK to accomplish the creation of Restrictions. That said, I need some insight into some of the problem areas I have listed below. Any help is much appreciated.
    Background:
    We have 11 tables that are to be restricted.
    Each table is accessible to potentially 1..* group of users only.
    For eg SALES is accessible to ALL_SALES members only.
    Each row within each table is accessible to 1..* groups of users only. The restriction will occur on 2 columns Jurisdiction and LineID on SALES table.
    For eg
    1)Rows with NY Jurisdiction and LineID=123 are accessible to NY_SALES_ADMIN group only initially.
    2)NY_ADMIN will then approve that the above rows be open to NY_SALES_INTERNAL group only. This approval in turn will call upon the BO SDK to add a new restriction for the group with appropriate where clause.
    3)At a later point, the above rows will be opened to NY_SALES_EXTERNAL group also.
    This same concept holds good a number of jurisdiction (more or less static) and a dynamic number of LineIDs. So, if 10000 rows of data corresponding to new LineID 999 and Jurisdiction AK are in the table now, they are initially accessible only to AK_SALES_ADMIN group only. No one else should be able to access it.
    Results:
    1) With the way I laid out the business rules above, I am ending up with 528 groups.
    2) There is a restriction created for a unique combination of Jurisdiction and LineID for each table.
    Problems/Questions:
    How can I restrict access to the new rows to one group only. I know that I can let a certain group only look at certain data but how can I restrict that all others cannot look at the same.
    AK_SALES_ADMIN can look at LineID=999 and Jurisdiction='AK'.
    Do I use an Everyone group based restriction? If so, my Everyone group will end up with tons of restrictions. How will they be resolved in terms of priority.
    Am I even thinking of this the right way or is there a more noble way to do this?
    Regards

    the connectinit setting should look something like this:
    declare a date; begin vpd_setup('@VARIABLE('BOUSER')'); Commit; end;
    The vpd_setup procedure (in Oracle) should look like this:
    CREATE OR REPLACE procedure vpd_setup (p_user varchar)IS
    BEGIN
      DBMS_SESSION.set_vpd( 'SESSION_VALUES', 'USERID', p_user );
    END vpd_setup;
    Then you can retrieve the value of the context variable in your vpd functions
    and set the vpd.

  • ALV Group and Sort

    Hi,
    I am sorting the ALV Display on the basis of Assignment Field. It is getting sorted, but it is displaying the value in all the lines/rows. I want to display it only once(the first row) if the value is same.
    Also, the first line of the ALV Output is a checkbox.
    At present the check-box is displayed in all the rows.
    My requirement is to display the check-box once for every new Assignment. So, if there are 5 rows with the same Assignment Value then only one check-box should appear, either in the first or fifth row.
    Your help will be definitely appreciated.
    Thanks,
    ~ Payel

    There is no Direct solution in this case....
    1. Hade one extra field of type lenght 4 chars.
    2. populate the ICON value for unselected checkbox.
    3. Change the Fieldcatalog for the field which is added in step1.
    4. Populate the sort information.
    5. Handle the usercommand to check or uncheck based on action.
    Check the sample code..
    REPORT  zalv_total_sub.
    TYPE-POOLS: slis.
    INCLUDE <icon>.
    DATA: BEGIN OF it_flight OCCURS 0,
           carrid  LIKE sflight-carrid,
           connid   LIKE sflight-connid,
           fldate   LIKE sflight-fldate,
           seatsmax LIKE sflight-seatsmax,
           seatsocc LIKE sflight-seatsocc,
                  check(4),             "Step1
          END OF it_flight.
    DATA: it_fieldcat TYPE  slis_t_fieldcat_alv,
          wa_fcat LIKE LINE OF it_fieldcat,
          layout TYPE  slis_layout_alv.
    DATA: it_sort TYPE  slis_t_sortinfo_alv,
           wa_sort LIKE LINE OF it_sort.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
      EXPORTING
        i_program_name         = sy-repid
        i_internal_tabname     = 'IT_FLIGHT'
        i_inclname             = sy-repid
      CHANGING
        ct_fieldcat            = it_fieldcat
      EXCEPTIONS
        inconsistent_interface = 1
        program_error          = 2.
    SELECT  carrid
           connid
           fldate
           seatsmax
           seatsocc
    FROM sflight
    INTO CORRESPONDING FIELDS OF TABLE it_flight
    SORT it_flight BY carrid.
    "Step 2....
    LOOP AT it_flight.
      it_flight-check = icon_wd_iframe.
      MODIFY it_flight.
    ENDLOOP.
    wa_fcat-do_sum = 'X'.
    MODIFY it_fieldcat FROM wa_fcat TRANSPORTING do_sum
    WHERE fieldname = 'SEATSOCC' .
    CLEAR wa_fcat.
    "Step3...
    wa_fcat-hotspot = 'X'.
    wa_fcat-icon = 'X'.
    wa_fcat-col_pos = 1.
    MODIFY it_fieldcat FROM wa_fcat TRANSPORTING col_pos icon hotspot
    WHERE fieldname = 'CHECK' .
    wa_sort-fieldname = 'CARRID'.
    wa_sort-up = 'X'.
    wa_sort-subtot = 'X'.
    APPEND wa_sort TO it_sort.
    " Step 4.
    CLEAR wa_sort.
    wa_sort-fieldname = 'CHECK'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        i_callback_user_command = 'USER_COMMAND'  "Step5
        is_layout               = layout
        it_fieldcat             = it_fieldcat
        it_sort                 = it_sort
      TABLES
        t_outtab                = it_flight
      EXCEPTIONS
        program_error           = 1.
    "Step 5 implementation.
    FORM user_command USING ucomm TYPE sy-ucomm
    selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          CASE selfield-fieldname.
            WHEN 'CHECK'.
              READ TABLE it_flight INDEX selfield-tabindex.
              IF sy-subrc EQ 0.
                IF it_flight-check = icon_checkbox.
                  it_flight-check = icon_wd_iframe.
                ELSE.
                  it_flight-check = icon_checkbox.
                ENDIF.
                MODIFY it_flight  TRANSPORTING check
                 WHERE carrid = it_flight-carrid.
              ENDIF.
          ENDCASE.
      ENDCASE.
      selfield-refresh = 'X'.
    ENDFORM.                    "user_command
    Check it and let me know if any issues with the code.

  • Group and link options

    I guess I'm getting old cause for years now I have had the Layers>group options and for some reason now all I have is the link option available. Running Windows XP, Photoshop CS3
    What did I do to lose it? or what causes that, so I can change things..
    Thank you, Linda

    Click the really small down arrow at the upper right corner of the layers window, which brings up a menu that has all the options you mentioned. You may need to ctrl+click the files before some of the options are active, but I'm pretty sure that's what you're trying to find.

Maybe you are looking for

  • Friend tried to download Itunes on windows 8 and after download says incompatible?

    a friend tries to download Itunes to windows 8 and keeps saying incompatible?

  • Slowness with Time Capsule

    Ive had an Apple TV for about 1.5 years.  I have been using an Airport Extreme as my home router with Comcast High Speed interet, and they have worked great together.. The speed was flawless.. and neve had to wait more than 10 seconds to start playin

  • Detail section with a subreport in it will not suppress when blank

    Hi all, I think this is an easy one because I did it before but cant get it done this time for some reason. I have a Detail section with a sub report in it.  %99 of the time it is blank... I have Suppress Blank Section checked but the section still s

  • Can't manually advance a slideshow created in iPhoto

    Hello, I'm a new mac user and this my first entry, so bear with me.....I created a slideshow in iPhoto of about 300 photos and 3 postcards. I did not add music because I want to be able to advance the slideshow manually (it it true that you can not u

  • Help Google featire

    Hi, I live in the UK and was wondering if its possible to set the google feature in safari to search from google uk by default and not US. pls lemme know cheers