Adobe Forms: Printing Header Text - Background as Dark

Hi,
We are upgrading our ECC system to Enahncement Pack 5.
We have Adobe forms for Sales Order, Delivery Notes,... In Border Palatte, we have set 'Solid' as a background fill for our header texts
After applying patches, Adobe forms started printing header texts background very Dark.We are not able to read the texts. If I view the document in the spool then they are displayed correctly. If I save spool document on the desktop and print it then also output is printed as we want. Only when we print it directly through VA01, VA02 ( directly from SAP ) then it gives this error.
I removed the background fill then it prints text correctly but then I loose the separation between header and content.
I will appreciate any help in this regard
Jitendra Pongurlekar
Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
Edited by: Thomas Zloch on Mar 4, 2011 10:55 AM

Hi mrudul,
as usual in programming, you got different ways to solve the problem. So if you work through the content here on SCN you will find a lot of examples how to decide between different letter heads. The easiest solution (and might be the best) is to pass the necessary data via the interface and do not add any condition in the form itself.
How to create a dynamic field and all the stuff is very basic knowledge, so I think you do not need any explaination how to do that. If so I refer you to the official documentation provided by SAP.
If you have some minutes please work through this blog Before You Ask - Just another guide and phrases like "urgent" or "do reply" are just not necessary to get an answer
~Florian

