Please send me fm regarding to get purchase order and change purchase order

Hi,
Please send me fm regarding to get purchase order and change purchase order .
Regards,
Gurprit Bhatia

Hi,
Function module to get the purchase order details:
BAPI_PO_GETDETAIL.
data: po_items type table of bapiekpo with header line.
parameters: p_ebeln type ekko-ebeln.
call function 'BAPI_PO_GETDETAIL'
  exporting
    purchaseorder                    = p_ebeln
  ITEMS                            = 'X'
  ACCOUNT_ASSIGNMENT               = ' '
  SCHEDULES                        = ' '
  HISTORY                          = ' '
  ITEM_TEXTS                       = ' '
  HEADER_TEXTS                     = ' '
  SERVICES                         = ' '
  CONFIRMATIONS                    = ' '
  SERVICE_TEXTS                    = ' '
  EXTENSIONS                       = ' '
IMPORTING
  PO_HEADER                        =
  PO_ADDRESS                       =
tables
  PO_HEADER_TEXTS                  =
   po_items                         = po_items
  PO_ITEM_ACCOUNT_ASSIGNMENT       =
  PO_ITEM_SCHEDULES                =
  PO_ITEM_CONFIRMATIONS            =
  PO_ITEM_TEXTS                    =
  PO_ITEM_HISTORY                  =
  PO_ITEM_HISTORY_TOTALS           =
  PO_ITEM_LIMITS                   =
  PO_ITEM_CONTRACT_LIMITS          =
  PO_ITEM_SERVICES                 =
  PO_ITEM_SRV_ACCASS_VALUES        =
  RETURN                           =
  PO_SERVICES_TEXTS                =
  EXTENSIONOUT                     =
check sy-subrc  = 0.
loop at po_items.
  write:/ po_items.
endloop.
Check this program too:
RFFMFG_INV_CANC_ALL for BAPi_PO_GET_DETAIL.
Hope it helps you.
Regards,
Anjali

