Long text in report output
Hi all,
I want to display long text in report output how is it possible.
how can i get the long text for fb60 or fb70.
Edited by: D Tarun Kumar on Aug 23, 2008 11:26 AM
How can i get these
ID =
LANGUAGE =
NAME =
OBJECT =
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES =
Thanks
Similar Messages
-
How to display Long text in alv output
Hi,
I have developed an ALV report.It is displaying the output.
There is another requirment for alv output text field as below
From the long text fields show only the first 20 characters and afterwards the long text icon. If the icon is clicked open the long text display screen.
Please give your suggestion how to work on this requirement.
Thanks in advanceHi,
Create a hotspot for the long text column of ALV.
When user clicks on the hotspot, handle the event to display long text screen.
You may refer sample program of hotspot ALV :
Goto SE38
Type BCALV*
Click F4
search for HOTSPOT or EVENTS & you will get a sample program.
Best regards,
Prashant -
How to get Long text in report from FBL3N
Hi,
I need to get Long Text from FBL3N (G/L Account Line Item Display) in my report.Can anyone tell me in which table it is stored?Hi
These long texts are not stored completely in any tables
where as the parameters of these texts like OBJECT,OBJECTNAME and ID, LANGUAGE are stored in STXH table
You have to pass these 4 parameters to the fun module READ_TEXT and to fetch the text.
Double click on the long text will goes to text editor
from menu GOTO-> HEADER you will see the above 4 paramters
see the doc of READ_TEXT fun module
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
<b>Reward points for useful Answers</b>
Regards
Anji -
(How) Can I include Long Texts in Reports or Queries?
Hello,
We need to send our vendors their contract details including some of the long texts data.
So far we were sending excel spreadsheets to the vendors without the long texts. Is there some way we can start sending the spreadsheets to our vendors adding few extra columns for the long texts. Some of the vendors contracts have 20+ lines of data in the long texts.
Are there any better or easier ways than excel spreadsheets?
Is any kind of query development possible where long texts can be included?
Appreciate your time and answers.
Fred.Sorry friends for not communicating my requirement clearly. I am aware of the functions to retrieve the long texts data for purchase orders/contracts.
I need some help in downloading the data to excel sheets. I believe there are restrictions in the number of characters that can be accomodated in a excel column, so I am not sure if very long texts (say >500 lines & 72 chars each) can be wrapped around within a excel column.
Also can a query be written to extract long texts, or can long texts, >500 lines & 72 chars each, be displayed using ALVs?
Thanks a lot for your time. Appreciate your inputs.
Below is a sample of how the report needs to look.
Contract Number Vendor Long Text1 Long Text2
0000000001 ABC Firm Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC'
Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC'
Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC'
Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'01ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC' Text ID'02ABC'
0000000002 XYZ Firm Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ'
Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ'
Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ'
Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'01XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' Text ID'02XYZ' -
Hello friends,
How to display the long text in the reports?
I changed the bex settings in the info object definition as long text .
But in the report iam getting the key and text as the same i am not getting the text .
Can you help me???
Thanks
SriniHi,
In the query designer, right click your characteristics and then go in the properties; there you can select the Key and text.
PB -
FI documents long text display reports
Hi experts,
Is there any report which can display long text of FI documents as list?
Best regards,
S MKHi,
Actually the field I am looking for is not SGTXT. The field is shown via button in line item display if you click "Long text" button located next to text.
Then, pop-up for "Long Text for Document Line Item" is shown and the target text can be seen from the right button "Long overview". (This text is edited via Microsoft Word)
I want this whole long text in the report if available, or as query. Is it possible?
Best regards,
S MK -
Alv- displaying long text in alv output
hi,
as per my requirement, i need to be display long text (length >1000 characters) in alv list or alv grid.
i get the entaire long text and keep it in final internal table and pass it to alv functional module, but it unable to display the compleate long text( in alv-grid).
the alv list displays the complete long text but not in the row, it displays in the second rown and few field labes of long text and its previous field label are displayed in impro[per order.
is there any possible way to display long text in alv.
regards,
revooriHi Ashok,
try to pass the below while filling your long text.
wa_fieldcat-seltext_l = 'Your Long Text'.
wa_fieldcat-ddictxt = 'L'.
for more info check below
Long Text --- 1000 characters
hope it works
Thnaks!
Edited by: Prasanth on Mar 8, 2009 4:03 PM -
Using standard texts in reports output
Hi,
Would you please let me know the process of using standard texts created in So10 transaction in reports development. READ_TEXT function module made me to code a lot as per my requirement.
Thanks,
Kumar.Hi ,
if you want to use READ_TEXT then you have to take help of you functional consultant.Ask him to provide the TEXT ID ,NAME, OBJECT and with the help of these things you can proceed furthur,
If you still need any help.let me know.
Thanks and regards,
Rajeshwar -
Long text not displayed in outpur of adhoc query
Hi,
I am trying to run an ad hoc query in which i need the Org unit long text in the output.
When i run i only see the short text of the Org unit.I tried changing the output display option as 'Value and text' and 'text' both but it shows the short text only.
Could you please suggest what changes i need to make to the infoset to view the long text of the Org unit.
elp will be highly appreciated.
sushilThe help text does not say that this is the case for routings (and I dont know it either as I never loaded text for routings).
Of course you can read your text with the function module, as you enter the keys like you done it to load the text.
But this is not a proof at all.
In 90 % where the text does not appear it is just a matter of the used key. maybe forgot to have leading zeros in the name field.
Best you enter a text manually in a route, then you use SE16 with table STXH to find this record, and then you compare the key fields of this record with the key fields of a record you created with the upload.
if this is all okay, then it might have to do with a text indicator in the normal tables of the routing. -
Oracle report output in MS Excel sheet version used oracle apps 11.5.9
Hi guys,
I need ur help........plz tell me how to convert rdf report output in excel sheet format currently it come in pdf format. actually oracle apps version 11.5.9 there is no option for xml publisher report that's why i m facing prob.
used:
report builder version : 6i
database : 9i
Report belong from AR module......................... Debtor Ledger Report of AR.
I hv tried Text,xml report output option but not worked.......plz give me idea how to resolve this issue...................................thanksHow To View / Open Concurrent Requests With The Excel Application [ID 377424.1]
Please also see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=Excel+AND+Concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Hi,
Is there any standard report or LIS available which gives the service code(AC03) : long text in report form..
Regards
Vikrant
Edited by: VIKRANT HANDE on Dec 17, 2010 10:10 AMHi,
There is no standard report for showing that detail. You have to develop your own report using the function module READ_TEXT where ID = LTEXT, NAME = Activity code with leading zeros for making the total length to 18, OBJECT = ASMD, LANGUAGE = Respective language
Regards, -
Hello All,
Each InfoObject has short description and long description. I only saw that we can see them when display the cube data. Where else can we see Long description?
Thank you!Hi Qingbo,
You can see the Long Text in report as well,
For that you have to make a setting Go to respective InfoObject > click on Business Explorer Tab> Change the Bex Description from short to long --> save and Actiavte
Now the report reflects Long Description instead of short
Hope this helps,
Sudhakar. -
How to print long raw text data in report output in single line?
Hi All,
I have a requirement where I need to print raw comma separated text data in the report output which end user will open in excel and can sort as required. I can not directly generate excel output.
Now there is huge set of data and each row from the report query should be get printed on single line, It should not get printed on the next line.
I tried to extending the report with 240 characters but still there are some text data which is getting printed on the next line.
Please share your view if someone has any solution on this issue.
Thanks in Advance.
ArunMake the report even wider. By default a report layout can be 10 pages wide. If you need more, change the "Max. Horizontal Body Pages" property, and extend your layout too.
IMHO, I wouldn't even use Reports to create a csv file. Utl_file or an sqlplus script that spools to a file are better options I think. -
Error for fetching long text in xml tag for xml publisher report
My requirement is to fetch a large document which is in text format in XML output which can be printed in PDF format by using RTF method to generate PDF.But during XML ouput i got the following error-
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
button, or try again later.
The following tags were not closed: XXBG_EAMWRREP_V1, LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1,
G_MEDIA...
XXBG_EAMWRREP_V1 is the rdf and LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1, G_MEDIA are the groups name. In the group
G_MEDIA i am fetching long_text from attahcment in application. In Database table the datatype of the text attachment is 'long' and there is a huge text
data loaded in large data editor of that column. If the text data volume is small enough then there is no problem for fetching the xml output.
If we change the output format as HTMl then there is no problem for fetching the output for long text but for xml output format we are unable to fetch the data
in xml tag.
One thing to mention the oracle report is the copy of Maintenance Work Order Detail Report. The seeded report is HTML format in 11i. The requirement is to make it in xml report.
Please help.Hi,
Actually clob datatype is not available in oracle report builder datatype lov. Could you pls tell the other ways of converting that to clob in oracle report... -
Hi All,
I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
I have also checked the data types and the references. Nothing seems to be wrong here.
Does anybody has any clue about this ?
KajalHi Bernd,
I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
Anyways thanks a lot for the reply.
Kajal
Maybe you are looking for
-
Can anyne give me a hint / solution as to why my primative array values are not being set/assigned in the following code. All the rest of the code seems to be in order - yes I have the arrays being initilized prior to this code to a known value. THAN
-
Cannot convert PDF to Word properly. Comes back scrambled.
I just bought today PDF to Word converter today. I tried all possiblities and the document always comes back scrambled. What do I do wrong?
-
EHS-Error while editing Report template
Hi Gurus I am getting a vague error while trying to cancel release of existing report template. I need to edit the same. Hence i am cancelling the release. Please let me know if any of you have got this error before and how did you solve it?. Also i
-
Hi, Is the dual language typing on E52 possible just with T9 on? thank u all, Edi.
-
Is there anyway of getting owb to implement the following sql without resorting to using a insert update operation: insert into desttable (select * from myview where not exists (select null from b where desttable.emp_id=myview.emp_id) This sounds alm