Need Help with Function Module or BAPI for Stock Requirements & PIRs

Hello,
         I am working on making changes to a Report which should be displaying the PIR (Planned Independant Requirements) Quantities as well as Stock Requirements for SOs & STOs for below Type of Materials for the Given Date.
1. Planning Materials
2. Planned SKUs (that is Materials which do not have a Planning Material attached to them).
        In the Current Logic, we are using an FM REQUIREMENTS_ALLOCATION which fetches the Requirements only for the Planning Materials. It does not work for Planned SKUs.
So, is there any Function Module / BAPI which serves this Purpose for both types of Materisls?
   Also, I've managed to Find out two Function Modules which I thought might be useful but still need confirmation regarding the same.
MD_STOCK_REQUIREMENTS_LIST_API and
BAPI_MATERIAL_MRP_LIST
        Please suggest any other FM if available for this Requirement.
Thanks and Regards,
Venkat Phani Prasad Konduri

Basically, here is what my scenario is. I have two Types of Materials which have a Planning Material attached to it. and the Other Category is that it doesn't have a Planning Material attached to it. So, we call it a Planned SKU. That is a Material planned at the SKU level.
          Now, the Issue is , the Function Module REQUIREMENTS_ALLOCATION doesn't work for the Plannd SKUs but it only works for the Planning Material. Now, based on this Function Module, we are populating the Data for the Planning Materials of Material Type ZPLN. Similarly, is there any we can make this FM work for a Material which is planning at its own Level.
          Please help me in this Regard.
Thanks and Regards,
Venkat Phani Prasad Konduri

