Function Module/BAPI to check if material is available in the warehouse

Hi all,
I have a requirement where i get the input as material number and i need to check if the material is available in stock and return the quantity of stock available. Do we have a Function Module/BAPI that takes the input as material number and tells if the material is available in stock or not.
The material can be a simple finished product, raw material or BOM. The function module should take the input as material number and should return if it is available in stock and the quantity that is available.
I donu2019t know if this is called ATP. Do we have a standard function module available for that?
Kindly help.
Regards,
Jessica Sam.

Thanks Venu for immediate reply,
I saw the BAPI and unable to figure out what paramters I should fill.
Plant, Material and Quantity I know. But rest of them like
Check Rule, STGE_LOC, batch, Doc_number, WBS_ELEM, STOCK_IND,
DEC_FOR_ROUNDING, DEC_FOR_ROUNDING_X, READ_ATP_LOCK, READ_ATP_LOC_X & MATERIAL_EVG.
In  the BAPI documentation I dint find how to fill these paramters. Can you help me with hat I need to fill in the input paramters.
Regards,
Jessica Sam

Similar Messages

  • Function module/BAPI to release a Business partner in GTS

    Dear experts,
    I have a requirement where in I need to release business partners programmatically. I request you to let me know if any function modules/BAPIs or any other method is available (except BDC).
    I know the manual process of releasing them, and we were restricted to use BDC.
    Thanks in advance.
    Best Regards,
    Vishal

    Hello Vishal,
    Currently the release logic is inside subroutine instead of FM or BAPI.
    You could refer to:
    Report : /SAPSLL/LCON_BLOCKED_BPF01
    Form   :  deblock_partner_masters
    Best regards,
    Vincent

  • Question with function module / Bapi

    I am trying to test function module/ Bapi:
    BAPI_BILLINGDOC_CREATEMULTIPLE in se37. I gave all the basic parameers required.
    BILLING_DATA_IN-SALESORG
       BILLING_DATA_IN-DISTR_CHAN
       BILLING_DATA_IN-DIVISION
       BILLING_DATA_IN-DOC_TYPE
       BILLING_DATA_IN-ORDBILLTYP
       BILLING_DATA_IN-SOLD_TO
       BILLING_DATA_IN-ITEM_CATEG
       BILLING_DATA_IN-REQ_QTY
      BILLING_DATA_IN-SALES_UNIT
      BILLING_DATA_IN-CURRENCY
    But when I execute, it says 'Company code not defined' in the error messages. I don't see any company code field in the above structure. What am I doing wrong?
    Please give your input.
    Thanks,
    Krishen

    Might be the company code is not defined for the sales organization..
    Thanks,
    Naren

  • Function module/BAPI for ATP Material

    Hi All,
    Is there any function module/BAPI for ATP(Available-to-Promise check) for Material.
    1) Production order from one plant
    2) Scheduling agreement from another plant.
    Regards,
    Srinivas.

    Hi,
    you can use either of one below for ATP.
    BAPI_MATERIAL_AVAILABILITY
    RV_AVAILABILITY_CHECK
    /SAPNEA/SMAPI_ATP_CHECK
    regards,
    ram

  • Function Module/BAPI For Material Document

    Dear All,
    I am looking for a function Module/BAPI to get details relevant for a Material Document.
    I can get those details using table MSEG & MKPF, but still looking for a Function Module.
    Kindly help.

    Hi
    Try with these BAPI's
    BAPI_GOODSMVT_GETITEMS
    BAPI_GOODSMVT_GETDETAIL
    Regards
    Brahmaji

  • Function Module / BAPI for Creating Material freight Group

    Hi All,
    Can anyone tell me the Function Module / Bapi for creating material freight group.
    Regards,
    Raj.

    Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
    So you can use BAPI for mm02 and mm01
    For Ex:
    BAPI_MATERIAL_SAVEDATA
    Hope this helps

  • How to create Billing Plan in sales order using Function module /BAPI

    hi,
    How to create Billing Plan in sales order using Function module /BAPI
    i hv check few FM such
    BILLING_SCHEDULE_READ
    BILLING_SCHEDULE_GET_NUMBER
    BILLING_SCHEDULE_SAVE
    But unable to create billing plan for a sales order.....any other method to create???

    Hi,
    Use this link.
    Create sales order with billing plan via LSMW and BAPI BUS2032
    BAPI or Function to update Billing Plan in Sales Order Items
    Hope this will help you.
    Regards,
    Vijay

  • Function module / BAPI for FBRA IN 3.1 VERSION?

    Hello all,
    Could you please suggest Function module / BAPI for FBRA (Reverse and cancel) transaction in 3.1 version.
    Thanks,
    Subba

    Please check this FM perhaps it may help.
    CALL_FB08
    REVERSE_CLEARING
    RESET_CLEARED_ITEMS_BDC_WRITE.
    Regards
    Kiran Sure

  • Function module for Budget check?

    Hi,
    I'm wondering if there is a BAPI/function module to check if budget is available on the WBS for a PO item whose price/quantity is changed through a custom transaction.
    I've tried BAPI_ACC_PURCHASE_ORDER_CHECK, but it doesnt seem to work.
    Thanks,
    Sudha

    Hi Aveek,
    Method check of BUS6008 is BAPI_ACC_PURCHASE_ORDER_CHECK, the one I mention above. It seems to check all components of the PO, except for the WBS.
    Thanks for your help.
    Sudha

  • Function module/BAPI or standerd program to define Transport route

    Hi All,
    I am configuring the TMS configuration through ABAP program .
    I am able to configure Domain controller, and able add system to it.
    Now I am not able to define Transport route, Can anybody tell me how can I achive this? 
    Is there any function module/BAPI or standerd program for it?
    Thanks,
    Swarup

    Hello
    To check the BAPIS to related module go to swo1 tcode.
    Thank u,
    santhosh

  • Standard Function Modules, BAPIs, BADIs and User Exits  in OM

    How do I check what are the Standard Function Modules / BAPIs in OM or any HR sub modules like PA, Comp, TEM etc..

    use Tcode <b>BAPI</b> and navigate to relevant module.
    for FM go to se37 and search with HR* or RH*

  • How to find Exits in Function Module & BAPI

    Hi,
      How to find exits in Function Module & BAPI.
    Thanks In advance

    Hi,
       i ve  a standard FM IDOC_INPUT_SALESORDER_CREATEFR which creates sales order using BAPI (inbound process).
      Now my requirement is to check for some custom segment field if its not initial i ve to change item category field in line item for sales order.
    could u pls help me in this.
    Thanks in advance.

  • Third party system call function module/BAPI through RFC to update Z table

    Dear Friends,
    We have a third party system which directly inserts a Z table in SAP through its programming, which is an auditing issue.
    We want the third party system should call function module/BAPI through RFC so that the Z table gets updated.
    waiting for inputs..
    Thanks,
    Kumar

    if third party system is capable of making Remote Function call, then writing a Function module & making it remote enable is not difficult task in ABAP.
    You may have to prepare specifications first to decide if third party system is going to Read, insert, update, delete records from Zee table.

  • Function Module/BAPI for Posting with Residual Clearing

    Hello All,
    I want to know whether any Function Module/BAPI avaialble for posting with residual clearing (FB05). Can we do residual clearing using the FM "Posting_Interface_Clearing"?
    Please let me know how this can be handled.
    Thanks in advance.
    With Regards,
    Senthil.

    Hi senthil ,
    Look at these threads
    POSTING_INTERFACE_CLEARING
    bapi for Transfer posting with clearing
    BAPI_ACC_GL_POSTING_POST for FB05
    Question about POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_START
    Regards,
    Gaurav

  • Function Module/BAPI for updating Document Status.

    Hi Experts,
    Is there any Function Module/BAPI available for updating the document status ?
    Thank You,
    Radhika.

    unresolved!

