Smart call-home setup in ASA with contexts

Hello,
I have a problem configuring Smart call home service in an ASA 5500 having contexts.
The DNS config is available on contexts, however the service is enabled to system. 
At the moment, following all the cisco's documentations, seems it doesn't work. 
Any suggestion?
Thanks.
Notis

Let separate what the Cisco back-end can process and what the end device can do.  What your document above indicates is,  "What call home messages can the Cisco backend evaluate, and what processed call  home messages will raise a TAC case automatically?" The Call Home process on the end device sends in Call Home messages to the Cisco backend (aka Smart Call Home) from many sources or triggers. When it says "Alarm type" in the document, it means the source or trigger for the Call Home message.
But the ASA supports adding syslog matching patterns to the alert group syslog. But it still triggers the same call home message containing "show log" and "show inventory". You can also rate limit the call home messages triggered via syslog with the rate-limit command.
subscribe-to-alert-group syslog [severity  {catastrophic | disaster | fatal | critical | major  | minor | warning | notification | normal |  debugging} [pattern string]]
Remember that a profile specifies the transport method and alert group selection. And that multiple profiles can be configured on the device at the same time.
When you want human readable call home messages, you use the long text message format in the profile. On the other hand, the Cisco backend requires Call Home messages in a certain format (XML), hence the  CiscoTAC-1 restrictive profile.Typically people will copy the CiscoTAC-1 profile into a new unrestrictive profile and then add an additional email address besides [email protected] so they, too, can see the "unprocessed" call home messages.
Of course, after the Cisco backend processes one of these Call Home messages, depending on the Call Home message, it sends a notification email to the admin for the device telling them it processed a message.

