Copying field in Invoice from PO

Hi,
I have requirement to copy a field 'Requirement Tracking Number' from purchase order to invoice item level screen. Can anyone guide me this can be done?
Thanks
Atif

You can use it to change customers' own fields in vendor invoices.
You can use the Business Add-In (BAdI) MRM_ITEM_CUSTFIELDS to integrate a subscreen of your own at item level to process customers' own data. The Customer Include CI_DRSEG_CUST is available for customers' own fields. The structure DRSEG_CI contains the fields C_RBLGP (document item in invoice document), C_KOART (account type), and Customer Include CI_DRSEG_CUST. The structure DRSEG_CI is already contained in the structures DRSEG (invoice item (dialog processing)), MMCR_FRSEG and MMCR_RBMA. If you wish to save customers' own fields to the database, you must attach these fields in an APPEND structure to the corresponding database table (RSEG, RBDRSEG, RBMA). For G/L account lines, add an APPEND structure with the customer's own fields to the structure COBL_MRM. The customer's own fields then also exist in the database table RBCO.
The customer's own fields can be processed on a separate subscreen during online invoice verification with the aid of the Business Add-In MRM_ITEM_CUSTFIELDS. The following data is available for this purpose:
Transaction type (Create, Change...)
Invoice document header
Invoice document items (items with PO reference, items with G/L account posting, items with material posting)
Note:
In the case of automatic transactions, the customer's own fields cannot be populated.
Requirements
To implement this BAdI, you need ABAP knowledge to create the subscreen and for the flow logic.
Standard settings
The Business Add-In cannot be used multiple times.
The Business Add-In is not filter-dependent.
Regards
Antony

