How to send acknowledgement in HTTP_AAE single stack 7.31

Hi
My scenario is HTTPs to ECC and we are also sending alert mails to support system using RequestResponseBean in sender HTTP_AAE channel.
Can anyone provide provide some info on how to send acknowledgement back to 3party(using https) ?
If normally it is not possible, can we do this using customized adapter modules?

Hi,
Can anyone provide provide some info on how to send acknowledgement back to 3party(using https) ?
The sender needs to request the acknowledgement. Except the receiver interface is an IDoc, then you just need to setup a corresponding configuration to send back an ALEAUD IDoc.
/Udo

Similar Messages

  • How to send multiple attachements in single mail

    Hi All,
    Currently i am using this function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail with only one attachment.
    But now i need to send multiple attachments to a single mail.
    Can any one please tell me as how to send multiple attachments in single mail.
    Thanks in advance.

    Hi
    See this and do accordingly
    Mailing with Attachment by ABAP Coding  
    Refer this link:
    Mail with attachment.
    FORM send_list_to_basis .
      DATA: w_path      LIKE rlgrap OCCURS 0 WITH HEADER LINE,
            lt_index    TYPE sy-tabix,
            doc_type(3) TYPE c,
            descr       LIKE it_objpack_basis-obj_descr,
            temp_data   LIKE w_path,
            temp1       TYPE string,
            tab_lines   TYPE i,
            langu(15)   TYPE c,
            expirydate  TYPE so_obj_edt,
            L_FILE1(100).
      CONCATENATE 'C:\' sy-repid '_' sy-datum '.XLS' INTO L_FILE1.
      W_PATH-FILENAME = L_FILE1.
      APPEND w_path.
      CLEAR w_path.
      wa_doc_chng-obj_descr  = 'User List not logged on for 180 days'.
      wa_doc_chng-obj_langu  = 'E'.
      wa_doc_chng-obj_expdat = sy-datum.
      CLEAR w_subject.
      CONCATENATE 'Please find attached document with list of users'
                  'not logged on for 180 days for client' sy-mandt
                  INTO w_subject SEPARATED BY space.
      it_objtxt_basis-line = w_subject.
      APPEND it_objtxt_basis.
      CLEAR it_objtxt_basis.
      it_objtxt_basis-line = text-004.
      APPEND it_objtxt_basis.
      CLEAR it_objtxt_basis.
      CLEAR w_tab_line.
      DESCRIBE TABLE it_objtxt_basis LINES w_tab_line.
      READ TABLE it_objtxt_basis INDEX w_tab_line  INTO l_cline.
      wa_doc_chng-doc_size =
       ( w_tab_line - 1 ) * 255 + STRLEN( l_cline ).
      CLEAR it_objpack_basis-transf_bin.
      it_objpack_basis-head_start = 1.
      it_objpack_basis-head_num   = 0.
      it_objpack_basis-body_start = 1.
      it_objpack_basis-body_num   = w_tab_line.
      it_objpack_basis-doc_type   = 'RAW'.
      APPEND it_objpack_basis.
      CLEAR it_objpack_basis.
      LOOP AT w_path.
        temp1 = w_path.
        descr = w_path.
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = descr
            lang    = 'E'
          IMPORTING
            rstring = descr.
        CALL FUNCTION 'STRING_SPLIT'
          EXPORTING
            delimiter = '\'
            string    = descr
          IMPORTING
            head      = descr
            tail      = temp_data.
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = descr
            lang    = 'E'
          IMPORTING
            rstring = descr.
        CALL FUNCTION 'STRING_SPLIT'
          EXPORTING
            delimiter = '.'
            string    = descr
          IMPORTING
            head      = temp_data
            tail      = doc_type.
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename      = temp1
            filetype      = 'BIN'
            header_length = 0
            read_by_line  = 'X'
            replacement   = '#'
          TABLES
            data_tab      = it_upload.
        DESCRIBE TABLE it_upload LINES tab_lines.
        DESCRIBE TABLE it_objbin_basis LINES lt_index.
        lt_index = lt_index + 1.
        LOOP AT it_upload.
          wa_objbin_basis-line = it_upload-line.
          APPEND wa_objbin_basis TO it_objbin_basis.
          CLEAR wa_objbin_basis.
        ENDLOOP.
        it_objpack_basis-transf_bin = 'X'.
        it_objpack_basis-head_start = 0.
        it_objpack_basis-head_num   = 0.
        it_objpack_basis-body_start = lt_index.
        it_objpack_basis-body_num   = tab_lines.
        it_objpack_basis-doc_type   = doc_type.
        it_objpack_basis-obj_descr  = descr.
        it_objpack_basis-doc_size   = tab_lines * 255.
        APPEND it_objpack_basis.
        CLEAR it_objpack_basis.
      ENDLOOP.
      it_reclist_basis-receiver = '[email protected]'.
      it_reclist_basis-rec_type = 'U'.
      APPEND it_reclist_basis.
      CLEAR it_reclist_basis.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = it_objpack_basis
          contents_txt               = it_objtxt_basis
          contents_bin               = it_objbin_basis
          receivers                  = it_reclist_basis
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      IF sy-subrc EQ 0.
        SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
      ENDIF.
    ENDFORM.                    " send_list_to_basis
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to send multiple attachment in single mail

    i am using FM SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mail.
    pls guide me how can i modify my code so that i can send multiple attachments

    Hi Manish,
    Check out the links below.
    E-mail multiple PDF attachments
    Send a Single Mail with Multiple Attachment
    Hope it helps.
    Regards,
    Amit
    *Always reward points for helpful answers
    Message was edited by:
            Amit Kumar

  • How to send attachment as a single bodypart instead of MultiPart?

    Hi there,
    I'm trying to send an email with only a file attachment (holding an EDI message), because an email client that I'm sending to can't handle multipart.
    My email app uses MimeMessage.setContent(MimeMultiPart), but as said, this doesn't work for the recipient.
    Unfortunately, there is no such thing as MimeMessage.setContent(MimeBodyPart) which would be the one I'd have to use I suppose...
    Is there an easy way to do this?
    I tried plunging into the API and came up with DataHandler, DataSource blahblah, but that made it seem very complicated and I couldn't succeed in setting the correct headers (it insisted on 7bit encoding although set the header in the code for quoted-printable)...
    If I look into the API, it seems as if I'm completely on my own on this, as though you're supposed to send multipart messages....
    Any thoughts?
    Any hint will be greatly appreciated because I've wasted already a day on this thing.... :-/
    Thanks,

    Have you tried just using Message and BodyPart?
    Looking at the 1.3 API, Body part has the following method: BodyPart.setContent(java.lang.Object obj,java.lang.String type), where the type is the MIME type of the object.
    You will probably have to encode the data yourself to get the object since I don't think the method will do the encoding for you.

  • How to send acknowledgement containing KUNNR from ECC to PI to MDM

    Hello Experts,
    I have a scenario of syndicating customer/vendor record from MDM system to ECC system using PI. File to IDOC. Since Customer and Vendor number ranges are internal to ECC system, after posting the customer and vendor record, we need to get the KUNNR or LIFNR back to MDM so that later updates using the key can be issued.
    For Posting we have used DEBMDM in MDM output and mapped it to ADRMAS and DEBMAS for Customers and CREMDM for vendor outbound and mapped it to ADRMAS and CREMAS.
    Now I want to understand what would be the best way to get the Customer or Vendor number back in MDM?
    Using ALEAUD? Enhancing it?
    or using some event mechanism which will post the DEBMAS/CREMAS back from ECC to PI?
    Thanks in anticipation.
    Regards,
    Ahmed

    Hi,
    check this ..
    SOAP for IDOC demystified
    http://wiki.sdn.sap.com/wiki/display/XI/UsingRequestResponseBeanModuleinFILE+Adapter
    Cheers
    Sunil.

  • How to send a text attachment by using jdbc to mail scenario Using single stack 7.31

    Hi Experts...
        We are currently  Single Stack  SAP  7.31
    I have a Scenario that is "JDBC to MAIL"  ...here i need to pick a data from data base and i have to sent that data as a .txt attachment to mail by using mail  adapter...
    here i have created DT, MT SI, MM,OP  > ESR PART
    when coming to  ID > BC,CC,ICO
    Were all the channels are  running... MESSAGE ID is generated ... But I was  not getting any MAIL to my Email ID...
    While i was configuring the RECIEVER mail communication channel i have seen the tab that is "MODULE CONFIGURATION"
    DO we have to do any MODULE CONFIGURATION.. If it is needed please let me know how to do....?
    It would be appreciated can some one explain me step by step Of this MODULE CONFIGURATION ... Are send me some SCREEN CHARTS  OR  LINKS to under stand......
    Thanks in Advance ...!!!!!!!!!!!!
    Thanks,
    vinay

    Hi Experts...
        We are currently  Single Stack  SAP  7.31
    I have a Scenario that is "JDBC to MAIL"  ...here i need to pick a data from data base and i have to sent that data as a .txt attachment to mail by using mail  adapter...
    here i have created DT, MT SI, MM,OP  > ESR PART
    when coming to  ID > BC,CC,ICO
    Were all the channels are  running... MESSAGE ID is generated ... But I was  not getting any MAIL to my Email ID...
    While i was configuring the RECIEVER mail communication channel i have seen the tab that is "MODULE CONFIGURATION"
    DO we have to do any MODULE CONFIGURATION.. If it is needed please let me know how to do....?
    It would be appreciated can some one explain me step by step Of this MODULE CONFIGURATION ... Are send me some SCREEN CHARTS  OR  LINKS to under stand......
    Thanks in Advance ...!!!!!!!!!!!!
    Thanks,
    vinay

  • How to get Test Utility for PI 7.3 Single Stack JAVA only.

    Hi All,
       We are having PI 7.31. Single Stack JAVA only.
    we want to test some scenario. Can anybody tell me how can i test the scenario in PI 7.3
    is there any test utility by which i can send some test messages to PI 7.3.
    from where to download this utility.?
    Regards,
    Umesh

    Hi,
    The test message functionality is currently available in  PI dual stack only..
    Lets hope that in future releases this functionality may available in Single Stack also.
    Regards,
    Mastan vali

  • Idoc Acknowledgements in SAP PI7.31 Single stack

    Hello All,
    We are migrating from SAP PI 7.0 to SAP PI7.31 single stack.
    in Existing landscape(SAP PI7.0) - sender system ECC is receiving the acknowledgements(ALEAUD) for the idocs sent to PI system where in the port is different i.e. port is receiving back with different Partner Number.
    But in SAP PI7.31 single stack, ECC is recieving the acknowledgmenets(ALEAUD) as same as the sender partner number of the idoc sent to PI 7.31 system.
    can someone please explain me if it is possible to implement the same functionality as per SAP PI7.0 in SAP PI7.31 single stack as well or is this the Limitation of the product.
    Thanks
    VR

    Hello Experts,
    Can someone please suggest me if SAP PI7.31 Single stack can send ALEAUD with different partner number to ECC.
    Thank you
    VR

  • How to put a single stack item to an album?

    Maybe a silly question, but I can't find out how to put a single item from a stack into an album. When I drag a stacked item to an album, the entire stack appears in the album. This is not what I want, I want to get the single item in the album.
    I know I can make a single stacked item in an album to be the albumpick. But this is not enough. Sometimes I need to put two items from the same stack into this album.
    Koen
    Message was edited by: Koen van Dijken

    Koen van Dijken wrote:
    Would this be as designed, and so a wrong use of stacks by me?
    It is as designed but I don't think what you want to do is a particularly wrong use of stacks. I can see using stacks as a way to reduce clutter in the browser but still wanting to be able to get to individual images in the stack to use..
    What is interesting is the wording in the Aperture users guide concerning stacks:
    Dragging Stacks
    You can drag an entire stack to a new location, *and you can drag specific images within a stack to a new location*. When a stack is closed, dragging the stack moves the entire stack. *When a stack is open, you can drag individual images to new locations in the Browser*. You can also drag images into a stack. If you drag an image within a stack into a different project, however, the entire stack moves to the new location.
    (emphasis added)
    So the first part sounds like you should be able to drag an image out of the stack to an album, the second just mentions dragging an image out of the stack in the browser.
    And in way you can do this, the only thing is what you end up doing is unstacking the image you drag out. Not exactly what you would want to do.
    I think it should be OK to place individual stack items into albums and have them remain in the stack. Any reason this would be a bad idea?

  • How to track the Inbound child IDOcs in PI 7.4 Single stack

    Hi Friends,
    I would like to know the procedure of tracking the Inbound child IDocs in PI 7.4 Single stack.
    Here is the detailed description.
    Say we are getting the data from third party system and the message may have multiple IDOcs in it. The message has processed successfully from PI and reached to the target system(ERP). So, now my question is how to track the IDOc count with in that message.
    Please suggest on the same.
    Thanks in Advance,
    Venkateswarlu.

    Hi Hareesh,
    Thanks for your inputs. According to the link IDOC Status, Tracking in SAP PI/PO Single Stack I am thinking the required funcionality is not there in PO 7.4, but still i would like to have little more clarity before moving further.
    I will explain what what was happening in PI 7.11 so that you can understand what i am looking for in PO 7.4.
    We will get the data from third party system in xml format, we had to search for the messages based on interface name and time range within SXMB_MONI. After getting the result(say the output is 100 messages), we will download the values of "Outbound Reference" field(which is a key to find the child messages for messages resulting in an Interface Collection). Below is the snap of Outbound Reference field for your reference.
    Now we will go to the table IDXRCVPOR in SE16(within PI) and put the values of Outbound Reference field in Text 24 and execute. Here we will get all the child messages.
    Now please let me know if this kind of scenario is possible in PO 7.4.
    Thanks,
    Venkat.

  • How to throttle a Queue 7.31 single stack.

    Hi All, I have an interface where it is possible for thousands of messages to arrive at one time.
    However the backend system cannot handle all the messages together.
    We want to restrict the message throughput for this message type. What options do we have ?
    Scenario is external web service to proxy in an SAP EM system. We are using single stack 7.31.
    Cheers
    Jon

    Hi Jon,
    Just a few question before I try and give you a solution.
    1. PI handles the load successfully correct? But SAP EM is struggling to handle al the messages coming in via Proxy?
    2. What is the error that you are getting in SAP EM?
    Please see a few links below.
    Message size as source of performance bottleneck
    How to handle large volume of data using proxy

  • How to send application acknowledgement from R/3 system

    Hi guys,
          How to send application acknowledgement from R/3 system. Ex. we have post one IDoc and check user validations. Suppose date is wrong that means indicate earlier or wrong date but date format is correct. In this situation we need send one acknowledment to sender.
    How to find the solution? pls tell anyone.
    Regards
    Vijay

    Hi Vijay,
    Plz do perform the following steps:
    1) In the Integration Server, call transaction SE38
    2) Run program IDX_ALEREQUEST to process IDocs with message type ALEAUD as XI request
    message.
    3) Now Enter Sender Port, Sender Client,Partner Number, Partner Type, and Partner Rol
    4) In Integration Directory, configure the routing of interface
    5) Call transaction SXMB_MONI to display the XI message.
    Also,
    Further in IDX5 as well you will find entry for IDoc ALEAUD.ALEAUD01
    Please go through the link
    1)Succesful IDOC acknowledgements from ECC
    2)https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    3)https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    After you triggered the IDoc by e.g. tcode: WPMA and IDoc reached FILE system, FILE receiver CC actually is only able to send acknowledgment types SystemErrorAck and AckNotSupported.
    This is because:
    - IDoc sender adapter requests the following acknowledgments:
    SystemAckRequested="false"
    SystemErrorAckRequested="true"
    ApplicationAckRequested="true"
    ApplicationErrorAckRequested="true"
    - File receiver adapter “that run on the Adapter Engine support system acknowledgments and system error acknowledgments if they are requested by the sender. These acknowledgments are triggered when a message is successfully processed by the adapter or if an error occurs while it is being processed.”
    If you haven’t suppressed acknowledgments for IDocs WP_PLU in IDX_NOALE in XI then you will get:
    SystemErrorAck – when message has not reached the FILE system
    AckNotSupported – for all others acknowledgement types
    QQ) Will this IDOC Ack applicable for this scenario???
    Rather not, since FILE adapter does not support any other acknowledgements then system and IDoc adapter does not request other acknowledgements then application + SystemErrorAckRequested.
    In sender system your IDoc will be always in status 39 (instead of 03), when acknowledgement is turned on.
    This is because:
    For SystemErrorAck the corresponding ALEAUD status is 56
    For AckNotSupported the corresponding ALEAUD status is 50
    Both inbound 56 and 50 statuses end up in 39 for your outbound IDoc in sender system.
    Q1) Will this ALEAUD Idoc contains any Message from File System????
    In both cases, it will result in status 39 - IDoc is in the target system. So it does not matter.
    Q2) Basically what Information will contain this IDOC Ack.
    Idoc number from sender system and status 56 or 50 depends on acknowledgement type.
    Q3) Do we receive any Info from the Target File System , if we implement this Ack concept??
    Nothing useful.
    Remember that “File Receiver has no way to determine if the written file has been correctly processed by the back-end application”. However, if your “FILE” application can read your WP_PLU message and after successful processing is able to generate any kind of message then you can acknowledge the communications but you will not be able to link original message with the acknowledgement request message.
    To do that you need to configure just normal scenario (that will be your new acknowledgement scenario) FILE -> XI -> R/3. Your FILE service will send ALEUAUD Idoc to R/3 system. Your FILE application must take care to generate proper ALEAUD XML message. In order to treat ALEAUD as a request message (not standard acknowledgement) you need to run IDX_ALEREQUEST in SE38 on XI.
    Q1) It means if the Idoc not reached to Target File system means we can able to get the System Error Ack to Sender SAP R/3 System. Am i Right????
    Supposed you have turned off acks on XI (tcode: se38, IDX_NOALE) for your sender port/client:
    You have sent the IDoc and the last status is "03 - Data passed to port OK"
    You don't know whether it was even delivered to XI ...
    Supposed you have turned on acks on XI (tcode: se38, IDX_NOALE) for your sender port/client.
    1)
    You send and IDoc and it has been delivered successfully to FILE system.
    Adapter Engine creates acknowledgement type: AckNotSupported
    In XI you can see Ack Status: AckRequestNotSupported (Acknowledgement not possible). Category: permanent.
    XI will send ALEAUD IDoc to R/3 system: status "50 - IDoc is added"
    The IDoc status in sender will be "39 - IDoc is in receiving system (ALE service)".
    2)
    You send and IDoc and it has not been delivered successfully to FILE system. e.g. FILE server is down.
    Adapter Engine creates acknowledgement type: SystemErrorAck
    In XI you can see Ack Status: Error (Acknowledgement contains system errors). Category: transient.
    XI will send ALEAUD IDoc to R/3 system: status "56 - IDoc with errors is added"
    The IDoc status in sender will be "39 - IDoc is in receiving system (ALE service)".
    So status 39 means only that IDoc reached XI, but you don't know whether it was delivered to FILE system or not.
    Q2) And one more thing is Even though we are dealing with the IDOCFile OR FileIDOC we can able to get the ACk of Type System Error Ack only. Am I Right?????
    No, "Sender adapters of the Adapter Engine do not request any acknowledgements."
    Q3) So the same case( Which we disscused for IDOCFile) is Applicable for FileIDOC also????
    No.
    Can we able to get the System Error Ack, if the File is not reached to SAP R/3( Target here)
    No.
    Q4) If Yes to Q3 means,Where this System Error Ack will be seen in File System side???
    Do we need to do any extra settings to receive these System Error Ack at File system side??
    Not relevant.
    Regards,
    Vinod.

  • New BW 7.0 System (ABAP+Java) as two single-stack Systems? How?

    Hello,
    as of the current recommendation not to install a dual-stack system anymore, we are planning to setting up our new BW 7.0 sandbox-system as two single-stacks.
    In my understanding, I have two install two separate systems (1. AS ABAP, 2. AS JAVA) and connect them each other. So each system should have it's own SID?
    Procedure: I first have to setup the AS ABAP with SID=NWA and then afterwards setup the AS JAVA with SID=NWJ - and connect each other afterwards (e.g. RSPOR_SETUP and so on...).
    Or am I allowed to use the same SID(=NWA) also for the AS JAVA (as it is in a dual-stack installation)? If so, am I allowed to use the same system (OS will be windows 2008) for them? In the Installation Guide I found for NW 7.0 EhP2, they still mention the dual-stack installation...
    So, if you have a dual-stack installation, it looks like this:
    Host: nw.sap.company.local / SID: NWA, Instance: 00 (AS ABAP) + NWA, Instance: 00 (AS JAVA)
    How should it look now? Like this:
    1. Host: nw.sap.company.local / SID: NWA, Instance: 00 (AS ABAP) + NWJ, Instance: 00 (AS JAVA)
    2. Host: nw.sap.company.local / SID: NWA, Instance: 00 (AS ABAP) + NWJ, Instance: 01 (AS JAVA)
    3. Host: nwa.sap.company.local / SID: NWA, Instance: 00 (AS ABAP)
       + Host: nwj.sap.company.local / SID: NWJ, Instance: 00 (AS JAVA with EP_CORE, BI_JAVA, ...)
    In case of option 3, do they have to use their own DBMS?
    Thanks in advance!
    BR,
    Markus

    Hi Oliver,
    thanks for you reply!
    >
    Olivier CHRETIEN wrote:
    > Yes, each system (abap and java) will have its own SID.
    > If you have sufficient hardware ressources, it is possible to install these 2 systems on the same physical host.
    It's virtualized using XenServer, so I can decide to use a "large" system/virtual machine containing both ABAP and Java or to have two separate systems/virtual machines... I prefer the second solution (each with it's own DBMS/MSSQL2008) even if it's a "waste" of resources in comparison to a dual-stack system (2x OS/Windows, 2x DB/MSSQL-Server).
    > You could also use MCOD to use only one database instance with 2 schema but I personally don't like this solution.
    > The key to not install anymore as a dual stack system is to have independency between java ans abap.
    I had a look at this also... I think there are no advantages (beside resources), because when you have to do some maintainable at the DBMS (e.g. OS updates), more than one system is affected.
    > The installation will be more complicated than a dual stack but it will be easier to manage, be more reliable, easier to patch and upgrade.
    Maybe, but you need an additional (hardware-)resources - as seen above. But anyway, thanks. We will try with separate hosts.
    Regards,
    Markus

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • How to send multiple data for a single element

    Hi All,
    I have a requirement where I have to send multiple data for single element per single transaction. For example
    Id details
    1 abcd
    1 efgh
    1 def
    Now, when I am selecting this ID from database, I have to get all the details in a single xsd like
    <id>1</id>
    ---><details>abcd</details>
    <details>efgh</details>
    <details>def</details>
    Thanks

    Hi,
    The following XSLT...
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/">
    <xsl:variable name="root" select="/"/>
    <root>
    <xsl:for-each select="distinct-values(/root/entry/id)">
    <xsl:variable name="id" select="."/>
    <entry>
    <id><xsl:value-of select="$id"/></id>
    <xsl:for-each select="$root/root/entry[id = $id]">
    <details><xsl:value-of select="details"/></details>
    </xsl:for-each>
    </entry>
    </xsl:for-each>
    </root>
    </xsl:template>
    </xsl:stylesheet>Will work for a document like this...
    <root>
    <entry>
    <id>1</id>
    <details>detail1</details>
    </entry>
    <entry>
    <id>1</id>
    <details>detail2</details>
    </entry>
    <entry>
    <id>2</id>
    <details>detail3</details>
    </entry>
    </root>Hope this helps...
    Cheers,
    Vlad

Maybe you are looking for

  • How to reinstall lightroom 4 after hard drive crash

    My hard drive recently crashed and I have an all new one now.  My comp is running Mavericks and I need to reinstall Lightroom 4 (that was the latest version I was using, and I downloaded it, no cd).  How do I reinstall it??  When I go to "My Orders,"

  • [CS2/CS3] - PMString & string builder

    Hello,    I am using a class called PMString for creating strings such as a logs and so on. If I have larger file there is a problem with realocation of PMString, it is the same line String and StringBuilder in .NET languages. Please is there way to

  • Monitoring User Logins in Business One

    Hi, I'm wondering, is there a way to monitor users when they are logged in on B1 server? Thanks.

  • Youtube html problem

    I have set up several websites in iweb with videos from youtube.com. There is a new site I have done that I am having trouble getting the site to accept the code, even though it is  the same video I have in another site. I have tried several times, b

  • How can I change the height of the input box in a...

    How can I change the height of the  input box in a new version of Skype? Solved! Go to Solution. Attachments: Skype_input_box.png ‏4 KB