Header text problem

Hi,
Im trying to display the header text of PO order in the last page of my form. But the text may be unlimited, so in that case i have kept the text-element printing that text in the main window of the last page instead of keeping it in a separate window.
Now, since its in main window the data is getting printed in other pages also (data is getting overlapped). I tried protect,endprotect but still the problem persists. I also tried to keep the other window as the main window. Its not printing the text.
Any suggestions?

HI Sudharsana,
Call this text element in the driver program...
at last
     call function 'WRITE_FORM'
       exporting
       element                          = 'PO_TEXT'
Regards,
Sravanthi

Similar Messages

  • Order header text problems when using transaction EC20 (front office)

    Hello all,
    I am to debug a problem. I use transaction EC20 to capture information about connection objects and devices followed by creation of a work order. At one point in time I am presented with a screen where I can enter order header text (looks like SAPscript lines of text). However, even if I enter 3, 4 or more lines, only the first line of the text is captured.
    I then use transaction IW33 to look at the order and will see the first line only. Any idea if this is a SAP bug, or something else. If SAP bug, then any OSS note or remedy?
    Your help is greatly appreciated.
    AG

    Hi,
    the screen you said look like a script editor screen is actually for trext maintainence...you can find such screen in se 38 documentation tab.this screen still exists because 3.1 and the versions before were using this screen for editor.
    now when you say it captures only 1 line just go and find out the length of that particular field.If.
    Please let me know if the problem still exists
    Thanks
    vivekanand

  • BAPI_ACC_DOCUMENT_POST problem in header text(bktxt)

    Hi experts,
               Am using bapi  BAPI_ACC_DOCUMENT_POST for gl upload for t-code f-02. the problem is header text(bktxt) is not uploading in fb03. how to solve this problem??
    Regards,
    Sunita.

    Because BAPI: BAPI_ACC_DOCUMENT_POST will Check BADI with Posting
    1.BADI Information:
    (1)Object Type Name(Interface) is IF_EX_AC_DOCUMENT (T-code: SE24)
    (2)Method: CHANGE_INITIAL & CHANGE_AFTER_CHECK
    2.Reason:
    (1)Once This BADI has been created for any reason,
        BAPI:BAPI_ACC_DOCUMENT_CHECK & BAPI_ACC_DOCUMENT_POST
        will check it for Document Header Text
    (2)If Method: CHANGE_INITIAL & CHANGE_AFTER_CHECK has been created for any reason,
        but Creator return an null Document Header Text, then BAPI will clear Document Header Text
    3.Solution:
    (1)Add source code into Method: CHANGE_INITIAL & CHANGE_AFTER_CHECK,
        please refer to (2) for detail source code below
    (2)
      DATA: wa_header TYPE acchd.
      IF sy-xprog EQ 'SAPLBPFC'.
    *---<SAPLBPFC> is for Posting     with BAPI: BAPI_ACC_DOCUMENT_CHECK
    *---<SAPMSSY1> is for Test(Check) with BAPI: BAPI_ACC_DOCUMENT_POST
        CLEAR wa_header.
        wa_header = im_document-header.
        ex_document-header-bktxt = wa_header-bktxt.
        CLEAR wa_header.
      ENDIF.

  • Problem when dispalying Sales document header text.

    Hi All,
             I am facing problem when displaying header text of Sales document. my problem is that
    when we got to VA02 -> give sales document number  press enter
    once afer going inside that sales document -> Goto Header text  . In text tab, on left hand side we can find many text for whch corresponding text has written on Right hand side Text area.
    i want that text to be print on script.
    i tried even by pressing F1 but i could not find where that text stores in database.
    can any one please explain it how to dispaly the text that is written manually in  text area on Script.
    regards
    Prasadh.

    Hi,
    You must call function module 'READ_TEXT' with the following parameters:
    ID = The technical text id number (see table TTXID for OBJECT = 'VBBK' for a list of valid values)
    LANGUAGE = your local language
    NAME = sales document number (all 10 digits with any leading zeros)
    OBJECT = 'VBBK'
    You will need to call the function module once per text type id (the list on the left hand side in VA02, header texts screen).  The text from the right hand side will be in an internal table LINES after you call the 'READ_TEXT' function module.
    If you just want to print directly from VA02, then choose the details button which takes you to another screen with Print functionality.
    Regards,
    Jamie

  • Problem: Create SO with BAPI_SALESORDER_CREATEFROMDAT2 & Head-Text Elements

    Hi all,
    I hape that sb can help me with my problem.
    I have created a ABAP-Program to create sales-orders with the function module:
    BAPI_SALESORDER_CREATEFROMDAT2
    Everythiunk works fine but I can not create text-elements (from the head) with this bapi.
    I know that I have to use the table "ORDER_TEXT" but I do not know how to fill this table.
    Can anybody help me?
    Best regards,
    pb974

    Hi,
    yes, you have to fill the order_text table. The following fields you have to fill:
    DOC_NUMBER   
    -> not to fill, let it blank
    ITM_NUMBER     
    -> if you want to create a header-text then fill ITM_NUMBER with '000000'
    -> if you want to create a position-text then fill the related position-number '000010' or '000020'....
    TEXT_ID
    -> fill this field with the text-id for which you want to create the text.
    -> The text-id must be defined in your customizing
    LANGU
    -> set the language for the text: 'E' or 'D' or......
    LANGU_ISO
    -> let it blank
    FORMAT_COL
    -> set a star (*) if you want to have the standard-format. If you have a special format defined in SapScript or in a Style you can set this one.
    TEXT_LINE
    -> fill in the text
    FUNCTION
    -> let it blank
    see below:
    data: i_text     LIKE bapisdtext  OCCURS 0 WITH HEADER LINE.
    Texte...
            CLEAR i_text.
            i_text-itm_number  = '000010'.    "Text for Position 10
            i_text-text_id         = 'ZA10'.        "Defined Text-ID
            i_text-langu           = 'D'.             "Language German
            i_text-format_col    = '*'.              "Standardformat
            i_text-text_line       = 'This is text for Pos. 10 - line 2'.   "the text
            APPEND i_text.
    ...if your text has more then one row... the same one to do...
            i_text-itm_number  = '000010'.    "Text for Position 10
            i_text-text_id         = 'ZA10'.        "Defined Text-ID
            i_text-langu           = 'D'.             "Language German
            i_text-format_col    = '*'.              "Standardformat
            i_text-text_line       = 'This is text for Pos. 10 - line 2'.   "the text
            APPEND i_text.
    ...and so one...
    and now text for position 20...
            CLEAR i_text.
            i_text-itm_number  = '000020'.    "Text for Position 20
            i_text-text_id         = 'ZA10'.        "Defined Text-ID
            i_text-langu           = 'D'.             "Language German
            i_text-format_col    = '*'.              "Standardformat
            i_text-text_line       = 'Text für Pos. 20 - Zeile 1'.   "the text
            APPEND i_text.
    ...and now the text for position in englisch
            i_text-itm_number  = '000020'.    "Text for Position 20
            i_text-text_id         = 'ZA10'.        "Defined Text-ID
            i_text-langu           = 'E'.             "Language German
            i_text-format_col    = '*'.              "Standardformat
            i_text-text_line       = 'This is text for Pos. 20 - line 1'.   "the text
            APPEND i_text.
    I hope it's a help for you.
    Erhard

  • Problem for Header text of Contracts

    Hi guys,
    a suggest:I have created in customizing a new header text and I want display and manage it on header of contract but when I create the contract see always the standard header texts 'release order text', 'header text','header note' 'pricing type' 'deadlines' but my own header text number 17 there is not.
    i have simply entered in customizing Contract>Texts for Contracts>Define Text Types for Header Texts and I have created the text with sequence numeber 17...how can I display it in header of contract?
    I have seeked for in this forum but in all messages on text I don't find this problem
    Thanks in advance
    Bye

    Hi,
    am adding up...........
    Please refer the below link......
    http://www.sap-advisor.com/abap-coding/sap-text-administration-and-info-records-for-purchase-orders/
    Hope it may help you...
    Venkat.

  • WD ABAP: Problem with Header text wrapping in Table Column

    Hi,
    I am unable to achieve Header Text wrapping for the TABLE columns. I have set the property "HeaderTextWrapping" to TRUE for each column and the "Fixed table layout" property has been set to TRUE.
    Is there some property of the table/column I have to set to achieve this? Or does selection of a specific property remove option of HeaderText Wrapping?
    Thanks,
    Adithya

    hi..
    Try increasing the width of column keeping other thing as it is as you have done. And yes check whether cell editor property wrapping is set true.

  • Header text update problem for BAPI_CONTRACT_CREATE

    Hi,
    We are in the process of converting the BDC for Contract creation ME31 into BAPI.
    For the purpose we had identified the BAPI,
    BAPI_CONTRACT_CREATE.
    The bapi works fine , except it doest not update the Header Text.
    The parameters passed for header text are
    Text ID : K01.
    Text Form : *
    Text line : ( Header text content).
    We are working on ECC6.0.
    Pls advice me how to proceed.
    Regards
    harish

    Hi Harish,
      Can you please give me a brief idea on how you are using this BAPI?
    1) What would be the format of excel file?
    2) Does the BAPI work for both create and update ?
    3) Any know limitation ?
    4) Any documentation you have or you can point me to on the web regarding this BAPI?
    Thanks
    AK

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

  • SAP SCRIPT Header text and Item text not printing in customized PO

    Hello Experts,
                          I have copied the standard MEDRUCK to ZMEDRUCK and customized the form according to the requirement.
    I want to print the header text and Item text in my form.
    For Header text I have used :
    /: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F01
    Problem 1: The text what I enter in header text is flowing only when I hit on print preview without saving the form. Once I save the SAP SCRIPT  and click on print preview the field is appearing blank. I also tried to print the form, but the field is appearing blank even on the print out.
    Problem 2: For item text the field is concatenation of  EBELN & EBELP. Can anyone suggest me how to concatenate and fetch the text in item text.

    Hi,
        Im getting an error in my subroutine pool for i_xtline which is to fetch ITEM TEXT., It says its not a in any internal table nor defined as data. How can I proceed further. I have pasted my code below. Please check and revert ASAP
    PROGRAM  ZMEDRUCK_SUBP1.
    TABLES: EKPO, EKKO.
    FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
                                 out_tab STRUCTURE itcsy.
    data xname like THEAD-TDNAME.
    data i_xtline like xtline.
    clear i_xtline.
    refresh i_xtline.
    CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
    MOVE v_item_text to ITEMTXT.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = F01
        language                      = EN
        name                          = ITEMTXT
        object                        = EKPO
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         = i_xtline
    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.
    ENDFORM.

  • Re: Report output header text longuage change

    Hi Dear's,
    Ataually my issue is am unable to change report output header field text to user specific login longuage....
    I.e. if user login to ITALY/GERMANY then report output header text should be displayed on same  Longuage for this can any body give me some idea
    Thanks & Advance,
    srinivas.
    Edited by: SRINIVAS1234 on Jul 23, 2011 11:35 AM

    Hi SRINIVAS1234,
    you can close it as answered and add your personal solution just to let people know how it can be handled. You can also close questions as unanswered but this implies that your problem is still existing.
    Regards
    Clemens

  • How to keep superscript in header text xref? It is OK in TOC.

    I am updating this generated book:http://www.crystalfontz.com/products/533/datasheets/1704/CFA533-YYH-KC_v1.0.pdf using FM 9, unstructured.
    As you can see on the title page, the product name has a superscript "2" in it. Unlike this post http://forums.adobe.com/message/1240012#1240012, I have no problem with keeping the superscript in the TOC.But I have a problem keeping the superscript "2" in the header text
    I set up the header text as a separate file.
    The "2" correctly appears as superscript in this header text file.
    In this header text file, the phrase of text with the superscript "2" is set up as a cross-reference with the cross-reference format definition as "<$paratext>".
    On the Master page for each file in the book where I want the header text to appear (for example, in the TOC, Body, Appendix files.), I have a marker for the cross-reference. I can change characters before or after the superscript "2" in the header text file, Update the book, and the header text cross-referenced  in the TOC, Body, Appendix files show the update.
    I have the superscript character tag in in the catalog of all the files.I am not using "As Is".
    Is this enough information to figure out what the problem is?
    If there is a dumb way to set up header text, please let me know. I've been using it this way successfuly for years but can change it, if needed.
    Thank you,
    Sylvia in Spokane,.WA

    Sylvia,
    If you need a superscript 2, why do you not just enter exactly that character and don’t both with extra character formats? With Western Windows you would enter the character using Alt+0178.
    ¹ = Alt+0185
    ² = Alt+0178
    ³ = Alt+0179
    Other fonts may have all digits available as super- and subscript characters, check with the Character Map utility.
    - Michael

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

  • Default Header text comes in PO at the time of creation

    Hi Friends,
                   my problem is that a default Header text must come on the PO based on the user or purchasing group at the time Creation (In Transaction ME21N).
    Is there any user exits or badi for it. I have already searched for them but i have not got any thing. Please help me.
    Thanks for ur valuable answers

    yes i know that through copy control we can get default text but it is item level text instead of the header text.and other thing it does not depend on the user or purchasing group. I default header text that is populated imediately when user call ME21N. So is there any BADI or user exit for that.Please reply.
    Thanks for ur reply and valuable answers
    null

  • Header text copy from quotation to sales order

    Dear all,
    My Client Requirement is like this if i entered some text in Quotation header text the same should be copied into sales order hearder text , i tried a lot i am unable to find the answer
    kindly guide me.
    With Regards
    san rao

    Hi San Rao
    If the Quotation header text has to be copied into the sales order then while configuring text determination , make sure that you are Configuring sales document at header level two times and .First time you configure for quotation and second time you do for sales order and while doing for sales order you assign a sales order and assign a the text id that has been used for quotation .then your problem will be solved
    Regards
    Srinath

Maybe you are looking for

  • I can't import my Camera Archive to final cut pro x

    In Final Cut Pro X, when I select Import Media I can navigate to a folder where I have my camera archives on an external drive. But all archives are greyed out and when I try to double click them from the finder, Final Cut Pro X opens but it says it

  • Quote and Sales Order BOM Explosion

    We are attempting to utilize a ETO process without PS.  We create a sales quotation and begin to build a quote BOM (using type 1 production) and a Routing for the entered quotation.  Eventually we decide to create a sales order with reference to the

  • Sending SMS or E-mail

    Is it possible send sms or e-mail from my mobile phone writing from personal computer while connecting via usb cable? If yes, via which program?

  • HOW to make 2 step Communication strategy  for external send

    Hi I have made this 2 step communication strategy and attached to an email output type for purchase order, but it doesn't work as expected. The 2 steps are 1  INT,  2 = PRT If the vendor/supplier has an email in the address the purchase order is send

  • Black Line at the bottom of the page

    Hello Everybody, I have a strange problem, I have a pages file, and there is a black line at the end of the page and I could not delete it. the file was .doc and i opened it by pages then saved a pages version. what can I do to remove this strange li