Similar Messages

  • I am residing in India and have purchased Ipad 3 from US, I have lost my invoice and also the small pin which helps in inserting sim card, Can anyone help me how can I get a copy of duplicate invoice from India and a PIN for my Ipad 3

    Dear Friends,
    I have purchased Ipad 3 from the US but unfortunately while returning back to India I have lost in transit the copy of Invoice and a tiny PIN which helps in inserting 3G card.
    Can anyone help me how can I get the duplicate copy of my invoice and an extra PIN from India and whether any Apple Store in India can issue me the duplicate copy of Invoice for the product purchased from US and also are the require to issue me an extra PIN on request.
    Thanking you all in anticipation....
    Regards,
    Bankim Mehta

    You can use a paper clip instead of the PIn that came with the iPad.
    http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=54813
     Cheers, Tom

  • Cannot copy A/P Invoice from GRPO

    Hi Expert,
    In one of the GRPO when I use copy to A/P Invoice, it brings zero in Qty.
    Where as in other GRPO it works fine.
    Does anybody has idea, what would have gone wrong ?
    BR
    Samir Gandhi

    Hi,
    Do you have add-on running? Please disable it temporary and do the procedure again.
    Try to check if you have already created Invoice for the GRPO check from the query.
    Thanks.
    Clint

  • Cant copy A/R Invoice from Delivery

    Hello All
    Can anyone think of any reason why a customer of mine can not copy a delivery note to an A/R invoice - when they are trying to do this they are getting the error message - 'Account does not exist  [439-9]'
    Thanks
    Stuart

    Hello Stuart,
    You may check these threads first:
    G\L Account Determination
    how to change GL determination for Accounts Receivables account

  • Program translation - Copy field captions etc. from another language

    Dear experts,
    implementing translations for ABAP programs can be very annoying. Is it possible that screen field captions etc. are displayed in English, if no translation for the users logon language can be found. Or is it possible to copy all English texts to another language instead of copy everything text by text?
    Best regards,
    David

    Abhishek Jolly gave you idea how to copy texts, so I will explain how to use English text for field labels even no translation exists for it.
    For this you need to use input/output fields as labels:
    - go to screen layout
    - replace all the labels you have with input fields
    - now for each such input field go to its attributes and choose option Output only . This way you input fields will behave like normal output fields but will look alike to Text field (label)
    - go to program and create corresponding (same named) data objets for all fields
    - then in some program point (i.e. in PBO) set your input fields like
    inp_field = 'First field'(001).
    - double click on 001 and text symbol will be created with same text ('First field')
    - do the same for all the fields
    - activate your texts and run program in different language. You will see same text as you set in EN.
    Regards
    Marcin

  • Copying Fields from one PDF to an Updated PDF - can't move fields on destination pdf

    I'm using Word as the authoring software for a PDF.  In version 9, I never had problem copying fields from one to another.  But in Version 11 I copy them to the new revised form and the fields won't move.  I can't move them with the mouse or the keyboard arrows.  I do see a bunch activity in the right pane called fields (tab order) but the fields don't move.
    Any help understanding why and how to solve is greatly appreciated.
    Thanks in advance for your time and experience.

    Highlight all the fields with CTRL +A, click on properties, and uncheck "Locked"  in the bottom left.

  • Creating Invoice from a Delivery Note using SDK

    Hi,
    I am working on SAP 2005 A Patch 4 with SQL 2000 SP 4. I am using VB.NET (VS2005). I am trying to create a Invoice from a Delivery note which is created based on a Sales order.
    I am getting the following error
    Error occured while saving Invoice: 0 - '15' is not a valid value for field 'BaseType'. The valid values are: '-1' - '',  '0' - '',  '23' - 'Sales Quotation',  '17' - 'Sales Order',  '16' - 'A/R Returns'
    The Code that i used to create the invoice is as follows
    Dim oInvoice As SAPbobsCOM.Documents
            oInvoice = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            oDelivery = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
            Try
                If oDelivery.GetByKey(iDlvNo) = True Then
                    sTaxCodes = sTaxCode
                    oInvoice = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                    oInvoice.CardCode = oDelivery.CardCode
                    oInvoice.SalesPersonCode = oDelivery.SalesPersonCode
                    oInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                    oInvoice.DocumentSubType = SAPbobsCOM.BoDocumentSubType.bod_None
                    oInvoice.Address = oDelivery.Address
                    oInvoice.ShipToCode = oDelivery.ShipToCode
                    oInvoice.Address2 = oDelivery.Address2
                    oInvoice.JournalMemo = "Invoice - " & oDelivery.CardCode
                    oInvoice.Comments = "Based on Delivery  " & oDelivery.DocNum
                    oInvoice.PaymentGroupCode = oDelivery.PaymentGroupCode
                    oInvoice.DocDueDate = Now.Month & "/" & Now.Day & "/" & Now.Year
                    For iRowNo = 0 To oDelivery.Lines.Count - 1
                        If iRowNo > 0 Then
                            oInvoice.Lines.Add()
                        End If
                        oDelivery.Lines.SetCurrentLine(iRowNo)
                        oInvoice.Lines.ItemCode = oDelivery.Lines.ItemCode
                        oInvoice.Lines.Quantity = oDelivery.Lines.Quantity
                        oInvoice.Lines.Rate = oDelivery.Lines.Rate
                        oInvoice.Lines.BaseType = SAPbobsCOM.BoAPARDocumentTypes.bodt_DeliveryNote
                        oInvoice.Lines.BaseEntry = iDlvNo 'DocEntry of Delivery Note
                        oInvoice.Lines.BaseLine = iRowNo
                        oInvoice.Lines.TaxCode = sTaxCodes
                    Next
                    iReturnValue = oInvoice.Add()
                    If iReturnValue <> 0 Then
                        pcompany.GetLastError(iReturnValue, sErrorDescription)
                        Throw New Exception("Error occured while saving Invoice: " + _
                                           iErrorNo.ToString() + " - " + sErrorDescription)
                    Else
                        MessageBox.Show("Invoice created succesfully")
                    End If
                End If
    Since in the error message it has specified that i have given the BaseType as Delivery which has a value of 15 i changed that from bodt_DeliveryNote to bodt_Order which has a value as 17.
    When i tried creating the invoice again it gave the error
    Error occured while saving Invoice: 0 - Target item number does not match base item number.  [RDR1.TargetType][line: 2]
    I am not able to proceed further ... can any one help me
    thanks in advance
    Ganesh

    Greetings,
    I am having a similar problem, only I'm doing it as suggested in Louis' reply.  In fact I copied that code and tried it.  It's giving me a 2028 error with no description.
    I had been doing it slightly differently and the error I was getting was 5002 "Item no. is missing [INV1.ItemCode][line 2]"  I don't have 2 lines and I'm certain I have an item code.  The numbers I'm putting in for baseentry & baseline are absolutely in the table and the order is open.
    Here is that code:
            oDNUpd = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            oDNUpd.CardCode = CardCode.Text
            oDNUpd.Lines.BaseEntry = CInt(SalesOrder.Text)
            oDNUpd.Lines.BaseLine = CInt(baseline.Text)
            oDNUpd.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
            oDNUpd.Lines.Add()
            lretcode = oDNUpd.Add
    I'm using SBO 2005 patch 7 (and the new dll).  I have similar code doing a stock transfer and it's working fine.
    Thanks for any suggestions you can offer
    John

  • One Invoice from 2 deliveries

    Hi Gurus,
    can anybody Plz help?
    1.) Suppose i have two deliveries say 80015009 and 80015010. I want to make one invoice from it how to do it? I tried through VF01 and also all the header data is same. is there any copy control setting which is left out?plz answer in details?
    2.) In case of STO Intra company I have purchase order through ME21N, Than created a delivery by VL01n and now that i am trying to create Invoice from it , it says " Not relevant for billing" can anybody plz help?
    3.) How to make Multiple deliveries in STO Intracompany from One Purchase order?

    1. check for you PO no in standard system po is also one of the selection creteria in zuk table -- dist channel, div and purchase order.
      or change you ref no alter no in copy control.  may be po mentioned in it. check vbrk/vbap field in copy control (item)-select sample
    2. in sto process you have select through collective processing only VL10b or vl10g.
    3. select fore ground(not back grond)--select only single doc(PO) and in the del doc you change qty

  • Copy PO with Invoice Plan

    Hi guys,
    is there any function or way to copy a PO with Invoicing Plan?
    If I try to create a new PO by copying from an existing one, everything is copied unless the Invoice Plan.
    Who can help me?
    Thanks.
    Fabio

    Hi,
    An Enhancement is required in PO, whereby we can should explore the possibility to use two custom buttons, one at PO line item level for copying the Invoicing Plan from the current PO line item to any other desired PO line item, and other button at the PO header level for copying the Invoicing Plan from the current PO line item to all the PO line items. This requirement will be possible if we get a Screen exit to create some custom sub-screens & add these buttons in that sub-screen to meet our Business requirement, the logic for which can be coded in the Screen Exit. For meeting this requirement, there is a Screen Exit in the below enhancement from T-Code SMOD 
    Enhancement: MM06E005 - Customer fields in purchasing document
    Screen Exit: SAPLXM06. For more clarity refer the below link. I hope it will resolve your issue. Thanking you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/100675db-2464-2e10-319c-fb9f37c41abe?quicklink=index&overridelayout=true

  • Copy control for invoice list cancellation

    Hi Friends,
    I wish to maintain the copy control for invoice list cancellation, as the case study as follows
    My client maintain invoice list, but due to certain reasons ,one of the invoice from invoice list has to cancel , the error I am getting as "Sales document F2 cannot be invoiced with billing type LRS."
    Also , explain as to what fields  need to maintain in copy control for the same.
    Kindly help me at the earlist
    Thanks in advance
    Shailesh

    Hi
    As far as I know, invoice cancellation or invoice list cancellation is not done by copy control. or...that is the one and the only document in SD which can be created without copy control.
    I think it is only sufficient if you include the cancellation document type in the invoice list type in the configuration of Billing document types.
    I think that alone should solve your problem.
    Reward if this helps you.

  • Reference field in invoice cancellation

    Dear Collegas,
    When cancellating an invoice (INVOICE1), a new billing document (INVOICE 2) is created and in the FI document of the cancellation, the system is taking the reference field (SD invoice number) from INVOICE1. The customer wants the system to bring the INVOICE2 number instead of INVOICE1 number.
    In billing document custo (VOFA), field "Reference Number" value "E" Current billing document number
    In Copy control from Invoice to Invoice is also customized vale "E" Current billing document number
    Any ideas.
    Kind regards.
    Mikel

    Hi Mikel,
    Since release 4.6, a new cancellation procedure was introduced which allows the automatic clearing of the accounting document when reverse an SD invoice by VF11. With this new cancellation, both BSEG-VBELN and BKPF-XBLNR reference the number of the original invoice. The cancellation does not appear in the open items, because it is automatically cleared out with the corresponding invoice.
    You can get more information from note 400000.However, if you want to back the old function apply the notes:
                339928
                309208
    The note 339928 explains how to deactivate the new cancellation procedure. If the new cancellation procedure is deactivated then the field XBLNR (Reference Document Number) should be filled like requested.
    Thanks,
    Alex

  • Customer Down Payment invoice (from delivery) not automatically assigned

    If I create a Down payment invoice from Sales Order (and I paied it) on the final invoice the sistem automatically assigne the down payment invoice on the final invoice for the order.
    If I do the same think but crerating the Down payment invoice from the delivery (and I paid it) when I create the final invoice I need to assigned it manually.
    SBO 8.81 PL 06
    I haven't found any set up for this, so I think is an error the sistem must work on the same way if the document is copied from the Sales order or delivey.
    Someone know if there is some set up? or I need to open an error message to SAP?
    Thanks

    My question is:
    If I make a sales order.
    I create a down payment invoice using copy from SO.
    I make the incomuing payment for the down payment invoice.
    I create the delivery from the SO
    I create the invoice from the delivery
    The system apply automaticaly the down payment invoice to the invoice (because I select a delivery that is linked to the so that I used to create the down payment invoice).
    If I make a sales order.
    I create the delivery from the SO
    I create a down payment invoice using copy from delivey.
    I make the incomuing payment for the down payment invoice.
    I create the invoice from the delivery
    The system DO NOT apply automaticaly the down payment invoice to the invoice (even if also this document is linked to the delivery that I use to create the down payment invoice).
    I know that I can select it manually. But I can select it manually also if I use the SO to create the down payment instead of the
    delivery. Why if the situation is the same in the firs case the system do it automatil^cally and in the second case I need to do it manually?
    Of course if I create a Down Payment invoice without selecting any document (SO, delivery..) the system don't know if you want to apply the payment to the final invoice.
    But If I select the delivey to create the down payment (the same if I select the SO): I want to apply the down payment to the final invoice of this delivery and not to another delivery.

  • How to remove the Option "Only Refer Excise Invoice "from MIGO

    Hello,
    We are using the ECC 6.0. while suppose material is excisable then there are Four options will come in MIGO --Excise Invoice tab
    1)Only Cature Excise Invoice
    2)Only Refer excise Invoice
    3)Only Part1
    4)No excise Entry
    As per my client requirement then only need two options in MIGO.
    1)Only Part1
    2)No excise Entry
    Bcz they want to Capture and Post excise Invoice in J1IEX only...
    I have tried from Tax on goods movementIndia-Basic settings--Excise Grp settings..... Here in MIGO settings  we can remove the Click from "EI Capture"....Then we will not find the Capture excise Invoice in MIGO. Next How to remove the "Only refer Excise Invoice from MIGO..
    Regards
    sapman

    Hi,
    You can capture Excise Invoice w.r.t. PO in J1IEX and then refer it during MIGO (Note: - You are not capturing Excise Invoice again, only referring it) and then Post it in J1IEX.
    And in case of Stock Transport Orders, you need to refer the Excise Invoice No at the time of GR in receiving plant which is posted in the Supplying Plant (via J1IIN) so that system will copy all the duties same as of that invoice and user need not to do any manual intervention.
    Also in case of Imports, first you capture Bill of Entry w.r.t. PO in J1IEX and then refer it during MIGO and finally post it in J1IEX.

  • Single performa invoice from multiple delivery

    Dear sir,
    my client requirement is they are doing one delivery and creating one performa invoice in export scnario while selling from plant and while doing export issue they have to take refrence performaa invoive .
    so they want to create as ingle performa invoice from multiple delivery for which already respective performa invoices have been created.so i want a single performa invoice from multiple delivery so tell me how to do it?
    thanks
    Debesh

    Go to VTFL and maintain as follows:-
    At Header
    Copying requirements:::::::::009
    At Item
    Copying requirements:::::::010
    Data VBRK/VBRP::::::::::::003
    thanks
    G. Lakshmipathi

  • Excise Invoice from Multiple GRPO

    Hi,
    How can we create a singe incoming excise invoice from multiple GRPOs? While creating one, when we use the copy from button, it allows to select only one GRPO and not multiple unlike A/P Invoice which can be created from multiple GRPOs.
    Thanks,
    Amol.

    Hai!
    It's SAP B1 functionality. I don't know why they have restricted this.
    Regards,
    Thanga raj.K

