Addition data send in XML po to external system In SRM 7

Hi Expert
How we can add/ Modify data for XML PO Which sending for external system Via PI .
we need to add additional data to the XI system in XML format in PO . How we can add the code to this.
One more issue is like we are not able to debug the BADI BBP_SAPXML1_OUT_BADI.
Request to reply for this

Hello sharad,
Please find the sample coding.
METHOD if_ex_bbp_sapxml1_out_badi~purchaseorder.
DATA: l_str(40) TYPE c,
        ls_partner TYPE bbps_pdext_partner,
        ls_item TYPE bbps_pdext_po_item_d,
        ls_proxyitem TYPE bbpx1_purchase_order_item,
        ls_partner_item TYPE bbpx1_po_ship_to_location,
        ls_fdspartner TYPE bbpx1_po_ship_to_location,
        ls_telephone TYPE bbpx1_address_telephone,
        ls_check  TYPE BBPX1_ADDRESS,
        ls_fax TYPE bbpx1_address_facsimile,
        ls_email TYPE bbpx1_address_email,
        l_index TYPE i,
       lt_table TYPE TABLE OF ztest_db,
       ls_table TYPE ztest_db,
        l_flag TYPE c,
        ls_dfkkbptaxnum  TYPE dfkkbptaxnum,
        lt_telephone     TYPE bbpx1_address_telephone_tab,
         lt_check                TYPE BBPX1_ADDRESS,
        lt_email       TYPE bbpx1_address_email_tab,
        lt_name        TYPE bbpx1_person_name,
        ls_name         TYPE bbpx1_person_name,
        lt_street       TYPE bbpx1_address_physical_address,
        ls_street       TYPE bbpx1_purchase_order_party,
        ls_details        TYPE  bbpx1_purchase_order_item,
        lt_ship        TYPE BBPX1_PO_SHIP_TO_LOCATION,
        ls_ship        TYPE bbpx1_po_ship_to_location.
  LOOP AT cs_purchase_order_message-purchase_order-item INTO ls_proxyitem.
    l_index = l_index + 1.
    LOOP AT it_item INTO ls_item WHERE number_int = ls_proxyitem-id-value.
      LOOP AT it_partner INTO ls_partner WHERE p_guid = ls_item-guid.
        IF ls_partner-partner_fct = '00000712'.
          ls_proxyitem-zzxyz = ls_partner-zzxyz.
         ls_proxyitem-zzxyz = 'Test'.
          ls_fdspartner-buyer_id = ls_partner-partner_id.
         concatenate ls_partner-NAME ls_partner-NAME_2 into l_str separated by space.
          APPEND ls_partner-name TO ls_fdspartner-address-organisation_formatted_name.
          APPEND ls_partner-name_2 TO ls_fdspartner-address-organisation_formatted_name.
         ls_fdspartner-ADDRESS-ORGANISATION_FORMATTED_NAME = l_str.
          ls_fdspartner-address-physical_address-country_code = ls_partner-country.
          ls_fdspartner-address-physical_address-region_code-list_id = ls_partner-region.
          ls_fdspartner-address-physical_address-street_postal_code = ls_partner-postl_cod1.
          ls_fdspartner-address-physical_address-city_name = ls_partner-city.
          ls_fdspartner-address-physical_address-street_name = ls_partner-street.
          ls_fdspartner-address-physical_address-care_of_name = ls_partner-c_o_name.
          ls_fdspartner-address-physical_address-district_name = ls_partner-district.
*-- Populate telephone number
          ls_telephone-number-subscriber_id = ls_partner-tel1_numbr.
          ls_telephone-number_default_indicator = 'true'.
          ls_telephone-number_usage_denial_indicator = 'false'.
          APPEND ls_telephone TO ls_fdspartner-address-communication-telephone.
*-- Get Fax details
          ls_fax-number-subscriber_id = ls_partner-fax_number.
          ls_fax-number_default_indicator = 'true'.
          ls_fax-number_usage_denial_indicator = 'false'.
          APPEND ls_fax TO ls_fdspartner-address-communication-facsimile.
