Employee photo - send to external system

Hi,
There is requirement that need to send employee photo from sap to the external system.  How can I do this?  Any function or sample code for this?

REPORT ZHR_BDC_UPLOADPIC NO STANDARD PAGE HEADING LINE-SIZE 255.
INCLUDE
INCLUDE BDCRECX1.
I N T E R N A L T A B L E S
DATA : BEGIN OF IT_DATA OCCURS 0, RP50G-PERNR(8), " LIKE RP50G-PERNR,
RLGRAP-FILENAME(128),
END OF IT_DATA.
S T A R T - O F - S E L E C T I O N
START-OF-SELECTION.PERFORM OPEN_GROUP.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = 'C:\PICTURE.TXT'
FILETYPE = 'DAT'
TABLES
DATA_TAB = IT_DATA
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7.
IF SY-SUBRC NE 0.
WRITE : / 'Unable to upload data'.
STOP.
ENDIF.
LOOP AT IT_DATA.
PERFORM BDC_DYNPRO USING 'OANEWCON' '0100'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'TOAOM-AR_OBJECT'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=NEW'.
PERFORM BDC_FIELD USING 'TOAOM-SAP_OBJECT'
'PREL'.
PERFORM BDC_FIELD USING 'TOAOM-AR_OBJECT'
'HRICOLFOTO'.
PERFORM BDC_DYNPRO USING 'SAPLSJ01' '0200'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'FIELD_VALUES-INPUT(02)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=OK'.
PERFORM BDC_FIELD USING 'FIELD_VALUES-INPUT(01)'
IT_DATA-RP50G-PERNR. "'10002'.
PERFORM BDC_FIELD USING 'FIELD_VALUES-INPUT(02)'
'0002'.
PERFORM BDC_DYNPRO USING 'SAPLOPTM' '0105'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'SAPB-SAPPOOLINF'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=OKAY'.
PERFORM BDC_FIELD USING 'SAPB-SAPPOOLINF'
IT_DATA-RLGRAP-FILENAME. "JPG'.
PERFORM BDC_TRANSACTION USING 'OAOH'.
clear IT_DATA-RLGRAP-FILENAME.
ENDLOOP.
PERFORM CLOSE_GROUP.