Similar Messages

  • Smart call home - HTTPS transport from the Nexus 7000 to Cisco

    hi
    i try configured call home on nexus 7000 with https transport and proxy server
    i follow this guide -
    http://www.cisco.com/en/US/docs/switches/lan/smart_call_home/QuickStart_NX7000.pdf
    and configured this :
    callhome
      email-contact XXXXXXXXXXX
      phone-contact XXXXXXXXXXX
      streetaddress XXXXXXXXXXXXXXXX
      destination-profile CiscoTAC-1 transport-method http
      destination-profile CiscoTAC-1 http https://tools.cisco.com/its/service/oddce/services/DDCEService
       transport http use-vrf management
      transport http proxy server XXXXXXXXXX port 8080                --------- XXXXXXXXX = my proxy server
      transport http proxy enable
      enable
      periodic-inventory notification interval  30
    i have a problem to install the security certificate , i follow thw guide but i get the error :
    failed to load or parse certificate
    could not perform CA authentication
    when i try test call home eith the command : callhome test
    trying to send test callhome message
    warning:no callhome message sent
    email configuration incomplete for destination profile:full_txt
    email configuration incomplete for destination profile:short_txt
    Error in transporting http message for CiscoTAC-1
    http: Received HTTP code 407 from proxy after CONNECT
    i guess the problem is because i didnt install the certificate , how can i install the certificate ?
    is this the real problem ?

    I agree with Bryan that the easiest proxy server to setup for the  nexus 7000 is the Transport Gateway. The documentation (certificates) is  setup to allow you to connect to a Cisco Transport Gateway or directly  into tools.cisco.com. Both have a Cisco certificate.
    But that doesn't explain your issue. To answer your issue, you need to look here
    http://www.cisco.com/en/US/docs/switches/lan/smart_call_home/SCH31_Ch6.html#wp1039385
    except  you need your proxy server's chained certificate in PEM format since  the Nexus 7000 is going to terminate at your proxy server. Take a look  at this line in the documentation.
    Input (cut & paste) the CA certificate (chain) in PEM format
    The error code 407 you indicated makes sense and  indicates "Proxy Authentication Required". You need the certificate  installed first. NX-OS uses the openssl crypto library to implement the  cert-pki feature if that helps. A complete certificate chain is required. Also,  you might make sure the CRL (certificate revocation list) is set to none  so it doesn't do that first.
    revocation-check none
    The 4 chained certificates given in the documentation are tools.cisco.com.cer, Verisign-G3-SSCA.cer, Verisign-G3-PRCA.cer,  Verisign-Root-CA.cer. The non-nexus 7000 devices just use the last one. Most likely you need a certificate that looks like
    your proxy server.cer,Verisign-G3-SSCA.cer, Verisign-G3-PRCA.cer,  Verisign-Root-CA.cer
    If you are using your own root CA (which typically are taken  off-line after authorizing subordinate CAs for security reasons) , then  make sure that their certificates are in the correct order to be  processed so each can be authenticated.
    Now you can see why a Cisco proxy server (Transport Gateway) is easier to setup.

  • Difference between Call home and smart call home.

    To my understanding -
    Call home - I configure the SMTP server and I do few other configuration, which can enable be to send emails to desired recepients for any severity.
    Smart call home - Striving to achieve auto TAC case registry for a severity.
    Is this correct ?
    I just read the config guide and didn't understand the importance of switching priority..

    Keny,
    Just a clarification -
    I can go ahead with the call home configuration , without smart call home being configured, isn't it ? ( just as an alerting system local to UCS for few recepients )

  • How to test Smart Call Home in cisco router?

    Hi ,
    I have done basic configuration n cisco router for Smart call Home.Please help me out on testing SCH if its proper or requres more configuration.Below is the configuration;
    call-home
    contact-email-addr [email protected]
    mail-server 10.0.0.59 priority 1
    mail-server "" priority 2
    mail-server "" priority 3
    mail-server"" priority 3
    profile "CiscoTAC-1"
      active
    profile "Test"
      destination preferred-msg-format long-text
      destination address email ""
      destination address email ""
      subscribe-to-alert-group environment severity critical
      subscribe-to-alert-group syslog severity minor pattern ".*"
      subscribe-to-alert-group configuration periodic weekly Tuesday 17:00
      subscribe-to-alert-group inventory periodic monthly 30 20:30

    hi bryan,
    But how will i know the cisco is receiving the alerts for the devices.Is there any way for checking that.
    Profile Name: CiscoTAC-1
        Profile status: ACTIVE
        Preferred Message Format: xml
        Message Size Limit: 3145728 Bytes
        Transport Method: email
        Email address(es): [email protected]
        HTTP  address(es): https://tools.cisco.com/its/service/oddce/services/DDCEService
        Periodic configuration info message is scheduled every 13 day of the month at 10:03
        Periodic inventory info message is scheduled every 13 day of the month at 09:48
        Alert-group               Severity
        diagnostic                minor
        environment               warning
        inventory                 normal
        Syslog-Pattern            Severity
        .*                        major
    Please suggest..

  • Call home question

    Greetings,
    While trying to get SNMP traps running properly with Netview (if only I had Openview), I looked at using call home. Terrific product with the exception of one thing which probably does not affect the private sector. I would suggest that most government agencies need to have a classification of some sort in either the heading or the body of the email. I cant find anyway of doing that which means that the email will never get through. Would anyone know of a way to put certain words in the heading or body of the call home email? It may sound trivial but it would be a great leap forward in my view.
    Stephen

    Colin,
    I have tried everything regarding this issue. I even hoped that mucking about with call home on the host that you run FM from may do something but it has been to no avail.
    Whenever I try to do anything, the email filter goes ballistic and notifies everyone of some sort of security problem.
    BTW, if you want to share anything about your hope of getting a CCIE in storage, I started up a blog site today in order to teach some one eyed Brocade person the benefits of SAN-OS. I am not sure how it works yet but hey, it could be fun and hopefully share some info.
    http://iluvmystorage.blogspot.com
    There will be other stuff in there like my HDS equipment and how knows what else.
    My email address is speter24 at tpg dot com do au.
    Stephen

  • TS1398 I can no longer sign in to my home fi (bt hub) with my iphone 4. Yet I can get on wireless with my laptop so the hub is working. The only thing Ive done different recently is download and use an app called Onavo mobile ltd which Ive now deleted, he

    I can no longer sign in to my home fi (bt hub) with my iphone 4. Yet I can get on wireless with my laptop so the hub is working. The only thing Ive done different recently is download and use an app called Onavo mobile ltd which Ive now deleted, help pls?

    Read another post in the forum about this and it appears this app also installs a profile with a proxy service that you will have to try and delete as well. Check that out.

  • Best setup for iMac with SSD & HDD? Best location of scratch & home folders

    Best setup for iMac with SSD and HDD? Best location of scratch & home folders?
    Computer:
    iMac 2.93 GHz Quad core i7, 8GB RAM, 1 TB HDD + 256 GB SSD
    There is not much info from Apple about the best way to set up an iMac with a Hard Drive and Solid state drive. I’ve looked at a few of the forum posts across the web and came up with a plan and lots of questions. (I do use photoshop frequently, but not on a professional level):
    1. I will keep OS and Applications on SSD
    2. About moving the home folder: I saw some posts about moving the whole home folder, but it makes more sense to me to only move selected fodlers withing the home folder tomake the best use of the SSD. So will keep the home folder on SSD, but move certain folders (document /music/iphoto/download) to 1 TB HDD via instructions I found on the macintoshperformanceguide website:
    cd
    sudo cp -r Documents /Volumes/Master
    sudo rm -rf Documents
    sudo ln -s /Volumes/Master/Documents Documents
    3. I would like to get 8 more RAM when I can afford it
    4. I will attach an external hard drive for most of my documents and backup storage
    5. Now here is where I’m not sure what’s best:
    a. Should I partition my internal 1 TB hard drive and use the first partition as a scratch disc for photoshop and other applications? How much should I partition? Is there any benefit to this if the rive is partitioned?
    b. Should I use an external drive as a scratch disc?
    c. Any advice on a good 1-2 TB external drive?
    d. Should I just leave things in factory settings?
    Don't assume I know the basics - I got all the above just by searching around. Any advice and commentary is appreciatedThanks.
    Message was edited by: sfandtheworld

    Thanks for the advice and the links. yes, I would like to speed up ps as much as possible.
    I wonder if putting the scratch disc on the same drive as the OS would cause them to interfere with each other? Even if they are on different partitions, they would not be able to be accessed at the same time, or could they? That's why I was wondering if I should place scratch disc on the internal HDD -- but then I don't know how much to partition for it (or to partition at all?)
    ALso, I read on a few places that too much read/write on the SSD wears it down over time? Is this more of a theoretical concerns - it does not make sense to me since it has no moving parts!
    thanks again for the advice ... I'm gonna go digest those links

  • Home Hub 5 problems with other router connected.

    So here's a bit of a strange one...
    I've had the HH5 connected as just a simple router (disabled both WiFi radios 2.4 and 5GHz) for about 4 or 5 months, with the HH5 plugged into my DIR-655 which I use for WiFi. Randomly on Friday my internet connection stopped working, even the devices plugged in via Ethernet stopped working, and the HH5 kept doing its light cycle Orange, Green, Blue etc.
    I rang customer support and was on the phone for 45 minutes or so until she said that she could see a fault on the line. So I just took her word for it and waited for an engineer to come. Except the day before he came, I thought I would just try disconnecting my router and switching the HH5's WiFi back on. And the internet connection magically came back to life! I cancelled the engineer and left the setup like this for a few days. Last night I tried putting it back to how the setup was before the problem started, and haven't had any problems so far.
    Has anybody experienced anything similar? Is there some sort of "calling home" that the HH5 does? I presume there's no problem in me not using their router for WiFi!?
    Solved!
    Go to Solution.

    hcharge wrote:
    Just seems stupid that the router has to have WiFi enabled to function properly, it's bad enough I have to use it at all.
    That's right, but it's because the firmware is now broken by the latest update and turning on the wireless is a fix.
    It's not perfect, but it's better than having the Homehub rebooting all the time.
    If you found this post helpful, please click on the star on the left
    If not, I'll try again

  • Call Home w/o SMTP Server

    The Cisco 9216i switch's mgmt interface is on a private LAN that does not have an SMTP server. Is it possible to route outbound email through a gigE interface which is also an FCIP ISL?
    Has anyone had success at implementing Call home without a SMTP server? For instance, it would seem feasible to forward either SysLog or SNMP Traps to a receiver then have email initiated from the receiver.
    This seems like a weird limitation given all of the other capabilities of the switch.
    Thanks, Craig

    Hi Craig,
    Callhome through the gigE won't work. Reasoning is as follows. When you do a Callhome alert, the Callhome process will attempt to setup an SMTP connection. If you define a static route out the gigE interface then it will at least initiate the first TCP SYN out the gigE interface. The SYN packet is destined for the SMTP server (tcp port 25) and will be sourced with the gigE interface ip address. But when the SMTP server replies the TCP stack behind the gigE interface will issue a RST (reset). This is because the gigE TCP stack will not accept TCP connections other than FCIP or iSCSI. This is by design. For the same reason you cannot bring up the MDS http welcome screen through the gigE ip address.
    You can however use IPFC to route the Callhome SMTP traffic over the FCIP ISL to a remote switch that is acting as a default IP gateway, but of course the remote switch must have ip connectivity via it's mgmt interface to the SMTP server.
    Lastly, Callhome always requires an SMTP server. Forwarding traps to an external management server that then uses email or pager is an alternative to Callhome...you won't need to enable Callhome feature to do that.

  • ASA with Implicit Rule

    Hello All,
    I have a 5510 protecting a single MPLS site. I am trying to configure some new rules to allow traffic to flow into the ASA but looking at the logging everything is being denied by a implicit rule.
    How can I get past these implicit rules ?
    same-security-traffic permit inter-interface
    access-list in-out extended permit ip 10.3.0.0 255.255.0.0 10.0.0.0 255.0.0.0
    access-list outside_access_in extended permit ip any any
    Thanks
    Colin

    Sure... here is the full config.... nothing too fancy.
    ASA Version 8.2(4)
    enable password g45TCjltcS2oGK2I encrypted
    passwd 2KFQnbNIdI.2KYOU encrypted
    names
    interface Ethernet0/0
    description connected to MPLS ROUTER GIGA0/0
    speed 100
    duplex full
    nameif outside
    security-level 100
    ip address 10.3.1.2 255.255.255.0
    interface Ethernet0/1
    description connected to INTERNAL switch f1/0/48
    nameif inside
    security-level 100
    ip address 10.3.0.2 255.255.255.0
    interface Ethernet0/2
    shutdown    
    no nameif
    no security-level
    no ip address
    interface Ethernet0/3
    shutdown
    no nameif
    no security-level
    no ip address
    interface Management0/0
    shutdown
    no nameif
    no security-level
    no ip address
    ftp mode passive
    clock timezone MST -7
    clock summer-time MDT recurring
    dns server-group DefaultDNS
    domain-name**********
    same-security-traffic permit inter-interface
    access-list in-out extended permit ip 10.3.0.0 255.255.0.0 10.0.0.0 255.0.0.0
    access-list outside_access_in extended permit ip any 10.3.0.0 255.255.0.0
    access-list inside_access_in extended permit ip any any
    pager lines 24
    logging enable
    logging asdm informational
    mtu outside 1500
    mtu inside 1500
    icmp unreachable rate-limit 1 burst-size 1
    no asdm history enable
    arp timeout 14400
    access-group outside_access_in in interface outside
    access-group inside_access_in in interface inside
    router ospf 1
    redistribute static
    route outside 0.0.0.0 0.0.0.0 10.3.1.1 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    dynamic-access-policy-record DfltAccessPolicy
    aaa-server ACS protocol tacacs+
    aaa-server ACS (outside) host 10.0.0.29
    key *****
    aaa authentication ssh console ACS LOCAL
    aaa authentication telnet console ACS LOCAL
    aaa accounting ssh console ACS
    aaa accounting command privilege 15 ACS
    aaa accounting telnet console ACS
    http server enable
    http 10.3.0.0 255.255.255.0 inside
    no snmp-server location
    no snmp-server contact
    snmp-server enable traps snmp authentication linkup linkdown coldstart
    crypto ipsec security-association lifetime seconds 28800
    crypto ipsec security-association lifetime kilobytes 4608000
    telnet 10.0.57.0 255.255.255.0 outside
    telnet timeout 5
    ssh 10.0.57.0 255.255.255.0 outside
    ssh timeout 5
    console timeout 0
    threat-detection basic-threat
    threat-detection statistics port
    threat-detection statistics protocol
    threat-detection statistics access-list
    threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
    ntp server 10.0.5.17 source outside prefer
    webvpn
    username 911ab password bRI8ulPB836Ut5JJ encrypted privilege 15
    username itmiss password bImuwBDu9t8S0Nje encrypted privilege 15
    class-map inspection_default
    match default-inspection-traffic
    policy-map type inspect dns preset_dns_map
    parameters
      message-length maximum client auto
      message-length maximum 512
    policy-map global_policy
    class inspection_default
      inspect dns preset_dns_map
      inspect ftp
      inspect h323 h225
      inspect h323 ras
      inspect ip-options
      inspect netbios
      inspect rsh
      inspect rtsp
      inspect skinny 
      inspect esmtp
      inspect sqlnet
      inspect sunrpc
      inspect tftp
      inspect sip 
      inspect xdmcp
    service-policy global_policy global
    prompt hostname context
    call-home
    profile CiscoTAC-1
      no active
      destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
      destination address email [email protected]
      destination transport-method http
      subscribe-to-alert-group diagnostic
      subscribe-to-alert-group environment
      subscribe-to-alert-group inventory periodic monthly
      subscribe-to-alert-group configuration periodic monthly
      subscribe-to-alert-group telemetry periodic daily
    Cryptochecksum:9fbd6638bd309179a31fe938446d30c5

  • Anyone setup a DVR with linux?

    found a package on sourceforge called DVR and wondered if anyone has tried it or has successfully setup a dvr at home with linux. want to get windows xp media center (i cant believe i actually typed those words!) but if there is an open source linux way, then i want to do that
    need to know if the dvr package on sourceforge works and what type of video card was used. i know i need a tv tuner card and will probably get a hauppauge, but will that work with linux ir should i get an ati card
    thanks for any input and/or advice

    mdirolf wrote:just installed mythtv using the pkgbuilds in the AUR.  so far everything is working pretty well, the install went more smoothly then i had anticipated after reading many mythtv horror stories.  im using the hauppage pvr-150, which is working really well and is considerably cheaper than the other hauppage cards
    The 150 is cheap becuse it has no hardware decoder - it's all done in software.  I personally like the 250 myself, because it takes the processor strain down and allows you to use cheaper (and therefore quieter) processors.
    If you're really planning on building a set-top box, I'd suggest:
    · Two Hauppauge PVR-250s - so you can record one channel and watch live TV on another (i.e. rewind, pause, fast forward live TV as you watch) - it pays off.
    · A motherboard that supports a Pentium M (yes, they do exist)
    · A geforce MX 4000 series - onboard TV out, good card, no fan
    · The slowest DVD/ROM you can find - the slower the better.  It only takes a 1X to play a video DVD, but a 16X is going to spin up and sound like ass when you're watching Braveheart.
    · The largest disks you can imagine.  1 hour of raw TV is huge.
    · A seperate RF remote system - this is the complicated part and you can always use a wireless keyboard, but the RF remote is really cool
    Now for the record, I have never done this, but I setup and messed with myth a bit.  I *planned* a set-top box for a long time, then I got Dish Network and their 100 hour DVR was 5 cents more a month... so my pipe-dream died.... it'd still be cool though, but I can't implement alot of it  on the Dish Network lines....

  • Bug in LP: smart call/answering machine 1.28

    Bug in smart call/ answering machine in Lp 1.28
    Smart call have 2 bugs and one suggestion.
    1. Sometimes smart call isnt work. After restart phone its works again. I test in some devices and all of them have this bug.
    2. While talking phone if someone is waiting on another call, after seprate phone from ear and see who is on another call. So after bring device to ear call accepted and old call end. This is so annoying.
    3. Seprate smart call options. I dont want answer my phone with bring device to ear but i need to reject and mute mode.. Plz
    And about answering machine.
    In lollipop answering machine have some problems.. For example sometimes i am taking with phone and answering machine starts automatically and call ended. Or sometimes calls dont go to answering machine.
    Some ui bugs: 
    3 dot icon is bigger in phone/contacts app vs other stock apps
    Small apps page isnt material yet
    Sorry for my bad english..my phone is z2 23,1.a.1.28

    Contact Sony Xperia Support with your bug report .
    http://support.sonymobile.com/global-en/contactUs/

  • [HA]ASA with FirePOWER Services with [HA]FireSIGHT Management Center

    Hi,
    My Customer orders the following SKUs in one to make these ASA with FirePOWER Services as H/A.
    Line
    Number
    Item Name
    Description
    Service
    Duration
    Lead
    Time
    Included
    Item
    Quantity
    ListPrice
    Extended
    ListPrice
    Discount
    Selling
    Price
    1.0
    ASA5515-FPWR-K9
    ASA 5515-X with FirePOWER Services  6GE  AC  3DES/AES  SSD
    N/A
    14 days
    No
    2
    2.0
    L-ASA5515-TAMC=
    Cisco ASA5515 FirePOWER IPS  AMP and URL Licenses
    N/A
    0 days
    No
    2
    2.0.1
    L-ASA5515-TAMC-1Y
    Cisco ASA5515 FirePOWER IPS AMP and URL 1YR Subs
    12 month(s)
    N/A
    No
    2
    Assuming from my experiences, 2 PAKs are supposed to be issued.
    PAK_A : 1 PAK for ASA5515-CTRL-LIC (Entitlement Qty:2)
    PAK_B: 1 PAK for L-ASA5555-TAMC= (Entitlement Qts:2)
    Also these FireSIGHTs which monitors these ASAs are H/A.
    The SKUs of FireSIGHTs are following:
    -FS1500-K9
    -FS1500-BASE-K9
    In this case, I assume that these steps are necessary for generating licenses for ASA with FirePOWER Servies;
    Go to license page ( www.cisco.com/go/license) and input PAK_A. Then following the steps and on “Add Device”section, should I input the following 3 devices license keys ?
    -Another ASA5515-FPWR-K9
    -FS1500-K9
    -FS1500-BASE-K9
    And then 2 licenses which are one is for FS1500-K9 and the other is for FS1500-BASE-k9 are to be generated.
    *I have to do that same operation for PAK_B.
    Q1: Is this right? Do I understand the steps correctly ?
    Q2 :If the answer for Q1 is Yes, does it mean that any license is not required for ASA with FirePOWER services ?

    Hi,
    For the PIDs "ASA5515-CTRL-LIC" and "L-ASA5555-TAMC=" you will be provided with PAKs.
    If you are trying to setup HA please check on the forum link for HA setup, https://supportforums.cisco.com/discussion/12320876/how-can-i-make-my-license-high-availabilityor-ha-license
    Steps to register the PAK, 
    1) Login to License portal ( www.cisco.com/go/license) with CCO ID
    2) Enter the PAK to register, click NEXT
    3) Enter the license key of the FireSight device (like FS1500) and if you want to add more devices for HA click on ADD device
    4) enter the license key of the second FireSIGHT for HA, click NEXT
    5) Agree to the terms and SUBMIT 
    6) email with the licenses will be sent 

  • Problem with Context in IDoc

    Hi Experts,
    I have the following source fields:
    1 <Recordset>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D1<Data>
          </Record>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D2</Data>
          </Record>
    2 <Recordset>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D3<Data>
          </Record>
    Target : 2 Idocs to be created!
    For each recordset, an IDoc needs to be created. For Idoc 1, there should be 2 segment of E1EDP01 to be created(coz 2 ITEM) and Idoc 2, there should be 1 segment of E1EDP01).
    I have done it as follows:
    Check if LineIdentifier (context is recordset)  = ITEM then map Record to UDF createItemrecord as follows
    for(int i =0; i < record.length; i++)
         result.addValue(record<i>);
    Then map it to RemoveContext and SplitByValue. The result is Idoc 1 has 1 segment of E1EDP01 (Value D1) and IDoc 2 has 1 segment of E1EDP01 (value D2).
    The expected result is => Idoc1 -> E1EDP01(D1) and E1EDP01(D2) and Idoc 2 -> E1EDP01(D1) and E1EDP01(D3)
    Please explain how this can be achieve.
    thanks a lot.
    Rewards guaranteed!!!
    Regards,
    Tush
    Edited by: Tush Mangad on Aug 14, 2008 8:53 AM

    I have found that XSL mapping does this quite well
    An example to create Sales Order IDocs
    Note that square brackets in the generate statement have been interpreted by this editor as a strikethrough
    Input file
    <?xml version="1.0" encoding="UTF-8"?>
    <input>
         <row>
              <ordernum>ORD1</ordernum>
              <orderitem>ITEM1</orderitem>
              <data>ABC</data>
         </row>
         <row>
              <ordernum>ORD1</ordernum>
              <orderitem>ITEM2</orderitem>
              <data>DEF</data>
         </row>
         <row>
              <ordernum>ORD2</ordernum>
              <orderitem>ITEM1</orderitem>
              <data>GHI</data>
         </row>
    </input>
    XSL
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <xsl:output method="xml" indent="yes"/>
         <!-- -->
         <xsl:template match="/">
              <CRMXIF_ORDER_SAVE_M01>
                   <xsl:apply-templates select="//input"/>
                   <!--  -->
              </CRMXIF_ORDER_SAVE_M01>
         </xsl:template>
         <!-- -->
         <xsl:template match="input">
              <xsl:variable name="sales_order" select="//row"/>
              <xsl:for-each select="$sales_order">
                   <xsl:if test="generate-id(.)=generate-id($sales_order[ordernum=current()/ordernum])">
                        <!-- New Order Number -->
                        <xsl:if test="position()!=1">
                             <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/E101CRMXIF_BUSTRANS<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                             <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/IDOC<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                        </xsl:if>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>IDOC BEGIN=<xsl:text disable-output-escaping="yes">&quot;</xsl:text>1<xsl:text disable-output-escaping="yes">&quot;&gt;</xsl:text>
                        <EDI_DC40 SEGMENT="1">
                             <TABNAM>EDI_DC40</TABNAM>
                             <MANDT>010</MANDT>
                             <DOCREL>620</DOCREL>
                             <STATUS>30</STATUS>
                             <DIRECT>1</DIRECT>
                             <OUTMOD>2</OUTMOD>
                             <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                             <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                             <SNDPRT>LS</SNDPRT>
                             <RCVPRT>LS</RCVPRT>
                        </EDI_DC40>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>E101CRMXIF_BUSTRANS SEGMENT=<xsl:text disable-output-escaping="yes">&quot;</xsl:text>1<xsl:text disable-output-escaping="yes">&quot;&gt;</xsl:text>
                        <!-- Build Sales Order BUSTRANS data -->
                        <xsl:call-template name="bustrans_Template">
                             <xsl:with-param name="bustrans" select="current()"/>
                        </xsl:call-template>
                        <!-- Build Sales Order BUSTRANS_ITEM data -->
                        <xsl:call-template name="bustransItem_Template">
                             <xsl:with-param name="bustransItem" select="current()"/>
                        </xsl:call-template>
                   </xsl:if>
                   <!-- -->
                   <!-- Same Order Number - multiple items encountered -->
                   <!-- Build Sales Order BUSTRANS_ITEM data -->
                   <xsl:if test="generate-id(.)!=generate-id($sales_order[ordernum=current()/ordernum])">
                        <xsl:call-template name="bustransItem_Template">
                             <xsl:with-param name="bustransItem" select="current()"/>
                        </xsl:call-template>
                   </xsl:if>
                   <!-- -->
                   <xsl:if test="position()=last()">
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/E101CRMXIF_BUSTRANS<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/IDOC<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                   </xsl:if>
              </xsl:for-each>
         </xsl:template>
         <!-- -->
         <xsl:template name="bustrans_Template">
              <xsl:param name="bustrans"/>
              <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
              <!-- Business Transaction: Sales -->
              <E101CRMXIF_SALES_X SEGMENT="1">
                   <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                   <DATAX>X</DATAX>
                   <E101CRMXIF_SALES SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                        <!-- Sold-To Party's External Reference -->
                        <PO_NUMBER_SOLD>
                             <xsl:value-of select="ordernum"/>
                        </PO_NUMBER_SOLD>
                   </E101CRMXIF_SALES>
              </E101CRMXIF_SALES_X>
         </xsl:template>
         <!-- -->
         <xsl:template name="bustransItem_Template">
              <xsl:param name="bustransItem"/>
              <!-- Business Transaction: Item -->
              <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                   <OBJECT_TASK>I</OBJECT_TASK>
                   <!-- Item Number in Document -->
                   <ITEM_NUMBER>
                        <xsl:value-of select="orderitem"/>
                   </ITEM_NUMBER>
                   <!-- Product ID -->
                   <PRODUCT_ID>
                        <xsl:value-of select="data"/>
                   </PRODUCT_ID>
              </E101CRMXIF_BUSTRANS_ITEM>
         </xsl:template>
    </xsl:stylesheet>
    Result
    <?xml version="1.0" encoding="UTF-8"?>
    <CRMXIF_ORDER_SAVE_M01 xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <IDOC BEGIN="1">
              <EDI_DC40 SEGMENT="1">
                   <TABNAM>EDI_DC40</TABNAM>
                   <MANDT>010</MANDT>
                   <DOCREL>620</DOCREL>
                   <STATUS>30</STATUS>
                   <DIRECT>1</DIRECT>
                   <OUTMOD>2</OUTMOD>
                   <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                   <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                   <SNDPRT>LS</SNDPRT>
                   <RCVPRT>LS</RCVPRT>
              </EDI_DC40>
              <E101CRMXIF_BUSTRANS SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
                   <E101CRMXIF_SALES_X SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                        <DATAX>X</DATAX>
                        <E101CRMXIF_SALES SEGMENT="1">
                             <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                             <PO_NUMBER_SOLD>ORD1</PO_NUMBER_SOLD>
                        </E101CRMXIF_SALES>
                   </E101CRMXIF_SALES_X>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM1</ITEM_NUMBER>
                        <PRODUCT_ID>ABC</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM2</ITEM_NUMBER>
                        <PRODUCT_ID>DEF</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
              </E101CRMXIF_BUSTRANS>
         </IDOC>
         <IDOC BEGIN="1">
              <EDI_DC40 SEGMENT="1">
                   <TABNAM>EDI_DC40</TABNAM>
                   <MANDT>010</MANDT>
                   <DOCREL>620</DOCREL>
                   <STATUS>30</STATUS>
                   <DIRECT>1</DIRECT>
                   <OUTMOD>2</OUTMOD>
                   <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                   <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                   <SNDPRT>LS</SNDPRT>
                   <RCVPRT>LS</RCVPRT>
              </EDI_DC40>
              <E101CRMXIF_BUSTRANS SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
                   <E101CRMXIF_SALES_X SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                        <DATAX>X</DATAX>
                        <E101CRMXIF_SALES SEGMENT="1">
                             <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                             <PO_NUMBER_SOLD>ORD2</PO_NUMBER_SOLD>
                        </E101CRMXIF_SALES>
                   </E101CRMXIF_SALES_X>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM1</ITEM_NUMBER>
                        <PRODUCT_ID>GHI</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
              </E101CRMXIF_BUSTRANS>
         </IDOC>
    </CRMXIF_ORDER_SAVE_M01>

  • How to setup Slingbox AV with Linksys E2500

    I just purchased a new Linksys E2500 and I am unable to setup internet viewing with it.  I have went in and done the port forwarding and still I have not had any success.  I would appreciate any helpful information.

    So the concern that you said is the configuration of the Router ( E2500 ) at home.. So could please inform us the name of the ISP( Internet Service Provider )... So it all depends upon the ISP( Internet Service Provider ) setup...
    If you want to configure the router with the help of the CD so for that you need to unistall the existing Cisco Connect Software from the computer...
    Reset the Router and power cycle the network...Make the following connectivity:
     Modem ----> Router -----> Computer
    They all should be connected with the Ethernet Cable... Then install the Cisco Connect Software... It will help you in configuring the Router...
    As far as Slingbox is concern you did port forwarding but until and unless you are not online it would work....

