Converting Idoc to Edifact on Business Connector 4.8

Is there any possibility to convert idoc INVOIC messages into standard EDI format (Edifact D96A) on Business Connector 4.8 without using adapter ?

I think you would be required to use either an adapter or a custom module to do the conversion. BC or for that matter, no integration tool has the capability to do the conversion on it's own ... it will require "something" to do that conversion.

Similar Messages

  • How to encode XML to Idoc and decode Idoc to XML in business connector?

    Hi all,
    first of all: thanks for all, who are reading and perhaps responding this question!
    Here some facts and my question(s):
    The facts:
    - I have the business connector version 4.6!
    - I'm not working with any SAP Netviewer!
    - I have XML files on an FTP-server and Idoc-files on an FTP-server --> so no connection between SAP and business connector, meaning: the files are just on the ftp-server!
    What am i doing and what is working properly:
    - Business connector logs in into the FTP-server (with FTP-service: pub.client.ftp:login)
    - gets the file (with FTP-service: pub.client.ftp:get) (the idoc-file, when i want to convert it into XML or the XML-file, when i want to convert it into idoc-format)
    - puts the file into another place in the server (with service wm.PartnerMgr.gateway.transport.FTPTransport:OutboundProcess)
    !!!So far only getting and putting of the file works!!!
    What is missing between getting the file in one format - for example idoc-format - and putting the file into the server in the other format - for example XML-format is:
    CONVERSION FROM XML INTO IDOC AND VICE VERSA
    My question:
    - which services i have to use between getting and putting the files?
    Thanks to all,
    Tamer

    Hi,
    I have the same problem. I do fix it?
    Thanks
    Wilson Xavier
    Brazil

  • 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

  • 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

  • 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

  • Receive XML with Business Connector, convert to IDoc

    Hi all,
    I am trying to receive XML files with SAP Business Connector (4.7) and convert them to IDOC and then forward the IDoc file to SAP System.
    At the moment, I have to do the testing for this.
    I don't know how to send the XML file to the special port (5555) of the server. I read that there are serveral possibilities like http, mail, ftp. Can anybody give me an advice how this works?
    Next problem is to get the created IDoc file to the SAP system. The SAP server is added in the SAP Business Connector and the connection works.
    I would be very pleased if anybody could help me.
    Thanks in advance!
    Kai

    hi,
    What i understand from your scenario is XI> BC> SAP system.
    1)XI-->BC
    U need to configure XI's-BCAdapeter(as receiver).
    in URL specify teh follwoing :
    http://<hostname>:5555/invoke/folder1.folder2./<service-to-be invoked>
    together with the username and password.
    2) BC--> SAP
    To invoke an IDoc, go to Routing rules and specify the sender, receiver, and the Message Type(IDoc name). In the next page, specify the name of the flow service to be created. and the Flowservice to be invoked whenever a message comes in.
    Hope this gives you some input.
    Regards,
    Siva Maranani

  • 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

  • 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

  • Problem processing IDOC on SAP business connector

    Dear all,
    Using the SAP Business Connector I try to convert and IDOC which is in plain text to a record representing this IDOC.
    Note: The record is generated using a DTD and the plain text is 'inserted' to the service using a MAP statement.
    Which flowservice can I use and how should it be used?
    Currently I'm experimenting with the FlatToHierarchy service.
    Your help is appreciated!
    Best Regards, Harald

    Hi,
    I wonder that no one replied until now!
    You are on the right way: you must use the service pub.sap.idoc:transformFlatToHierarchy. Then you must create a record in the PipelineOut-Section, referring to your IDoc-Record (that you have created form the DTD), and then connect/map it to the Service-Out-Parameter boundNode of the transformFlatToHierarchy-service. The connection between boundNode in Service Out and boundNode Pipeline Out must be deleted and the last must be dropped (red arrow down).
    That's all! You don't need no other Mapping-Step.
    I hope that would help you!?
    Pöease excuse my bad english: I'm not pratizing it very often and my native langugae is german.
    Best regards, Dagmar

  • Business connector developer-Error message 'No IDOC found in input'

    Hi,
    Please note that this query is related to business connector developer not to XI.
    I have created a flow service based on an IDOC. When I tried to test the service from the business connector developer it gives me an error 'No idoc found in input'. I have done the setting based on the business connector configuration guide. The idoc also send to the port successfully.
    Can anyone guide me how to trigger the test from business connector developer for an idoc.
    Thanks
    Jim.
    Edited by: Jim Jose on Jul 13, 2011 5:58 PM

    Hi,
    Probably you would have created the routing today, with valid from todays date. But the order you are creating may be with start date in past and system is not able to find and valid routing for the day.
    I would suggest you to remove both the Basic "Start" and "End" and change the scheduling type to "Current date Scheduling", now enter. If system still not finding the routing, use the function "Read PP Master data".
    Regards,
    Prasobh

  • Finding message in SAP Business Connector with IDoc number

    Hi Experts,
    Since there is no separate forum for Business Connector, posing my question here.
    Does anyone have idea how we can find a message in SAP Business Connector if we know the source IDoc number, the same way we use IDX5 in PI.
    Thanks,
    Dhawal

    AFAIK there is no simple way.  What I usually do is compare timestamps. The Idoc is usually processed on the B.C. within the same minute.
    We only have up to 10 Idocs within one minute and I do not have to search every day. So it works for me.

  • Converting INVOIC02 idoc to EDIFACT INVOIC message (Using Adapter Module

    Hi Friends,
    We are sending customer idoc (INVOIC02) from R/3 to external system through PI. We want to generate EDIFACT output file (message type : INVOIC).
    Is it possible to convert IDoc message to EDI file format through java adapter module ? Will adapter module support this  without using Seeburger adapter ?
    kindly clarify, friends.
    Kind regards,
    Jegathees P.

    There is an alternative to Seeburger.
    DataDirect also has complete EDI-XML conversion by way of deploying a module which is called from an adapter. The range of parameters with the conversion is also quite extensive, allowing tolerance for partners who may have included non-standard EDI qualifiers and such.  The XML tags make for easier mapping.  StylusStudio XML Suite includes the EDI<->XML adapter so you can try the conversions each way directly in that package.  If you are happy with it, you need to then purchase the package from DataDirect.  We did this and implemented EDI for X12 and EDIfact, including Orders and Invoices and some other messages.  The communications part was not included.  We wrote the EDI files and used a separate process to actually send and receive the files. The IDoc <-> EDI mapping  was done using the normal graphical mapping of SAP PI. The Stylus Studio package includes the functionality to generate the XSD, which we imported to SAP PI.

  • IDOC Mapping in Business Connector

    Hello,
    we use SAP Business Connector 4.7 and would like to send IDOC DELVRY03 from SAP R/3 4.6 to an external.
    We had to map the IDOC an an XML structure. I created a record for DELVRY03, a record reference in Pipeline Out and an empty flow service. In this i use the service "pub.sap.idoc:iDocToRecord". Than i want use the "Map" function in the Developer. I created the target record for the XML file and map the requires fields, but the mapping does not work.
    What did i forget in this flow service?
    Thanks, Daniel.

    is there 2 systems involved in this?
    kiran

  • Business connector idoc error

    hi,
    i am getting these errors continously in bc server after restart of sap due to which there is data loss in the inbound messages to sap.outbound messages were processed every time sap was started.the errors are as follows:
    com.sap.mw.idoc.IDoc$Exception: (3) IDOC_ERROR_ILLEGAL_TYPE: The document does not correspond to the associated repository.
    at com.sap.mw.idoc.jco.JCoIDoc$JCoDocumentList.add(JCoIDoc.java:3095)
    at com.wm.pkg.sap.rfc.SAPSession.sendIDoc(SAPSession.java:671)
    at pub.sap.client.sendIDoc(client.java:356)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source)
    and am also getting rfc error as follows:
    com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: internal error
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeCreateTID(Native Method)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.createTID(MiddlewareRFC.java:1246)
    at com.sap.mw.jco.JCO$Client.createTID(JCO.java:3903)
    at com.wm.pkg.sap.rfc.SAPSession.createTID(SAPSession.java:768)
    at pub.sap.client.createTID(client.java:373)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source) .
    please let me know rootcause of these errors and wat can be done to resolve it soon
    thanks in advance,
    regards,
    priya.

    Not sure if it will help, but have you tried to flush the structure cache? I think you will have problems if the structure of the IDoc has changed in the R/3 system and the Business Connector is not aware of the change.
    BR,
    Tony.

  • SAP ECC 6.0 -- Business Connector / Error:Input values do not contain IDOC

    Hello,
    We have a scenario R/3 4.6C ORDRSP to the SAP business connector which is running fine. When I send the first IDoc the routing roule is created automatically and it can be adapted.
    Now we switched to the ECC 6.0 system but I get the following error message:
    "Input values do not contain IDOC" and no routing roule is created either. The status of the IDoc is 03.
    Do you have any idea what the problem could be? Could it have anything to do with ECC 6.0?
    Thank you for your support.

    Hi,
    I hope you must have added new SAP ECC system under SAP tab on SAP BC page.
    To check exact error information:
    FIrst open SAP BC page in browser (http://localhoet:port)
    Go to transaction tab, and there under TID box, enter transaction id corresponding to SM58. And check what it says.
    About routing rule:
    BC automatically creates routing rule, if not you can edit and direct them to correct process flow, or you can create new routing rule, as BC need routing rule to move IDOC ahead.
    Please let us know further about error information, so that we can help you further.
    Divyesh

Maybe you are looking for

  • Reader 10 vs 9.1 scripting error

    Hi, I have created a complex form that has a lot of interdependencies and calculation scripts. The target version is set to "Reader 9.1. or later". I had a user get an error on a  FormCalc script on the preOpen event of a dropdown box. The error mess

  • Dont know where to even start

    Well I really need som help on where to even start this program? I'd send u what i have so far but its so full of errors i'd be embarsed. I'll prob need to just start a new and was wondering where the heck i should even begin: Problem Statement: Your

  • Data load from to datasources to InfoCube via common Infosource in BI7

    Hi all, I need to load data from two diffent DataSource to one Infocube. Between this Infocube and DataSources there is one infosource common for both Datasources. Between Infocube and Infosource there is one transformation and between each DataSourc

  • Printing form name  for FORM-16A

    hi   could u plz help me in finding printing form&prg. name for FORM-16A       my concernig functional want to insert QUATERLY AKNOWLEDGEMENT NO. in FORM-61A  , but he is not entering them any where in SAP .     guide me the solution for this. urget

  • Only small fraction of email is now coming through

    After two days of no service, I just got a few emails to come through.  Seriously, there should be about 100+ considering the time frame, so I find it odd that only 10 emails came through just now.  Clearly I'm still missing a bunch of mail from the