Similar Messages

  • I am trying to find a function module or BAPI for internal order change. I

    I am trying to find a function module or BAPI for internal order change. I did come across a function module ALE_INTERNALORDER_DB_CHANGE which directly updates the internal order using insert statements. Can i use this for internal order change or this is any other Function module for updating the internal order.
    I dont want to use BDC as a option. Please suggest.

    This is possible using the Rotator Component Widget from Infosemantics.com.au but it is only compatible with  SWF output, not HTML5.
    Go to this page and scroll down to the video tutorials about the Rotator Component widget:
    http://www.infosemantics.com.au/adobe-captivate/youtube-video-tutorials

  • Function modules or BAPI for posting plan costs for WBS Element

    Hi all,
    Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
    Greetings

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

  • Function modules or BAPI for deleting plan costs on a cost center

    Hi all,
    I search for a function module or bapi to delete plan costs / activity on a cost center.
    At the moment I update the planning with 0, but that cause a mass of needles entries on the cost centers.
    For check and posting I use the function group 6026 - BAPI_COSTACTPLN_* ,
    but there is no function for deleting.
    Has anyone an idea?
    Thx for help - points as reward !

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

  • Can any one suggest me a function module or BAPI for the below requirement.

    Hi all,
    I have a requirement in which i need to send an IDoc for each item of  the delivery document linked to the shipment document.
    previously i have called the function module in a BADI, but now the requirement has changed.No BADI or USEREXIT has to be used.Instead i need to create a custom program and call the function module in a form in the program.My doubt is how can i get the tables needed in the function module from the program? previously i got the tables as online parameters in the BADI.
    the function module will be trigerred at the time of saving of the document.
    I understand that i need to pass the tables in the program, but is there any way (function module or a BAPI) that can be used to directly get the data of the BADI?
    please help me as soon as possible.

    hi,
    my transaction is VL02N change outbound delivery.

  • Function modules and BAPIs for a transactio code

    Hi friends,
    How i can find  the List of function modules and BAPIs being used for a particular transaction code?
    for example: I would like to find List function modules and BAPIs being used for the Transaction code
    "FBRA"(Reset cleared items)?
    Any sort of help on this will be helpful.
    Thanks,
    Punjaala

    hi Anjaneyulu,
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    selct the tree structure----in the left side the includes screen and function module everthing will show..
    or
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    go to attributes and select the Package..
    next----
    go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
    Regards,
    Prabhudas

  • Function Module or BAPI for Change Customer Master in Background

    Hi,
    I would like to ask is there any Function Module or BAPI to change the Customer Master in the Background
    Thanks.

    Hi
    Please check the following link
    [FM|http://help.sap.com/saphelp_nw04/helpdata/EN/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm]
    [FM for BAPI|Is there a BAPI or Function module can create a Customer Master record?]
    Hope this link helps you
    Regards,
    Rajani

  • Function Module or BAPI for Deliveries

    I need to interface the Deliveries from a flat file into APO.  Can someone tell me the function module or BAPI that is used to create the Delivery (ATP Category BR) in APO DRP?
    Thanks.
    Sandy

    Hi Sandy - I think this is only availbale in 5.0 which I don't have. Try going to SE37, typing BAPI_APS and then F4. Look for DRP or SPP related descriptions for function groups. Also look in BOR in transaction SWO4 - there should be a DRP and/or SPP section under Advanced Planning and Optimization. Let me know if you find something. I don't think you would want to use something outside of DRP/SPP because that may cause transactional inconsistencies.
    Andy

  • Function module/BDC/BAPI for Component allocation operation wise

    Dear Experts,
    I need your help on Component allocation in Routing (CA02) per opertion wise.
    Currently we are assigning the Component individually per operation manually
    The problem is if a BOM is having 500 Components/Materials and there are 10 operations then we need to assign these 500 components to that particular operation manually which is tedious job & killing a lot of time.
    I need your help if any Function module or BAPI or BDC is there to allocate these components per operation wise.
    Or any other process which can done easily on this component allocation operation wise
    rgds
    gsc

    Hello GSC, (and of course anyone able to help me)
    taking account of the date of the message (2008) i think you have finally encountered a solution to your issue ?
    Well, now i have got the same problem than you before.
    My requirement is to modify the component allocation in a routing by using change document.
    I found the bapi /SAPMP/BAPI_ROUTING_PROCESS. I have spend few days to make it work without success.
    Iam still facing error message. Futhermore i have read trough a SAP note that this BAPI could not work properly in some case.
    Considering that Iam trying to study other solutions (BDC ?).
    Please, i would appreciate if you give me some advice on this problem.
    Thank you very much.
    Best regards,
    C.S

  • Function Modules or BAPI for CK91N transaction Please

    Hi,
    To upate CK91N transaction , Is there any function module or BAPI exist?
    Thanks,
    Krishna

    Hi
        go to se80 ->package->type CKMLMV as package name.
    This package has multiple programs and function modules which update the transaction. You can choose from them according to your requirement.
    Hope this helps!
    Viquar Iqbal

  • Required help on Function Modules and Bapis

    Web portal publishing of ERS invoice letters. This involves modification in the BAPI screens to show the invoice PDF instead of printing??
    can anyone help me in fixing this issue.

    hi Anjaneyulu,
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    selct the tree structure----in the left side the includes screen and function module everthing will show..
    or
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    go to attributes and select the Package..
    next----
    go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
    Regards,
    Prabhudas

  • Function module or BAPI for Project and Partner in PS

    Hi,
    Can anyone tell me is there any function module or BAPI that link with Project/WBS and Partner.
    Thanks in advance,
    Krishna

    Hi,
    Please check the following BAPI's
    BAPI_BUS2001_GETDATA
    BAPI_BUS2054_GETDATA
    Hope if you are using partner function in PS, you could get it from WBSE or PD.
    Tnx.
    Abdul

  • Function module or BAPI for getting all the Idoc numbers of a sales order

    Hi Folks,
    Is there any function module or BAPI exists for getting all the Idoc numbers which are generated for a Sales order.
    Thanks in advance.
    Regards,
    Sarath.....

    Hi Sarath,
    try this function module...
    BAPI_IDOCAPPL_DISPLAY
    Regards,
    Prabhudas

  • I need help with setting up time machine for backup

    I would like help with setting up time machine for backup.

    You will need an external hard drive (formatted for a Mac).
    Then you plug it in and go to system preferences>time machine and select the external HD and turn it on.
    The backups are automatic.
    Barry

  • Function modules or BAPIs for ESS MSS

    Hi Experts,
    I am new to HR (ESS/MSS & who's who). I am looking for standard BAPI's and Function Modules that would give me information about an employee's upper level's and lower levels (reporting).
    My requirement is to build an Webdynpro Application with taking employee id as user input and display his uplevel's and downlevel's. Also, hyperlink on employee should help me to further navigate to the corresponding employee's information.
    Note: I tried to search this forum, but unable to narrow down the required business functions that i require.
    Thanks,
    Gaurav.

    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879
    RH_GET_MANAGER_ASSIGNMENT

Maybe you are looking for

  • Error goods reciept based on purchase order

    while i using MIGO transaction ,select item level and i clicked check error is number range for trans/event type we in year 2011 does not exist. can anyone answer why error and how to clear this error.

  • How to create new TC which will call report group "MGRO"?

    Hi Abap-Experts,                                 I want to create new transaction code which should call report Group MGRO. After executing the new transaction, the first screen of the user should be the selection screen of report group "MGRO" to run

  • New bt infinity with HH5. How to use own router?

    Hi guys, I have just this morning had my infinity 2 installed. Went with BT as I had read it's very easy to use your own router. My engineer has just left. I was expecting an openreach modem, but didn't realise HH5 had the modem built in. No problem,

  • 802.1x on Cisco Catalyst 2960

    I am trying to enable 802.1x on one of the switchports of the Cisco Catalyst 2960: C2960#sh run | i radius aaa authentication login test group radius local aaa authentication dot1x default group radius radius-server host 10.250.97.26 auth-port 1812 a

  • Source route bridging

    I need to usnderstand what role does SRB and 5500 (with no RSM) when talking to a token ring AS/400. Does the ring number on the switch need to match the routers ring number when setting up the i.e source-bridge ring-group 100 Any helpfull hints or l