Script keepalive limitation with use-output option
Hi there,
The optional use-output keyword on CSS script keepalive allows the script to parse the output for each executed command. This optional keyword allows the use of grep and file direction within a script. You can configure a maximum of 16 script keepalives (out of a maximum of 255 script keepalives) to use script output.
I have one application which CSS will consider it is alive only when the two keepalive (one is the tcp on port 20100, another one is the http page) are both alive. I am running out of the "16" quota when I use scipt to show both individual service alive by using grep -u Alive.
How can I circumvent this "16" limitation.
Appreciate your thoughts and help.
Richard
why don't you create a single script that checks the tcp port 20100 and the http page instead of creating 2 separate kal and another one to check the status of the other 2.
Gilles.
Similar Messages
-
Limitation of using select-options or ranges
Hi
I have the following code to fill the select-option AUFNR with the orders from SEL_TAB table, which I have to submit to another report to get a result set.
LOOP AT SEL_TAB.
MOVE: 'I' TO AUFNR-SIGN,
'EQ' TO AUFNR-OPTION,
SEL_TAB-AUFNR TO AUFNR-LOW.
APPEND AUFNR.
ENDLOOP.
I know that we can use the RANGES option also for the above scenario since I don't display the select-option AUFNR in my selection screen.
My question is, is there any limitation to how many number of values the RANGES or SELECT-OPTIONS can hold? Is it 200 or 256? I am not sure of this figure, can anyone give the exact number?
Thanks,
Bala.Hi Bala,
there's not SAP limitations for range dimension but there is a limitation about native SQL statement size.
In fact an open SQL statement (in ABAP language) will be translated in native SQL .
For example:
select * from mara where matnr in r_mara
will be translated in
SELECT ... FROM MARA WHERE MATNR = value1 OR MATNR = value2 etc...
So if your range is too large, the native SQL will exceed the maximum length (and short dump will occur).
with the following simple trick you can bypass the problem:
describe table rng_ebeln_marc lines i.
if i > 0.
if i <= max_rng_rows. "MAX NUMBER OF RANGE LINES
select *
from ekbe
into table tekbe
where ebeln in rng_ebeln_marc.
else.
from_i = 1.
to_i = max_rng_rows.
clear new_ebeln_marc.
do.
if i < from_i.
exit.
endif.
append lines of rng_matnr_mara from from_i to to_i to new_ebeln_marc.
select *
from ekbe
appending table tekbe
where ebeln in new_ebeln_marc.
clear: new_ebeln_marc, new_ebeln_marc[].
from_i = from_i + max_rng_rows.
to_i = to_i + max_rng_rows.
enddo.
endif.
sort tekbe by ebeln ebelp zekkn vgabe gjahr belnr buzei.
endif.
This will split the sql statement into more (and shorter) statements. The result will be joined.
Let me know if you need further infos.
Kind Regards, Manuel -
Action script.. help with using components
i need help using the list component for my text in animation. i want the component to allow viewers to scroll and view text.
this is the situation.
i am making a photography website.
in the text area would be the names of photoshoots in which customers and viewers can scroll through the names.
my ultimate goal is to have a hover image and the text with background appears beside the picture when the picture is hovered over.to help i have added pictures. picture a when it is hovered over has a gallery list that pops up beside it. this can be seen in the image below where the green background displays a list of gallery photoshoots. as you can see the white scrollbar is so the viewers can scroll down and view the other names. i amusing dreamweaver for my webpage and adobe flash for my list animation. i welcome all suggestions and ideas to this problem thank you -
Problem with using Recovery Option.
I have a HP Pavilion dv9925nr Notebook PC and would like to use the Recovery option to bring the computer back to its initial condition, however I believe that I inadvertantly deleted things that I need in order to do this. When I press F11 at startup, nothing happens. I previously made Recovery Discs, however the installed DVD-CD Drive is not working. I do have an external DVD-CD Drive that is working, however I do not know how to run the Recovery Discs from this external DVD-CD drive. Can you help me?
Thank you so much for your help. I tried your suggestion, however it did not work. In System Configuration I found that the System Boot Order is 1) Notebook Hard Drive, 2) USB Floppy, 3) ATAPA CD/DVD Rom, 4) USB Diskette on Key, 5) USB Hard Drive, and lastly 6) Network Adapter. When I press F9 on Startup to Change Boot Order I only have 2 options - Notebook Hard Drive or Network Adapter. When I go to Windows Boot Manager it says that "Boot seleccion failed because a required device is inaccessible." Is there any way that I can force the computer to boot from a new external DV
D/CD drive? I went out and got one since the internal DVD/CD Drive was not working. I would like to run the Recovery Discs from the new external DVD/CD drive if possible. -
Output Options -- Overwrite existing files
I OCR multiple files from different locations routinely and need a better method to identify what files have previously been OCR'd. My question has to do with the Output Options of the OCR multiple files function of Adobe 9. It would seem to me that if I add "ocr" to the filename and check the overwrite existing files option that I would not end up with 2 files -- the original file and the OCR'd file with "ocr" added to the filename, but that is what happens. Am I doing something wrong or am I misinterpreting that function.
Regards,
Steve"Overwrite existing files" would control whether, if the file name you have chosen is already in use, whether that file is overwritten. There is no offer to "delete input file".
-
Does anyone know if a library exists for scripted keepalives? I know that the css comes with 15 scripted keepalives pre-loaded and with the new 5.0 version of software there is a capability for up to 255 keepalives. What I am looking for specifically is a place where css users can post scripted keepalives that they use, that can be used by others in the css community.
Thanks,
JimI'm not aware of anything like this. The only problem I see with this is that many scripts will be custom and as you may know the TAC does not support custom scripts. In the scenario were a shared script fails to work, TAC will not be able to help.
Also, the 255 keepalives that you are referring is how many scripted keepalives you can run at any given moment. On version 4.0 you can run up to 16 scripted keepalives at any given moment. The limit on how many you can have installed is based on the disk space of your box.
I hope this helps,
Gonzalo -
Can a laptop with VGA output use the Apple Thunderbolt 27" display?
I bought a 2011 Macbook Air and I'm thinking about upgrading my office monitor. The new Apple Thunderbolt 27" display comes to mind.
However, I also have a Lenovo X201 with VGA output, which I would also like to connect to the Apple Thunderbolt 27" display sporadically.
Will the VGA to mini-display port adapter work? If not, does there exist a VGA to mini-display port converter that will work and if so which one?You are thinking of that adapter backwards. It is not VGA to MDP but is "Mini DisplayPort to VGA Adapter". This means it will take video out of a a MDP connection and convert it to a VGA connection. It will not go the other direction like you need.
Sorry but that Lenovo just doesn't have the ability to connect to the new display. If it had a HDMI video port like some other Lenovo models, you could adapt from that but I don't know of any VGA to Mini-DisplayPort/ThunderBolt adapters.
Even if you were to use such an adapter, the video card in that laptop couldn't drive a 27" display at the native resolution so it would look very bad.
One other option would be to use the Lenovo X200 docking station which has a full sized Display Port. You would have to use a Display Port to Mini Display port adapter then you could attach the TB cable to it. There is also a USB video replicator that has a DVI-I output then then yet another adapter to get to Mini-Display.
However, both of these options would still be limited by the graphics card at 1920x1080 so it still wouldn't look good. -
Reg: ALV output download using excel option
Hi Team,
I created a report using ALV Function modules, I want to download in Excel sheet the output list. i am trying to download but i am not getting proper values. I am populating around 50 fileds.
is there any settings for these download.
<<removed by moderator>>
Thanks & Regards,
Mahendar patha.hi mahendra;
use this step-by-step procedure it will help u a lot:
Firstly export the data to memory using the FM LIST_FROM_MEMORY.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = t_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc 0.
MESSAGE e000(su) WITH text-001.
ENDIF.
then i converted it into ASCII using LIST_TO_ASCI,
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listasci = t_xlstab
listobject = t_listobject
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
IF sy-subrc NE 0.
MESSAGE e003(yuksdbfzs).
ENDIF.
This gives the data in ASCII format separated by '|' and the header has '-', dashes. If you use this internal table directly without any proccesing in SO_NEW_DOCUMENT_ATT_SEND_API1, then you will not get a good excel sheet attachment. To overcome this limitation, i used cl_abap_char_utilities=>newline and cl_abap_char_utilities=>horizontal_tab to add horizontal and vertical tabs to the internal table, replacing all occurences of '|' with
cl_abap_char_utilities=>horizontal_tab.
Set the doc_type as 'XLS', create the body and header using the packing_list and pass the data to be downloaded to SO_NEW_DOCUMENT_ATT_SEND_API1 as contents_bin.
This will create an excel attachment.
Sample code for formatting the data for the attachment in excel format.
u2022 Format the data for excel file download
LOOP AT t_xlstab INTO wa_xlstab .
DESCRIBE TABLE t_xlstab LINES lw_cnt.
CLEAR lw_sytabix.
lw_sytabix = sy-tabix.
u2022 If not new line then replace '|' by tabs
IF NOT wa_xlstab EQ cl_abap_char_utilities=>newline.
REPLACE ALL OCCURRENCES OF '|' IN wa_xlstab
WITH cl_abap_char_utilities=>horizontal_tab.
MODIFY t_xlstab FROM wa_xlstab .
CLEAR wa_xlstab.
wa_xlstab = cl_abap_char_utilities=>newline.
IF lw_cnt NE 0 .
lw_sytabix = lw_sytabix + 1.
u2022 Insert new line for the excel data
INSERT wa_xlstab INTO t_xlstab INDEX lw_sytabix.
lw_cnt = lw_cnt - 1.
ENDIF.
CLEAR wa_xlstab.
ENDIF.
ENDLOOP.
Sample code for creating attachment and sending mail:
FORM send_mail .
u2022 Define the attachment format
lw_doc_type = 'XLS'.
u2022 Create the document which is to be sent
lwa_doc_chng-obj_name = 'List'.
lwa_doc_chng-obj_descr = w_subject. "Subject
lwa_doc_chng-obj_langu = sy-langu.
u2022 Fill the document data and get size of message
LOOP AT t_message.
lt_objtxt = t_message-line.
APPEND lt_objtxt.
ENDLOOP.
DESCRIBE TABLE lt_objtxt LINES lw_tab_lines.
IF lw_tab_lines GT 0.
READ TABLE lt_objtxt INDEX lw_tab_lines.
lwa_doc_chng-doc_size = ( lw_tab_lines - 1 ) * 255 + STRLEN( lt_objtxt ).
lwa_doc_chng-obj_langu = sy-langu.
lwa_doc_chng-sensitivty = 'F'.
ELSE.
lwa_doc_chng-doc_size = 0.
ENDIF.
u2022 Fill Packing List For the body of e-mail
lt_packing_list-head_start = 1.
lt_packing_list-head_num = 0.
lt_packing_list-body_start = 1.
lt_packing_list-body_num = lw_tab_lines.
lt_packing_list-doc_type = 'RAW'.
APPEND lt_packing_list.
u2022 Create the attachment (the list itself)
DESCRIBE TABLE t_xlstab LINES lw_tab_lines.
u2022 Fill the fields of the packing_list for creating the attachment:
lt_packing_list-transf_bin = 'X'.
lt_packing_list-head_start = 1.
lt_packing_list-head_num = 0.
lt_packing_list-body_start = 1.
lt_packing_list-body_num = lw_tab_lines.
lt_packing_list-doc_type = lw_doc_type.
lt_packing_list-obj_name = 'Attach'.
lt_packing_list-obj_descr = w_docdesc.
lt_packing_list-doc_size = lw_tab_lines * 255.
APPEND lt_packing_list.
u2022 Fill the mail recipient list
lt_reclist-rec_type = 'U'.
LOOP AT t_recipient_list.
lt_reclist-receiver = t_recipient_list-address.
APPEND lt_reclist.
ENDLOOP.
u2022 Finally send E-Mail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = lwa_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
sent_to_all = lw_sent_to_all
TABLES
packing_list = lt_packing_list
object_header = lt_objhead
contents_bin = t_xlstab
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.
Hope it will help you
Regards
Rahul sharma
Edited by: RAHUL SHARMA on Nov 4, 2008 1:22 PM -
I want to build a form with radio buttons to limited clients ticking every option.
I want to build a form with radio buttons to limited clients ticking every option. I have a range of products and in order to quote accurately I want to get specific information.
If I get this , you want to show form options to specific clients not to all site viewers ?
You would need to create a secure zone for this where permitted viewers can login and view the form with all options , in form itself we cannot setup this as few customers will view other options and others will view a different one.
This can be done from your hosting end. Or if you are using Adobe server for hosting then you can create some profiles for customers and then setup a separate form altogether to achieve this.
Thanks,
Sanjit -
Output option- Send with application own transaction
Hi Team,
Could anybody explain how exactly the "Output option- Send with application own transaction" works.
This is the third option for the output types for any document(sale order / Delivery/ Shipment).
This option can be given in the Output - > Requested processing -> Dispatch time - option (3) (Send with application own transaction)
It would be better if you can explain with a sample example.
Thanks in advance.
Regards,
Ram.Hi Naga/Max,
Thanks for your replies.
So if we are using the option 3, i need few clarifications like:
-when exactly the output is being triggered.
-What will decide whether it will be a foreground/background execustion
- If the output is being triggered right afgter we choosing 3 and saving the document , then what is the difference between Sed while savin gthe document option and option 3.
Please let me know
Rg
Ram -
No video output option at movie project setting can not use my blackmagic video card
no video output option at movie project setting can not use my blackmagic video card
There's no change if I hold command-R to boot into recovery. The mac chimes on powerup but nothing else seems to happen.
The machine has an SSD drive in it so I can't even listen to hear if it is loading anything or acting differently when I try different keypresses.
As I had some spare RAM lying around, I've tried swapping that in but no change there either. I still suspect it's a software rather than hardware problem, but without any way to control the boot up, I'm not sure how I can fix it.
I do have remote time machine backups - is there any way of restoring these manually, perhaps by removing the drive from the mac and copying the backup data over using another system? (Unfortunately I don't have any other mac systems to experiment with this, though) -
Issues with using the output redirection character with newer NXOS versions?
Has anyone seen any issues with using the output redirection character with newer NXOS versions?
Am receiving "Error 0x40870004 while copying."
Simply copying a file from bootflash to tftp is ok.
This occurs for both 3CDaemon and Tftpd32 softwares.
Have tried it on multiple switches - same issue.
Any known bugs?
thanks!
The following is an example of bad (NXOS4.1.1b) and good (SANOS3.2.1a)
MDS2# sho ver | inc system
system: version 4.1(1b)
system image file is: bootflash:///m9200-s2ek9-mz.4.1.1b.bin
system compile time: 10/7/2008 13:00:00 [10/11/2008 09:52:55]
MDS2# sh int br > tftp://10.73.54.194
Trying to connect to tftp server......
Connection to server Established. Copying Started.....
TFTP put operation failed:Access violation
Error 0x40870004 while copying tftp://10.73.54.194/
MDS2# copy bootflash:cpu_logfile tftp://10.73.54.194
Trying to connect to tftp server......
Connection to server Established. Copying Started.....
|
TFTP put operation was successful
MDS2#
ck-ci9216-001# sho ver | inc system
system: version 3.2(1a)
system image file is: bootflash:/m9200-ek9-mz.3.2.1a.bin
system compile time: 9/25/2007 18:00:00 [10/06/2007 06:46:51]
ck-ci9216-001# sh int br > tftp://10.73.54.194
Trying to connect to tftp server......
|
TFTP put operation was successfulPlease check with new version of TFTPD 32 server. The error may be due to older version of TFPT server, the new version available solved this error. Files are getting uploaded with no issues.
1. Download tftpd32b.zip from:
http://tftpd32.jounin.net/tftpd32_download.html
2. Copy the tftpd32b.zip file into an empty directory and extract it.
3. Copy the file you want to transver into the directory containing tftpd32.exe.
4. Run tftpd32.exe from that directory. The "Base Directory" field should show the path to the directory containing the file you want to transfer.
At this point, the tftpserver is ready to begin serving files. As devices request files, the main tftpd32 window will log the requests.
Best Regards... -
Error while uploading Bank Statement using FF_5 with Multi Cash Option
Hi
I am trying to upload the Bank Statement in FF_5 screen with Multicash (MC) option and am facing the information message that Account XXXX YYYY EUR : Statement 201100059 is not in the bank data storage. This is for the Germany Country Company Codes.
Here XXXX is the Bank Key and YYYY is the Bank Account Number defined in the House Bank configuration (FI12) for our Company Code ABC in Germany. However, when I double click the information, I get the following error message :
No EUR House Bank Account AAAA / BBBB exists (message can be customised). But the AAAA is the House Bank and BBBB is the Bank Account Number in our other Germany Company Code XYZ.
This has become a go-live stopper scheduled in the next two days. Can someone guide me and help me in overcoming this problem.
Also, let me know in case it has anything to do with the Define Search String for Electronic Bank Statement ? If so, please help me in configuring the same.
Thanks a lot for the prompt support.
Regards
GeminiNo, the issue is not search string related. Search strings are only related to transactions and not run until the transactions are processed. The program has to validate the bank accounts before it can process any transactions. Based on the error messages, the program isn't able to validate the bank accounts.
What is the message number? Are you saying that the short text is referencing one bank account and the long text references a different bank account? Does either account ID in FI12 have the alternate account field filled in? If the alternate account field is filled, FF_5 will use that instead of the account number in determining the house bank/acct ID.
Regards,
Shannon -
this is a new problem. Running Windows 7, latest update of Firefox 3.6.13. Under "Applications", I'm set to "open Adobe Acrobat inside Firefox" (which is what I have always done, then if I wanted to, I saved the PDF file elsewhere). should I/ can I open the PDFs outside Firefox, with my Adobe 9 Pro program?
■ Use '''Tools -> Options -> Applications ->''' <br> then look under content for Adobe Acrobat forms etc;
<br> note a choice of options is usually available
* see [[Options window - Applications panel]]
Firefox is of course a web browser. <br>Acrobat reader is Adobe's program used to read and display the pfd files on your computer. Other programs may be used instead of Acrobat reader. You would normally have the Acrobat program and the pdf file present on the local computer, often both on the same hard drive, if you were opening individual pdf files directly with Acrobat.
Firefox uses a plugin so that it may use Acrobat to open pdf files and display the results within a firefox window or tab. If you do not have that plugin installed, or it is not enabled firefox may be unsure what to do with the file and offer to save it to whatever your default local download location is, without attempting to open the file in firefox.
■Also see
* [[Opening pdf files within firefox ]]
*[[Using the Adobe Reader plugin with Firefox]] -
Using usb mic with logic output stops
using usb mic with logic output stops
Aggregate devices are setup in the Audio/Midi setup of OSX Utilities, (Not in Logic). It gives you a way of having for than one audio i/o device. Once you have set up your aggregated devices in Audio/Midi, when you start Logic you will need to go into Audio preferences and choose the Aggregate device.
Maybe you are looking for
-
Upgrade to Leopard or Snow Leopard from Tiger
Hi! Does anyone know how to upgrade to Mac OS X 10.5 or higher? I currently have 4.11 Tiger and am willing to download for free, or purchase the newer operating systems? I've downloaded both JMP and Matlab, but neither will run on anything below 10.5
-
Noise like a bee, no noise when light dimmed down, who kann help 2 find out why?
noise like a bee, no noise when light dimmed down, who kann help 2 find out why?
-
Warranty problem. Would Really Appreciate Tips on How Best to Handle This
I purchased machine from Lenovo and it was shipped on April 9, 2008. when i look up the warranty on line this is what i get: Status: Expiration date: 2008-01-27 Location: UNITED STATES Out of warranty Description: This product has a three
-
Exchange 2013 with 2008 R2, unable to connect ECP, OWA and powershell
Hi, Please find powershell error below. "VERBOSE: Connecting to EXCHNIV.IVSGU.CHN. New-PSSession : [exchniv.ivsgu.chn] Connecting to remote server exchniv.ivsgu.chn failed with the following error message : The WinRM client received an HTTP server er
-
Message Server Port and Instance Number
Hi All, I need to create Technical System and Business System in SLD for my IDOC-XI-FILE Scenario. There i need to specify the Message Server port under Message Server and Instance Number in Central Application Server. Please let me know where i have