Archiving in Reciever file adapter
Hi .
can any one plz help me in <b>archiving file's in reciever file adapter</b> .
thanks
shakif
Hi Mohamed,
Normally we acrchive the files only in the sender communicaton channel by selecting the processing mode as Archive and giving the path of the directory where the sucessfully processed files are to be placed int the archieve directory.
There is no option to archieve the files in the receiver file adapter.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">Configuring Sender File Adapter</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm">Configuring Receiver File Adapter</a>
Regards
Santhosh
Remember to set the thread to solved when you have received a solution
[url=Use a Good Subject Line, One Question Per Posting - Award Points; Use a Good Subject Line, One Question Per Posting - Award Points[/url]
Similar Messages
-
Dynamic File naming in reciever File Adapter
Hi all,
I am using a reciever File adapter and my requirement is to generate 3 different file names based on the value of an element from the Payload.For example..
Say in Payload for the first Occurence of the Data segment which contains Field-1 and Field-1 Contains value X then filename should be X.CSV,
same as
For the next occurence of the Data Segment if the Value of Field-1 is Y then File name should be Y.CSV.
Similarly For Z as well.
This is something like this...
SOurce Structure
================
IDOC
DATA SEGMENT-1
Field-1---> X
Field-2
Field 10
DATA SEGMENT-2
Field-1
Field-2
Field 10
DATA SEGMENT-3
Field-1
Field-2
Field 10
then the output and filenames should be...
X.CSV
Field-1
Field-2
Field-3
Y.CSV
Field-1
Field-2
Field-3
Z.CSV
Field-1
Field-2
Field-3
Kindly help, is there any way i can do this using File Adapter Configurations .Please suggest.Hi,
you can use a small business process.
There you will receiver the message in one receive step.
than you need a transformation Step with a mapping which split your message to several messages.
At least you have now a Multi Row container with one message for each data segment.
For sending each messages of this multirow container you need a block in BPM.. this you have to set to parallel processing.
Inside this block you have a sending step which send the single message.
and without BPM take a look at this Weblog(you need SP14):
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions me</a>
Regards,
Robin -
Error in reciever file adapter , where i am getting file name dynamically
hi all,
error in reciever file adapter , where i am getting file name dynamically, please help me in this isssue , i am trying for a long time
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)'i am getting new error
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
this is my strcuture
and i have changed my structure
<HEADER>
<ADDRESS1/>
<ADDRESS2/>
<ADDRESS3/>
<ADDRESS4/>
</HEADER>
<HEADER_GST>
<TAX1/>
<TAX2/>
<TAX3/>
</HEADER_GST>
<LINE>
<QTY/>
<UOM/>
<UNIT_AMT/>
<CHARGE_TO_DT/>
</LINE>
<FILENAME>
<FILENAME/>
</FILENAME>
i have given the recordset structure as
HEADER,HEADER_GST,LINE,FILE -
Content conversion in Reciever File Adapter
Hi Frens,
Iam doing A FCC in Reciever file adapter. My input structure is
DT_structure
->Record
->Row
Field1
Field2
Field3
I have donr the configuration as
Recordset Structure : Record,Row
Row.fieldSeparator : ,
Row.endSeparator : 'nl'
Record.fieldSeparator : 'nl'.
With this configuration Iam able to display only one record but I need to display multiple records in the file. Please do suggest me wha need to be done to achieve this.
Radhika.First check whether your datatype has the occurrence of records unbounded or not. Then goto content conversion. If both your Record and Row tags can occur multiple times, then use
Recordset Structure : Record,*,Row,*
Or if Record occurs only once and multiple Row nodes are required, then use
Recordset Structure : Record,1,Row,*
Regards,
Prateek -
Error in reciever file adapter
Getting following error in a reciever file adapter (stack trace extracted from defaultTrace)
#1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot open resource(Managed Connection) with LocalTransaction support or add a second one in the same transaction, for component "ejbContexts/sap.com/com.sap.aii.af.app/CallSapAdapter" in application "sap.com/com.sap.aii.af.app".
at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:59)
at com.sap.aii.af.ra.ms.runtime.Resources.getDBConnection(Resources.java:362)
at com.sap.aii.af.ra.ms.impl.core.store.MessageStore.getMessageProfile(MessageStore.java:1228)
at com.sap.aii.af.ra.ms.impl.ConnectionImpl.deliveryAck(ConnectionImpl.java:399)
at com.sap.aii.adapter.file.SapAdapterServiceFrameImpl.sendAcks(SapAdapterServiceFrameImpl.java:350)
at com.sap.aii.adapter.file.SapAdapterServiceFrameImpl.callSapAdapter(SapAdapterServiceFrameImpl.java:250)
at com.sap.aii.af.modules.CallAdapterWithMessageBean.process_receiver(CallAdapterWithMessageBean.java:201)
at com.sap.aii.af.modules.CallAdapterWithMessageBean.process(CallAdapterWithMessageBean.java:161)
at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl1.process(ModuleLocalLocalObjectImpl1.java:103)
at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:252)
at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
at com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:243)
at com.sap.aii.af.listener.AFWListenerLocalObjectImpl0.onMessage(AFWListenerLocalObjectImpl0.java:103)
at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:253)
at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:838)
at com.sap.aii.af.ra.ms.impl.core.queue.ReceiveConsumer.invokeHandler(ReceiveConsumer.java:351)
at com.sap.aii.af.ra.ms.impl.core.queue.ReceiveConsumer.onMessage(ReceiveConsumer.java:100)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:831)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot open resource(Managed Connection) with LocalTransaction support or add a second one in the same transaction, for component "ejbContexts/sap.com/com.sap.aii.af.app/CallSapAdapter" in application "sap.com/com.sap.aii.af.app".
at com.sap.engine.services.connector.resource.impl.ResourceSetImpl.checkEnlist(ResourceSetImpl.java:308)
at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:229)
at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:51)
... 21 moreHI,
Refer this link. It gives solution to the above problem.
http://help.sap.com/saphelp_nw04s/helpdata/en/5c/2f2c4142aef623e10000000a155106/content.htm
Regards,
Sudheer. -
Anonymous login in sender,reciever file adapter
hi all xi's
i dont know what is the need of anonymous login option in sender,reciever file adapter and the other thing is if i use check anonymous login there is no option for
specifing username,pwd,ftp server ip.
early anser will be appreciated.
bye.
regards.
seeta ram.Hi,
when you configure your FTP server you can opt for anonymous login.
It means anyone can log on to this server just by using the IP address.
No user creation.. so ..No need for user id or pwd. i mean no authentication.
FTP connection parameters.. i.e. server n port will always be there if you are going for FTP.
It wont ask for these if you select NFS.
Being Anonymous only removes the user id n pswd option.
Anonymous login is "Never suggested"..Pretty insecure..
Dont forget to award SDN points Seeta.
Regards
Pushkar
Message was edited by:
pushkar anand -
Reciever file adapter permissions
Hi
I am trying to writing a file on remote computer using nfs reciever file adapter
I get the following error
Message processing failed.Cause com:sap.aii.af.ra.ms.api.RecoverableException: Target directory '
Hfavediqa2_0\ZIMEQCDATAIN' does not exist
The XI Server users are not in the domain of the customer
so we created a local user in the Hfavediqa2_0 with same password
so if I login with the user and password of xidadm to this server I can connent to the share
Hfavediqa2_0\ZIMEQCDATAIN and write files in this directory
how to solve this issue ? seems very stange to me
thx
ShaiHi,
Try and check if you can access the server mentioned here. ie. Hfavediqa2_0. NFS is used for files on shared directories in local network. Hence you should be able to ping this server. Simply type ping <server name/IP> and you should see the response. If you are not able to do that, then it won't be possible to reach the destination directory, hence the error. Using FTP could be alternate solution.
Thanks,
Bhavish
Award points is comments helpful -
Unzip the file archived by the File adapter
Hi Experts,
we have a scenario where we are archiving a xml file using the File adapter and also it is being zipped by the OS command.
the script not only zips the file, it also rename the file from *.zip to *.xml.
Hence after archiving when I am trying to open it, the content appears to be junk.
Please suggest how to unzip the file as it got a extension *.xml.
And I also tried renaming the file to *.zip and then to uncompress, but it shows below error
Cannot open : it does not appear to be a valid archive
Thanks in advance,
MKhi Mk,
instead of using OS command try using the exesting module provided by the SAP, so your job will be easy.
follow this steps in the module processing for UN ZIP
Processing sequence:
Module name: AF_Modules/PayloadZipBean
Type: Local Enterprise Bean
Module key: 3
u2022 Module configuration:
Module key: 3
Parameter name: zip.mode
Parameter value: unzip.
in the commincation channel specify filename.xml
so you can open the file in XML format
Thanks,
Madhav
Note:points if useful
Edited by: madhav poosarla on Aug 14, 2008 8:31 AM -
Reciever File Adapter - Temp File Name Scheme using Variable Substitution
How can I create a temporary file that uses variable substitution?
We are having a problem with files merging when we write files using the "Use Temporary File" setting on the FIle Adapter. So two independent files are merging into a single file. We are not using the "Append" setting.
We would like to use a Temp File Name Scheme that would append the message id onto the temporary file name.
Using variable substitution we created a msgid variable. When added to the temporary file name using %msgid% the temporary file name is created with %msgid% in the name instead of the actual message id. We put the variable into the "File Name Scheme" as well and the end completed file used the message id in the name.
Any Ideas?
Thanks,
MattHI Matthew,
Why are you adding the message id into the temporary file??
I understand that you want the output of the filename to contain message id .. and hence you are using variable substitution for the same.
Temporary file name will anyways get overwritten by the actual file name (here the actual filename will be using variable substituion).
So i suggest to achieve your scenario you can add any name in the temporary file and maintain the desired filename you require as output in the variable subsititution.
Temporary File Name option actually acts as a lock - unlock mechanism from PI side while the file is getting written to the file server so that while PI is writting the file no third party application batch program picks it up.
I hope this helps.
Cheers
Dhwani -
Reciever file adapter configuration for Deep structure
Hi Experts,
I have a idoc to file scenario in which i used a data type for file in below format:
DT_Test
-->Recordset(0.unbounded)
>E21DPU1(0.unbounded)
>field1
>field2
>E21DPU5(0.unbounded)
>filed 3
>filed 4
>E21DP03(0.unbounded)
>filed 5
>filed 6
Here DT_test is datatype name,Recordset is a structure name which contain E21DPU1, E21DPU5,E21DPO3 stucture inside it.Now,E21DPU5 and E21DPO3 structures are under E21DPU1.
I am confused in creating content conversion parameters i.e what we have to mention in Recordset Stucture .
I used E21DPU1,,E21DPU5,,E21DP03,* .should it work for deep structure.
Thanks
DeepakHi,
file adapter does not handle 2 level deep structures
the easiest way to do it now is to go for abap or java mapping
and create a line for each of the output lines and handle this in the file adapter
so like <line> </line>
<line>E21DPU1(0.unbounded) with fields </line>
<line>E21DPU5(0.unbounded) with fields </line>
<line> etc. </line>
Regards,
Michal Krawczyk -
Reciever File Adapter to create multiple target files
Hi All,
I have done the mapping to create multiple output messages . I would like each of the messages to be stored as a separate file in the target .
Below is the output message with 2 separate MT_CANCELOUT messages . However, both end up in one single xml file .
How do I configure the receiver file adapter to ouput 2 separate xml files ?
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1>
</ns0:Messages>Hi,
Sorry to say you that but your post show the opposite, it shows you have only one target message !
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>______<<<<<<<
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1>______<<<<<<<
</ns0:Messages>
If you want two files, you should generate two Messages, and so to do that:
In MM, in your target (tab before "function"), you should have 1 source MT and in target MT, you should have two lines (even if you use the same target MT), after having changed the ouccurence 1->N.
do the same in your operation mapping: 1->N with two receiver service interface (even if it's the same)
because you should have something like:
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1> _____<<<<<<<
<ns0:Message2> _____<<<<<<<
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message2>
</ns0:Messages>
regards
mickael
Edited by: Mickael Huchet on Dec 2, 2011 8:58 PM -
Variable substitution in reciever file adapter
will any one please help me in sloving this problem ,
i have designed my reciever structure as shown in the below
<RECORDSET>
<HEADER>
<NAME1/>
<ADDRESS1/>
<ADDRESS2/>
<ADDRESS3/>
<ADDRESS4/>
</HEADER>
<LINE>
<QTY/>
<UOM/>
<UNIT_AMT/>
</LINE>
</RECORDSET>
<FILENAME/>
an i am using variable substitution
variable name as filename
reference payload:MT_exxxxx_RECV,1,Filename,1
i am getting a error in my message monitoring
will anyone there to give me syntax for thisHi !
I suggest to use Dynamic Configuration to assign the receiver filename using an UDF in graphical mapping. This little UDF can receive as input parameter the contents of the NAME field and write it to the specific tag in the header of the message, so the adapter will use that value as filename when writting the file on the receiver system, instead of variable sustitution.
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Regards,
Matias
ps:please award points if helpful. -
Purpose of adapter specific message atributes at sender,reciever file adapt
hi.
i want know birefly about adapter specific message atributes at sender ,reciever adapters.
and what would be the result if we enable this adpspecmessatb checkbox
waiting for your response.
bye.
regards.
seeta ram.hi santosh .
thanks for yor your answer.
but when i mapped constant a to the udf and mapped to target and while iam testing i got the error like
10:38:30 Start of test
Compilation of MM_SapIsuTo3rdpartyAccountStatementExtraction successful Runtime exception during processing target field mapping /ns0:MT_SapisuTo3rdpartyAccountStatementExtraction/accstmtdetails/body/status. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_ method filename$[a, com.sap.aii.mappingtool.tf3.rt.Context@421badd8] com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:MT_SapisuTo3rdpartyAccountStatementExtraction/accstmtdetails/body/status. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_ method filename$[a, com.sap.aii.mappingtool.tf3.rt.Context@421badd8] at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:350) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_ method filename$[a, com.sap.aii.mappingtool.tf3.rt.Context@421badd8] at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:282) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:282) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: java.lang.NullPointerException at com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_.filename$(_MM_SapIsuTo3rdpartyAccountStatementExtraction_.java:119) ... 26 more RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:MT_SapisuTo3rdpartyAccountStatementExtraction/accstmtdetails/body/status. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_ method filename$[a, com.sap.aii.mappingtool.tf3.rt.Context@421badd8]
10:38:37 End of test
what would be the reason for this.
waiting for u r response.
bye.
regards.
seeta ram. -
Problem Using XMLAnonymizerBean module in Reciever File adapter.
Hi All,
I am trying to use the XMLAnonymizerBean in orer to convert the encoding of my xml document from UTF8 to ISO. However when I configure the module the message goes into waiting status with an exception saying.
Exception caught by adapter framework: Object not found in lookup of XMLAnonymizerBean..
I have configured the Module in the below manner...
Module Name = AF_Modules/XMLAnonymizerBean
Module Type = Local Enterprise Bean
Under Configuration i Mention
anonymizer.encoding = ISO-8859-1.
is there any thing i am missing, I am on Xi 7.0 SP 08.
Please help...Thaks for the pointer. Now I dont get any error however i am not getting the desired o/p.
I am trying to change the header of an xml file which I am trying to write from <?xml version="1.0" encoding="utf-8"?> to <?xml version="1.0" encoding="iso-8859-1"?> , as per the help doc this could be changed using the xmlAnonymizerBean.
My output still shows utf-8, Any pointers on thiswould be really appreciated.
Thank you. -
Dynamic Filename for Reciever File Adapter
Hi All,
Can anyone answer to some of my quesries which are as follows
a) . Currently Iu2019m working on an IDOC-to-File scenario in which I need to create zip file on file server by using a payload value. I
search sdn and found a bean that can be used to create zip file which is PayLoadZipBean. Iu2019m referring the below weblog for creating file name dynamically.
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
My question is can anyone explain or provide me the step by step procedure in detail for the prerequisite which are mention in the weblog, i.e.
u201CAssuming that the following have been done and configured.
1.A value table has been created in the ABAP stack of the WAS in which XI is running and the entries as the file types, which will be written into the files are maintained.
2.Create a number range object in SNRO transaction in the same ABAP stack which will be having the sub objects as the file types maintained in the value table with their number ranges maintained. u201C
b) .Can we use all mapping techniques (ABAP, Java, XSLT and Graphical) in a single scenario if yes then how to trigger them and which one executes much faster?
c) .Can we trigger an RFC asynchronously and how?
Your help is highly appreciated and
Regards
Faisal
Edited by: Abdul Faisal on Nov 19, 2009 8:53 AMa) . Currently Iu2019m working on an IDOC-to-File scenario in which I need to create zip file on file server by using a payload value. I
search sdn and found a bean that can be used to create zip file which is PayLoadZipBean. Iu2019m referring the below weblog for creating file name dynamically.
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
My question is can anyone explain or provide me the step by step procedure in detail for the prerequisite which are mention in the weblog, i.e.
Hi Use dynamic configuration UDF to create file name dynamically.its very easy search in sdn you will find the code,even you can create file directory name dynamically.
In receiver file communication channel if you use PayLoadZipBean it will do Zipping of your message,for this you need to add this bean name additional parameters section in Receiver Channel.
If you want to create zip file based on pay load value check the condition at mapping level based on that call the service,if you not required zip file in other case for that you need to create one more file receiver communication channel.
u201CAssuming that the following have been done and configured.
1.A value table has been created in the ABAP stack of the WAS in which XI is running and the entries as the file types, which will be written into the files are maintained.
not claer,can you explain bit more
2.Create a number range object in SNRO transaction in the same ABAP stack which will be having the sub objects as the file types maintained in the value table with their number ranges maintained. u201C
b) .Can we use all mapping techniques (ABAP, Java, XSLT and Graphical) in a single scenario if yes then how to trigger them and which one executes much faster?
We can use all mappings single scenario,how mean just add the mapping names in Operation/Interface mapping.
As per my understanding Message Mapping works faster then JAVA then XSLT then ABAP,but it depends on how many lined of code you written.
c) .Can we trigger an RFC asynchronously and how?
Yes we can use RFC Asynchronous,search in sdn you will find it,if unable to find let me know.
Regards,
Raj
Maybe you are looking for
-
T400 LCD dim issue - Need help!!
I'm having a LCD dim issue with a T400. Have changed the LCD panel, LCD cable and systemboard but still having same issue. If i removed the lcd card, then the display is working fine. I've tested the lcd card in another working unit and it's working
-
How can i update my app with i tunes?not by my device.
how can i update my app with i tunes?not by my device.
-
Defaults for IT0016 for China in ECC 6.0 Version
Hi Friends, Greetings to All !! I have a requirement to default the values (Contract Type, Probationary period, EE & ER Notice Period) in IT0016 for China in ECC 6.0 Version. We tried to create these defaults through CONTR feature, but failed to achi
-
EA1 - Ability to use Search option and code collapse/Expand option in ...
Noticed the following feature which was Scheduled for Release 1.5 is missing. "Ability to use Search option and code collapse/Expand option in the Normal mode of PL-SQL Editor" This feature could save a lot of time on code reading/review/.... Thanks,
-
Make default photo program in win 8.1
How do I make elements my default program