Business connector  and BAPI ,java code

Guy's
we are having development project based on <b>Business
connector and bapi</b> for sales order creation,we are
going for function module /TECCOM/SALESORDER_SIMULATE
for Availability request ,i am not aware of using business
connector and bapi before,they are going for some java code,now i have to create java code and use this particualr BAPI,pls if somebody already worked on such issue,then help me with some material which will guide
me and help me in finishing this task easily,
<b>mail me at [email protected]</b>

This is a very usefull link:
http://www.henrikfrank.dk/abapexamples/Java/

Similar Messages

  • Include PHP and/or JAVA code in any BC site.

    I am thinking about including some PHP and/or JAVA code into my BC site and I was wondering if I am allowed to do this. Just Curious. Thanks.

    That's a shame, because I was thinking about implementing a business search api for my real estate website that was created using business catalyst that allows the collection of all real estate agents in Australia by searching and collecting their information from the Yellow Pages and White Pages directories, and include these information in a database that allows users to search for the real estate agent they want and comment on that agent. This can only be done by integrating some PHP or JAVA code into my BC website.
    So that means that the only way that I can do this is to create a web app that allows users to search for the real estate agent they want to see and comment on that agent, just by entering real estate agents' information into the web app's database and using various BC modules and plugins. Are there other easier ways to do this? Thanks.

  • Get Data from SAP over the Business Connector into a Java Programm

    Hallo dear community,
    i would like to receive data from the sap over the application business connector into a java programm. i work with the german book "SAP Business Connector 4.8 - Administration und Entwicklung".
    Now i hand on the routing rule.
    [Screenshot|http://h-2.abload.de/img/routingruleuyt9.png]
    i don't know what i should configure here for receiving data, which i need for an java programm.
    i will be very happy, when somebody got a tip or an source (tutorial) where i can find such a configuration  :wink:

    I think u r writing BDC for Uploading the data from excel flile to sap. for this is the code I am sending u can use then for Uploading data from excel to sap.
    DATA: lv_filename TYPE rlgrap-filename.
    FIELD-SYMBOLS : <fs>.
    DATA : l_intern TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    DATA : l_index TYPE i.
    PARAMETERS : startcol TYPE i ,
          startrow TYPE i ,
          endcol TYPE i ,
          endrow TYPE i .
    PARAMETERS: p_flnam LIKE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnam.
      CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       program_name        = sy-repid
      FIELD_NAME          = ' '
       IMPORTING
         file_name           = p_flnam .
      MOVE p_flnam TO lv_filename.
    Uploading the flat file from the desktop
    START-OF-SELECTION.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                      = lv_filename
          i_begin_col                   = startcol
          i_begin_row                   = startrow
          i_end_col                     = endcol
          i_end_row                     = endrow
        TABLES
          intern                        = l_intern
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT l_intern BY row col.
      LOOP AT l_intern.
        MOVE l_intern-col TO l_index.
        ASSIGN COMPONENT l_index OF STRUCTURE itab TO <fs>.
        MOVE l_intern-value TO <fs>.
        AT END OF row.
          APPEND itab.
          CLEAR itab.
        ENDAT.
      ENDLOOP.
    I hope it will help u.
    Regards
    Nayan

  • How and where to install MDM Connector and MDM Java API

    Hi all
    I am installing MDM Server 5.5 and refering to Installation gude
    MDM 5.5 SP06 installation guide (Document Version 1.1 – December 10, 2007).  While installing Development and Portal components , We have to install MDM Connector and MDM JAVA API. I want to know whether the file JAVAAPI<version>.sca file is to extracted on MDM Server or SRM Server ( Using SDM). Please let me know
    Thanks in advance.
    Vitthal prabhu

    Hi Vitthal,
                 We have to install MDM Connector and MDM JAVA API.
    All these sca files that u got along with the business content needs to be deployed onto Web Application Server (recommended WAS 7.0 ).
    U can deploy these files with the help of SDM.
    Hope dis solves ur problem.
    Regards Tejas..............

  • Business Connector and sap router on same server?

    Hello,
    We are investigating currently in order to install "Business Connector" and "Sap router" on a same dedicated server.
    I would like to know if it is possible or not recommended, etc... if there are some guidelines.
    If someone has experience in this solution.
    Many thanks for your help

    I can't see a reason why not... any particular concerns?
    Regards
    Juan

  • Business connector and idoc

    Experts
    Currently i am working on BC for creating
    sales order using idoc , i have input file with me,
    which is an xml format and the mapping is ready in
    BC , only problem which i am facing is that i am not
    able to understand following thing
    1) How can i test these mapping as initial input
    for mapping is node ,which won't except any input
    2) How we can call these idoc structure(for example
    ORDERS) in my BC.

    Hi,
    >>I am not sure of XI ,since i worked on BC only,
    do XI provide automatice generation of java code ?
    Not like BC, you have to write it manually.
    >>curently i am looking into the serive that will create
    inbound idoc in R/3 (ORDERS),since i worked with BAPI
    and BC ,i am not much aware of IDOC, can we call
    IDOC in our service directly as BAPI ,if so how?
    See IDOC and BAPI'S are two different techniques for contacting the R/3. What you can do is call IDOC inside BAPI. BAPI is like your function (say java) and inside that you are creating an IDOC (say a file) and you are sending it to that R/3. For IDOCs you have to set Routing rules and all.. I think this might be helpful:
    http://www.ups.com/sap/configuration/Configuration.pdf
    Good, after long time a BC query. Now i think you will close this thread and BTW have you seen this:
    just a few minutes....
    Regards
    Suraj

  • Business  Connector and XI

    Dear Sir,
    Are there any preson change from Business Connector to use XI instead ?? Please kindly advise . how did you convert from BC  to XI
    Thank you and best regards,
    Vimol

    Hi Vimol,
    Check this "How to" guide, for the required information
    https://websmp205.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202&_OBJECT=011000358700005272252005E
    other How to guides,
    https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    have a look at this also...
    Re: Connectors and Xi...
    also,
    XI FAQ’/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    I hope this will help you.
    Regards,
    Saurabh...
    Reward with points if found helpful.

  • SAP Business Connector and EDI

    Hi,
    I need to implement a new EDI version to use within Business Connector. However, I cannot remember where to extract the EDI template files from. Has anybody done this before and can inform me where to extract the EDI template files from.
    Thanks
    Martin

    Hi,
        DATA: L_DIRNAME LIKE EPSF-EPSDIRNAM,
            L_FILEMASK LIKE EPSF-EPSFILNAM,
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
        EXPORTING
          dir_name                     = l_dirname
          file_mask                    = l_filemask
    IMPORTING
      DIR_NAME                     =
      FILE_COUNTER                 =
      ERROR_COUNTER                =
        TABLES
          dir_list                     = pi_filelist
    EXCEPTIONS
       invalid_eps_subdir           = 1
       sapgparam_failed             = 2
       build_directory_failed       = 3
       no_authorization             = 4
       read_directory_failed        = 5
       too_many_read_errors         = 6
       empty_directory_list         = 7
       OTHERS                       = 8
    <b>Reward points</b>
    Regards

  • Table for Business Objects and BAPIs

    Hi All,
    Is there any table which correlates a Business Object and all the BAPIs related to it.
    Any pointers in this regard would be helpful.
    Thanks,
    Saher

    hi,
    GOTO SE11-> TOJTB-> give your business object
    You get the list of programs where you are using your business object.
    If a BAPI exists with this business object even that's displayed.
    Regards
    Sharath

  • Business Connector and PI

    Hi,
    Does Business Connector have a very limited number of threads (in multi-threading of tasks)  when compared with PI?
    Amith

    Hi,
    as far as I know there is no such restriction on the business connector regarding the number of threads it can handle.
    best regards,
    Markus

  • Business Objects and BAPI (SAP-ABAP)

    Hi Friends,
        Could anyone help me about followings:
          1) what is Business Objects, SAP Business Objects in SAP ?
          2) Why it is used  ?
          3) what is BAPIs, why it is used, How it is works actually ?
          4) we have ALE and EDI to communicate data between SAP-SAP and SAP-NonSAP respectively.why we go for BAPIs?
          5) What is OOPs,how it works in realtime ?
    Please treat it as urgent.
    Thx in Adv.
    Bobby

    Hi Bobby,
    Answers for your OOPS question
    Check this for basic concepts of OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    Tabstrip
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20for%20tab%20strip%20in%20alv.pdf
    Editable ALV
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20edit%20alv%20grid.doc
    Tree
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
    ++++++++
    Helpful links and examples ........
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    http://www.brabandt.de/html/abap_oo.html
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://www.erpgenie.com/sap/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Thanks, Aby Jacob

  • Calling a javascript function from java code and getting tha value in Java

    Hi,
    I would like to call a Java script function confirmRemove() from Java code upon meeting a condition..
    for example the code snippet is:
    if(true){
    // I want to call js confirmRemove() over here. And get the value of variable "answer" in this if block.
    <html>
    <head>
    <script type="text/javascript">
    function confirmRemove() {
         var answer = confirm("Are you sure you want to Delete?")
    </script>
    </head>
    <body>
    <form>...

    Hi,
    Back in 2003 I have used an Applet which contain java code and this java code was calling the java scripts ( different methods, DHTML etc..)
    There was a component developed by NetScape called JSObject I am not sure it there is other third party component other then the JSObject
    look at this article which shows how (based on JSObject)
    [http://java.sun.com/products/plugin/1.3/docs/jsobject.html|http://java.sun.com/products/plugin/1.3/docs/jsobject.html]
    Regards,
    Alan Meio
    London,UK

  • Problem with ELSTER and Business Connector

    Hi all,
    it's not really a XI Problem but I have no idea, where I could post it anyway.
    For LSTA/LSTB with Elster we installed the Business Connector.
    To check the settings we execute the report RPUTX7D0.
    The following error message appears:
    Testreport zum Überprüfen der RFC-Verbindungen zum Business Connector
    Lohnsteueranmeldung                                                 
    Kommunikation - Business Connector                                                                               
    Test HR_DE_B2A_ELSTER_GZIP   => /ELSTER/LSTB/GZIP                   
    Test HR_DE_B2A_ELSTER_UNGZIP => /ELSTER/LSTB/UNGZIP                                                                               
    Teststring für GZIP und UNGZIP: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    Message: java.lang.StackOverflowError                               
    SY-SUBRC: 1                                                         
    Kommunikationsfehler beim Aufruf des                                
    Funktionsbausteins HR_DE_B2A_ELSTER_GZIP.                           
    Ueberprüfen Sie die RFC-Verbindung HR_DE_ELSTER                     
    und/oder die Funktion des Business Connectors.                      
    Message: java.lang.StackOverflowError                               
    SY-SUBRC: 1                                                         
    Kommunikationsfehler beim Aufruf des                                
    Funktionsbausteins HR_DE_B2A_ELSTER_UNGZIP.                         
    Ueberprüfen Sie die RFC-Verbindung HR_DE_ELSTER                     
    und/oder die Funktion des Business Connectors.                      
    Does anybody knows why the java.lang.StackOverflowError appears?
    Any ideas what I could do to solve the problem?
    Many Thanks,
    Mathias

    Here is the right error message. Seems as if it loops..... But the question is why.
    2007-07-13 13:32:03 CEST java.lang.StackOverflowError
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.data.IDataUtil.clone(IDataUtil.java:405)
         at com.wm.lang.flow.FlowSequence.invoke(FlowSequence.java:197)
         at com.wm.lang.flow.FlowRoot.invoke(FlowRoot.java:199)
         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.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.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.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.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.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)

  • Link of Business Area and Company Code

    hii
    from which table i can find the link of Business Area and the Company Code....
    thanx in advance
    abhishek

    FILCA  table
    RCOMP and RBUSA

  • Substitution rule for Business place and section code

    Hello Friends,
    We have a business place and a section code. I want to write a substituion rule for vendor invoice for business place and section code.
    When i see in header, i am not find BUPLA and SECCO in header. I am finding them in line item. How do i get these fields in header segment. I tried substution rule in line item, but the tds is not deducted.
    Thanks
    SK

    hi SK,
      i am not understand your problem. Previously i face one problem regarding business place and section code. While booking invoices and advance payments the user forgets to specify business place or section code and some times he specifys wrong business place also. Basing on business place or section code we cant restrict the users because there is no authorisation object.
    i created one validation that if my business area is 1000. then substitute the business place field with section code.
    we have business place individual business area wise so i created this substitution.
    Regards,
    Sankar

Maybe you are looking for