Multiple Target files as the item in source file
Hi all ,
I am new XI ,my scenario is File to File and my data type structures for source and target are as follows
_Data type for source: _
Source
Header 1:unbound
org 1:unbound
order 1:unbound
Item 1:unbound
itemno 1:unbound
matno 1:unbound
Data type for Target
Target
org 1:unbound
order 1:unbound
itemno 1:unbound
matno 1:unbound
In declaration of target data type occurrence of all child nodes are 1:unbounded. And I have used it in Message type and in message mapping for my target message type occurrence is showing as 1:1.
My objective is to replicate this entire Target as the no of times the Item is occurring in source ie for multiple items in source I want multiple target files. For this I have mapped item node of source to Target(parent node). But in mapping test it is only displaying one Target structure for multiple nodes in source. Please Help me in solving this issue .
Full Points will be awarded
Thanks & Regards
Satish.
Hi,
If you want multiple Targerts you need to use UseOneAsMany.
check below link
http://help.sap.com/saphelp_nw70/helpdata/en/38/85b142fa26c811e10000000a1550b0/content.htm
Thanks,
RamuV
Similar Messages
-
JS - Save File as Field Name in the Data Merge Source File
Hi All - I need some help...
I'm trying to figure out the JavaScript code to save an indd file using the data merge source file field value.
As an example...
Let's say I have an invoice template called template.indd that is linked to invoice.txt.
To make it easy, let's say the text file has 1 field called "invoice number" with a value of 123
I run data merge.
Now I want to save the merged indd file as 123.indd
I've got everything figured out in JS except getting the source text file data into a variable to use when saving. This one's been giving me fits for hours!
Is this possible??
Thanks very muchDid you ever get this to work?
-
Hello All, can anybody help?
The Problem
We are running SharePoint 2013 and document sets that have an excel file and a PowerPoint presentation both in the document set folder and we have mapped this to a unc path
\\SP.companyname.com\@SSL\DavWWWRoot\Documents
Once a link(graph) is added from excel 2010 (Ctrl C) then go into PowerPoint 2010 Paste > paste special > paste link (As Microsoft Excel Chart Object) click ok the graph goes into the PowerPoint presentation.
The graph/Table is added but in Power point 2010. Perfect.
The problem is when we close excel and try and click on the graph(link) we get the following error “The Server application, source file, or item can’t be found, or returned an unknown error. You may need to reinstall the server
application”
If we right click then we get
The Linked file was unavailable and can’t be updated
Has anybody else experienced this issue?
We are running SharePoint 2013 and document sets that have the excel file and PowerPoint in and we have mapped this to a unc path
\\SP.companyname.com\@SSL\DavWWWRoot\Documents
I think that Office 2010 does not link or cannot link to a url which it see the unc path as?? It works in Office 2013 but we have Office 2010 as standard across the firm also I have tried SP1 and SP2 for Office 2010 but still
no joy
Is anybody else experiencing this issue? is there at least a work around?
Many thanks in Advance
JakeHi,
Usually this issue is caused by the Protected Mode in Adobe software, since it's not a Microsoft product, the information I can provide is quite limited. I suggest you contact the support of Adobe first, ask if they can provide any suggestion.
Regards,
Melon Chen
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
How to enable the Archive faulty source file in File adapter
Dear XI expert,
I want to enable the Archive Faultly source file, when the exchange step detects any error then move the source file to the ERROR folder.
I've already applied patch XI ADAPTER FRAMEWORK CORE 7.00 SP10 but haven't seen anythings about this function.
Best regards,
KobsakHi,
Check out this link for info on how to archive the file.
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Regards,
Vikram -
Can I change the default 'File Type' for PL/SQL Source File to '*.prc' ?
Want to change the 'default' extension for PL/SQL source to '*.prc'
When navigating 'File' / 'Save As', and selecting the 'File Type' list box,
The default 'File Type' for PL/SQL Source File is '*.pls'.
Can I change the default 'File Type' for PL/SQL Source File to '*.prc' ?
I have followed , 'Tools', 'Preferences' , 'File Types' and added '.prc' as 'Sql Script' file type, because (PL/SQL Source) is not present in the list.You can certainly overwrite the 'Save As' extension as you are saving the file. I have added an ER for more control over this functionality.
sue -
Drillback from multiple target frequencies in the same adpater
Has anybody successfully implemented drillback from HFM to FDM when data can be loaded to multiple target frequencies from the same FM adapter based on target scenario e.g. Quarterly scenario loads to Q1,Q2,Q3,Q4 periods and Monthly scenario loads to Jan, Feb, Mar ... etc periods?
Hello,
It would all depend around the version you are using. But I believe that there is a defect against drilling back on anything other than 'lower-level months'.
If memory serves correctly it was only designed for that ...
If you are having issues/errors I would suggest opening a Support SR.
Thank you, -
hi,
i am new to ejb.......
i have got error while compiling the ejb java source files............
while compiling..........of this three i ahve got err in ejb home interface....
ejb remote interface - succeded
ejb bean class - succeded
ejb home interface - error
the error..............is in the return type of the ejb create() method in ejb home interface(which is the type of remote interface).
the error message is cannot resolve symbolHi,
thanks for ur reply .....
i have done enough searching in all sites including sun forum but in vain
i have pasted my error below...
can u plz predict anything from it
D:\>path=%path%;c:\j2sdk1.4.2_12\bin;
D:\>set classpath=%classpath%;d:\Sun\AppServer\lib\j2ee.jar;
D:\>javac d:\Librarys\Library.java
D:\>javac d:\Librarys\LibraryBean.java
D:\>javac d:\Librarys\LibraryHome.java
d:\Librarys\LibraryHome.java:8: cannot resolve symbol
symbol : class Library
location: interface Librarys.LibraryHome
public Library create(String id, String name, String address, String phoneNo
) throws RemoteException, CreateException;
^
d:\Librarys\LibraryHome.java:9: cannot resolve symbol
symbol : class Library
location: interface Librarys.LibraryHome
public Library findByPrimaryKey(String id) throws FinderException, RemoteExc
eption;
^
2 errors
thanks in advance... -
I am suddenly unable to open my pictures in Adobe Photoshop. It gives the following message: The document “Tina-19.jpg” could not be opened. Photoshop cannot open files in the “Adobe Photoshop JPEG file” format.
What does this mean? I have opened my photos in Adobe Photoshop for years and suddenly I get this message and can't open any of my picturesJoeLib wrote:
You type way faster than me Gene.
Well, not necessarily in this case.
According to the time stamp, Gene posted his answer a bit over three hours before you did, Joe.
Gene's post: Dec 29, 2014 5:54 PM
Joe's post: Dec 29, 2014 8:57 PM -
When saving certain files get the error "Error saving file..."
When saving certain files get the error "Error saving file..." Seems to have trouble saving the temp files. tried dumping my workspace and prefs. No change. Other files work fine.
Try deleting the iPod Photo Cache folder. For its locations see:
iTunes: Understanding the iPod Photo Cache folder -
Does DVD Player have a file like the cd info.cidb file?
Hi,
Is there a file like the cd info.cidb file for DVDs? There are apps that use that for CD cataloging. I am wondering if there is an app that will keep track of DVDs as well, using that sort of file, if it exists.
Many thanks.
John LWell, thanks but that doesn't answer my question. There are plenty of apps that catalog discs. Is there a file like the cd db file? (What is its name and where is it?) Does your app use it?
Cheers,
John L -
Hai Sir,
I am facing one problme in weblogic8.1 while depolying the .EAR FILE.
Please help me sir.
Case1) 1) I am using the struts and log4j frameworks and 3rd party jar files with
weblogic8.1.
2) I make the ejbs,webapplications and 3rdparty jar files, ear file the following
dir structure .And i mentioned the Class-path including all jar files in the MANIFEST
OF EAR FILE.
While deploying the ear file it is giving following error.If log4j.jar does not
mention in the Weblogic script file
java.lang.NoClassDefFoundError: org/apache/log4j/Priority
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:1494)
at java.lang.Class.getDeclaredFields(Class.java:1073)
at weblogic.ejb20.deployer.EJBModule.disableImplClassLoader(EJBModule.java:1082)
at weblogic.ejb20.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.jav
a:982)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:419)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.j
ava:2792)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.
java:1478)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:11
36)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:97
5)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareCon
tainer(SlaveDeployer.java:2571)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(Sla
veDeployer.java:2523)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeploy
er.java:2453)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer
.java:820)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:
536)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java
:494)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:
25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Please provide the soluation without mentioning classpath in the weblogic script
.How to make the EAR file incliding ejbjar,webapplication and 3rd party jar files.
Thanks & Regards,
ASHOK SAMRAT
[email protected]Refer to the section
Handling Utility classes
http://dev2dev.bea.com/products/wlserver/articles/musser.jsp
thanks,
Deepak
"Ashok Samrat" <[email protected]> wrote:
>
Hai Sir,
I am facing one problme in weblogic8.1 while depolying the .EAR FILE.
Please help me sir.
Case1) 1) I am using the struts and log4j frameworks and 3rd party jar
files with
weblogic8.1.
2) I make the ejbs,webapplications and 3rdparty jar files, ear file
the following
dir structure .And i mentioned the Class-path including all jar files
in the MANIFEST
OF EAR FILE.
While deploying the ear file it is giving following error.If log4j.jar
does not
mention in the Weblogic script file
java.lang.NoClassDefFoundError: org/apache/log4j/Priority
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:1494)
at java.lang.Class.getDeclaredFields(Class.java:1073)
at weblogic.ejb20.deployer.EJBModule.disableImplClassLoader(EJBModule.java:1082)
at weblogic.ejb20.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.jav
a:982)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:419)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.j
ava:2792)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.
java:1478)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:11
36)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:97
5)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareCon
tainer(SlaveDeployer.java:2571)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(Sla
veDeployer.java:2523)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeploy
er.java:2453)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer
.java:820)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:
536)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java
:494)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:
25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Please provide the soluation without mentioning classpath in the weblogic
script
How to make the EAR file incliding ejbjar,webapplication and 3rd party
jar files.
Thanks & Regards,
ASHOK SAMRAT
[email protected] -
I have been searching high and low for this one. I have a vbscript that can successfully perform the function if one file is listed. It does a Wscript.echo on the results and if I run this via command using cscript, I can output to a text file
that way. However, I cannot seem to get it to work properly if I want it to search ALL the files in the folder. At one point, I was able to have it create the output file and appear as if it worked, but it never showed any results when the script
was executed and folder was scanned. So I am going back to the drawing board and starting from the beginning.
I also have a txt file that contains the list of string text entries I would like it to search for. Just for testing, I placed 4 lines of sample text and one single matching text in various target files and nothing comes back. The current script
I use for each file has been executed with a few hundred string text lines I want it to search against to well over one thousand. It might take awhile, but it works every time. The purpose is to let this run against various log files in a folder and
let it search. There is no deleting, moving, changing of either the target folder/files to run against, nor of the file that contains the strings to search for. It is a search (read) only function, going thru the entire contents of the folder and
when done, performs the loop function and onto the next file to repeat the process until all files are searched. When completed, instead of running a cscript to execute the script and outputting the results to text, I am trying to create that as part
of the overall script. Saving yet another step for me to do.
My current script is set to append to the same results file and will echo [name of file I am searching]: No errors found. Otherwise, the
output shows the filename and the string text that matched. Because the results append to it, I can only run the script against each file separately or create individual output names. I would rather not do that if I could include it all in one.
This would also free me from babysitting it and running each file script separately upon the other's completion. I can continue with my job and come back later and view the completed report all in one. So
if I could perform this on an entire folder, then I would want the entries to include the filename, the line number that the match occurred on in that file and the string text that was matched (each occurrence). I don't want the entire line to be listed
where the error was, just the match itself.
Example: (In the event this doesn't display correctly below, each match, it's corresponding filename and line number all go together on the same line. It somehow posted the example jumbled when I listed it)
File1.txt Line 54
Job terminated unexpectedly
File1.txt Line 58 Process not completed
File1.txt
Line 101 User input not provided
File1.txt
Line 105 Process not completed
File2.txt
No errors found
File3.txt
Line 35 No tape media found
File3.txt
Line 156 Bad surface media
File3.txt Line 188
Process terminated
Those are just random fake examples for this post.
This allows me to perform analysis on a set of files for various projects I am doing. Later on, when the entire search is completed, I can go back to the results file and look and see what files had items I wish to follow up on. Therefore, the
line number that each match was found on will allow me to see the big picture of what was going on when the entry was logged.
I actually import the results file into a spreadsheet, where further information is stored regarding each individual text string I am using. Very useful.
If you know how I can successfully achieve this in one script, please share. I have seen plenty of posts out there where people have requested all different aspects of it, but I have yet to see it all put together in one and work successfully.
Thanks for helping.I'm sorry. I was so consumed in locating the issue that I completely overlooked posting what exactly I was needing help with. I did have one created, but I came across one that seemed more organized than what I originally created. Later
on I would learn that I had an error in log location on my original script and therefore thought it wasn't working properly. Now that I am thinking that I am pretty close to achieving what I want with this one, I am just going to stick with it.
However, I could still use help on it. I am not sure what I did not set correctly or perhaps overlooking as a typing error that my very last line of this throws an "Expected Statement" error. If I end with End, then it still gives same
results.
So to give credit where I located this:
http://vbscriptwmi.uw.hu/ch12lev1sec7.html
I then adjusted it for what I was doing.
What this does does is it searches thru log files in a directory you specify when prompted. It looks for words that are contained in another file; objFile2, and outputs the results of all matching words in each of those log files to another file: errors.log
Once all files are scanned to the end, the objects are closed and then a message is echoed letting you know (whether there errors found or not), so you know the script has been completed.
What I had hoped to achieve was an output to the errors.log (when matches were found) the file name, the line number that match was located on in that file and what was the actual string text (not the whole line) that matched. That way, I can go directly
to each instance for particular events if further analysis is needed later on.
So I could use help on what statement should I be closing this with. What event, events or error did I overlook that I keep getting prompted for that. Any help would be appreciated.
Option Explicit
'Prompt user for the log file they want to search
Dim varLogPath
varLogPath = InputBox("Enter the complete path of the logs folder.")
'Create filesystem object
Dim oFSO
Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
'Creates the output file that will contain errors found during search
Dim oTSOut
Set oTSOut = oFSO.CreateTextFile("c:\Scripts\errors.log")
'Loop through each file in the folder
Dim oFile, varFoundNone
VarFoundNone = True
For Each oFile In oFSO.GetFolder(varLogPath).Files
'Verifies files scanned are log files
If LCase(Right(oFile.Name,3)) = "log" Then
'Open the log file
Dim oTS
oTS = oFSO.OpenTextFile(oFile.Path)
'Sets the file log that contains error list to look for
Dim oFile2
Set oFile2 = oFSO.OpenTextFile("c:\Scripts\livescan\lserrors.txt", ForReading)
'Begin reading each line of the textstream
Dim varLine
Do Until oTS.AtEndOfStream
varLine = oTS.ReadLine
Set objRegEx = CreateObject("VBScript.RegExp")
objRegEx.Global = True
Dim colMatches, strName, strText
Do Until oErrors.AtEndOfStream
strName = oFile2.ReadLine
objRegEx.Pattern = ".{0,}" & strName & ".{0,}\n"
Set colMatches = objRegEx.Execute(varLine)
If colMatches.Count > 0 Then
For Each strMatch in colMatches
strText = strText & strMatch.Value
WScript.Echo "Errors found."
oTSOut.WriteLine oFile.Name, varLine.Line, varLine
VarFoundNone = False
Next
End If
Loop
oTS.Close
oFile2.Close
oTSOut.Close
Exit Do
If VarFoundNone = True Then
WScript.Echo "No errors found."
Else
WScript.Echo "Errors found. Check logfile for more info."
End If
End if -
When We deploy custom OAF applications, We put class in the $JAVA_TOP and import definition files such as PG to DB.
As manners, where should I put the source file?For java, only class files are maintained. For your custom developments, it depends on you based on what source control you use.
For page, region xml files, you can keep them on MDS_TOP apart from your source control software.
--Shiv -
Importing data for tuple changes the order from source file - please help
Hi all:
I am using MDM 7.1 with the new tuple functionality. I have to import some product texts in a specific order. Tuples is working fine, the only issue is that it changes the order of the rows when importing from Excel. Let's say I have product number
A123, Text 1
A123, Text 2
A123, Text 3
When importing in MDM I get:
A123, Text 2
A123, text 3
A123, Text 1
It is changing the order in which records are from source Excel file. Any ideas on how to force it to import in the same order as source file?
Thanks,
-Arturo Blasi.import java.util.*;
import java.io.*;
Student Name: Qiang Wu
Student Number: 205722913
public class Check05C
public static void main(String[] args) throws IOException
Scanner input = new Scanner(System.in);
PrintStream output = System.out;
output.print("Please enter filename...");
File MarkFile = new File(input.nextLine());
Scanner fileinput = new Scanner(MarkFile);
double average;
int maxmark = 0;
int minmark = 100;
int sum = 0;
for (int score = fileinput.nextInt(); fileinput.hasNextInt(); score = fileinput.nextInt())
sum = sum + score;
if (score >= maxmark)
maxmark = score;
else if (score <= minmark)
minmark = score;
average = (maxmark + minmark) / 2;
output.println("Class Average is: " + average);
output.println("Maximum mark is: " + maxmark);
output.println("Minimum mark is: " + minmark);
fileinput.close();
}: ) I still cant figure out how to modify. -
How to select from multiple output tables in the SAP Data Source
Hi,
We're using the SAP Data Source to display SAP data in our portal from the Bapi: BAPI_INFORECORD_GETLIST. When defining the Bapi Meta Data we can select data from one of the two output tables (INFORECORD_GENERAL and INFORECORD_PURCHORG). But we want to select data from both tables (some columns we want to show are in INFORECORD_GENERAL and some are in INFORECORD_PURCHORG) .
How can we do this ?
With regards,
Ramon van der WeidenYou can query multiple TimesTen databases, but your original question was about joining tables from two databases, which is not supported.
Using Cache Connect to Oracle to query an Oracle database is not distributed. It's still one single Oracle database you are querying. You cannot join a table in the TimesTen database with a table in the Oracle database, this is not allowed.
If you are willing to share your business requiremens, we can take a look and see what solution might work for you. Would you like to discuss this offline?
Susan
Maybe you are looking for
-
Hi, I am trying to figure out how to fix my problem Error: Could not be opened. Operating system error code 5(Access is denied.) Process Description: Target Database Server Reside on different Server in the Network SSIS Package runs from a Remote Ser
-
i just bought the new iPad and even though notifications are set exactly the same for mail and my app is turned on and in the Notifications Center and alerts and sounds selected for mail and apps only my iPad 2 is working. No alerts on iPad 3. I se
-
UNIX command to run remotely?
Does anyone know the UNIX command to generate a list of installed applications in the Applications folder AND their version numbers?
-
Anyone knows why I can not create rollback segment in 9i?? I used same script in 8i and it works. "create rollback segment lims_rollback tablespace lims_rollback;" ERROR at line 1: ORA-30019: Illegal rollback Segment operation in Automatic Undo mode
-
Help, I went from android to iOS
I had a Samsung Galaxy note (1) with AT&T, I am severely visually impaired and require glasses to read up close, I have SSI and even though I had insurance on my phone (it broke), it still would've cost me $200 (which I don't have just sitting around