Similar Messages

  • HI please send faq's regarding to only BAPI & BADI?

    please send faq's regarding to only BAPI & BADI?
    if possible with answers  as soon as possible.

    hi,
    Check out following links
    [http://www.erpgenie.com/faq/abap.htm]
    [http://www.erpgenie.com/sap/abap/bapi/index.htm]
    [http://www.sapdomain.com]
    There are many more
    Reward if useful.
    Thanks
    Madhura

  • Badi for purchase requisition and stock transfer order

    Hi,
    Could anybody please tell the BADI to update the item details (dates etc) in the 'Purchase requisition' and stock transfer orders.
    I could find ME_PROCESS_REQ etc but could not locate the methods to modify the item level data.
    Thanks & regards,
    Ravish

    Hi,
    You can use the same badi which you found out.
    ME_PROCESS_REQ.
    In that there is a method process_item.
    There you can get the line items of the PR.
    Then in the POST method you can do the stock transfer .
    In the check method also you can check the entire process of PR.
    With Regards,
    Sumodh.P

  • Purchase orders and their open order quantity with their due dates.

    hi friends
    i need to build  a query  where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done  this.
    ME2M serves my requirement  upto little but i cannot see the delivery dates in that report.
    please help mein finding the steps involved in building the query.
    Thanks
    Alahari

    Use the table EKPO and EKKO
    adhoc querry is a tool in which we can create report
    to get report we have to use three t. codes
    1.sq03-->is for to create user group
    2.sq02--.is for infoset Querry
    3.Sq01-->for exact querry
    try with these codes or revert with ur response
    follow the link for query creation
    First check this link,
    SAP Query Creation
    SAP Query -A Reporting Tool for Functional Consultants(Part 2)
    SAP Query 1
    SAP Query -A Reporting Tool for Functional Consultants (Part 1)
    Always after going to SQ02 or SQ01 T Code ,first click on Environment in the menu ->Query Areas-->
    Standard Area Client specific and then start creating the Infoset or else the query.
    Still if you are not satisfied means,please revert back.

  • How to avoid purchase req and stock transport order to take part in MRP.

    Please suggest how to avoid purchase req and stock transport order to take part in MRP.

    hi,
    check the settings for the MRP type...there you need to show which doc will be taken into considerations...
    SPRO >> MM >> CBP...
    Under CBP check for the MRP settings where it is placed(check under master data settings)...and check for the indicator for PR's and STO's release orders under tab "Additional external req. in the reorder point planning"..
    Regards
    Priyanka.P

  • Purchase orders and their open order quantity with their due delivery date

    hi friends
    i need to build a query where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done this.
    ME2M serves my requirement upto little but i cannot see the delivery dates in that report.
    please help mein finding the steps involved in building the query.
    Thanks
    Alahari

    Deliver date is available in table EKET field EINDT.
    Use table : EKKO ,EKPO, EKET.

  • HOW WE FIND OUT OPEN PURCHASE ORDER AND CLOSED PURCHASE IN THE TABLE?

    HI,
    PLZZ HELP ME.
    what are fields names for open purchase order and closed purchase order
    thanks

    Hi param,
    Go to mseg table, pass the purchase order number and purchase order item. if the mseg-menge = ekpo-menge for the corresponding purchase order then consider the purchase order is close, else it is still open. even check if the entries are not there for corresponding purchase order in mseg table then also it is open.
    select mblnr zeile matnr menge from mseg into it_mseg where ebeln = it_ekko-ebeln
    and    ebelp = it_ekpo-ebeln.
    if sy-subrc <> 0.
    then consider the purchase order is open.
    This is the first case.
    even u can consider like this
    if sy-subrc = 0.
    if it_ekpo-menge > it_mseg-menge.
    then also the purchase order is open.
    Regards,
    Santosh Kumar M.
    Award points if it is useful.

  • SUS - Purchase Order and Change Order Response

    Hi,
       We have a requirement to display the Original PO and Changed PO in the list of PO's if the change PO is generated before the original PO has been confirmed. In other words, if there is a PO that was sent to Supplier and a change was made to the PO before the supplier responds to original PO, we need to have supplier respond to both original and changed purchase orders. Any idea on how this can be accomplished.
       Currently, in SUS, when a purchase order has changes, the latest Change appears in the PO with Historical versions showing older versions. Our requirement is to have all changes and original PO versions acknowledged.
    I appreciate your response on this question.
    Thanks,
    Surendra

    Hi,
    You can try to enable the "Process" button in the historical version of the SUS PO. As of now, the SUS PO historical version will only have "Print" and "Download" button. In this way, the vendor will be able to acknowledge both versions of the PO.
    Best regards,
    Krithika

  • Blanket Purchase Order and the Framework Order

    hi Gurus,
    I wanted to know the following.
    What is the difference between Blanket Purchase Order and the Framework Order.
    Thanks.

    Hi,
    Framework order is also known as Blanket PO.....which we use for the procurement of Low value Material with Long term planning....It is used as Mini Contract....
    Blanket Order:
    Used for long validity period and with the provided value limit. By its name u201Cblanketu201D which covers to required long time? We use doc type FO(for long period) and item cat. B(for value limit).Goods receipts or the entry and acceptance of services performed are not necessary in the case of a blanket PO and limit items. The invoices are posted directly with reference to the purchase order, provided that the specified value limit is not exceeded. But manual entry of invoiced amount and invoiced quantity is required during LIV process.
    Example: Procurement of stationary items.
    Frame work order:
    Framework order (FO) is a document type which is provided by the standerd SAP.
    It can be used for the consumable material ( Which is having low value & where making GR is not of worth like C category item.) & called as blanket PO. Here we need to mntion the validity period & target value or quantity as a restriction as well as need to mention item category as a "b".
    Also it can be used for the procurement of extarnal services (Item category "D" ). Here we need to do the entry of services which have been performed & need to accept the same whereas in blanket PO, GR is not required.
    At the end i would tel u that Framework order is the document type which can be used as blanket Po & procurement of services.
    Regards
    KK

  • I can't re-download Audiobooks I purchased. I have tried the purchased queue and re-purchasing but iTunes tells me I will be charged again, lastly it is not in my available downloads. How do I download my old audiobooks?

    I can't re-download Audiobooks I purchased. I have tried the purchased queue and re-purchasing but iTunes tells me I will be charged again, lastly it is not in my available downloads. How do I download my old audiobooks?

    "I can't re-download Audiobooks I purchased."
    That is true.
    " I have tried the purchased queue and re-purchasing but iTunes tells me I will be charged again, "
    True also.
    " lastly it is not in my available downloads." 
    True again.
    " How do I download my old audiobooks?"
    You don't.
    You get one download.  It is your responsibility to back up your contents.

  • I turn off my whats app lasseen time stamp more than 24 hours ago and now i can't turn it on it sees " could not connect to whats app services please try again latter"  i try deleting the app  and changing the calendar and still didnt worrk

    I turn off my whats app lasseen time stamp more than 24 hours ago and now i can't turn it on it sees " could not connect to whats app services please try again latter"  i try deleting the app  and changing the calendar and still didnt worrk

    Ok - an update ...
    Managed to get the phone to backup to iCloud, so decided to risk the "Factory" reset.
    Took the reset option including delete all data and crossed fingers.
    It took a while to resotre from iCloud, but everthing seems to be back and ...
    Bluetooth now working agaim.
    Backup to Computer working again.
    And somewhat to my surprise, GMail in the mail app is working again. (The surprise being that the implication of other posts was that this was a 6.1.3 fundamental bug)
    Still no idea why the iPhone was corrupted - but at least the "Factory" reset seems to have recovered the situation.

  • Production order and its Purchase order after MRP

    Dear Expert,
    I am wondering does SAP B1 2007 provides functionality about a production order and its purchase orders generated after a MRP will be marked so that I can check the corresponding purchase orders of a production order ?
    Thanks,
    Deckard

    Hi Suraj V ,
    Thanks for the reply, I have more questions about,
    (1) is it possible to trace those purchase orders from the production order?
    (2) is it possible to reserve those purchase orders of a production order because I found that the system allow another production orders to take the inventory by the receipt of the purchase orders marked by the other production orders?
    Thanks a lot
    Deckard

  • Hi, I changed my google id and ical crashes before i can get into preferences and change the account. I tried keychain deletions but not helping. any clues?

    Hi, I changed my google id and ical crashes before i can get into preferences and change the account. I tried keychain deletions but not helping. any clues?

    Hi, I changed my google id and ical crashes before i can get into preferences and change the account. I tried keychain deletions but not helping. any clues?

  • Could you please send me the links to get an idea on Custom table controls

    Hi Friends,
               I am working on custom table controls, Could you please send me any links on Custom table controls or documentation.
       Thanks and Regards,
       Sandeep Kumar Bonam

    Hello Sandeep,
    See here for the latest table features in 2004s.
    <a href="/people/bertram.ganz/blog/2006/07/03/web-dynpro-java-foundation--whats-new-in-sap-netweaver-2004s:///people/bertram.ganz/blog/2006/07/03/web-dynpro-java-foundation--whats-new-in-sap-netweaver-2004s
    This link also has a lot information on tables
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d43bb0e5-0601-0010-3a97-d9760726bf4c">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d43bb0e5-0601-0010-3a97-d9760726bf4c</a>
    Regards,
    Sudeep.

  • Hello i want to ask question about my emial and password of my game center forget them . I want to find them can you please ask me how can i get my emial and password of game center acount .

    Hello
    I want to get my email and password of my game center account because i forget both . Can you please help me with it to get  it because I have  games and files with this acount
    send me by this emailas soon as possible  please
    Thank you
    <Edited by Host>

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    Only you will know what your email address is, nobody else will. If you can't remember it then do you have any of the account's downloads in your computer's iTunes library : Recovering a forgotten iTunes Store account name ?
    If not then see if you can find it via http://appleid.apple.com : Apple ID: How to find your Apple ID.
    When you've remembered or found your email address then you can get its password reset via http://iforgot.apple.com

Maybe you are looking for

  • How do your create an xml glossary file?

    Everyone talks about importing the glossary from an xml file , even from one created from Excel. I have browsed until my fingers bleed and watched the tutorials and seached the Captivate files to try and find a glossary root file to work with. Please

  • PC Turns on, but screen black

    Please help I REALLY need.my PC For school Yesterday I turned my Laptop on and it was updating something, I don't know what itthe update is for but sometimes it says it is in the process of updating, I haven't had any problems before with it, but the

  • 'SXPG_COMMAND_EXECUTE' Program for Print

    Dear Experts, In my system it is created 'ZPRINT' external command in SM69, and below is the code. Customer ZPRINT Windows NT cmd /c CALL FUNCTION 'SXPG_COMMAND_EXECUTE'        EXPORTING          commandname                   = 'ZPRINT'          addi

  • Error in Browser 10g

    can any one help me to resolve this errror FRM-92101 when i run my form then a message of this error is displayed on click ok the form disappers thanks

  • Re-deploying replica aware EJBs

              How does one update an app server with a new EJB when the app server           is running in a cluster? Doing a re-deploy on the EJB in a single instance           can even be a problem. First, you can have beans that are cached and