Does the 'CallSapAdapter' adapter module perform the FCC?

Hello,
I have a scenarion where
Step 1 - An encrypted file has to be picked by the sender file channel
Step 2 - It has to be decrypted (we have developed an adapter module for doing this, so no problem with that)
Step 3 - It has to be FCC'ed (since it is a flat file) before sending it to the Integration Engine.
To execute these 3 steps sequentially, I have configured the Sender File Channel in the following way
Setting 1 - I have configured the necessary FCC parameters
Setting 2 - In the 'AdapterModules' tab, I have placed my custom developed decrypter adapter module first followed by the default 'CallSapAdapter' adapter module.
My question is, will the above setting suffice for carrying out my steps 1 - 3 in the correct order.
Basically I need to make sure that FCC is done only after decrypting the file.
So I need to confirm if FCC is being taken care by the 'CallSapAdapter' module.
Can anybody help me here plese?

Hi,
File adapter will check the FCC function first.So you will get error that time.Because you have encrypted data.So use the "MessageTransformBean"module for FCC.
Step 1 - An encrypted file has to be picked by the sender file channel
Step 2 - It has to be decrypted (we have developed an adapter module for doing this, so no problem with that)
Step 3-MessageTransformBean
Step 4-'CallSapAdapter' adapter module
Check the bellow link for "Message Transform Bean".
[http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
Regards,
Prakasu.M

Similar Messages

  • ModuleData.getPrincipalData returns null in the adapter module development

    Hi gurus,
    i am doing a test on the adapter module development following an article written by William Li:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ac06cf-6ee2-2c10-df98-e17430ca5949?QuickLink=index&overridelayout=true
    my problem is after the EJB has been deployed, it seems that the return of inputModuleData.getPrincipalData() is always null which makes the program can not get the xml payload from the framework.
    the main process of the example has been simplified like this:
         public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException {
              Object           obj = null;
              try {
              obj = inputModuleData.getPrincipalData();
              Message     msg1 = (Message) obj;          
                    XMLPayload xmlpayload = msg1.getDocument();}          
              catch (Exception e) {
                   ModuleException me = new ModuleException(e);
                   throw me;
              return inputModuleData;
    after deployed, i get the following error in the adapter monitor of RWB: (my JNDI is testtest)
    17.02.2012 17:13:44.643 Information Send binary file  "test8.xml" from FTP server "10.18.48.150:/encrypt_test/", size 206 bytes with QoS EO
    17.02.2012 17:13:44.644 Information MP: processing local module localejbs/CallSapAdapter
    17.02.2012 17:13:44.644 Information Application attempting to send an XI message asynchronously using connection File_http://sap.com/xi/XI/System
    17.02.2012 17:13:44.645 Information Trying to put the message into the send queue
    17.02.2012 17:13:44.648 Information MP: processing local module localejbs/testtest
    17.02.2012 17:13:44.648 Error MP: exception caught with cause java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getDocument() of an object loaded from local variable 'msg1'
    whereas if the code has been changed like this:
         public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException {
              Object           obj = null;
              try {
                   obj = inputModuleData.getPrincipalData();
                   Message     msg1 = (Message) obj;     
                   if (obj != null )
                        XMLPayload xmlpayload = msg1.getDocument();
              catch (Exception e) {
                   ModuleException me = new ModuleException(e);
                   throw me;
              return inputModuleData;
    the file can be read by the file adapter.
    i just quite confused that why the return of the getPrincipalData() is null? where is the problem? thanks
    Edited by: Stephen Xue on Feb 17, 2012 5:22 AM

    I'm gonna reply to myself here. I changed the processing sequence of the adapter modules in the  in the FileSender channel so that my module comes first then CallSapAdapter. Then getPrincipalData() contains the message.
    Hope this helps someone else.

  • Does the Aironet 3600 can be used in France (5ghz) ? What is the PSU voltage ? Hwic module equivalent exist ?

    Hi,
    Does the power supply from aironet 3600 series, AIR-CAP3602I-A-K9 is compliant with french voltage ?
    Is it 110-220 input ? How to have a standart french plug or adapter if i bought this item in US ?
    Does this hardware can be used in France regarding authorized wireless frequency 2.4 and 5 GHz (802.11a/b/g/n/ac) ?
    Do you know if it exist any kind of HWIC module with same wireless performance that it can be used with G2 ISR Router (19xx/29xx/39xx) or previous generation ISR (18xx/2xx/38xx) ?
    Best Regards.

    Does the power supply from aironet 3600 series, AIR-CAP3602I-A-K9 is compliant with french
    If you enable this AP, you are likely breaking French law.  This AP is configured to be use with "-A" Regulatory Domain.
    France should be using "-E".
    Power supply issue ... 3600 will work with 15.4w PoE as long as you don't add modules.  If you do, you need 20.0w PoE.
    You have three choices:  PoE switch, Power Injector 3 or Power Brick.
    Edit:  Just re-read your post about "802.11a/b/g/n/ac" so this confirms you need 20.0 PoE.  So the same choices are still applicable:  PoE+ switch, Power Injector 3 or Power Brick.

  • Value mapping in the adapter module

    Hi all...
    There was been alot of writing about value mapping in many different ways.
    But I have not been able to find help about doing the lookup in the adapter module.
    Has anyone tried this?
    Regards Peter

    Hi,
    In this case you can perfrom a RFC Lookup, but, from an Adapter Module, you would need to use the concept of JRA to do the same.
    Amol Joshi has described how he called the Alerts RFC from the adapter module in these blogs and you can apply the same logic for your case as well to trigger the RFC from your module, get the data and then do the needful.
    /people/amol.joshi2/blog/2006/11/27/alerts-from-adapter-modules--the-jra-way
    /people/amol.joshi2/blog/2006/11/28/alerts-from-adapter-modules--the-jra-way-part-ii
    Regards
    Bhavesh

  • Determine the adapter type in adapter module

    Hi All,
    How can I determine with in a adapter module (custom developed) which adapter type the message is currently being processed? I was planning to use the method Message.getProtocol() and according to the documentation this returns
    "Returns the protocol of this message (i.e. message format)"
    The result of this method is always "XI".
    I want to have a generic module for file and soap adapters. With in the module, I want to perform a different set of operations depending on the adapter type.
    Any inputs are highly appreciated.
    Thanks
    Jai

    Thanks Stefan. I am able to get the adapter type now.
    I am using
                  CPAFactory factory = CPAFactory.getInstance();
                  CPALookupManager lookup = factory.getLookupManager();
                  String strChannelId = moduleContext.getChannelID();
                        Channel channel = (Channel) lookup.getCPAObject(CPAObjectType.CHANNEL, strChannelId);
                        adapterType = channel.getAdapterType();
    Regards
    Jai

  • Does the "Mini DisplayPort to VGA Adapter" work with all Samsung tv models?

    Does the "Mini DisplayPort to VGA Adapter" work with all Samsung tv models?

    It's a VGA adapter. Nothing special about that. If your Samsung monitor supports VGA then it will work.
    But why not go completely digital and use a Mini DisplayPort to HDMI adapter to skip the analog conversion? It also supports passing audio over HDMI.
    About Mini DisplayPort to HDMI adapters

  • Does the iPhone 4S support HDMI- OUT via the digital AV adapter?

    Does the 4S support HDMI ->OUT via the digital AV adapter or not?  I read that it does (whether it be mirroring, YouTube video playback, movie playback, etc.) but I'm not having any luck.  I recently tried my AV adapter (that I normally use with my iPad 2) but I get nothing.  When I power cycle the phone after connecting the adapter, I get a error stating that the "accessory is not supported by iPhone".  When I go to play a YouTube video, it shows up on the phone's screen for a second and then disappears.  The LCD TV I am connected to never prompts me for the detection of a new HDMI device being connected" either, do I have no clue what's going on.
    Any ideas? Thought?
    Any help to solving this riddle once and for all would be appreciated.
    Thanks and Happy New Year!!
    Andy
    P.S. - my 4S is running iOS 5.0.1 and is a Verizon 16gb model.

    The model number on the adaptor is A1388. The link is here:
    http://store.apple.com/us/product/MC953ZM/A?fnode=MTc0MjU4NjE
    I have the iPhone 4s, running 5.0.1 (9A405)
    I have also experimented with sequence, and I see no particular order needed to make it work. Generally I get it all plugged in and then swipe the iPhone and in a few moments, the screen appears in mirroring mode. Then if I go to Videos I can play my clips with sound, or I can do Keynote presentations, etc.
    So sorry to hear you're having trouble. I imagine you've already double-checked that you're seating it solidly in the dock connector and have a good, working HDMI cable. I am not sure what you mean in your original post about "powering up" the phone. It might also be some Verizon issue, though I don't know what that might be. Is your AV adaptor the Apple branded one?

  • HT3382 Does the Apple MiniDisplayPort to VGA adapter allow me to connect a VGA DLP projector as a display?

    I want to connect my MacBook Pro i7 that has a mini Dsiplay Port/Thunderbolt port. I want to connect it to my VGA NEC LT20 DLP Projector.
    I have the Apple MiniDisplayPort to VGA adapter, MB5727Z/A, Model Number A1307 and the computer does not recognize the NEC LT20, nor does the LT20 recieve the MacBook Pro as a computer or other source.
    My previous MacBook Pro core duo with DVI to VGA adapter worked fine with the projector.
    Is this because the Apple  MiniDisplayPort to VGA adapter is only for computer to VGA video displays?
    Is there another adapter that will allow me to use my particular VGA proejctor with my MacBook Pro?
    Has my replacing the old computer with the newer one forced me to shell out big bucks to for another projector, thereby making my ability to give educational lectures for free to audiences impossible?

    When you plug the projector into the computer, with the projector on, dose the computer reconize a second a 2nd display is connected?
    ie: Menu bar, click on the Apple menu, chose System Preferences, click on displays, do you see an arragment tab?
    if you do see an arragment tab, try clicking gather display windows. a window should pop up for the projector. What resolution is it set to? is there a lower resolution you could set?

  • Does the video adapter output both S-Video and Composite simultaneously?

    I have a multi-zone receiver which converts S-Video to component for the main zone and passes S-Video signals through to zone 2 but does not convert them to composite which is how that zone is set up. I solved a similar problem with my DVD player by connecting both the component output and composite output of the DVD player to the receiver allowing high quality viewing in the lounge room and passable viewing in the bedroom.
    I realise the quality from the adapter is questionable particularly for composite but I'm still interested if both S-Video and composite signals are output from the MBP 17" via the adapter simultanesouly.
    Thanks,
    Max.

    I have a follow-up question which may help answer the original question. Does the MBP have to detect the external display when connected via S-Video/Composite in the same way that it has to when connected via DVI? My Dell notebook had so much trouble detecting composite and S-Video connections that eventually I gave up so I'm a little "once bitten twice shy" on this. If the MBP doesn't attempt to detect the external display via S-Video or composite then it must output both S-Video and Composite signals continuously (which would be great).
    Thanks,
    Max.

  • Does the Thunderbolt to Firewire adapter work on windows?

    I'm planning on buying an Asus G55VW-DH71 gaming laptop, which has a thunderbolt port. I would like to be able to control my PreSonus digital audio mixer with it, and unfortunately, it only has a firewire for connecting to it. So, I would want to connect Apple's Thunderbolt to Firewire adapter into the laptop and the mixer's firewire cable.
    Does the adapter work on windows 7/8?
    Also - getting a macbook is out of the question.

    I have pretty much the same need as you and purchased a HP laptop with Thunderbolt port and Windows 8.  I also picked up the Apple Thunderbolt to Firewire adapter.  I have been unable to get Windows to detect the Firewire side of the adapter.  Windows 8 seems to pick up the Thunderbolt controller correctly and shows it as an extension of the PCI express bus.
    I have found no set of drivers that I can add that will get the Firewire side to be recognized by Win8.  Win 8 should have 1394b drivers native, so I don't know what the problem is.  I wish I could get this to work, because I just don't have the option of getting a MacBook for the things I need to do.
    Right now the only other Thunderbolt to Firewire option on the horizon seems to be the Belkin Thunderbolt Express Dock, but that has 2 problems.... 1, it is still in pre-order and 2, it is ~$300.
    Mike

  • Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running google maps app on the phone. Siri cannot seem to get me to a specific address. Where does the problem lie? Thanks.

    Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running Google Maps app on the phone. SIRI cannot seem to get me to a specific address. Where does the problem lie? Also can anyone tell me the hierarchy of use between the Apple Maps, SIRI, and Google maps when the app is on the phone? How do you choose one over the other as the default map usage? Or better still how do you suppress SIRI from using the Apple maps app when requesting a "go to"?
    I have placed an address location into the CONTACTS list and when I ask SIRI to "take me there" it found a TOTALLY different location in the metro area with the same street name. I have included the address, the quadrant, (NE) and the ZIP code into the CONTACTS list. As it turns out, no amount of canceling the trip or relocating the address in the CONTACTS list line would prevent SIRI from taking me to this bogus location. FINALLY I typed in Northeast for NE in the CONTACTS list (NE being the accepted method of defining the USPS location quadrant) , canceled the current map route and it finally found the correct address. This problem would normally not demand such a response from me to have it fixed but the address is one of a hospital in the center of town and this hospital HAS a branch location in a similar part of town (NOT the original address SIRI was trying to take me to). This screw up could be dangerous if not catastrophic to someone who was looking for a hospital location fast and did not know of these two similar locations. After all the whole POINT of directions is not just whimsical pasttime or convenience. In a pinch people need to rely on this function. OR, are my expectations set too high? 
    How does the iPhone select between one app or the other (Apple Maps or Gppgle Maps) as it relates to SIRI finding and showing a map route?  
    Why does SIRI return an address that is NOT the correct address nor is the returned location in the requested ZIP code?
    Is there a known bug in the CONTACTS list that demands the USPS quadrant ID be spelled out, as opposed to abreviated, to permit SIRI to do its routing?
    Thanks for any clarification on these matters.

    siri will only use apple maps, this cannot be changed. you could try google voice in the google app.

  • Can I use my mac book pro with 120 volt and 240 volt power supplies?  Does the power converter automatically switch, so I just need a different adapter plug?

    I got my mac book pro in the U.S., but I will be travelling to where there is 240 volt power.  Does the mag safe power adapter switch automatically, so I just need a converter plug, or do I need a transformer to convert from 240 to 120 volts?  Thanks.

    Hi,
    I too bought my Macbook Pro in the US and I live in the UK (its so much cheaper in the US! No 20% VAT!)
    The power adapter does work on UK 230v power. You can also get a three pin extension lead (like the 2 pin US one that came with the MBP) for about £3 with free delivery from Amazon UK.
    Another tip, whne you are back in the UK, and you are switching from a PC to a Mac, get in touch with your local Apple Shop who run one to one free courses on how to use your MBP.
    Hope This Helps!!

  • Setting the charset from an adapter module

    Hi folks,
    I'm trying to set the charset encoding of a payload using an adapter module (I know there is a TextCodepageConverterBean, but I want to set the charset for a message that hasn't one yet). The problem is probably more clear using an example.
    I output a UTF-8 flat string from my message mapping to the adapter framework (mail adapter in my case). Afterwards I want to convert this UTF-8 string to an ISO-8859 encoding with the TextCodepageConverterBean. But if I set the charset using the setContentType() function of my TextPayload object the information gets cut away. I'm using the format
    setContentType("text/plain;charset=utf-8;name=Test.txt")
    . But everything after the first semicolon is dropped. Setting the charset using the MessageTransformBean works, but I want to avoid this by all means, as I need to set the mime type from the adapter module.
    This is running on NW2004 with SP 16 and the latest patch.
    Any idea, why the MessageTransformBean works and not the setContentType call?

    This bug will be fixed with SP20.
    Regards
    Stefan

  • Retrieving the file name in the adapter module in the sender file adapter

    hi,
    i need to retrieve the file name, in the adapter module. This module is placed in the sender file channel.
    After the file adapter has picked up the file from the file directory, the file is placed in the archived directory.Custom adapter mofule is place in the file shanel. i need to retrieve the file name of the file in the adapter module. Is it possible to retrieve the file name?
    Also is it possible to retrieve the archive directory path in module?
    Regards,
    Meenkashi

    Hi Meenakshi,
    I guess you are looking for this
    /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
    Regards
    Suraj

  • Adapter Module Error-Sending excel file as an attachment of the mail

    Hi ,
    My scenario is as follows
    1)I am sending an excel file as an attachment of the mail.I need to read that excel attachment as a payload.
    So mail adapter is used in sender side.
      To configure this, have used standard PayloadSwapBean  module with proper module key.
      Next to convert excel to XML another custom adapter module is being used.
    Both this adapter module , I configured into the CC of sender mail adapter.
    The order in which adapter modules are being used in the sender CC are as follows
    1)localejbs/AF_Modules/PayloadSwapBean
    2)localejbs/MDPExcelToXMLConversion
    3)sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    MDPExcelToXMLConversion-Custom adapter module written to convert excel to xml.
    I am getting the following error
    exception caught during processing mail message [4899]com.sap.aii.af.lib.mp.module.ModuleException
    And also,
    no messages in coming MONI of PI.
    Pls suggest what to do.
    Thanks
    Ayan

    Shabarish,
    Will the ordering in which the adapter modules(In this case there are two-PayloadSwapBean & MDPExcelToXML) are appearing into Module tab of sender adapter matter?
    Firstly, what is happenning
    1)If I take out the custom  adapter module MDPExcelToXML and put only PayloadSwapBean  then it is successfully converting mail attachment into the main Payload i.e PayloadSwapBean   module is working.
    2)Nextly, my local code( i.e java code without including standard Module specific method like ejbActivate(),ejbPassivate(),process()  etc etc.)) for MDPExcelToXML is successfuly converting the excel file into the XML file.Then I am making the local code into adapter module specific code and deploying that.
    A few question arises here,
    Do I need to do any specific configurations here in PI for this particular things.Maybe both the adapter module is clashing with each other.
    And also using tracing and logging into my custom adapter module code.Getting the following error,
    java.io.IOException: Unable to read entire header; 116 bytes read; expected 512 bytes#
    Thanks
    Ayan

Maybe you are looking for