on 11-10-2009 10:21 AM
Hello,
Any one aware of the table where the item text of the purchase order is stored.
Also , i need to print this item text of the purchase order in the smartform , what do I need to do for that .
Any help with the table and the programming .
Thanks
Joseph
Hi ,
To Print item text in Smartform,
Create one text , give text type as Include Text text.
Text Name &TDNAME&
Text Object EKPO
Text ID &TDID&
Language &LANGUAGE&.
Pass the textname(Concatenate PO no and Item no) and and text id and language.
Regards
Aeda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you everyone for the great response .
Now , i know which table to look for the item text and how to see it .
The print/driver program that we are using is the standard print program so i do not want to make any chnages in it .
Is there any way i can insert the programming in the smartform using Progarm node .
I am sure it will be a small program code .
People can you help me with that exact and specific coding that i can add in my smartform .
Thanks a ton once agian
Joseph
Hi,
Create a workarea of the table ( in form interface ), then in the main window, take loop command.
loop the internal table into workarea.
create row->cells->text node.
drag the workarea with the field required to be printed.
If you are printing a standard text, then create command lines, then call fm 'READ_TEXT' and include the object id,language etc... and declare the form interface attributes needed and display them in text node.
Hi
Use READ_TEXT function module inside the Table i.e inthe main window where u loop ur internal table into workarea which contains the line items . where u get the PO# Line item
then use READ_TEXT function module to get the text check the FM READ_TEXT for further examples in net
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = 'E'
name = ekko-ebeln
object = 'EKKO'
TABLES
lines = tb_header_text
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
Surya
Edited by: suryareddy on Nov 10, 2009 1:57 PM
Hi,
ekpo-TXZ01 is the item text
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.