on 11-16-2009 10:36 AM
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 Joseph
Name would have ebeln + posnr.
ie the Purcahase Order Number + Item Number.
like 000000022800020.
Thanks
Pushpraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are there any other settings that need to be done , except include text for the item text to be printed.
In include text in the smartform i have mentioned ,
´text name = ebeln+ebelp
text id = f01
lanuage = en
object = ekpo
Nothing gets printed.
Gurus, plz help
Joseph
Edited by: joseph_sweden on Nov 16, 2009 3:54 PM
Hi,
Create one program lines above the text, and Provide the input field and output filed
then write the code for concatenate.
Create one text with Type Include text.
Pass the variables like this
Text Name &TDNAME&
Text Object EKPO
Text ID &TDID&
Language &LANGUAGE&.
and Check the tick mark-No error if no text exists.
Rgds
Aeda
Edited by: Aeda N on Nov 17, 2009 9:30 AM
Thanks .
So you want to say that for item text to print there has to be 2 text nodes.
1 text node with programming , in this do we have to write the whole program codes as read_text , exporting , importing etc.
2 text node with include text , in this we write
Text Name &TDNAME&
Text Object EKPO
Text ID &TDID&
Language &LANGUAGE&.
Joseph
Create one program lines node just before this text node in which you are displaying item text (standard text).
In this program lines, write ebeln, ebelp and gv_name in import parameter and gv_name in export parameter.
Define this gv_name in global definition. Now in this program lines node, write this code.
CLEAR gv_name.
CONCATENATE ebeln ebelp INTO gv_name.
Now use this gv_name into text node for item text as shown below.
text name = &gv_name&
text id = 'F01'
lanuage = 'EN'
object = 'EKPO'
and tick the checkbox for no error if text does not exist.
Hope it will help you.
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
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.