Header Text from VF03 tcode

Hi experts,
I have a requirement of getting the Header note from VF03 for a specific document and extract it to our BI System. What is the best function module to use to get that Header text and what database table to where i can see those header text that the user input for a document?
Please help......
Thanks,
nips

Hi,
  fetch the texts using the fm READ_TEXT, they header details are stored in the d/b table STXH,
the parameters that are to be passed to the function module can be obtained by double clicking
on the text then follow the menu path Goto VF03>, header> texts click on the text
and use Call log icon, which willl show u the Object , ID details of text
Regards
Kiran Sure

Similar Messages

  • 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

  • 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

  • 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

  • FI document Header text formation using tcode F110 (Automatic payment )

    After completion of tcode F110 i.e. completion of a cycle of automatic payment transaction
    Then we can see header text of created FI document number by using tcode fb03.
    But the header text created through F110 has a concatenation of Run Date and Identification.
    There is problem that how it can happen?
    I have gone through all program code; there is no such direct coding for concatenation of header text, rather concatenate happens at different level of coding.
    We can create FI document using FB01 also and there is choice to enter Header text manually as well as we can select it using F4 help.
    Any one has any IDEA regarding this?
    Thanks,
    Suyog

    Hi
    I'm not sure it's helpful answer. The code below shows the way to change FI document header text (BKPF-BKTXT).
    tables: bkdf, bkpf, bsec, bsed, bseg, bset.
    constants:  c_bukrs type bkpf-bukrs value '11',
                c_belnr type bkpf-belnr value '1900000001',
                c_gjahr type bkpf-gjahr value '2011'.
    data: t_bkdf  type standard table of bkdf with header line,
          t_bkpf  type standard table of bkpf with header line,
          t_bsec  type standard table of bsec with header line,
          t_bsed  type standard table of bsed with header line,
          t_bseg  type standard table of bseg with header line,
          t_bset  type standard table of bset with header line.
    start-of-selection.
    * BKDF
      select *
        from bkdf
        into table t_bkdf
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    * BKPF
      select *
        from bkpf
        into table t_bkpf
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
      loop at t_bkpf.
        concatenate t_bkpf-bktxt '-R'
        into t_bkpf-bktxt.
        modify t_bkpf.
      endloop.
    * BSEC
      select *
        from bsec
        into table t_bsec
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    * BSED
      select *
        from bsed
        into table t_bsed
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    * BSEG
      select *
        from bseg
        into table t_bseg
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    * BSET
      select *
        from bset
        into table t_bset
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    end-of-selection.
      call function 'CHANGE_DOCUMENT'
        tables
          t_bkdf           = t_bkdf
          t_bkpf           = t_bkpf
          t_bsec           = t_bsec
          t_bsed           = t_bsed
          t_bseg           = t_bseg
          t_bset           = t_bset
    *   T_BSEG_ADD       =
    hope it's help.
    Peerasit

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

  • Read header text from vf01 and print in script main window

    Hi Gurus,
               I need to read text from vf01 header note 1, there user type max 10 lines i want to read that 10 lines and print in sap script main window after line item printed. i used read text but  one line only  fetched. i declare variable like  data : NEXRSP LIKE TLINE-TDLINE and read_text function module. pls provide solution for this.
    Regards
    G.Vendhan

    HI GURUS,
    Thank u for reply i declare like
        ID = '0002'.
        PERFORM READTEXT USING EN NAME OBJECT ID TEXT_OUTPUT.
        NEXRSP = TEXT_OUTPUT . CLEAR TEXT_OUTPUT.
    FORM READTEXT  USING    P_EN
                            P_NAME
                            P_OBJECT
                            P_ID
                            P_TEXT_OUTPUT.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          CLIENT                  = SY-MANDT
          ID                      = P_ID
          LANGUAGE                = P_EN
          NAME                    = P_NAME
          OBJECT                  = P_OBJECT
        TABLES
          LINES                   = LINES
        EXCEPTIONS
          ID                      = 1
          LANGUAGE                = 2
          NAME                    = 3
          NOT_FOUND               = 4
          OBJECT                  = 5
          REFERENCE_CHECK         = 6
          WRONG_ACCESS_TO_ARCHIVE = 7
          OTHERS                  = 8.
       LOOP AT LINES.
        P_TEXT_OUTPUT =  LINES-TDLINE.
        EXIT.
       ENDLOOP.
      FREE LINES. CLEAR LINES.
      ENDFORM.                    " READTEXT

  • 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

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

  • Transfer of Header text from Sales Order to Delivery

    Hi Experts,
    I had a requirement to populate Terms of delivery text in Sales Order Header text with some predefined value which I have accomplished using MV45AFZB - User Exit USEREXIT_CHECK_VBAP which transfers the text on save of the document to sales order header (terms of Delivery Text ) .
    Now the issue is the same text is required to be copied to delivery - Terms of Delivery header Text. But this is not happening/Its occuring one out of 4 times . I am not able to find out the reason for this.
    Please help in this regard.
    Thanks

    This can be set in conifugration. Transaction VOTXN. The delivery header text can be set to be referenced from the sales order.

  • Pull header text from sales order

    Hi all im trying to get the External header text entered on the SALES ORDER to print out on the INVOICE and the PACKING LIST
    I have started out with using the READ_TEXT FM, but I am not sure how to pull the text from a different document.
    any ideas?
    thanks

    Hi,
    You can find more in the thread;
    FM READ_TEXT
    Thanks

Maybe you are looking for