Reciever File adapter

HI,
I am doing a mail(attachment)-xi-file scenario.
The message structure on the source side is :
Lead code:12929
Order ref: sp/jaksd/1212
order type: S
Item code                      Qty
1221231                        123
1212232                         78
Please help me and tell what will be the  File content conversion parameters on the file receiver side of the scenario.

hi priya,
.......<?xml version="1.0" encoding="UTF-8"?>
.......<ns0:MT_File_1 xmlns:ns0="http://bajaj.com/mailtofile"><dealerCode>10424</dealerCode><orderRef>SP/174 DT.18/12/2007</orderRef><orderType>R</orderType><itemdetails><itemCode>30151106</itemCode><qty>40</qty></itemdetails></ns0:MT_File_1>
by looking at your structure I feel record name is missing.
in general record structure should be as follows...
<root>
  <recordset>
   <field1>
   <field2>...
</recordset>
</root>
<root> is message type and <recordset> is a row. Here in your structure recordset is missing.
if you mensioned this record set in your structure the following can be your content conversion parameters.
Record structure : recordset
dealerCode.fieldFixedLengths
orderRef.fieldFixedLengths
orderType.fieldFixedLengths
itemdetails.itemCode.fieldFixedLengths
itemdetails.qty.fieldFixedLengths
I am not sure about the last two but try
regards,
Pavani

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 more

    HI,
    Refer this link. It gives solution to the above problem.
    http://help.sap.com/saphelp_nw04s/helpdata/en/5c/2f2c4142aef623e10000000a155106/content.htm
    Regards,
    Sudheer.

  • 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]

  • 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
    Shai

    Hi,
    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

  • 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,
    Matt

    HI 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
    Deepak

    Hi,
    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 this

    Hi !
    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 AM

    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.
    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

  • FCC in reciever File Adapter to supress a field  output

    Hi All ,
                  I am doing IDOC to File interface , and i also doinf variable substitution , so in target file structure i have a field called FileName , which is also coming in my output , even though i am not giving the name of the field in the  HEADER.fieldNames, anyone please helpp me regarding for this
    thanking you
    Sridhar

    Hi,
    remove field FileName from target msg structure............in ID, in reciver file adpater, remove variable substitution and to get the filename dynamically, in revier file adatper, check the option Adpter spcefic msg attributes and in it FileName........then in msg mapping, create a UDF and in it using Dynamic Configuration, set the filename and map this UDF output to a header target node.........
    Regards,
    Rajeev Gupta
    Edited by: RAJEEV GUPTA on Feb 6, 2009 9:40 AM

Maybe you are looking for

  • Cisco Forward and Call return to Voicemail on CUCM 8.5 question

    Hi, I have a user A that requires the call forward when busy/no answer to another extension B. If extension B is busy/no answer, A wants call to be returned to his voicemail. Unfortunately User B has also a call forward to another extension c, so cal

  • Aperture 2: malfunction when adjusting image date and time

    Hello, When I'm adjusting date and time for a group of images the following malfunction occurs: The time is shifted by the difference between first and last image into the past, if the first image is the active one and into the future, if the last im

  • HT2589 Help please - payment options in App store on iphone5c

    I have a new iphone5 - my first Apple product. Set up my Apple ID to download free apps. Registration requires a credit card. There is no "none" option as mentioned in previously posted instructions. There is no Paypal option either. Help???

  • Getting null returned when working with Linked Lists

    Ok, i'm having the same problem with a couple of methods that deal with linked lists, and i was hoping someone could lend me a hand. First off, the specifications for one of the methods: An iterative procedure smallElements PARAMETERS: a ListItem ref

  • Song as my ringtone

    is there any possible way that i could make a song as my ringtone? if possible, how?..