Printing item text smartforms

Hai friends,
In my invoice i have 7 line items and some materials are "Duty Paid". For this they are maintaining a text in "Item Text" tab in VF01 transaction for each materials.
I have to print the text one by one in the footer.
How can i do this. How to display the item text.
Thanks.

Hi,
Use the Function module READ_TEXT to read the item texts and print them in the footer.
You need to pass paramters to FM Read_text. Go to VF03. go to item texts. Highlight any item texts and click on the display button below. It will take you to the text editor. On that screen Go to-> Header will show the following details.
Text Name       1203832486000140                     
Language        EN                                   
Text ID         0002 Item note                       
Text Object     VBBP       Sales     Item texts      
Pass the same values to the fields of READ_TEXT FM.
TEXTNAME would be the concatenation of salesorder and line item.
Thanks,
Vamshi.

Similar Messages

  • How to print item texts in po contract form when the fixed item status is N

    Hi all,
    I'm trying to print the item texts in the contract forms.
    I need to print the item texts when the status is 'N'  and at the same time the status is blank in the same form.
    I tried using t165p.I'm unable to print the both the message status with N and blank at the same time.
    Please guide in this regards.
    Thanks and regards,
    Krishna

    Hi Luis,
    Thanks yes, now it get captured soon after changed the item accordingly as you said.
    so there is no need of creating hidden item for those item (i.e) &P1_DIS_COURSE_NAME. AND &P1_DIS_DATE.
    right??
    Regards,
    Mini

  • Printing Item text in Purchase order

    Hi,
    Iam creating a PO...for each line item i have to print the text..
    suppose if there are five text for each line item Eg :
    SAP1 = a, SAP2 = b, SAP3 = d, SAP4 = e.
    SAP1 to 4 are text,
    a to e is the value that i have to print.
    The probelm is user may or may not enter any value in this field.
    my requirement is only if the user givs text in this fields it shoild print. and all text shud print on the same line
    For Eg:
    SAP1 = a, SAP3 = d.
    SAP2 = b, SAP3 = d,

    Assuming the variables are called &SAP1& &SAP2& &SAP3& &SAP4&
    Put the text inside the && in single quotes before the variable name as below:
    AS &'SAP1 = 'SAP1& &'SAP2 = 'SAP2& &'SAP3 = 'SAP3& &'SAP 4 = 'SAP4&
    The text only prints if the variable is not initial.

  • Print Item text

    Hi Experts,
    We have an output type which should be changed to accomodate the item text for each line item in PO, if it is generated through a sales order (EKKN-VBELN is not NULL). The text coming from sales order has text id 0002. The text should be printed below respective line item.
    Thanks,
    Kumar

    'Hi Nanda
    Use the READ_TEXT function module . Here is  sample code .
    {code
    data : w_vbeln TYPE vbap-vbeln,
           w_posnr TYPE vbap-posnr.
    CLEAR : w_vbeln,
                    w_posnr,
                    w_foottxt.
            w_vbeln = t_vbap-vbeln.
            w_posnr = t_vbap-posnr.
            CONCATENATE w_vbeln w_posnr INTO w_foottxt .
            CALL FUNCTION 'READ_TEXT'
              EXPORTING
                client                  = sy-mandt
                id                      = '0010'
                language                = sy-langu
                name                    = w_foottxt
                object                  = 'VBBP'
              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.
            IF sy-subrc <> 0.
            ENDIF.
    the text would be retrieved in t_lines table
    code}
    Edited by: Martina Floriette on Jan 28, 2009 10:14 AM

  • Item txt using include text smartform

    Hello Friends ,
    How can we print Item text from purchase order in smartform using include text . I know click on the include text mode and then write the following details .
    text id = f01
    lanuage = en
    object = ekpo
    what should i write in text name . Any other details i need to mention
    Do i need to create one using SO10 . Plzzzzzzzzzzz help
    Joseph

    Hi,
    Right click on node(on which you need the text)
    Create-Flow logic-Program lines.
    system gives %CODE1
    there are two tabs General attributes and Conditions
    click on General Attributes
    Provide the Input parameters - which contains po no and item no
    Provide the output parameters- globally defined Variable  ex NAME type C
    write the code:
    CONCATENATE ekpo-ebeln ekpo-ebelp into name
    Now again right click on program line create Text.
    Give text type as Include text.
    provide the details
    Text Name      &NAME&
    Language        EN
    Text ID         F01
    Text Object     EKPO   
    Check the box : no error
    Rgd
    Narsim
    Edited by: Aeda N on Nov 17, 2009 11:59 AM

  • Not able to print on Purchase order whatever we fill in item text

    not able to print on Purchase order whatever we fill in item text, from where can we link to get printed item text on purchase order

    while doing in quality whatever we fill in text in item details of p.o we are getting it printed on p.order
    but same thing when we are doing in production we are not able to print on purchase order. where we should look out
    for e.g in spro-mm-purchasing-purchase order..

  • 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

  • Item text is populationg Partially in adobe form

    Hi All,
    I have a problem in printing item text in adobe form.
    item text is having more than 100 lines which is being populated in adobe form.
    the subform text is created in layout and there a TEXT node is created which has text
    this TEXT node in subform text prints item texts.
    now problem is that suppose there are 100 lines in item text then 60 lines are being printed and the rest 40 lines are not printing in adobe in next page... from next page next item text are being printed...
    When i increase the page height till some lenght then rest all 100 line is getting printed but in single page...
    I want item text to be printed in 1st page and 2nd page also if item text is long ( ie. 60 lines to be printed in page 1 and rest 40 lines should be printed in page 2)
    Thanks

    Hi,
    Have you checked, Object palette --> Layout --> Expand to fit?
    Thanks & Regards,
    Sanoosh

  • Item text is not appearing in the print output through IDOC?

    Hello ,
    I am changing the PO through IDOC. When ever there is change in the quantity ,net price and delivery date  the print out put is generated autoamtically and changes are appearing the print output.
    when ever there is change in the item text of PO print output is not generatiing but item text is updated in the PO.
    If i change manually print out is generating for item text also but through IDOC print output is not generated . please help to slove this isuue.
    i am passing the value as :
        idoc_data-segnam = 'E1BPMEPOTEXT'.
        e1bpmepotext-po_item = Po line item number .
        e1bpmepotext-text_id = txtid.
        e1bpmepotext-text_form = textform.
        e1bpmepotext-text_line = line item text .
        idoc_data-sdata = e1bpmepotext.
        APPEND idoc_data.
        CLEAR idoc_data.
        CLEAR e1bpmepotext.
    please help me it is urgent
    Thanks
    Venkatesh

    Hi Venkatesh,
    Check the condition record in transaction NACE. Whether the print output field is present in the condition record.
    Regards,
    Gajendra.

  • Material item text not appearing in PO Print Preview

    Hi experts,
    We have created a new PO type .  We have assigned it with PO text via Spro>Purchasing>Purchase Order > Message > Text for messages > define text for purchase order
    Maintained text for document header
    Maintained  text for document item
    But still in Purchase Order , the material PO text at item level , is not appearing at the time of print preview / print out.
    Please suggest .
    Regards,
    ( Rajneesh Gulati )

    If I understand correctly, you want to copy the purchase order text from the material master directly into the PO's for this material.
    I got the same problem; text appears in PO item text, but doesn't appear on print preview.
    => check your forms first
    => if you can't find an error here, check the copying control in
    SPRO -> Materials Management -> Purchasing -> Purchase Order -> Texts for purchase orders -> Define copying rules for item texts
    go to the text linkages of the text type that you want to see appearing
    => make sure that the entries with source object 'material master' have the Fix value (blank) rather than N or * (if you see the text appearing in the PO but not on the print out, this means that this setting is currently set on *)
    Hope this helps

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

  • How to print the texts retrived by using READ_TEXT fun module in Smartform

    Please tell me how to print the text which is rertrived by using the READ_TEXT function module in smartform.
    I have coded all things in the program lines and in that i am retriveing the long texts.
    I am getting the text lines in my internal table clearly, the thing is that I am not able to pass these lines to the text.
    I have to print the trouble ticket. in that the notes log I have to pass.
    its urgent. Points will be rewarded for any type of clue. whether it will work or not.

    There are a few ways to do it. If you need to take all of the text in the text type, in your SF text element choose "Include Text".
    Populate the fields with the data that corresponds to the text type. It is similar to the interface to the FM "Read_Text.
    Text Name
    Text Obje
    Text ID 
    Language
    Encase any variables with the "&" symbol.
    If you have already coded the call to the FM "READ_TEXT" and loaded the text into an internal table, create a loop and loop through the itab. Inside of the loop create a text element and add a variable in the text element for the field you are looking to output.

  • How to print Arabic text along with the English in smartform ( ECC6 version

    Hi All,
    our is ECC6 version, Non unicode, ABAP stack ( not dual stack )
    is it possible to print in Arabic language in the above version ?
    if yes, then please let me know how to print Arabic text and English text in the same smartfrom.
    i tried in the following procedures :
    1) i created standard text (SO10) in arabic language.
    i called in the smartform ( include text - i )
    langage AR
    but system throws error message saying, required language is not installed.
    2) if i use READ_TEXT function module.
    text getting printed in diff format but not in arabic.
    waiting for your replies..

    ECC6 and Non-Unicode? I think you'll need multiple code pages, I doubt there's a mixed Arabic/Latin1 available. And I don't think SAP supports new MDMP systems any more. If you need to support multiple languages you really need to go Unicode. It's probably easier to do the Unicode conversion than to try to support multiple code pages and you have to make the switch eventually.

  • Can we restrict the printing of PO Item text based on PO types?

    Dear Experts,
    We have a requirement related to printing of PO Item Text.
    We need to print a perticular Item text  only for a certaing PO type (ex:  NB only).
    How can we restrict the printing of PO Item text based on PO types?
    Please advise.
    Regards,
    Shashidhar

    Hi,
    In one of my earlier Projects we had a similar requirement and the Best solution we could give to our client was to Create New Output Type and asked our ABAPer to Delete/Deactivate the fields / texts which were not required  for PO printing and the User was asked to select the New Output type for Printing.
    Take help of a ABAPer to change the fields required for Printing  this new Output Type.
    Discuss with your client and see if it works.
    Best regards
    Amit Bakshi

  • Item text of PO print output is not generatiing but text is updated  in PO

    Hello ,
    I am changing the PO through IDOC. When ever there is change in the quantity ,net price and delivery date the print out put is generated autoamtically and changes are appearing the print output.
    when ever there is change in the item text of PO print output is not generatiing but item text is updated in the PO.
    If i change manually print out is generating for item text also but through IDOC print output is not generated . please help to slove this isuue.
    i am passing the value as :
    idoc_data-segnam = 'E1BPMEPOTEXT'.
    e1bpmepotext-po_item = Po line item number .
    e1bpmepotext-text_id = txtid.
    e1bpmepotext-text_form = textform.
    e1bpmepotext-text_line = line item text .
    idoc_data-sdata = e1bpmepotext.
    APPEND idoc_data.
    CLEAR idoc_data.
    CLEAR e1bpmepotext.
    please help me it is urgent
    Thanks
    Venkatesh

    Hi,
    For triggering the output for changes you have to make some changes.
    - Go to SM30
    - Enter view name "<b>VV_T161M_EF</b>".
    - Hit 'maintains' view.
    - Now let's say your outpu type is 'NEU'. For this there will be one entry like this.
    Operat.  Ctyp.  Name            Short text  Update
    1        NEU    Purchase order  New
    Now with this entry add one more entry like this.
    Operat.  Ctyp.  Name            Short text  Update
    2        NEU    Purchase order  Change      X
    You just need to enter Operat. = 2 and  Ctyp = NEU. The 'name' and 'short text' will come automatically.
    - Save your entry and create.
    After doing this, your PO will trigger output on change.
    Let me know if you have any other information.
    Regards,
    RS

