on 08-19-2009 10:00 AM
Hi SAP Gurus,
In a smartform of Purchase Order, i have to display the ITEM TEXT and MATERIAL PO TEXT which is given in ME22N.
So, in smartform i have created a Text element , given it as type Include text given the necessary things.
Now the problem is I am able to see both the texts in Development, But in Production I am not able to see the Material po text.
Please help!
Thanks & Regards,
Pavan
Hi Pavan,
Have you created any standard text in the development, If yes...
Standard texts are client dependent, you need to transport it to quality and production also.
Regards,
GR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Use SO10 to create standard Texts.
Can u be clear on what u say, for a particular PO their may be Item text maintained or not , if maintained it will appear in your smartforms or else blank..
I f you the text which will be common for all PO Items then create a Standard text or hard code if it is few line.
U can also Use FM READ_TEXT to get the ITEM Text by passing neccessary things
surya
Edited by: suryareddy on Aug 19, 2009 11:40 AM
Thanks,
Actually my requirement is to dispaly the Material PO text maintained in ME22n or ME23n in my smartform, for that i have taken an Include text in the smartform , i am able to see the text in Development but not getting in production. The material PO text is maintained in me22n in both production and development.
Thanks & Regards,
Pavan.
Hi Pavan,
First of all make sure that all object has been transported to production sever. Second check whether PO text is written in production server or not? May you are seeing PO number where text is not written. Last option create new transport request and include all elements and object and then transport into production server .
Regards,
Syed Tayab Shah
Thanks,
The text which i have to print is not from the hardcoded text , it should be printed from the text which is given Material Po text coloumn of ME22N.
If you go into ME22N , In item> Texts>Material PO Text , i am giving some text which should be printed.
Please help!,
Thanks & Regards,
Pavan.
Line item text is pulled from the material master PO text into the purchase order. However, depending on cfg, the text isn't always in the purchase order, but is just being references from the masterial master....these may not print in Smartform from PO depending on CFG.
If you use the following then the text is always copied to purchase order at creation time. Then will always print.
The text is fixed (indicator " ")
The text is copied into the document. Changes to the document text do not have any effect on the original text and changes to the original text have no effect on the document text.
Check under SPRO > purchase order> Texts for Purchase Orders --> Define copying ruls for Item Texts.
Hope this helps. I learned this the hard way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan ,
Did u transport the Standard text to the testing client
,
if not then transport it first
for doing so you need to add this stanadard text to transport request , task
execute a report 'RSTXTRAN'
then transport your standard text ,
just try this.
regards
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please check whether Your FConsultant configured TEXT 's, if yes check the same in production as well, other wise go maintain it in VV_166K_VF(ask him to check SPRO ) .
ex
1 NB EKKO F01 Standard PO Header text
1 NB EKKO F02 Standard PO Header note.
If they configure it properly, through ICLUDE TEXT we have to pass TEXT ID and NAME in SMARTFORM.
no need to write READ_TEXT.
Regards
AEDA N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Use Read_Text Function Module and pass the TEXT ID , Language , TEXT OBJ. Ur text obj will be concatenate of Header and Item number (LV_NAME).These things can be get from ur Display button of the Texts ---> Matrial PO Text and Double click there it takes u to the Editor GOTO --- > Header u will find the Text Id and Text Obj
concatenate ekko-ebeln ekpo-ebelp to lv_name
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'F01'
LANGUAGE = SY-LANGU
NAME = LV_NAME
OBJECT = 'EKKO'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
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.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Note : Uncomment the Exceptions its mandatory
Declare IT_TLine type Table of TLINE in ur Form Interface or Global Definitions
and then create a loop and loop it_tline
and under the loop create a text and drag and Drop the field name as IT_TLINE-TDLINE
into ur TEXT editor and give condition in Condition Tab IT_TLINE[] NEQ Space
Regards,
Vijaya Lakshmi.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks,
Ya i have used it , it is working fine for 'F01'(Item Text).
But i want to display 'F03' (Material PO Text) .
The problem i am facing is, For ID = F03 , in Development it is displaying text , But in Production it is not displaying text even though text is maintained.
Thanks & Regards,
Pavan.
Hi
Check whether for that particular PO u have Material PO TEXT or not . if not try to maintain and check , check the same in Quality if u donot have authorization for ME22N in production..
In READ_TEXT pass the below values...
ID F03
LANGUAGE EN
NAME 041000012000010----
?PO and line item #..
OBJECT EKPO
in lines check your text...
surya
Edited by: suryareddy on Aug 20, 2009 7:54 AM
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.