Similar Messages

  • Extract data from SAP and send to external system via Webmethods & IDOC's

    Hi,
    We need to Extract data from SAP and send to an external system via Webmethods middlewear using IDOCs. I have never used webmethods before and would like to know more about how to implement this scenario. I have used IDOCS in an EDI scenario before but not used it along with WebMethods.
    Any pointers would be of great help. Thanks

    If you have already ABAP programs /BAPI's in place then try to develop RFC interface and write some back ground programs to scheudl BAPI's and develop scenario but you need to implement error handling , data validation in PI mapping level.
    or
    take help from ABAPer to design in ABAP like writing Proxy program to pull data and send it PI.
    if you are dealing with master data bit risky(correctness) but can be achived using PI.

  • Send to external system interest calculation simulation

    I want to send the result of interest calculation (FPI1 or FPINTM1) without posting, like visualization function of this transaction to external SAP system. Is there some BAPI, function module or event that helps me to do that?
    Regards,

    Hi Joel,
    Without posting, no interest document is generated, and thus the line item interest calculation doesn't take place as required.
    The best approach is to post and perform a transport routine (SAP transport) - essentially transferring data from external applications Or from one system to another.
    Kind Regards,
    Adrian

  • 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

  • Send price conditions to external system

    Hello,
    I would like to send the price conditions to a non SAP system. The IDOC COND_A02 seems to be the solution for sending the price conditions modifications to this system but is there a programm to send an initial set of idocs with all conditions (like RBDSEMAT for materials)? I cannot find any.
    Thanks in advance for any help provided.
    Julien

    Julien,
    You can send prices to external system from pricing reports, transaction V/LD.  For example, I used this to send sales prices to an external system using pricing report 15.  Here you can enter your material selection criteria including, condition type.  This will generate a report which you can then send to external systems.  I apologize, but I do not remember the menu path from the report result off hand.
    Ram,
    Make sure you have activated change pointers for message type COND_A, create or change a price and excute RBDMIDOC for COND_A.

  • BSP error when trying to  upload employee photo

    ,<h1>.Dear Experts,<</h1>
    <h2>I am trying to upload employee photo on my SAP system DB.
         I am following note 595563 and performing below mentioned activities.</h2>
           <h3> * Make sure that the HTTP plugin is active.</h3>
        <h4>  Transaction SMICM, "Display Services" function key (shift F1). The list of services must contain a port other than 0 for HTTP. If not, you must adjust the relevant profile parameter.
         Typical entry:
          icm/server_port_0         PROT=HTTP, PORT=1080, TIMEOUT=900
    Make sure that the /sap/bc/contentserver service is active.
          Transaction SICF, select: default_host - sap - bc - contentserver. Select the function to display/change the service. Check that a user is defined.
          If a user is not defined, use Transaction SU01 to create a new user. Use the "System" user type. Assign the profiles SAP_ALL and SAP_NEW to the user.
          Using the relevant data from the user that has just been created, maintain the anonymous logon data for the service /default_host/sap/bc/ and then save the changes.
    Check the system PSE.
          Start Transaction STRUST. Expand the system PSE. The system PSE must be green for each application server.
    Determine a suitable exchange directory.
          The archive system must be accessible from every application server. If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application servers (for example,
    server\share) is sufficient. You can generally use the global directory (profile parameter DIR_GLOBAL). You can use report RSPARAM to determine the profile parameters.
    Setting up the storage
    Create a table for storing the data.
          Use Transaction SE11 to create a copy of table SDOKCONT1. If you want to create the repository database, you can call the table ZCONT_DB, for example.  Save the table as a local object. Activate the table.
    Create the repository.
          Use Transaction OAC0 to create a new repository.
          Use the following parameters:
            Repository                              Max. two characters, for example, DB
            Document area ArchiveLink
            Storage type    R/3 database
            Storage subtype normal
            Version no.      0046
            Contents table <table name>     for example: ZCONT_DB
            Exchange directory   <directory name>          for example:
    server\share\
          Note that the exchange directory ends with a \ (or a / on Unix). If you are using a variety of platforms, you must use Transaction FILE to define a suitable logical file name, and use this file name.
          Save the settings.                                                                               
    </h4>
      <h5>
    Everything goes well  but when i try to test the Repository created by  RSCMSTH0 in SE38 it throws the error </h5>
      HTTP error: 404 Business Server Page (BSP) Error
    Message no. CMS025
    Diagnosis
    Error in accessing via HTTP
    404 Business Server Page (BSP) Error
    Please help. M i missing anything ..?
    <h6>Regards,
    Alok</h6>
    Edited by: Nikhil Manjrekar on Aug 14, 2009 9:45 AM
    Edited by: Nikhil Manjrekar on Aug 14, 2009 9:45 AM

    Hi,
    I am getting same problem what is the solution??
    Thanks
    Santhosh

  • Replicate Conditions to external system

    Hi experts,
    I'm setting up an interface to an external non SAP system.
    With the subscription functionality I already set up the repkication of BP , Rel, Products & transactions via the XIF interface.
    Next step is the pricing. I looked and found Idoc message CRMXIF_COND_REC_COMPL_SAVE linked to the same function module but this seems to support only inbound messages.
    Next I was thinking to use change pointers. But the question is which Idoc type in crm is suitable for this ( can I use CRMXIF_COND_REC_COMPL_SAVE_M ) and for which object do I activate the pointers in BD52 ? (BEA_CNPL_PL ?? )
    Or are there other methods to trigger the sending of idocs to an external systemin this case ?
    Thx !!
    Edited by: Olivier@eVolution on Feb 29, 2012 2:38 PM

    Julien,
    You can send prices to external system from pricing reports, transaction V/LD.  For example, I used this to send sales prices to an external system using pricing report 15.  Here you can enter your material selection criteria including, condition type.  This will generate a report which you can then send to external systems.  I apologize, but I do not remember the menu path from the report result off hand.
    Ram,
    Make sure you have activated change pointers for message type COND_A, create or change a price and excute RBDMIDOC for COND_A.

  • Get employee photo and display the photo in external system.

    Hi,
    We start to work with the portal....We want an application that display the employee photo..
    The photo is the same one that appear in pa20/30...
    We create the photos in OAAD and have a table repository.
    How from here i can use this to build a RFC that return "data"..that from the external system we can show the photo,
    Thanks.

    write a RFC which uses
    'HR_IMAGE_EXISTS' to get the image document id and then use 'ALINK_RFC_TABLE_GET' to  image in JPG format convert the returned RAW table to xstring format using SCMS_BINARY_TO_XSTRING pass the resulting xstring as the export parameter of this RFC .
    portal application can now use this xsring to render the image.
    Regards
    Raja

  • Employee Photo - External HTTP service

    Hi all,
    currently I trying to setup the Employee photo dysplay in the portal Iview photo and in PA20/30 transaction. My problem is that I have the requirement to use an external http service that doesn't supports SAP Content Server HTTP Interface and it requires Basic authentication.
    The access to the picture can be done by a direct url http://hostname/path/pernr.jpg ou using a dll service, http://hostname/path/service.dll?docid=pernr.
    Does anyone ever face a similar problem, is there a way to implement this using "standard" features?
    For example put the access logic to the picture in a function module or other object, and setup the z* object has the content server implementation.
    Thanks and best regards,
    Paulo Ruivo

    Hello
    Where are you trying to store the photos? In an external storage system or in the database?
    If you are using an external storage system, please note that you must use either a different content server installation for each system, or at least a different content repository.
    In case you are using the database storage, then make sure you have followed all the instructions from the note 595563 to do this. In case everything is fine, please go to OAC0 and test the connection to your content repository.
    Additionaly please ensure that you have the lastest version of SAPHTTP installed on your system. Please review the SAP  note 615354 for more information on this.
    Thanks and Kind Regards
    Ramana

  • 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.

  • Sender File Adapter  not able to get file via FTP from an external system

    Hi,
    I have a Sender File Adapter using FTP which polls a server every 10 seconds looking for a file ".xml".  The adapter will connect and pick up the waiting file, but sometimes the adapter not able to get file via FTP from an external system. The file is on the server, but despite the polling, the adapter does not pick up it. There is no return error.
    The connect mode is Permanently and the transfer mode is Binary.
    Can you help me?
    Thanks.
    T.

    Hi Teresa,
    does this case appears with a file size higher the others?
    Personally, I do not recommend to have a polling under 1min.
    10s could be too just, if the file is not small and/or if the file server is far (several kilometers) to where the Adapter Engine is, and/or this file server is beside a firewall. Do not forget also that, with previous points, you could have like a conflict, betwen the 1st polling and the 2nd polling, if in less 10s PI adapter has not enough time: to connect to the FTP server (several Km), find the file (perhaps among 100 other files in the directory), go back to the file to Adapter Engine server (several Km again), convert your file to XML message (with a complex Content Conversion), then check the XML structure, and when all that is done, return back to FTP server (several Km), to archive the source file... Well It's my understanding of a FTP exchange with FILE adapter...
    If you really need a 10s polling, that's mean your have a pseudo real time interface. In that case, in my mind file should not be used! but we should use a Web service, JDBC JMS (any exchange without a physical object like a file). For me, it's a non-sens to have a file in that case.
    regards.
    mickael

  • Asking ECC System Credentials while Displaying Employee Photo in CODService

    Hello All,
    Currently we are having requirement like , need to display the employee Photo from Portal.
    Already all the Employee Photos are Uplaoded in the backend, i can able to see employee photos on Hearder in PA30.
    While Displaying the Employee Photo from the Portal using COD Service, it asking the ECC System Credentails.
    What Configuration steps need to follow to display the Employee Photo in CHange Own Data Service from the Portal with out asking the backend system Credentails..
    Plz Share some inputs to fix the issue..
    Thanks in Advance
    Adapag

    Hi Pramod,
    Thanks for the reply, we stored all our employee photos on  ECC System Only...
    If i enter the Personal No: in PA30, i am able to see the EMployee Photos on the Header..
    But While accessing the COD Service from the Portal, asking ECC system credentials to display the photo.. If i am providing the Credenials Employee Photo is displaying .. other wise Blank Image Displaying...
    Siddarth suggested its due to SSO problem, if its sso issue, how come i login into portal without any errors currently we are using ABAP UME both Portal and ECC Login details r same...
    Please Suggest me how to fix the issue...
    Thanks in Advance
    Adapag

  • 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

  • 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

  • Sending IDoc from external system to XI system

    Hi All,
        I want to send an IDoc from a subsytem (External System) to the SAP PI system. how to achieve the same ?
    Regards,
       Santosh

    hi,
    >>>Do you mean to say the port I am creating for the external system should actually refer to a SAP system
    not the port - port's name should be a new one but the RFC should point to an SAP system
    >>>and the IDoc you want to transmit should be imported to that port using the tcode IDX2.
    this will be transported then from SAP application system
    >>>>In fact I have already done the same step but its still not working the IDoc is not reaching the XI system.
    then you should see the error in your sending tool - I worked with JCO IDOC client and the error was always
    very explanatory (like BS in SLD missing etc.) so it was pretty easy to debug
    Regards,
    Michal Krawczyk

Maybe you are looking for