Need to Store a Reference Number in PO.

The purchase Orders in SAP are created through interface from a legacy system.
To have the cross reference between the two systems, the PO number of the legacy system must be stored in the SAP PO.
What field in ME21N can be used for this requirement?
Thanks

Yes, you can use any of those fields. But if you may have more than one item in PO, I will suggest to identify also the PO item. Even if you think that you will have the same item number, you may have to delete an item, and create a new one for any reason. In that case, you won't have the exact 1 to 1 relation at item level.
One way will be having the purchase order number at header level using "Your Reference", and using Req tracking number to keep the relationship at item level. If you cannot use none of those fields at item level, you can create a confirmation control schema, with a custom confirmation category, and keep item relationship in the external document field.
This will be very useful in case you work with IDOCs for Confirmations/IR/GR/Inbound deliveries. Believe me, I've been there.
Hope this helps.

Similar Messages

  • User Exit to assign Reference Number xblnr in FB70

    HI Experts,
    i need to assign the reference number XBLNR in transaction FB70.
    Anybody knows wich user exit should i use?
    thank's in advance,
    Fernando S.

    Hi,
    thank you but i will need an exit in order to determine in wich case to assign that reference.
    i also apologize because the transaction code is FV70.
    I'll start a new thread in order to correct the question,
    thank's
    Fernando S.

  • Need to calculate subtotal and print it on basis of dc,store and lid number

    Hi Expert
    I need to calculate sub total for couple of fields on the basis of DC, store and lid number. I have clculated the sub total in query level but while printing it in the report i am facing the real problem.
    Please find the example:
    For DC=1111, store=2222, lid no=3333
    QTY rcvd qty ordered qty available REFNO
    20 300 680 7859
    45 258 348 4528
    For DC=1111, store=2222, lid no=3334
    QTY rcvd qty ordered qty available REFNO
    58 78 69 1487
    45 54 74 2578
    i want the sum in below of completion of one set of values. but as i am calculating the sum in sql query , i put it in a group and it is appearing in the end of every line which is not my desired.
    Kindly let me know how to do the grouping so that i can get it in the end of each combination of DC,store, lid no.
    Thanks in advance.
    Regards
    Srikant

    Can you send me the xml and RTF template to [email protected] ? I will take a look.
    Thanks,
    Bipuser

  • Store a reference PO number in the ORDR file

    We are creating Sales orders based on purchase orders that are sent via EDI x12 850 documents.  I need to store the purchase order number somewhere in the sales order document (ORDR table).  Where should I store the PO Number, so that I can return it on Invoices?  Do I need to create a user defined field?
    Thanks,
    Nancy Walk
    [email protected]

    Hello.
    I think that user field is the best way to do that.
    Other way is that You can export documents to XML and then import if You want.
    Hope it helps
    Regards
    Kamil Wydra

  • Need Order Reference Number in Sales Order Lines- Returns Tab

    Hi All,
    From which table i can get sales order reference number in salesorder->lines->returns.
    I have checked in oe_order-lines_all tables...I need to get total information for sales order like Reference type, order number, line number all those details...This information will be stored in DFF.
    Please help!!
    Thanks!!

    Hi Sanjay,
    I have checked the DFF 'Additional Line Return Information' and it contains two columns 'Return Attribute1' and 'Return Attribute2' which are storing header id of the reference item and line id respectively of a perticular sales order.
    In the sales order form on lines-->returns tab there are 3 attributes are enabled in the DFF 1) Reference Type 2) Sales Order/PO/Invoice etc.. 3) Line Number.
    Any ways i got 2 attributes ie.. Refernce Type and Sales Order/PO/Invoice Number from the DFF. Now, i am unable to findout LineNumber...Can you pls help to get this..
    Thanks!!

  • How do I store VI References in global variables and access them later

    From what I know, Labview automatically deletes VI references when they go out of use. Is there a way for me to override this so that I can access a set of preloaded references in a separate VI? Essentially I would like to open the VI's dynamically into the memory, store the references in global variables and access them at a later time. The VI's I'm referencing won't be known until runtime. I know its not the safest way to do it, but it would be the most productive on my end.
    Thank you
    Clay Upton

    I'm not sure what you mean by "a later time", but a VI reference will remain valid as long as the VI is in memory. If you don't unload the VIs, the references will remain valid.
    If you do need to unload the VIs, for whatever reason, I would suggest the following:
    Create a functional global as your interface for obtaining the references.
    Feed the paths to the VIs into the VI when initializing it (since you don't know which VIs in advance).
    When calling the VI to obtain the references, have the VI check them first (using the Not a Number... primitive). If it sees that they're invalid, it can open a new reference and return that.
    You should note that when a VI is removed from memory, the data space is used is released, so if those VIs are expected to hold data (using shift registers, etc.) this will be a problem.
    The description I've given will only be usable in certain instances (and it has its intricacies), but you didn't really give any details about what you're actually trying to accomplish.
    Try to take over the world!

  • Need to Store Infinite Tree in a single table

    Hi,
    I need to create infinite tree and also need to store it into a single table. I will perform operations like node deletion,movement etc.. according to the operation my tree should get updated.Can anyone please give me any suggestion??
    Thanks in Advance,
    Sumeet Gupta

    Hi,
    Not much to go on, but this table can hold an infinite tree. Work from that.
    SQL> create table tree (node number(15) not null, parent_node number(15))
    Table created.
    SQL> alter table tree add constraint tree_pk primary key (node)
    Table altered.
    SQL> alter table tree add constraint tree_tree_fk foreign key (parent_node) references tree (node)
    Table alteredEdit:
    If you are not already familar with hierarchial queries, I suggest you look here:
    [Hierarchial query|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#sthref9434]
    Regards
    Peter
    Edited by: Peter on Mar 3, 2009 7:35 AM

  • Need to know the reference table incase of 105 (GR for Blocked STK)

    Hi,
    I have created one PO and then I have done two 103(GR into Bolcked STK) then after I have done a 105(GR for Blocked STK) against one of the 103.
    My question is how could I identify for which 103 I have done 105. Is there any reference table-field where SAP actually stored the corresponding 103 material document number for that 105 material document. How could I link the 105 with the original 103.
    Actually I need to show the original 103 number for 105 in FORM output through MB90.
    please help me.

    The PO is same but I know for 103 and 105 there will be different material document number(MBLNR). But my question is as I have done a 105 against 103. How sap maintain in its table data that against which 103 it actually done 105. in which table it stores the reference data. There is no details in EKBE. Can you guys please do it in real time and check this and let me know.

  • Is there any standard SAP table which stores the license number assigned to a delivery item

    Hi Experts,
    This is in relation to license number assigned to a delivery item under ‘Export License Log’. Our scenario is for delivery of type NLCC created for an inter-company stock transport order. (i.e.not a sales order case where the license may get copied from sales order to delivery through copy control)
    As we understand, for legal control – relevant scenarios, export license for each item shall be determined afresh every time the delivery is accessed. (Depending on legal regulation, grouping, destination country, export control class, delivery partners vis-à-vis license master customer assignments etc.)
    To print the license text on one of the delivery output types, we want to access the license number for each item. (determined under export license log)
    Our question is:  is there any standard SAP table which stores the license number assigned to a delivery item?
    We have checked some of the license tables (T606*, VAEX, EMXX etc.) but couldn’t get any specific table storing delivery-item-specific license data.
    Helpful answers Text Removed
    Regards,
    Jagan
    Message was edited by: G Lakshmipathi
    Dont add such text in your post

    Hi Lakshmipathi,
    The export control log can be accessed by going to delivery Extras-> Export license log
    We need a table that stores the determined license for each item in a delivery document ( as shown in the below screenshot)
    Regards,
    Jagan

  • Unique ID or reference number?

    How do I create or enable a form to generate a unique ID or reference number when submitted?
    The person that receives a copy of his form should see the number as well as the author.

    Hi,
    Auto-generated field filling is not something we support currently.
    I suggest you to add or vote on feature ideas:
    http://forums.adobe.com/community/formscentral?view=idea
    If you need to add a new idea click "Create an idea" under "Actions" in the top right.
    Thanks,
    Pengpeng

  • External Reference number not copied in Service Confirmation

    Hi,
    We are on CRM 5.0 SP11. We have Mobile Service 5.0 SP11.
    In Mobile Service in the Service Order creation screen we have a window to input External reference number. When we create a Service Confirmation as a followup document of Service Order, SAP by default only allows to copy Reference Object,Subject and notes (both header and item level) to the Confirmation.
    Does anyone have idea how we can copy the External Reference number to Confirmation when we do followup to Service Orders on mobile.
    This functionality works fine on Enterprise.
    Thanks,
    Yatin

    Hello,
                 The external number won't be copied by standard as Wolhfard said they are different documents.
    You need to code this to make this copy from service order to Service confirmation.
    Open your Mobile Application Studio and make following changes.
    Open the BusinessObject "BOMSVHelper"  and view the code. Go to the Method "CopySrvTransHeader"  write the following code in it.
    Find the code
    UserName = _unwind(BusinessRootObject.UserDataDictionary.GetData("USERNAME"))
    and paste the following code below it.
            Dim servconfobj As BusinessObject = bocopysrvtrans.SalesInfo
            Dim servtransobj As BusinessObject = orderheaderobj.SalesInfo
            servconfobj.SetAttribute("PoNumberSold", servtransobj.GetAttribute("PoNumberSold"))
            servconfobj.SetAttribute("PoDateSold", servtransobj.GetAttribute("PoDateSold"))

  • Where do i find the reference number for my preorder? and yes i no this is prob a dumb question but i cant find it anywhere......

    Where do i find the reference number for my preorder? and yes i no this is prob a dumb question but i cant find it anywhere......

        Hi droidboy52999,
    Your email won't have the same confirmation number as it was ordered over the phone. You will need the last name used for the order, the location code (this ends in 01) and an order number (five to six digit number). Please keep us posted if you need further assistance with this.
    Thank you,
    MariaC_VZW
    Please follow us on Twitter @VZWSupport

  • F110 - reference number not getting updated.

    Hi,
    The reference number in the line items after running F110 is not getting updated. Is there any configuration I need to do .
    Please help.
    Thanks
    Sabu

    Hi,
    Thanks .
    After applying that note it has now updated the clearing document with reference number from its original document. But I want the reference document to flow/updated into the F110 screen -> DME attributes->refrence number. The table it has to get updated is REGUT-RENUM.
    I am not sure if this has to happen as a SAP standard functionality but this is the requirement given to me.
    Thanks in advance.
    SMS

  • AP Invoice Date_Paid & Payment reference Number (Check Number or DM Number)

    Hi,
    I need to add 2 columns for AP Trial Balance report in R12.
    1.Invoice Date_Paid
    2.Payment reference Number (Check Number or DM Number)
    Could you let me from which table i can get this information.
    Thanks
    pravin

    You can get all the payment related details in the below tables.
    1. AP_INVOICE_PAYMENTS_ALL
    2. AP_CHECKS_ALL
    3. AP_PAYMENT_HISTORY_ALL
    Thanks
    Tarun

  • Invoice Reference Number "V" + Blank Payment Terms field

    Hi Experts
    Need your validation on one point. I have credit memos with invoice reference number field filled with "V" but payment terms in document is blank.
    Payment terms in Vendor Master Data is XXXX (Net due 30 days). But when I run the Payment Program within 30 days for this vendor, the credit memo is picked up and adjusted.
    Is my understanding correct that it is because of the following reasons -
    By putting V in invoice reference number, the system will overlook the payment terms mentioned in Vendor Master Data and follows whatever is mentioned in the document.
    And because the payment term field is empty in the document, it is taking baseline date as payment due date and thus picks the document in F110 program.
    Points will be rewarded to replies with explanations.
    Regards
    Arjun

    Arjun,
    please check my comments:
    By putting V in invoice reference number, the system will overlook the payment terms mentioned in Vendor Master Data and follows whatever is mentioned in the document.
    In all cases the document entry overlook the master data entry. The vendor works as default values during document entry.
    And because the payment term field is empty in the document, it is taking baseline date as payment due date and thus picks the document in F110 program.
    Don't change the document defaul entry if you want the vendor assignment. If it's blank you have to assign same Payment terms from you vendor otherwise you will have only the baseline date.
    Best Regards

Maybe you are looking for