Maybe you are looking for

  • Is there a way to apply different dimension filters to two measures

    Dear all, Let's say I have a report that goes something like below: TIME DOLLARS FORECAST DOLLARS JAN 99999 99999 FEB 99999 99999 MAR 99999 99999 APR 99999 99999 MAY 99999 99999 DEC 99999 99999 What I would like to achieve is this: TIME DOLLARS FOREC

  • Looking for a protective case recommendation

    When I bought my phone I was given a SwitchEasy Nude case, but to be honest I haven't even put it on the phone as it doesn't feel as though it would give any protection. I'd like something that would give good all over protection, but a lot of the ca

  • In desperate need of help from BT

    I am in the middle of the most frustrating series of events ever and its an absolutre shambles. What should have been a simple house move and resign up with BT (after many years a customer) has been a ridiculous farce. We had a connection date. You c

  • VPN issues following latest update

    Since the latest update in the o/s on February, my IPAD and IPHONE will not allow web pages to be opened once my VPN has connected. I have spoken many times to the VPN provider and they say it is Apple's o/s update that is the problem. The VPN works

  • Variable Address-URL in Job Scheduler

    Hi I am using OATS 9.0 and cant solve this problem: Its possible to insert a parameter for the address-value (Looks like this: <<url>>) in eTester from an .csv-File. When i wants to change the URL i only have to chance the csv file. But how can i get