How to pick the sender files dynamically using the same File CC
hi,
My requirements is like , Same Sender File communication Channel has to pick up the different file which are having differnt file conventions and which are placed in different directories .. then it has to send to diffentn directories in the receiver side..
how to do this?
Regards,
Balaji
Hi Stefen,
They have tried the Generic Sender File adapter concept to handle filenames with different names and from different directories instead creating many file channels. In my project many channels are configured as generic File sender channel.. And Eventhough the Generic file sender channels processing the filenames from different directories, all processed files are archieved in one common directories.. now they wanna generic solution to archieve the processed files in a particular folder based upon the directories they got processed from....
and There are no such message mapping or Operation mapping since they used AAE concept. So do you have any idea to make Generic File sender channels to archieve the files as per requirements i said before??
Two doubts can we use like Module programming or can we do any OS level command acchieve this ? if yes please explain in detail .... Please help me out here
please refer the following link .. exact way we used in our project
http://wiki.sdn.sap.com/wiki/display/XI/SingleSenderFileCCForMultipleDirectories
Regards,
Balaji
Edited by: Balaji Pichaimuthu on Feb 5, 2010 5:55 AM
Similar Messages
-
How to pick the file which is created with current date
Hello All,
I have an FTP server where files are created with current date as PO_CONFIRM_20100701.txt.
Need to pick the file based on current date. How to pick the above file format using file sender adapter. i.e what file pattern can we use so that file will be picked only on today's date
Regards,
Sreenivas.Hi Srinivas,
It depends upon the OS you are using. If unix you can see an example script here:
http://www.computing.net/answers/dos/batch-file-to-rename-files-by-date/5517.html
If windows an example here:
http://en.kioskea.net/forum/affich-87157-finding-and-using-file-date-in-batch-command
You may need to change slightly to fit your exact requirements. But this would make you to start. Else you can also google to get the script. Here is one link:
http://www.google.com/#hl=en&source=hp&q=scripttorenamefileshavingtodaysdate&aq=f&aqi=m1&aql=&oq=&gs_rfai=CRE9SwTMsTNjiDpzGhgTm65iFCwAAAKoEBU_QC2i-&fp=e0fa4b5da4f245a4
Regards,
---Satish -
In LSMW using BAPI Scenario, how to assign the same file to HEADER and ITEM
Hi,
i got a problem when we are in ASSIGN FILES step how to assign the same file to both HEADER and ITEM Structures?Hi,
When defining the file in specify files step check the option 'Data for Multiple Source Structures'.
Hope it helps.
Thanks,
Mahesh -
Problem in picking the same file
Hi guys,
i am picking the file a.txt from FTP server and sending it to the reciever.
now howdo i make sure that the same file is not picked again if by chnace the file exist again by mistake.
please reply guys,
thanks
Sahil> Hi Sarvesh u r right.
>
> i mean in first attampt "a.txt"; file will be picked up by FTP adapter and will be deleted/archived from source location AND again by mistake if "a.txt"; file comes in source directory then i want to avoide to process the same file again.
>
> is it not possible in xi?
I will not say that it is impossible, because I have a feeling that it can be achieved by using an OS command.
If you see the option under Processing tab in your CC, there you will see "Run OS Command Before Message Processing". So may be you can write a script which will check if the same file is already present in target directory then don't pick the same file from source directory.
At the other hand OS Command theory will fail if the same file was processed but it was deleted from the target directory because in that case script will have no clue to check existance of same file and in that case it will allow the CC to pick the same file again.
Try it and let us know.. (I don't have any experance in writing scripts or using OS command). If you feed difficulties in using OS command then search sdn and for writing an script you can create another thread and ask your question. -
How to export the same mb size of my cr2 files into jpg or tiff files in Lr?
How to export the same mb size of my cr2 files into jpg or tiff files in Lr?
Let's say my file size is 22mb, when i export the file to tiff or jpg, although Iam careful with the settings- file size, dimension, resolution, I can't manioukate how I want it.
With jpg I tried everything, no matter what i do or change in files size or resoltion it remains the same size- 7mb as opposed to 22..
Please advise,
Best wishes,
TI would noramlly opt for a tiff file, sending such a high res through the nest a nightmare
This is probably just an improper use of terminology, but the resolution of a JPG, DNG and TIF should all be the same.
The files differ in size, not resolution and not number of pixels.
Jpg is not that bad, but its a pitty they have to be edited under a jpg format..
Your raws are edited as raw. There is no loss of quality in the editing process. The files are then exported as JPG, which will cause a loss of quality. For just about any use, the loss of quality in the image when you export a JPG at quality level 12 is NOT noticeable. For many uses, exporting a JPG at a quality level of 8 will not be noticeable either, unless you intend to print the photo at a very large size. As twenty_one (not his real name) said, "Jpeg compression is fantastically effective". -
How to share the same Database Connection when using several Task Flows ?
Hi All,
I’m using JDev 11.1.1.3.0.
I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
These applications are deployed on a Weblogic server.
Each application has only one Application Module.
All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
It is working fine.
I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
Each Task Flow Application has also one Application Module with the same connections type as main applications.
All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
Everything is working perfectly.
All my main applications are using more and more task flows. Which is nice for the reusability etc…?
Only ONE PROBLEM: DATABASE CONNECTIONS.
Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
How to share the same database connections for the main applications and all task flows which are used in the main application?
Best Regards
NicolasHi John,
When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
+ bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
bc4j.xcfg details are
+<?xml version = '1.0' encoding = 'UTF-8'?>+
+<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
+<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
+<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
+<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
+<Custom JDBCDataSource="jdbc/GCCDS"/>+
+</AppModuleConfig>+
+<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
+<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
+<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
+</AppModuleConfig>+
+</AppModuleConfigBag>+
+</BC4JConfig>+
So, it seems that the Application Module is packaged with the task flow....
Is it normal ?
Regards
Nicolas -
How to retain the same resolution while croping a tiff image using jai api
Hi all,
I have designed a program to crop a tiff image.But after croping the tiff,the resultant file resolution is not the same as the original source file.
In the program,the source file Nadeshiko_v1_02.tif has the resolution(X) of 1200 DPI and resolution(Y) has 1200 DPI pixels.
But after croping the resolution of output file is 100 DPI.
Please give me some idea on how to retain the same resolution.
<code>
package jai;
import java.awt.Frame;
import java.awt.image.RenderedImage;
import java.awt.image.renderable.ParameterBlock;
import java.awt.image.renderable.RenderableImage;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.imageio.*;
import javax.imageio.stream.ImageOutputStream;
import javax.media.jai.Interpolation;
import javax.media.*;
import javax.media.jai.JAI;
import javax.media.jai.PlanarImage;
import javax.media.jai.RenderedOp;
import javax.media.jai.widget.ScrollingImagePanel;
import com.sun.media.jai.codec.FileSeekableStream;
import com.sun.media.jai.codec.SeekableStream;
import com.sun.media.jai.codec.TIFFEncodeParam;
import javax.media.jai.OperationDescriptorImpl;
import java.io.*;
import java.util.Iterator;
import javax.media.jai.operator.*;
// import javax.media.jai.widget.ScrollingImagePanel;
public class crop {
/** The main method. */
public static void main(String[] args) {
/* Validate input. */
/* if (args.length != 1) {
System.out.println("Usage: java JAISampleProgram " +
"input_image_filename");
// System.exit(-1);
float a=(float) 70.3;
float b=(float) 70.4;
float c=(float) 3100.3;
float d=(float) 5522.4;
* Create an input stream from the specified file name
* to be used with the file decoding operator.
String TIFF="TIFF";
FileSeekableStream stream = null;
try {
stream = new FileSeekableStream("D:\\tif images\\Nadeshiko_v1_02.tif");
// stream = new FileSeekableStream("D:\\tif images\\Nadeshiko_v1_01.jpg");
} catch (IOException e) {
e.printStackTrace();
System.exit(0);
// Load the source image from a Stream.
RenderedImage im = JAI.create("stream", stream);
RenderedImage image2= CropDescriptor.create(im, a, b, c, d, null);
ScrollingImagePanel panel = new ScrollingImagePanel(image2, 100, 100);
// Create a frame to contain the panel.
Frame window = new Frame("JAI Image Cropping");
window.add(panel);
window.pack();
// window.show();
// Define the source and destination file names.
// String inputFile = "D:\\tif images\\Nadeshiko_v1_05.tif";
String outputFile = "D:\\tif images\\Nadeshiko_v1_04.tif";
// Save the image on a file. We cannot just store it, we must set the image encoding parameters
// to ensure that it will be stored as a tiled image.
TIFFEncodeParam tep = new TIFFEncodeParam();
tep.setWriteTiled(true);
tep.setTileSize(80,80);
JAI.create("filestore",image2,outputFile,"TIFF",null);
try {
stream.close();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
</code>
Thanks,
Sanat MeherTry the following,
TIFFEncodeParam tep = new TIFFEncodeParam();
// Create {X,Y}Resolution fields.
TIFFField fieldXRes = new TIFFField(0x11A, TIFFField.TIFF_RATIONAL,
1, new long[][] {{DPI_X, 1}});
TIFFField fieldYRes = new TIFFField(0x11B, TIFFField.TIFF_RATIONAL,
1, new long[][] {{DPI_Y, 1}});
tep.setExtraFields(new TIFFField[] {fieldXRes, fieldYRes}); -
How to pick the fields of ABC table in Payslip
How to pick the fields of ABC table in Payslip, So i want to add the calender days(absent days) in my payslip
You can do it through PE51_CHECKTAB
Yogesh -
How to pick the changed name.
Hi all,
can anyone help me out ...how to pick the changed name form the table ... if a name changed
three times in month, how should I get it in report.???
I have gone through the tables BUT000 & BUT020 but I haven't got thr trick.
can you please help me.
Thanks & Regards,
RajeevHi
You can refer to CDHDR, CDPOS tables as When you change the Object change document get created
You can put BP number in Object ID
You can view this change documents in FPP3
Extras-> Change History
Regards,
Prajakta
Edited by: Prajakta Shringarpure on May 18, 2009 12:55 PM -
Hello friends , I have started with writing c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!
I have started with writing c code on mac using xcode .....but one of my friend told me to use gcc for coding.
Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
If you insist on using an editor and the terminal I would recommend Emacs but it has a long learning curve so something like TextWrangler will work too.
As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
good luck -
I am new to ios & using 5C. I want to know where is all the media (Images, videos, Audio etc) received through Whatsapp are saved after downloading in Iphone. And also how to access the same.
These are user to user forums. You ARE NOT addressing Apple by posting here.
Also, why are you YELLING at us?? Stop using ALL CAPS.
What steps have you done to try and fix the problem? -
How to install the same copy of creative suite on the second computer?
Basically I am using a Macbook Pro and upgraded my hard disk. A
After I have recovered the data using time machine, I was unable to access my CS6 applications, which all became trial version. So I would like to know how to install the same copy of creative suite on the new drive.Transferring does not usually work - you need to install using installation files, the same way you originally installed the program(s).
Download and Installation Help -
https://helpx.adobe.com/download-install.html -
How to download the same song(track) with different keys? iTunes seems to think I have already dowloaded the song and will not let me download the song in a different key or the Demo.
Hello Jigz19,
It sounds like you are unable to play a couple of songs from your library becuase you get a message that the computer is unauthorized to play, but other content purchased that same day works without issue. I would verify that the affected songs were purchased with the same Apple ID first:
Recovering a forgotten iTunes Store account name
http://support.apple.com/kb/ht1920
Open iTunes
Highlight one of the items you have purchased (You can find your purchases in your Purchases playlist).
Choose File > Get Info.
Click the Summary tab.
The Account Name area will list the account used to purchase the item. Unless you have changed accounts, this is your iTunes Store account name.
If so, then delete the songs:
How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
http://support.apple.com/kb/HT5772
Then re download them with this article:
Download past purchases
http://support.apple.com/kb/ht2519
Thank you for using Apple Support Communities.
All the best,
Sterling -
"Data only" csv export. How to get the same data?
When I export to csv I get more data than when exporting to "data only". Why and how to get the same as when using "data only". I suppose it is because of some supressed lines, but why there is difference in the view (which is right) and in the export file?
I do not want to export to xls with "data only" and save as csv, because the exported csv is being read by another application, which is unable to convert it automatically.
The other way is to put constraints in the data selection for the whole report (and not by supressing lines). How to say {table.date}>=maximum({table.date}) in the in the data selection? There is not possible to use "maximum". Probably possible with array?
Thanks in advance
Edited by: Kiril Bojilov on Aug 4, 2009 12:34 PM
Ok, I managed it: I put the constraint in the group selection
Edited by: Kiril Bojilov on Aug 4, 2009 12:46 PMNew customers get more options because new customers didn't already agree to complete a 2yr contract before being able to get a new phone. If you had a line that wasn't under contract, you would get a better deal than new customers because while they pay $35 activation fee for a new line, you pay $30 upgrade fee for using an upgrade. You just have to finish your end of the deal before you can start a new one.
-
I have a iTunes account and recently 2 of the song I have downloaded will not play, it says that it not authorised to play. How ever on the same day the other songs I downloaded that day are playing fine. I can't play the 2 song on my lap top and I-pod.
Hello Jigz19,
It sounds like you are unable to play a couple of songs from your library becuase you get a message that the computer is unauthorized to play, but other content purchased that same day works without issue. I would verify that the affected songs were purchased with the same Apple ID first:
Recovering a forgotten iTunes Store account name
http://support.apple.com/kb/ht1920
Open iTunes
Highlight one of the items you have purchased (You can find your purchases in your Purchases playlist).
Choose File > Get Info.
Click the Summary tab.
The Account Name area will list the account used to purchase the item. Unless you have changed accounts, this is your iTunes Store account name.
If so, then delete the songs:
How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
http://support.apple.com/kb/HT5772
Then re download them with this article:
Download past purchases
http://support.apple.com/kb/ht2519
Thank you for using Apple Support Communities.
All the best,
Sterling -
How to register the same schema with same URL
I'm getting ORA-31085 error when try to register the same schema with same URl.
My requirement is that I should be able to reregister the same schema with the same URL .
I'm using the following function :
PROCEDURE validateXmlSchema(inp_xmlMsg IN VARCHAR2,
out_isValidDoc IN OUT NUMBER,
inp_xmlSchema IN OUT VARCHAR2,
out_varchar_notused OUT VARCHAR2)IS
xmldoc XMLType;
res number;
BEGIN
xmldoc := XMLtype(inp_xmlMsg);
res := xmldoc.isSchemaValid(inp_xmlSchema);
IF (xmldoc.isSchemaValid = 1) THEN
out_isValidDoc := 1;
ELSE
out_isValidDoc := 0;
END IF;
END validateXmlSchema;
This is used recursively.Until the schema is not validated for a given URL this function should keep on throwing error and once the schema is validated the data should be inserted in the DB.
But its not happening as of now instead the ORA-31085 is thrown second time.
Plz provide pointers to solve the issue."mjs" <[email protected]> wrote in message
news:g7kjk5$o6$[email protected]..
> "mjs" <[email protected]> wrote in message
> news:g7gl2g$i3d$[email protected]..
>> "Zorrrro" <[email protected]> wrote
in message
>> news:g7gcjv$a6n$[email protected]..
>>> I'm completely nuckered trying to find an answer
for this...
>>>
>>> Does anyone know how to keep the same width an
position of the submenus
>>> of a
>>> horizontal dropdown menu?
>>> Thank you in advance.
>>>
>>> Cheers.
>>
>> Doesn't a simple style="width:200px" in the input
tag work?
>
> I'll asume the answer is "yes", then. ;) You're welcome.
I believe the OP is talking about a dropdown menu like this
one
http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/default.asp
not about a "select menu".
I could be wrong though...
Thierry
Articles and Tutorials:
http://www.TJKDesign.com/go/?0
http://developer.yahoo.com/
helps you build applications and mashups
Maybe you are looking for
-
I just bought the creative suite for windows but I have a mac so how can i fix it or get my money ba
I just bought the creative suite for windows but I have a mac so how can i fix it or get my money back?
-
10.1.0.3 on RH4(Centos) + Raw devices + ASM + RAC
Hi, I'm just wondering if anyone here tried installing a single node RAC on 2 instance using ASM on Oracle 10g (10.1.0.3)? I am using RH4(CENTOS 4.1), Oracle 10.1.0.3 + CRS 10.1.0.3 on fake raw devices in Linux. I have been able to install the CRS an
-
Hi, What purpose we use No optimization,Optimize by bank group and Optimize by postal code in Payment method in company code. Regards,
-
Error 5 when installing Indesign CS5
trying to install my adobe suite 5 indesign and it keeps giving me a error 5 and will not open. help.
-
Determine Org id with purchasing group
Hello, Is there any FM to get the org id with purchasing group. Regards, Neelima