Reg: Purchase order no from accounting document no

hi,
I have to generate a report of vendor billing details,where i have to get the corresponding purchase order no for accounting document no.From bseg i am getting the ebeln field but i have fetched based on posting key bschl ='86' or '81'.for the corresponding document no.Without this can i get the ebeln from another table.
'Docu.Dt',    'Posting Dt',      'Bline Dt',     'Docu.No',     ' Purchase Or.No'
from,
Dinamol

Hi Sasi,
Using accounting document number you can fetch the PO details from MSEG table.
<b>Reward for helpful answers</b>
Satish

Similar Messages

  • T. Code to view Purchase Order and posted Accounting Document

    Hi,
    Is there any single SAP standard T.Code from which I can get  Accounting Document(posted) and its Purchase Order No.
    Dont sent any Table name plz.
    Regards,
    Vivek Kumar

    Run Standard Reports with Scope of List : ALLES
    ME2M  Material Wise report
    ME2N  PO Number wise Report
    ME2L  Vendor Wise report
    You can also Check MB51 / MR51 Reports.
    Regards,
    Ashok

  • Purchase order type in sales documents

    Hi All,
    I have come across with a peculiar requirement . Basically we want to have a source from where we have got the order as the order may be from different environments.  Example: EDI Order, Web order, Manual Order.
    So I have decided to use the field 'Purchase Order type' at the sales document header - Purchase order data.
               We can define new purchase order types at (path) SPRO-SD-Sales-Sales document header-Define purchase order type
    My question is how we can do this as automatic for each sales order. Is there any provision to assign the purchase order type to sales document type?
    How can we address this issue?

    Hi,
    try user exit USEREXIT_MOVE_FIELD_TO_VBAK in  MV45AFZZ. Pl take the help of your Abapers for this.
    But then we have this kind requirement where we use the same document type, but goto > header data > purchase order data and select the way in which the orders are coming.
    Hope it helps. Pl reward if useful.
    Thanks & Regards
    Sadhu Kishore

  • Different interfaces for purchase order output from MM system

    Dear Guru's,
    We are configuring the business scenarios of service procurement classic and Plan driven procurement with supplier enablement in the MM-SUS environment for our SRM7.01/ECC6 ehp 5 combination.
    These two scenarios are using different interfaces for purchase order output.
    The service procurement classic is using the proxy interface PurchaseOrderERPRequest_
    Out_V1 for purchase order output from ERP.
    However, the plan driven procurement uses the interface ORDERS.ORDERS02 for idoc message for purchase order output from ERP.
    Why are there two different interfaces for the same document output in two different business scenario? How the system will determine which interface needs to be used in the runtime for the purchase order output?
    Any thoughts will be highly appreciated.
    Thanks and regards,
    Ranjan

    Hi Ranjan,
    Please add the value 'CL' in the table SWF_CATIDS
    Then it will work.
    With Regards,
    Malay

  • Mm2 remove purchase order text from central data M_MATE_MAN

    Hi,
    we restricted the material master data in mm01/mm02 with the authorisation object M_MATE_MAN to activity 03. This setting meets our requirements to 99%!
    We saw in sap note 545380 that the purchase order text is a central text.
    Surprisingly the sales text is created with reference to the sales organization. Is there a similar purchase order text which can be created on the level of the purchase organization and language?
    Or can we use an user exit or something else to allow maintenance and exclude the purchase order text from the M_MATE_MAN authorisation check?
    Thank you in advance for your help!
    Best regards,
    Frank

    Hi,
    have you tried to invalidate item instead of account assignment? You can get a reference to item with method GET_ITEM. I can see only one class which implements interface IF_PURCHASE_ORDER_ACCOUNT_MM. It is CL_PO_ACCOUNTING_HANDLE_MM and this class has no code for this method.
    Cheers

  • Inputs requried to create purchase order report from flat file

    inputs requried to create purchase order report from flat file

    At a guess, I'd say purchase order data.
    If you don't give us a clue what you are actually trying to do we can't really help you too much.
    Do you want to call a BAPI?  Do a BDC?  Use an IDOC?  Or just generally muck up the system by doing inserts into the purchasing tables?
    No doubt if you tell us, you'll get lots and lots of suggestions.
    Gareth.

  • Purchase Order Creation from ME5A Report

    Hi experts,
    My client wants Purchase Order Creation from ME5A Report.
    He wants show Open Purchase Requisition through ME5A report then he will select Purchase Requisition Number or line item for po creation from there only.
    Please advice how I can map this process in sap.
    Thanks in advance,
    Chandhu

    Why don't you use ME57 to display open PRs and then assign sources and convert them to PO?
    Or use ME57 to assign sources and ME59 to automatically convert them to PO.
    You can create your very own format for report display using  custom "Scope Of List" for ME57.
    Look in SPRO under Purchasing>Reporting>Maintain Purchase requisition lists.

  • 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

  • Excise Invoice Number through Purchase Order no. or Material Document no.

    Hi,
    Is there any report through which I can find Excise Invoice Number (J1IEX) with the help of either Purchase Order no. or Material Document no.?
    Can anyone provide some idea in this regard?
    Thanks in advance

    Using transaction code J1I7,You canfind excise invoice no in report,with purchase order no. or Material document no. as inputs.

  • Service purchase order with network account assignment

    purchase requsition  made with N acct *** and D item category, value 1000 $ but quantity in PR given 1 now purchase order made from this requisition of value 700$ and quantity 1, migo miro also done......System is not allowing to use remaining 300 $ in PO saying quantity fully used. how to use this remaining 300 $ . in services tab service no given which is made in project system..pls help.. also purchase req value cant be changed to 700$

    Hi,
    Have you done service entry sheet in ML81N?
    For service procurement, the process is :
    1. Create PR with item catg. D ME51N
    2. Create PO from PR (ME21N) - Enter the services to be performed with the quantity in the services tab for the PO item.
    3. Make service entry sheet (ML81N) for the PO item. Here you confirm the quantity & amount of service performed.
    If only partial portion of the service is to be peformed, enter only partial qty & amount here.
    4. Vendor invoice (MIRO) - here you book the vendor invoice amount for the quantity of service performed.
    Please follow the above procedure and you should be able to handle this scenario.
    Regards
    Prabhu S

  • Vendor name from accounting document no

    hi,
    how to get vendor name from accounting document no.
    plz help.

    Hi,
    Use
    Read BSEG table using BELNR and fetch the LIFNR ( Account Number of Vendor or Creditor ) field value and
    Based upon LIFNR read vendor name table LFA1 table using LIFNR field.
    Hope it will helps

  • Create list of materials with its purchase order texts from material master

    Dear all
    Simple question I do wanna ask.
    Just need to get out a list with my materials with its purchase order texts from the material master.
    As I do know that PO text is not stored on a table, it might be difficult to get it out from the system.
    Does anyone of you know how to retrieve it simply?
    Regards
    François

    Check this link Material Master Purchase Order Text.

  • How to send a Mail purchase order automaticaly from ME22N

    How to send a Mail purchase order automaticaly from ME22N

    Hi,
    First create an entry via NACE with medium =   5 ( External send ) with all other details same as normal print option. Now ensure that vendor master of the po has got the external e-mail id of the vendor. Now go to ME22n in mesages create a message with medium = 5 ( External Send ). Go to communication method, key in Communication strategy.Go to Further date & against Despatch time pick up option 4 viz. Send immeidately while saving an application. Now once you press the save button it will be sent to the address maintained in the vendor master of the vendor of the PO. Please note you require some basic settings from BASIS side as well.
    I hope this helps,
    You may also refer to the SAP note 191470.
    Regards
    Raju Chitale

  • Purchase Order Creation without account assignment

    Hi All,
    Is it possible to create a purchase order without assigning account assignment category?
    If yes kindly provide the configuration steps?
    Regards
    Krishna

    Hi ,
    Purchase orders can be created without account assignments . For stock material which are comes under valuation are purchased without reference to account assignment , automatic account determination is requied here . For each material type and plant combination you have to make quantity and value update .
    Regards
    Raga

  • How to capture Purchase order text from MM02

    Hi Friends ,
    i have a requirement like i have  to capture the purchase order text from MM02
    from one program.
    Pls give helpful code .
    Thanks & Regards
    Jagadeeshwar.Bachu

    hi
    check this code
    Hi,
    declare the paramters like:
    To fetch Long Text lines for READ_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
    INCLUDE STRUCTURE tline. " Long Text
    DATA:END OF dt_lines.
    Variable declarations for Read_TEXT function module
    DATA : dl_name TYPE thead-tdname, " Object Name
    dl_lan TYPE thead-tdspras. " Language
    Constants
    CONSTANTS:
    Object ID for Long Text of Sales Item Text
    c_best TYPE thead-tdid value 'Z026', ID
    c_object TYPE thead-tdobject . " Object
    Object will be VBBK, and the Object name will be the concatenation of Sales order and Item No(for Item texts) and only Sales order for Header texts.
    Language will be default sy-Langu.
    In the loop of Sales orders call this fun module and use by passing all the above 4 paramters ID,OBJECT,NAME and LANG.
    You double click on that text
    GOTO -> header you will know the all above paramters.
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    regards
    siva

Maybe you are looking for

  • How to Get MAC

    Dear ALL I wonder how to get the MAC Address of a certain Machine PS: I read through of the Forums but did not find the answer to my question Hope you could Help

  • Version 12, hängt sich beim Import auf, m2ts-Video-Dateien

    Hallo, Beim importieren meiner Bilder von der Festplatte hat sich der Organizer von Photoshop Elements 12 mehrmals aufgehangen. Zu meinem System: Win 7 Professional SP1 64-bit, 2x3GHz CPU, 4GB RAM, Elements 12 auf Systempartition "C" installiert. Nac

  • SAP Course Reccomendation

    Hi I'm looking to send our inhouse SAP Support Co-ordinator on a SAP course and would like to know if anyone could reccomend the most suitable course. Ultimately we do not have enough knowledge on Materials Management and MRP. We have HR, Warehousing

  • Using the histogram and RGB values in camera raw

    This question was posted in response to the following article: http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f5548d97812e28a69a90- 7ff4.html

  • Bug report regarding SSL library used by Sharepoint web server

    I have attempted to report this by email to the [email protected] address, but they tell me this is not the correct address to use and have refused to give me a better one or forward my bug report on to the correct people. I'm hoping that by posting