*-- Get Email details
          ls_email-address-value = ls_partner-e_mail.
          ls_email-address_default_indicator = 'true'.
          ls_email-address_usage_denial_indicator = 'false'.
          APPEND ls_email TO ls_fdspartner-address-communication-email.
          ls_proxyitem-zfinal_destination = ls_fdspartner.
          MODIFY cs_purchase_order_message-purchase_order-item INDEX l_index FROM ls_proxyitem.
          CLEAR ls_fdspartner.
        ENDIF.
        IF ls_partner-partner_fct = '00000027'.
          ls_proxyitem-zzcxyz = ls_partner-zzcxyz.
          MODIFY cs_purchase_order_message-purchase_order-item INDEX l_index FROM ls_proxyitem.
          l_flag = 'X'.
        ENDIF.
      ENDLOOP.
      IF l_flag IS INITIAL.
        READ TABLE it_partner INTO ls_partner WITH KEY partner_fct = '00000027'.
        IF sy-subrc = 0.
          ls_proxyitem-zzclxyz = ls_partner-zzclxyz. " custom field
          MODIFY cs_purchase_order_message-purchase_order-item INDEX l_index FROM ls_proxyitem.
        ENDIF.
      ENDIF.
    ENDLOOP.
  ENDLOOP.
ENDMETHOD.
Edited by: S Neelima on Apr 14, 2011 11:17 AM

