Unknown structure 'ns0:MT_dbglgtr_FileName' found in document'
I have other problem.
The receiver channel communication gives the next error:
Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_dbglgtr_FileName' found in document', probably configuration error in file adapter (XML parser error)'.
I haven't empty node and any condition.
Thank you.
Hi,
Same problem solved here: (infact many threads with the same problem and solution)
Error in Receiver FCC: Unknown structure ... found in document
Re: Receiver File content conversion - NO Output
Regards,
Abhishek.
Edited by: abhishek salvi on Apr 14, 2009 7:42 PM
Similar Messages
-
Error in Receiver FCC: Unknown structure ... found in document
Hi Experts,
I have a problem with the Receiver File Adapter. I want to use Content Conversion to generate a plain file.
Input to receiver file adapter:
<?xml version="1.0" encoding="utf-8" ?>
<PlainFile>
<filename>filename.txt</filename>
<line>Line 1</line>
<line>Line 2</line>
</PlainFile>
Wanted result: a file filename.txt with this content:
Line 1
Line 2
FCC settings:
RecordSet Structure: line, filename
line.fieldSeparator:'nl'
filename.fieldFixedLengths:0
filename.fixedLengthTooShortHandling:Cut
Problem is: the adapter throws error "Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'PlainFile' found in document'"
If I use:
RecordSet Structure: PlainFile, line, filename
and add:
PlainFile.fieldSeparator:'nl'
... the lines are printed, but also the unwanted filename. The XML input results from an 1:n mapping, therefore I want to set different filenames by variable substitution from the payload.
Many thanks for your help,
RalfSince you want to the filename to be sent in the payload, check out the below Variable Substitution Method. This information is available in help.sap.com.
Advanced Tab Page
Variable Substitution (Target Directory/File Name Scheme)
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.
Note
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.
Example
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.
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<dummy>
<e1>
<e2>Data_1</e2>
<f/>
<g attr="abc">text</g>
<e2>Data_2</e2>
</e1>
</dummy>
<e1>
<e2>illegal/value</e2>
<f/>
<g attr="abc">text</g>
<e2 attr="fghij">Example Value</e2>
</e1>
</root> -
RFC 2 FLAT "Conversion configuration error: Unknown structure" MessageTrans
Hello all,
I want to use MessageTransformBean to map an RFC Call to a FlatFile in Receiver Adapter. As it is not FTP I can't use FCC.
Everytime I start the processing I get the error:
com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:Z_FUNCTION' found in document', probably configuration error in file adapter (XML parser error)''; nested exception caused by: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:Z_FUNCTION' found in document', probably configuration error in file adapter (XML parser error)'
I implemented everything according to [this|http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm] guide (complex conversion for receiver cc).
I also tried to map the RFC to another XML structure, but the error was the same?
Any ideas?
Best regards,
DavidYou can probably find answers in these threads:
Error in Receiver FCC: Unknown structure ... found in document
Unknown structure 'ns0:MT_dbglgtr_FileName' found in document'
Error in reciever file content conversion
Regards,
Ravi -
'Conversion configuration error: Unknown structure
Hi, my scenario is very simple, Proxy->PI->File and there is no mapping.
There is a report that sends all the data to PI with the proxy and that works OK, but when the file adapter must generate the file I get the following error:
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'n:WU_MT_BP' found in document', probably configuration error in file adapter (XML parser error)'
The XML can't be wrong because the MT of the proxy service interface is the same that the MT of the file interface.
In the file content conversion I specified all the structures, with fieldFixedLenghts parameter and endSeparator = 'nl'... I checked those parameters too and they look OK too...>>Unknown structure 'n:WU_MT_BP
This looks clearly like a content conversion issue.
In file content conversion for recordset structure,have you specified WU_MT_BP?
Is this tag required or it shouldn't be coming in payload in first place.
It is possible that the occurrence of this tag is optional and you may be specified/not-specified content conversion parameters for it.
Thanks
Aamir -
Conversion configuration error Unknown structure Header found in document
Hi,
we are having the following target structure according to that we need to generate a file.
Output file sample format:
ACODESXXXX0001581012011-03-2209.12.42WARRANTY CAUSE CODES FILE
ACODESXXXX000158102CCCORROSION INSPECTION
ACODESXXXX00015810255CAVITY, PINHOLE
ACODESXXXX00015810256BAD MACHINING
BCODESXXXX0001581012011-03-2209.12.42WARRANTY COMPLAINTS CODES FILE
BCODESXXXX000158102NCNO CUSTOMER COMPLAINT
BCODESXXXX000158102XPCONSIDERATION
BCODESXXXX00015810299OTHER
BCODESXXXX000158199000000131
CCODESXXXX0001581012011-03-2209.12.42WARRANTY CIRCUMSTANCE CODES FILE
CCODESXXXX000158102 BLANK
CCODESXXXX000158102AAT ENGINE START
CCODESXXXX000158102BWHEN WARMING-UP
Target Record Structure:
DT_Codes
Record
ACodes
Header
Details
Trailer
Bcodes
Header
Details
Trailer
Ccodes
Header
Details
Trailer
TWRNTY
Header
Details
Trailer
In receiver file adapter we have given following content conversion parameters
Content conversion Parameters :
Recordset Structure*: A_Code.Header,A_Code.Detail,A_Code.Trailer,B_Code.Header,B_Code.Detail,B_Code.Trailer,C_Code.Header,C_Code.Detail,C_Code.Trailer,
Name value
A_Code.Header.filedFixedLengths 4,5,7,8,2,3,4
A_Code.Detail.filedFixedLengths 4,5,2,8,9,3,2,7,8,9,3
A_Code.Trailer.filedFixedLengths 4,5,2,2,3,3,4
B_Code.Header.filedFixedLengths 4,5,7,8,2,3,4
B_Code.Detail.filedFixedLengths 4,5,2,8,9,3,2,7,8,9,10
B_Code.Trailer.filedFixedLengths 4,5,2,2,3,3,4
C_Code.Header.filedFixedLengths 4,5,7,8,2,3,4
C_Code.Detail.filedFixedLengths 4,5,2,8,9,3,2,7,8,9,10
C_Code.Trailer.filedFixedLengths 4,5,2,2,3,3,4
Now we are getting error "Conversion configuration error Unknown structure Header found in document"
Please suggest solution for the error.
thank you,
Praveen.your content conversion parameters seem to be wrong.
Do refer;
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion -
Call SAP function from VB - Structure member not found " unknown "
Hello,
(I don't know if this is the appropriate forum, but I didn't find any which seem to match my topic ...)
I use the following VB code to call the SAP function ARCHIV_PROCESS_RFCINPUT:
Dim bapiControl As SAPBAPIControl
Dim logonControl As SAPLogonControl
Dim functions As SAPFunctions
Set bapiControl = New SAPBAPIControl
Set logonControl = New SAPLogonControl
Set functions = New SAPFunctions
Set bapiControl.Connection = logonControl.NewConnection
' do login
Set functions.Connection = bapiControl.Connection
Dim myFunction As SAPFunctionsOCX.Function
Set myFunction = functions.Add("ARCHIV_PROCESS_RFCINPUT")
Dim myStructure As SAPFunctionsOCX.Structure
Set myStructure = functions.CreateStructure("OARFCIN")
' the following values are just examples
myStructure("ARCHIV_ID") = "01"
myStructure("ARC_DOC_ID") = "1234567890123457890"
myStructure("AR_OBJECT") = "TIF"
myStructure("DOC_TYPE") = "FIIINVOICE"
myStructure("BARCODE") = "1"
myFunction.Exports("DOCUMENT_ENTRY") = myStructure
At this point execution stops with the following error message:
Err.Number: 1006
Err.Description: Structure member not found "<unknown>"
Err.Source: wdtfuncs
What is wrong? The function ARCHIV_PROCESS_RFCINPUT needs one input parameter called "DOCUMENT_ENTRY" which is of type OARFCIN ...
ARCHIV_CONNECTION_INSERT, which has only Strings as input parameters (no structures), works fine ...
I tried all variations I could think of:
myStructure.Value("ARCHIV_ID") = G_csDefaultRepository
instead of myStructure("ARCHIV_ID") = G_csDefaultRepository
declaring bapiControl, logonControl and functions as Object, and instanciating them with CreateObject(...)
myFunction.Exports(0).Insert "DOCUMENT_ENTRY", myStructure
instead of myFunction.Exports("DOCUMENT_ENTRY") = myStructure
(which gave me a "Collection member not found" error) ...
Nothing worked ...
What is wrong with this code??
Thanks for help!
Regards
SteffiHi Ralf,
try substituting following code:
' the following values are just examples
myStructure("ARCHIV_ID") = "01"
myStructure("ARC_DOC_ID") = "1234567890123457890"
myStructure("AR_OBJECT") = "TIF"
myStructure("DOC_TYPE") = "FIIINVOICE"
myStructure("BARCODE") = "1"
myFunction.Exports("DOCUMENT_ENTRY") = myStructure
with that one:
Set myStructure = myFunction.Exports("DOCUMENT_ENTRY")
' the following values are just examples
myStructure.Fields("ARCHIV_ID") = "01"
myStructure.Fields("ARC_DOC_ID") = "1234567890123457890"
myStructure.Fields("AR_OBJECT") = "TIF"
myStructure.Fields("DOC_TYPE") = "FIIINVOICE"
myStructure.Fields("BARCODE") = "1"
Let me know!
Enjoy!! -
Some fields was addicted to dictionary and when I deploy the cartridge, the following exception appear. Anyone can help me!
com.mslv.oms.metadatahandler.operation.MetadataException: There is no entity found in document for: element matching the key Tipo_Ordem not found; error code: 108
at com.mslv.oms.metadatahandler.operation.ImportOperation.handleSequenceException(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.processEntity(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.processEntity(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.processEntity(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.doProcess(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.deploy(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.c(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.a(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<02/01/2013 10h06min27s BRST> <Error> <oms> <BEA-000000> <cartridgemgmt.DeployCartridgeMDB: Cartridge deployment failed:
com.mslv.oms.metadatahandler.operation.MetadataException: There is no entity found in document for: element matching the key Tipo_Ordem not found; error code: 108
at com.mslv.oms.metadatahandler.operation.ImportOperation.handleSequenceException(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.processEntity(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.processEntity(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.processEntity(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.doProcess(Unknown Source)This indicates OSM has detected a problem with the consistency of the cartridge that is being deployed. Likely this means that Design Studio itself had a problem building the cartridge that went undetected until the cartridge was deployed.
I would suggest you try the following:
1. Shutdown and restart Design Studio.
2. Do a clean-build of your cartridge.
3. Redeploy the cartridge.
If you are redeploying your cartridge over an existing cartridge version, then try changing the cartridge version number, follow steps 1-3 above and see if that makes any difference.
If the above doesn't resolve your problem, then suggest you contact Oracle Support.
Regards,
Brian. -
Handling XMLs with unknown structures.
Hello Experts,
I have to build a generic interface RFC -> PI -> JMS, which will receive XML structure as a string in import parameter of RFC.
Then I need to convert this string to XML, add digital signatures and then output the signed payload to JMS Queues.
I have been looking at SDN posts and found that XSLT can be used to convert string to XML. But the catch is I am not aware of the XML structures that will be sent in as a string. So how can I handle these unknown structures? Or what should be the structure of the target Interface for XSLT mapping??
Any inputs on this will be of great help.
Kind Regards,
PIQueries_2010If you dont want the target structure to be validated XSLT/java mapping is the way to go as pointed out by MIchal.
If you use the new feature, I believe it will validate the target structure.
@Michal,
Just a quick clarification, when we use java/xslt mapping to skip target message validation in PI 7.1 is it mandatory to have the operation name exactly same as Service Interface name? I recently ran into an issue where the Service interface name was different from the operation name and the Java mapping was giving an error saying "Unable to validate root element" or something similar (Ofcourse, the content was binary file and hence java mapping to skip the target structure validation).
Thanks
Jai -
How to sort internal tables of unknown structure?
Hello
Itab is an internal table of unknown structure with field F1 and many other.
How to sort this table by field F1 is the structure is unknown?
SORT ITAB by F1 ascending.
ThanksHello,
Which version of SAP are you using?
As of Release 701, you can specify the fields dynamically by specifying the fields in an internal table of type ABAP_SORTORDER_TAB. Further read can be found here: [SORT by (otab)|http://help.sap.com/abapdocu_702/en/abapsort_itab.htm#!ABAP_ADDITION_5@5@].
For prior releases you can try something like this:
SORT itab BY ('F1') ('F2) ... ('Fn')
Hope this helps.
BR,
Suhas -
BPM error : Message pipeline PE_ADAPTER unknown XML message not found. Help
Hello All,
I have done 3 steps in BPM
RFC --- BPM --- RFC
RECEIVE step ==> Opens SYNCH ASYNCH bridge and receives RFC request message
SEND synchronous ==> to send RFC request and get the RFC response.
SEND ==> Closes SYNCH ASYNCH bridge and Send's response back to the RFC.
In my last send step (response back) I am getting message
"Message pipeline PE_ADAPTER unknown XML message not found" .
Pls helpHi Rick,
check out this SAP Note: 1087532
Regards
Dominic -
Error no receipient found in document distribution
hi,
i'm getting error no receipient found in document distribution,
when executing document distribution in CVi7
Kindly let me know whether it is basis or workflow related issue,
regards
kokilaHi Kokila,
one possible reason can be a missing flag in TA SO16. Please check
that the flag 'Organizational units' (under tab 'Adressing') is set and
that no sending restrictions are defined under tab 'Send'.
Best regards,
Christoph -
Trex error: No embedded object found in document (Errorcode 14037)
Hi,
we have following problem with our crawler:
in the crawler 50 % of documents are returning the error "No embedded object found in document (Errorcode 14037)" and are not displayed in the trex monitor. All other documents are indexed correctly an are in the trex monitor in "OK".
We are on Stack 14 Patch 4.
Regards,
GerhardHi Gerhard,
Typically, errors codes 14XXX are related to filter problems during the preprocessing of documents. Details about TREX error codes are explained in the help portal and in the note 898404.
Unfortunatelly, filter problems could not be easily fixed. However, a good starting point would be to use a newer TREX release. If this doesnt help please open a Customer Message and attach documents, which causes the mentioned error. Please attach only not sensible documents!
Kind regards,
Roland -
Unknown structure ID 0 for flexfield code GL# with application ID 101
Hi Experts,
I am working on Report builder 6i, EBS 11i, and data base 9i. I have standard report, when i am running it, it's giving below error.
ERROR: APP-FND-01016: Routine FDFRKS: Unknown structure ID 0 for flexfield code GL# with application ID 101.
It's calling below thing in Before Report Trigger.
begin
SRW.USER_EXIT('FND FLEXSQL CODE="GL#" NUM=":P_ACCT_STRUCT_NUM"
APPL_SHORT_NAME="SQLGL" OUTPUT="P_acct_flex"
MODE="SELECT" DISPLAY="ALL" TABLEALIAS="GCC"');
exception when srw.user_exit_failure then
srw.message(3,'Failed in GL#/Select');
raise;
end;
Could somebody help me what could be the reason for this error.
Thanks.Hi,
Is the error still ocurring ? Is yes, please refer the below note in Metalink. This should resolve the issue.
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=227438.1
-Sailaja. -
Exception Structure Field not Found
Hi all!
I'm having a strange trouble with a webdynpro app.
I have a BAPI with a structure as an Input parameter, and another structure as an Output parameter, as well as the Return table.
I imported the model to my app, created the custom controller, added the fields to the view, everything seems all right, but when I deploy and run the app, I get the exception that the field Versn of the Output structure is not found:
com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo(Main.Zbapi_Wty_Codigo_Averia_Input.Output.Wa_Averia_Output): structure field Versn not found
at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java(Compiled Code))
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java(Compiled Code))
at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java(Compiled Code))
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java(Compiled Code))
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java(Compiled Code))
... 29 more
This is the first time it happens, I've used other BAPIs with a similar structure, but I got no errors, so I don't understand what might be wrong this time.
Has any of you have a problem like this??
Thanx.
Jesushii ,
Thanks for your response.
I did rebuild the project, restarted my j2ee engine, re-deployed my application but still getting the same error:
com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo(Tdc_DataCust.Zsm_Add_New_Project_Input.Project_Data_AddProject): structure field Skill_Id not found
at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:299)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:672)
at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:233)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:660)
Please do suggest. -
Internal table of unknown structure as a importing parameter of FM
Hello
I need to build FM that performs the following operations :
1. gets the internal table of unknown structure on the input
Its known that table has key fields of K1 , K2 , K3 and numerical fields of N1, N1.The other fields are unknown
2. Populate fields N1, N2 with values (logic is clear and simple)
3. Return table
Can you please recommend me which way I should go. Some examples are very welcome
THanksHi,
In your tables parameter enter the name of the table with out any type. This was you may be able to use it dynamically. Next create another importing parameter as table type. there you will pass the type of the table. Now if you have these information then you should be able to define a field-symbol in the FM and do the manipulation.
Regards
Prasenjit
Maybe you are looking for
-
Feature request: better keyword management tool
I'm re-organizing my keywords and I think that LR needs some work in keyword management and DAM features. I miss something like separate keyword management tool which would have two keyword lists, which would work a bit like spatial file management i
-
Hi All, Good morning, I'm using below query to generate report on disbursements for the day to be instructed to our banks branches. however if the outgoing payment were reversed and reposts due to various reasons/errors the reversed outgoing payment
-
How to handle multiple requests to the same servlet at one time?
Hi, I am new to Servlets. I have doubt regarding ... Handling multiple requests to a servlet at a time. If we send a single request to a servlet, as know that group of objects such as servlet, servletContext, servletConfig, request, response and etc
-
Hello Wonderful People.. I've have recently discovered that my Mac Pro will sleep but only the screen,not the HD!? If I'm correct, this might have only started since updating to 10.5.6, but I'm not entirely sure! Any ideas..?
-
Formula for MIN and MAX per range required in BW
Good day Please assist with the following? I need to create a formula (CKF) in BW Query which will give me the same result as the following formula in Excel. What I have is one Key Figure and want to calculate a Score on that key figure. Score =Key f