How to trigger a Report when a file is placed in Application server
Hi All,
How to triggger a Report and get executed when a new file is placed in the application server.?
It will be helpful if a Navigation is provided for the EVENT.
Thanks in advance
Chakri
Hi,
Check what is the frequency of the file coming to the application server.
Schedule your program in SM36 giving data and time make it periodic . select the check box Periodic Job
and then select the period values and give the period values as per the frequency of the file coming to app server.
Thanks,
Harini
Similar Messages
-
Trigger a Mail when no file is placed
Hi Everyone,
How can we trigger a mail when no source file is placed for the file adapter to pick in a given time?
Regards,
RaghuHi
I m not sure wheter this will work or efficient.
Cant you use operating system command option ?
Like,,,, checking whether the particular file exists, if not create a blank file or new file with a different predefined content using Operating System Command option (using scripts or soemthing). and creating a separate file-mail scenario for this new file -
How to delete the record in the file present in the application server?
Hi,
I have two questions.
i) How can I delete a record based on some condition in the recordx in the file that is present in the application server?
ii) How can I lock the users whiel one user is accessing the file on the application server?
Thanks in advance.
SuvanHi,
If u want a frequent deletion this approach to delete a record from a file will havee unnecesary copy of records from one file to another and deletion of one file and renaming activities.
Instead what u can do is Add and field del_flag to ur record structure.
If u want to delete the record from a file just mark this del_flag as 'X'.
While processing u can have a loop like
loop at it_XXX where del_flag <> 'X'.
endloop.
This will logically delete the record.
When u r to finish the application at that time only perform this copying / deleting / and renaing activity
Hope this helps.
Cheers,
Nitin -
How to trigger an event when a file is created.
Hi!
I need labview to wait until a file is created in a certain folder (by other program) and then perform a task.
Is this possible?
I have no idea how to implement it.
Thank you!
Solved!
Go to Solution.File System Watcher does what you want if you don't want to poll.
I can't remember where I found this VI but attached is an example of it working.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Attachments:
Monitor File Changes FileSystemWatcher_working.vi 37 KB -
Trigger a background job immediately after a file is placed in App Server
Hi all,
I have a program ZPGM1 that needs to be executed in background when a file is placed in an application server.
I know i can schedule ZPGM1 to trigger in background after an event say ZEVENT1.
Also i know i raise the event ZEVENT1 using FM BP_EVENT_RAISE but my problem is who would raise the event.
The file is being dropped in application server at random time by 3 party vendor. I need to execute my ZPGM1 immediately after the file is placed in Application Server.
Is ther a way that this can be achieved. Let me know
Thanks
KajolYou will need to develop a custom, non-SAP "listener" program or a script. This program/script will need to check if the file is present (e.g. by using an OS-level event) and, if so, start SAPEVT.EXE program with corresponding parameters.
SAP Help on raising events externally:
http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
There is also third-party software available, but it is very expensive:
http://www.redwood.com/ -
How to trigger a workflow when data inside a table changes
Hi
How to trigger a workflow when data inside a table changes ??
We need to trigger a workflow when STAT2 field value in PA0000 table changes.
rgds
ChemmanzMake use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
Thanks
Arghadip -
How to trigger email notification when users fail to reset your password in fim 2010 r2.
Hi,
how to trigger email notification when users fail to reset your password in fim 2010 r2
Regards
Anil KumarHi Sylvain,
I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
check Advance View of Set this gives
<Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
But this is not working for me so please tell me where i am wrong.
Regards
Anil Kumar -
Hi,
How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2
Senario:I want put wrong answering to the Questions that i was during registration if i give wrong answers to the questions then a Email Notification should be trigger to Users.
Regards
Anil KumarHi Sylvain,
I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
check Advance View of Set this gives
<Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
But this is not working for me so please tell me where i am wrong.
Regards
Anil Kumar -
How to store a JSP file in the SAP Application server ?
Hello All,
My reqt. is as follows :
1. I need to store a JSP File on the SAP Application server .
How can I do this ?
2. I want to call the uploaded jsp file from the server and call this jsp from abap to view the result of it .
How can I achieve this ?
First of all is this possible ?
Regards,
Deepu.KHello Mike,
Thanks for ur reply.
I've imported the JSP as a mime object into the BSP.
Now I've created the page to show that Mime Object as an image.
But nothing is coming as an output.
But then,there is an option for that mime object. i.e when I right click on the mime object there is an option called " convert to BSP".
I selected that option and it created a view in my BSP .( My BSP is a page with flow logic application )
Now how should i make this view to be an output ?
I guess this shud be posted in the BSP Forum ...but still taking a chance here :)-
Regards,
Deepu.K -
How to create a .CSV file & place it in Application server
Hi All,
I have a requirement like .
1.Create a .CSV file by using report output data.
2.The .csv file should be placed in application server.
When user will execute the report,
automatically a .csv has to generate and that should be available at application server.
points will be rewarded.
Thanks,
AnilHi,
Whatever the final output internal table is there loop that
DATA : begin of i_final occurs 0,
field1(20),
field2(20),
end of i_final.
DATA : v_filepath (200) TYPE c Value '/data/sapdata/test.csv' .
DATA : begin of i_file_data occurs 0,
Rec(500),
end of i_file_data.
LOOP AT i_final.
CONCATENATE i_final-field1 i_final-field2 INTO i_file_data-rec SEPARATED BY ','.
APPEND i_file_data.
CLEAR i_file_data.
ENDLOOP.
OPEN DATASET v_filepath IN OUTPUT FOR TEXT MODE.
LOOP AT i_file_data.
TRANSFER i_file_data-rec TO v_filepath.
ENDLOOP.
CLOSE v_filepath.
To check the file goto Tcode->AL11>data/sapdata/test.csv. -
A failure was reported when trying to invoke a service application: EndpointFailure
Event logs getting spammed with this - can't find anything specific on the internet:
A failure was reported when trying to invoke a service application: EndpointFailure
Process Name: OWSTIMER
Process ID: 6316
AppDomain Name: DefaultDomain
AppDomain ID: 1
Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:ba2301f4153b44a584c0065555ff67b5#authority=urn:uuid:02089d3f1be64db184670ab3f4060abc&authority=https://rsacdfsp02:32844/Topology/topology.svc
Active Endpoints: 3
Failed Endpoints:1
Affected Endpoint: http://<server>:32843/ba2301f4153b44a584c0065555ff67b5/SearchService.svc
When I browse to the Affected Endpoint (SearchService.svc) I get the below:
This is a Windows© Communication Foundation service.
Metadata publishing for this service is currently disabled
If you have access to the service, you can enable metadata publishing by completing the following steps to modify your web or application configuration file:
1. Create the following service behavior configuration, or add the <serviceMetadata> element to an existing service behavior configuration:Hi,
refer the below article
although articled focused on the App Management service application, endpoint failures can occur for just about any SharePoint service application and these steps should be applicable for those as well.
http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/01/29/troubleshooting-app-management-wcf-end-point-failures.aspx
Regards
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
Automate a BI report to flat file on to a FTP server.
Hello all,
I have an same issue like the following thread. After extract CSV file successfully to the directory, but unable to find the file. Any thought?
Automate a BI report to flat file on to a FTP server.
Regards!Need to analyze the business purpose ,however heres my take on it..
You can utilize 3 options to export query result on to the SAP directories as below and map that path to your FTP server.
1. Transaction RSCRM_BAPI (still valid in nw2004s)
2. Transaction RSANWB (analytical Process designer)
3. Information Broadcasting - KM folder has to be mapped as a file system location.
Hope it Helps
Chetan
@CP.. -
How to read list of all files in folder on application server?
How to read list of all files in folder on application server?
Hi,
First get the files in application server using the following function module.
CALL FUNCTION 'RZL_READ_DIR_LOCAL'
EXPORTING
name = loc_fdir
TABLES
file_tbl = int_filedir.
Here loc_fdir contains the application server path.
int_filedir contains all the file names in that particular path.
Now loop at int_filedir.
OPEN DATASET int_filedir-name FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE wf_mess.
MESSAGE wf_mess.
IF sy-subrc = 0.
DO.
READ DATASET pa_sfile INTO wf_string.
IF sy-subrc <> 0.
EXIT.
endif.
close datset int_filedir-name.
endloop. -
How do I add a selection screen parameter to get a application server file
Hi All..
Can you please suggest how can we add a selection screen parameter to get a application server file ?
Thanx in Advance...
Regards,
Deepak<b>Parameter def :</b>
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 02(30) text-005 FOR FIELD p_xlfil.
PARAMETERS: p_xlfil LIKE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN END OF LINE.
<b>Browse</b>
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xlfil.
PERFORM ws_get_filename USING p_xlfil.
FORM ws_get_filename USING p_xlfil.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_path = 'C:'
mask = ',Excel,*.xls,All,*.*.'(100)
mode = 'O'
title = 'Title'(101)
IMPORTING
filename = p_xlfil
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
IF sy-subrc NE 0.
CLEAR p_xlfil.
ENDIF.
ENDFORM. " WS_GET_FILENAME
Regards
<b>Oops i did not read "application server"</b>
Use FM F4_FILENAME_SERVER and not F4_FILENAME/WS_GET_FILENAME.
Message was edited by:
Raymond Giuseppi -
How i access file which stored at application server .? Is there any fm ?
Hi,
How i access file which stored at application server . Is there any function module which provide same funtinality.
Regards,
Gurprit BhatiaHi ,
U need to use datasets for reading data from application server.Do a f1 on dataset,u will get to know rest of the things.
TRY.
OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING UTF-8.
ENDTRY.
IF sy-subrc = 0.
READ DATASET file INTO <wa_data> MAXIMUM LENGTH 200.
move the data in to internal table
close dataset
Edited by: A kumar on Aug 21, 2008 1:37 PM
Maybe you are looking for
-
Error in code in email notification sending
Hi, I am using below code but not email is being send by this? Please Suggest the email id not being send and sy-subrc is retruned as 8? please check on the below code it can be tested also as it is synt correct Tables : zcustemail. Declarations. *PA
-
How do I change the name of my iTouch? The one visible when you sync in iTunes
How do I change the name of my iTouch ? The one visible when you sync the device in iTunes, same as for iPhones, etc
-
Using stored procedure with Oracle user-defined types in database control
Hi, I have a requirement where I need to call an Oracle Stored Proc which has IN and OUT parameters. OUT parameters are of user-defined types in Oracle packages. I am getting error while calling the Stored proc like below: Procedure: ========== creat
-
ICal error 403 and 500 delegation error access not permitted
Hi, I have a problem with an iCal service on the clients. Every time the users open iCal, they get an error: “HTTP/1.1 500 Internal Server Error” to operation CalDAVRefreshDelegateListQueueableOperation. Every time the users create an event in iCal,
-
Conversation view not grouping all related messages - Outlook 2010
Hello, I have 2010 and just started a new job with a new laptop...so the first thing I did was go straight to Outlook to setup my Conversation View, along with all other rules and such I had before. However, it's not working properly. First off, it