Report for all RAP advertisements with Package size.

Hi,
I have received a requirement to get the information about all the advertisements published in RAP along with package details like (Package Name/version/ and Package size).
I have two different working reports, merging these two reports would suffice my requirements.
Please help to merge below two reports.
1.  
SELECT DISTINCT p.PackageID, p.Name,p.Version, p.SourceVersion, 'Source Size (MB)' = n.SourceSize/1024
 FROM v_Package p
 LEFT JOIN
 v_PackageStatusRootSummarizer n
 ON
 p.PackageID = n.PackageID
order by Name
2.
SELECT v_Advertisement.AdvertisementName,
v_Advertisement.Comment, 
v_Package.Name AS C062,
ProgramName,
v_Advertisement.SourceSite,
CASE WHEN AssignedScheduleEnabled != 0 or
                                      (AdvertFlags & 0x720) != 0
THEN '*'
ELSE ''
END AS C063,
v_Collection.Name as C064, 
CASE IncludeSubCollection
WHEN 1 THEN '*'
WHEN 0 THEN ''
END AS C065,
AdvertisementID
FROM v_Advertisement 
INNER JOIN v_Package ON v_Advertisement.PackageID = v_Package.PackageID
INNER JOIN v_Collection ON v_Advertisement.CollectionID = v_Collection.CollectionID
ORDER BY v_Advertisement.AdvertisementName
The Lightning Khan

SELECT
p
.PackageID,
p.Name,p.Version,
p.SourceVersion,
'Source Size (MB)'
= n.SourceSize/1024,
v_Advertisement
.AdvertisementName,
v_Advertisement
.Comment,
p
.Name
AS C062,
ProgramName
v_Advertisement
.SourceSite,
CASE
WHEN AssignedScheduleEnabled
!= 0
or
(AdvertFlags
& 0x720)
!= 0
THEN
ELSE
END
AS C063, 
v_Collection
.Name
as C064,
CASE
IncludeSubCollection
WHEN
1 THEN
WHEN
0 THEN
END
AS C065,
AdvertisementID
FROM v_Advertisement
INNER
JOIN v_Package p
ON v_Advertisement.PackageID
= p.PackageID
INNER
JOIN v_Collection
ON v_Advertisement.CollectionID
= v_Collection.CollectionID
LEFT
JOIN  v_PackageStatusRootSummarizer n 
ON  p.PackageID
= n.PackageID
ORDER
BY v_Advertisement.AdvertisementName
John Marcum | Microsoft MVP - Enterprise Client Management
My blog: System Center Admin | Twitter:
@SCCM_Marcum | Linkedin:
John Marcum

