Server is receiving duplicated files
server is receiving duplicated files whenever we made a payment run in SAP through the F110 transaction
Hi,
When you do the payment run a popup will open ,Please check if you are selcting TICK for create paymnet medium ther.
If you are selecting that TICK,then no need to give the printout.As the file is generating when you give TICK in payment run for Create payment medium.
If you are selecting the TICK and giving the printout....2 files will generate.....Please check.
Thnks
jabeen
Similar Messages
-
Server is receiving duplicated
server is receiving duplicated files whenever we made a payment run in SAP through the F110 transaction
Hi Maha Jabeen
the issue here is
on nov09 we made some payments through f110(Idoc REMDEV) through XI to the bank, but user is complaining that the files are duplicated and, find that where it was happen either in xi or ecc. on that day 3 times they run and when i am looking at f110 of particular day, it is showing that successfully generated.
i also checked REMDAV, but i am not able to trace exactly where it is the problem, can you respond to this mail
Regds
Satyajit -
Server can't receive anymore after receiving a file
Hello i'm new here :)
I'm making a peer to peer program but I have a problem
client connects with server
server sends welcome message
cleint sends filelist (File which contains a list with shared files)
the server receives the file and saves it, all of this works but
after de server finsished the method receiveFileList() it can't receive antything from the client anymore
here's the server code
public void run(){
try{
//in en outputstream aanmaken
inputStream = clientSocket.getInputStream();
outputStream = clientSocket.getOutputStream();
out = new PrintWriter(outputStream, true);
in = new BufferedReader(new InputStreamReader(inputStream));
//message of day versturen naar de client
out.println(txtMessageOfTheDay.getText());
out.flush();
while (alive){
//boodschap van de client lezen
clientMessage = in.readLine();
//welke opdracht moet de server uitvoeren
if (clientMessage != null){
System.out.println("clientMessage: " + clientMessage);
if (clientMessage.equals("stop")){
alive = false;
}else if(clientMessage.equals("sendFileList")){
receiveFileList();
}else if(clientMessage.startsWith("search:")){
//wat na het : komt is de zoekterm
search(clientMessage.substring(7, clientMessage.length()));
}//end while alive
System.out.println("Server is dead :(");
catch (IOException ioe)
ioe.printStackTrace();
System.exit(1);
finally{
try{
out.close();
in.close();
clientSocket.close();
System.out.printf("Connectie met de client werd correct afgebroken");
catch (IOException e)
System.out.println("Closing connections failed!");
System.exit(1);
}//end finnaly
}//end-run
public void receiveFileList(){
try{
File fileList = new File("gvd.txt");
foutput = new FileOutputStream(fileList);
int bsize = 1024000;
byte[] bdata = new byte[bsize];
DataInputStream i = new DataInputStream(clientSocket.getInputStream());
int n=0;
long totalbytes = 0;
System.out.println("Receiving file");
while ((n = i.read(bdata,0,bsize)) > 0)
foutput.write(bdata,0,n); // write it to the socket's stream
totalbytes += n;
System.out.println("File Read Complete " + totalbytes + " in length.");
i.close();//ADDED
foutput.flush(); //ADDED
foutput.close();
System.out.println("File Closed");
catch (FileNotFoundException fileNotFoundException){
System.out.println("Catched: FileNotFoundException");
catch (IOException ioe){
System.out.println("Catched: IOException");
}For a start you cannot use an input stream into two different streams e.g. a BufferedReader and a DataInputStream
Also you have no way for the DataInputStream to know when it has read the whole file so it will read until the stream closes. -
Adding own name in Receiver Text file in receiver FCC
hi,
In my receiver file CC(using file content conversion)
I want to add some names on the receiver text file name automatically.
sender is R3 that is IDOC as MI.
In that field called CURCY on one segment and country one segment.
ex.
Now the receiver file name in FTP server (example)
Result_report_20070721-104810-765.txt
i want to get CURCY, COUNTRY field value on receiver file name in FTP server (it varies)
example:
Result_report_USD_USA_20070721-104810-765.txt
Result_report_EURO_DE_20070721-104810-765.txt
Result_report_EURO_FR_20070721-104810-765.txt
Thankshi,
I am getting error in my message monitoring like message are in HOLDING bec of mistake which i made in Receiver FILE CC
as i said:
I followed my help.sap.com link to do this req.
In my receiver file CC(using file content conversion)
I want to add some names on the receiver text file name automatically.
sender is R3 that is IDOC as MI.
In that field called CURCY on one segment and country one segment.
ex.
Now the receiver file name in FTP server (example)
Result_report_20070721-104810-765.txt
i want to get CURCY, COUNTRY field value on receiver file name in FTP server (it varies)
example:
Result_report_USD_USA_20070721-104810-765.txt
Result_report_EURO_DE_20070721-104810-765.txt
Result_report_EURO_FR_20070721-104810-765.txt
My message mapping is
Source is IDOC occurence is 1
Receiver File adapter: 0 to unbounded
My message type on receiver is
MT_Receiver
DT_Receiversub1 (under MT_receiver)
COUNTRY (third value under DT_DT_Receiversub1)
I have mentioned in receiver FILE CC advanced variable substitution like this:
variable Name : var1
Reference: payload:DT_Receiversub1,3
I am not receiving my file in Receiver FTP server.
The mesage are on HOLDING in message monitoring
Thanks -
LOADING x12 834 data into database and 999 generation for received x12 file
Hi All,
I'm New to BizTalk, Im using BizTalk 2010 developer edition....I need to load the x12 834 enrollment data (few details) into database. I want to know the step by step procedure to do this. kindly help me.
Also i need to know the 999 ackknowledgement generation for the received x12 file
Thanks in advance.
RengarajYou need to Generate individual 834 enrollment message through de batching in EDIReceive pipeline .
Once you get disassembled message you need map it with insert stored procedure schema for inserting data in to SQL .
For this first you need to create a table in SQL server with required columns and create a simple stored procedure to insert data in to Table . Use Add Generate Item --> consume adapter service-->SQL binding -->Outbound operation and then
select the Stored Procedure created to generate schema for it . Use the same schema while mapping from Debatched EDI message to SQL stored Procedure request.
Thanks
Abhishek -
Hi all,
In my scenario, the message mapping is such that the target message may or may not have child nodes created depending on certain conditions. I am using file receiver channel to write this target message as xml file on another server.
The issue I am facing is - suppose child nodes are not created, the target message has only root node, and nothing else. i.e. it is empty.
But still the file gets written on destination, because file adapter doesn't seem to have intelligence to look into the payload. So I have to manually delete such 'almost-empty' files.
Although PI 7.0 has feature of ignoring empty files, the file I am talking of is really not of 0 kb size, as it contains namespace and root node tag. It has very small size of 1 kb, this is fixed and thus the file is easily distinguished from other larger files which contain child nodes. File size is a parameter that can be certainly used as a key here, but don't know how.
Does anyone have any idea on -
1) How to check file size before file receiver adapter writes it,
2) How to prevent such file from getting written, or
3) run a script which can detect the file size and delete them periodically / or every time file receiver writes files ?
Regards,
- Shankar.Hi,
We have an option of empty file handling in receiver file adapter..
<i> Select the Handling of Empty Messages: Write Empty File
An empty file (length 0 bytes) is put in the target directory.
Ignore No file is put in the target directory.</i>
But your case namespace and root node only are available you said.
In this type of situations ..
We can handle in the following way..
If target side root node having the recordset node
root
recordset 0..unbound
child1 0.1
child2 0.1
Then create a UDF
map from left side one node -
exists --- UDF ---to right side root node
In UDF
//handle business logic and
....ResultList.SUPPRESS.
if your target side does not have any recordset type of structure then..
In messages tab change the occurrences of msg to 0..unbound and use the above UDF.
Regards
Chilla.. -
We need a small SSIS package to pass a SOAP message to a SOAP server and receive the response xml message.
We have the SOAP Endpoint, SOAP Action, and SOAP Message (which contains authentication elements). They work in a Talend Data Integration job (using
Talend's tSOAP component). A screenshot showing the Talend job and the configuration of the tSOAP component
is attached.
We need to implement the same thing in a Microsoft SQL Server 2012 SSIS package but haven't been able to get an SSIS Web Services task to work.
We haven't been able to configure it to pass the SOAP Action and SOAP Message.
How should this be accomplished in SSIS?
kholbergerI guess I was not clear. The Talend job works perfectly (and it took only a few minutes to configure).
I need to replicate the SOAP request function in an SSIS package. I've been trying to configure an SSIS Web Services Task to do that without success.
The SSIS Web Service Task asks for the .wsdl file, which I provide (though the Talend component
does not ask for it), but the SSIS WST does not ask for the SOAP Action or SOAP message. The target web service is protected by a security gateway that rejects the SSIS WST request. Somehow, the Talend tSOAP component sends the
SOAP message, which contains the security definition and authentication credentials (you can see part of that in the screen shot) which the endpoint accepts.
The question is: "How does one implement a SOAP web service request in an SSIS package that sends the SOAP Message".
Thanks.
kholberger -
Outlook 2007 receiving duplicated emails
I am receiving duplicated emails in Outlook 2007.
I recently moved from Outlook 2003 to 2007 I do not know if this is significant or not. I do not believe the problem started immediately upon the update.
Solved!
Go to Solution.PaddyRay wrote:
I am receiving duplicated emails in Outlook 2007.
I recently moved from Outlook 2003 to 2007 I do not know if this is significant or not. I do not believe the problem started immediately upon the update.
Hi.
How many accounts are you checking ?
Are you receiving the exact same duplicate emails each time you check, if so - how many ?
One reason for possible duplcate receipt can be due to the server not completing a "fetch" session. If this signal is not received at the server, then it assumes that the emails haven't been received, so doesn't really anything like mark them as received (or read, or sent to the Trash folder). Hence another server check for emails will receive these same ones again (and any new ones).
As there have been server issues for a while, which may still affect some accounts, then this may have a factor.
http://www.andyweb.co.uk/shortcuts
http://www.andyweb.co.uk/pictures -
Hello,
I am only a few weeks old into BizTalk so I am new to this application.
The pieces I have for my development environment consists of the following:
FTP Server ---[SFTP Adapter]---> BizTalk 2013 ---[FILE Adapter]---> Internal Network Share Drive
I currently configured a simple PassThru, One way Receive/Send in BizTalk where the Receive Port receives a file via SFTP
Adapter from our FTP server and the Send Port sends the file via the FILE Adapter to our Internal Network share drive.
The setup works great with small files. However, when I receive a large file on the FTP server, the Send Port sends multiple instances of the file on the FTP server because the Receive Adapter sees that the file is there, but not yet
fully uploaded.
Can someone please guide me as to how I can determine when a file is fully uploaded to the FTP server before the Receive Adapter fires?
Thanks,
MitchYap BizTalk does not have control over locking the file during read/write Operation and its the third party which need to take care of this (by rename the file after upload ) .
If the file size is too large I would suggest to bypass the message box as it has performance bottleneck during peak hours
Apart from being repetitive, this is not good advice. There is no indication that the file is too large or will cause any "performance" issues.
The concurrency problem can happen with a file of any size. -
Receiving XML file via Bluetooth
Hi,
I am developing a J2ME OBEX(Blue Tooth) application to receive the XML file.
Now the problem is that server always sends the file to the SMS inbox by OBEX object push fundtion that is built in the phone. And the server never sends the data to my application.
Anyone can help me?Hi Ganesh,
Might be problem with the parts.
receiveInputreceiveInput
Sep 17, 2010 9:31:10 AM Received "inputVariable" call from partner "processorder_client"Received "inputVariable" call from partner "processorder_client"
View XML Document (******* the xml doc shows the complete xml********)Check the part in the xml and part you defined for inputvariable.
Regards
PavanKumar.M -
How to convert from SQL Server table to Flat file (txt file)
I need To ask question how convert from SQL Server table to Flat file txt file
Hi
1. Import/Export wizened
2. Bcp utility
3. SSIS
1.Import/Export Wizard
First and very manual technique is the import wizard. This is great for ad-hoc and just to slam it in tasks.
In SSMS right click the database you want to import into. Scroll to Tasks and select Import Data…
For the data source we want out zips.txt file. Browse for it and select it. You should notice the wizard tries to fill in the blanks for you. One key thing here with this file I picked is there are “ “ qualifiers. So we need to make
sure we add “ into the text qualifier field. The wizard will not do this for you.
Go through the remaining pages to view everything. No further changes should be needed though
Hit next after checking the pages out and select your destination. This in our case will be DBA.dbo.zips.
Following the destination step, go into the edit mappings section to ensure we look good on the types and counts.
Hit next and then finish. Once completed you will see the count of rows transferred and the success or failure rate
Import wizard completed and you have the data!
bcp utility
Method two is bcp with a format file http://msdn.microsoft.com/en-us/library/ms162802.aspx
This is probably going to win for speed on most occasions but is limited to the formatting of the file being imported. For this file it actually works well with a small format file to show the contents and mappings to SQL Server.
To create a format file all we really need is the type and the count of columns for the most basic files. In our case the qualifier makes it a bit difficult but there is a trick to ignoring them. The trick is to basically throw a field into the
format file that will reference it but basically ignore it in the import process.
Given that our format file in this case would appear like this
9.0
9
1 SQLCHAR 0 0 """ 0 dummy1 ""
2 SQLCHAR 0 50 "","" 1 Field1 ""
3 SQLCHAR 0 50 "","" 2 Field2 ""
4 SQLCHAR 0 50 "","" 3 Field3 ""
5 SQLCHAR 0 50 ""," 4 Field4 ""
6 SQLCHAR 0 50 "," 5 Field5 ""
7 SQLCHAR 0 50 "," 6 Field6 ""
8 SQLCHAR 0 50 "," 7 Field7 ""
9 SQLCHAR 0 50 "n" 8 Field8 ""
The bcp call would be as follows
C:Program FilesMicrosoft SQL Server90ToolsBinn>bcp DBA..zips in “C:zips.txt” -f “c:zip_format_file.txt” -S LKFW0133 -T
Given a successful run you should see this in command prompt after executing the statement
Starting copy...
1000 rows sent to SQL Server. Total sent: 1000
1000 rows sent to SQL Server. Total sent: 2000
1000 rows sent to SQL Server. Total sent: 3000
1000 rows sent to SQL Server. Total sent: 4000
1000 rows sent to SQL Server. Total sent: 5000
1000 rows sent to SQL Server. Total sent: 6000
1000 rows sent to SQL Server. Total sent: 7000
1000 rows sent to SQL Server. Total sent: 8000
1000 rows sent to SQL Server. Total sent: 9000
1000 rows sent to SQL Server. Total sent: 10000
1000 rows sent to SQL Server. Total sent: 11000
1000 rows sent to SQL Server. Total sent: 12000
1000 rows sent to SQL Server. Total sent: 13000
1000 rows sent to SQL Server. Total sent: 14000
1000 rows sent to SQL Server. Total sent: 15000
1000 rows sent to SQL Server. Total sent: 16000
1000 rows sent to SQL Server. Total sent: 17000
1000 rows sent to SQL Server. Total sent: 18000
1000 rows sent to SQL Server. Total sent: 19000
1000 rows sent to SQL Server. Total sent: 20000
1000 rows sent to SQL Server. Total sent: 21000
1000 rows sent to SQL Server. Total sent: 22000
1000 rows sent to SQL Server. Total sent: 23000
1000 rows sent to SQL Server. Total sent: 24000
1000 rows sent to SQL Server. Total sent: 25000
1000 rows sent to SQL Server. Total sent: 26000
1000 rows sent to SQL Server. Total sent: 27000
1000 rows sent to SQL Server. Total sent: 28000
1000 rows sent to SQL Server. Total sent: 29000
bcp import completed!
BULK INSERT
Next, we have BULK INSERT given the same format file from bcp
CREATE TABLE zips (
Col1 nvarchar(50),
Col2 nvarchar(50),
Col3 nvarchar(50),
Col4 nvarchar(50),
Col5 nvarchar(50),
Col6 nvarchar(50),
Col7 nvarchar(50),
Col8 nvarchar(50)
GO
INSERT INTO zips
SELECT *
FROM OPENROWSET(BULK 'C:Documents and SettingstkruegerMy Documentsblogcenzuszipcodeszips.txt',
FORMATFILE='C:Documents and SettingstkruegerMy Documentsblogzip_format_file.txt'
) as t1 ;
GO
That was simple enough given the work on the format file that we already did. Bulk insert isn’t as fast as bcp but gives you some freedom from within TSQL and SSMS to add functionality to the import.
SSIS
Next is my favorite playground in SSIS
We can do many methods in SSIS to get data from point A, to point B. I’ll show you data flow task and the SSIS version of BULK INSERT
First create a new integrated services project.
Create a new flat file connection by right clicking the connection managers area. This will be used in both methods
Bulk insert
You can use format file here as well which is beneficial to moving methods around. This essentially is calling the same processes with format file usage. Drag over a bulk insert task and double click it to go into the editor.
Fill in the information starting with connection. This will populate much as the wizard did.
Example of format file usage
Or specify your own details
Execute this and again, we have some data
Data Flow method
Bring over a data flow task and double click it to go into the data flow tab.
Bring over a flat file source and SQL Server destination. Edit the flat file source to use the connection manager “The file” we already created. Connect the two once they are there
Double click the SQL Server Destination task to open the editor. Enter in the connection manager information and select the table to import into.
Go into the mappings and connect the dots per say
Typical issue of type conversions is Unicode to non-unicode.
We fix this with a Data conversion or explicit conversion in the editor. Data conversion tasks are usually the route I take. Drag over a data conversation task and place it between the connection from the flat file source to the SQL Server destination.
New look in the mappings
And after execution…
SqlBulkCopy Method
Sense we’re in the SSIS package we can use that awesome “script task” to show SlqBulkCopy. Not only fast but also handy for those really “unique” file formats we receive so often
Bring over a script task into the control flow
Double click the task and go to the script page. Click the Design script to open up the code behind
Ref.
Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/ -
Duplicating files a number of times
I want to duplicate a file a certain number of times (a number that I determine each time the script is run) and then move those files to a different folder. Is this possible thru Automator?
ThanksUse the following AppleScript action:
display dialog "How many times do you want the files to be duplicated?" default answer ""
set the_times to text returned of the result as number
set thenewfiles to {}
tell application "Finder"
repeat the_times times
set thenewfiles to thenewfiles & ((duplicate input) as alias)
end repeat
repeat with this_file in thenewfiles
move this_file to folder "destination folder"
end repeat
end tell
Place the folder's actual name between the last pair of quote marks, and set it up so that it receives the files from a previous action in the workflow.
(21830) -
SMS Server not receiving from SMSC
Using the gateway configuration file that comes with
Colfusion 8, I re-configured the file to read as it is now
(attached). Unfortunately when test is sent to my phone number, it
is not received for processing in Coldfusion. I downloaded nowSMS
and set it up as well. The NowSMS server is receiving alright. So I
am wondering what is up with the Coldfusion SMS Server and Secondly
how would I be able to make Coldfusion work with the nowSMS server?
# SMSGateway configuration file
# Test server config
# This is the IP address of SMSC
ip-address=190.4.64.43
# Port to bind to
port=7710
# Your system id
system-id=test
# Your password
password=testSMS
# The source address for this client
source-ton=1
source-npi=1
# This is a made-up address
source-address=00447700081736
# The address range this smpp client will serve
# Generally the same as your source address
addr-ton=1
addr-npi=1
address-range=00447700081736
# Message sending rate; how many messages per second is the
# gateway allowed to send to your service provider.
# This can be a decimal (i.e. 0.1). 0 is unlimited.
# The default is 100 messages per second.
message-rate=100.0
# The mode of the gateway; Either synchronous or asynchronous
# In synchronous mode the gateway will wait for the response
# from the server when sending a message and the
SendGatewayMessage()
# CFML function will return the SMS messageID of the message
# or an empty string if their is an error. In asynchronous
mode,
# the gateway will not wait for a response and the SMS
messageID
# will NOT be returned from SendGatewayMessage().
# The default is synchronous.
mode=synchronous
# Should the gateway retry delivery on Network Errors?
# If a network error occurs while trying to deliver a
message,
# should the message be queued for delivery when the gateway
# is able to re-bind to the SMSC. This is useful if the
gateway
# is in asynchronous mode, where no error status is returned
from
# the CFML SendGatewayMessage() function.
# The default is no.
network-retry=no
# Should the gateway retry delievery on Transient Errors?
# If an error is returned from the SMSC that indicates
# the message may be able to be delivered in the future,
# should the gateway attemp to resend send the message?
# This is useful if the gateway is in asynchronous mode,
# where no error status is returned from the CFML
# SendGatewayMessage() function.
# The default is no.
transient-retry=no
# Everything below here is usually OK.
# The function in the Gateway CFC which the is called
# when an incoming message arrives.
cfc-method=onIncomingMessage
# The default destination address info
destination-ton=1
destination-npi=1
# You can't have a default destination
# destination-address=
# The service type can be empty or one of
# the following values:
# CMT, CPT, VMN, VMA, WAP or USSD
# service-type=
# From the spec:
# Identifies the type of system requesting the bind.
# This may enable SMSC responses which are
# particular to a given type of ESME.
system-type=SMPP
# The receive timeout is a timeout for trying to receive a
message
# from the SMSC. If you want go to infinite wait until a PDU
# is received, set the receive-timeout to -1.
# The value is in seconds. The default is 30 seconds.
receive-timeout=10
# The ping interval is how often the SMS Gateway will send an
# EnquireLink PDU to the server to verify the health of the
connection.
# The value is in seconds. The default is 60 seconds.
ping-interval=60
# The number of connection attempts the gateway will make
until it gives up.
# Use -1 to retry until connected. The default is -1 (try
forever).
retries=-1
# Connection retry interval; how long to wait between
connection attemps.
# The value is in seconds. The default is 10 seconds.
retry-interval=10Why don't you just use Coldfusion's built-in gateway,
together with the SMS client simulator. The simulator is at
{CF_HOME}/bin/SMSClient.bat -
Move file to application server or delete a file from application server
Hi all
I have one application in which if succeful uploading of BMP file from application server is not done , File has to move to another folder like 'ERROR' Folder
but i am unable to do that.
here is the code:
CONDENSE g_t_ws_move.
CALL 'SYSTEM' ID 'COMMAND' FIELD g_t_ws_move
ID 'TAB' FIELD g_t_ws_command_line[].
where
<b>G_T_WS_MOVE= 'MOVE /Y /sapin/XVZ/journeyplan/0000000.BMP /tmp/0000000.BMP'
means i have to move 000000.bmp file from XVZ to tmp directory ,</b>Hello Neetu
Alternatively you could use a combination of the following function modules:
- EPS_FTP_PUT
- EPS_DELETE_FILE
Regards
Uwe -
SQL Server Source and Flat File Target in OWB
Hello All,
I have a question, is it possible to have SQL Server as Source and Flat File as Target without using any intermediate Oracle table(s).
like
SQL Server --> ETL Operators --> Flat file?
as i m getting errors in data type conversions here. but if i replace flat file with Oracle table it works fine. (though i have used some conversion functions for data types as well in Flat file loading but it is giving me errors)
Thanks in advance.
TayyebYes this should be fine. Are you using the gateway to access SQLServer or code template mappings? You need to track which columns are throwing the data type conversion errors.
Cheers
David
Maybe you are looking for
-
Trading partner deletion from accoutning document
Dear Gurus, Is it possible to delete trading partner field - in additional data of accounting document - is it possible to delete trading partner from accounting document Rgds, Saurabh
-
Hi , I want to pass the user selection of "period" and "year" into report header in the FR studio. I am thinking to use the test box and insert function.In the function if I use membername, I get the error message as invalid argument. Can you please
-
SQLLDR: "second enclosure string not present" error in a complex datafile
Hello, We are in 11g. I have a strange issue when I load data. I cannot figure out why sqlldr reacts in this way : Here is the table definition: create table IMPORT_SFEE_TRACKER_GENERIC PROJET_CODE VARCHAR2(50), TRACKER_ID VARCHAR2(50), TRACKER_TYPE
-
I'm not sure where to go exactly with this, so i'll post here and if it belongs somewhere else, forgive me. I tried to run the setup for the cs4 master collection and it gets so far then errors and gives a message saying something about something not
-
Printing from all other programs works fine including Chrome and Explorer. Ever since my Foxfire browser was updated to 29.0.1 I have not been able to print webpages. When I hit print the computer does an audible "ding" and nothing happens. Doesn't m