Maybe you are looking for

  • Connect Macbook to TV?

    My girlfriend purchased a MacBook Alum (13") and I wanted to get her cables to connect it to her tv (for watching movies & etc). I know very little about Mac's so please help... Would the Apple Mini-DVI to Video Adapter cable be correct to use with t

  • !!! HELP !!! SO FRUSTRATED!

    Somebody help...I'm going crazy! A COUPLE OF WEEKS AGO ABOUT HALF OF MY PHOTOS, OLDER NOT NEWER ONES, COULD ONLY BE VIEWED IN THE OVERVIEW! WHEN I DOUBLE CLICKED TO BE VIEWED TO EDIT, ALL I GOT WAS A CONTINUIING SPINNING INDICATOR... I READ SOME DISC

  • Guitar Rig 3 and Mainstage

    Am I missing something? Guitar Rig 3, in its natural state, has good mapping between MIDI messages and control over parameters in the plugin, even though it's an "audio in, audio out" plugin in general. In my "other" DAW, I can create a MIDI track an

  • How to outline/simplify a transformed object

    Using CS5.  I have a solid shape with a hollowed center (see far left image). I applied a transform effect to make it look "3D" by offsetting it slightly 32 times (see middle image.  see far right image to see what it looks like selected).  I want to

  • Je n'arrive pas a utiliser les imessage sur mon ipod l'appli se ferme toute seule et etein mon ipod

    je n'arrive pas a utiliser les imessage sur mon ipod l'appli se ferme toute seule et etein mon ipod