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

Similar Messages

  • 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

  • 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

  • XI to Xi  communication( doubt about message interafce)

    hi ALL.. AGAIN WE ARE BACK 
                                                             https communicaion
    WITH SOME ISSUE IN    <b>File/Idoc - XIA--|Internet|--
    XIB - File </b> scenario.
    1.at XIA we are using XI Adapter, with HTTPS protocol to post data to XIB server
    2.at XIB we are using same XI adapter with HTTP protocol to receive data.
    the issue is which <b>message type</b> we shall use for these 2  interfaces.
    <b>a)</b> is it possible to export the idoc structure as XSD and use this XSD file as External
    Definition at both interfaces at XIA and XIB system...or some standered datatype  template is there..
    <b> b)</b> what in case the 2 interface  has different message type ?
    regards,
    ashutosh

    Hi all
              for connecting XIA &  XIB, 
    at XIA as we are using XI adapter at receiver communication channel..
    i am specifying the path as :
    <b>http://<host >:<8001>/MessagingSystem/receive/AFW.</b> host = host XIB.
    do i require to remove the "receive"  in the url...   pointed in the below blog by stefan..
    XI to XI - XI adapter communication
    Regards,
    ashutosh

  • BAPI Funda Doubt

    hi,
         If i'm developing a BAPI for any composite application which will communicate with .NET/Java application 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.
    Thanks,
    Gaurav

    Hi
    U have to use extension structure (EXTENSIONIN)
    In the table parameter of the BAPI you can see EXTENSIONIN structurated as BAPIPAREX.
    U need to do the following steps before using it:
    By SE11:
    - Extend the structure BAPE_VBAP and BAPE_VBAPX in order to insert the new fields
    - Extend the structure VBAPKOM and VBAPKOMX (if it's necessary) in order to insert the new fields
    In your report
    - Transfer the value to EXTENSIONIN:
    BAPE_VBAP-POSNR = <POSNR>.
    BAPE_VBAP-NEW FIELD = .......
    EXTENSIONIN-STRUCTURE = 'BAPE_VBAP'.
    EXTENSIONIN+30        = BAPE_VBAP.
    APPEND EXTENSIONIN.
    BAPE_VBAPX-POSNR = <POSNR>.
    BAPE_VBAPX-NEW FIELD = 'X'.
    EXTENSIONIN-STRUCTURE = 'BAPE_VBAPX'.
    EXTENSIONIN+30        = BAPE_VBAPX.
    APPEND EXTENSIONIN.
    Max

  • BAPI field doubt

    Hi Experts!
    I am using BAPI_SALESORDER_CREATEFROMDAT2 bapi to create sales orders and trying to fullfill with this a field called "Customer Material Number" in transaction VA02.
    Unfortunatelly I didn't get it with Table parameter called ORDER_ITEMS_IN, field CUST_MAT22.
    Any suggestions?
    Thansk!
    Michel Khouri

    Hi
    U have to use extension structure (EXTENSIONIN)
    In the table parameter of the BAPI you can see EXTENSIONIN structurated as BAPIPAREX.
    U need to do the following steps before using it:
    By SE11:
    - Extend the structure BAPE_VBAP and BAPE_VBAPX in order to insert the new fields
    - Extend the structure VBAPKOM and VBAPKOMX (if it's necessary) in order to insert the new fields
    In your report
    - Transfer the value to EXTENSIONIN:
    BAPE_VBAP-POSNR = <POSNR>.
    BAPE_VBAP-NEW FIELD = .......
    EXTENSIONIN-STRUCTURE = 'BAPE_VBAP'.
    EXTENSIONIN+30        = BAPE_VBAP.
    APPEND EXTENSIONIN.
    BAPE_VBAPX-POSNR = <POSNR>.
    BAPE_VBAPX-NEW FIELD = 'X'.
    EXTENSIONIN-STRUCTURE = 'BAPE_VBAPX'.
    EXTENSIONIN+30        = BAPE_VBAPX.
    APPEND EXTENSIONIN.
    Max

  • BAPI  or  IDOC

    Hi friends,
                      We have the Requirement of taking customer data from Legacy to ECC through PI. The Client has 167 fields in his customer database . But ECC needs Only 25-30 fields . BI needs all fields. So my PI consultant has create one structure which is common to both of us. So, My doubt is whether i have to go For IDOC or BAPI . Which one is better to do...and the reason to go for particular method...............Thanks in Advance.

    Hi,
    It really depends .
    If there is already standard BAPI or Idoc exists, then it is prefer to go for that. In this case, as you expect Response i.e Synchrnous, then it is prefer to go for BAPI communication. But potential problem here, is if huge amount of data flow is there, then you need to check the performance as it is a synchrnous. Bottomline is to avoid synchronous call as much as possible. if so then automatically the choice is Idoc. And there are already error handling etc is taken care if it is standard idoc/rfcs
    Just to give some more info-
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    RFC/IDOC ADAPTERS
    Regards,
    Moorthy

  • PM BAPIs COMPONENT_INSTALL and  COMPONENT_DISMANTLE  Help pls

    Good Day  experts
    Need your help pls regrding the below 2  SAP FMs
    COMPONENT_DISMANTLE
    and
    COMPONENT_INSTALL
    _the data or parameters available is
    AUFNR =  Refrance PM Order
    TPLNR = functional location
    EQUNR = Equipment No. to be dismantled or Installed
    MATNR = Material No
    SERNR = Serial No,
    LGORT  = Storage Location
    OBJNR = Object No for the Equipment
    HEQUI = Superior Equipment No
    TPLMA = Superior functional location
    CALL FUNCTION 'COMPONENT_INSTALL' "
    EXPORTING
      iv_simulation =             " xfeld         Checkbox
    TABLES
      it_goodsmvt_serialnr =         " bapi2017_gm_serialnumber  _BAPI Communication Structure: Create Mat. Doc., Serial No.
    CHANGING
      cs_ipw4_com =                    " ipw4_com      Communication structure for Equipment install/removal trans.
      cs_goodsmvt_header =        " bapi2017_gm_head_01  BAPI Communication Structure: Material Document Header Data
      cs_goodsmvt_item =             " bapi2017_gm_item_create  BAPI Communication Structure: Create Material Document Item
      cs_goodsmvt_code =           " bapi2017_gm_code  MMIM: New Key Assignment GM_CODE to Transaction of Inv. Mgmt
      cs_sequi =                            " v_equi        Generated Table for View V_EQUI
      cs_hequi =                            " v_equi        Generated Table for View V_EQUI
      cs_hiflo =                              " iflo          Table generated for View IFLO
      ct_log_handle =                    " bal_t_logh    Application Log: Log handle
    is any one have ever used them before I need ur help how can I populate the required data in these tables do i just have to pass the values  ?
    Thanks alot
    Edited by: Nora2000 on Dec 17, 2011 3:04 PM
    Edited by: Nora2000 on Dec 17, 2011 3:04 PM

    Error message at installation | CS3

  • MII 12.1 Questions - BAPI Consumption

    The following is from SAP document - Upgrade Master Guide SAP MII 12.1:
    To implement the following SAP MII business
    scenarios, you must use SAP ECC 6.0 or
    higher:
    - Shop Floor Quality Integration
    - Content Versioning
    - Transactions for BAPI Consumption
    Clarification:
    We are looking into upgrading from MII 12.0 to 12.1 and have not upgraded to ECC 6.0. Concerning ECC 6.0 requirement for business scenerio "Transactions for BAPI Consumption", does this mean MII 12.1 does not support calling BAPIs via MII transactions unless you have ECC 6.0 or higher?
    Also, I assume JCO is no longer supported by 12.1, only JRA for ECC BAPI communication?
    Any clarifications would be appreciated!
    Thanks

    David,
    The install guides usually point to the latest release of ERP systems (i.e. ECC). However, many companies won't be upgrading their ERP systems just for MII MII 12.1 can connect to older versions with some limitations (depending how old your ERP is). Your use of BAPI's in JCo calls should be ok. I would always check the Netweaver CE area on the Service Marketplace for any new notes regarding JCo/JRA connectivity.
    As for your second question....JCo is still supported in 12.1. JRA is an extension of JCo so it is the future way of connecting to ECC systems. You can read more on it in the NW CE section of the online help.
    Regards,
    Kevin

  • Creation of sales order from Non Sap to Sap using sap xi

    hi
    can any body expalin me how to create sales order in sap from data  in MS Sql with highest performance becz the sales order is going to be of around 1000 items ,
    sales order needs to be created in sap
    pl help immediately as its anongoing project
    rgds
    shazia

    Hi,
    Please refer below link for ABAP proxy on server side
    ABAP Server Proxies -- /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Example for creating proxies and call BAPI via the Exchange
    Infrastructure
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7038b290-0201-0010-41a9-83b61d951c1d
    Setting Up Point-to-Point Connections with proxy
    http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
    Reliable Messaging – EOIO in ABAP Proxies
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    RFC/BAPI Communication
    http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
    Configuring the Sender RFC Adapter - step by step
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    XI: RFC or ABAP Proxy ? ....ABAP Proxies with attachments
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    ABAP Proxy Generation --
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/content.htm
    Actiave ABAP Proxies -- /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    ABAP Client Proxies -- /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Thanks
    Swarup

  • Difference between tRFC and RFC

    Hi Experts,
    Can any one help me in details to differentiate tRFC from RFC in their application perspective.
    And also let me know the role of ALE and BAPI in both the connection log.ie,Where we have to use ALE and BAPI.
    Regards
    Kumar

    Hi,
    RFC = Remote Function Call and TRFC = Transactional Remote Function Call
    Transactional RFC and Queued RFC are variants of the Remote Function Call that make the data transfer between different SAP R/3 systems more reliable and more secure.
    Transactional RFC 
    http://help.sap.com/saphelp_nw04/helpdata/en/8b/ceea3b31aac554e10000000a114084/content.htm
    RFC Help link
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/eae2a889e711d2956500a0c94260a5/frameset.htm
    Refer BAPI & ALE
    what is difference between BAPI and ALE
    Re: ALE & BAPI communication
    Re: bapi-ale interface
    /Srinivas

  • Idoc error 51:CODE is not supported by BAPI2017_GOODSMVT_CREATE

    Hi,
    I'm doing the file to idoc scenario for inbound Goods Receipt with respect to a Purchase Order.
    In ECC 6.0, Partner profile, inbound parameters:
    Message Type: MBGMCR
    Basic type MBGMCR03-Post Goods Movements with MB_CREATE_GOODS_MOVEMENT
    Released since Release 700
    Process Code: BAPI
    I've created a o/b structure & mapped only below fields.
    E1BP2017_GM_HEAD_01 : BAPI Communication Structure: Article Document Header Data
    PSTNG_DATE : Posting Date in the Document
    DOC_DATE : Document Date in Document
    REF_DOC_NO : Reference Document Number
    E1BP2017_GM_ITEM_CREATE : BAPI Communication Structure: Create Article Document Item
    STGE_LOC : Storage Location
    MOVE_TYPE : Movement Type (Inventory Management)
    ENTRY_QNT : Quantity in Unit of Entry
    ENTRY_UOM : Unit of Entry
    PO_NUMBER : Purchase Order Number
    PO_ITEM   : Item Number of Purchasing Document
    NO_MORE_GR : "Delivery Completed" Indicator
    After idoc generation it is giving status error,
    51:Application document not posted
    CODE is not supported by BAPI2017_GOODSMVT_CREATE
    How to fix this... pls guide on this.
    Regards,
    Balaji

    Hi Balaji,
    When you are using a BAPI to post the GR then why do you want have an IDOC in between.  You have a standard BAPI to post the GR document and the bapi is BAPI_GOODSMVT_CREATE.
    You can design your custom code in such a way that read the data from the file and pass the necessary parameters to that bapi and moreover whatever parameters you have passed to the earlier bapi hold good for this as well.
    But if you are very keen on using the idoc concept then you the following details:-
    Basic Type :-  WMMBID01 or WMMBID02
    Message Type :- WMMBXY
    Process Code :- WMMB
    The above combination holds good for posting a GR using IDOC concept.
    Thanks,
    Mahesh.

  • How to get response of an Async Service in XI

    Hi all,
    I have a scenario where i am invoking an async webservice. I need to get the response of the webservice in the R/3 through XI. Can any body please suggest how to do that?
    Just to share more info, The web service writes its response into a particular port. So if i need to listen to that port, how can i do that?
    Thanks and best regards,
    Kulwant Singh

    Hi, On R/3 side you need to use Proxy or RFC/ BAPI.
    For Proxy configuration refer
    ABAP Proxy Runtime
    http://help.sap.com/saphelp_nw04s/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    Setting Up Point-to-Point Connections with proxy
    http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
    Reliable Messaging – EOIO in ABAP Proxies
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    RFC/BAPI Communication
    http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
    Configuring the Sender RFC Adapter - step by step
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    sap to webservice
    /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
    Thanks
    Swarup

  • SCADA - XMII - ERP integrations through SAP PI

    Hi Experts,
    I have an integration scenario comprising of a SCADA system & SAP ECC. Could anybody suggest some document / send reference links on SCADA - XMII - ERP integrations through SAP PI.
    Useful response would be appreciated.
    Regards,
    Santhosh

    SCADA-XMII integration
    Scada system should always remain connected to some Historian system. You can directly connect to SCADA system to xMII using vendor specific UDS (Universal Data Servers) Like Citect UDS ...
    If vendor specific UDS is not available in MII then you can make it possible if the SCADA system is OPC complaint, through OPC UDS DA, but it provides only current data without any mata data information.
    As a robust business practice it is not recommended to use direct SCADA connectivity to xMII, it should go through some Historian( Citect, Wonderware, Siemens...many more) so XMII will be able to get all plant floor operations data in history & current modes.
    XMII-ERP Integration
    XMII supports IDOC & BAPI communication with ERP system using various SAP connectors available in XMII as in SAP BC, SAP JCO.
    Specific to PI Sheet, you can download various control receipe, process orders data using IDocs.
    BAPIs can be used to do "process order confirmations" back to ERP system and make changes in process data.
    Let me know if you would like to know about specific SCADA system- xMII connectivity or specific activity in PI.
    Thanks
    Ram Upadhyay

  • Process for changing a company code

    Looking for information regarding the process required to change a company code.  We have an existing company A and need to change to company 100.
    Areas that I need to address are FI/CO, SD, MM.  The existing account balances of company A need to be transfered into company 100.
    Thanks,
    Robert
    Edited by: Robert Roe on Mar 5, 2008 1:55 PM
    Edited by: Robert Roe on Mar 5, 2008 1:56 PM

    hi,
    i found this.
    Sometimes during your IDOC/BAPI communication you will get error "No global company code is assigned to the company code" & Message no. FC 326 in Idoc status record.
    This problem is very frustrating. The solution is simple, but hard to find.
    There is a very long menu to get there. It is: IMG > Basis Components > Application Link Enabling (ALE) > Modelling and Implementing Business Processes > Cross-Application Settings > Global Organizational Units > Cross-System Company Codes
    1. Create a cross-system company code.
    2. Assign the cross-system company code to a chart of accounts to which it is also assigned on the central system. This setting is needed on the decentral systems in order to determine the chart of accounts of the company code on the central system.
    3. Assign cross-system company codes to the local company codes. Specify the identifiers of the relevant cross-system company codes for each of the individual company codes.

Maybe you are looking for