AAE  proxy to file  configuration using IE

Hi,
I  am using PI 7.1 Ehp1 and working on ABAP prxy to File scenarios and does not involved any mapping or ESR object.
I used Integrated Configuration for the same to bypass the IE.  So it should use AAE processing for sender and receiver procssing.
For Sender-  I used  Soap as Sender and  file as Receiver.
I have applied OSS note 1334174 also for the same.
Now when I am  testing with RWB then message process successfully.  But as we are bypassing IE here and using integrated configuration and using AAE then the message should not be displayed in  SXMB_MONI and should  be available in  RWB- monitoring.
I am not able to understand  why it is showing  in SXMB_MONI  monitoring ideally it should not why  it is using integration engine.
Please correct me what I need to do  so that  it should not use IE for processing  the message.
regards
Ram

Hi,
>>>I am not able to understand why it is showing in SXMB_MONI monitoring ideally it should not why it is using integration engine.
as by testing using TEST tab in RWB you send it to IE - so not a proper way
RWB cannot be used to test local AAE flows
>>>Please correct me what I need to do so that it should not use IE for processing the message.
just run the flow from ABAP proxy to file and not via test tab in RWB and check if it works
Regards,
Michal Krawczyk

Similar Messages

  • Proxy to File transfer using the GZIP file transfer

    Hi Sdn,
    I have requirement where I need to convert the file to GZIP extension and keep it at Application layer.
    Can any one please help me how to convet the file to GZIP in file adaptor?
    Thanks
    Naresh N

    I think this option is for the normal ZIP.
    Honestly I was afraid this could be true.
    So I think there is no other option than to create your own adapter module. Find a step-by-step guide on how to create adapter modules here:
    http://wiki.sdn.sap.com/wiki/display/NWTech/CustomAdapterModuleDevelopment-SAPPI+7.1
    And a Java class that will help you compress the data stream with GZIP:
    http://docs.oracle.com/javase/1.5.0/docs/api/java/util/zip/GZIPOutputStream.html
    Hope this helps,
    Greg

  • Performance degradation when using proxy.pac file with FF ESR 31

    With Bug 923458 many people complained about a performance issue compared to other browsers when a proxy.pac file is used.
    The issue initially reported with the bug was resolved for ESR25 according to the statistics, but the general performance issue remained.
    I had the same issue with ESR24 and ESR31.3 .
    I was testing with www.bild.de.
    It took about 40 seconds to load the content completely. Without the proxy.pac file it took about 10 seconds.
    I added a few alerts to the pac-File in order to get logs within the console for some analyses.
    I found the following:
    1. the pac.file is executed for every request, no matter if the host changed or not.
    With us the pac-File checks for IP-Adresses and host-names only.
    It is not necessary to execute the pac file for each and every request to the same remote host.
    So the question is, if we are able to disable this behaviour via about:config?
    2. the content referenced by www.bild.de seems to be loaded sequentially and with a delay
    The overall time consumed by the proxy.pac file executions was about 4 Seconds compared to the 40 seconds of overall load time.
    So I checked the delay between executions of the pac-file and found an overall delay of 40 seconds. I expect that the delay between the calls to the pac-file is caused by the retrieval of contents from the remote host.
    So why are the requests executed sequentially?
    Hint: Due to the times necessary for executing the pac-file and downloading the contents from the remote host, I would expect the logs generated by my alerts to be mixed (especially if myIpAddress took 1 Second). But the log is cleanly ordered by URL. (see attachment)

    Hi guigs2,
    thanks for your response. As we only use myIpAddress once within our pac-File and only rely on dnsDomainIs(), ==-Comparisons and shExpMatch() and the sum of all pac-Executions was about 4 seconds compared to 40 seconds overall load time, I do not think that dns resolving is our issue.
    I checked the seetings of the configuration you mentioned above. It is set to "false", so the client would try the resolve the dns names. Our admin told, that we do not use socks-Proxies, only http-Proxies.
    Regarding sequential load of the contents included on www.bild.de from other web sites, I attached a screenthot.
    Please note the red highlights. These show the start time in milliseconds of the pac-execution. I added this as a kind of id which represents a unique identifier together with the URL if the log items are mixed. But they are not, instead they are cleanly ordered by URL (for all 360 pac-file calls).
    Moreover in the picture you can see the delay between the end of the last pac-file execution and the next one (blue timestamp in millisonds compared to the red timestamp of the next row saying "entered proxy.pac"). The delay sum up exactly to the 40 seconds the FF took to load the page completely.
    Alone the fragment shown represents a delay of 630ms between the pac-file executions. If the contents would be loaded in parallel, there should be no such delay.

  • Proxy.pac file not working for using proxy for selected websites

    After changing my ISP, i cant connect to Bluenest.org directly but with proxy. I can also connect by setting manual proxy server for all websites. But I dont want to do that as there is a bit security problem. I just wrote Proxy.pac files to use proxy sever for that particular website & put its location on Automatic Proxy Configuration. But its not working. I va tried with two types of .pac files. Given the code of the files below.....
    First one..........
    <pre><nowiki>
    function FindProxyForURL(url, host)
    if (shExpMatch(url, "http://bluenest.org") || localHostOrDomainIs(host, "http://www.bluenest.org"))
      return "PROXY 204.45.138.4:80";
     else
      return "DIRECT";
    </nowiki></pre>
    Second one......
    <pre><nowiki>function FindProxyForURL(url, host)
    if(!isResolvable(host))
    return "DIRECT";
    return "PROXY 204.45.138.4:80";
    }</nowiki></pre>
    but none of them working. Please help.
    Can you please tell which proxy server is fastest & safest.
    Thanx in advance

    I submitted a bug report to Apple. The problem is present since 10.9.2, now with 10.10 and iOS. I hope they will take this problem seriously.

  • Getting  error when testing Proxy to File interface

    Hi Guru's,
    While I am testing a Proxy to File Interface, using SPROXY transaction i am sending a message from  R/3 to PI.
    the message showing successful in R/3 Moni,but in PI moni I am getting the following Error..
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In this inreface, I am suppose to send the mesasage to only one Target system(ftp server) . i have checked in ID part also,
    every thing is clear in ID. Can any body please tell where the mistake might exists...
    Thanks in advance..
    Regards
    Raj

    Hi,
    No receiver could be found means Check your Receiver Determination. Activate and update cache. Asysnchronous messages can be manually restarted.
    have you seen this threads,
    NO_RECEIVER_CASE_ASYNC
    No receiver could be determined
    regards,
    ganesh.

  • Proxy to file using dynamic configuration

    Hi Frnds,
    I  have a scenario ABAP_Proxy-XI-File, here in the proxy I am getting a pdf file with xml as attachment now I need to save the pdf file to the target folder with the name availble in one of the fields of attached xml file.
    I have used Adapter specific attributes option for filename substitution but getting the follwoing error:
    Attempt to process file failed with com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
    Please anyone can help me in overcoming this issue.
    Regards
    shiva

    U have a limitation here. At XI u can read only 1 file (pdf or xml). Bcoz receiver file adapter will not support attachment. pdf is required bcoz u need to transfer it to receiver. Xml is also required bcoz the directory name is inside that xml
    The workaround could be creating an adpater module that passes the directory name as well. U should send pdf file with xml as attachment.
    If u have the dir name, then the dynamic configuration code should be like this
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,MappedDirectoryName);
    This MappedDirectoryName should be the name passed through payload. The receiver file communiation channel must have dummy dir name
    Regards,
    Prateek

  • ProxySelector does not pull proxy settings from configuration file?

    Hi everyone,
    I try to use class ProxySelector to find proxy settings on Windows XP. When a proxy server URL and port is set explicitly in the "Internet Options" control panel, this proxy setting is detected by class ProxySelector - no problem.
    When a proxy configuration file is set in the control panel, class ProxySelector returns no proxy setting (i.e. DIRECT) - PROBLEM
    (yes, the configuration file works otherwise, i.e. the proxy is pulled when using Firefox or Internet Explorer
    and yes, the proxy works too, i.e. when using the proxy url and port directly, HTTP can be used in Java too).
    Does anyone have a hint on how to find out the proxy server url and port to use for HTTP out of Java, when the proxy is set through a configuration file as described above?
    Thanks a lot for any help
    Ulrich

    Hi again,
    I found a solution in the mean time: ProxySelector does return the local "browser settings" for a proxy server (i.e. proxy type and address) when an application is started with Java Web Start. When started with Java Web Start, a correct proxy type and address is also returned, when a ".pac" file is set in the browser settings.
    So, when an application needs to determine a proxy configuration, although it might be started locally one needs to create a JNLP file and launch respective application (locally) using Java Web Start.
    Ulrich

  • Client proxy to file(xml) scenario configuration

    I have done client proxy to file (xml) ,while executing abap code there is no error, but xml msg is not received in particular target directory. so i want to know about 1. What are the configuration required for client proxy to pi(with T.Code).
                                                           2.how to monitor client proxy in ecc and pi.
    please reply me

    1. What are the configuration required for client proxy to pi(with T.Code).
    step1:
    1.       Create a HTTP connection in the business system using transaction SM59
    Technical Setting & Logon Security details:
    u2022         Connection Type: H
    u2022         Target Host: System name
    u2022         Service Number: HTTP Port name
    u2022         Path Prefix:
    step2:
    2.       Configuration Business system as local Integration Engine.
    1.       Go to Transaction SXMB_ADM
    2.       Choose Edit --> Change Global Configuration Data.
    3.       Select Role of Business System: Application system
    step3:
    check maintain SLD Access data / not by using T.C  SLDAPICUST
    SLDAPICUST->check  XI Server is it activate/not
    step4:
    4.test LCR Connection by using SLDCHECK.
    2.how to monitor client proxy in ecc .
    trigger the report by using T.c se38 and check the status in SXMB_MONI in ECC.
    Edited by: bhavanisankar.solasu on Feb 13, 2012 11:09 AM

  • Proxy to File using EOIO

    Hi Experts,
    I have a scenario where I need to send data from SAP to PI so I am using proxy to file scenario. Here i need to send huge amount of data.
    In some blog i saw that proxy can handle only some maximum amount of data.(but not 100% sure how much size of data the proxy can handle)
    So i decided to call the proxy multiple times by sending only some 'n' no. of records and kept the receiver file adapter in append mode.
    The problem here is the data is not appending in the order in which i am sending from SAP. In sxmb_moni the messages were showing the QoS as 'EO'.
    Is it possible to change the QoS to EOIO?
    Thanks & Regards
    Stephen Rouvier

    From SAP documentation:
    "The sender of a message uses the attribute Quality of Service (QoS) to determine how a message is delivered"
    hence ..as the File adapter supports all Qos, the Proxy can be called with Qos EOIO and the adapter will maintain the Qos as requested.
    You should how ever try and send the data in a bulk and see how the Proxy handle it.
    What is the nature of the data exported and for what purpose?

  • Need to use BPM for proxy tp file

    Hi All,
    i am using proxy to file . in this i taking the hole data from sap tables and sending to file.
    i am sending from R3 side is near abt more than 100KB so it is not reaching to pi it failing it self in R3 side.
    for this can we use pi andfor this can i spilt the source message into 50KB ,50 KB and then collect into BPM and send it to in one file.
    Regards
    Edited by: gangadhar kh on Dec 7, 2009 12:10 PM

    Hi Gangadhar,
    Performance wise we don't suppose to send that large amount of files at a time through XI, what we can do is we have to split those large messages into smaller messages and send to PI and sap recommended this.
    Check this links
    /people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0036274150DB10726721545819601349End?blog=/pub/wlg/14425  (check second option here)
    /people/udo.paltzer/blog/2008/11/03/real-life-customer-examples-for-high-volume-scenarios-with-sap-netweaver-process-integration
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0036274150DB10726721545819601349End?blog=/pub/wlg/5899  - (Zipping the file after receive unzip the file)
    Regards
    Ramesh

  • Creating/Using Proxy media files

    Hello everyone.  Apologies if this is painfully obvious - but just made the transition to FCPX and trying to wrap my head around some things-
    I've imported video to a number of Libraries. (I really have to fight hard not to call them Projects)
    As I didn't completely understanding all of the import settings, I made Optimized video along with the Original media.  Ok, no big deal.  The files take up a bit of space, and because of the nature of the project (lots of talking head interviews) not sure I really need Optimized video, but wasn't too concerned.  I'll know for next time that I don't want to check that box, unless I really need the Optimized video.
    My question is -
    If I wanted to make a copy of my media files to a portable HD, work with these files off site with the same Library that is on my Macbook Pro, make logging notes, selects, maybe even creating a Project or two, and then return  to my office where I would re-connect the original media files located on the office-bound hard drives, what do I need to do to ensure that this will work properly?  
    Secondarily, would it now make sense to create the Proxy files to use for this purpose?  Is this not what these files are normally used for?  Smaller, and more easily taken on the road and edited, and then the Library will re-connect everything to the original files once re-connected to the drives that contain the original media?
    I am sure there must be a best practices, or right way to do this…I just don't know it. 
    As always, thanks for  everyone's collective wisdom. (and for not shaming the dumb guy)

    Before you import files change the media location to place outside library. (Select library go to inspector press modify settings, change media location)
    Or, if files imported, consolidate files outside library. (Select library go to inspector, select outside location and press consolidate. All you media files move to selected folder.)
    After this, change media location to inside library and generate proxy files.
    Now you have original media outside library and proxy inside. Copy library to any location, edit in proxy.
    And send project/library/event by XML (select target file->export XML, and file->import->XML)
    also, you can delete generated files: select you library file->delete generated library files

  • Problem with Configuration in Production ( ABAP Proxy - XI - FILE)

    Hi All,
    I have a ABAP Proxy -> XI -> FILE scenario wich is working perfectly in DEV and QAS environment.
    When the person responsible for transporting tried to transport the objects in QAS to PRD, the following error happened:
    Direction of communication channel |BS_MA_FileServer_PRD | CC_File_PedidosServ_MA_FileServer_IA is incorrect.
    Correct the direction or choose another communication channel
    BS_MA_FileServer_PRD - Business System (FILE)
    CC_File_PedidosServ_MA_FileServer_IA  - My FILE Communication Channel
    This was what the Basis person sent to me. I don't have access to know exactly what happened. And I really don't know what could be wrong or if maybe a component was created wrongly in Production.
    Hope you can help.
    Points will be given.
    tks.. Daniela

    You have mentioned FILE is on the receiving side and ABAP proxy is on sender side.
    But the error pasted by you clearly shows syntax of a Sender Agreement .
    For receiver agreement it should be |<Sender Service>| |BS_MA_FileServer_PRD | CC_File_PedidosServ_MA_FileServer_IA
    Bipin

  • Target file name using Dynamic Configuration

    Hi,
    Currently we have requirement Idoc to File interface.In this scenario if one field exists infile then we have to check and we need to create update directory and  if it is not exist then we should create one more  directory and upload files over there there files should create with timestamp. Since,File system using Sql database so we have used JDBC lookup to check that particaluar field  and if it exists we are passing update to UDF if it is not then we are passing constant Create to that. If we use Adapter Specific Message Attributes  then in reciever side file Communication Channel addtimestap will it consider or do we have to write anything in Udf it self? Could anybody explain on this?Please provide some sample udf .
    Thanks ,
    Aparna.
    Edited by: aparna_karnam on Dec 24, 2011 11:44 AM
    Edited by: aparna_karnam on Dec 24, 2011 11:52 AM

    Hi,   
            I have added little changes to the code you have written, to meet your expectations
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,"/sap-dev/" +a);
    DynamicConfiguration conf1 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    string filename=conf1.get(key1);
    final String DATE_FORMAT_NOW = "dd-MM-yyyy_HH-mm-ss";
    String s;
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat(DATE_FORMAT_NOW);
    java.util.Calendar cal = java.util.Calendar.getInstance();
    s=sdf.format(cal.getTime());
    filename=a+" "+"User_"+s+".txt";
    conf1.put(key1,filename);
    return " ";
    So if value of input variable "a" is "update" then the target directory will be "/sap-dev/update" and the file formed will have name "update User_26-12-2011_01-20-50.txt", of course the date and time values will change depending on server settings. I just showed a sample. one more point, the directory will not be created, you have to create the directories before you run the scenario, only the final directory will be decided depending on value of variable "a". In case you wanna create new directory if directory is not pre-existing then try ticking  on "Create Target Directory" option under "file access parameters" in communication channel. (I have never used this option u can have a try. )
    Now coming to your queries
    1. But whether file type txt automatically it will take or do we have to give in udf it self ?
    ans) You have to put the value in UDF as I have done in code.
    2.    how it will consider timestamp ?
    ans) This has been generated in UDF itself.
    3.  how i can give file extension .txt?
    ans) same as ans 1
    4. And also in Receiver Communication Channel under Adapter Specific Message attributes we have option of file type how it works?
    ans) File type determines is the file you are going to write is of type "text" or "binary". From "Processing Parameters" tab you can select this from drop down menu in communication channel or you can set it through ASMA properties in similar manner as you have done for file name and directory name. For more details refer to http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
    Finally few more points I would like to add
    1) you have  not mentioned the operating system of the server where file is going to form. In case its UNIX/LINUX you are not allowed to use space in the filename. you can consult these links before you decide on file name and directory name in the UDF mentioned above
    http://www.med.nyu.edu/rcr/rcr/nyu_vms/unixfileanddirectorynames.htm     (UNIX)
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#naming_conventions  (WINDOWS)
    2) you can alter the string "DATE_FORMAT_NOW" as per your requirement so  that the timestamp appears in the way you want. I have just showed a sample.
    3) Plesae do not forget to tick on the options "Use Adapter-Specific Message Attributes indicator", "Fail If Adapter-Specific Message Attributes Missing", indicators "File Name" and "Directory" under "Define Adapter-Specific Message Attributes." in receiver communication channel.
    Hope this solves your problem.
    Wish my dear forum members and users of SDN
    Merry Christmas and Happy new year (in advance)
    Regards
    Anupam
    N.B:- I initially forgot to add the ".txt" part to the file name. I made necessary corrections in code now.

  • Configuring using AAEI have been going through the following document. http

    I have been going through the following document.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700058f0-b1a1-2a10-39a8-ab2627b87cfa?quicklink=index&overridelayout=true
    1. I have a JMS to Proxy scenario async. How do I make this scenario configured using Integrated configuration in 7.11 using AAE to improve the performance of this scenario?
    I know it is not supported by Proxies?
    Plz let me know the steps required for the same?
    2. I have a file to Proxy scenario - Async. Can I configure the same using integrated configuration scenario?
    Thanks
    ~N

    Hi
    Please check the following links for AAE with proxy
    ABAP Proxy sender possible in integrated configuration AAE with PI 7.11
    /people/makoto.sugishita/blog/2009/10/23/a-new-feature-in-netweaver-pimessage-protocol-xi-30-in-soap-adapter
    Regards
    Abhijit

  • Error in mappingwith dynamic configuration using udf

    Hi All,
    Good Morning,
    i am working with ABAP proxy to file scenarion but here according my client requirement i am using udf for file dynamic configuration.
    In mapping, i mapped the field from "Filename" to message type tag(receiver file header)  "/ns0:MTxxxxxxDataFile". between there two fields i am using the following udf for dynamic configuration. but i got error after testing with test data in mapping that is also mentioned below.
    plz help me to solve the error. i will be wait for ur immediate response this sis very urgent.
    very thankfull to immediate response.
    UDF:
    i am not puting any packages here.
    public String putFileNameInHeader1(String a,Container container){
    //write your code here
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, a);
    return "";
    ERROR:
    12:21:30 Start of test
    Compilation of MMSAPLegacySalesDataToCOGNOS successful Runtime exception during processing target field mapping /ns0:MTCOGNOSLegacySalesDataFile. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MMSAPLegacySalesDataToCOGNOS_ method putFileNameInHeader1$[cd00000038, com.sap.aii.mappingtool.tf3.rt.Context@f300f30] com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:MTCOGNOSLegacySalesDataFile. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MMSAPLegacySalesDataToCOGNOS_ method putFileNameInHeader1$[cd00000038, com.sap.aii.mappingtool.tf3.rt.Context@f300f30] at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:350) 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:313) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136) 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(AccessController.java:215) 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._MMSAPLegacySalesDataToCOGNOS_ method putFileNameInHeader1$[cd00000038, com.sap.aii.mappingtool.tf3.rt.Context@f300f30] at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.calculateCurrentValue(FunctionWrapper.java:83) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.cacheValue(FunctionWrapper.java:59) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.gotoNextContext(FunctionWrapper.java:37) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:252) 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:313) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136) 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(AccessController.java:215) 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:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.calculateCurrentValue(FunctionWrapper.java:75) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.cacheValue(FunctionWrapper.java:59) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.gotoNextContext(FunctionWrapper.java:37) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:252) 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:313) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136) 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(AccessController.java:215) 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._MMSAPLegacySalesDataToCOGNOS_.putFileNameInHeader1$(_MMSAPLegacySalesDataToCOGNOS_.java:853) ... 26 more RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:MTCOGNOSLegacySalesDataFile. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MMSAPLegacySalesDataToCOGNOS_ method putFileNameInHeader1$[cd00000038, com.sap.aii.mappingtool.tf3.rt.Context@f300f30]
    12:21:35 End of test

    Hi Sai,
    First of all, this UDF is pretty well knaown so there is no error in this UDF or your configuration for this UDF. I can suggest you something that at the time of configuration in IR, give a context object for that particular field of that file and then use the contect object name everywhere to refer that field. and also check the message type config for correction for my sake.
    There is also a possibility that of the input data. i guess you are sending the input file from Cognos and you making the file and putting some where in XI directory and want these to process something and generate with some new desired filename. Check the input because i guess its finding NOTHINg as an Input. check once again.
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : Reward points if helpful.

Maybe you are looking for

  • Error with iTunes 7.1

    I just upgraded to 7.1 and when I try to get onto iTunes, this erroe message comes up: Problem with Shortcut: This action is only valid for products that are currently installed." what does this mean? better yet, can anybody help me fix it? thanks

  • Question about using Functions in BC4J

    I know that it is possible to call a store procedure from a ViewObject using a DataWebbean can I do the same thing but calling a function. Please I need to know, as soon as possible because I am working on it.

  • Don't understand why TimeMachine stops before end of backup

    Hello, I wish I use TimeMachine to backup my computer. When the TimeMachine process starts, the dialog box with the progress bar says "saving xxx/93Mo". However, the backup process stops by itself at 65 Go (!!) and the Console says the data were save

  • Problem passing a XML parameter

    Mrs, I need to pass a XML parameter from an OAF page to an external page. Below there is a piece of code where I did it at first (through parameters - GET). The problem: the XML has a variable length, so it can be bigger than GET limits. How could I

  • Converting .rdf data model to xml output thru conc program

    Dear Members : I am trying to convert .rdf data model(Reports 10g) into XML tag, by creating Concurrent Program Report Definition, setting output type as XML.But when running the CP, getting following error: XML Parsing Error: XML declaration not wel