Maybe you are looking for

  • What is wrong with my battery?

    What is wrong with it? I have nothing open, other than this one app. It is only a month old, and Mountain Lion seems to have made it this way? http://i49.tinypic.com/28hkard.png Only 3:20 of battery life?

  • Exit/Badi in the transaction of production order create or change (CO02)

    hi all, I need an exit/Badi in the transaction of production order create or change (preferably during SAVE). I want to change structure AFVGD-usr02,AFVGD-usr03 . <b>PPCO0007 Exit when saving production order</b> the exit is not applicable EXIT_SAPLC

  • From: Adobe Acrobat Pro 6.0 to Adobe Reader 10:  Uninstall First?

    Hello: I have Adobe Acrobat Professional 6.0 installed on my PC now. I use it only to read PDF files and occasionally sign one. It does not upgrade to later versions from within the program. I'd rather use the Adobe Reader to view PDF files. I see Ad

  • WebLogic 9.2 MP1 - NoClassDefFoundError: weblogic/xml/domimpl/Saver

    Hello, I'm currently experiencing the following error in our production WebLogic environment. Curiously, the same WAR file deploys and works fine on our QA and STAGE servers. I must admit that my debugging knowledge of WebLogic is limited, but I have

  • EBS F5 263 - The difference is too large for clearing

    Hi, When I am trying to upload the bank file from FF_5, i am getting the error as "(F5 263) The difference is too large for clearing". I have already gone through with posts related with the same error but didn't get the solution. I have checked OBA0