Purchase order data for ATP category BH and BI not retrieved

Hi Experts,
I have a requirement where I need to extract purchase orders data from the bapi BAPI_POSRVAPS_GETLIST3. I am passing the locations, products and ATP categories AG,EF,BF,BI and BH. However, my bapi works correctly for AG,EF and BF, but it does not retrieve the data for BI and BH categories.
I have debugged the bapi and found that it is unable to retrieve data from the live cache.
Can anybody please help me out and let me know the exact reason for this issue? I have checked the return table of the bapi and it does not give any error message as well.
Looking forward to your reply.
Thanks in advance.
--Warm Regards,
Prajakta K.

Hi,
BI (stock transport order) and BH (PreqRel) are demand elements for which there exist corresponding receipt element as BF (Purchase order) and AG (Preq) respectively. BAPI will give data for these categories.Thus you can get data for BI and BH from corresponding BF and AG.
Similarly EF (Dep:Preq) is receipt element and you will not get data for corresponding demand element which is available in the system as EG (Dep:ConRel).
I think BAPI is working fine.
Regards,
~Vaibhav

Similar Messages

  • MRP - firming Purchase Order dates for MRP run

    We are using demand management and MRP to create purchase requisitions for external procurement. It works fine and creates purchase requisitions based on the monthly demand entered in MD61. However, if I have a purchase order with a delivery date of a few months in the future, MRP always asks me to reschedule the order to meet current demand. i.e. it reduces the quantity on a requisition because it expects the rescheduled PO to meet the demand. In addition, it creates a requisition for the full demand a few months out, even though I have a PO delivery on that date (as it expects me to move the PO to the current date) See example below
    Does anyone how to get MRP to treat a PO delivery date as fixed or firmed and create requisitions based on this?
    We are using MRP type PD,  a planning strategy that looks only at LSF in demand management and KSL in SD requirements.
    Thanks
    Donal
    Scenario:
    Current Stock:               500 KG
    Safety Stock Level:        1000 KG
    Demand:
    Aug: 1500
    Sep: 2000
    Oct: 3000
    PO del date 01.10.08 : 750 KG
    When I run MRP it proposes the following
    01.08.08 Requisition: 1250 KG. Aug demand (1500) + deficit below safety stock (500) = 2000 less PO that it is saying I should move to July (750). (I want this qty to be 2000)
    01.09.08 Requisition: 2000 KG. Sep demand (2000) - OK
    01.10.08 Requisition: 3000 KG. Oct demand (3000). Doesnu2019t look at PO dated 01.10 at all. (I want this qty to be 2,250)

    OMDW
    rescheduling horizon days fixes this.

  • A rlist of purchase orders with Account assign.category  "A" and .....

    Hi All,
    Could anyone show me a transaction code which shows
    the list of purchase orders
    - without good receipt and
    - with Account assignment category  "A".
    Tnaks
    A lot
    G.ROssi

    hi,
    Go to ME2N >> use selection parameter field >> here assign the value ie. NO gr done >> come out...
    then maintain the dynamic selection and in the PO item details maintain the acc. assgn catagory and then execute..
    System will show all PO's for which no GR is done...
    Regards
    Priyanka.P

  • Purchase Order Date for Price Determination

    Hi Experts,
    I need to update the Price Determination Date every time the PO Statistical Date changes, so that it is equal to the PO Statistical Date. Which BADI or User Exit should I be looking at?
    ME_Process_PO_Cust, ME_PO_Pricing_Cust, ME_Check_All_Items are what I'm looking at now. Table EKET and EKPO hold the two fields SLFDT and PRDAT.
    Does anybody have an idea which BADI I should use?
    Points will be awarded to the helpful answers.
    Thanks,
    K

    Solved the problem using BADI Process_PO_Cust in method Process_Item

  • Purchase order date posting problems

    Hi all,
    I have done an interface to post purchase/ sales order into sap. ive populated fields correctly into the segments and executed the fm. its posting all the data except the purchase order date in the header. i dont know why its doing dat. the field is populated into the segments and i can see it. but its not getting reflected in the order created .. can somebody help me with this. ive used date segment e1edk03 qualifier 22 field is iddat.
    thanks,
    kishore.

    Hi,
    Im using orders 05.. FM idoc_input_orders
    Create Document header date segment - E1EDK03
    *. I.e. set header level required delivery date
      e1edk03-iddat = c_edi_iddat_002.
      e1edk03-datum = date_required.  "Set the date required
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Header Level Customer purchase order date
      e1edk03-iddat = c_edi_iddat_022.  " default value 22.
      e1edk03-datum = cust_po_date.
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Header Level Pricing Date
      e1edk03-iddat = c_edi_iddat_023.
      e1edk03-datum = pricing_date.
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Wat i could observe from fm idoc_input_orders fm , fm is not posting in the purchase order date for identifier 22.. u can have a look at it if u want.. include LVEDAF5W
    is there any way to post this date plz
    thanks

  • Purchase order data base

    I need help.
    I have a database that contains all purchase orders
    I'd like to be able to create a report that shows only the most recent order for each supplier
    ordered by date.  Sounds simple but I have been struggling with this for awhile.
    Thanks

    Create a group on the supplier name
    create a group on the purchase order date - ascending order
    place the output fields you want to see on the report in the footer section of the purchase order date.
    Suppress the purchase order date header, the detail section and the supplier name footer.
    You may need to do a 'top N' group sort to get it to sort by date, as the instructions I'm giving would put it in Supplier order.
    Only the last purchase order data will display on the report.  If you want to include Supplier specific information, such as address, phone or customer number you can place those fields in the Supplier group header.
    This report will pull in all the data but only display the last record for each supplier's last purchase order (assuming they only have one purchase order in a day...if you have more than one in a day you may want to include a purchase order number group and move all the data into that footer).
    If you're going to summarize, say, try to get 'total dollars for month', you'll need to use a 'running total' and specify the dates to be used in the Evaluate section formula.

  • Regardig purchase order data

    Hi all,
                  I have a requirement to modify the purchase order data in the ekko table and other underlying tables. I want to modify the field Invoicing Party(LIFRE in EKKO).
                is there any BAPI or standard function module to do this.
    Regards,
    Ravi G

    in BAPI: BAPI_PO_CHANGE
    BAPIMEPOHEADER-PO_NUMBER = <PO Number>
    BAPIMEPOHEADER-DIFF_INV = <data>
    BAPIMEPOHEADERX-PO_NUMBER = <PO Number>
    BAPIMEPOHEADERX-DIFF_INV = 'X'.
    Finally DB Commit by BAPI: BAPI_TRANSACTION_COMMIT.
    Message was edited by:
            Murugesh Arcot

  • Tables for sales & purchase order data relating to delivery

    hi all,
    i am writing a report to download all the delivery data after the delivery is created.i have to download the sales order data & purchase order data relating to this delivery also.
    i am using likp & lips table for delivery.which tables i
    should use to get the sales order data & PO data for the same delivery (likp-vbeln). i.e i need the sales & purchase order related tables which has link with delivery tables like likp & lips etc.
    plz advice me. it is very urgent.
    any idea is highly appreaciated.
    Regards
    pabitra

    in Addition to NM ,
    in case of STO there is no Sales Order , Process will be like this
    PO-->Delivery->PGI--->Billing  then u have to
    link
    *getting the History data of the PO
            select ebeln
                   ebelp
                   belnr
                   menge
                   from ekbe
                   into corresponding fields of table  w_ekbe
                   where ebeln eq w_lips-vgbel
                     and ebelp eq w_lips-vgpos
                     and bewtp eq 'L'.
    Regards
    Prabhu

  • Plant transfers and purchasing orders tracing for movement type 301-310

    Hi ,
    When we do material transfer from plant to plant( MVT 301-310) it creates the material documents in MSEG. What's the table or the best way to find the purchase order details for the material documents created in MSEG or the materials  used during transfers?
    I appreciate your response
    Thanks
    Reddy

    Hi ,
    Go to table EKKO , put purchase Doc category ( must be different for Plant Transfers ) and also try out Supplying Vendor and Customer Fields..
    VAT Registration no can also be part of your selection..
    Please have a look at EKKO fields available and make your appropriate selections..
    Regards
    Sarada

  • HOW to retrieve PURCHASE ORDER DATA from archieve file and print a report

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

  • Sales Order VA01 - "No control data for checking group 04 and checking rule

    Dear Gurus,
    When saving a sales order in VA01, I get the following message: "No control data for checking group 04 and checking rule A"
    Can anyone explain to me what that means?
    How can I correct this error?
    Regards
    Chris

    Check this thread
    [Re: Process Order Material availability check error|Re: Process Order Material availability check error;
    thanks
    G. Lakshmipathi

  • Manage Ship-to party Purchase order date at item level

    Hello Experts:
    I have a requirement in which the business wants to maintain "Purchase order date" field for "Ship-to party"
    in "Order Data" tab at the Item level. So different items in the same order can have a different
    date for that field.
    I have check marked the "Business Item" option in Item Category maintenance that
    allows to manipuate the data at the item level.
    I still see the field is greyed out. The field in questions is BSTDK_E.
    Pls. help
    Thanks,
    RR

    Hi
    Please check two things here.
    Business Item field is checked for this item category in VOV7.
    In VOV8 for this order type check in field Variant whether they have assigned some variant or not?
    Check this and update.
    Thank$

  • Change in purchase order date

    Dear all
    how can i change purchase order date if i enetred wrong in me21n.i checked in me22n for change but it is in grey mode & system not allowed.
    regards
    ajit

    Hi 634395 FAQ: Purchase orders in the service
    15.        Question:
    Why is it not possible to subsequently change some fields in the
    purchase order for external service and blanket purchase orders?
    Answer:
    The following fields cannot be changed subsequently due to technical
    reasons:
        o  Document type (BSART)
        o  Vendor (LIFNR or SUPERFIELD)
        o  Document date (BEDAT)
        o  Purchasing organization (EKORG)
        o  Company code (BUKRS)
        o  Language (SPRAS)
        o  Item category (EPSTP or PSTYP)
        o  Plant (WERKS)
    As you can see it is standard that BEDAT can not be changed.

  • Doubt in uploading purchase order data using BDC

    Hi friends,
    how to upload purchase order data.
    1) In both BDC and BAPI which one is preferable?
    2) for suppose if it is through BDC,  how to use? what are the transactions that we can use(SHDB, ME21N,ME21)?
    3) To execute the job in background, is it possible for both call transaction and session method.
    Thanks in advance
    Sreenivas k

    It really depends on the number of records you have. Still for a set of 5,000 records my answer to your questions will be:
    1) In both BDC and BAPI which one is preferable?  - <b>Go with BDC</b>
    2) for suppose if it is through BDC, how to use? what are the transactions that we can use(SHDB, ME21N,ME21)? - <b>Yes, its SHDB for recording, SE38 for abap program and ME21 for PO. Avoid SAP Enjoy transactions for recording as you may end up having problems wiht it.</b>
    3) To execute the job in background, is it possible for both call transaction and session method. - <b>If you use call transaction method then you have to schedule the job to run in background or simply run it through F9 instead of F8. In case of session method you can chose to process the session in background. However  I would suggest you go with BDC Session method for this.</b>
    - Guru
    Reward points for helpful answers

  • G/L Account default in purchase order with account assignment category K

    Hello gurus,
    when creating a new position in a purchase order with account assignment category K "Cost Center", the G/L Account No. is always filled with a default account.
    Where and how can I define, what account is used as default GL Account?
    The version is sap ecc 6.0.
    I will reward points all answer!!
    Thank you!

    Hi
    check the valaution class assigned to the material or the material group (if no material is being used)
    Now goto OBYC, Click on the transaction key GBB, for the account modifier VBR, & for the valuation clqass combination - check the G/L account.
    Based on this combination the G/L is determined auitomatically in the PO. if you chnage it here ... it will reflect in PO at the time of creation.
    Thanks & Regards
    Kishore

Maybe you are looking for

  • My ipod somehow converted my video files to music files...

    Ok, I know it sounds strange, but it happened. I buy weekly episodes of South Park and The Office from iTunes so I have a video to watch while on break at work. The other day I went to watch Season 3 of The Office and the episodes have all vanished!

  • Linux nxclient doesn't display any icons or fonts

    Has anyone ever seen this problem? Whenever my nxclient for linux connects to Win 2000 server RDP session, it shows no fonts or icons. However, if the same linux nxclient connects to an X or VNC session it displays properly. If I am on my Win XP lapt

  • XP Driver for Deskjet 1120c?

    Got a great old printer, just having alot of trouble finding the driver. I'm a novice, so if you can help, please be specific. Thanks

  • LOGIC 8 install dvd lost

    hello! i'm french and truly hope that someone will understand my english and will be able to help me I just can't find my install dvd(for logic 8) and it's becoming really depressing... Please me what can i do....

  • IPhone Case/Pouch

    I currently have my iPhone in an Incase Cover/Skin as shown here: http://www.goincase.com/products/detail/protective-cover-cl59038/2 I want a carry case/belt clip pouch like this: http://www.goincase.com/products/detail/leather-folio-es89018/2 that w