ALE & BAPI communication

Hello,
When coming to ALE is it preferable to have an intercompany ALE communication...I know its normally Intra company....?
SAme with BAPI is intercompany BAPI communication preferrable...?
What might be the issues...?
Can any one help...
Thanks..
LArry

Hello,
Whether ALE or BAPI , is not a question of intracompany or B2B, but whether you need a sychronous (BAPI) or asynchronous (ALE) communication.
E.g. : there is more than one SAP-System in your company. You want to transfer changes of material master data form one system to the other. If you would do it synchronous, nobody could change a material master if the connection between the two systems is broken ( or the other system is down ) . A bad idea.. . So, you would do it via ALE.
Other case: you build a list on system 1 and need to read some data from system 2. There you could act with a bapi.
Regards Wolfgang

Similar Messages

  • IDOC/ALE/BAPI/BADI

    Hi,
    I want to understand the difference between IDOC/ALE/BAPI/BADI in context to a functional consultant.what is the role of each with an EXAMPLE.I want to basically understand with examples w.r.t SD or MM instead of theory which i could get in forum.
    What is the role of a functional SD consultant, in these technology mentioned?
    If i have to Test a BAPI or BADI what is that i should test???what is the T codes to be tested ? How to go about it??
    Like in case of Order to cash testing, i will check if the sales cycle runs well, using T codes, Va01, vl01n, vf01.
    Awaiting reply.
    Thanks
    LK

    Hi Lekshmi,
    I want to understand the difference between IDOC/ALE/BAPI/BADI in context to a functional consultant.
    what is the role of each with an EXAMPLE.
    I want to basically understand with examples w.r.t SD or MM instead of theory which i could get in forum.
    What is the role of a functional SD consultant, in these technology mentioned?
    Idoc/ALE/BAPI/BADI are basically advanced functionalities available in ABAP. These are treated as seperate module by somebody as "Cross Applications".
    If we get in
    IDOC is the concept which works for Third party communication from SAP.
    Scenarion 1:
    For example: I am a Buyer from your Company and i don't have SAP system where you have SAP Practice. I had given you one Order for which i need Confirmation and it needs to understand by my system. In this case IDOC is useful to transfer the confirmation details to my system understandable language. This can be acheived by any other outputs like e-Mail/Printout/Fax. But for these kind of Outputs thers is one limitation. those are in document form means if you take the print out it confirmation can be taken as a print out as a hard copy or soft coy by saving into PDF format. but that data cannot be accessed by my system to convert that data for further my own reporting purpose. if we use IDOCs.
    These Idocs are transferred through Middleware and reach third party system (in this example my own system which does not have SAP) and store the details. later i can use that data how ever i can for my internal reporting purpose.
    Scenario 2:
    ALE: ALE also works like above, but the difference is this works for SAP-SAP communication. if i take the above example.... I have SAP System being a buyer and you have SAP sytem. Order Confirmaiton come from your system to my system.
    If i have to Test a BAPI or BADI what is that i should test???what is the T codes to be tested ? How to go about it??
    Like in case of Order to cash testing, i will check if the sales cycle runs well, using T codes, Va01, vl01n, vf01.
    There is no such tcodes to test the enhancement functionality.
    I assume you knows SAP SD.
    If i take the example of SD Sales Order.
    PO Number field is to explain the enhancement testing.
    Your client enhanced the functionality of PO Number for which you are doing the testing for example.
    now you get inside of the VA01 transaction and put all the headeer data and PO Number and press enter.
    then based on the enhancement functionality system will act.
    For example.. you had given AAA111 for Customer 123456.
    You have entered Inside of VA01 and entered Sold and Shipto numbers as 123456. then entered PO number as BBB111 and press enter.
    As per the enhancement you suppose to enter PO number as AAA111 for customer 123456, but you entered as BBB111.
    Based on your enhancements system will through the error saying you entered wrong PO Number.
    This is the testing part usually Functional Guy do.
    Please let me know if you have any further clarification
    Thanks & Regards
    Venkat

  • Explain the situation for using  ale , bapi ,session ,call transation, di

    what is the use of bdcmsgcall,
    if any erroe occur in the legacy records how to rectify it?
    In what situation we can go for lsmw.
    Kindly explain the situation's for using  ale , bapi ,session ,call transation, direct input.

    Hi ashok,
    chk this.
    the functionality of both idoc and bapi are same.
    the main difference in BAPI is it is used for Third party application like JAVA, VB etc.
    and IDOC is used transfer data from the SAP to sap or non-sap system.
    For details refer the contents below
    ALE
    ALE is SAP proprietary technology that enables data communications between two or more SAP R/3 systems and/or R/3 and external systems. When a new enterprise resource planning (ERP) solution such as R/3 is implemented, companies have to interface the ERP system with legacy systems or other ERP systems.
    ALE provides intelligent mechanisms where by clients can achieve integration as well as distribution of applications and data.
    ALE technology facilitates rapid application prototyping and application interface development, thus reducing implementation time.
    The ALE components are inherently integrated with SAP applications and are robust, leading to a highly reliable system.
    ALE comes with application distribution/integration scenarios as well as a set of tools, programs, data definitions, and methodologies that you can easily configure to get an interface up and running.
    BAPI
    BAPIs provide a stable, standardized method for third-party applications and components to integrate into the Business Framework. These interfaces are being specified as part of SAP's initiative with customers, partners and leading standards organizations. Also, SAP has implemented the emerging Object Application Group (OAG) specifications with BAPIs.
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    Session method is to populate the data by filling BDC structure
    and keep as session to process from SM37 to post in appropriate Transaction.
    Call transaction method is to post the data directly into the Transaction from an Executable program.
    Session method SAP defined Function modules.
    U can see more help on the differences in the SAP help.
    hope u got an idea.
    rgds
    anver
    <i>if hlped pls mark points</i>

  • Ale - bapi interface

    WE need to create applicant for hr recruitement from external data
    via idoc and ale bapi .
    <b>first</b> we generate the ale interface
                                                                                    Checking message type                                                        Message type ZAPPLICANT_CREATEFROMDATA exists already                                            
      Check basic type ZAPPLICANT_CREATEFROMDATA01                                 Basic type ZAPPLICANT_CREATEFROMDATA01 exists                                                      Basic type ZAPPLICANT_CREATEFROMDATA01 is released                                               
      Basic type ZAPPLICANT_CREATEFROMDATA01 is linked to logical message ZAPPLICANT_CREATEFROMDATA    
      No predecessors exist                                                       Check segment Z1ZAPPLICANT_CREATEFROMDATA                                 Segment Z1ZAPPLICANT_CREATEFROMDATA consistent                                                  Check segment Z1BPEDUC                                                    Segment Z1BPEDUC consistent                                                  Check segment Z1BPEMPLOY                                                  Segment Z1BPEMPLOY consistent                                                  Check segment Z1BPQUALI                                                   Segment Z1BPQUALI consistent                                                  Check segment Z1BPVACASS                                                  Segment Z1BPVACASS consistent                                                  Checking outbound function module                                                      ZALE_APPLICANT_CREATE has been generated                                                   Checking inbound function module                                                      ZIDOC_INPUT_ZAPPLICANT_CREATEF has been generated                                                
    <b>Second</b> we configure the partner profile
    <b><u>after that we do a test to create an applicant from an idoc</u></b>but we have this message error
    make an entry in all required fields even if we put data in
    all fields of all idoc segments.
    Best regards

    Hi Mohamed,
    first of all, welcome to SDN! Sorry, this is the wrong forum for your question, the experts in the <a href="https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode2-3&contenttype=url&content=https%3A%2F%2Fforums.sdn.sap.com%2Fforum.jspa%3FforumID%3D50">ABAP forum</a> will probably help you.
    Regards, Stefan

  • ALE BAPI standardmaterial

    hi,
      first ,i m newhand in ALE BAPI
      for the purpose of transfering MatMaster Data from one client to another  i want to use BAPI(standardmaterial) in distribution model (BD64).
      of course i have set the necessary points in IMG , but what confused me is how can i generate through the method of this object type ?
      in the context of ALE/IDOC(MATMAS)  we can generate idoc through Tcode bd10 , but in this bapi scenario(standardmaterial/save/idoc type:matmas_bapi) it seems not work .
      please kindly suggest

    HI,
    Steps for outbound interface for material master
    1, create port
    2,create RFC destination
    3,create partner profile(here you have to assign process code MATM  to mesage MATMAS this prcess code will calls the outbound function module to fill the Idoc)
    4 create CDM.
    Otherwise refer the below link:
    aptechnical.com/Tutorials/ALE/MaterialMaster/Distribute1.htm
    Regards,
    suresh.d

  • Post  AccountngEmployeeExpnses ALE/BAPI

    Hi all,
    I have to send Employee expenses fro HR to FI using  ALE/BAPI.
    I configured ALE/BAPI and added object AcctngEmplyeeExpnses in distribution model.
    I want to know what is transaction to post data from Sending system to reciever system.
    Thanks
    Shash

    Hi Kanth,
    You can use process code <b>BAPI</b> for your inbound message type ACC_EMPLOYEE_EXP.
    This process code will call function module IDOC_INPUT_ACC_EMPLOYEE_EXP to post the above IDoc.
    If you set to trigger by background job in the inbound partner profile (t/code WE20)then you need to run/schedule a job for program RBDAPP01. Otherwise, the IDoc will be process immediately.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • PURCHASE ORDER CREATION USING ALE ( BAPI )...

    HI,
          I DESPERATELY NEED SOME ADVISE IN CREATING A PURCHASE ORDER USING ALE....I AM VERY NEW TO ALE SO CAN ANYONE EXPLAIN IN STEPS WHAT TO BE DONE IN DETAIL....PLS HELP ME OUT IN THIS REGARD....I WILL GET SOME DATA AS INBOUND IDOCS AND I NEED TO CREATE A PURCHASE ORDER USING ALE USING BAPI( BAPI_PO_CREATE1 ).......HOPING A QUICK REPLY ASAP.....

    Hi Gianluca,
    I need to do the same as per the original post and your answers gets me halfway there.  My remaining question is how to get the PO to output the PORDCR messgage on the outbound side (also a SAP system)?  Or do you have to output the PO as an ORDERS message and map that to the PORDCR message in something like XI or other middleware?
    Thanks for the help.
    Johan

  • Regarding ( ALE-BAPI ) Configuration

    Hello all............
    Iam working on ALE & EDI for some time.
    In the Distribution Model View ( BD64 ) there is a option <b>'ADD BAPI'</b>.
    I have gone through the documentation regarding this issue but could not get the exact break through which I was looking for.
    Can anyone give me the exact steps for configuration to be followed right from creation of PORTS for Outbound & Inbound configuration of Purchase Orders using <b>ADD BAPI</b>.
    Thanks in advance,
    Ajay.

    Hi Ajay,
    The distribution model is used in ALE scenarios, which is basically master data replication. For transaction data like Purchase Orders there is no need to maintain the distribution model. Just maintain the partner profiles (WE20)!
    Regards,
    John.

  • ALE-BAPI-Scenario to XI with several BAPIs

    Hello
    <b>Descritpion of the current situation:</b>
    I configured an ALE Distribution model to transfer the HR payroll accounting data from an single SAP 4.7 system (WebAS 6.20) into 8 different SAP-Accounting-Systems (SAP R/3 4.6C). The model contains 14 BAPIs-Calls which are sent to SAP XI (3.0 SP17) and forwarded to the corresponding SAP-R/3-System, depending on the company-code.
    SAP XI demands for each BAPI an RFC-Sender-Adapter which contains a programID. For each programID I have to configure an TCP/IP-RFC destination in the sender system which contains the corresponding programID. The ALE distribution model configuration (BD64) allows only to use logical systems as receiver. So I have to create 14 logical systems with the same identification as the 14 TCP/IP-RFC destinations. In addition I was only allowed to create TCP/IP-RFC destinations with a length of 10 characters, because the field for the logical system isn't longer.
    <b>My questions are the following</b>:
    1) Is there a possibility to avoid the creation of 14 logical systems in this situation?
    2) Are there User-Exits or BADIs to map a different RFC-Destination in ALE before executing the BAPI-Call (i.e. depending on the logical system AND the BAPI)?
    3) Does anybody have a similar model and what are the experiences?
    Thanks
    Beat Mueller

    Hi
    Here's the List of the Object-Methots and BAPIs for Checking:
    CompanyCode.GetPeriod:
    - BAPI_COMPANYCODE_GET_PERIOD
    CostType.GetFixaccountList:
    - BAPI_FIXACCOUNT_GETLIST
    GeneralLedgerAccount.GetDetail:
    - BAPI_GL_ACC_GETDETAIL
    AcctngServices.DocumentDisplay:
    - BAPI_ACC_DOCUMENT_DISPLAY
    AcctngServices.PreCheckPayrollAccountAssign:
    - BAPI_CODINGBLOCK_PRECHECK_HR
    AcctngEmplyeeExpnses.Check:
    - BAPI_ACC_EMPLOYEE_EXP_CHECK
    AcctngEmplyeeExpnses.Post:
    - BAPI_ACC_EMPLOYEE_EXP_POST
    AcctngEmplyeeRcvbles.Check:
    - BAPI_ACC_EMPLOYEE_REC_CHECK
    AcctngEmplyeeRcvbles.Post:
    - BAPI_ACC_EMPLOYEE_REC_POST
    AcctngEmplyeePaybles.Check:
    - BAPI_ACC_EMPLOYEE_PAY_CHECK
    AcctngEmplyeePaybles.Post:
    - BAPI_ACC_EMPLOYEE_PAY_POST
    Customer.Find:
    - BAPI_CUSTOMER_FIND
    Customer.GetDetail2:
    - BAPI_CUSTOMER_GETDETAIL2
    Vendor.Find:
    - BAPI_VENDOR_FIND
    Vendor.GetDetail:
    - BAPI_VENDOR_GETDETAIL
    and here are the IDocs for Posting the Documents:
    ACC_EMPLOYEE_EXP.ACC_EMPLOYEE_EXP02
    ACC_EMPLOYEE_PAY.ACC_EMPLOYEE_PAY02
    ACC_EMPLOYEE_REC.ACC_EMPLOYEE_REC02
    Documentation:
    4.6c:
    http://help.sap.com/saphelp_46c/helpdata/en/ae/1c4b6e5733d1118b3f0060b03ca329/frameset.htm
    Our project had been stopped until now and will be reactivated in April. Have you been successfull posting the payroll form HR to FI/CO via SAP XI? How did you solve it?
    Greetings
    Beat Muller

  • RFC, IDOC, ALE, BAPI

    HI everybody,
    anybody can tell me
    1.what is RFC and its use?
    2.What is IDOC and its purpose?
    3.What ie ALE and BAPI? please tell me their functions.
    points will be rewared.

    IDocs are simple ASCII data streams. When they are stored to a disk file, the IDocs
    are simple flat files with lines of text, where the lines are structured into data fields.
    The typical structured file has records, each record starting with a leading string that
    identifies the record type. Their specification is stored in the data dictionary.
    IDocs is the acronym for Interchange Document. This indicates a set of (electronic)
    information which builds a logical entity. An IDoc is e.g. all the data of a single
    customer in your customer master data file, or the IDoc is all the data of a single
    invoice.
    IDoc data is usually exchanged between systems and partners that are completely
    independent. Therefore, the data should be transmitted in a format that can easily be
    corrected by the computer operators. It is therefore mandatory to post the data in a
    human readable form.
    Nowadays, this means that data is coded in ASCII format, including numbers which
    are sent as a string of figures 0 to 9. Such data can easily be read with any text editor
    on any computer, be it a PC, Macintosh, UNIX System, S/390 or any internet
    browser.
    The information which is exchanged by IDocs is called a message and the IDoc is
    the physical representation of such a message. The name “messages” for the
    information sent via IDocs is used in the same ways as other EDI standards. .
    Everybody who has ever dealt with interface programming, will find IDocs very
    much like the hierarchical data files used in traditional data exchange.
    International standards like the ODETTE or VDA formats are designed in the same
    way as IDocs are.
    Other EDI standards like XML, ANSI X.12 or EDIFACT/UN are based on a data
    description language. They differ principally from the IDocs concept, because they
    use a programming language syntax (e.g. like Postscript or HTML) to embed the
    data.

  • SAP ALE / BAPI eWay

    Hi,
    I installed SAP ALE and BAPI eways. But In enterprise designer -> Repository > SeeBeyond -> eWays , these two eWays are not listed down. Is there any specific reason for this.
    Please let me know any body have idea about this.?
    Thanks.

    Yes. Once the BAPI eWay is installed you start off by connecting to SAP to create a BAPI OTD using the OTD wizard.
    Don't forget to copy the dll- and jar-files to you eDesigner and logicalhost as mentioned in the documentation for the eWay. Otherwise it will not work.
    /Alex

  • BAPI communication between ECC & EP

    Hi all,
      We have ERP 6.0 and  we are trying to use BAPI to  commuicate between ECC and EP using iviews.
    We have configured the connections, user managment in content adminsitration , we are getting the all the BAPI FM info from ECC during building the new iview, but when we try to preview the  iview  by giving the input to thr FM only the structure is coming  data is not coming.
    We have tested the FM  from SE37 and able to get the  dataset.
    Please suggest me if any configuration  to be done.
    Thanks,
    Subhash.G

    Hi ,
    Problem is  solved,  while giving input in iview we have  to give exact  details like for customer number it stores like 0000000001, if we give only 1 it's won't interpet as it was in Data dictionary... but  while testing in sm37 you can  give as 1 for customer number.
    Thanks,
    Subhash

  • HR & PP intergration-ALE/BAPIs used?

    Hi Experts,
    My goal is to bring HR time data (Daily work schedules) over to PP for capacity planning.
    SAP help says
    "When defining shifts within Logistics (LO), the Daily Work Schedule at Logistics Work Center interface enables you to use daily work schedules from Time Management, which constitutes part of the Human Resources (HR) application component. You can use this data in Logistics (LO) to schedule orders and determine the available capacity of a work center. HR daily work schedules and break data must be read locally in the LO system. Therefore, the HR Time Management customizing tables T550A and T550P must be replicated to the LO system using ALE techniques ".
    Can you tell me those names of ALEs used here?Can we use 'HRMD_A'?If so,how?
    Thanks in advance & would appreciate for a  quick reply.
    -Ravi

    Hi,MohanPemmasani
    Thank your help.
    1. About the ALE configration I have done correct, it test OK now.
    2.I have try to  do "Reset after termination", so I have below item settlement in 0000000011 document(when double click, enter to see the detail) , from"0000000012~~0000000016" is the result  that I executed the "Reset after termination" operation.
        Document CoCd Pstng Date Typ Run Number Status               User name    Created on Time
      0000000010 SY   28.01.2012 PP  0000000011 Released             UX007814     18.01.2012 16:57:06
      0000000012 SY   28.01.2012 PP  0000000011 Reversal reset       UX007814     18.01.2012 17:13:50
      0000000013 SY   28.01.2012 PP  0000000011 Reversal reset       UX007814     18.01.2012 17:18:58
      0000000014 SY   28.01.2012 PP  0000000011 Reversal reset       UX007814     19.01.2012 11:21:38
      0000000015 SY   28.01.2012 PP  0000000011 Reversal reset       UX007814     19.01.2012 11:22:42
      0000000016 SY   28.01.2012 PP  0000000011 Reversal reset       UX007814     19.01.2012 11:42:29
    3. and now because "0000000011 " staus is "40 Documents transferred",  0000000011                 PArea B0/12/2011         Documents transferred     40 UX007814     18.01.2012 16:56:54
    so I want to execute "post document" again, but  it give me below message:
    Posting run PP 0000000011 cannot be posted: Incorrect status
    Message no. 3G227
    Diagnosis
    Runs can only be posted if they have one of the following statuses:
    32  All documents released
    41  Document transfer has failed
    35  Documents transfered
    Run PP 0000000011 has another status and, therefore, cannot be posted.
    4.I have read the notes you said, but it can't solve my problem.

  • ALE BAPI  and more

    1> what are BAPI   PARAMETERS?
    2> SHDB full form
    3> What exactly FORMAT_MESSAGE Function Module does?
    4> Mandatory fields for xd01, me21, material master , (regarding Recording)
    5>what type of errors will BAPI throws.

    hi,
    1.what are BAPI PARAMETERS?
    like othe rfM'S EXPOTING ,IMPORTING,TABLES ,exceptionsETC
    2. SHDB full form
    It is a tcode for recording it doesn't have any full form.
    3 What exactly FORMAT_MESSAGE Function Module does?
    generally for error handlling in call transaction we use structure BDCMSGCOll and Format_message. used to display error messages.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    ID = SY-MSGID
    LANG = SY-LANGU
    NO = SY-MSGNO
    V1 = SY-MSGV1
    V2 = SY-MSGV2
    V3 = SY-MSGV3
    V4 = SY-MSGV4
    IMPORTING
    MSG = LV_MSG
    EXCEPTIONS
    NOT_FOUND = 1
    OTHERS = 2.
    IF SY-SUBRC = 0.
    WRITE :/ LV_MSG.
    ENDIF.
    4Mandatory fields for xd01, me21, material master , (regarding Recording)
    to find the manditory fieldds got to paticular transaction and give values,if the system doesn't allow u to move to next screen for some fields consider those are manditory .
    5.what type of errors will BAPI throws.
    http://sapbrain.com/TUTORIALS/TECHNICAL/BAPI_tutorial.html

  • BAPI Communication Doubt

    hi,
    If i'm developing a BAPI for any composite application which will communicate with .NET/Java application(JCo or .NET Connector) to pass data.Assume this scenario is working fine with fetching data for material 100-200 material.Now in a day i added 10,000 more material in my master.Now the performance may degrade and .net/Java application has to wait for the data to come into its environment and often it will get timeout.So how to deal with these kind of situations or What is the Error Handing Process in these types of scenario as my data is going to increase day by day.
    Thanks,
    Gaurav

    Hi ,
    im not saying u will get only 1000 Records initially .
    im saying tht .
    u can restirct the intial display no .of records in portal usually portal takes lot of time to fecth data from R/3 . so thats so first when customer hits on submit it will display 1000 records . but user wont see all the records right then u can provide one serch option to get all the records thru tht option okay so it will go to back end it will get all the records from backend .
    similar problem we face in our project so we did the same at that time k .
    try  to resrtict no of records for initial to fecth data and to overcome timeout error .
    Regards ,
    venkat

Maybe you are looking for