Similar Messages

  • Order report for all components & services with plan/actual price

    Dear all Hi,
    I want to see a report which should give me the all the details of components & services cunsumed with their paln& actual costs for a production order, please suggest/help.
    Thanks in advance.

    Hi,
    You can get order wise costing report as following :
    Go to Production-->Shop Floor Control>Information System>Controlling Reports->Product Cost by Order where you will different drilldown options for getting costing report for orders.
    Hope this helps.
    Regards,
    Tejas

  • Select query with package size

    Hi ,
          i am trying to use select qurey with package size , to limt the data fetching .
    Can any one gives sqample code or idea select query using 'package size'.
    Advance Thanks,
    Regards
    veera

    Hi,
        SELECT vbeln erdat
        FROM vbak
        INTO TABLE li_vbak PACKAGE SIZE 50.
         SELECT posnr matnr meins
          FROM vbap
          INTO TABLE li_vbap
          FOR ALL ENTRIES IN li_vbak
          WHERE vbeln = li_vbak-vbeln.
    Hi i want  to select only from vbeln ,ie single selct query only using pakage size.200,blocks in data base ..How ?
    Regards
    veera

  • Sales document report for all open documents

    hi i need the code for sales document report for all open documents is sd
    ...      can anyone help me out.
                                     thanks in advance

    Try transaction VA05. In that choose "Open Orders" along with other selection criteria.
    If you want the Open sales order qty in output and its not displayed, do the following.
    Sales -> System modification -> create new fields ( without condition technique) -> New fields for lists.
    You can change V05TZZMO and structure VBMTVZ from there or use SE38 / SE11.
    For both you'll need an object registration in OSS.
    Hope this helps.
    Thanks,
    Balaji

  • Need to run the report for All Values when Null is passed in parameter

    Hi All,
    In my BIP report, I am using a parameter :asset with Type as Text, which means user will type the values for the parameter in the text box.
    Now, this parameter can take multiple comma separated values. I have a requirement to run the report for All Values when user doesn't enter any value in the parameter text box and if user enters any value(s) then the report will run for those values . The way, I tried to handle that in the query using couple of ways was :
    IMP : My Database is SQL Server
    where
    (table.asset = isnull((:asset), table.asset) or table.asset in (:asset))
    Now this works fine when I give a single asset number but when I give multiple values separated by comma like 123, 345 in the text box, then the statement fails saying 'encountered ,'
    I also tried simply
    table.asset in isnull((:asset),table.asset) -- but this doesn't work as it doesn't allow me to use in operater while using isnull and if i will use = operater then it won't work in case of multiple values
    Any suggestions on how can I handle this? Any help would be highly appreciated.
    Thanks,
    Ronny

    thanks for replying, but i tried this option too, it did not work for me, neither isnull nor coalesce. I mean, the solution work for single value but when i pass multiple values then separated by a comma then it doesn't work and shows me an error like "Incorrect Syntax ','". I am using SQL server as DB and bip is 10.1.3.4.1
    also please share the SR number, so i can also check the same.
    can there be any other work around to this?
    thanks,
    ronny

  • For all entries in source package merge

    Hi experts,
    I have one question regarding statement for all entries in source package where …..
    Explanations:
    Let’s say that my source package contains 2 types of data:
    -type1
    -type2
    I would like to use the statement select from table into internal table
    For all entries in source package
    But the where statement changes depending on the data type (2 keys when data type is 1 and only 1 key when data type is 2) .
    So that would be:
    Type1:
    Select fields
    From table into internal table
    Where field1 = source_package-field1
    And field2 = source_package-field2.
    Type2:
    Select fields
    From table into internal table
    Where field1 = source_package-field1
    How can I merge them?
    Thanks.
    Amine

    Hi Amine,
    Didn't try that before but there are some idea for you to reference.
    I assume source_packet have a field which indicate the data type which call source_packet-dtype
    1) Write SQL like this... (Notes: never try that, not sure if it will work)
    Select fields
    From table into internal table
    Where ( source_packet-dtype = 1 and field1 = source_package-field1 and field2 = source_package-field2 )
    OR ( source_packet-dtype = 2 and field1 = source_package-field1 ).
    2) Try to split the source_packet into 2 itab, one contain type 1 and another contain type 2 data and then read with 2 sql and merge with appending key word, but this idea assume the record will be difference
    Select fields
    From table into internal table
    Where field1 = itab_type1-field1
    And field2 = itab_type1-field2.
    Select fields
    From table APPENDING internal table
    Where field1 = itab_type2-field1
    BTW, you may have better luck in the ABAP space.
    Regards
    Bill
    Message was edited by: Chie Bill

  • Running-report-for-all-values

    Hi ,
    Based on this link i have implemented this logic....
    http://bischool.wordpress.com/2009/08/26/avoid-running-report-for-all-values-on-dashboard-when-using-multi-select-prompt/
    But for the intermediate report its taking more time to run...nearly 4min...is there any way to reduce it.
    Thanks

    hi User,
    Quick question
    Why you are giving (-1) value's as per the doc we can give any value which has to give no results? Have u tried to give some other value ?
    Next,Do u have left outer joins between those tables? If yes you should face the same problem with the main report because the filters to be same as intermediate report am i right ?
    First tune-up the rpd and get the main report query ,run-it over DB
    Due to huge data and the join taking more time....is there way any thing to add to reduce the time??Huge data ?? Intermediate report will not get any results i think it will not take more time to give a message,but due to join conditions only it is taking long time to run
    Note :Before getting value from DB it will check the where condition( joins)
    Thanks,
    Saichand Varanasi

  • When I add a https link to quicklinks, when I click on it, the (:) after https does not go to the address bar and thus the link is not connected. This is happening for all quicklink bookmarks with https:

    Question
    When I add a https link to quicklinks, when I click on it, the (:) after https does not go to the address bar and thus the link is not connected. This is happening for all quicklink bookmarks with https: Is there a solution?

    Try some basic troubleshooting.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • FOR ALL ENTRIES IN with two tables

    Hi Guy's,
    I have two int. tables, gt_likp, gt_lips.
    I need to use "FOR ALL ENTRIES IN" with this two tables.
      SELECT matnr
             vkorg
             vtweg
             ypcogsl
        FROM mvke
        INTO TABLE gt_mvke
    <b>    "FOR ALL ENTRIES IN gt_likp gt_lips"</b>
        WHERE matnr = gwa_liefpos_tab-matnr
        AND vkorg = gt_likp-vkorg
        AND vtweg = gt_lips-vtweg.
    How to do this?
    Please Help.
    Thanks in Advance.

    Hi,
    Fill gt_likp-vkorg values in a range(r_vkorg). Use gt_lips in FOR ALL ENTRIES.
    Basically you can use only 1 internal table with FOR ALL ENTRIES statement.
    SELECT matnr
    vkorg
    vtweg
    ypcogsl
    FROM mvke
    INTO TABLE gt_mvke
    FOR ALL ENTRIES IN gt_lips
    WHERE matnr = gwa_liefpos_tab-matnr
    AND       vkorg in r_vkorg
    AND       vtweg = gt_lips-vtweg.
    - SRao

  • Report for listing contact person with customer

    Hello,
    we use the tables adrc, adrp, kna1, knvv and now I want to know if somebody has a ready report, where I can put the country-id in (f.e. 'it') , so that this reports lists all contact persons with their customer and their adress.
    Does anybody such a report ?
    Thanks
    Gerd

    again

  • Report for all connected Active Sync Devices

    Hi,
    Can we get a list of all connected active sync Devices from office 365?
    (With Mailbox Name, Device Type,OS, Status basically)
    Thank You.

    Hi Kavindua,
    To retrieve the list of devices in your organization that have active Microsoft Exchange ActiveSync partnerships, Please check the cmdlet "Get-ActiveSyncDevice".
    Refer to:
    Export a list of all ActiveSync accounts and devices to .CSV ,export a list of all enabled users with mailbox sizes
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Pull out Report for all configured Collection veriables in SCCM 20007

    Hi All,
    I have tried many ways but failed to pull out a report on collection veraiables.
    It would be great, if someone could suggest how to pull out a report for all collection veriables which are configured.
    Thanks
    Regards, Dan

    Hi,
    Check if this link helps :
    http://it.peikkoluola.net/2013/09/30/display-a-sccm-collection-variable-and-its-value/
    ~ Räjeésh M | Blog:
    ScorpITs | Please remember to 'Mark as Answer' or 'Vote as Helpful' on the post that helps. It helps others reading the thread and recognizes useful contributions.

  • Can Cisco Mars do the reporting for all devices (checkpint, ISS etc)

    Is this is true that cisco mars can do the reporting for all the devices(like checkpoint, juniper, sonicwall, and IBM-ISS ) devices.
    Requesting plz reply ASAP

    no, it's not true. the following MARS lists what mars has direct support for:
    http://www.cisco.com/en/US/docs/security/security_management/cs-mars/4.3/compatibility/local_controller/dtlc43x.html
    Anything else would require creating a custom parser, which is great functionality to have in a pinch but is a major pita to maintain. That's one of the biggest reasons to buy a SIM in the first place, so you don't have to manage parsing yourself.

  • Please could anybody has a sol, to bring images to the report for all employees which has no reference with images stored in some path

    Hi Obiee experts,
    I have placed the images in  below locations  and these images are independent and  has no reference to the employee id column in dimension table.but my client requires report with all the employees,with respect to the images.Could anybody can give me a solution for this.
        1) root: \apps\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\s_blafp\images
       2) root: \apps\Middleware\Oracle_BI1\bifoundation\web\app\res\s_blafp\images
       3) root: \apps\Middleware\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes
    Thanks in Advance
    kumar

    Hi Sreeni,
    The images are stored with employee ids reference like 1234.jpg in the image location path, so will it be possible to call those images into the report with no relation at database level.
    as you said in above mail even if if we cld try  to store the images in oracle database with format like CLOB format the rpd will not support the datatype to bring to that report level.
    Please let me know if you have any solution
    Thanks in Advance
    kumar

  • Report for update of Material with deletion Flag from R/3 to SRM

    Hi All,
               Is any report for Updating material in SRM with deletion indicator for those  deletion flag set in R/3...

    Check material status
      IF mat_mmsta EQ '--'.
        lv_msgv1 = iv_ordered_prod.
        CALL FUNCTION 'BBP_PD_MSG_ADD'
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 426
            i_msgv1       = lv_msgv1
          EXCEPTIONS
            log_not_found = 1
            OTHERS        = 2.
        IF sy-subrc <> 0.
          PERFORM abort.
        ENDIF.
        IF c_on = c_off.
          MESSAGE e426(bbp_pd) WITH lv_msgv1.
        ENDIF.
      ENDIF.
      if not mat_lvorm is initial.
        lv_msgv1 = iv_ordered_prod.
        call function 'BBP_PD_MSG_ADD'
    program name LBBP_PDIGPF2R
    Check material in backend
      CALL FUNCTION 'META_MATERIAL_READ'
        EXPORTING
          i_mtcom        = ls_mtcom_eci
          logical_system = iv_log_system
        IMPORTING
          e_mmsta        = mat_mmsta
          e_lvorm        = mat_lvorm
        EXCEPTIONS
          mat_not_found  = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
        lv_msgv1 = iv_ordered_prod.
        lv_msgv2 = iv_plant.
        CALL FUNCTION 'BBP_PD_MSG_ADD'
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 275
            i_msgv1       = lv_msgv1
            i_msgv2       = lv_msgv2
          EXCEPTIONS
            log_not_found = 1
            OTHERS        = 2.
        IF sy-subrc <> 0.
          PERFORM abort.
        ENDIF.
        IF c_on = c_off.
          MESSAGE e275(bbp_pd) WITH lv_msgv1 lv_msgv2.
        ENDIF.
      ENDIF.
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 345
          EXCEPTIONS
            log_not_found = 1
            others        = 2.
        if sy-subrc <> 0.
          perform abort.
        endif.
        if c_on = c_off.
    IN SRM PROGRAM LBBP_PDIGPF2R BBP_PD 345 throws message "product x is designed for deletion"
    but it is validationg from fm 'META_MATERIAL_READ'
    please close this thread
    br
    muthu

Maybe you are looking for

  • Sharing Lion amongst computers in the same household with diff User IDs

    I have 3 computers in my family with different User ID's. I have already installed Lion on my macbook and no longer have the application prior to installation so I can't install it prior to the installation or after it's just been downloaded.  can I

  • How can I graph muliple sets of y-values against a single set of x-values?

    Hi.  I am trying to write a VI that will take columns of data stored in a 2D array and plot it with the first column being the x-coordinates and all subsequent columns (different parameters) of data being y-coordinates.  The number of these parameter

  • Strange noise from iPod classic

    My new 160Gb iPod Classic make a strange whirring sound every once in a while. I realise this is probably the hard drive, but is it normal?

  • Save as problem Mavericks

    Just upgraded from Mountain Lion to OS 10.9.2  and now I can't "save as" using a new file name in same folder.  Message received says I'm trying to save with the same name (after I've added a word to the original file name).  I can save as to a diffe

  • Error in Application log SCOM mgmt server 25934 Credentials are null for user

    Hi,   We recently started getting errors like the one shown below on one of our SCOM management servers. Any thoughts on what might be causing this and why this shows on a scom server.   There is no VMM stuff installed on this SCOM server. Thanks in