Order number in bseg table

Where this field  (BSEG-AUFNR) gets populated from ?
Some threads says it is an internal order. What does it mean ?
Thanks
Rita

Hi,
This filed is used for order. It is a field for FI for recording data in col order. Eg if you are going for customer down payment orer field will be there if you want to record it in internal order in co. like you will find this field in fi entries based on your field status setting for the respective accounts.
Regards

Similar Messages

  • Want to fetch data from AFVU table with input of order number from AUFK table

    Hi,
    I have a requrement in report where in the user wil enter  the order number from AUFK table and it should display detais like job code condition code (from AFVU table) along with other fields. There is no relation ship between AFVU and AUFK. Can anybody help me in getting the replation ship between 2 tables. What is the table that iam missing and where can i find that relationship and fetch records for that order number?

    Check if this helps..
    AUFK -> AFKO -> AFVU
    AUFK-AUFNR = AFKO-AUFNR
    AFKO-AUFPL = AFVU-AUFPL
    Hope this helps.

  • To save the sales order number in custom table while creation of the order.

    Hi Experts,
    Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
    Regards,
    Sunitha

    Hi Sunita,
    You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
    You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
    Regards,
    Ravi Kiran

  • Transfer Order number in MSEG table

    Hi,
    I am a Technical team member and while preparing Technical Specification for a Report I came accross a problem that when we do a PGI the Transfer Order field in the table MSEG does not get updated.
    My requirement is to get the Transfer Order number from the Material document, and I don't understand why this field isn't getting updated in MSEG table with reference Transfer order when one does a PGI.
    Please let me know if there is any configuration I need to check with so that I can go with this info to my Functional team.
    Appreciate your help in this regard.
    Thanks and Regards,
    Saleem.

    Hi Saleem
    In MSEG you can find TR number (MSEG-TBNUM). Take MBLNR from MSEG and pass into LTAK table. There you can find TO Number (LTAK-TANUM)
    Hope it helps
    regards
    Srinivas
    reward if it is useful

  • No Order number in QMEL table for Q3 notification type

    Hi All,
    I am new to QM part, and trying to understand concepts here.
    a notifcation got created for a internal problem encountered in Production process. Notifcation type Q3, Order number, Operation Number and othere required data was maintained.
    But when I look into QMEL table AUFNR field is blank. Is this a standard behaviour ?
    Actually this information is required in Custom report-->The link between Notifcation number and Order number. Is there a different way of fetcheing this information.
    **please note that no inspection lot is created here.
    Regards,
    Avinash

    Hello Avinash,
    In QMEL; AUFNR is Maintenance Order number, Usually used in PM notifications.
    You can use QMEL- FERTAUFNR : Prod. Order field to get link between Notification and Order.
    (CO_AUFNR = QM Order.)
    Amol.

  • Fetch Sales Order number VBELN from Purchase requisition number BANFN

    Hi,
    I'm not able to find a suitable method to fetch the sales order number(VBELN) from the purchase requisition number(BANFN).
    I tried using VBEP table to fetch the data, but it is giving serious performance issues, as in for fetching one record it is taking approx 20 seconds!!!
    Kindly suggest a suitable method for this.
    I've used the query as folllows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    Scenario in brief described below:
    Whenever a direct delivery sales order is created on a supply chain plant, a dummy purchase requisition without source of supply is created automatically at preferred supplying plant for the customer in the sales order. Direct Delivery Sales Orders which are still in Open status and for the associated dummy purchase requisitions with these sales order, the deletion flag set has to be unchecked.
    in this case, only one sales order is created corresponding to a preq..
    BAPI: BAPI_PR_GETDETAIL is not giving entries for the table as this is a special case of direct delivery from the production plant directly to the customer, bypassing the warehouse / distribution center...
    selection screen has input fields preq, matnr(product) and plant. we fetch entries depending on the data filled in selection screen and also they should be of document type(BSART in EBAN table) ZDD1 and deletion indicator is set(LOEKZ in EBAN).
    then we check if the sales order corresponding to the preq is in open status...
    for this i need to programmatically fetch the sales order number corresponding to the preq...
    this is causing a performance issue as i could find only one way -- fetching sales order number from VBEP table corresponding to BANFN... indexing for easier also didnt work...
    no other way i could find to fetch sales order number corresponding to the preq number....
    there is a bapi: BAPI_PR_GETDETAIL, but this is not fetching entries to the changing tables related to sales order...
    also EBKN table doesnt have any entries as this is a special case of direct delivery preq..
    Guess i couldnt find anyother way...
    Thanks.

    I'm not sure as to why the select query was still throwing performance issues. I could see that the index had been created on only BANFN in the DB. Prior to creating the index, it was taking approx 20 seconds per entry, but after creating the index, it took 13seconds approx.
    I used the select query as follows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    I tried a few other combinations also, but  those also didnt work effectively:
    select vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    without using SINGLE in the select query as the select query would implicitly pickup only a single record,
    select vbeln banfn
    from vbep
    into wa_vbep
    where banfn eq wa_eban_zdd1_x-banfn.
    and another query where the INTO statement was directed directly to a workarea.
    But unfortunately, nothing seemed to be working.
    The index i had created was on BANFN alone in the VBEP table.

  • Internal order number on PR and PO printout

    Dear SAP Guru's,
    My client want to print the P.R and PO document and they want the internal order number to be printed with it. So can some one please help to how is PR #  is linked to the Internal order number, How is PO # linked to the internal order number. Which table i should access to find the details.
    Thanks for your help
    Regards
    Naveen

    Internal Order is an Account assignment object in PR / PO.
    You can find Account assignment details in table EKKN for PO and EBKN for PR

  • Stock Transport Order Number

    Stock Transport Order Number in which table this is being used.
    want to know the table name.

    Hi,
    All types of PO's have their entry in the EKKO for header details and EKPO for line item details.
    Thanks,
    Sandeep.

  • Is there any bapi for giving item details if we pass delivery order number

    hi experts,
    please provide me with any bapi  or funcitonmodule which gives item details by passing it delivery order number.
    raju.s

    You can pass the Delivery Order Number to the table LIPS (SD document: Delivery: Item data) in SE11 or SE16. This will give the Delivery Item Details.
    Regards
    Gopi

  • Capture Production order number during 541 in MB1B

    Dear All,
    I want to capture production order number field during 541 (reference to purchase order) in mb1b, so i could get production order number in MSEG table.
    Process flow.
    1. External processing with PP02 control key
    2. SubCon Purchase order with Automatic Account assignment of Production order
    3. MB1B with 541 Movement type reference to SuBcon Purchase order (In this i want to capture production order field automatically).
    Br,
    Swapnil

    swapnil vaidya wrote:
    Dear All,
    >
    > I want to capture production order number field during 541 (reference to purchase order) in mb1b, so i could get production order number in MSEG table.
    >
    > Process flow.
    > 1. External processing with PP02 control key
    > 2. SubCon Purchase order with Automatic Account assignment of Production order
    > 3. MB1B with 541 Movement type reference to SuBcon Purchase order (In this i want to capture production order field automatically).
    >
    > Br,
    >
    > Swapnil
    Hi,
    You can get this Goto MB1B-provide 541-Select Environment in menu bar-oder-This will ask you to provide the reference document which is the production order.
    Thanks

  • How to get the Process order Number (Deatials by providing Salese order)

    Hi
    I want help to get the Process order details against with sales order number
    in which table i ll get this information and any particular  Function module is available???
    Regards
    Jagadish

    here KDAUF is empty
    Any other table is there i checked AUFK also AFKO also i ma not getting.

  • Getting purchase order number from sales order number

    Hi Experts,
    My requirement is to fetch the following values from a sales-order number:
    Purchase Order Number,
    Delivery Date
    Order Type(Source of Order EDI/EFAX/..)
    Ship To,
    Sold To.
    We are trying to fetch this data from the ECC system in our CRM system.We are exploring the possibilty of RFC calls to get the data from ECC system.
    Is there any standard FM present in ECC which gives the above information from the sales order number?
    Thanks in advance
    Regards
    Shilpi

    Hi,
    Check the FM BAPISDORDER_GETDETAILEDLIST
    It provides the whole data for a particular Sales order which you need to provide Sales order number in the table 'SALES_DOCUMENTS' in tables parameter.
    You have to provide the view what you need and in the import parameter 'I_BAPI_VIEW' like all the views that are in the tables parameter...
    HEADER, ITEM etc...
    The fields
    PO_METHOD
    PURCH_NO
    REQ_DATE_H
    SOLD_TO " will provide you the details you need in the table 'ORDER_HEADERS_OUT'
    SHIP_POINT in ORDER_ITEMS_OUT table provides the ship to
    Regards
    Sarves

  • MIRO & BSEG table

    Hi all,
    By using MIRO, we get an invoice document number.
    While checking the same invoice document number in BSEG table, we find the MIRO information in different document number than the invoice document number.
    Kindly, let me know the reason of this error and how to rectify the same.
    Quick reply will be appreciated and points will be assigned.
    Thanks & Regards

    hi Mehak,
    in MIRO two documents (invoices) are created: one in MM and one in FI. Both of them have different numbers (they can have the same number, but this requires some coding). The number which is displayed right after you save in MIRO, is the MM number. The MM invoice is stored in tables RKPF/RSEG, the FI in BKPF/BSEG.
    hope this helps
    ec

  • FBL5N t code and BSEG table is showing wrong contract number

    Hi,
    The proces flow is contract number>sales order>DMR-->Invoice
    Now when I am checking the VBFA table it's showing correct contract number against invoices but FBL5N t code and BSEG table are showing wrong contract numbers.
    Why FBL5N and BSEG table is showing wrong contract number?
    Currently we are using one enhancement and user exit is used to incorporate one customized field as identifier for bill type.
    1. During the billing document release to accounting VFX3, The user exit triggering and it is update the customized fields and Net settlement indicator.
    2. Using the Invoice number, get the fields VGBEL(Document number of the reference document) and VGPOS (Item number of the reference item) from VBRP and read table VBAP with VBELN and POSNR, to get DMR number (Sales Document) that created for the Invoice.
    3. Use fields VGBEL and VGPOS on table VBAP to get the sale order number.
    4. By using the Sales order number, get the Distribution channel to update Net indicator field
    In accounting table BSEG-UZAWE = JF must be updated on the customer line.
    5. Retrieve the sale order number and item level to get customized field from table VBAP
    Any pointers.
    Thanks
    Ashu

    Hi Reazuddin,
    Thanks for your reply,
    I am concercerned about BSEG table and using user exit EXIT_SAPLV60B_008 to post the document in FI.
    Now in we have enhanced this user exit  for contracts and included in this way.
      SELECT SINGLE ZZ_CONTRACT FROM VBAK INTO (LC_CONTRACT) WHERE VBELN EQ cvbrp-vgbel.
    Endloop.
    *Moving the values to final accounting table
    loop at xaccit.
    xaccit-vertn = lc_contract.
    xaccit-VBEL2 = xaccit-AUBEL.
    xaccit-xref3 = lc_vbel2.
    MODIFY xaccit .
    ENDLOOP.
    Clear: lc_contract,lc_vgbel,lc_vgpos,lc_vbel2.
    But I am getting correct data when checked other clients( development and quality), this problem I am getting in production.
    Do I need to ask the ABAP'er to debug this enhancement in production?
    Thanks
    Ashutosh

  • SD-How to find table link of special delivery and sales order number?

    Hi Experts,
    I have a requirement as below.
    In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
    One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
    How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
    Thanks a lot,
    Frank

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069]

Maybe you are looking for