Copy header text of mult sales orders in a billing document

Hello Gurus,
My requirement is to pass the header text from Sales order to a Billing document.
However, if I create a billing document with reference to just one sales order, it is getting copied correctly in header text of a billing document.
In case of multiple sales orders for one billing document VF01, it copies header text elements of only first sales order, and not the other ones.
Kindly tell me how to copy the header texts of all the Sales Orders in a billing document.
Thanks....

Use the user exit "RV60AFZC" to populate the header text.
Regards
Vinod

Similar Messages

  • How to restrict header text changes in sales order level

    Dear Experts,
    how to restrict header text changes in sales order level change mode
    thanks

    Hello Chandu,
    how to restrict header text changes in sales order level change mode
    In order to restrict changes to Sales Order Header Text, the appropriate User Exit would be USEREXIT_MOVE_FIELD_TO_TVCOM_H. With the help of ABAPer, you can include the simple logic on the basis of Header Text type such that whenever any changes are incurred on the Sales Order header text, updates would be prevented.
    Please try out this approach and let us know your latest observation on this issue.
    Regards,
    Sarthak

  • UK VAT - MWST Condition Rate in Sales Order different to Billing Document

    We are testing the UK VAT Rate Change.
    Condition MWST has a rate of 15% until today and 17.5% from tomorrow.
    When I create a sales order with a requested delivery date of tomorrow and a pricing date of today the MWST Condition is shown as 17.5% at both header and lin eitem.
    If I create a delivery, post goods issue and create a billing document today, the billing document correctly shows the MWST Condition rate as 15%%.
    But the Sales document still displays the MWST Condition rate as 17.5% .
    ?? How can I get the sales document to display the actual condition rate ??
    I cannot find a solution to this anywhere and would be grateful for any help.
    Regards,

    Hi Michael,
    If the pricing date for the Sales Order and the Billing Document are the same, the VAT should be also be the same.
    But the pricing date for both document does not always have to be the same.
    If the real goods issue date is different from the planned goods issue date and you use it as a reference for the pricing date, then both dates will be different & that's OK. The same would happen if a discount is changed after the Sales Order is introduced but before billing & a new price determination takes place during billing.
    IMHO the Billing Document is the critical document and needs to have the right VAT rate.
    The Sales Order should have the data calculated based on the best information available at creation time, but does not need to be corrected after Billing.
    Best Regards,
    Franck

  • Sales order, Delivery and Billing document creation

    Hello Experts,
    I am working on credit management and am in need of creating sales order, delivery and billing document.
    Can some one send me the screen shots or any doc which outlines order,delivery and billing document creation.
    Will award points definitely.
    Also what are the t.codes for these creation?
    Regards,
    Sriram

    Order Create:
    Transaction VA01
    Give the order type , If standard order use OR or ZOR, which ever is maintained
    Then give the sold to and press enter
    In the Items screen Give the material and quantity and press enter. This should be enough to create an order, if u need u can give order reasons...etc. Then save the Order. Note down the order number.
    Go to VL01N-
    and give the above order for which u are doing delivery, In the pick quantity enter the amount in the order and press enter. and make sure the delievry date should be the same in the Sales Order Schedule line- REquested delivery date. Save the document.Note down the document number
    Go to VL02N - Open the above delivery document and click on PGI - done
    Now go to VF01 and this should bring up the delivery document number., If it doesnt , give the delivery document number and hit enter. then save the document. Billing is done.
    Regards
    Sai

  • Remove Header text from a sales order, created with reference to quotation

    Hi all,
    I have a sales order(in VA01) which is created with reference to quotation (in VA21).
    If header text (Notes for logistics, Note for responsible person, Header text Doc & Declaration) in texts tab is maintained in the quotation they are getting copied in Sales Order which is NOT the requirement.
    I need suggestions on how to disable the text that is getting copied.
    Any pointers would be of great help.
    Regards,
    Vamsee Priya.

    Hi Nilesh,
    I created a routine in vofm and this solved my problem.
    Now, I'm having a similar problem where I'm creating an Invoice(through transaction VF01) giving the delivery document number and document type (Invoice F2).
    we are maintaining Header text in Order through which the above mentioned delivery document number is created and this header text should get copied in the Invoice.
    For this, I went into Transaction VOTXN, from there selected billing header, from here kept a break point for the routine BEDINGUNG_PRUEFEN_001 through which the text will get copied.
    Now, when I'm creating the Invoice this routine is getting executed, but still the text is not getting copied.
    Any pointers on this would be of great help.
    Also at the end of your previous mail, you are telling about SPRO - text assignment. Can you please let me know how to I should navigate to this text-assignment??
    Thanks and Regards,
    Vamsee Priya.

  • Erroneous Shipping Header Text in the Sales Order

    Hi ,
    We are facing one problem.Can you please help us..
    We seemed to have a recurring issue in SAP Production wherein an erroneous shipping text and supply location header text
    suddenly appears on the sales order header text.   As of this stage, our interim solution is to manually clear the erroneous text via invoking
    the SAVE_TEXT command directly in Production to clear out the text.   The problem with this approach is that we are "reactive"
    to the event meaning we only get to know of the issue after the National Order Centre reports the issue and by the time it reach
    IT it already affected quite a few sales and stock transport orders.  
    I
    a) an investigation to be conducted as to identify the root cause of this issue 
    b) permanent solution to be put in place to rectify the issue
    here's the text ID that got affected
    Text ID = Z022  (Shipping Text)
    Text ID = Z029  (Supply Location)
    Language = EN
    Text Name = XXXXXXXXXX
    Text Object = VBBK
    a list of programs that calls SAVE_TEXT and updates
    the above-mentioned text ID.  We have gone through the SD user-exit MV45AFZZ.
    The sample you see below is an STO.  As you know the STO is created inside the sales user-exit and uses the
    shipping instruction default from the originating sales order to pass on the text to the STO shipping text.
    We are unable to re-create this issue so this sorts of adds a layer of complexity.
    I found SAPLSTXD memory id..It is importing from this id..But there is no export in the program..
    Can you please help us where the text is exporting ..We need to find out the root cause of this issue and solution..
    Thanks in advance.
    Satish kumar.

    I found SAPLSTXD memory id..It is importing from this id..But there is no export in the program..
    Chances are it is set and exported at some point, then abandoned after processing for that document...it needs to be cleared probably, since your user is remaining in the same user context and therefore when another import is executed, the text stored there is brought in, even though not for that order/document....believe you'll find this is a programming error, need to export space or clear the ID after it is used...
    Check the other MV45AFZ* objects also...MV45AFZZ is not the only SD user exit...look at the inlcudes (named like mv45afz* )  in SE80 for program SAPMV45A.  I can't see SD (don't run at my employer), but you might also check copy requirements in transaction VOFM entries?  Some of the SD wizards can advise on that part.
    Try ABAP Scan program RSRSCAN1, probably as background job, if you don't find in MV45AFZ* members.  Sorry, that's the old program (but it might find for you).  Current version is program RPR_ABAP_SOURCE_SCAN.
    Edited by: BreakPoint on Sep 22, 2010 4:16 PM

  • Get Header Texts from a Sales Order when you push 'Save Button'

    Hello,
    I am developing a user exit run when you push 'Save' Button in Sales Document and I do not know how to retrieve current header texts.
    I cannot access to database tables because they haven't been saved yet and I cannot the sales document number.
    Does anyone have any ideas?
    Many thanks!!

    Hi Fernando,
    use the below sample code to get the run time header text.
    write the below code in USEREXIT_SAVE_DOCUMENT_PREPARE.
    DATA : begin of wa_tline,
            tdformat like tline-tdformat,
            tdline like tline-tdline,
       end of wa_tline.
       data it_tline like table of wa_tline.
    data temp_vbeln(70) type c.
           temp_vbeln = xvbak-vbeln.
           CALL FUNCTION 'READ_TEXT'
             EXPORTING
    *         CLIENT                        = SY-MANDT
               id                            = 'Z053'
               language                      = 'E'
               name                          = temp_vbeln
               object                        = 'VBBK'
    *         ARCHIVE_HANDLE                = 0
    *         LOCAL_CAT                     = ' '
    *       IMPORTING
    *         HEADER                        =
             tables
               lines                         = IT_TLINE
    *       EXCEPTIONS
    *         ID                            = 1
    *         LANGUAGE                      = 2
    *         NAME                          = 3
    *         NOT_FOUND                     = 4
    *         OBJECT                        = 5
    *         REFERENCE_CHECK               = 6
    *         WRONG_ACCESS_TO_ARCHIVE       = 7
    *         OTHERS                        = 8
           IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    Thanks,
    Sumanth P

  • Profit center is not picking from sales order to the billing document

    Hi
    I am creating billing document but it is not picking profit centre from the sales order.
    Could you please help me in this.
    thanks in advamce.

    Hi,
    Ensure that the profit center is assigned to your Sales order.
    Also maintain the following settings in copy control.
    Goto the T.Code "VTFA".
    Select your valid combination.Details.
    Double click on "Item".Select your Item category.
    Details.
    Maintain "Copy requirements" as "002".
    Data VBRK/VBRP as "002".
    Regards,
    Krishna.

  • FM to create Sales Order from reference billing document

    Hi,
    I need to create a sales order from a reference billing document. Please tell me if there is any function module/BAPI to do that.
    Thanks in advance for the help
    Regards,
    Varun

    Hi
    <b>SD_SALES_DOCUMENT_COPY</b> copy Sales Doc into new one with the required Sales Doc Type (VBAK-AUART) for further creating.
    <b>SD_SALES_DOCUMENT_SAVE</b> create Sales Doc from the copied document
    create subsequent document
    REPORT Z.
      data: w_auart like vbak-auart,  "current SalesDoc type
            w_auara like tvak-auara,  "Subsequent SalesDoc type
            w_vbak  like vbak.
      parameter p_vbeln like vbak-vbeln.
    at selection-screen on p_vbeln.
      SELECT SINGLE auart FROM vbak into w_auart
        WHERE vbeln = p_vbeln.
      if sy-subrc <> 0.
        message e398(00) with 'Sales Doc' p_vbeln 'not found'.
      endif.
    start-of-selection.
      SELECT SINGLE auara FROM tvak into w_auara
        WHERE auart = w_auart.
      if sy-subrc <> 0 or w_auara is initial.
        message e398(00) with 'Subsequent type not defined for' w_auart.
      else.
      1. copy
        CALL FUNCTION 'SD_SALES_DOCUMENT_COPY'
             EXPORTING
                  i_auarn       = w_auara
                  i_vbeln       = p_vbeln.
      2. paste
        CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'
             IMPORTING
                  evbak         = w_vbak.
      3. commit
        COMMIT WORK.
      4. report
        write: / 'Sales Doc', w_vbak-vbeln, 'created.'.
      endif.
    regards
    vinod

  • FM to get sales order details with billing document .

    hi ,
    is there any standard FM or BAPI to get the sales order details with input as billing document ?
    i have the billing document number now i need to get the sales order number and its details ..
    is that possible ..
    i very well know how to get it by using query, i need standard FM.
    Points will be awarded for sure , if it helps .
    Thanks and regards
    JK

    Here is the list of BAPIs
    BAPI_QUOTATION_GETDETAILBOS
    BAPI_INQUIRY_GETDETAILBOS
    BAPI_SALESORDER_GETDETAILBOS
    SALES ORDER->
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order

  • Populate sales order number in billing document's reference field

    Hi,
    I have a requirement to populate the sales order number in the billing document's reference field. Hence, I have tried to find a user exits but sadly, all the user exits which I found does not break into my break-point.
    Thus, may i know whether any other people has similar requirements? In addition, how do you solve this issue?
    Thanks!

    Solve this issue. Apprantly, I break to the wrong user id which resulted in difficulty in finding the user exits.

  • Header text is not dispalying in english for billing document print output

    Hi All,
    I am working on script for billing document.
    I am maintain the header text for the document.I have enrted the header text in english text is not displaying in print output.If i maintain the text in french i am able to see the output.
    I am logging into the system with lanauage EN only.Can yo please let me know how can i displzy english text in my print output.

    Pass SY-LANGU as the value for input parameter LANGUAGE in FM READ_TEXT.
    Regards
    Vinod

  • 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.

  • Tax date in sales orders and invoices (Billing)

    Hello Experts,
    I have an issue related to Tax date in sales orders and Billing documents.
    In our environment we calculate taxes at the time of sales order creation and billing document (invoice) creation.
    Currently we modified 'ZXFYTU03' exit to pass tax date which is system date. Our business processes are such that, there is a gap of 3-5 days between sales order creation and billing creation. So for some orders we see tax discrepancies between order and billing.
    Through forums I understand that we can use 'service rendered date' at sales order item level. Solution would be passing date in 'service rendered date', we can pass date in 'service rendered date' field in sales order.
    The problem is to copy same date in billing document 'service rendered date'
    Does anyone have any idea how we can copy the sales order service rendered date to invoice service rendered date?
    Through forum i understand that we can use copy controls, data transfer routines etc...Appreciate if someone can guide me on how i can use these...
    Thanks in advance
    Pradeep

    Tried 2 options...
    1. Modify program RV60AFZC (FORM USEREXIT_FILL_VBRK_VBRP) to pass VBRP-FBUDA = VBKD-FBUDA. But in later part of the process, in SAPLV60A-LV60AA21 (perform fakturadaten_lieferbezogen), VBRP-FBUDA is overwritten by LIKP-WADAT_IST which is goods movement date. So this is not solving my problem.
    2. Modify program ZXVVFU08, to get service rendered date from VBKD-FBUDA based on CVBRK-XBLNR (Sales order) and populate CVBRP-FBUDA. But unfortunately this user exit is being called after user exit 'ZXFYTU03' where tax related data including tax date which is being passed. Somehow tax date in this user exit 'ZXFYTU03' is document creation date which is system date.
    With 2nd option, service rendered date from sales order is copied to invoice doc, but the tax is calculated based on document creation date since the tax user exit 'ZXFYTU03' is being called first...
    Per this, coustom routine did not work...
    Refer: Service Rendered Date (VBRP-FBUDA) for SD Invoice

  • Text copy from customer master to Sales order and invoice

    Dear friends,
    when i maintain the text in the customer master ther needs to copy to sales order and from sales order to invoice.
    Can you please guide me how to do this config
    Thanks
    Raju.

    Dear Raju,
    First you need to do the Text determination for all areas(i.e Customer Sales and distribution,Sales order header,delivery header and billing header) through VOTXN transaction.
    -->Create the Customer text ID under Object KNVV
    Maintain the text for Text ID in the customer master >sales area data>Extras-> Text
    To copy the customer text to the sales order you need to keep KNVV table as Text object in the sales order text access sequence for the text ID.
    If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
    When you want to copy the Text from Sales order to delivery the Access sequence will place a role
    If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
    Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
    Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
    Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for

  • How do you send mail using a different email address

    I have a BT yahoo mail account, (eg [email protected]) to which I have associated a domain name for my business use, (eg [email protected]). When I send a mail from my PC I can choose which email address to show in the from address, either my persona

  • Payment run, F110: Regup-LAUFI=00001O, 00002O, ... 00014O, No history

    Hi expert, In REGUP table, I found that the field: LAUFI stored with some auto-generated ID, example: 00001O, 00002O, ... 00014O These payment run cannot be searched through the screen of automatic payment transaction F110 (by combination of their ru

  • Chinese characters displaying as square

    Hi, I am trying to update a text frame with following script. It works well for all ascii but if chinese characters are entered in text, it displays them as square. I have language pack installed on Indesign machine. //----script starts----- var myDo

  • Is my Qmaster setup the best?

    Currently on 3 Octos 10.5.3 Leopard I had successfully created a render farm with Apple Qmaster 3 Without any success with any of the great tutorials out there, I just finally broke open the manual. I set up all 3 machines as services only for Qmaste

  • EDQ Log options for monitoring Web services

    Hi We have a specific need to monitor the web service calls through EDQ (EDQ CDS integration with Siebel). Can you assist with the options to set in logging.properties which will allow us to see the web service logs without the log information crowdi