Copy header text from DO to billing via user-exit

Dear Experts,
We have a requirement to copy one text field in the DO header to Billing header text field. I've searched the forum before posting this one but none seems to fit my requirement. I am using RV60AFZC form USEREXIT_FILL_VBRK_VBRP for this. From VF01, I see the header text was populated but after saving, it is being cleared out. I suspect the copy control from sales order to billing header text is doing this, nothing is saved in the SO.
Any idea how to do this by configuration or by user-exit/enhancement spot?
Looking forward for your responses.
Thanks in advance.
nEnE

Can you please check VOFM>Copying Requirements>Texts, Routine 1. The documentation states:
"This requirement checks if the reference document header has a text entry.  If so, it is automatically transferred. This requirement is assigned in the detail of the access sequence for header text determination."
You can copy this in a 9XX routine number and write your specific code there.
Hope this helps!

Similar Messages

  • Copy header text from Purchage Requisition to Purchage order

    hi,
    My scenario is
    i was created Purchage Requisition 10000534 and i was maintained Header Text (any thing).
    Then i was created Purchase Order with reference to  purchase Requisition. But in Purchase Order Header Text not copied. Purchase Requisition.( I want to copy the Header Text From Purchase Requisition to Purchase Order).
    I am Using this Badi (ME-REQ-HEADER-TEXT).
    Thanks
    Munna

    Hi,
    Have you done the required configuration for this issue.
    SPRO --> Materials Management --> Purchasing --> Purchase Order --> Texts for Purchase Orders
    Define Copying Rules for Header Texts
    Define Copying Rules for Item Texts
    Regards,
    MT

  • Copying header text from STO to Delivery

    Dear Gurus ,
    I would be very gladful if somebody could help to resolve this issue ,
    My client requirment is ,
    While creating delivery , he wants header text from STO to be copied to delivery header .
    How this can be achived ??
    Thanks in advance.

    Hi Amod,
    Please use Standard Text Type (TCODE: VOTXN) under Customer --> Sales & Distribution --> Text Procedure 01(Customer Sales Text) --> 0002 Text Group for copying shipping instructions from STO to delivery document.
    So, maintain Shipping instructions under customer master data linked to Receiving Plant for STO process & the same data will copy into STO & delivery document.
    Hope this will answer your query.
    Regards
    Sumesh

  • Copying header text from Billing document to Accounting document

    Hi
    I have created a new text id in billing document using VOTXN, is it possbile to copy the header text maintained here to an accounting document field -> doc header text or any other text field when the billing document will get posted to accounting.
    Please guide.
    Thanks,
    Vaishnavi

    Hi,
    with a substitution (GGB1) for FI document header (BKPF-BKTXT) it can be possible. A user exit is required in the substitution to read the SD table.
    Regards,
    Joosz

  • Copying header text from PM notification to PM order

    Hi!
    My task is to copy the header long text from the notification into the PM order (made from/attached to the notification). I've checked the customizing, but there is only an option to copy standard texts into the order.
    So I would like to put the text into a memory ID, during notification saving, and put the text into the PM order. And of course without modifying the standard...
    How can I insert text into an order, which does not have its document number yet? I think I can not use the SAVE_TEXT...
    Thank you..
    Tamá

    Hi,
    Try to find userexit after SAVE. so you have document number, then you can use
    SAVE_TEXT.
    aRs

  • Copying header text from PR to PO

    Hi,
    I would like to change setup so text from Purchase Requisition Header is copied to Purchase Order Header automatically during PO creation.
    I would like to know how the Purchase Requisition Header text is copied to Purchase Order Header automatically during PO creation.
    Is there any configuration settings I need to do?
    Please explain me with your detailed steps.
    Cheers,
    kumar.S ///

    Hi
    USe the below config path
    Spro>MM>purchasing>purchase order>text for purchase order-->define copying rule for purchase order.
    Regards
    Antony

  • Re: Copying Header Text from Sales order to Purchase order

    Dear Friends,
    We have requirement to copy the "shipping instructions text"  maintained in the Sales Order to Purchase Order.
    Could some body guide to configuration settings needed to get this.
    Thanks,
    Krishna Redy

    Dear Suresh,
    We are creating the Purchase order with account assignment and in the PO we are giving the sales order number.
    When system is copying the Customer and order dedails to PO, same way we want to copy the Texts as it plays big role for the clients business process.
    SAP must have solution for this as it is genuine requirement. Hope someone call the right card.
    Thanks,
    Krishna Reddy

  • Transfer document header text from billing document to FI document

    Dear all,
    Where do I specify that the document header text out of the billing document should be transferred to the corresponding FI document?
    Currently, the FI document header text (BKPF-BKTXT) remeans blank after transfer from billing document. We need this field to be filled in, but I haven't found how to have this filled in.
    In copy control from sales doc to billing doc, there is the possibility to transfer the Reference number & Assignment, but nothing about document header texts.
    Some say that it would only be possible via coding, but anybody has any idea if it might be possible via standard SAP?
    Many thanks!
    Best regards

    Hi,
    We also had a bit same requirement, which is to copy the billing header text to FI item text (BSEG-SGTXT). The solution we took is to use FI Substitution (t-code GGB1), so that every time a FI document created from SD... the substitution reads the billing header text and put it in the FI item text. I think the same method could be used for FI header text (BKPF-BKTXT). Below is the solution for your reference.
    Prerequisite:
    Document Type = 'RV' AND Reference <> '' AND
    ( Transaction code = 'VF01' OR Transaction code = 'VF02' OR
    Transaction code = 'VF03' )
    Substitution:
    Using exit which coding is as below.
    *&      Form  u900
          Copy Billing Header Text to SGTXT
         -->P_SGTXT    FI Item Text
    FORM u900 USING p_sgtxt TYPE bseg-sgtxt.
      DATA: lv_name TYPE thead-tdname,
            lt_line TYPE STANDARD TABLE OF tline,
            lw_line TYPE tline.
      lv_name = bkpf-xblnr.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          id                      = 'Z001'
          language                = sy-langu
          name                    = lv_name
          object                  = 'VBBK'
        TABLES
          lines                   = lt_line[]
        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 EQ 0.
        READ TABLE lt_line
          INTO lw_line
          INDEX 1.
      In Billing Header Text, the sign '&' (ampersand) is automatically
      added some characters so it becomes '<(>&<)>'.
      The logic below is to fix that issue.
        REPLACE ALL OCCURRENCES OF '<(>' IN lw_line-tdline WITH space.
        REPLACE ALL OCCURRENCES OF '<)>' IN lw_line-tdline WITH space.
        p_sgtxt = lw_line-tdline.
      ENDIF.
    ENDFORM.
    Regards,
    Teddy Kurniawan

  • 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

  • Using browser javascript to copy selected text from a pdf file opened in Air app.

    I have posted this question on reader forum as well, but I think it is more suited here...
    I am trying to create a note-taking application in air. I want to extract selected text from pdf file as a string object or to the clipboard.
    Obviously, all pdfs in my local storage will not be scripted to recieve postMessages and act accordingly, and that is not practical either. So, my problem is, how can I copy the selected text in the pdf file (opened as an object in htmlloader within my Air app) to clipboard or directly in another control by say clicking a button in air application? I suppose, this is possible using javascript, however, I don't know which reader methods are exposed to the wrapper htmlloader control. In short, I want to execute app.execMenuItem("Copy") command through htmlloader javascript. Any alternate solutions are also welcome.
    This is similar to passing inbuilt commands/methods/functions (of adobe reader) to pdf-reader plugin embedded in a webpage via javascript. This is possible in IE where the pdf is rendered as activex object, and hence JSObject interface of pdf document/reader is accessible to the browser javascript. I have also read that this same JSObject is accessible to VB as interface for IAC, so as the Air is Adobe's own product, I was wondering if equivalent of JSObject is accessible to htmlloader control as well.
    Thanks in advance...
    Mits

    Thank you Thom for your reply...
    from
    http://www.adobe.com/devnet/acrobat/javascript.html
    ...Through JavaScript extensions, the viewer application and its plug-ins expose much of their functionality to document authors, form designers, and plug-in developers...
    As it is explicitly mentioned, that the functionality of adobe reader are exposed for plugin development, I thought someone here might have used external javascript to execute some safe methods in adobe reader. The functionality (i.e. external javascript interface-JSObject) is already available for VB programmers to develop IAC. Further, the Acrobat SDK example called "AcroPDFinHML" shows how one can embed a pdf-reader in a html page and execute some safe methods (like gotonextpage(), zooming etc.) in IE as ActiveX plugin. I have checked it myself for adobe reader 9, and it works perfectly, so there is no security issue as such to implement the same for another browser (like in my case, the htmlloader control in flex/air app).
    I intend to create a note taking application in air, where it is very much required that I should be able to copy selected text from various pdf documents, that are open in my app, and subsequently paste/collect/save the collected notes and process them afterwords (offcourse, from the pdfs that allow me copying text). However, it is not happening for me here. As the pdfs are opened through adobe reader plugin, it does not register the copy command executed by my air app. It registers the system level copy command (by keyboard shortcut Ctrl+C), but my air app has no way to execute the system level copy command programmatically. So I am kind of stuck here...
    Thanks again for your reply. Having known what am I intend to accomplish, any other (may be alternative) solutions will be appreciated nonetheless...
    Mits

  • How to read header text from VF03 into smartfrom

    Hi all,
    i want to print header text from vf03 in smartforms
    bye

    Hi,
    Tcode VF03 enter Billing Doc no -
    >goto header-----> select header texts
    When you get the values Textname, text id, textobject to the smartform.
    call the FM read_text in the programing lines to get the long text in the internal table. Another way to retrieve the long text is to use INCLUDE but for your requirement is better to uses READ_TEXT function module.
    Once you get the data in the internal table.
    Create table and loop the long text internal table. Now in the table when create a text node, keep a condition on the text node in the conditions column that when sy-tabix = 3. Which means you are skipping two lines (Administrative data).
    Procedure:
    1. Right click > create-> programming lines.
    2. In the Input parameters pass TEXT NAME, TEXT ID, Text Object and Interanal table(itab) and In output paramaeters the Internal table (itab).
    3. call function Read_text and pass the values.
    4. create a table for Itab.
    5. create a text node.
    6. Keep a condition on the text node sy-tabix = 3 in the condition tab of the text node.
    7. &itab-line&
    <b>Check this link for sample program</b>
    long text in smartform
    Regards,
    Maha

  • VOFM copy item text from STO to delivery

    Hello,
    Has anyone succesfully copied item text from a stock transport purchase order to the delivery by using a rule defined in VOFM data transfer > text  ?
    I can do it  for the 1st item of the PO, but the second item just pulls the info from the sales order text from material master.
    I know that SAP has an OSS note saying that this way is not anymore necessary, you can adopt text from STO with customizing settings. However I have to add some more text, not just copying the PO text, so I have to use this way.

    Hi Jurgen,
    Can you tell me step-by-step process to copy sto text to delivery?
    I have been able to customize copying of text from sales order to delivery to billing but sto to delivery is not happening.
    Your help will be highly appreciated.
    Thanks.
    Warm regards,
    Rahul Mishra

  • Read Header Text  From VF03 Transaction

    Hi Frds,
                  I want to Read Header Text  From VF03 Transaction
    Read Transport Number and Transport Date From Vf03 Transaction.
    Guide Me Briefly
    How to pass the varaibles to the function Module
    Regards,
    Kabil

    hi Kabil ,
        Your issue completely accepted just keep in mind
    1) if you have to read both text you have to use read_text 2 times
    2) in that for first read_text
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
          CLIENT                =       SY-MANDT
           ID                       =       '0002'
           LANGUAGE        =       SY-LANGU
           NAME                =        '             '          "" YOUR VARIABLE THAT CONTAINS Invoices number
           OBJECT             =        'VBRK'
          TABLES
           LINES                =         TLINE
       IF sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF. 
        is ok for Header note 1 .(means first text ) but for second text your ID is change other thing is same .
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
          CLIENT                =       SY-MANDT
           ID                       =       '0013'
           LANGUAGE        =       SY-LANGU
           NAME                =        '             '          "" YOUR VARIABLE THAT CONTAINS Invoices number
           OBJECT             =        'VBRK'
          TABLES
           LINES                =         TLINE
       IF sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    Hope this will help you
    Thanking You,
    shrikant padwale.

  • Header Text from VF01 into Line layout of F-30

    Good day..
    i Need help on this
    I need to display the header text from VF01 into F-30 line layout
    or
    display the text field from fbl5n into line layout of F-30 Process Open Items.
    thank you in advance

    Hi,
    As per your requirement is possible through by develop the Z tcode that means Zf-30, why because you didnt post the only acounting documents in this particular Tcode
    Is this ok for you means, talk with the abper they will the changes as per your reuirement
    Regards,
    Kanike

  • Copy Chinese Text from Word to SAP Script

    Hi,
    I need to change Chinese form. I am not able to copy Chinese text from word document to SAP Script.
    When I copy Chinese text from word to SAP Script, I am getting the Chinese text &#25215;&#36816;&#21830;&#31614; as ?????.
    I have done the following steps in my PC and SAP front end settings.
    1. At the Operating system level install the Chinees language.[Control panel - >Regional and language Option - >language Tab - > Click on Install Files for East Asian languages] If these language already installed then click on Detail and add the Chinese languages[Chinese (PRS) and Chinese(Taiwan).
    2. At SAP level click on Customizing of Local layout[Alt+F12] and click on options.Go to tab I18N and click on Activate the multi-byte functionalities to support check box.
    4.Take care of the Font while assigning to Character formar or paragraph format. Dont use normal font name. Example of chinese phone "CNSONG".
    Please help on the same.
    Thanks & Regards,
    Govind.

    Hello,
    I hope when you are changing form ,you hv logged in  chinese language .
    Sap log-in: Chinese ,PC-setting : chinese font loaded & correct charcter format in script : chinese font.
    If all this is there then you should not hv trouble in getting chinese text from word to SAP script.
    Thanks.

Maybe you are looking for