Table to print PO header text
HI:
I would like to do query to print PO header text.
I have try STXH but no PO number to link to and no text line.
Pls advise.
Moderator message: Basic frequently asked question - Please search forum for answers and read the docu in help.sap.com
See as well our rules of engagement: http://scn.sap.com/docs/DOC-19331
A good way to search the forum is with google. See this blog with details for a good search
http://scn.sap.com/community/support/blog/2012/04/16/getting-the-most-out-of-google-optimizing-your-search-queries
This blog describes how to use the SCN search: http://scn.sap.com/community/about/blog/2012/12/04/how-to-use-scn-search
Thread locked
Message was edited by: Jürgen L
Hi,
It wil be easy with an abap report using Function Module READ_TEXT.
Regards,
AKPT
Similar Messages
-
Print Invoice Header Text In Main Window of Smartforms
Helo Gurus !!!
I want to print Invoice header text in main window of smartform.
There are total 5 columns.
Item Quantity Description UnitPrice Amount
Now what I want is to print header text below Description column, there is a loop on the table in main window.
This header text will be printed only once. This is a standard header text
How to get this?
Points are assured !!!Hi Anay Kulkarni,
I understood that u need to print this header text
Item Quantity Description UnitPrice Amount
So please use TABLE instead of LOOP in the table we can prin header, main area, footer.
place the header text in header area in table... i am sure this can resolve it.....
feel free to contact me if issue is not resolved/.....
dont forget to reward points....
all the best...
Regards,
Sreeniasa Sarma K. -
Printing Form Header Text in Smartforms
Hi,
I have created smartform for SD module.I am printing Form header text in a window by using loop.I am getting the text with the help of READ_TEXT function module.It comes as we type in Form header.But the problem is if they type more than 15 lines it is not printing.I want to print the rest of the lines in next page.How to do this?Hi,
In smartforms, only the main window is a dynamically varying one.
So give your include text concept in the main window..
so that if your text increases more than a page, it will be printed in the next line..
You can maintain your text in so10 transaction.. with text id and text name..
using include text u can simply give the Id and text name in forms, you will get the enetered text.
regards,
vijay.R -
Issue with printing of header text
hii frnds ,
my problem is i am getting the header text printed properly but the text is not getting displayed whenever the user enters a numeric value without any gaps ... i have seen while debuging that the text is properly getting fetched and the cursor is also passing through the text field but the text is not getting printed in my layout . i am using a script for this .
thanking you
rohit guptaUse Below code to get your text..
data: begin of int_rtline occurs 0.
include structure tline.
data: end of int_rtline.
data : rheat type string.
data : itab_r like swastrtab occurs 0 with header line.
Get the Heating and Cooking Instruction
get material heating instructions from material master
call function 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'IVER'
language = sy-langu
name = tdname
object = 'MATERIAL'
TABLES
lines = int_rtline
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
loop at int_rtline.
if rheat = space.
concatenate 'COOKING INSTRUCTIONS: '
rheat int_rtline-tdline
into rheat.
else.
concatenate rheat int_rtline-tdline
into rheat separated by space.
endif.
endloop.
Depends on ur Layout Width for each line print number of charcter,here i mentioned 92 char.
IF NOT rheat IS INITIAL.
CALL FUNCTION 'SWA_STRING_SPLIT'
EXPORTING
input_string = rheat
max_component_length = 92
TABLES
string_components = itab_r
EXCEPTIONS
max_component_length_invalid = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
LOOP AT itab_r.
Print ur data.
Endloop.
Reward Points if it is helpful
Thanks
Seshu -
How to Print Sales header text at the end of last page of Main Window
Dear All,
I have a requirement to print Sales order header text at the end of Main of last page. I don't have footer window.When i use Bottom-End bottom.Only one line is printing.The header has 5 lines.
Request you to provide <b>code</b>to handle this situation. Your response is highly appreciated
Best Regards
PraveenHi,
If u r using standard layout set RVORDER01.
U can print that sales order header text in the following text element.
/E SUPPLEMENT_TEXT.
U can include ur text objects here.
Then it gets printed.
Regards,
Veda Kumar -
I have a link in a report that calls another report. The link information being passed to the report is :ename, :emp_id. I would like to print these values on the report header text.
Emp Name: bob Emp ID: 10000
field1 field2 field3
1
2
3Hi,
You can do it in the additional plsql code section.
Say department is being passed to the report. Here is a sample code to print the deparment being passed.
for i in 1..p_arg_names.count
loop
if p_arg_names(i) = 'department' then
htp.p('Department :'||p_arg_values(i));
end if;
end loop;
Thanks,
Sharmila -
Printing of header text msgof billing doc in Invoice.
Hello Gurus,
Goodevening,
I have requirement from client.
This is the requirement ,
He will give the text in billing docment header in billing document but when takes the invoice the header text to be printed in invoice.
Is it possible ? looking for your inputs
Thanks & Regards
Venkat.
Edited by: K.Venkata Chalapathi on Jul 15, 2010 5:08 PMHiii
Billing Header text can be print in your billing document, If it is developed smartform then you can take the help the ABAPer to print the text. For the same you have to create the text ID whichever you want to print in smart form then ABAPer will mapped the ID in his smartfrom on required place.
Regards
Shambhu Sarkar -
Table for Sales Order Header Text
Hi,
I want Table Name for Sales Data -> Header Text.
Path--
When we open the Sales order, Click on Display Document Header Details --> Here select the Text tab. Here, see the written text in Form Header (1st option).
I want that table Name which contain the Header Text. Because If header text is more than 1 line, where it stores??
Plz. helpHi,
Text data are stored in tables STXH (Header) and STXL(Item).
But you can't find the exact text in these tables as the text are stored in binary form.
You need to use function module READ_TEXT to read any document texts.
Check the link [Use FM READ_TEXT to Read the Various Text|http://www.sap-img.com/abap/use-fm--read-text-to-read-the-various-text.htm] which explains how to use this module to read the text.
Regards, -
Print the head text in a Smartforms - READ_TEXT Function
Hello,
I have a huge problem to print a MM document's. I need show the text head in the footer of the document. For this i use the READ_TEXT function. To use this function i enter to vl03n transaction, enter the document number, go to the text head, double click, and i see the parameters = Name (document number), language (ES), id (0001), object (VBBK)...
In the smartform code I write this:
<b>DATA: leng TYPE thead-tdspras,
l_fname TYPE thead-tdname.
DATA: il_tline LIKE tline OCCURS 0 WITH HEADER LINE.
leng = 'ES'.
l_fname = is_dlv_delnote-hd_gen-deliv_numb.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = '0001'
language = leng
name = l_fname
object = 'VBBK'
TABLES
lines = il_tline.
comentario = ''.
LOOP AT il_tline.
CONCATENATE comentario il_tline-tdline INTO comentario SEPARATED BY space.
ENDLOOP.</b>
But to try print a document with number 0012345678 through to the IDCP transaction return me the follow error:
Text 0012345678 ID 0001 language <b>EN</b> no exist
why change the language?
i see the STXH table, and i found this register:
MANDT TDOBJECT TDNAME TDID TDSPRAS
200 VBBK 0012345678 0001 S
Where is my problem?
Please, help me!!!
Regards.Hi rudiRocket,
Welcome to Numbers discussions.
Yes I see what you're talking about, never noticed it. To remove the shadow I tried numerous fonts but, still the shadow. Let's hope someone else has a better answer. Be aware folks on these Discussion boards are, as yourself end users not Apple employees.
In the mean time please read the below instructions:
Send feedback directly to the Numbers team for enhancement requests: at the top of your screen to the right of the blue Apple please click "Numbers" > "Provide Numbers Feedback". Explain in detailed what you've found. This makes your request known to the Numbers team directly; don't expect to hear back from them. I've sent many as well.
Let's hope the next version of iWork incorporates many of the requested enhancements.
Thank you in advance for doing that.
Again, welcome to Numbers Discussions, have fun here.
Sincerely,
RicD -
UiXML table - alignment of column header text
Is there a way I can get the text in the columnHeader to align differently to the column data? I have a <messageDateField> capturing a date of birth in a column. This date is only mandatory if the person is a child, so I'm databinding the 'required' attribute to get the asterisk to appear next to the box. But because some entries in the column are not mandatory, the alignment down the column doesn't look good. I'd like the <columnHeader> text to be left aligned and the <messageDateField> to be right aligned so that the date picker icons line-up.
Anybody help please?
Cheers
Ian
ps I'm using encapsulated <column>s.Hi Ian,
You can't directly set the alignment of column headers or data. The way it works is that you can specify a columnFormat inside your column for example:
<columnFormat columnDataFormat="iconButtonFormat"/>
And then UIX will decide how to align the header and data in teh column for that type of data. I don't believe there is a way to control the alignment of the column header independently of the columnDataFormat. -
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. -
Smartforms - printing header text for a PO
Hi,
I need to print the header text from a PO. To do this I'm using the function Module READ_TEXT.
While entering the header text if they make it bold or underlined then the Output is having html tags. How to get rid of these tags?? (Ex: <B> Header Text </>)
Thank you,
RenuUse REPLACE or TRANSLATE to replace the tags with spaces or to just remove them, i.e. "replace with nothing" (not sure about this option though - never tried it myself). You might need to do SHIFT or CONDENSE afterwards to get rid of extra spaces, if necesary.
-
Standard SAP Table for PO Header Text and PO Item Text
Hi,
I want to know the Standard SAP Table where the PO Header Text and the PO Item Text are stored.
Thanks,
RKPO texts are stored in tables STXH and STXL.
TDOBJECT is EKKO for header texts and EKPO for item texts.
Just for future reference with regards to getting text id's etc.
eg: PO texts.
--> Go into the PO.
--> Go to the text tab (item or header - depends what u want).
--> Double click into the required text.
--> Click the "GO TO" menu option.
--> click Header.
and all the info you need is there.
You need to use function module READ_TEXT. Since lenght of text is variable it is stored in binary format and cannot be read via a table viewer. -
Hi,
How can I print the header text language on the report that exist for a given sales order no.
e.g. for a given 0005500001 sales oder , header text exists in which of the languages. how can I print it on a report. How can I get that languages field informantion.
please do the needdful
thanks.
HemantHi,
u can do that using read_text fumction module...
by paasing the following
data: v_text_id like thead-tdid value 'ST' , "ID LIKE THEAD-TDID
v_text_name like thead-tdname,"NAME LIKE THEAD-TDNAME
v_text_object like thead-tdobject 'TEXT', "OBJECT LIKE THEAD-TDOBJECT
v_language like thead-tdspras.
pass ur vblen to v_text_name.
refresh: p_text_tab.
call function 'READ_TEXT'
exporting
id = v_text_id
language = v_language
name = v_text_name
object = v_text_object
tables
lines = p_text_tab
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
Madhavi -
Pulling the Header text for all the purchase orders
Hello,
Please help in resolving the below:
Is there any code in SAp to pull theHeader text for all the purchase orders in the data base,
Any tcode to pull the specific text automatically to pull the text from the requsition ( Plant wise in sourcing).
ThanksSTXH Text header
STXL Text detail
Chk the below message thread
Table to read PO Header text and item text
BR,
Krishna
Maybe you are looking for
-
Is there a way to use dynamic built string in the "from" clause
Hi all, im having one problem and now, im not sure how to solve it easily at all... :) Is there someone that would be so kind and put a eye on it? ..thx I have plsql proc, in which i have a list of table_names. For each of that table i need to run a
-
How to change the tabbing order of an array of clusters?
How to change the tabbing order of an array of clusters? I have the cluster arranged in table in the front panel. The cluster element goes horizontal and array element goes vertically. When I press the tab key, the cursor goes to the next array
-
Back ground processing.,- reg.,
Hi, guru's can anybody explain what is background processing? how do you initiate it? what is transaction code for it? Thanx in advance tulja singh
-
I use PSE 5 to store all of my genealogy records - Photos and documents. I re-date the photos & docs to the dates they were taken or produced, now I have documents before 1800. The program will only accept dates between 1800 - 2199, any ideas how to
-
HT201270 Can I enable a hotspot using AT&T carrier on my iPad 3
Can I enable a hotspot using AT&T carrier on my iPad 3