Maybe you are looking for

  • Problem with wifi roaming - printer does not join SSID

    In WiFi network with 2 APs with same SSID and security setup (WPA2) working well in roaming for PCs, samrtphone and MacBook HP printer does not join WLAN and wireless test page from the printer shows as reason that priner see more then one AccessPoin

  • Making a PDF from LAbView Report

    Hi, How do can I make an PDF-file of my LabView report? I was thinking of using Adobe PDF writer and just printing the report a PDF-file. Do I have to do anything else that just install Adobe Writer or do I have to do some kind of configuration? Is i

  • Select the current row in read only querry VO

    Hi., I am using jdev 11.1.1.5 I had created a Finyear EO with corresponding VO I had also created a read only querry VO [PostdGLhdlnVO] I had created a viewlink between FinyearVO and PostdGlhdlnVO with following conditions FinyearVO.bu = PostdGLhdlnV

  • X230 and the ultrabase (Series 3): Enough clearance below for ventilation?

    Hi. I'm posting this here as the ultrabase is meant only for the x series. I'm thinking of grabbing the ultrabase together with the x230, as it would be much cheaper this way. I will probably use it 80% of the time in the office, 8-10 hrs a day, 5-6

  • TVanywhere seems to be nowhere

    Ok so i have a Tvanywhere that is about a yeat old, i had it working a long time ago and now that i just fixed my server i needed the cd, well that is nowhere to be found. so i found the drivers on the website installed them and installed the intervi