EDI file to IDOC using Business connector 4.6

Hi Gurus,
                   We have a requirement of converting the EDI file to IDOC using Business connector 4.6 (943 & 944 ) one Inbound and other is outbound ..
Can any one of you share the document on developing the scensrio ... we have searched couldnt get the same.
Thanks in advance .
Ramamurthy

Hi Raj,
                 Thanks for the reply , Yes currently we also having the project using PI as rightly said we are using the seeburger and then converting the EDI format to XML and then mapped in IR to the IDOC .
also using Item field conversion we developed some projects , similarly we have developed using modules too .
Since the Business connector is new to us we didnt able to catch hold on where to import the Java program that we write in the Business connector ... from  Jothi reply understood the server side configuration.
In case of BC where is that we need to implement the java code if you can share some thing on this would be good .
Could you please share on how to transform and then implement the code in the BC ....
Thanks,
Ramamurthy

Similar Messages

  • Using Business Connector to convert a file to XML

    Hi, I have been asked to see if a flat file created by an abap program can be converted to XML format using Business Connector (4.7). I have looked in the tutorial and the pdf documents but can not see how this is done. Please could someone give me some advice?
    - Is this possible using built-in Business Connector services - or is it more complicated?
    - Should I even bother to try to do this when it it easy for me to create an XML format file from ABAP?
    - Is there a good course, book, documentation that would help me?
    Thanks, Andy

    Hi Andy!
    Our customers have this requirement to convert some "flat-file" into some XML format via Business Connector quite often. The best way (as the last post sugessted) is indeed to use the "EDI-Adapter" which is free of charge (service.sap.com/connectors).
    With that module you can convert all flat-files (delimiter based, offset based, mixed, even classical EDI formats, ...) based on some definition ( = template). Be careful the EDI-Adapter Module download page states that it is supported for BC version 4.6 . However it is absolutely no problem to use it in BC 4.7 versions as well. Remember that you will NOT get any official support by SAP when using the EDI-Adapter module.
    Simply import the EDI-Module as general BC package (server/replicate/inbound directory).
    Generally it is very powerful, stable and well documented ...
    Best regards, Andy

  • IDOC to EDI file scenario and EDI file to IDOC scenario without Seeburger

    Hi All,
    IDOC (Invoice) to EDI file scenario without Seeburger
    Pls let me know if anybody have blogs for the same
    EDI file to IDOC (Orders) scenario without Seeburger
    Pls let me know if anybody have blogs for the same
    Regards

    Hi Rachit,
    >>Can anybody send me blogs to convert IDoc structure to EDI or EDI to IDoc structure using Conversion Agent or using JAVA Mappings.
    Using conversion Agent there is no coding, If you have a conversion agent insatlled in your landscape you will have better understanding..
    Also java code for IDoc to EDI have some problems:
    1. The EDI format differs based on requirement so there will always be a customized code for it.. Like we have IDco to EDIFACT and ANSX12...
    2. Because most of these codes are propriety materials I doubt whether anyone be sharing the complete code here in SDN. Better to have a java consultant at your end and put him with your requirement.. From the reply in above threads you should be clear that what you are looking for can be done from java coding..
    All the best
    Regards
    Suraj

  • Regaring File to IDOC  Useing SOAP Adapter

    Hi ,
        Can any one please forward me an File to idoc Useing SOAP ADapter Senario.IF i am wrong please send me a simple senario of useing SOAP Adapter.
    Regd's
    Raj

    Hi Raj,
    I think i will give you some more information about SOAP adapters,So Please go through the link below and follow the steps mentioned in it while defining the web service.Then you will get to know the actual use of a SOAP adapter.
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm">Defining Web Services</a>
    Sending a Simple SOAP envelope to XI via HTTP using ASP
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken]
    More links for SOAP Adapter:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    You can create SOAP Request from WSDL using the following tool.
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    You've to expose your outbound message interface as a WSDL which can be used by say EP.
    Also go thru the following threads
    Re: WebService
    Re: SOAP Client for Synchronous Scenario
    Re: How to test a webservice as a standalone?
    Also check this Pdf for the Receiever SOAP Adapter configuration:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
    Regards,
    abhy

  • ABAP Query output to XML file using Business connector

    Hi All,
    I would request your help on to know, how can I read the output of ABAP query executed in SAP system via Business connector and then generate a XML file.
    Also the existing business connector system, generates the XML file in encoding iso-8859-1. Where as customer wants the output XML file in encoding windows-1252.
    Please help with your valuable ideas.
    Thanks,

    Hello,
    possible solution:
    1. create a remote function module (FM) in SAP which returns your needed data
    2. create outbound map in BC for this FM
    3. call this FM from BC in a flow
    3. extract the result to XML (e.g. with service recordToDocument)
    CSY

  • Send IDOC from Business Connector to SAP faster

    Hi Developer!
    I need to send a very lot of IDOC converted from XML files from the Business Connector to SAP. The XML files are in different directories pro business partner, but they have a same type (ISU_MSCONS).
    My problem, that the import take a lot of time. Only in every 3 seconds (IDOC creation time) gets (or works up?) the SAP one IDOC. I start diferent services pro partner at the same time to import the IDOCs, but I couldnt short the 3 second work time in the SAP. So you can count it easy, that in 1 minute I can import 20, in 1 hour 1200, in 1 day 28800 IDOCs instead of 100.000.
    It is really parallel import? Have anybody any idea to make the import more faster. I know (asked the SAP Administrator) so, one BC - SAP connection (Program_ID) has more pools (= threads) in the SAP at the same time.
    Thanks any help,
    Charlie

    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 do we Integratet SAP to Non-SAP Using Business Connector

    Hi Experts,
    I am new to SAP Business Connector !!
    and what are the Forms ? for SAP Business Connector Related Postings ??
    !! I have a requirement to integrate sap to non-sap with Business Connector !!
    We need to Generate the SAP Data In xml Format ? and the Non-sap System can Understand Only XML Formated data.
    Is there any way Business Connector Box can Pull the XML file from R/3 Application Server and store the file in the Business Connector Server. from  that How do we Sent XML file to Non-sap. How do we Integrate ??
    what transaction code will trigger this event ? I mean is ther any SAP Transaction Code to Integrate Business Connector?
    For Eg. like in R/3  SD to FICO and MM Integration.
    Please Give your Valuable Suggests..
    Thanks .
    Upender.

    Hi,
    It is not an issue, It will be a separate project :-).
    The right forums for this,
    Expert Forums » SAP NetWeaver » Process Integration
    www.wmusers.com
    Also go through the following links:
    http://www.sapgenie.com/interfaces/businessconnector.htm
    http://www.sapgenie.com/mysap/bus_connector.htm
    /people/bla.suranyi/blog/2006/07/10/xi--sap-business-connector-integration-using-the-http-adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/3f93404f673028e10000000a1550b0/frameset.htm
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b4f3755a-0401-0010-b6b3-9b65bb7d4503
    https://websmp104.sap-ag.de/connectors
    Thanks and Regards,
    Chandra Madapati

  • IDoc Inbound Business Connector

    Hello
    I am trying to send an inbound IDoc to SAP via Business Connector. This is shortly to be replaced by XI.
    The flow in Business Connector creates a routing rule which is blank because it is not finding the control information from the IDoc I believe.
    I think I am missing a step in my flow.
    Currently the flow is
    document to record
    Transform hierarchy to Flat.
    Map ( mapping the fields into the IDoc)
    Record to Idoc
    Inbound process
    The inbound process always fails because it doesnt recognise the message type, sender etc.
    This is all the idoc and in record to Idoc this is an input with an output of Idoc list which is passed to the inbound process.
    However Idoclist I believe doesn't seem to contain any data.
    I think a step is missing can anyone help??
    Thanks

    Hi,
    Please see this.
    Hi,
    BC adapter can be used when you want to communicate to a existing interface on Business Connector. If you are talking to SAP, you use RFC / IDOC adapters.
    The SAP Business Connector (BC) is used in a large number of SAP production environments. SAP Business Connector will probably be gradually phased out and replaced by SAP XI technology. For the short term SAP Business connector and SAP XI will inevitably continue to coexist in companies IT landscapes.
    See Below links
    Integrating your SAP Business Connector with SAP XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/96ed2129-0b01-0010-2e91-c45e1fad0d03
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4f27ad80-0c01-0010-f8b8-c5e153a16ca1
    Before XI
    Before XI
    webMethods Integration Server Vs.  SAP Business Connector 4.7 (BC)
    Choose the Right Adapter to integrate with SAP systems
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Thanks
    akshay

  • Problem with Sender Agreement for EDI File to Idoc scenario

    I'm configuring PI for EDI with Seeburger Adapter (Calling as a Module) and I'm having an issue with the Sender Agreement using File Adapter.
    Process used is File to IDOC. EDI data will be picked up from VAN (Using existing FTP process rather than using Seeburger FTP) and stored in a folder which is being accessed by PI  to send to R/3 to create orders.
    All my inbound EDI will be stored in same folder which should be picked up by XI and distribute the same depending upon the respective scenario's in ID and respective mapping/config in IR.
    The whole process IR & ID works fine and also creates Idoc in R/3, if I configure for one customer for EDI 850, but when I try to configure for second customer for same EDI 850 having same ANSIX12 version (V4010) as previous customer, I get stuck at the Sender Agreement part for this second customer because I use the same CC for File read for both the customers (Scenarios) and since there is a limitation with File Adapter "sender channel must not be assigned to more than one sender agreement ".
    How can I create the Sender Agreement using the same CC for my other scenario?
    I tried creating multiple CC for different scenario but when I place a test file for customer A, I see that its being picked up by both CC's.
    Pl Advise.
    Thanks!
    PSR

    You need to configure splitter as module in sender file adapter (classifier->bic->splitter) as well as define a message splitter(with partner number and Seeburger mapping) in Seeburger workbench.
    Thank you for the reply Aamir,
    Do you have any document which can guide me through the process?
    Does Seeburger Workbench play any role here? because I'm not using See FTP adapter to connect to my VAN. We get the data from the VAN using FTP process but not using See FTP. I'm using BIC to generate an XSD and SDA file, rest everything is in XI using File to idoc and IDOC to file process.
    Thx
    PSR

  • JCo IDoc: SAP Business Connector required?

    On my searching for the error IDOC_ERROR_METADATA_UNAVAILABLE i have found this thread:
    BC 4.7 -IDOC_ERROR_METADATA_UNAVAILABLE
    "As of SAP BC 4.7 the SAP Adapter (the piece dealing with the SAP system(s)) uses the new SAP IDoc Java API which uses other function modules to retrieve the definition data of the IDocs.
    You need new permissions in the SAP system, especially
    S_IDOCDEFT:EDI_TCD=WE30,ACTVT=03,EDI_CIM=,EDI_DOC=
    S_CTS_ADMI:CTS_ADMFCT=TABL"
    Does JCo Idoc require the Business Connector installed to execute the JCoIDoc.createDocument() method? I guess not, but i can not see other reasons for the error message. If i read it correctly, the BC needs the permissions in SAP, but the JCoIdoc library does not depend on the BC.
    Mike

    No, it is not required.  At my company we use a third party software to handle all faxes.  Really it is setup SAP as an output device, so it is just like printing to a printer.  THe only differences is we need to have a header page in the sapscript which gives all of the details of the fax to the third party software.  This software then strips off this first page and faxes the rest of the pages.
    It is called RightFax and it runs on a separate server.
    Regards,
    Rich Heilman

  • File to Idocs using BPM

    Hi,
    Current Interface Flow - File (xml) to Idoc (single Idoc type)
    Thirdparty sends a File for Goods Receipt. This file may have multiple orders.
    Orders are sorted in an xslt by ORDNUM. Each record has a delivery type (Deliver Type PO or Delivery Type STO). For each order Graphical Message mapping occurs.
    In case of PO, inbound delivery number and item number have to be received from ECC via an RFC call and passed to VBELN and POSNR. While in case of STO, source field ORDNUM and ORDITEM are passed to VBELN and POSNR. (RFC call happens only for POs, not for STOs)
    In case of STO, TCode  will be MB0A.and IDoc would be WMMBXY (As is the case right now)
    In case of PO, there may be two cases -
         a) There is at least one response from ECC for all the line items inside an order --> in this case TCode will be MB0A and IDoc is  WMMBXY .
         b) If there is no inbound delivery number for any line item from ECC inside an order --> TCode MB01 will be used and IDoc used is WMMBXY
    So for all the above cases Target IDoc is WMMBXY.
    Changes to be done - Now  File (xml) to Idoc (Two different Idoc types, WMMBXY and DELIVERY03)
    Now there is an additional requirement that I will be using an additional IDoc (DELIVERY03) in above case a).
    I want to use BPM in this case
    1) RFC call in message mapping to get the inbound delivery number (for POs only) (Should be before the message enters BPM)
    2) Separating the messages based on IDoc type
    3) Interface / Message mapping for each IDoc type
    4)Send the message to ECC
    Please suggest how to proceed with BPM
    Thanks,
    Varun
    Edited by: Varun Reddy on Feb 4, 2011 4:47 PM

    Hi Varun,
    Follow this thread... You have answer for this.
    This link gives design ideas for your requirement
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Follow Bhavesh discussion. It might be helpful too
    Message Split: File to Multiple IDOC Types

  • Removal of Line feed from EDI file in IDOC to EDI file scenario

    Hi Experts,
    I have one problem related to line feed in EDI file. Currently i am using seeburger mapping to do XML to EDI mapping. After mapping i am using File Adapter(with NFS) to create file in my PI server.
    The line looks like
    UNB+UNOA......
    UNH+1.......
    BGM.........
    but i want my file in without line feed
    UNBUNOA......UNH1......BGM
    Can this be possible without use of Shell script?
    Is anything i can do in Seeburger mapping [i checked BIC mapper in seeburger and see some parameters there]?
    Regards,
    Shradha

    Hi,
    I am explaining my scenario in detail:
    my Current EDI file looks like
    UNAf1f2............'
    UNBf1f2............'
    BGMf1f2............'
    UNHf1f2............'
    now i want my file to be in following format
    UNAf1f2............'UNBf1f2............'BGMf1f2............'UNHf1f2............'
    NOTE: to create my current file i am using File adapter with NFS and seeburger mapping.
    Can you please tell me a way to remove the line feed from the current file ?
    I already tried newline checkbox from seeburger and it is not working. and other parameter i can use from see burger mapping tool which will remove my line feed.
    Regards,
    Shradha

  • FILE TO IDOC USING BPM

    Hi,
             I am the fresher and new to XI. I want to know the step-by-step procedure for file to idoc scenario using bpm.I require it urgently.
    Please help me out.
    Thanks and have a nice day.

    Sangeet - Check this blog :
    <a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to multiple IDocs using IP in ccBPM</a>
    Hope this helps.
    Cheers!
    Shireesh M

  • Sending of iDoc to Business Connector

    Hi Folks,
    I am new to business connector and know very little about the same.
    I have sent an idoc(MATMAS05) to the business connector. The idoc status is set to 03, which means the idoc is successfully sent to the BC. But how to find in BC whether any idoc has been received or not.
    Thank you in anticipation.

    We have made an "wrap-arround" to the FM IDOC_STATUS_WRITE_TO_DATABASE and made it RFC enabled.
    On the BC we have created an service to update the status of an IDoc to status 18. This service is placed as an "pre-proccesing service" of all routing-rules receiving IDoc's from R/3.
    If the IDoc is converted and send to the Receiver status of the IDoc is set to 39, if not status is set to 30.
    If an IDoc "only" has status 03 we look in SM59 and se why thy IDoc counld not be send to the BC.
    FUNCTION Z_IDOC_STATUS_WRITE_TO_DB.
    *"*"Local interface:
    *"       TABLES
    *"              IDOC_STATUS STRUCTURE  BDIDOCSTAT
    *"       EXCEPTIONS
    *"              IDOC_FOREIGN_LOCK
    *"              IDOC_NOT_FOUND
    *"              IDOC_STATUS_RECORDS_EMPTY
    *"              IDOC_STATUS_INVALID
    *"              DB_ERROR
      DATA: L_IDOC_STATUS LIKE BDIDOCSTAT OCCURS 0 WITH HEADER LINE.
      LOOP AT IDOC_STATUS.
        REFRESH L_IDOC_STATUS.
        L_IDOC_STATUS = IDOC_STATUS.
        APPEND L_IDOC_STATUS.
        CALL FUNCTION 'IDOC_STATUS_WRITE_TO_DATABASE'
             EXPORTING
                  IDOC_NUMBER               = IDOC_STATUS-DOCNUM
    *             IDOC_OPENED_FLAG          = ' '
    *             NO_DEQUEUE_FLAG           = 'X'
    *        importing
    *             idoc_control              = idoc_control
             TABLES
                  IDOC_STATUS               = L_IDOC_STATUS
             EXCEPTIONS
                  IDOC_FOREIGN_LOCK         = 1
                  IDOC_NOT_FOUND            = 2
                  IDOC_STATUS_RECORDS_EMPTY = 3
                  IDOC_STATUS_INVALID       = 4
                  DB_ERROR                  = 5
                  OTHERS                    = 6.
      ENDLOOP.
    ENDFUNCTION.
    Message was edited by: Kim Ternstrøm

  • FILE to IDOC using node functions; IDOC parent, child segment

    I have file with 10 recors.
    Each record has f1,f2 (two fields)
    The target IDOC segments are
    E1PARENT1 occurance 0 to 99
    E1PARENT1-field_p1
    E1PARENT1-E1CHILD1 occurance 0 to 5
    E1PARENT1-E1CHILD1-field_c1
    I have to map
    FILE field1 to E1PARENT1-field_p1
    and
    FILE field2 to E1PARENT1-E1CHILD1-field_c1
    I tried
    RemoveContext -> SplitByValue(value change) -> CollapseContext ->E1PARENT1
    RemoveContext -> SplitByValue(value change) -> CollapseContext ->E1PARENT1-E1CHILD1
    With above i'm getting output
    a) parent IDOC segment E1PARENT1 repeated 10 times (source FILE got 10 records) .. .This is correct
    b) The first parent segment E1PARENT1 got 5 child segments E1CHILD1. -- this is incorrect
    c) The second parent segment  E1PARENT1  has NO child segments E1CHILD1 -- this is incorrect
    I want
    first parent segment E1PARENT1 to have 1 child segment  E1CHILD1 having 1st record field2 of input FILE
    2nd parent segment E1PARENT1 to have 1 child segment  E1CHILD1 having 2nd record field2 of input FILE
    3rd parent segment E1PARENT1 to have 1 child segment  E1CHILD1 having 3rd record field2 of input FILE
    I think by changing occurance (ECC value is 0 to 5) of child IDOC segment E1PARENT1-E1CHILD1 to 1 could solve this issue. (I tried to change the text file, but it is no confusing where to change using Notepad). Basically i don't know how to control the queue context of CHILD segment of IDOC matching with PARENT segment of the IDOC.
    Any better alternative. Please help. Thanks

    This is the IDOC target
    E1PARENT1 (o to 99 occurance)
    E1PARENT1-field_p1
    E1PARENT1-E1CHILD1 (0 to 5 occurance)
    E1PARENT1-E1CHILD1-field_c1
    I resolved using standard function of message mapping. The mistake was SplitByvalue(value change), when changed to SplitByvalue(each value) got desired result. Here is the mapping to benefit others. Please correct or add if any, thanks.
    a) Target - Parent segment
    SOURCE-RECS->RemoveContext -> E1PARENT1
    SOURCE-RECS-F1->RemoveContext -> E1PARENT1-field_p1
    b) Target - Child segment
    SOURCE-RECS->RemoveContext -> SplitByValue(each value) -> E1PARENT1-E1CHILD1
    SOURCE-RECS-F1->RemoveContext -> SplitByValue(each value) -> E1PARENT1-E1CHILD1-field_c1

