Changing header text in each copy while form Printing

Hi all,
I have modified the ARE1 script form. The requirement is , the  form is printed with 6 copies by default.
If the number of copies of sap script is 6, then in first copy it should print ORIGINAL in the sap script. When the second copy is getting printed, it should print DUPLICATE in the sap script. When it is third copy to be printed, it should print TRIPLICATE in the sap script-------in the sixth copy as SIXTUPLICATE.

Hi Subbu,
Please try to use the pagenumber in smartform for this . If the SFSY-PAGES is two hardcode the text like DUPLICATE,if three  TRIPLICATE.
Please do the hardcode at end of page only...
Regards,
Srinivas.

Similar Messages

  • Header text to get copied from order to Invoice

    Hi,
    we are 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.
    Thanks and Regards,
    Vamsee Priya.

    Maintain the Text ID @ Sales Documnet Header level and add it to your Text Procedure. Also ensure you assign the access sequence to your Text ID in your procedure.
    Access Seuquence should have VBBK and the text ID number and check All Languages and use Requirement 1.
    Then in the Delivery Header Text Procudure add this text ID and assign the same access sequence as above.
    This will copy the Text ID from Sales Order to Delivery Order Header.
    You can configure the output for packing slipduring the delivery process  and in the output program read this Text ID and print it.
    Note" Copy Controls do not copy text from preceeding documents to succeeding documents. Only the Access Sequences used in the Text Procedure will do that with the help of the reuqirement assigned in the same.
    Thanks and Hope this helps.
    Sai

  • BDC to change header Text

    hello friends,
    need ur help.
    I have made recording for changing header text
    cForm name & cForm Ammout
    but the fields are not recorded in recording.
    is their any issue of sap script?
    i get code from recording as follows.
    perform open_group.
    perform bdc_dynpro      using 'SAPMV60A' '0101'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VBRK-VBELN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'VBRK-VBELN'
                                  '3100000384'.
    perform bdc_dynpro      using 'SAPMV60A' '0104'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VBRK-FKART'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=KFTE'.
    perform bdc_dynpro      using 'SAPMV60A' '6001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 123 22'.
    perform bdc_dynpro      using 'SAPMV60A' '6001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 123 22'.
    perform bdc_dynpro      using 'SAPMV60A' '6001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    perform bdc_transaction using 'VF02'.
    perform close_group.
    please help me.
    suggest answer.

    To update text use the FM  'SAVE_TEXT'.

  • How to change header text in MB02

    Dear All,
    We update qty of the stores acknowledgement in the MB02. However if the qty that was punched earlier has been found to be incorrect as is the scenario below:
    GR: 166
    Stores ack: 147
    GR reversed: 166
    Now we are not able to cancel the mat doc because of the diff in the stores ack.
    When we go to change the stores ack in the MB02 header text the error thrown is: Qty is already updated for Mat doc.
    Regards
    Arpita

    Hi Arpita ,
    Is it a Standard error ?. If yes provide the class and the error no.
    In normal cases system does not take text into consideration while reversing a mat.doc unless a user exit is implemented.
    Regards
    Ramesh Ch

  • COPA report change Header text

    Hi,
    I am preparing COPA line item report. I am not able to change or add header text in the report as we  do in report painter report.
    The form I am  using is KE94 Create and KE95 Chage.The report painter option extras-> Report Text -> header text is not available in KE95 forms.
    Any Idea on how to do the changes in header text in this case.
    Regds

    Hi Suchitra,
    You can try it with KE32.
    Regards,

  • Changing the text in each dataGrid row to a different color

    Okay I am going to try and be as clear as possible with this,
    so bare with me.
    What I am trying to do is make it so that when my
    arraycollection objects that I have retrieved from a web service
    are loaded in (by using the "dataProvider" attribute) my dataGrid
    that some sort of code will take place changing the color of each
    line of text (all the objects stored in the array collection are
    string types) and display each rows text in a different color.
    Now after looking into it, it seems the only way to alter the
    color of the text is to use some sort of style or format but it
    seems it only effects text in a "textArea, textField, textInput"
    etc... SOOO I figured why not create a itemRenderer that contains
    one of those and put it into the dataGrid... Which I did and still
    can't figure out a way to make it so you can dynamically alter the
    color based on a set of rbg values stored in a array the same size
    as the rowCount of the datagrid.
    so I am rather stumpped in what to do.. I DON'T want to
    change the background color of each row, so alternatingItemColor is
    out of the question, I just want the text displayed in each row to
    be a different color.... And I want all this color changing to
    happen either before the data is inputted into the dataGrid
    (manipulating the arraycollection some how..) or when its all
    already in there, it all needs to happen in code no user
    interaction.
    I was thinking perhaps maybe I could create a item Renderer
    object that contains the compenent (the textArea in it) and just
    make a array of item Renderer objects and pass those into the
    dataGrid, but I don't think that is possible.
    ANY IDEAS AT ALL!! On how to change the color of the text in
    each row of the datagrid to a different color would be a HUGE,
    HUGE!!! help. Or any info on how to setup a datagrid listener that
    listens for when a object (a row) from the arraycollection is added
    to the datagrid... Perhaps I could use that info some how to my
    advantage.
    email me, if you like I don't care I just need a answer to
    this its driving me crazy! I can change the background row color
    based on a array of rgb values but I can't change the color of the
    item in that row based on array of rgb values, ARG!
    [email protected]
    thanx in advanced.

    <mx:itemRenderer>
    <mx:Component>
    <mx:Label color = "red" />
    </mx:Component>
    </mx:itemRenderer>
    want to make it so I can change the color of the label on the
    dynamically by calling some sort of method I have created.. is that
    possible? if so coudl you please give a example, thanx!

  • Changing header text of column in ALV

    Hello. I'm trying to change header of a column in WD ALV using this code:
      lr_col = lo_value->if_salv_wd_column_settings~get_column( 'DESCRIPTION' ).
      lr_header = lr_col->get_header( ).
      lr_header->set_text( EXPORTING value = 'My perfect text' ).
    But it doesn't work. Where was I wrong?

    Hi..
    Add the following code after set_text
    lr_header->set_prop_ddic_binding_field( ).
    this will clear the binding of dataelement text with the column..
    Ranganathan

  • Change header text of currrency field in sap query

    Hi,
    I have a sap query , fetching data from VBAP, one of the feild fetched is VBAP-WAVWR(cost) , for this feild query automaticaaly fetched the currency field , which i can not see in basic list in Transaction SQ01.
    I need to change the header text of this currency field which by default is 'CURR.'. TO 'COST CURR.'

    hello Kummr,
       in sq01, you can always change the field text as you want , go to sq01 ->change-> basic list , on the right hand side box click the field of "Curr" and change.
    rgds
    Mu

  • Changing Header Text

    Hi,
    Somebody  has an example using IDOC's,  about  how change o modify the header text  in PurchaseOrder?
    Thanks  in advance.
    Regards.
    Marisol.

    Thanks,
    I found that in .xsd, It doesn't show the Dimension name , however it clears out the headers. Whatever I put in header cells from back end by modifying the xls,
        <xsd:complexType name="RowAxisLayout">
            <xsd:complexContent>
                <xsd:extension base="AxisLayout">
                    <xsd:attribute name="columnOffset" type="xsd:int" use="required" />
                    <xsd:attribute name="showDimensionName" type="xsd:boolean" use="optional" default="true" />
                </xsd:extension>
            </xsd:complexContent>
        </xsd:complexType>Regards,
    Sumant

  • Sales header text to be copied to Delivery document(DelThrough the Project)

    Hi,
    We are creating sales order, which inturn creates Project in the system (Project System is integrated with Sales).
    For creating the delivery usually we use VL01n but
    We are creating a delivery document through transaction CNS0 since this delivery comes from Project.
    Now the issue:
    When we create the original Sales order, we maintain Shipping Instructions in sales order Header data.
    Now,
    when we are creating the delivery process like picking, Packing through VL02n (based on the document number created by CNS0) , we want the text entered in shipping Instructions in Sales order to be copied automatically to delivery header text, "Shipping Instructions". .
    Please let us know if someone has faced such an issue and has a solution.

    Hi Narendra,
    Transaction code for this is VTLA. In this we can have our own requirements to copy the required information.
    We can do this at the header level and also at the item category level also.
    Thanks
    Lakshman

  • Header text to be copied from the sales order to delivery

    Hi Gurus,
    I have a requirement in which  header text "Customer order text " needs to be copied from the sales order to the delivery.After copying the text we need to print on the packing slip.
    Can anyone advise me as how to copy the text from the sales order header to delivery  and then print on the packing slip.
    Thanks ,
    Smitha.

    Maintain the Text ID @ Sales Documnet Header level and add it to your Text Procedure. Also ensure you assign the access sequence to your Text ID in your procedure.
    Access Seuquence should have VBBK and the text ID number and check All Languages and use Requirement 1.
    Then in the Delivery Header Text Procudure add this text ID and assign the same access sequence as above.
    This will copy the Text ID from Sales Order to Delivery Order Header.
    You can configure the output for packing slipduring the delivery process  and in the output program read this Text ID and print it.
    Note" Copy Controls do not copy text from preceeding documents to succeeding documents. Only the Access Sequences used in the Text Procedure will do that with the help of the reuqirement assigned in the same.
    Thanks and Hope this helps.
    Sai

  • 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

  • Po header text doesn't display on po printing?

    Hi experts,
    We create new po doc type. Now we found when we create po and input header text manually, it can't be previewed in po form. We check some table ,it seems T166K / xT166K doesn't include this text.
    May I know for new doc type, any text config need be done? Or how to setup text with doc type ?
    Thanks
    Alice

    check in SPRO:
    Materials ManagementPurchasingMessagesDefine Texts for Purchase Order- > Text for Document Header , maintain your doc type , object EKKO , Text id F01, and try again.

  • How to change heading text  for parameter field of type date

    Hi,
        After creating a parameter field with the type " Date Time" when I open the report for entering the parameter then it displays  the given parameter with the following text:
    " Please enter Date in format "yyyy-mm-dd". "
    I want to change it to some other text like as:
    " You have to enter the date and time in format yyyy-mm-dd . "
    Is there any way by which I can change this given header to some other text.
    Let me know if anyone needs some more information in this regard so as to solve my given query soon.

    Hi Garrett,
                  Well first of all I can change only the prompt text that is user defined. I cannot change any parameter as of now whose type is let suppose Date. Since in this case the Business Object itself shows the text which is something like this " Please enter Date in format "yyyy-mm-dd". " .
       Here I want to change this given text to some other format like " You have to enter the date in the format yyyy-mm-dd" or in any other manner.
    Also the current Crystal Report version which I am using is 11.0.0.1282.

  • Changing Header Text in Planning Sheet

    Hi,
    As of now we see Dimension name/Attribute and Cube name above Measures as column header in planning sheet.
    Like changing column Header for Measures as 'Measures' rather than cube name.
    I see user guide has some pictures on page 71, which has header as 'Measures'
    I couldn't find any way to just hard code the value of header displayed.
    is it possible to change column header?
    Thanks,
    Sumant

    Thanks,
    I found that in .xsd, It doesn't show the Dimension name , however it clears out the headers. Whatever I put in header cells from back end by modifying the xls,
        <xsd:complexType name="RowAxisLayout">
            <xsd:complexContent>
                <xsd:extension base="AxisLayout">
                    <xsd:attribute name="columnOffset" type="xsd:int" use="required" />
                    <xsd:attribute name="showDimensionName" type="xsd:boolean" use="optional" default="true" />
                </xsd:extension>
            </xsd:complexContent>
        </xsd:complexType>Regards,
    Sumant

Maybe you are looking for