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

Similar Messages

  • 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

  • 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

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

  • 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

  • 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

  • How to check if a user fills a header text in billing invoice

    Hi everybody and thanks in advance.
    My consultant wants to oblige all users to fill a header text when they create the billing invoice (vf01).
    I was looking for several user exits when I can manage this requisite.
    My problem is that when the user creates the invoice and push save button, I try to look for in the table STXH if the user created the header text. But I have not found anything, because the invoice has not created yet.
    Only when the billing invoice has saved, the header text is stored in the table STXH.
    I has been trying to find a structure wich contains the header data like xvbrk contains the data about type of invoice, etc.
    I have studied this user exits:
    userexit_number_range (module pool saplv60A, program rv60afzz)
    userexit_account_prep_komkcv (same module)
    userexit_account_prep_kompcv (same module)
    userexit_fill_vbrk_vbrp (same module)
    v60A0001 (Customer functions in the billing document).
    My question is: In which structure is the header text of billing invoice manage before push the save button?
    If I knew where it is, I could manage the data and check if the user filled the header text.
    Thank you very much, and sorry for my pour English.

    David,
    Place this code into USEREXIT_NUMBER_RANGE:
    DATA: CATALOG LIKE TCATALOG OCCURS 0 WITH HEADER LINE,
          MEMORY_ID(30).
    data: c_MEMORY_ID(30) VALUE 'SAPLSTXD'.
    DATA l_head type THEAD.
    DATA wa_head type THEAD.
    data: l_lines type table of TLine.
    data: l_line type TLine.
    DATA l_CATALOG type TCATALOG.
    IMPORT CATALOG FROM MEMORY ID 'SAPLSTXD'.
    loop at catalog into l_catalog.
       if  l_catalog-IS_REFTEXT is initial
       and l_catalog-keep is initial.
         concatenate c_memory_id l_catalog-id into memory_id.
         import thead to l_head
                tline to l_lines
           from memory id memory_id.
         loop at l_lines into l_line.
           message i000(zz) with l_line-TDLINE.
         endloop.
       endif.
    endloop.
    It will expose the text entered into the text ids in a message box (for now).  You will want to replace the MESSAGE statement with your own logic.
    You may also need to change the message numver/class from ZZ - as seen here "message i000(zz) with l_line-TDLINE."  with an appropriate message on your system.
    DON'T forget those points.

  • Texts from Billing on smartforms

    Get text from billing document to add on smartform.
    From the bolling document i need to get two header texts:
    Booking Number and Conatiner number and display it in smartform .
    Can anyone let me know how to read those texts to display them in Smartforms.
    In the Header structure (Global Interface ) for billing document , I cant find the text for it .
    Please let me know how to do this ?
    Thanks

    Hi
    Create a text node and choose INCLUDE TEXT as type in General Attribute tab.
    Here you can insert the keys if text as variable in order to explode the text automatically:
    Text Name         &V_TEXT_NAME&
    Text Object       &V_TEXT_OBJECT&
    Text ID           &V_TEXT_ID&
    Language          &V_TEXT_LANGUAGE&
    Max

  • 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

  • Billing Document _ Accounting Document not created

    Dear SD Experts,
    While creating billing document, the accounting document was not created.  So, the debit entry in customer account was not made. But the Excise Invoice was created with reference to this billing document. Modvat was also utilized. The reason for not creating the Account document is error in VKOA. Now G/L account is assigned. When I tried to Release the accounting document in VF02, it not responding.   Pl let me know how to correct this.
    -K.Bharathi-

    Dear Bharathi
    If your concern is only about maintaining same number range, then it is quite possible.  You cancel the excise invoice in J1IH and b4 recreating the excise invoice, go to SNUM, input the object type and execute.  There you can see the last number of excise invoice generated.  There you have to maintain one number less from the number which you had cancelled above.
    Now create excise invoice so that the same number range will flow.  On the other hand, if you have any problem leading to FI implications, then you have to explain clearly.
    thanks
    G. Lakshmipathi

  • 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

  • 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

Maybe you are looking for

  • I could not found all music and videos in my laptop in itunes? how can i get all content to my itunes?

    hi i am using iphone 3gs 32gb. i installed itunes in my laptop but i couldnot found all files like music and videos present in my laptop. can anybody tel how to get all content? thanks you

  • Can't Access Reports In Power BI Mobile App

    I have a dashboard in Power BI that I can access with no problem in SharePoint Online. However, when I try to access the same dashboard via the Power BI app for Windows, I get a "The server can't process the request. Please try again later" error mes

  • Xquery Mapper

    Hi, I am done with the Xquery Mapper and have got an .xq file as an output. This .xq file takes an .xml as an input converts as defined in the Xquery tool. I have gone ahead and loaded this .xq file in the Aqualogic, which has provided with the funct

  • How to update pvd tables

    Can any one guide me how to  update SAP PVD Table

  • Problem creating record in FB4/Coldfusion

    I am trying to insert a record into a mysql database using ColdFusion called from Flashbuilder. Nothing I have tried has worked. Is there a simple form somewhere what has all the code I can look at? Just insert a name into a table would do fine. This