Acess Bapi

hi friends,
        I have Z_BAPI_VEN    is the classname,  in that method name is
      Z_BAPI_VENDOR_GET_DETAILS 
  i am accessing the z_bapi_vendor_get_details ,but i am unable to access
  the z_bapi_ven ..
how to access that z_bapi_ven using jco programming  ...
thanks

hi prashil,
import com.sap.mw.jco.*;
public class Bapi1 extends Object{
  JCO.Client mConnection;
  JCO.Repository mRepository;
  public Bapi1(){
     try{
        mConnection = JCO.createClient("100","NTWDEV","******",
                                null,"10.111.11.111","00" );
        mConnection.connect();
        mRepository = new JCO.Repository("MyRepos", mConnection);
     }catch(Exception ex){
        ex.printStackTrace();
        System.exit(1);
     JCO.Function function = null;
     JCO.Table codes = null;
     try{
       function = this.createFunction("Z_BAPI_VENDOR_GET_DETAILS ");
       if (function == null){
          System.out.println("Z_BAPI_VENDOR_GET_DETAILS " + "not found in SAP");
          System.exit(1);
       mConnection.execute(function);
       codes = function.getTableParameterList().getTable("IT_LFA");
       for( int i = 0; i < codes.getNumRows();i++){
          codes.setRow(i);
          System.out.println(codes.getString(codes.getName(i));
     }catch(Exception ex){
       ex.printStackTrace();
       System.exit(1);
     mConnection.disconnect();
  public JCO.Function createFunction(String name) throws Exception{
     try{
       IFunctionTemplate ft = mRepository.getFunctionTemplate(name.toUpperCase());
       if (ft == null)
          return null;
          return ft.getFunction();
     }catch(Exception ex){
       throw new Exception("Probelm retrieving JCO.Fucntion object");
  public static void main(String agrs[]){
       Bapi1 app = new Bapi1();
My problem is how to access the Bapi ? I am access the Function module
thanks

Similar Messages

  • Urgent Please help me... How to access BAPIs from abstract portal component

    I am developing an application in Abstract Portal Component (in
    PDK).
    In that application I can able to acess BAPIs from my Componets
    using the code like
    inputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Input();
    outputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Output();
    popSearchBapi = new DropBox_PortType();
    colorList = new Tjj12Type_List();
    inputPopSearchBapi.setIm_Agencyid("0010000001");
    try {
    jcoClient.connect();
    outputPopSearchBapi =
    popSearchBapi.zad_Bapi_Pop_Search_Form(inputPopSearchBapi);
    colorList = outputPopSearchBapi.get_as_listIt_Color();
    request.getComponentContext().putValue("color",colorList.iterat
    or());
    jcoClient.disconnect();
    But I am not able to Access the data that is comming from the
    BAPI in my JSP Page. Pleeeeeeease help me. If you want any
    clarification about my problem then ask for further
    clarifications

    Hi,
      You can refer this link, to connecting the BAPI from Abstract Portal Component <a href="http://www.huihoo.org/openweb/jco_api/com/sap/mw/jco/JCO.html">JCo Tutorial1</a>
    <a href="http://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25">JCo Tutorial2</a>
    With Regards,
    Venkatesh. K
    /* Points are Welcome */

  • R/3 and EP connectivity Problem

    Hi Everbody,
    Plz can anyone will help me out ,
    i have problem ina acessing BAPI with EP, i have tried the connectivity which they have provided in SDN but still iam unable to connect....
    plz can anyonw will give me idea apart from the setting whatever we have in SDN any other setting need to be done  .. plz let me know....
    below setting what i ahve done......
    Configuring SLD in Sneak Preview SAP NetWeaver '04 Sneak
    After installing Sneak Preview SAP NetWeaver '04, you might want to try it by deploying J2EE application, portal application, or etc using SAP NetWeaver Developer Studio. However, in order to deploy and run Web Dynpro application with Adaptive RFC, System Landscape Directory (SLD) must be configured.
    Assumption
    1.     SLD has not been configured
    2.     It is stopped
    3.     The OS is Windows Server 2003 Enterprise Edition named ' sapnw2k3ent'
    4.     ABAP system is installed at ' sape50'
    Instruction Steps
    1.     Enter http://localhost:50000/sld with user ' admin' and password ' admin'<br/> 
    2.     Enter Administration page by clicking at navigation bar<br/> 
    3.     Enter Server Setting page<br/> 
    4.     Fill your hostname, sapnw2k3ent, in Object Server field and click Set button in section Server Parameters<br/> 
    5.     Go back to Administration page and start server
    6.     Enter Import page. Fill c:\usr\sap\J2E\SYS\global\sld\model\cr_content.zip in File field.<br/> 
    7.     Click on button ' Import CR Content from Server' and wait for a while. There are 25866 objects to be imported.
    8.     Enter Data Supplier Bridge page
    9.     Set Update local SLD to true, RFC Gateway server to sape50 and click on button ' Start Bridge'
    10.     Start Visual Administrator at C:\usr\sap\J2E\JC00\j2ee\admin\go.bat
    11.     If this is the first time for Visual Administrator, you have to create new connection with port 50004<br/> 
    12.     In Global Configuration -> Server -> Services -> Security Provider, set SynchPermissionsWithDatabase to true
    13.     Select Cluster -> J2E -> Server -> Services -> SLD Data Supplier
    14.     In Runtime tab page, select HTTP Settings tab page
    15.     Fill below information
    <tbody> Host     localhost
    Port     50000
    User     admin
    Password     admin</tbody>
    16.     Go back to Information tab page and click on trigger button 
    17.     Close Visual Administrator
    18.     Go to Home -> Technical Landscape via web browser and choose Technical System Type as 'Web AS Java'
    19.     You should see J2E instance right here<br/> 
    20.     Start SAP Logon and enter tcode rz70
    21.     Enter localhost in Host field and sapgw00 in Service field
    22.     Click on Proposal button  and choose Yes in confirmation dialog<br/> 
    23.     Click on Activate button 
    24.     Click on Start Data Collection button  and choose Yes in confirmation dialog
    25.     You should get RFC call successful<br/> 
    26.     Go to Home -> Technical Landscape via web browser again and choose Technical System Type as 'Web AS ABAP'
    27.     You should see E50 instance right now<br/> 
    You are ready to deploy JCo application! Enjoy programming.
    i got stopped at 7th step whre its asking me password ...
    when i agve it compeleted 50% then got disconnected
    i did all above settings which are mentioned above , but still did not got success . plz help me its an urgent
    Anajli

    Hi Anjali,
    Generally it takes more than half an hour to  Import CR Content from Server.
    If this fails, there should be network connectivity failure or some connectivity issue. I dont think there is any problem with portal or SLD.
    As you say >>i got stopped at 7th step whre its asking me password ...
    This clearly indicates there is a connectivity failure that asks for the password. Check whether you have set any time out option.
    Regards,
    venkat.

  • How do I find the db table in R3 corresponding to a BAPI that was imported.

    Hi,
    I imported BAPI_FLBOOKING_GETLIST into RFC object in my FiletoRFC scenario.I want to find out the db table corresponding to this BAPI so that I can check which data is available in that table.
    Waiting for some one's help.
    Thanks,
    Naren

    Narendar,
    I can't recollect the name of the table, but i'm sure it starts with S . I don't have sys acess now, since i'm in home. Can u give a try like this . Go to SE 11 and give S* and click help , From the description of the list of table u can find it out. I'm really sorry that I cudn't able to help in this regard, If  u cudn't find, please wait our friends will reply back promptly.
    Best regards,
    raj.

  • Acess the sap r/3 table

    hi everyone,
        can i access the sap r/3 tables directly without rfc .....
       any possibility is there means plz send me reply........
       present i am doing bapi via jco using RFMs.........
      with regards,'
      satish

    Hi,
    This question has already been asked (and answered) here - without FM can i acess sap table via jco? and here - bapi problem via jco and here - through jdbc driver connect to sap  Not sure if points are getting awarded or not...
    Anil, you are posting very confusing answers that don't help people who don't know about SAP and RFC technology.  A BAPI is a type of function module.  An RFC is a type of function module.  A function module is a function module.  To clarify, there is only one object called remotely, that is a function module.  For this to happen it HAS to be RFC enabled (Remote Function Call.)  A BAPI is a function module that completes a certain piece of business logic in entirety, such as creating a document or changing a document - typically methods of business objects as you suggest.  There should be no distinction between RFC and BAPI.  Typically, all BAPI function modules are RFC-enabled so they can be accessed from remote systems/applications.  Any function module that is RFC enabled can be accessed from a remote system.  To access SAP data from external systems/applications via JCo you need a function module that is RFC enabled.  There are a lot of RFC enabled function modules supplied by SAP - if you are developing custom logic or working with custom tables on the SAP system then you will need to develop a custom RFC enabled function module (call it a BAPI if you want!) that you can then call via JCo.
    I'd also say that connecting directly to a SAP database is very bad practice and shouldn't be suggested to resolve issues - data integrity can suffer and cause serious problems for the SAP system.  This method should be used with custom database instances (say created via the dictionary builder in NDS.)
    Gareth.

  • BAPI function call in Java

    Hi,
    I am trying to make BAPI function call in JAVA. I am using the following libraries for IBM AIX version and the sapjco.jar
    1) librfccm.o
    2) libsapjcorfc.so
    The above 2 libraries are in my java lib path.
    But I get a exception and it is referring to sapjcorfc.dll (which is a windows version) instead of referring to libsapjcorfc.so
    What should I do so that it refers to libsapjcorfc.so and not sapjcorfc.dll
    Error Details:   java.lang.ExceptionInInitializerError: JCO.classInitialize():
    Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc
    [sapjcorfc (A file or directory in the path name does not exist.)]. java.library.path
    [/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:
    /usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:
    /tmp/sapinst_exe.1081378.1199455057:/usr/sap/DP0/SYS/exe/run:/home/db2inst1/sqllib/lib64:
    /usr/sap/DP0/DVEBMGS42/exe::/usr/lib:/usr/sap/DP0/DVEBMGS42/j2ee/os_libs:/usr/sap/DP0/DVEBMGS42/exe:
    /usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:/usr/lib:/lib:/usr/sap/DP0/SYS/exe/run:
    /home/db2inst1/sqllib/lib64]

    Hi Jawed,
    when  I try it as a stand alone java code on IBM AIX version BAPI connection works and it fetches the roles listed for an user from the ACTIVITYGROUP table.
    The same piece of code bundled in an ear and when deployed in SAP netweaver portal gives different errors. My sapjco.jar is in application lib folder and it is referred in classpath
    first time when i access the application url it gives me
    Error Details: java.lang.ExceptionInInitializerError: JCO.classInitialize():
    Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc
    http://sapjcorfc (A file or directory in the path name does not exist.). java.library.path
    [/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:
    /usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:
    /tmp/sapinst_exe.1081378.1199455057:/usr/sap/DP0/SYS/exe/run:/home/db2inst1/sqllib/lib64:
    /usr/sap/DP0/DVEBMGS42/exe::/usr/lib:/usr/sap/DP0/DVEBMGS42/j2ee/os_libs:/usr/sap/DP0/DVEBMGS42/exe:
    /usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:/usr/lib:/lib:/usr/sap/DP0/SYS/exe/run:
    /home/db2inst1/sqllib/lib64]
    when i acess the application url next time it gives me
    Application error occurred during request processing.
      Details:   java.lang.NoClassDefFoundError: com.sap.mw.jco.JCO (initialization failure)
    Exception id: [00145EB7604700720000000F000C20FE00047CA4F0EF0615]
    Below is my my javacode - I am calling the method getUserRoles
    package com.mysap.sso;
    import com.sap.mw.jco.*;
    import java.util.ArrayList;
    import java.util.List;
    public class BapiConnection {
         private static JCO.Client mConnection;
         private static JCO.Repository mRepository;
         private static JCO.Function createFunction(String functionName)
                   throws Exception {
              try {
                   IFunctionTemplate ft = mRepository.getFunctionTemplate(functionName
                             .toUpperCase());
                   if (ft == null) {
                        return null;
                   } else {
                        return ft.getFunction();
              } catch (Exception ex) {
                   throw ex;
         public List getUserRoles(String user) {
              JCO.Function function = null;
              JCO.Table activitygroups = null;
              List rolesList = null;
              mConnection = null;
              mRepository = null;
              mConnection = JCO.createClient("300", "INVTRY_SEGMT", "Welcome%1",
                        null, "ade00fe", "22");
              try {
                   //Connect to the WebAS ABAP with the parameters above
                   mConnection.connect();
                   //Create a function repository to be able to build a function
                   mRepository = new JCO.Repository("INVTRY_SEGMT", mConnection);
                   //Get the function
                   function = createFunction("BAPI_USER_GET_DETAIL");
                   //Set the only import parameter
                   function.getImportParameterList().setValue(user, "USERNAME");
                   //Execute the function
                   mConnection.execute(function);
                   //Get the 'ADDRESS' return structure
                   activitygroups = function.getTableParameterList().getTable(
                             "ACTIVITYGROUPS");
                   rolesList = new ArrayList();
                   for (int i = 0; i < activitygroups.getNumRows(); i++, activitygroups
                             .nextRow()) {
                        System.out.println(activitygroups.getString("AGR_NAME"));
                        logger.debug(activitygroups.getString("AGR_NAME"));
                        rolesList.add(activitygroups.getString("AGR_NAME"));
                   mConnection.disconnect();
              } catch (Exception ex) {
                   System.err.println(ex.toString());
              return rolesList;

  • Create contact person for a debitor in background with bapi

    Hi,
    I want to create a conact person for a debitor in background with a BAPI. I found the BAPI BAPI_PARTNEREMPLOYEE_CREATE, but this BAPI creates the person in dialog-mode.
    Is there a BAPI-function to create a contact persons in background?
    best regards John

    The straight answer is that it doesn't work.
    The only workaround I've used befor is having a shared network folder that both your user and the user running the SAP dialog service have access to. This does work, but you could argue it is a little messy.
    That windows user is probably named SAPservice<SID> on the OS level (or equivalent for Linux).
    Windows Operating System User Settings in an SAP System - SAP NetWeaver Security Guide - SAP Library
    Share a folder and grant both acess. Afterwards you can run the bapi with the network path.
    espen

  • Output in bapi

    hi all.
    sorry i got one small doubt is here in my scenario  i have to send data from 2 diferent file snders to one bapi.
    i developed the interface in xi and its working 
    so i need to check the table in bapi and iam having acess too to check that bapi.
    but that bapi table is a structure and i dont know how to check the contents of that sructure.
    if that is a table then i can go to that table in bapi and click on that bapi and utulities->display but that was a strucure.
    i tried for testing that structure by se37->rfcname->tables(tab)->double click on associated type but it was displayig only fields instead of data in those fields.
    waitin for u r quick answer.
    bye.
    regards.
    seeta ram.
    waiting for u r quick reply.
    cheers.

    u need to see which table is getting updated thru bapi. the tables u se in se37 is just a defitnion refercing to a strucutre. what is the bapi name u are using. or goto se37 give the bapi name and u can find the funtion grp from the attributes. take that goto se80 give the f/n grp and display. u can find the related table for that. thru that u can check which tables are updated

  • Function module or bapi to get condition value of condition types (vk11)

    Hi Experts,
       I have customer no(Sold to) , sales area and material as input.
      and i need to get discount value(defined using condition types using vk11) that i give to customer for a given material for give sales area.
      Pls help me with the standard FM or Bapi through which i can get my desired output.
      Thanks in Advance.

    Hi Ashwin,
      thanks for the reply but, this fuction module retuns me condition table based on the Acess sequence selected by me.
    where as what i require is that i should get condition record number or condition value, based on the access sequence configured (i.e i shouldn't provide the acess sequence).
    Thanks in advance

  • Open Purchase Order UPload Using the BAPI 's

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

  • URGENT: Function modules or BAPIs

    Hi Experts,
    I need function modules or BAPI to get the open items and cleared items G/L Account wise.
    Useful replies will be surely awarded.

    Hi Chakradhar,
    Check tcode : BAPI
    u will get all bapis there.
    Regards,
    Hemant

  • Questions on BPS BAPI calls and PDF forms

    I will need to create a button on a BPS form and that button is supposed to call a BAPI.  One of the buttons will create a PDF of the form (using the contents of the form) and print said form to a 'default' printer.  The issue is that not all cFolder users will have an ECC logon name.  What am I to do in this instance?  Will I need to pass some type of credentials to the ECC backend in order to run this BAPI?
    Also, how can I get the contents of the form(s) to the BAPI?  I assume that I will need to create the PDF in the code of the BAPI.  Please be patient with me as this is my first time to work with cFolders and/or BPS.
    Regards,
    Davis

    Hi Davis,
    Well, if you are able to log on the BPS application (thus, a Web Interface if I'm not mistaken) then it means that some user is logged on the ABAP-side. It is either a "personal" user or a technical (common) user, that is used for anonymous access.
    You will certainly be able to track down this user with the SM04 transaction.
    You should be able to add a button to the BPS page. One idea would be to call an URL with an ICF service behind that will be able to process the parameters contained in this URL.
    It will be this very ICF service that will call the BAPI.
    Try these links
    http://help.sap.com/saphelp_nw04s/helpdata/en/55/33a83e370cc414e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ea8db790-0201-0010-af98-de15b6c1ee1a
    Hope this helps.
    Best regards,
    Guillaume

  • Deletion of Scheduling Agreement and Delivery Schedule using BAPI

    Hi SAP MM Gurus,
    Please assist in inquiry below:
    My scenario is that I am trying to delete delivery schedules and scheduling lines using BAPIs. I have no issues when there is no GR made yet for the delivery schedules. The error arises when there are already existing Goods Receipts and Invoices for the schedule line that I wish to delete
    When using the BAPIs (either BAPI_SAG_CHANGE or BAPI_SCHEDULE_MAINTAIN), I set the deletion indicator to "L" and set to X all change relevant fields (i.e. DELETION_INDX). However, whenever I execute it, I get the error message 06088. The funny thing is both the Quantities and the delivered quantities that are normally populated are left blank.
    For example:
    Normal error for 06088:
    Quantity 100.0 smaller than quantity delivered 179.0
    Error using BAPI with deletion indicator:
    Quantity  smaller than quantity delivered
    Is this a bug of the BAPI? or am I just missing some settings?
    Your immediate response is appreciated
    Regards,
    DeLo

    Hi,
    Please find the below link check the setting are correct or not
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02cb00a-bfb4-2c10-98aa-e33e7f64ba28?quicklink=index&overridelayout=true
    Reagrds,
    Pramod

  • BAPI for training and event management

    Hi all,
    I need a bapi that returns the list of the attendees of a training course.
    I've seen that a FM exists: RH_GET_PARTICIPANTS and i know how it works.
    I would like a standard BAPI to be called by an external system.
    If it doesn't exit I will create a remote FM that calls the RH_GET_PARTICIPANTS.
    thanks
    enzo

    Hi Enzo,
    I don't think there is a BAPI.. but you can create one using the Method 'Display Attendance' for the 'Attendance' Business Object (PDRELA_025) in Tcode BAPI. But I think creating an RFC that in turn calls RH_GET_PARTICIPANTS is the easy way out.
    Regards,
    Suresh Datti

  • Scheduling BAPi

    Hi guys,
    While scheduling a BAPI(ZBAPI_WS_REPORT ),am gettin an error msg says Program ZBAPI_WS_REPORT is invalid or does not exist,even though it exists in the target client.What could be the problem?Please help me out in this regard asap.Its very urgent.
    Surely points vl b rewarded.
    Warm Regards,
    Mohandoss P.

    You need to call that BAPI into your report and then you have schedule that report.
    I hope it helps.
    Let me know if any doubts.
    Thanks,
    Vibha
    Please mark all the useful answers

Maybe you are looking for

  • Creating an album page does not display all the albums?

    I am trying to create a page that has an index with "poster frames" as reference of all the pages that I have with movies. I dragged and dropped all at once 10 video clips onto the album button but on the album page only 7 clips are visible. In my si

  • How can you set (or reset) different page sizes within 1 pdf?

    I am working on a pdf with various page sizes.  Say one page at 8-1/2 x 11, another at 11 x 17, and another at 22 x 34.  I obviously can't print as "Choose paper source by PDF page size" as one printer can't do all sizes.  I would like to change the

  • Oracle 8i on NT: No more data to read from socket

    I'm using the thin JDBC to connect to Oracle 8i on NT. when i try to connect i get this exception: java.sql.SQLException: No more data to read from socket at oracle.jdbc.dbaccess.DBError.check_error (DBError.java:659) at oracle.jdbc.ttc7.MAREngine.un

  • Move out Info Provider to other server without transport connection?

    Hi All, Could you share you thought ? Is there a possibility to move out the info provider design & info object to other server without transport connection ? The background is our project box will be decommissioned, and unfortunately it's not connec

  • Table Source Index

    I realize this may be fundamentals, but, I'm new to the SES world... I am attempting to index a table stored in an Oracle Database. I can get SES to do the initial analysis...but no records get indexed. I am sure there is something simple I have miss