Maybe you are looking for

  • How to change the color in text box item.

    Hi, There is a text box where i am returing the value using item source SQL and Always replacing. I have a condition like this if value is > 10 value must appear in red else white. Eg: select case when TO_NUMBER(:P122_PRJ_SV_PROJECT_USL) > TO_NUMBER(

  • New iMac G5. Is it ok?

    I'm going to be getting a new iMac G5 2.0Ghz this week. I am ready the blogs about the imac and have a few worries about its visual stability. Please could I have some constructive adive about this machine. So I won't go make a mistake! I am updradin

  • How to make hyperlink?

    I made a page using ADF. The page siply display tablar for employee data. I want when mouse move on employee email, the email will be hyperlink. and when i click on it, it opens MS outlook to send mail. Please help me to do that

  • Two finger swipe to go back in Safari isn't the same as clicking on the "show the previous page"

    I don't know if Apple knows about this, but swiping on the trackpad with two fingers to go back to the previous page isn't exactly the same as physically clicking on the arrow button on Safari to go back to the previous page. This is an issue because

  • Need a little help in settings for RAID-0 please

    Hey folks I am trying to over-come some issues and I believe my raid settings are not right. In BIOS what should they read like. I have 2 drives. Raid -Enable (got that one right ) IDE Primary Master Raid-Enable or Disable? IDE Primary Slave Raid-Ena