Similar Messages

  • External system to SRM

    Hi SRM specialist
    <u>Scenario:External system --> SRM</u>
    Now we are examining how to do the Interface.
    Firstly PO data is created in External system and this data will be needed to transfer to SRM.
    <u>Question</u>
    What can we do when we will do the Interface from External system to SRM?
    (IDOC? XML? FTP?)
    Please tell me about it.

    Hi,
    As far as I know if ur talking with SAP with SAP system than connection would be RFC and the communication in the ALE IDOC right.
    But if ur talking with SAP with NON SAP system than the connection would be through some middleware like XI.
    Note:- But in some case u can pass your SAP IDOC into XML format to the other NON SAP System provided that the system should be in programmed in such a formate that it can understand and mapped the details as per the business requirement.
    See IDOC can be send in different format right like.
    1) Files Formate,
    2) TRFC Formate,
    3) XML File,
    4) XML Http,
    5) CPI-C,
    6) ABAP-PI
    Is this is the ans ur looking for please revert.
    BR,
    Vijay Mittal
    If it helps u in understanding and solving reward the points.

  • Problem while sending HL7 ACK to HL7 external system

    Hello,
    I am facing a problem with GlassFish ESB.
    The product version indicated in the IDE is: NetBeans IDE 6.1 (Build 200810140114). I have not yet tested the current version.
    My problem is as follow:
    - I have 2 service assemblies, one is File BC > HL7 BC and the other HL7 BC > BPEL with Database WSDL as partners.
    - It seems everything is doing OK. The HL7 file is read by File BC, then sent to HL7 BC, retrieved by the second HL7 BC, fed to the BPEL, and finally queries are executed. Then an ACK message is generated and an error occurs. Here is the stacktrace:
    HL7BC-I0155: Sent HL7 request to HL7 External System :MSH
    EVN|A01|2008090801529|||JavaCAPS6^^^^^^^USERS
    PID|1||A000010^^^HosA^MR^HosA||Noseda^Arthur^^^^^||19460101123045|M|||7 South 3rd Circle^^Downham Market^England - Norfolk^30828^UK^||||||||A2008090801529
    PV1|1|I|^^^|I|||FUL^Fulde^Gordian^^^^^^^^^^MAIN|||EMR|||||||||V2008090801529^^^^VISIT|||||||||||||||||||||||||2008090801529
    HL7BC-I0117: Received a message in HL7 binding 68899546013632-10229-134707429449130110
    HL7BC-I0137: Pattern for message exchange ID 68899546013632-10229-134707429449130110 is http://www.w3.org/2004/08/wsdl/in-only
    HL7BC-I0135: Constructing the ACK message with version ID HL7v231
    HL7BC-I0162: Creating ACK Builder object of class com.sun.jbi.hl7bc.extservice.ack.HL7v231ACKBuilder
    HL7BC-I0136: Constructed ACK message to be send to the sender MSH
    MSA|AA|CTLID_2008090801529
    HL7BC-I0129: Sending ACK back to the sender
    HL7BC-I0141: MLLPEncoder.setStartBlockChar():Value is set as :  (in decimal ascii).
    HL7BC-I0143: MLLPEncoder.setEndDataChar():Value is set as :  (in decimal ascii).
    HL7BC-I0142: MLLPEncoder.setEndBlockChar():Value is set as :
    (in decimal ascii).
    HL7BC-I0144: MLLPDecoder.setStartBlockChar(): Value is set as :  (in decimal ascii).
    HL7BC-I0146: MLLPDecoder.setEndDataChar(): Value is set as :  (in decimal ascii).
    HL7BC-I0145: MLLPDecoder.setEndBlockChar(): Value is set as :
    (in decimal ascii).
    HL7BC-I0160: Sending HL7 message acknowledgement to HL7 External System :MSH
    MSA|AA|CTLID_2008090801529
    ERREUR :  'HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)'
    HL7BC-W0126: Unable to decode the message due to error=[javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)]
    ERREUR :  'HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)'
    HL7BC-E0209: Failed to process the message exchange with ID 68899546013632-10229-134707429439760109 and exchange pattern http://www.w3.org/2004/08/wsdl/in-only due to error: HL7BC-W0121: Unable to process message exchange 68899546013632-10229-134707429439760109, end point com.sun.jbi.hl7bc.EndpointImpl@8cce44 and operation {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation.
    java.lang.Exception: HL7BC-W0121: Unable to process message exchange 68899546013632-10229-134707429439760109, end point com.sun.jbi.hl7bc.EndpointImpl@8cce44 and operation {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation.
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.processOneWayOutbound(OutboundMessageProcessor.java:851)
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:301)
            at com.sun.jbi.hl7bc.OutboundAction.run(OutboundAction.java:66)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:720)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
            at com.sun.jbi.hl7bc.util.XmlUtil.transformToDOMResult(XmlUtil.java:268)
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.getDOMResult(OutboundMessageProcessor.java:2187)
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.start2WayChannelWithExtSystem(OutboundMessageProcessor.java:1723)
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.processOneWayOutbound(OutboundMessageProcessor.java:825)
            ... 5 more
    Caused by: org.xml.sax.SAXParseException: HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.throwException(UnmarshalAdaptor.java:1181)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parsePseudoGroup(UnmarshalAdaptor.java:771)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseFieldCompSubcomp(UnmarshalAdaptor.java:490)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseParticle(UnmarshalAdaptor.java:340)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseSequence(UnmarshalAdaptor.java:571)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseParticle(UnmarshalAdaptor.java:351)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseSegmentOrPseudo(UnmarshalAdaptor.java:532)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseParticle(UnmarshalAdaptor.java:342)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseSequence(UnmarshalAdaptor.java:571)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseParticle(UnmarshalAdaptor.java:351)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parse(UnmarshalAdaptor.java:306)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:637)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708)
            ... 10 more
    Accepted the message in DBBC Binding.
    HL7BC-I0139: Set message exchange status to ERROR for message exchange ID 68899546013632-10229-134707429439760109 and exchange pattern http://www.w3.org/2004/08/wsdl/in-only
    FILEBC-W00708: One-Way Inbound MessageExchange for service: {HL7v22_Feeder_CA}casaService1, endpoint: casaPort1, operation: {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation, was returned with status=ERROR. If Re-delivery is configured, message will be re-sent.
    FILEBC-E00767: Provider for service [{HL7v22_Feeder_CA}casaService1] endpoint [casaPort1] responded with an error status. Error detail is: HL7BC-W0121: Unable to process message exchange 68899546013632-10229-134707429439760109, end point com.sun.jbi.hl7bc.EndpointImpl@8cce44 and operation {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation.I wonder if the MEP could be the reason. I think I chose in-only, and for the ACK to be sent, it could be necessary to go for in-out. Yet, what's puzzling me is the error message: MSH.11 must occur at least 1 time(s). Could it be that the ACK is badly generated? In the input (ADT) HL7 this field is populated with a P.

    Sadly, the reason was nothing but the Oracle JDBC driver. While it was correctly working as far as NetBeans is concerned, it was not for GlassFish. Hence, with the bubbling up exception mechanism, the stacktrace I got. Problem solved, but nasty error message.
    Thanks anyway.

  • Send HU structure to an external system through an idoc

    Hi,
    I need to send the description of an HU (Sub HUs and materials to an external system).
    Do you know if there is any standard idoc type allowing to do that.
    I tried to use idoc HU_CREATE or HU_PROCESSOUTPUTDIRECT but I think none of them will allow me to do that because there is no function module in outbound mode that I can use with them/
    Any ideas?
    Thanks in advance.
    Regards

    Hi,
    In order to send data to external system and if you have an middleware used in your landscape then
    create logical system for that system and associate the port with RFC destination (based on middleware used type 3 ot type t) can be used and idoc can be sent to middleware and middleware can take care of sending the data to the external system by converting it into required  format..
    These are normal scenarios for which Middlewares are used for integration..
    HTH
    Rajesh

  • Send production order changes to external system IDOC

    Hi,
    I need to send production order changes to an an external system. I understand that I can trigger idocs using t-code POIT.
    but my requirement is when a order is changed, i want to trigger an IDOC to external system with the new PO data...how can I achieve this

    Hi Swathi,
    A very high level idea.
    You can use the user exit..."LXCO1U06" and call the transaction POIT in back goround and submit the idoc. This exit is used @ save of TA code CO02. Moreover as the production order can be changed through several transactions like COHV, CO40, COOIS etc....you have to check whether this exit would be applicable for all transaction.
    Regards,
    Chinna

  • Need of XI to send an XML from one SAP system to another SAP system

    Dear colleagues,
    I work in the SRM solution.
    In SRM there is a Purchaser and Supplier scenario called Supplier Self Services.
    The Purchaser creates a Purchase order and sends it to the supplier in form of an XML file.
    The purchaser system and supplier system are the same SAP system but different clients.
    Example: Purchaser client is 300 and Supplier client is 330 and both of them are on the same system.
    I have a very basic question.
    Currently we have the XI system which acts as an interface to send the Purchaser PO XML to the Supplier as XML.
    a)My question is in case the XML structure is identical across both the clients, then what is the need of XI system?
    b) Is it not possible to send XML from one client to another without an XI system? there si no need of any message mapping required since I am expecting the same XML structure in both clients.
    Please clarify the need of XI system in the following scenario. Is it not possible without XI?
    Many thanks.
    Best regards,
    Srivatsa

    Hi Srivatsa,
        YOu can send the XML message from one sap system to another sap system even without an XI system in between.
    But the use of SAP XI (Or any other middleware) is recommended because, it gives you the following advantages.
    1) Better monitoring and alerting mechanism. XI provides you robust set of tools that let you monitor the status of the messages that are exchanged.
    2) Direct communication between systems is referred to as Point to Point communication, which has its own disadvantages as against Hub and SPoke model (Message exchange using XI).
    3) Message delivery is guaranteed if you have XI in between.
    If the target system is down, the sender sap system will not try multiple times to post the message.
    But if you use XI, it can be configured to send the message multiple times, till it succeeds.
    Regards,
    Ravi Kanth Talagana

  • Which idoc type allows to send plant/sloc info to external system?LOISM001?

    Dear EDI Experts,
    we are looking for a solution for the following issue:
    An external system (Mobile solution) shall get plant/stock info from SAP ERP.
    Process:
    1.Plant/Slocation is NOT empty, e.g. Material 1100 -> 100 PC
    2. Stock is posted to Pant/Sloc, e.g. Material 1110 -> 50 PC + Mat. 1200 -> 80 PC
    For the stock movement idocs can be generated BUT we need ALL stock of Plant/Sloc in idoc
    -> 100 PC of 1100
    ->  50 PC of 1110
    -> 80 PC of 1200
    As far as I know NO standard IDOC type exists which offers to transfer such info.
    I came across the LOISM001 (to be triggered via transaction POIT) idoc which may meet the requirments. BUT it creates an idoc per material.
    Questions:
    1. LOISM001: Is there any chance to combine all materials of a plant/storage location to ONE idoc?
    2. Any other idoc type suitable and how to trigger automatically?
    Many thanks
    Regards
    JW
    Edited by: Jens Wolf  on Jul 1, 2008 3:34 PM

    Hi !
    You may check out the PROACT01.
    It's designed to transmit stock data.
    Hope that helped a bit.
    Rainer

  • Calling a web service in external system from SRM

    Hi folks,
    A web service is created in the external system and I need to access this web service from a BADI. Can you tell me how can I call this web service (the external system is giving me a URL) and how I'll get a return. Please let me know in detail.
    Thanks,
    Prem

    Prem,
    Hi. You can call the service via HTTP protocol. Pass them values (SET_DATA), and receive a response (GET_DATA), via xml/html.
    In your code you would need to create the xml data to pass them, and evaluate the returned xml.
    Process...
    Data setup
    1) Create the XML to send them
    Working with the external service
    2) Open the HTTP connection
    2a) cl_http_client=>create_by_url (IF_HTTP_CLIENT)
    2b) lr_client->authenticate
    3) Call the to send them the XML
    3a) lr_client->request->set_data
    3b) lr_client->send
    4) Call the lr_client->receive to return the response
    5) Close the connection lr_client->close
    Data evaluate
    6) Evaluation the returned XML and process.
    Hope this helps
    Cheers
    Rob
    Code example below.. (There are loads of SAP examples depending on which release you are on).
    Process the call to the HTTP client - logic copied from RSHTML01     *
    Open IF_HTTP_CLIENT
      call method cl_http_client=>create_by_url
        exporting
          url                = l_url
        importing
          client             = lr_client
        exceptions
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          others             = 4.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          raising oops.
      endif.
    Authenticate the user
      if not g_int_type-usr is initial.
        move: g_int_type-usr      to l_user,
              g_int_type-password to l_password.
        call method lr_client->authenticate
          exporting
            username = l_user
            password = l_password.
      endif.
    Allow for Cookies
      lr_client->propertytype_accept_cookie = lr_client->co_enabled.
    Set the server protocol
      select single gsval into l_server_protocol
        from z77s0
          where grpid = c_grpid
          and   semid = c_server_protocol.
      if sy-subrc eq 0
      and not l_server_protocol is initial.
        move l_server_protocol to l_st_server_protocol.
        call method lr_client->request->set_header_field
          exporting
            name  = '~server_protocol'
            value = l_st_server_protocol.
      endif.
      Send out the XML
      Set body to XML data
        lr_client->request->set_data( g_xxml ).
        save_xml( i_role = cl_xml_document=>c_role_oreq ).
        l_request_length = xstrlen( g_xxml ).
      If Data is sent through then we need certain flags set
        lr_client->request->set_header_field(
                                   name = 'Content-Type'
                                   value = zcl_tem_bsp=>c_xml_content ).
        call method lr_client->request->set_header_field
          exporting
            name  = '~request_method'
            value = 'POST'.
      Set length of string to the header fields
        if not l_request_length is initial.
          move l_request_length to l_st_request_length.
          lr_client->request->set_header_field(
                                    name = 'content-length'
                                    value = l_st_request_length ).
        endif.
      Send the request
        call method lr_client->send
          exceptions
            http_communication_failure = 1
            http_invalid_state         = 2
            http_processing_failed     = 3
            http_invalid_timeout       = 4
            others                     = 5.
        check_for_error 'Send'.
      Receive the response
        call method lr_client->receive
          exceptions
            http_communication_failure = 1
            http_invalid_state         = 2
            http_processing_failed     = 3
            others                     = 4.
        check_for_error 'Receive'.
      Determined returned XML or HTML
        g_xxml = lr_client->response->get_data(  ).
      Determine the header fields for failure validation
        if lr_client->response->get_header_field( '~status_code' )
              between 200 and 299.
          save_xml( i_role = cl_xml_document=>c_role_ires ).
        else.
          l_status_code =
            lr_client->response->get_header_field( '~status_code' ).
          l_descript_1 =
            lr_client->response->get_header_field( 'error' ).
          l_descript_2 =
            lr_client->response->get_header_field( 'errortext' ).

  • How to send price condition changes to external system

    Hi all,
    By using trans: VK11/VK12 we may add and change pricing conditions for a particular condition type.
    We want to send to PI changes beeing made (for amount, date interval, e.t.c...). Our condition type is ZPRB, involving the following table to be changed: A090, A662, A677, A663 (in addition to KONH/KONP).
    We thought we could program changes/insertions in the process to a new table refering the changes, and use a proxy call to be triggered upon this table, but unfortunately these transactions (VK11/VK12) does not contain any User Exit. So we have to make changes to the standard SAP if we go for that solution.
    My question is therefor: Is there a better way of transferring the price changes made by these transactions (ALE/Changepointer, BAPI, IDOC, e.t.c...).
    Please advice and describe what is the best solution?
    Best regards
    Leif Lohne.

    Good idea. Doing this exposed 2 problems:
    1 - First problem: The program changes in the midi file work from logic, but not when the midi file is played from a Mainstage external instrument channel strip. So it seems that Mainstage is stripping out the program changes. (Any note play information in the midifile is played from Mainstage, but not the program changes.)
    2 - Second Problem: The sys ex event instruction (I typed in manually in the event editor in logic) to change performance modes on the external keyboard is not working from logic either... So I must be doing something wrong?  I have to create the sys ex event manually, since the external keyboards I'm using don't transmit mode changes for me to record into a midifile. In this case, I'm using a Yamaha S90ES, and manually created the sys ex event in logic for mode change to Voice:
    Yamaha S909ES Voice mode:  $F0 $43 $11 $7F $01 $0A $00 $01 $00 -$F7+
    However, the mode does not change when the file is play back from logic...
    Sure appreciate your help...

  • Sending IDOC-xml to R/3 system

    Hi all
          I am doing a bypass File to Idoc  scenario.we taking the input file as idoc xml and sending it to R/3 system for IDOC generation.Every thing is normal but in SXMB_MONI its showing Obligatory node E1EDP10 missing while that segment was persent in the input file then we just replaced <E1EDP10> by <E1EDP10 SEGMENT="EIEDP10"> elated! it worked I thought the problem was solved "EUREKA"........But now the client is telling we should not hardcode any value in the input file they have provided i.e we shouldn't add the segment attribute.
    Its bypass thats why we can't do mapping also......now we r puzzled ........
    can we achieve this by changing the XSD of idoc converting the segment attribute required to optional? or what should be do plz tell us as its urgent.........
    Regards
    saurabh sharma

    Pls avoid creating new threads for the same problem when you have a thread already open for the same issue.
    Regards,
    Jai Shankar

  • Send BP changedOn date to external system

    Hi CRM Technical Experts,
    I am using bapi crmxif_partner_save_m01 to send create and change of BP to external system as Idoc. I also need to send changed on date and user id, if changes are made to bp. but I could't find appropriate fields in bapi. Idoc contains only create date and time.
    Is there anything with bdoc to send or how is it works.

    hi
    Mehar
    We need to customize the settings in Middleware for data integration between CRM and a external system
    this can be done through XIF adapter
    please navigate through IMG as follows..
    IMG --> Customer Relationship Managment --> CRM Middleware and Related Components --> Exchanging Data with External Components --> XIF Adapter Setup --> Outbound/Inbound Direction
    hope it clarifies
    Venu

  • Encrypt data send from a non-SAP system to ECC.

    Hi,
    We are tryign to encrypt the credit card details send from web (non-sap system) via a xml file to ECC.
    From Basis side, I have exported the public key from the ECC for the web server to encrypt the CC details while sending via xml.
    The external web consultants encrypted the cc detail with the public key and send it via xml but that was not able to decrypt at the ECC side.
    The developers were using the FM 'CCARD_DEVELOPE'at ECC to decrypt the data in the xml file. It was saying SSF error: No data transfered.
    Meanwhile SAP CryptoLib is installed and credit card encryption/decryption is working fine for CC details entered via GUI interface.
    Is there anything I am missing out here to encrypt CC details send from a Non-SAP system to ECC.? Do we need to load the SAP cryptolib in the non-SAP system to ecrypt this data at the senders end. Or is there a alternate solution for this ?
    We are in ECC6.0/RHEL/Oracle10204.
    Appreciate your help.
    Thanks

    Hi Nelis,
    Thanks for your reply.
    This note does not get any information regarding encrypting data from a non-SAP system to SAp system.
    I am looking setup/information for encrypting data from a non-SAP system to SAP system.
    Thanks

  • Send IDoc from External System to SAP system

    Hi Folks,
        I have a requirement to send IDocs from an external system to the SAp system. Basically the external system is a subsystem which is able to send & receive idocs. The external system is currently able to send idocs to SAP system through the ALE layer but now we have to replace it by PI. Now the external system has to send teh IDocs to the SAP ECC system through the SAP PI 7.0.
       Kindly let me knowq how I can achieve it.
    Regards,
      Santosh

    Hi Satish,
    You can achieve this requirement
    1)If your external system going to support web service cals then send IDoc from External system as a web service, in PI use sender side SOAP and receiver side IDoc receiver channel  to  send IDoc.
    or
    2)Use proxy program ,implement the same ALE logic in PI.
      or
    3)Copy the Extenal IDoc message in to file folder as XML,then use file adapter to pick up this message and send it SAP using IDoc.
    Regards,
    raj

  • How to send IDOC's to external systems

    Hi everybody,
    I'd like to get information of how I can send one IDOC to an external system.
    I have to send data about access control and e-learning from R/3 to external system,  I think an IDOC is the perfect way to do it, but I don't know all the steps involved.
    Could anyone explain me or give some document or link in with I could see all the steps  from the selection of the IDOC (What to do if the idoc doesn't fit exactly) until the IDOC is out of the r/3 system, how to configure the ALE, etc
    Thank you very much.

    This document might be helpful:
    http://www.angeli.biz/www5/books/IDocBook/IDocBook.pdf
    It's a bit outdated but most of the info is still actual. If you anticipate a lot of ALE/IDoc projects, I suggest getting this book: http://www.amazon.com/IDoc-Technologies-Prima-Techs-Book/dp/0761534318/sr=8-1/qid=1170864257/ref=sr_1_1/103-6659593-2860615?ie=UTF8&s=books
    It is out of print right now but I've heard that more copies are coming out this year. This is the most comprehensive book available on the market at this time.

  • Send routings to external system using ALE

    Hey guys,
    I am using ECC 6.0. Under tools->ALE->Master Data Distibution-> Logisitcs-> Bill of Material -> Routings i tried to send a routing to an external system which is already setup for many other types of master data. I get the error "Transaction code /SAPMP/SEROU cannot be executed" . I do not know how to fix it.
    I also tried using transaction POIM but did not understand how to send the BOM along with routings and work centers in that T-code. I am able to send materials through that screen successfully but nothing else. If someone could help me out I would appreciate it.
    Thanks in Advance.

    AN issue regarding " Long Texts "(texts in accounting document).
    1) Am using RFBIBL00( Direct Input method ) to transfer Accounting Documents.
    2) I need to Update "Texts" both Header & line item for accounting document using Direct input method.
    3)I tried to append a custom 'Z' include, that calls SAVE_TEXT function module, in program RFBIBL00 to save texts for the respective Accounting document.But the performance is  very low.
    4)If I use direct input program /SAPDMC/SAP_LSMW_IMPORT_TEXTS or /SAPDMC/SAP_LSMW_SXDA_TEXTS how will it save texts to document, before it is created , since we are still in LSMW that just generates .CONV file , but it might not create account document number, once the .Conv file goes to RFBIBL00, account document gets generated .
    5)another major issue am encountering is , if one of a document fails (error) how about updating texts.How i send text to BDC in this case.
    My queries are :
    a) Is there any other way to update texts using Direct input method ?
    b)Can I integrate, direct input program RSTXLITF  with RFBIBL00, is that feasible, will i be able to save texts with out any performance issues ?
    I would really appreciate if am given some suggestions or solutions for the above case.
    Thanks alot in Advance !

Maybe you are looking for