Copying PO Number from SO Number to Billing Document

Hello,
My requirement is that I need to copy the PO Number from Sales Order to the Billing document whenever there is a Return Order created. What would be the Copy routine number that I need to modify? Or do I need to create a new Routine and then update the Billing Item with the PO Number from Return Sales Order? Please let me know.
Thank you,
Venkata Phani Prasad K

Hi
What subroutine VOFM are you using in your copy rules? Copy this VOFM to your own VOFM in your range name, and add a line to copy the PO number from SO to invoice (see Note 327220 - VOFM function and its objects).
Regards
Eduardo
PD: sorry, I wanted to update it and I've replied to myself.
Edited by: E_Hinojosa on Jan 31, 2012 3:39 PM

Similar Messages

  • User exit to copy the data from sales order to billing document

    hi everyone,
    Is there an user exit to copy the data from sales order to billing document?
    Regards
    Prabudh

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Copy text from outbound delivery to billing document

    Hi Gurus,
    Is there a way to copy a text from outbound delivery to billing document?
    I found text determination. It is only possible to maintain text from Sales to Billing.
    Thanks.
    Stéphane.

    Hi,
    Goto the T.Code "VOFA".
    Select your billing type.Details.
    Goto "Output/partners/texts" tab.
    Maintain the "Textdeterm. procedure" as the procedure same as your delivery.
    Anotehr way is goto the T.Code "VOTXN".
    Here click on "Delivery Header".
    Check the check box for "Reference".
    Regards,
    Krishna.

  • Origin of sales tax ID number in billing documents

    Hello,
    The field "Origin of sales tax ID number" in billing documents determines from where the tax ID number is taken, for example:
       A - Ship-to party
       B - Payer
       C - Sold to Party
    When the partner functions of the customer are different, how can I decide whose tax ID number the billing document takes? I need to take the tax ID of the payer but it takes of the ship to party.
    Thanks in advance, best regards,
    Silvia

    hi,
    The path here is IMG, Sales and distribution, Basic functions, Taxes, Maintain sales
    tax—Identification number determination.
    Three available options can be assigned to each sales organization. It is recommended that in order to keep consistency throughout the system, use the same determining rules across all sales organizations.
    The first is determination rule A, which indicates that the tax number and tax indicator classification are generally taken from the sold-to party customer master record.
    Determination rule B indicates that the tax number and tax classification are generally taken from the customer master record of the payer.
    Finally, if the field is left blank, the system determines the tax number and the tax classification according to the following sequence:
    1.If the payer has a VAT registration number and is identical to the sold-to party, the tax number and tax classification are copied from the payer (in this case, the ship-to party is not relevant). The tax number is copied according to the country of destination relevant for taxes.
    2. If 1 does not apply, the ship-to party has a VAT registration number, and the sold-to party does not, the tax number and tax classification are copied from the ship-to party.
    3. If 2 does not apply, the tax number and tax classification are copied from the sold-to party.
    CHAN

  • Copy Pricing Conditions from Sales Order to Billing

    Hi,
    Is there anyway to copy pricing conditions for item level from Sales Order to Billing Document at the time of creation of Billing Document.
    Thanks

    This question is not on topic for the Web Dynpro ABAP forum and has been locked.

  • Copying Text From Sales order to Billing Document

    Hi all,
    I have searched all posts for my issue but found nothing so that i am posting this issue.
    I want to copy the Some text form sales order to billing document is there any cnfig to do this
    order is there any exit for billing in which i can write code to copy text from sales order to billing document.
    please provide me a solution.
    Thanks in adavnce.
    Vinod.

    Hi,
    Use the same t-code VOTXN to do access sequence assignment.
    When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
    - Text procedure
    - Access sequence
    - text procedure assignment
    In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
    Hope this help.
    Cheers,

  • Count number of billing documents yearwise

    We wanted to know the number of billing document in cube company and yearwise.  How to achieve this

    HI,
    check this 0SD_C03 cube, you may use this cube for your requirements
    please check the follwing link.
    http://help.sap.com/saphelp_nw70/helpdata/en/17/cd5e407aa4c44ce10000000a1550b0/frameset.htm.
    Regards,
    madhu

  • Need to fetch Vendor number from shipment to SD billing document creation

    Hi Guru's.
    I want to  fetch the Vendor number from the Ship Cost document and want to populate on the SD billing document and then corresponding acctg document. Is there any way or user exits available?
    Thanks in advance for your help.

    Hi
    For your requirement you can add a Zfeild in the shipment tables and link that table to the Vendor tables.You can either go with USEREXIT_FIELD_MODIFICATION
    Regards
    Srinath

  • Item number in billing document not matching with delivery document-reg

    Hi All,
    In the billing document the item number is coming from Shipment document. ie., there are three deliveries in a shipment. Each delivery has got one line item, ie., 10. These three deliveries are assigned to a shipment, the order in which the deliveries are attached if we take as 10 for first delivery, 20 for th esecond and 30 for the third, In billing document the billing from first delivery is getting the item number as 10, the second delivery's billing document is getting the item number as 20 and the third as 30.
    Can someone please reply where and how this is configured?
    Thanks and regards,
    Tajudeen S.

    Hi,
    first look at IMG/Sales and Distribution/ Billing / Maintain Copying Control For Billing Documents / Copying control: Delivery document to billing document
    There is a field "Copy item number from reference"
    Maybe it helps.
    regards
    Wojciech

  • Customer purchase order number in Billing document

    Hi Experts
    Billing documen --> Item double click --> Last Tab is PO Data
    Table (VBKD) --Field (BSTKD) -- Customer purchase order number
    How do I get populated my PO here in this field. I am not using the sales order. Only P.O --> D.O --> Billing.(inter Co. STO)
    Any help can be appreciated
    regards
    RG.

    Hi,
    You have the PO number in the delivery (in items, LIPS-VGBEL) or in VBFA table.So, you can achieve it in the copy rules from delivery to invoice (in a VOFM in VTFL). Check so the splitting of invoice (structure ZUK or field ZUKRI), so, see SAP Note 11162 - Invoice split criteria in billing document.
    I hope it helps you
    Regards
    Eduardo

  • Origin of Sales Tax ID Number in billing document

    Hi
    In the billing Header, Taxes, there is a field "Origin of Sales Tax ID Number". Can you pls. guide me what is the mean of this field and how the value for that particular field is detemined.
    with regards

    Hi Lin
    The field "Origin sls.tax no." actually indicates that from where the VAT registration no. in Billing Document is coming. If you check the F4 help of this field then you will find that there are different option like - from Ship to party, Payer or Sold to Party etc. The determination rule is maintained in customising at IMG> Sales and Distribution>Basic Functions -->Taxes -->Maintain Sales Tax Identification No. Determination.
    Hope this will clear your doubt.
    Regards
    Amitesh Anand

  • Purchase Order number in Billing document

    Hi Gurus
    My STO Billing document# IV  - Line item (double click) P.O Data tab
    Over here doesn't have the Purchase Order number.
    What settings to be done to obtain the Purcahse Order number here...
    Regards
    RG

    hi,
    in STO case billing is dependent on OUT BOUND DELIVERY.
    not on PO.
    so you will have a reference of DELIVERY DOCUMENT only here in IV.
    there are two methods for it:
    goto display document from BILLING you will find the reference of PO
    take delivery number and goto display document flow you can find the reference of PO.
    if you want to see the PO number as a reference then you have to talk to the ABAPER & the above is the simple methods you have to find the reference of PO
    hope this clears your issue.
    balajia

  • Number Range-Billing document -Urgent

    Dear SAP Guru,
    Case1
    When I create credit or debit note (first I create credit/debit request then Credit/debit note) with reference to existing billing documents I do not see any error & getting correct number range for credit/debit note.
    Case 2
    But when I try create the credit & debit note with refernece to existing billing document & modify the incoterm in credit/debit memo request & then, when I try to create debit/ credit note & save the document system is not generating correct number range for credit/debit note.
    However the credit/debit note document type is same in both the cases 1 & 2
    I am not able to understand when I am changing the Incoterm only,  how this is effecting number range of document?
    How I can rectify this issue? Please help me.
    Points will be rewarded.
    Thank you very much in advance.
    Regards

    Hello,
    Just a thought: when you change the incoterms, maybe the system considers the docs in question as new CR/DR docs and hence assigning a different no. range? since I blv, the CR/DR have to be created with ref to the original invoice doc and changing incoterms might mean newly created documents? plz check..
    Rgds,
    Raghu.

  • Copy Txt values of Text dertermination from sales order to Billing document

    Dear Forum,
    How can we copy a Text Determination proc from a Sales Transaction type to a Billing document.
    I have created a Text Determination proc for a Sales Transaction type..
    i.e
    Text Object: CRM_ORDERH (Transaction Header)
    Definition of Proc
    Text Object               CRM_ORDERH
    Text Det.Proc.           ZMODKIT
    Text Type                  ZPAY
    Sequence                  0002
    Access Sequence      ZPAY
    Transfer Type             Save reference only 
    In Access Sequence
    Ref. Object        CRM_ORDERH
    Ref. Object         Transaction Header
    Ref. Text Type    ZPAY
    Ref. Text Type    Payment Details
    Text Determination For Billing
    Text Object      BEA_BDH
    Text Det.Proc.   ZMODKIT
    Text Type        ZPAY
    Sequence        0002
    Transfer Type   Copy
    Access Sequence ZPAY
    Desc. Access    Payment Details
    In Access Sequence
    Text Object      BEA_BDH
    Access Sequence  ZPAY
    Sequence         0002
    Ref. Object     CRM_ORDERH
    Ref. Object     Transaction Header
    Ref. Text Type  ZPAY
    Ref. Text Type  Payment Details
    Scenario:
    i create a Sales order by enetering few details along with Text types.
    When i go for the billing
    1) SAP Menu> Sales> Billing-->Maintain billing due list..
    2) Enter Document no and process
    3) Go for Individual billing
    4) Select Text Tab
    The values entered into the Text Determination for a Sales Transaction type is not getting copied here.
    Please look into this problem and revert back...
    Regards,
    Nirav / Ankush
    022-6767 2087
    [email protected]

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Need to copy a custom field from sales order to billing document

    Hi All,
    I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once i add this field up in both the documents in the header part i need to create a copy routine using the VOFM tran, can any body help me on what's the procedure to add a field in billing document and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
    solved it myself ....
    Regards.
    Message was edited by: seshi
            seshi

    Hello,
    Regarding item 1, is it in the region of the global links (ie logout, home, preferences, etc.)? If not, have you tried creating a link via personalizations to the region you wish to have the link displayed (item type = link, destination = fully qualified name of your .xml page/region?
    Regarding item 2, you may have to create the custom subtab programatically using the controller for the region of the current subtab layout.
    Regarding item 3, you can also add a submit button to the page button bar region via personalizations. You can then add any logic you want to the button in the controller for the page.
    Hope this helps.

Maybe you are looking for

  • I have 1 mac, two logins. How can I share an iTunes update?

    Everytime there is an iTunes, Safari or Quicktime update, I download the updates, as does the other person that uses my Mac, under their login. How can I setup iTunes and osX to share the updates?

  • Post Power Supply replacement problems

    Hello, I'm trying to resuscitate my PowerMac G5 after a power supply failure and I'm having some issues. I've reached the end of my expertise and so I need to reach out to the community in hopes of being pointed in the right direction. So here's the

  • What is data archiving and DMS(Data Management System) in SAP

    what is data archiving and DMS(Data Management System) in SAP Welcome to SCN. Before posting questions please search for available information here and in the web. Please also read the Rules of Engagement before further posting. Edited by: kishan P o

  • Starting with BC, DW, or Muse trying to create a restaurant menus app

    I have been following videos from BC-Gurus about creating an app for restaurant menus. BC seems easy, but it becomes frustrating trying to create the app with multiple menus (Chinese, Grill, Kids, etc.), multiple course types(Starter, vegetarian, bee

  • OSB Server fails startup port in use

    Hi fellow Oracle members, I am trying to install Oracle Service Bus on Weblogic Application Server 11G (10.3.3.0). I first created the weblogic domain then later extended it to also include the OSB functionality. After extending the domain I changed