Using names passed to -ComputerName in the output

Hey guys,
Would you be able to help me? When I use the -ComputerName switch in a cmdlet, or function, I get the results as expected. For example:
Get-Service -ComputerName server1, server2 -Name myservice*
Status   Name               DisplayName
Running  MyService... MyService.WindowsService1
Running  MyService... MyService.WindowsService2
Running  MyService... MyService.WindowsService3
Running  MyService... MyService.WindowsService1
Running  MyService... MyService.WindowsService2
Stopped  MyService... MyService.WindowsService3
That’s fine for me at the time. However if I want to automatically email the results, they’re worthless. Is there a clean way to get the output to include the targeted server’s name (maybe in the table’s 1<sup>st</sup> column)?

Hi,
You can use the MachineName property for that:
Get-Service -Name ServiceName -ComputerName server1,server2 |
Select MachineName,Status,Name,DisplayName
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing)

Similar Messages

  • How to pass tag name and value dynamically in the output of PCo notification?

    Hi,
    I have a requirement to develop such a scenario where there can be multiple no of tags in PCo (Say 10) but there will be single notification to push the tag name when the value got changed and the changed value to MII. for any value change for any of the tag, the notification will be trigger. So As per my knowledge I have to pass the tag name and value dynamically in the "output" tab of the notification. But need your support to find out how to pass them dynamically.
    Thanks in advance.
    Regards,
    Suman

    Hi Suman/Jeedesh,
    As per Pco notification, it will trigger whenever any of the tag value changes in Agent instance subscription items.
    For above issue, My suggestion
    1. Create DB table name TAGLIST with 200 tags as rows in columns (Tagname, TagValue)
    2. Based on notification trigger, create a transaction and update values w.r.t TagNames in above table
    3. Next time, when notification trigger with fresh value for any of the tag, cross check with existing TagName with Value and update in DB table.
    4. And in the mean time, send those Tag details vie mail trigger or as per requirement
    Instead of creating 200 notification, above is a just alternate way suggestion to achieve dynamic tag value change notification.
    Hope it might solve your problem
    Regards,
    Praveen Reddy

  • JSF OutOfMemory Error when use ResponseWriter - how can I stream the output

    I am trying to output a large quantity of data and would like to stream the output in chunks. ResponseWriter writes the data into memory and then renders all the content of the response in one pass. Flush() does not change this behavior. Is there some way I can bypass this in JSF to stream the output in chunks?
    Thank you in advance.
    Roman

    Is there any way you can move to the latest 1.2 release [1]?
    The 1.1 implementations of the RI weren't optimized for handling the case where Renderers
    modify the tree while rendering.
    [1] [https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=9600&expandFolder=9600&folderID=9600|https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=9600&expandFolder=9600&folderID=9600]

  • SSH to network devices using "name" or "IP" - What is the industry norm?

    Hi Everyone,
    Looking for anyone to provide feedback on the "Industry Norm" for accessing network devices, by DNS Name or IP? If anyone has any opinions or information about this I would certainly appreciate the information. I use name, which I have been told "is not the industry norm" so obviously I would like some level of validation on comment.
    Thanks!

    I'd most definitely consider it the norm!
    I’ve worked in both pure tech companies and in tech teams in the banking industry and we’ve always had some form of name resolution for our devices. Normally using internal DNS but worse case scenario is a hosts file on the NMS.
    Trying to retain IP addresses for anything more than a handful of devices is just tiresome, especially if you are in a fault situation. I think most network teams out there with the support of some decent network management infrastructure or experience would consider it vital and take it for granted.
    Having said that, I’m a little pedantic when it comes to name resolution and have forward and reverse resolution for almost every numbered interface in our (not insubstantial) network, it makes traceroutes all the more powerful.

  • How to display the column names of a table in the output

    Hi,
    I want to display the name of the columns of the table without using literals in a abap report.
    EX: Consider the table KNA1
    KUNNR NAME  ADDRESS
    I want to display the column names in the above fashion without using hardcoded write statements.
    Thanking in anticipation

    You can use this FM <b>DDIF_FIELDINFO_GET</b> It gives you all the names related to fields in a table -:)
    Greetings,
    Blag.

  • I used to be able to change the output to mono regardless of the input I used. Is this still possible in Garageband 10?

    I have several speeches recorded in Garageband. I mistakenly created the tracks as two input tracks, but in reality, they were only mono. Previously in Garageband, one could select the inputs for a track even after it was recorded, thus changing a two input/stereo recording into a mono. Now, I do not see that setting at all. I do see the two circles next to the track title on the track itself, but nowhere does it allow me to make a change. Does anyone know whether I can select the inputs for a track after it has been recorded? The Inspector has many different effects, but I am admittedly overwhelmed by the number of them in this case and have not seen one that permits the kind of adjustment I want to make.
    Any ideas? (i would rather not have to do something like input them into iTunes in order to manipulate them which I hear might work but is not what I would call an elegant solution to the problem)

    Almost immediately after I asked the question, I tried one more option. I created a new track with only one input. I copied my two input track into it and suddenly it was heard in both channels as if it was a mono recording. It did not make any difference which input I had used to record it originally, I tested adding a track with Input 1 and then Input 2 and both behaved the same way.
    I realize there may be other ways to do this. Feel fee to add your input.

  • RoboHelp HTML 11 - If I publish using a responsive HTML5 layout, will the output be available to users who want to view it offline? Or does it require an internet connection and a browser to view?

    I am writing help content for software that has two essential components - one web-based and the other a locally installed app (our users work in both). I need the help documentation to be available from both and I wanted to use the new responsive HTML5 layout to make it accessible from a PC, tablet or smartphone while publishing from a single source, but the locally installed app allows users to work offline so I need the help to also be accessible when a user works offline. Is this covered with responsive HTML5 publishing or do i need to publish the documentation to an application help viewer as well?
    I apologize if there is an obvious answer to this. I am new to this and I have already checked the RoboHelp user guide and the FAQ and forum to try and find the answer.
    Thanks for your help.
    Cat

    Hi there
    While I agree with Jeff that CHM is a bit long in the tooth, it's still extremely viable. The only real issue with it is that it's PC only. Specifically, Microsoft Windows PC only. So that rules out Android and other platforms.
    Yeah, HTML 5 is like the cool new kid on the block that doesn't play by the regular rules. But also like that same kid, it is a bit unpredictable. If it were me, I'd maybe experiment with WebHelp. ESPECIALLY if you have a fondness for customizing the look and feel of things. WebHelp customizations are so much easier to implement than the HTML 5 stuff in RoboHelp. I'd rather be forced to stick red hot needles into my eye sockets than to have to deal with that type of customization in RoboHelp. Not to mention needing to have a really good grasp of CSS and HTML 5 coding as well as RoboHelp Widgets. There are probably fewer than ten folks on this planet that can easily handle this.
    Cheers... Rick

  • How to create a table using blob datatype and then selecting the output???

    I have created table
    create table imgloader(img_l blob);
    now i want to insert the image i.e. '/u1/archie.jpg' to this table
    what steps to be follwed to insert the image into table..and how to see the stored image??

    Is GOOGLE & SEARCH broken for you?
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:392618837633

  • Added in to fieldcat but do not display in the output

    Dear Experts,
    I meet a problem that I add one recode into the fieldcat.But in output, the field's name do not appear in the output.The following is my code.The content 'Duodate' does not appear on the screen.
    form fieldcat_init using l_fieldcat type slis_t_fieldcat_alv.
      data: ls_fieldcat type slis_fieldcat_alv.
    *head field categories                                       *
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'LIFNR'.
      ls_fieldcat-tabname   = 'ITAB_HD_IT'.
      ls_fieldcat-seltext_l = 'Vonder'.
      ls_fieldcat-key       = 'X'.
      ls_fieldcat-fix_column     = 'X'.
    ls_fieldcat-outputlen = 12.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'NAME1'.
      ls_fieldcat-tabname   = 'ITAB_HD_IT'.
      ls_fieldcat-seltext_l = 'Vonder'.
      ls_fieldcat-key       = 'X'.
      ls_fieldcat-fix_column     = 'X'.
      ls_fieldcat-outputlen = 40.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'VBLNR'.
      ls_fieldcat-tabname   = 'ITAB_HD_IT'.
      ls_fieldcat-seltext_l = 'Payment'.
    ls_fieldcat-outputlen = 10.
      ls_fieldcat-do_sum = 'X'.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'WAERS'.
      ls_fieldcat-tabname   = 'ITAB_HD_IT'.
      ls_fieldcat-seltext_l = 'CURR.'.
    ls_fieldcat-outputlen = 10.
      ls_fieldcat-do_sum = 'X'.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'WRBTR'.
      ls_fieldcat-tabname   = 'ITAB_HD_IT'.
      ls_fieldcat-seltext_l = 'Amount'.
      ls_fieldcat-outputlen = 15.
      ls_fieldcat-do_sum = 'X'.
      append ls_fieldcat to l_fieldcat.
    *item field categories                                       *
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'BELNR'.
      ls_fieldcat-tabname   = 'ITAB_ITEM_IT'.
      ls_fieldcat-seltext_l = 'Docu.'.
      ls_fieldcat-key       = 'X'.
      ls_fieldcat-fix_column     = 'X'.
      ls_fieldcat-outputlen = 12.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'BLDAT'.
      ls_fieldcat-tabname   = 'ITAB_ITEM_IT'.
      ls_fieldcat-seltext_l = 'Document Date'.
      ls_fieldcat-outputlen = 10.
      ls_fieldcat-key       = 'X'.
      ls_fieldcat-fix_column     = 'X'.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'ZFBDT'.
      ls_fieldcat-tabname   = 'ITAB_ITEM_IT'.
      ls_fieldcat-seltext_l = 'BasDte'.
      ls_fieldcat-outputlen = 10.
      ls_fieldcat-key       = 'X'.
      ls_fieldcat-fix_column     = 'X'.
      append ls_fieldcat to l_fieldcat.
        clear ls_fieldcat.
      ls_fieldcat-fieldname = 'ZDUED'.
      ls_fieldcat-tabname   = 'ITAB_ITEM-IT'.
      ls_fieldcat-seltext_l = 'DueDate'.
      ls_fieldcat-outputlen = 10.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'ZTERM'.
      ls_fieldcat-tabname   = 'ITAB_ITEM_IT'.
      ls_fieldcat-seltext_l = 'Cond'.
      ls_fieldcat-outputlen = 4.
      ls_fieldcat-key       = 'X'.
      ls_fieldcat-fix_column     = 'X'.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'ZPAYT'.
      ls_fieldcat-tabname   = 'ITAB_ITEM_IT'.
      ls_fieldcat-seltext_l = 'Pmnt term'.
      ls_fieldcat-outputlen = 12.
      ls_fieldcat-key       = 'X'.
      ls_fieldcat-fix_column     = 'X'.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'WAERS'.
      ls_fieldcat-tabname   = 'ITAB_ITEM_IT'.
      ls_fieldcat-seltext_l = 'Currency'.
      ls_fieldcat-outputlen = 4.
      append ls_fieldcat to l_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'WRBTR'.
      ls_fieldcat-tabname   = 'ITAB_ITEM_IT'.
      ls_fieldcat-seltext_l = 'Amount'.
      ls_fieldcat-outputlen = 15.
      append ls_fieldcat to l_fieldcat.
    ENDFORM.                    " FIELDCAT_INIT

    hi,
    try this code.
    ls_fieldcat-fieldname = 'LIFNR'.
    ls_fieldcat-seltext_l = 'Vonder'.
      ls_fieldcat-key = 'X'.
      ls_fieldcat-fix_column = 'X'.
       ls_fieldcat-outputlen = 12.
      append ls_fieldcat to l_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         IT_FIELDCAT                        = l_fieldcat.  " Pass the fielc cat here
    it must work.... and check out thels_fieldcat-fieldname  again.. you have to give the correct fielname in uppercase inside ' '.
    thankyou.

  • How to change the ColumnName in the output of an ALV List

    ello Experts,
    Can you please let me know how can I change the column name of a field in an ALV List. For eg: I want to see the 'I_FIELDCAT-MATNR' field's name as 'ITEM NUMBER' in the output.
    Thanks for the help

    Hi Raj,
    Have a look at this file.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/eac1fa0b-0e01-0010-0990-8530de4908a6
    Reward if useful.
    Thanks
    Aneesh.

  • Developer Error: invalid  window block name passed to set_window_position

    Hi
    I had Registered a Form in Oracle apps
    After that i'm trying to open the form,then this message will be displayed
    Developer Error: invalid  window block name passed to set_window_position
    in the PreForm Trigger I had written the code as apps.set_window_position('MY block name(MAIN_BLOCK)','MY window(MAIN_WINDOW)')
    i had wriiten like that
    but
    After click on that Ok Button of the error message my form is Open
    and My form is Also not having any Minimize,Maximize and Close Buttons
    Please Tel me How should i resolve that Error and also how can i Get that buttons for the Form

    I agree with Francios, you should ask your question in the General EBS Discussion forum.
    in the PreForm Trigger I had written the code as apps.set_window_position('MY block name(MAIN_BLOCK)','MY window(MAIN_WINDOW)')You are using a Oracle E-Business Suite (EBS) framework procedure to set the window position, not the Forms standard Set_Window_Property built-in.
    and My form is Also not having any Minimize,Maximize and Close ButtonsThese could be controlled by the APPS.Set_Window_Position procedure, but I'm not sure. It could simply be that you set (or neglected to set) the default properties of your Form's window the enable these buttons. More than likely, the APPS procedure is setting them. It's been too long since I worked with the EBS to say for certain. You really should ask your question in the General EBS Discussion forum.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • To send the output thro

    Hi all,
    After generating output using smartforms, i want to send the output thro Email.
    How to do the above?
    Expecting reply.

    Hi
    REPORT Z_RAJ_SEND_SPOOL_MAIL_ATT .
    PARAMETERS : P_SPOOL TYPE TSP01-RQIDENT OBLIGATORY .
    PARAMETERS : P_MAIL TYPE char100 OBLIGATORY .
    TYPES : TY_LINE type string.
    DATA: IT_ATTACHMENT TYPE soli OCCURS 0 WITH HEADER LINE.
    DATA: IT_ATTACHMENT_LONG TYPE TY_LINE OCCURS 0 WITH HEADER LINE.
    DATA: LV_PDF_SIZE type i.
    DATA: LT_PDF type standard table of tline with header line.
    PERFORM SEND_EMAIL USING P_SPOOL P_MAIL.
    FORM send_email
    --> X_SPOOL_ID
    --> X_EMAIL
    FORM send_email USING X_SPOOL_ID X_EMAIL.
    DATA: LT_OBJPACK LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE,
    LT_OBJHEAD LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    LT_OBJBIN LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    LT_OBJTXT LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    LT_RECLIST LIKE somlreci1 OCCURS 5 WITH HEADER LINE,
    LV_DOCUMENT_DATA TYPE sodocchgi1.
    DATA: L_ATT_LINES TYPE i.
    DATA : LV_SPOOL_DESC(68) type c.
    CHECK NOT ( X_EMAIL IS INITIAL ).
    CLEAR: LT_RECLIST, LT_RECLIST[],
    LT_OBJHEAD, LT_OBJHEAD[],
    LT_OBJTXT, LT_OBJTXT[],
    LT_OBJBIN, LT_OBJBIN[],
    LT_OBJPACK, LT_OBJPACK[].
    CLEAR LV_DOCUMENT_DATA.
    Read spool and get the pdf internal table and name of spool
    PERFORM READ_SPOOL USING X_SPOOL_ID LV_SPOOL_DESC.
    CHECK NOT ( LT_PDF[] IS INITIAL ).
    Convert pdf itab to 255 line itab.
    data :LV_COUNTER type i.
    data :LV_FROM type i.
    loop at LT_PDF.
    translate LT_PDF using ' ~' .
    concatenate IT_ATTACHMENT_LONG LT_PDF into it_attachment_long.
    endloop.
    translate IT_ATTACHMENT_LONG using '~ ' .
    append IT_ATTACHMENT_LONG.
    clear : LV_COUNTER.
    DO.
    LV_COUNTER = strlen( IT_ATTACHMENT_LONG ).
    if LV_COUNTER ge 255.
    IT_ATTACHMENT = IT_ATTACHMENT_LONG(255).
    append IT_ATTACHMENT.
    SHIFT IT_ATTACHMENT_LONG by 255 places.
    else.
    IT_ATTACHMENT = IT_ATTACHMENT_LONG(lv_counter).
    append IT_ATTACHMENT.
    exit.
    endif.
    ENDDO.
    Body of email
    MOVE 'Email sent to you from SAP' TO LT_OBJTXT.
    APPEND LT_OBJTXT.
    LV_DOCUMENT_DATA-obj_name = 'SpoolMail'.
    Title of the email as spool name
    LV_DOCUMENT_DATA-obj_descr = LV_SPOOL_DESC.
    LV_DOCUMENT_DATA-sensitivty = 'O'.
    LV_DOCUMENT_DATA-expiry_dat = SY-datum + 15.
    LV_DOCUMENT_DATA-doc_size = STRLEN( LT_OBJTXT ).
    e-mail body
    CLEAR LT_OBJPACK.
    LT_OBJPACK-head_start = 1.
    LT_OBJPACK-head_num = 0.
    LT_OBJPACK-body_start = 1.
    LT_OBJPACK-body_num = 1.
    LT_OBJPACK-doc_type = 'RAW'.
    LT_OBJPACK-doc_size = STRLEN( LT_OBJTXT ).
    APPEND LT_OBJPACK.
    For e-mail attachment
    DESCRIBE TABLE IT_ATTACHMENT LINES L_ATT_LINES.
    READ TABLE IT_ATTACHMENT INDEX L_ATT_LINES.
    CLEAR LT_OBJPACK.
    LT_OBJPACK-transf_bin = 'X'.
    LT_OBJPACK-head_start = 1.
    LT_OBJPACK-head_num = 1.
    LT_OBJPACK-body_start = 1.
    LT_OBJPACK-body_num = L_ATT_LINES.
    LT_OBJPACK-doc_type = 'PDF'.
    LT_OBJPACK-obj_name = 'email'.
    LT_OBJPACK-obj_descr = LV_SPOOL_DESC.
    LT_OBJPACK-doc_size = ( 255 * ( L_ATT_LINES - 1 ) ) + STRLEN(
    IT_ATTACHMENT-line ).
    APPEND LT_OBJPACK.
    make recipient list
    LT_RECLIST-receiver = X_EMAIL.
    LT_RECLIST-rec_type = 'U'. "To external email id
    APPEND LT_RECLIST.
    send mail with attachment
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = LV_DOCUMENT_DATA
    put_in_outbox = 'X'
    TABLES
    packing_list = LT_OBJPACK
    object_header = LT_OBJHEAD
    contents_bin = IT_ATTACHMENT
    contents_txt = LT_OBJTXT
    receivers = LT_RECLIST
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8.
    If SY-subrc = 0.
    write:/ 'Message sent'.
    else.
    write:/ 'Error encountered'.
    endif.
    ENDFORM. " send_email
    *& Form read_spool
    FORM read_spool USING X_SPOOL_ID Y_SPOOL_DESC.
    DATA : LV_SPOOL_TYPE TYPE TSP01-RQDOCTYPE.
    SELECT SINGLE RQDOCTYPE RQTITLE
    INTO (lv_spool_type, y_spool_desc)
    FROM TSP01
    WHERE RQIDENT eq X_SPOOL_ID.
    IF Y_SPOOL_DESC IS INITIAL.
    concatenate 'Spool-' X_SPOOL_ID into Y_SPOOL_DESC.
    ENDIF.
    IF LV_SPOOL_TYPE eq 'LIST'. " If spool is a list
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
    EXPORTING
    SRC_SPOOLID = X_SPOOL_ID
    NO_DIALOG =
    DST_DEVICE =
    PDF_DESTINATION =
    IMPORTING
    PDF_BYTECOUNT = LV_PDF_SIZE
    PDF_SPOOLID =
    LIST_PAGECOUNT =
    BTC_JOBNAME =
    BTC_JOBCOUNT =
    TABLES
    PDF = LT_PDF
    EXCEPTIONS
    ERR_NO_ABAP_SPOOLJOB = 1
    ERR_NO_SPOOLJOB = 2
    ERR_NO_PERMISSION = 3
    ERR_CONV_NOT_POSSIBLE = 4
    ERR_BAD_DESTDEVICE = 5
    USER_CANCELLED = 6
    ERR_SPOOLERROR = 7
    ERR_TEMSEERROR = 8
    ERR_BTCJOB_OPEN_FAILED = 9
    ERR_BTCJOB_SUBMIT_FAILED = 10
    ERR_BTCJOB_CLOSE_FAILED = 11
    OTHERS = 12
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ELSE. " If spool is OTF
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
    SRC_SPOOLID = X_SPOOL_ID
    NO_DIALOG =
    DST_DEVICE =
    PDF_DESTINATION =
    IMPORTING
    PDF_BYTECOUNT = LV_PDF_SIZE
    PDF_SPOOLID =
    OTF_PAGECOUNT =
    BTC_JOBNAME =
    BTC_JOBCOUNT =
    TABLES
    PDF = LT_PDF
    EXCEPTIONS
    ERR_NO_OTF_SPOOLJOB = 1
    ERR_NO_SPOOLJOB = 2
    ERR_NO_PERMISSION = 3
    ERR_CONV_NOT_POSSIBLE = 4
    ERR_BAD_DSTDEVICE = 5
    USER_CANCELLED = 6
    ERR_SPOOLERROR = 7
    ERR_TEMSEERROR = 8
    ERR_BTCJOB_OPEN_FAILED = 9
    ERR_BTCJOB_SUBMIT_FAILED = 10
    ERR_BTCJOB_CLOSE_FAILED = 11
    OTHERS = 12
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    ENDFORM. " read_spool
    Regards,
    Raj

  • How  to add an extra field in the output of a predefined report

    Hi everybody,
    I have to add an extra  field  by name  "DAYS"(VTBFHAPO-ATAGE) in the output of a predefined report" RFTMBL01".
    please provide me the code and where to add in the predefined report

    Hi  Pasquale Isolato
    the predefined alv report name is "RFTMBL01" . If u r  with system  please check the code and the field name i have to add ids"DAYS'.
      if u are not with  system please reply me so that i will sen the code also
    Thanks in advance

  • Clearing of ALV output is not happening in one side of the output.

    Hi All,
    I have created a simple upload program and using a Post button I am posting the Material Document. I have uploaded the file, I am using a ALV splitter to display the output ( Line Item in left panel and Message log in the right panel).
    If I upload another Excel file on the same screen, and click on 'Upload' button, left panel is getting refreshed with new set of line items whereas in the Right Panel Message Log details of First uploaded file is present, it is not getting refreshed.
    I used Free(), Refresh and Refresh_Table_dsiplay keywords to clear it, but its not working.
    In debug mode, If I see the internal table which is used to store the Message Log Details is empty, but the message is still present in the ALV output for newly uploaded file.
    Kindly give your valuable inputs.
    Thanks & Regards,
    Karthikeyan G.

    Hello Karthikeyan G,
    have you tried to cl_gui_cfw=>flush after your Refresh_Table_Display?
    Also,when you write ALV splitter, did you use easy-splitter or the regular splitter container?
    You ran the methods against the correct instance, right
    Hope that helps,
    Frank.

  • Application crashes when using @NAME

    We have an outline with dimensionsPlanversion ... 2002_12 2003_01 2003_02 2003_03 ...Jahr 2001 2002 2003I want to use the following formula for a member in the accounts dimension "Kostenart":IF (@ISMBR(@LSIBLINGS(@MEMBER(@SUBSTRING(@NAME(@CURRMBR(Planversion)),0,4))))) 1;ELSE #missing;ENDIFThis formula validates on the server but if validated on the client a message pops up saying "This function must be a macro" and the outline cannot be saved.So I wrote a macro with maxL:MAXL> create or replace macro '@ISMBRLSIBLCURRMBR' (Single) AS 2> '@ISMBR(@LSIBLINGS(@MEMBER(@SUBSTRING(@NAME(@CURRMBR(@@1)),0,4))))' 3> spec '@ISMBRLSIBLCURRMBR(dimName)' 4> comment 'checks if current member is left sibling of a member deducted from a substring of the current member in another dimension';and I changed the member formula to:IF (@ISMBRLSIBLCURRMBR(Planversion)) 1;ELSE #missing;ENDIFWhen I try to start the application it immediately crashes with a Dr. Watson in esssvr.exe (Exception: access violation 0xc0000005, Address 0x0023110d). Essbase creates an exception error log.If I do not use the @Name function, the application starts properly. But there is a problem when compiling the member formula:"Error compiling formula for [ERLOESE_HR] (line 2): expected type [STRING] found [MEMBER] ([@ISMBRLSIBLCURRMBR]) in function [@ISMBRLSIBLCURRMBR]"IMO the remedy would be to use @Name. But this causes the application to crash! Is this a bug in the @Name function? Are there any other ways to achieve the desired functionality? Please help!Best Regards,GeraldPS The problem occurs with Essbase 6.22 and 6.24

    I have figured out that the application fails on its first call to the native methods.
    So I have this Bitmap class that contains all the native calls and it is defined shortly as follow:
    public class Bitmap {
    static {
    System.loadLibrary("BitmapImpl");
    native void setDebug(int debuglevel, int statistics);
    There are many more native methods defined in Bitmap, but I only show the setDebug method because that is the first one that is executed and also the one that immediately fails.
    My setDebug C function is defined as follow in BitmapImpl.c
    #include <time.h>
    #include <stdio.h>
    #include <limits.h>
    #include <fcntl.h>
    #include <jni.h>
    #include <math.h>
    #include <errno.h>
    #include "Bitmap.h"
    #include "data.h"
    jint debug = 0;
    jint statistics = 1;
    JNIEXPORT void JNICALL Java_Bitmap_setDebug
    (JNIEnv *jenv, jobject jo, jint d, jint s)
    debug = d;
    statistics = s;
    My libBitmapImpl.so file is compiled using the following Makefile and using GNU gcc:
    JAVAPATH=$(JAVAINCLUDEPATH)
    LMACRO=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSOLARIS
    CSOURCE=BitmapImpl.c
    all:
    gcc -O3 -G $(LMACRO) -I$(JAVAPATH) -I$(JAVAPATH)/solaris \
    $(CSOURCE) -o libBitmapImpl.so
    It is still a total mystory why the application fails. I have tried it on a RedHat Linux machine and there it works fine. But not on Solaris. Only if I use the jdk1.1.8 but not a later one.
    Would really appreiciate some help!
    Best regards
    Lars

Maybe you are looking for

  • How to Include Feedback in Your Website without Using the Blog or Podcast

    Hi All, I have been looking at the websites that people have created using iWeb and some have included feedback forms with boxes where visitors can enter their e-mail addresses and then comments in individual boxes and then click on a send button. Ho

  • Make firefox stop going into full screen

    I upgraded to Firefox 10 on my macbook pro snow leopard and now the browser keeps going into full screen mode automatically. If I toggle it off, it just goes back to full screen in a few seconds. I have re-sized the screen and it still does it.

  • OAM and MS Active Directory Integration on Non-Windows Server envrionment

    I will start by saying that I am dealing with a heterogeneous environment here where multiple systems are run by different levels of management. Our Oracle systems chose to go all *nix (Oracle Solaris and Red Hat Linux) and hence we do not have a sin

  • Message no. AA687to run depreciation  AFAB

    We go live in clear new copany and uploaded all assets with data transfer 31.06.2009. But when I tried to run depreciation  AFAB I got a message: You can only post in new year after closing the previous year. Message no. AA687 Diagnosis You want to p

  • Watermarks on photos in gallery

    Hi all, can someone please tell me how to put a watermark on my gallery of cards so when people copythem they wont have a photo that they can use? The gallery of cards was made in DW MX 2004 thanks, jeannie