FM/BAPI for MPLA details

Hi all,
         Is there any FM/BAPI to get the mpla details giving the equipment number.? I need OBJNR field of MPLA.. I have the equnr.. For this I am using a select query :
1) fetch warpl(M plan no) from mpos giving the equi.
2) pass the 'WARPL' to MPLA tabel and get OBJNR field..
But this is not performance efficient. Can u suggest me any FM/ BAPI for this?
Thanks,
Vasuki

Answered

Similar Messages

  • BAPI for complete details of Process Order including characterstic

    Hi All,
    I need a BAPI for getting complete information of Process order including characterstics and its process instruction. I have got BAPI BAPI_PROCORD_GETDETAIL which returns all the information except order operation characterstics and "characterstics process instructions".
    Is there is any BAPI which can return these 2 details for a given process order.
    Thanks ,
    Abhishek

    Thanks Rajesha for your reply , but here i need Process instruction and its corresponding characterstics for a particular process order.
    Let me explain you the scenario , I have a Process order PO-001 , for PO-001 i have defined 1 operation OP-001 and a phase PH-001.
    For the phase PH-001 i have assigned process instructions PI-001 (You can assign process instructon by selecting a phase and then click on the button Process Instruction below).
    By double clicking on PI-001 you can get process characterstics for that selected PI-001.
    Now i need a BAPI which can return me PI-001 and its corresponding characterstics if i pass PO-001 in that BAPI.
    Thanks & Regards,
    Abhishek
    Edited by: ABHISHEK BAJPAI on Sep 29, 2010 7:30 AM

  • Need of bapi for getting details of material strage locations

    hi all,
    i need one bapi which gives details of for how many storage locations the material has been extended for particular plant..

    hi
    this is a sample bapi for getdetails.
    DATA : P0008 LIKE P0008.
    DATA : ONDATE TYPE SY-DATUM.
    SELECT SINGLE * FROM PA0008
    INTO CORRESPONDING FIELDS OF P0008
    WHERE PERNR = ITAB-PERNR
    AND BEGDA <= ONDATE
    AND ENDDA >= ONDATE.
    DATA : WAGETYPES LIKE BAPIP0008P OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'BAPI_BASICPAY_GETDETAIL'
    EXPORTING
    EMPLOYEENUMBER = PERNR
    SUBTYPE = P0008-SUBTY
    OBJECTID = P0008-OBJPS
    LOCKINDICATOR = P0008-SPRPS
    VALIDITYBEGIN = P0008-BEGDA
    VALIDITYEND = P0008-ENDDA
    RECORDNUMBER = P0008-SEQNR
    TABLES
    WAGETYPES = WAGETYPES.
    regards
    sravani yendru

  • BAPI for Getting details of outbound delivery or VL03N

    Hi,
    Can any one tell me whether there is a BAPI for display of outbound delivery.
    Can any one help me?
    thanks.

    Hi,
    Why do you need BAPI for displaying the delivery?
    Below 2 lines of code is enough.
    SET PARAMETER ID 'VL' FIELD 'delivery number'.
    CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
    Thanks,
    Vinod.

  • Function or BAPI for Resource Detail Selection on Bussiness Event

    Hello,
    I want to do a initial data load of Business Events (TEM). I need to load its resources in a detail form (dates and hours when resource is used by this business event). Does anybody knows any BAPI, function or class that load data in this detail form?.
    I just want to replicated how works PSV2 (or PV10) transaction when you push the resource selection button, select the resource type and a detailed selection but as funtion or BAPI.
    Regards,

    HI Zafar,
    How did you resolve this issue??
    We are working on the same issue, could you please share the possible solution with us.
    Thanks,
    Adi.

  • Bapi for item details

    Hi all,
       Can any body tell name of the standard bapi so that if i pass the item number then I can get the item rate & item available quantity. Please help me with an example. (What are the mandatory fields i need to pass to bapi ). Your help is reward able.

    HI
       I guess you are enquiring regarding Sales Order Item.
    If so, you can use BAPI_SALESORDER_SIMULATE to gather the pricing details and confirmation of quantity.
       Parameters to be passed would be:
    1. Header - Doc Type, Sales Org, Dist. Channel, Division
    2. Items - Material Number
    3. Partners - Atleast Sold-To Party
    4. Schedule Line - Requested Delivery Date, Quantity
      Hope the above info helps you.
    Kind Regards
    Eswar

  • I want know the RFC or BAPI for Vendor details which gives customise lfa1

    Hello Experts,
    I want to fecth the Supplier information from SAP server to PDM server (non sap) using RFC call.But the LFA1 have some customised fields..
    1) I want the RFC or BAPI which Gives the supplier details with customised fields in LFA1.
    2) How Can I code In the PDM server??I mean How can I call In the PDM script??
    Please send me how to write a script and code of the script??
    Thanks In Advance
    Preethi

    hi,
    use BAPI_VENDOR_GETDETAIL
    A.

  • BAPI for customer details like in IDoc DEBMAS

    Hi,
    I'm stuck with a problem concerning the customer data. I need to write a function that returns all information about a customer (from tables kna1, knb1, .. wrf3). Basicly everything that can be found in the IDoc DEBMAS06. So far I couldn't find a BAPI/function that does that. There are only BAPIs like BAPI_CUSTOMER_GETDETAIL which return only a very limited amount of information about a customer.
    Does anyone know a function that does that or can help in any other way?
    Thx
    Stephan
    PS: I don't want to query the database tables myself as I don't know the relations between them and don't want to select wrong data.

    Sure, here you go ... 
    DATA: ls_i_main   TYPE cmds_ei_main,
            ls_e_main   TYPE cmds_ei_main,
            lt_custs    TYPE cmds_ei_extern_t,
            ls_cust     TYPE cmds_ei_extern,
            ls_head     TYPE cmds_ei_header,
            ls_instance TYPE cmds_ei_instance.
      CONSTANTS: lc_obj_task TYPE cmd_ei_object_task VALUE 'M'.
      ls_instance-kunnr = [customer xyz].
      ls_head-object_instance = ls_instance.
      ls_head-object_task = lc_obj_task.
      ls_cust-header = ls_head.
      APPEND ls_cust TO lt_custs.
      ls_e_main-customers = lt_custs.
      CALL METHOD cmd_ei_api_extract=>get_data
        EXPORTING
          is_master_data = ls_e_main
        IMPORTING
          es_master_data = ls_i_main
          es_error       = pe_error.
    Regards
    Stephan

  • Bapi for vendor payment with details of tunover and blocked payment

    Dear all
    I want to know whether any BAPI available for the details of vendor payment made and the open item with  blocked payment (with the reason for the blocked payment) and the turnover of the vendor for a particular fiscal year...................
    The client want to get the output as mentioned below.
    e.g...
    PO no : 45629810
    Inv.No : 73409 (Vendor's Invoice no.)
    Payment : Paid amt with date and details
    Payment : Outstanding (Due and Over Due with no.of days)
    Blocked Payment : Amt with the reason for blocking the payment.
    Turn Over : Total turn over for that fiscal year.
    This is an urgent req. from my client,i will be very grateful if any one can  help me over this issue ..............
    Appreciate for any relevant answers and suggestion ...........
    I am in ECC 6.0
    Regards
    Praveen

    Hello Raj,
    Unfortunately there is no BAPI for payment detals and other company code data. The only possibility is via direct input (external data transfer).
    Please have a look at the following Easy-Access-path:
    SAP Menu
    -> Accounting
      -> Bank Applications
       -> Loans Management
        -> Environment
         -> External Data Transfer
    Within this menu entry you find diverse functions. Please start the function KCLJ to transfer data. Before you can do this you need to
    prepare the transfer by creating your own transfer structure and so on. You can get further information on what to do here by navigating to
    "Help   > Application help" within transaction KCLJ. From here you get to the right area of SAP library.
    Thanks Amber

  • BAPI For listing alternative  routing with sequence details.

    Dear all,
    I want to use BAPI For listing alternative  routing with sequence details.
    Pl' tell BAPI function Module for routing .
    Thanks.

    I am not sure ,but check with     BAPI_ROUTING_CREATE

  • What's the bapi for getting document details ?

    hi,
    i'm trying to do F-22 things through BAPI, but there's one field in some screen that i can't find relative field in any structure of BAPI para., so i tried to get the details of the document created by F-22 to find where the field i'm looking for is stroed.
    so would you please tell me the bapi for getting document info.?
    thanks!

    Hi,
    Have you solved your problem?
    If not:
    Have you tried to debug your application and see what you have in your object just after doing GetByKey?
    The GetByKey method returns true if it founds the object, false if the key does not exist.
    In the DI Help File it is specified the key for a payment is the DocEntry...
    Regards
    Trinidad.

  • BAPIs for Equipment list, Equipment classification details

    Hi,
    Can somebody give me the details of BAPs for getting
    1.    Equipment list for a given function location.
    2.    Equipment classification details for the given equipment number.
    Thanks & Regards
    Lakshminarayanan J

    Hi,
    what do you mean with details? Do you need the fields? You can do a double click on the data type of the details filled for browsing deeper into the structure of the details. Or you can use TCODE SE11 and check the type in the data dictionary.
    Best Regards,
    Marcel

  • BAPI for getting contract details

    Hi,
    I need a BAPI for getting contract details. Please let me know if there is any such BAPI.
    Regards,

    hi,
    Check this FM FI_DOCUMENT_READ

  • BAPI For Sales order details

    Hi,
    I need BAPI for retrieving following fields Based on SAles order Number.
    Sales order number, Created date, Distribution channel, sales group, Sales organization and customer Number.
    Thanks,
    points will be rewarded.
    Edited by: Jasmine on Apr 8, 2008 6:09 AM

    Use this bapi
    Function Module
    BAPI_SALESORDER_GETLIST
    Description
    Functionality
    You can use this method to display the sales orders for a customer.
    Notes
    Mandatory entries: You must enter the relevant customer number in the SALESDOCUMENT parameter and the requested sales organization in the SALES_ORGANIZATION parameter. Optional entries: You can restrict the selection by entering certain criteria. For example you can display all the orders for a certain material or orders from a particular time period (MATERIAL or DOCUMENT_DATE and DOCUMENT_DATE TO paramters). You can also find a certain sales order using the customer's purchase order number (PURCHASE_ORDER parameter).
    check this link
    http://abap.wikiprog.com/wiki/BAPI_SALESORDER_GETLIST

  • BAPI for PURCHASE ORDER with OPEN QUANTITY field

    Hi All,
    I wanted to use the BAPI_PO_GETDETAIL to get the Purchase Order details upon triggering from Warehouse management system,
    But the details required contains a field called OPEN QUANTITY...which is not used in this BAPI.
    I request to let me know if any BAPI exits for PO details having the structure for this field:Open Quantity.
    Am using SAP version 4.0B.
    If not exists please advise how to customize the existing BAPI to meet the requirement.
    thanks
    mahi

    Hi,
    Open quantity is a calculated field. I guess the BAPI gives the details of the delivery, so take the ordered qty and substract the delivered qty from that.
    Delivery data is EKET table.
    Regards,
    Ravi

Maybe you are looking for