Multiple source files from multiple directories in sender CC
Dear all,
My requirrement is that ,I need to use multiple directories in sender CC (only one) and send the files to receivers.
Kindly let me know how it can be done.
Thanks,
Srinivasa
Hi,
under advanced tab.............If you set the Enable indicator, you can enter variables for the Target Directory and File Name Scheme. Enter the names of the variables and references in the table.
● Enter each variable that you reference in the Target Directory and File Name Scheme fields without the surrounding percentage sign under Name of Variables in the table.
The variables can refer to attributes of the message header or elements of the message payload.
○ If the variables are to refer to an attribute of the message header, add the prefix message: to the name of the variable under Reference. You can specify the following attributes of the message header:
sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace,
message_id (message ID with hyphens, for example 9fbe1ff1-9a0d-11d9-8665-cbf10a126331)
message_id_hex (message ID in hexadecimal format, for example 9fbe1ff19a0d11d98665cbf10a126331)
For example, if you want to specify the interface name from the message header in the target directory or in the file name scheme, enter message:interface_name as the reference.
If one of the message attributes contains characters that are not permitted in a file name, for example \, /, :, *, ?, ", <, >, |, then these characters are replaced by an underscore ("_").
○ If the variable refers to an element in XML schema, add the prefix payload: to the information under Reference. The reference then comprises a pseudo path description in the form of a comma-separated list with the schema namea,na,nameb,nb,....
namea,nameb,...corresponds to the element name and na,nb,... corresponds to the occurrence of the element name at the respective level in the document.
The description begins at the root of the document and ends at the respective element.
To reference the element that is in bold in the example, the following expression is used: payload:root,1,e1,1,e2,2
The parser searches for the first occurrence of the root element at the first level. It then searches for the first occurrence of e1 at the second level and for the second occurrence of e2 at the third level. The content of the last element (“Example Value”) is set as the value for a specified variable.
Thanks,
Madhu
Similar Messages
-
How to include header files from different directories?
Hi,
Sorry for the newb question, but I can't figure this out. I'm trying to compile a simple piece of code (C++) that uses header files in a directory different from the Project directory; header files are in /opt/csw/postgresql/include/pqxx. I've tried a few different things, adding that directory to the include directives under Resource Files, add existing files from a folder, etc etc. Whenever I try to build, dmake bails with status -1. I can't seem to get this working, can someone explain how to use header files from different directories?
Thanks,
SlowToadyHeader files are usually specified relative to a base directory. If the base directory is not a system directory -- /usr/include or the compiler installation directory -- add a command-line directive
-I path/to/base/dirfor each such directory.
The path can be absolute, such as
-i /opt/csw/postgresql/includeor relative, such as
-I ../../my/includeIn your source code, specify the header file relative to the base directory, and be sure to use quotes, not angle brackets. Example:
#include "header.h" // right
#include <header.h> // wrongThe angle brackets are used for system headers, like <iostream> or <stdlib.h>.
The rules above are common to all compilers on Unix and Linux, and generally to all C and C++ compilers.
For more details, read about the -I option in the C++ Users Guide. You can find the guide by pointing your browser to the "docs" directory in the compiler installation, or go here:
http://docs.sun.com/app/docs/doc/819-5267
All command-line options are described in Appendix A. -
how I can export files from CS5.5 to send for further editing in CS6 and no lose quality?
If all you need for further editing is the contents of your Timeline,
then you should follow Harm's sage advice.
Lagarith Lossless Video Codec
http://lags.leetcode.net/codec.html
Ut Video Codec Suite
http://www.videohelp.com/tools/Ut-Video-Codec-Suite
But, if you will need all of your source media files to continue the edit,
you should consider using the Project Manager.
Trim or copy your project
By using the Project Manager, you will be continuing the edit
with the original media files and there will be no quality loss.
Be aware that once you have edited the project in CS6,
it will be problematic (but not impossible) to return to edit in CS5.5. -
I need my application to be able to open a .pdf file which was previously synced to the iBooks PFDs Collection. I then wish to remove the file from the collection and send it to email.
I opened one of the PDF files in notepad and these are the first couple lines:
瀖ᕁމጿ␠씴豈䧉筩롈ꓳ劏ꎯ僪뚢頟뻏즏谀㿃夑퀉鲲쮂⫉笿褡밤籞冁탁ӓ轸뿐笼ⵆ횰䄌ඁ淥ة寨闤⬅鳦팥링빨嬄敎უ婏㣴ً鮓ࣿꢚ㑀녲莒ိȆ䕇纍쉉籶뺝갞伐쮠᥏넉釖ȓ겴☧ ἣ秵駻�䣞띰㖔流羀籔朼敨ꢉ糶당⬤俉膇䄐惡�ಹꛖ鍡恡ⱶᶜ�堷﹑ﱌ僿걄뎔æ䋷귪⛢⫐䅪䉙烶ꖆ႟ᗔ瘞狻틫儩六잶覱낵듘盋崾�ᦜ㺆௹뻹燴ឋ騙쬄ꏿ뽒煹�钼뇲腎稦ꃲ㈃沒ꔈ뺐뛽첑䘶畱䍣紻 ⁜哠鳾 -
How to pick files from multiple directories via Sender File Adapter?
Hi guys,
I have a scenario File to IDOC. The Sender File Adapter has to take all files: .xml from Source directory E://Current/.
Actually directories are like
E:/Plant1/Current/
E:/Plant1/History/
E:/Plant2/Current/
E:/Plant2/History/.
Can I have one Sender File Adapter to pick all *.xml files
from
E:/Plant1/Current/ and
E:/Plant2/Current/ and how can I write it in Source Directory of Communication Channel?
Or do I have to have a Sender File Adapter for each Plant?
Any suggestion please?
Kind regards,
Danijela ZivanovicHey
You might wanna have a look at "Additional selection for source file" parameter in sender file adapter.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/singleSenderFileCC4MultipleDirectories
XI/PI: how to exclude files in a sender File adapter?
Even though this method works but there are some constraints,please check help.sap.com for constraints.
Thanx
Aamir -
Compile source files from multiple subdirectories
Hi. we know that we can compile multiple source files in a folder with the statement:
javac -classpath . *.java
How can we compile multiple source files that belong to different subfolders without using an IDE?
Example:
folder1, folder2, & folder3 all have .java source files, and all 3 folders belong to a folder named bigfolder;
what is the shortest way to compile those source files in one statement like the one above?It should work withjavac -classpath your_classpath folder1\*.java folder2\*.java folder3\*.javaJust make sure that your_classpath allows all of the classes to be found.
It might be better to use the -d option in your case.javac -d path_for_classes folder1\*.java folder2\*.java folder3\*.javaYou just specify the directory into which the .class files and their package directories should go. -
[Urgent] How to read files from different directories?
I am new to Java Programming, I would like to know how to read files from directories other than the current one? (example as follows)
ProjectDirectory
|--MainDirectory
|--MainProgram.java
|--SupplementDirectory
|--SupplementProgram.java
|--Pictures
|--Image.gif
What should I write in the MainProgram.java so that I can use the supplementProgram.java from MainProgram and read the Image.gif file from the MainProgram.java?
ThanksRun through the I/O tutorial here. It should get you up to speed on this sort of thing...
-
LSMW - source file from Logical Path and Files?
Hi,
When specifing the source file (legacy data) you want to use to load from - you can choose a file from the application server.
For the application server file does anyone know is there anyway that you can use a logical path and file to represent this source file?
I do not see this option in LSMW and am surprised at this as it necessitates changing the LSMW in each target system.
Thanks in advance.
Kind regards,
MarkHi,
When specifing the source file (legacy data) you want to use to load from - you can choose a file from the application server.
For the application server file does anyone know is there anyway that you can use a logical path and file to represent this source file?
I do not see this option in LSMW and am surprised at this as it necessitates changing the LSMW in each target system.
Thanks in advance.
Kind regards,
Mark -
Rebuild source files from Webhelp output?
Today I deleted an unwanted *.css file from my RH9 project with the result that 300 images files were suddenly deleted. Subsequently, I reimported the source Word files to create a new image folder. The result of this, even though I cleared the selection boxes on the "Do you want to over-write" prompt, was that RH9 proceded to overwrite the topics anyway. So I have now lost 20 reformatted topics.
Why these things happened is not my main concern right now, though clearly it indicates that RH has some serious issues in file handling. (It has happened before).
Before RH9 deleted and over-wrote all my topic files, I generated webhelp output, and I want to know if I can recreate those topics to my project somehow using the latest Webhelp output files.Hi Michael
I think what you are seeing is typical behavior when you have a linked Word document. And therein lies a bit of an issue. Certainly RoboHelp allows you to link a Word document, but Word and HTML are a bit like mixing oil and water. Word creates things you intend to print. HTML is intended for screen display. Mixing the two results in a bit of a kludge.
So first, let's try and understand how RoboHelp deals with Word this way. When you link a Word document, you will get a real honest to goodness file folder that is named identically to the document. In the RoboHelp project manager, the icon doesn't look like a folder. It looks like a Word logo with some arrows superimposed that will indicate the status.
Inside this folder should be your topics that were created based on the Word document.
I know you said you didn't want the CSS, but the process of bringing Word in will *ALWAYS* create a .CSS file. You may as well learn to simply accept it. The thing is, you don't have to use it. Just ignore it is there. You are free to associate a single CSS of your choice with your files either before or during the generation/compilation process.
The folder with the name matching the document and ending in _files is normally created when you convert Word to HTML. That's normally where Word will store and reference any images that were found in the document. That's a common Microsoft Word behavior. If you wish to confirm this, just close everything and open Word only. Create a document with some images then choose to save the Word document as HTML and look at what you end up with.
It's surprising to me that simply deleting a .CSS would blow any images away. Perhaps your Word document was created in a manner where the images are somehow referenced using CSS?
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
How to exclude src.zip with java source files from archive
Hello All.
Our team have to prepare our SCs (Sowtware Components) for using outside the company. Meanwhile our source files should be protected. We tried a lot of ways to remove all sources from SCA archives.
This SC should then be integrated in third-party product.
Using build options in compartments gives no effect.
Any ideas?
Thanks in advance.
Maxim Maltsev.Thanks a lot.
To make code invisible for customer we should build an assembly with build option "include_sources"=false.
DCs in such assemblies won't be visible in inactive branch and could be used as non-editable in active branch of track.
The task is settled - client can modify his own code and use our code only via used DC and their public parts, he is not able to see our code.
Also customer can not see private sources as he gets assemblies without sources. Remember - public parts of type assembly shouldn't be of Source type.
Maxim Maltsev.
Edited by: Maxim Maltsev on Dec 10, 2009 3:53 PM -
Export and then re-import source files from InfoPath 2010
Hi all,
While looking in to my form being oddly large I exported all the source files and noticed that there was a large image file in there (which wasn't on any of the views, so I don't know how it was there). I need to delete this file, then re-import all the
files to become an InfoPath form again. Can someone please tell me how I do that? I don't seem to be able to find anything in the menus....
Thanks!
AlexHello Alex,
I don't think you can import modified infopath form to become a new form. Event you export forma nd delete any file or image then also you will get error when open the menifest.xsf file.
Better you try to find image in form and delete image from form itself. Just check all the views, form controls (specially hyperlink), to remove that image.
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How to call java files from different directories
hi, how do i call java files from a different directory??
let say i got partA.java, and i need to include functions from partB.java which is in a different folder. how can i do that?Chicon wrote:
Hi nuttynibbles,
Before the class declaration in partA.java, you must have an import statement like :
import someDirectory.partB;
public class partA {
... and before you ask... you'll probably want to read through this http://java.sun.com/docs/books/tutorial/java/package/index.html -
[Solved] how to patch source file from AUR for gcc46 ?
In a topic from yesterday, I was seeking help to get AUR package 'insight' installed, but so far no luck, since there seems to be a bug in the source that won't work with the gcc47 compiler. I'm posting this new topic, since the subject has changed a bit - I'm now trying to compile gcc46 because another user had success with that version in compiling the 'insight' package, and I need to patch the gcc46 source to get it to compile.
I'm looking for help to fix the problem myself, or if anyone wants to create a new PKGBUILD to handle the problem, that would be nice too
Originally, I thought I would try to install gcc42 from AUR and use that to run makepkg on the 'insight' app, since one user had success with this version of gcc. Both gcc42 and gcc46 give me the same errors with an 'unwind' file, and I couldn't get either to compile (errors about unwind.h or linux-unwind.h).
I found a post with a link to a patch (for gcc46), but I have no idea where to apply or how to apply this patch. I think I'm supposed to apply it to this file, but again, I'm not sure how to apply a patch:
/home/briphi/builds/gcc46/src/gcc-4.6.3/gcc/unwind-dw2.c
, but this c file has includes to other "unwind" header files. Here is a link to the unwind-dw2.c file at my dropbox folder, if anyone needs to see this file without downloading/compiling gcc46: http://dl.dropbox.com/u/8169867/unwind-dw2.c
Sticking with gcc46 for the moment (since I found the patch for this version)...
The post with the link to the patch to gcc46 is here: https://bbs.archlinux.org/viewtopic.php … 0#p1229880
The patch at pastebin.com is here: http://pastebin.com/VkgE27Pd and looks like this:
--- a/gcc/config/i386/linux-unwind.h 2011-01-03 20:52:22.000000000 +0000
+++ b/gcc/config/i386/linux-unwind.h 2012-07-06 12:23:51.562859470 +0100
@@ -133,9 +133,9 @@
struct rt_sigframe {
int sig;
- struct siginfo *pinfo;
+ siginfo_t *pinfo;
void *puc;
- struct siginfo info;
+ siginfo_t info;
struct ucontext uc;
} *rt_ = context->cfa;
/* The void * cast is necessary to avoid an aliasing warning.
The package that I'm actually trying to install is 'insight', here: https://aur.archlinux.org/packages/insight/
My error when compiling (running makepkg -s on gcc46) looks like this:
/home/briphi/builds/gcc46/src/gcc-build/./gcc/xgcc -B/home/briphi/builds/gcc46/src/gcc-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -g -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. -I../.././gcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/. -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../include -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/unwind-dw2.c:333:0:
/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’:
/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h:138:17: error: field ‘info’ has incomplete type
make[3]: *** [unwind-dw2.o] Error 1
make[3]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build/i686-pc-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Last edited by stringchopper (2013-02-15 08:29:39)Lone_Wolf wrote:
@ stringchopper
The file(s) that need patching are mentioned in the patch, so you don't have to know yourself where they are.
patch files like these are usually applied from the directory where you build stuff.
On your system that is probably this folder : /home/briphi/builds/gcc46/src/gcc-4.6.3/
for details about the command used to apply the patch, t0m5k1's link above should help.
Thanks Lone_Wolf for the help. I'm suffering from information overload at the moment, so (@t0m5k1) even though I found the same results that you found through google, they weren't explicit enough. -
Upload file from local PC and send to RFC function
Hi to all,
I have a web dynpro that do a procedure which creates a file pdf in a temp folder on my local PC. I need to upload this file and send it to an RFC function module (R/3 4.6c) which saves it to DMS on r/3 system. Which java code I have to implement to handle this file? Which kind of data type I have to create on my Func module to storage the file? and how can I save it to DMS (I have to create a new document)?
I hope I was clear.
Thank you very much
Enricohi,
regarding Functional Module storage
how to upload a pdf file and download/open it
PDF Upload
from web dynpro side you can use upload UI element
How to Upload PDF file in to Web Dynpro
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/288e9c7d-0c01-0010-5382-dbec82af50b2
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
regards,
Pradeep -
Reading files from different directories and exceuting them
D:\>cd PROC_PKG_FUNC
mkdir FUNCTIONS
mkdir PACKAGES
mkdir PACKAGES_BODY
mkdir PROCEDURES
mkdir TYPES
mkdir TYPES_BODY
SQL> create directory FUNCTIONS as 'D:\PROC_PKG_FUNC\FUNCTIONS';
Directory created.
SQL> create directory PACKAGES as 'D:\PROC_PKG_FUNC\PACKAGES';
Directory created.
SQL> create directory PROCEDURES as 'D:\PROC_PKG_FUNC\PROCEDURES';
Directory created.
SQL> create directory PACKAGES_BODY as 'D:\PROC_PKG_FUNC\PACKAGES_BODY';
Directory created.
SQL> create directory TYPES as 'D:\PROC_PKG_FUNC\TYPES';
Directory created.
SQL> create directory TYPES_BODY as 'D:\PROC_PKG_FUNC\TYPES_BODY';
Directory created.
suppose,
there is a D:\PROC_PKG_FUNC directory in my local machine where the database server exists.
And in that directory there are different directories like FUNCTIONS,PACKAGES,PACKAGES_BODY,PROCEDURES,TYPES,TYPES_BODY, now I've created all the remote schemas obejcts in these folders using utl_file, with the help of the following package
SQL> CREATE OR REPLACE PROCEDURE Get_Db_Ddl_Scripts AS
2 v_file Utl_File.FILE_TYPE;
3 v_file_dir VARCHAR2(50);
4 i_first_line NUMBER := 1;
5 BEGIN
6
7 v_file_dir := 'PROC_PKG_FUNC';
8
9 FOR REC_OBJ IN
10 (SELECT DISTINCT NAME,TYPE,DECODE(TYPE,'FUNCTION','FUNCTIONS','PACKAGE','PA
CKAGES','PACKAGE BODY','PACKAGES_BODY','PROCEDURE','PROCEDURES','TYPE','TYPES','
TYPE BODY','TYPES_BODY') v_file_dir
11 FROM ALL_SOURCE@FRISKDEVI41B_ORCL WHERE OWNER='FRISKDEVI41B'
12 AND TYPE IN ('FUNCTION, PROCEDURE','PACKAGE','PACKAGE BODY','TYPE'))
13 LOOP
14 v_file := Utl_File.FOPEN(location => REC_OBJ.v_file_dir,
15 filename => REC_OBJ.NAME || '.sql',
16 open_mode => 'w',
17 max_linesize => 32767);
18 i_first_line := 1;
19 FOR REC IN (SELECT TEXT FROM ALL_SOURCE@FRISKDEVI41B_ORCL WHERE NAME = REC_
OBJ.NAME AND TYPE=REC_OBJ.TYPE AND OWNER='FRISKDEVI41B' ORDER BY LINE)
20 LOOP
21 IF i_first_line = 1 THEN
22 Utl_File.PUT_LINE(v_file,'CREATE OR REPLACE ' || REPLACE(REC.TEXT,CHR(10),N
ULL));
23 ELSE Utl_File.PUT_LINE(v_file, REPLACE(REC.TEXT,CHR(10),NULL));
24 END IF;
25 i_first_line := i_first_line + 1;
26 END LOOP;
27 Utl_File.FCLOSE(v_file);
28
29 END LOOP;
30
31 END;
32 /
Procedure created.
SQL>exec Get_Db_Ddl_Scripts ;
PL/SQL procedure successfully completed.
Thus the files are created in the location.
now what i want to do is i want to read each file and run in my current schema to create these objects in my local scehma ,is that possible? Help required._ORCHYP wrote:
once these files are written in respective folders, you can open them with utl_file('read') in current schema and very well you can execute them.
Try it onceTry it as many times as you like, you won't execute the files with utl_file, that's for sure. ?:|
Using something like DBMS_SCHEDULER you could issue a one off job for each script, as that package can call o/s commands.
However, what's the point?
You may as well, in the code above, just build up your DDL commands or whatever inside your code and, rather than write them out to scripts, use the EXECUTE IMMEDIATE command to execute the DDL against the database.
Of course may not be the best thing to be doing, but we have very little information about what it is that is trying to be achieved, and no reason given why all the functions, packages etc. aren't just put together in a single script that is executed from the command line in the first place. Why try and write PL/SQL to do it?
Maybe you are looking for
-
My two Iphone 5C disconnect from my wireless (wifi) router often. Usually when changing from LTE network to wifi. I must reset (turn off and on ) phone to regain wifi network. All other dervices on wireless work great. What is causing the problem
-
How to drag and drop events across months while in month view?
Is there a way to drag an event across months when the view is set to monthly view? I know the events can be dragged and dropped across the days in the month on the screen, but how can I carry through the end of the month - there does not seem to be
-
hi there, my JTable is using AccountTableModel which is extending the AbstractTableModel. I am trying to re-arrange the column size, so that when it display will be a different length. currently they all in the same sizes, user can always rearrange t
-
Exporting Grid data to Flex...
How can i export my grid data to excel on right click of grid?
-
Reg: Vendor Account Group Number Range
Hi Guru's, I have created 3 Account groups for vendor - MV- Material Vendor , SV - Service Vendor , Ov - One Time Vendor And i need to number range (external) like this for MV- MV10000 to MV19999 and SV - SV10000 to SV19999 i tried by XKN1 but the