Similar Messages

  • How to use Read_text in Smart Forms for printing Header Texts

    Dear ALL,
    I want to print Header Texts in SmartForms, For that
    I am using T/Code VL02N .. and choosed  Header ..
    got this details...  from Text Header.
    Text Name       :0080000441
    Language         :EN
    Text ID             :Z002
    Text Object       :VBBK.
    So in Smart forms Under Template i have created a text and Program Code .
    Inside that I have used this below code .
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    *CLIENT= SY-MANDT
    ID = 'Z002'
    LANGUAGE =  SY-LANGU
    NAME = NAME
    OBJECT = 'VBBK'
    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.
    CLEAR IT_TLINE.
    ENDIF.
    Kindly suggest me, Where  to declare the variables and loops for using this Read_Text Syntax in Smartforms .
    Response to this will be highly appreciated........  
    Regards ,
    Vinoth.

    hi
    good
    please check this code
    CONSTANTS:
    *For text reading like in LCNMMFTX / FORM SET_CONTROL_TEXT
               text_id  like thead-tdid     value 'MATK',
               text_obj like thead-tdobject value 'AUFK  '.
    data tlines like tline occurs 0 with header line.
    data tdname like thead-tdname.
    data tdheader like thead.
    if not it_proj-ltxsp is initial.
    refresh tlines.
            tdname = sy-mandt.
            tdname+3 = it_proj-rsnum.
            tdname+13 = it_proj-rspos.
            tdname+17 = it_proj-rsart.
            call function 'READ_TEXT'
                 exporting
                    id        = text_id
                    language  = it_proj-ltxsp
                    name      = tdname
                    object    = text_obj
                 importing
                    header    = tdheader
                 tables
                    lines     = tlines.
                exceptions
                   not_found = 01.
    thanks
    mrutyun^

  • Formatting Long Text gets disturbed during Adobe form Printing

    Hi Guru's,
    I have developed Adobe Form for PM work Orders (IW32) printing using Code u2018SFPu2019. The Order Contains order Long Text or Operation Long Text.
    In my case the user maintains some table like structure in the Long text .e.g. ( Here the tab means the actual space and the text length can vary. So basically he will draw a table cells one below another by adjusting tab's)
    Text 2 Tab Tab   |___|___|
    Te TabTab Tab |___|___|
    I am reading this using READ_TEXT and it gets perfectly read.( I mean the tab positions will be intact. Also it will remain intact by the time ADS will get called)
    When i submit this for generating Adobe Form the formatting of the tab positions gets disturbed and it prints something like
    Text 2 |___|___|
    Te |___|___|
    How to keep the Tab positions intact while printing the Adobe Form? For SAP script printing it comes perfectly but for Adobe form printing it gets disturbed. Any idea how to handle this situation?
    Thanks
    Pradeep

    Tough request!
    You have to calculate the widths of texts so that to determine to which tab position refers each tab character.
    You might print the sapscript to OTF format, and read the OTF to get the exact positions (based on top left border of the page).
    But now comes the second big issue: how to position a text in Adobe form at a dynamic position. That, I don't know. You might ask a question about this 2nd issue in forum

  • Printing header text

    hi,
    when i went through smart form code ,i found the following code for printing texts for items(me23n-->item--
    >texts)
    in TEXT  node in smartform   (for printing item text):
    TYPE: INCLUDE TEXT
    TEXT NAME : &G_TEXT_KEY&
    TEXT OBJECT: EKPO
    TEXT ID: F01
    LANGUAGE: &SY-LANGU&
    How to create text name,text object,text id?
    when i gave text name & text id in SO10 &then display it's giving message Text Id F01 for Text Object  TEXT does not exist.
    how to create text object EKPO instead of  TEXT.where can i see this TEXT OBJECT option.
    how can i print header texts in ME23N?
    please help?

    hi mustafa,
      1. If you want to create text name, text object, text id.. you have to create functionally in spro settings....
       spro
    > mm
    > purchasing
    > messages
    > texts for messages
    > define texts for purchase order
        here you can define header texts or item text functionally
    If you want to create in you po then go to header text tab and create with respective  text
    2.  if you want to print header texts simply pass only
         po number in text_name,
         text_object : ekko
         text_id : depends up on ur text check i header text tab
        language key u know as usual
    Don't forget to reward points
    praveen

  • Seperate Adobe Form printing for each order

    Hi,
    I have a scenario where i need to print Adobe Form for each order.
    Right now i am handling this from print program(Executable) by looping at the Adobe form FM for each order.
    So it will print seperate Adobe form for each order with corresponding Header & Item Data.
    To get next order i need to hit on right & last arrows etc...
    So right now i am handling it through Print Program.
    Is there any way it can be handled directly at Adobe Form level.
    By passing all orders to Adobe FM at a time (Intsead of looping) and handling Adobe Form printing for each order at Adobe Form level itself!
    Thanks in advance.
    Thanks,
    Kumar.

    simple,
    create one new program  not driver program . Then u have to call that FORM
    1.Get all the data created during the dates.
    split the data into , based on the date ranges.
    2.
    loop at itab1.
    perform open_form
                write_form
                close_form
    endloop.
    loop at itab2.
    endloop.
    1) I need to print the form automatically when an Order is created.<b>---->COnfig</b>
    2) Every June 15th and Dec 15th I need to print the form for that Order
    automatically with some other data.
    <b>---> what ? what u split ?</b>
    *--Similarly I need to trigger the form in this way automatically for all Orders.
    <b>---> Config+ABAP</b>
    How can I trigger the Form automaticall for the above requirement
    Regards
    Prabhu

  • Adobe Form print/email - Attach IXOS .tif images via string table param?

    I am attempting to create an Adobe Form print/e-mail output for Invoices, with zero, one or many attached pages from the IXOS archive.  (TIFF files.)  So far I have managed to attach exactly one IXOS image.  Now I need to make the number of attached images dynamic.
    This is in Netweaver 7.0 / ECC 6.0 ehp 3 / LiveCycle Designer 8.1.
    My ABAP driver program is a copy of SD_INVOICE_PRINT01.  In pseudocode, I've added:
    Logic to identify correct IXOS image.
    Logic to extract IXOS image to application server's file system.
    OPEN DATASET image.tif FOR INPUT IN BINARY MODE.
    READ DATASET image.tif INTO xstring.
    CALL FUNCTION 'SSFC_BASE64_ENCODE' EXPORTING xstring IMPORTING string.
    APPEND string TO string_table.
    CALL FUNCTION form_name EXPORTING attachments = string_table.
    The form interface is a copy of INVOICE_INTERFACE (ABAP dictionary-based.)  I've added import param. ATTACHMENTS type STRING_TABLE.
    In the form's context tab, interface import param. ATTACHMENTS was dragged & dropped onto the context pane, yielding:
    - Table ATTACHMENTS
    -- Structure DATA
    --- Field ITEM.
    In Adobe LiveCycle Designer 8.1, I *can* create an image field with binding ATTACHMENTS.DATA[1].ITEM - that prints the TIFF from IXOS just fine.
    What *does not* work is placing ATTACHMENTS on the form as a table of image fields.  I've tried several combinations - most look like this:
    - Table or Subform ATTACHMENTS, binding ATTACHMENTS, repeat for each data item max = 1.
    -- Row or Subform DATA, binding DATA[*], repeat for each data item min = 1.
    --- Image field ITEM, binding ITEM.
    The result is consistently one blank page.  No more, no less.
    Can anyone help?
    Edited by: Eric Hopp on May 12, 2010 12:09 AM

    Hello,
    I have no experience regarding the table of pictures, but you could try a workaround if you don´t insist of displaying the images. You could attach the pictures as attachments (you know, the little attachments icon on the left in your Reader). The ABAP coding for this can be found in SE38 FP_* and when you check the descriptions you should be able to find the one working with the attachments.
    Would be better than nothing I guess,
    Otto

  • Adobe form printing on letter head as background

    Hi,
    I have developed BANK letter in HR  using adobe forms.
    Now user want to get PDF  on letter head .
    How to get background as letter head. I want to select differnt letter head PDF depends on company code (BUKRS).
    Where to write condition checking fo rcpmpany cod waise letter head .
    Please do reply.
    Its urgent.....

    Hi mrudul,
    as usual in programming, you got different ways to solve the problem. So if you work through the content here on SCN you will find a lot of examples how to decide between different letter heads. The easiest solution (and might be the best) is to pass the necessary data via the interface and do not add any condition in the form itself.
    How to create a dynamic field and all the stuff is very basic knowledge, so I think you do not need any explaination how to do that. If so I refer you to the official documentation provided by SAP.
    If you have some minutes please work through this blog Before You Ask - Just another guide and phrases like "urgent" or "do reply" are just not necessary to get an answer
    ~Florian

  • How to change pdf (with dark background) so it print with white background and dark text??

    I have lots of nice presentations I am studying- the problem is most of them were made in ppt with dark backgrounds and white text then converted to pdf files. So when I print them, I get a dark (black) background with white text- very annoying. Is there anyway to get it to print with a light (or no) backround with black text? This is much easier for note taking/etc. I have adobe acrobat professional.

    Use the rectangle shape tool. Draw a rectangle over the entire frame. In the shape tab, color it whatever you want. Export your TGA sequence.
    Andy
    PS: But if you place a colored bkg in your motion project that you will effectively have no alpha channel. Are they referencing the TGA's alpha?

  • Adobe Form - Print page at the end for every record of a Z table with Text

    Hello friends, I am facing a challenging here and I need to develop the following below. Mind you, I don't have much exposure/experience with Adobe Forms
    Scenario: Standard REAL ESTATE Contract Form
    I have a Z table containing RENTAL OBJECTS, in my case 3 records and I want, at the end of the form print one page like below to each record that i have in my Z table.
    "Dear Z-field1 one, regarding your contract for Z-field2, Address Z-field3, blah blah blah"
    In essence, print a page for each one of them at the end, with the text above using the fields from the z table.
    I searched the forum and couldn't find any thing like it.
    If someone can help it would be much appreciated.
    Thanks, Marco

    Hi Marco,
    You must be having the ztable fields in the context or in the data heirarchy of the adobe form.
    Assume that your main form is on the page1.
    Create a table bound to ztable with 3 rows in it and make it invisible on the form.
    Below the form create 3 pages page2, page3 and page4.
    Create a ISR text display and on the initialise event write the code such as:
    this.rawValue = data.page1.Table2.Row1.Cell1.rawValue;
    Create as many ISR texts as you want and initialize it using the above method.
    Page1
    form
    Page2
    Row1 values
    Page3
    Row2 Values
    Page4
    Row3 Values
    Hope this helps.

  • Adobe Form Print Problem - Header is cut off without print preview

    We are currently experiencing a problem when trying to print Adobe forms.  We have created several forms and are experiencing the same issue with all forms.  The issue occurs when we are trying to print a form.  If we choose a print preview prior to printing, the form looks normal and prints fine.  However, if we do a direct print (i.e. no print preview), then the top part of the form is cut off.  It's almost like all of that data on the form gets shifted upward, cutting off about 1/2" to an 1" from the top of the form.  We have tried printing to different printers and are ending up with the same results each time.  We do not experience this issue with SAPScript.
    I have searched several threads and haven't been able to find an issue quite like the one we are experiencing.
    Has anyone ever exeperienced a problem like this before? 
    Currently using Adobe LiveCycle Designer 8.1.2 and are on Netweaver 7.00 EhP1.
    Thank you for any help.

    I am going to go ahead and close this thread as I believe we have found a solution.  Sai is correct that there is an issue with the design.
    If anyone else runs into this problem, take a look at note 968394 that talks about differences between print preview and printing from spool.  When you are in the print preview dialog box, under "Page Scaling," the default is "Shrink to printable area."  So if your form went outside the margins, it would shrink to fit giving you the impression that the problem is not with the print preview rather than the form itself. 
    After moving the header stuff down a bit everything is printing normal both through the spool and via print preview.
    Thank you!

  • Help required. How to print Header Text in customized PO ?

    Hi experts,
    Please help me go forward with this.
    I'm using a ZMEDRUCK & standard printing program.
    I have put my code here. Pls go through it and help me what has to be corrected here.
    PROGRAM  ZMEDRUCK_SUBP2.
    FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
                                 out_tab STRUCTURE itcsy.
      TABLES EKKO.
      DATA: BEGIN OF header OCCURS 0,
              ld_txt1(163),
              ld_txt2(163),
              ld_txt3(163),
            END OF header.
      DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
            ID like THEAD-TDID,
            TNAME LIKE THEAD-TDNAME,
            TDOBJECT like THEAD-TDOBJECT.
      DATA  HTEXT LIKE EKKO-EBELN.
      DATA f_lines TYPE P.
    *  HTEXT = EKKO-EBELN.
      READ TABLE in_tab WITH KEY EKKO-EBELN.
      if sy-subrc = 0.
      TNAME = in_tab-value.
      ENDIF.
    *TNAME = EKKO-EBELN.
    *CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
    *MOVE v_head_text to HNAME.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = TNAME
    IMPORTING
       OUTPUT        = TNAME
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
    *   CLIENT                        = SY-MANDT
        id                            = 'F01'
        language                      = 'E'
        name                          = TNAME
        object                        = 'EKKO'
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        = TNAME
      tables
        lines                         = li_lines
    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.
    READ TABLE li_lines INDEX 1.
      IF sy-subrc = 0.
        header-ld_txt1 = li_lines-tdline.
      ENDIF.
    DESCRIBE TABLE li_lines LINES f_lines.
      data: lstr type String,
            lstr1 type string,
            lstr2 type string,
            lstr3 type string,
            lstr4 type string.
      read table li_lines index 1.
        lstr = li_lines.
        condense lstr.
        clear li_lines.
      read table li_lines index 2.
        lstr1 = li_lines.
        condense lstr.
        clear li_lines.
      read table li_lines index 3.
        lstr2 = li_lines.
        condense lstr.
        clear li_lines.
      if f_lines GT 3.
        read table li_lines index 4.
        lstr3 = li_lines.
        condense lstr.
        clear li_lines.
      read table li_lines index 5.
        lstr4 = li_lines.
        condense lstr.
        clear li_lines.
        endif.
      DATA: v_text type text.
          CONCATENATE lstr1 lstr2 lstr3 lstr4 into v_text separated by ' '.
          CLEAR out_tab.
      READ TABLE out_tab WITH KEY name = 'TNAME'.
        out_tab-value = v_text.
        MODIFY out_tab INDEX sy-tabix.
    ENDFORM.
    And my script is :
    /:PERFORM FETCH_TABLE_DATA IN PROGRAM ZMEDRUCK_SUBP2
    /:USING &EKKO-EBELN&
    /:CHANGING &TNAME&
    /: ENDPERFORM
    IL RECEIVED FROM M/S     &TNAME&

    Hi,
    Use this Function module 'READ_TEXT'
    T_lines contains the header text, you can loop it and display it in sap script
    Function module to read the header text
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = 'F01'
          language                = sy-langu
          name                    = ekko-ebeln
          object                  =  ekko
        TABLES
          lines                   = t_lines
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
    Regards
    Krishna

  • How to Print Header text in PO SAPScript

    Hi Gurus,
    I am working on PO Script (MEDRUCK). I copied the Standard to a Z form. ZMM_MEDRUCK, Now I need to print the the Header text at the end of MAIN window. I created a a perform and call it from the Script and read the heder text by using FM Read_text
    DEFINE &TEXT1& = ' '
    PERFORM GET_TERMS IN PROGRAM ZMM_MEDRUCK_ROUTINE
    USING &EKKO-EBELN&
    CHANGING &TEXT1&
    ENDPERFORM
    PROTECT
    &TEXT1&
    ENDPROTECT
    but while returning I am getting only one line. Can any body suggest me how I can read the Header text in PO script. Please provide the sample Code.
    Regards
    Sony

    Hi,
    Use this Function module 'READ_TEXT'
    T_lines contains the header text, you can loop it and display it in sap script
    Function module to read the header text
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = 'F01'
          language                = sy-langu
          name                    = ekko-ebeln
          object                  =  ekko
        TABLES
          lines                   = t_lines
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
    Regards
    Krishna

  • Printing Header Text in Purchase Order

    HI,
      Actually I had the problem. A smart form has been developed for printing Purchase Order.  Here in smartform a field has been declared to accept whatever the text had keyin in Header Text has to appear in Purchase Order.  It is printing correctly until it is of Two paragraphs which consists of two or max three lines.  Whenever it is exceeding these two paragraphs even a single word.  It is printing something from the middle and in a reverse way.  To get the clear picture I will give the example below.
    <b>Ex.</b> <b>I</b>) This Purchase Order has been given.
        Delivery has to be make on time.
    In the above example it is ok printing properly.
    <b>Ex.</b> <b>II</b>) This Purchase Order has been given after
            verification.
            Delivery has to be make on time as scheduled.
            On Delay PO will be cancelled.
      In this IInd example the output is showing as
    <b>Output:</b>       to be make on time as scheduled.
          verification.
          This Purchase Order has been given after
          On Delay PO will be cancelled     
          Delivery has
      Waiting for your help.
      Thanks in Advance.
    bye
    Abdul Mannan

    hi,
    Ofcourse, the field is a part of main window in Smart Forms.  I will elaborate further, In Main window we declared one <u><b>Table</b></u> in the Tables <u><b>Main Area</b></u> there is a <u><b>Row</b></u> and in a Row there is a <u><b>Cell</b></u> in a cell we declared one <u><b>Text Field</b></u> which is taking that <u><b>header text</b></u> and printing it as output.
    I hope you got it. 
    Waiting for reply with a good solution.
    Thanks and Regards.
    Bye.
    Abdul Mannan

  • Reg: Adobe form printing

    Hi Experts,
    I have requirement in Adobe forms. In that i am using Text modules to display the data in multiple languages. But text module which i am using should be repeated based on input given.
    for example: if input is one then the text module should be displayed once.
                         if input is 2 then the same text module should be displayed twice
                         if input is 3 then the same text module should be displayed thrice.
    Can anybody please suggest me.
    Regards:
    TMR.
    Moderator message: wrong forum, please post again in Adobe Interactive Forms.
    locked by: Thomas Zloch on Sep 24, 2010 11:55 AM

    Hi,
    Declare a variable of character type and concatenate DTAP and Bar code value into that variable.
    Later print that in required bar code format.
    Try this.

  • Section Header Text Background Color

    Hi have a catalog that has a running section header that will be placed over a black graphic the width of the page header.  I would like to have a white background box appear the length of the header section text, but not be the full length of the text box defined on the master pages for the header.  I would like to do this in an automated fashion rather than manual placing the graphic around the header text on each page.  It won't work to place a white box under the text as it is part of the background already being a master page item, or am I missing something.  In brief can I have a background color that dynamically adjusts to the length of a text string?
    Thanks,
    Dave

    If that text has a character style (or if it doesn't give it one) make the character style include an underline, then make that underline really thick and give it a baseline shift.  The same technique is commonly used for highlighting.  There's a few other options you can play around with in the underline options too.

Maybe you are looking for

  • Changing rmem value

    hi all i tried to install oracle database 10g rel 2 on oracle enterprise linux rel 5 & i need to edit file /etc/sysctl.conf to change rmem & wmem (default,max) values to recommended values then i change values , save the file & reboot my system but w

  • ORA-27102 when creating a new database

    I have a 10.2.0.4 RAC database on 64-bit Redhat Enterprise Linux AS Release 4. We have 32GB on both machines in this cluster. Currently there are 5 databases running, each with 1GB SGA and 256M SGA. When I try to create a new database, with the same

  • F.62 Configure print program

    Hello Experts, I need to modify the data and the layout of transaction F.62 (Print Journal Voucher).  I have searched information from the web that it is possible to add a custom print program to modify the logic.  I would like to ask what is the tra

  • Can't play video on TV

    Hi, I've got a 3G iphone, with the latest firmware, and a set of Component AV cables (http://store.apple.com/us/product/MB128LL/B). I plug them into the TV, goto the right video mode and try to play a TV show on my iphone. The sound from the show pla

  • Create ODI Agent

    Hello, I am trying to create a new ODI agent and I can't find any simple set of steps to follow. Should I set up the physical and logical agents first? If I want it to be a scheduler agernt running as a windows service is there a different set of ste