Long Text display in WebI using transient provider
Hi,
I need to display the long text (about 5000 characters) in WebI report in one column. I have created a transient provider and query with 84 (5000/60) InfoObject . when i tried to create the WebI query with all 84 dimensions, got error
"Termination message sent ABEND RSBOLAP (000): Program error in class CL_RSBOLAP_QV_RESULT_SET
method : TOO_MANY_DRILL_DOWN_OBJECTS
MSGV1: CL_RSBOLAP_QV_RESULT_SET MSGV3: TOO_MANY_DRILL_DOWN_OBJECTS (WIS 00000)"
I think more than 50 fields can not be fetched and displayed.
So to over come this I created 2 WebI queries having 42 fields each. I concatenated 42 dimensions from each query in to 2 variables. But when I tried to concatenate these 2 variables system does not allow that it gives #DATASYNC error. Could you please help here, how to archive this?
Regards,
Amit
Hi,
you can do this by using workbooks.
Check the below link very useful:
/people/sap.user72/blog/2006/05/27/long-texts-in-sap-bw-modeling
last read creation of orkbooks in the above link.
/people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-i
/people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-ii
Reg
Pra
Similar Messages
-
Display the long text in alv by using function modules
Hi all,
How to display the long text in alv by using function modules ?
Send me any sample code.
Thanks in advance
krupali.Hello KR,
Use READ_TEXT and concatenate the first lines of the text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = sy-langu
name = lv_name " purchase order with leading zeroes
object = 'EKKO'
TABLES
lines = t_lines
EXCEPTIONS
OTHERS = 8.
You can loop at t_lines and concatenate header in to some other field.
Best Regards,
Sasidhar Reddy Matli.
Edited by: Sasidhar Reddy Matli on Aug 13, 2008 12:25 PM -
Hi,
I would like to display unit based on InfoObject 0ICHAR_UOM (0UNIT).
Long text exist in the InfoObject definition for long text, but I can not
find where to load long texts and how to display it in the BEX.
Thanks,
TomHi,
Hope the following threads help you.
Long text
Display medium text in value selection screen. -
Report Painter Long Text Display and fiscal year
Hi Gurus'
Could you pls let me know, how do I get Long text in the report. Usually we get medium text.
And in the selection screen if i have like:
Company code
Fiscal year
Period
How do I get the text along with the Fiscal year.
Like Revenue 2008
Regards,
SKHi,
For displaying long text in rows or column,
go to menu bar>Formatting>Rows/column texts. Under this tab, you can select shot, medium, long as required for both rows and columns.
Further, to display fiscal year along with text in column, you must have asisgned variable for fiscal year in column. Go to text of the column and mention &variable of fiscal year assigned for the column after the text.
Reward points if useful.
Regards,
Harish -
No long text in message after using after using DSWPNOTIFCREATE
Hi,
After creating a message by using the BSP DSWPNOTIFCREATE the long text is not visable in the message. When I display the massage in solutions manager the system Data, short text is visable in the message, but not the longtext.
RichardHi,
After creating a message by using the BSP DSWPNOTIFCREATE the long text is not visable in the message. When I display the massage in solutions manager the system Data, short text is visable in the message, but not the longtext.
Richard -
Hi All,
In my BSp application user can enter long text ( can be more than 300 char ) in TextEdit.
problem is as below:
1) i am getting all the text in oninput processing ...
2) using the FM READ_TEXT to get mail template built in SO10.
3) Replacing all dynamic variables in mail template with user enterd text.
4) then passing the data to FM SO_NEW_DOCUMENT_SEND_API1. this FM has table parameter with 255 char ( please check once )
i am able to send the data in mail. But long text more than 256 char is not comming as single paragraph.
For expamle ...user enter the following text in text edit.
Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource department planning and activities. Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
in inbox i am getting as below:
Job Description for : Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource depa
Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
Job Description for is fixed text from SO10 templete. and remainning text is user text.
some data is missing in mail.
SO10 template is as below :
Job Description for : &INSTRUC1&
&INSTRUC2&
help to solve the above issue.
Regads,
Kishan
Edited by: kishanrao.sap on Oct 11, 2010 3:12 PMHi Krishna,
Please use the object_type parameter of tthe FM as 'HTM'.
Then divide the text by append them into the lines of the object_content. In the begining and end make sure you have
<p> -- in the begining
</p>-- in the end
if i want to type the text in one para " My name is Imran and i am an ABAP developer".
CLEAR: WA_OBJECT_CONTENT.
WA_OBJECT_CONTENT-line = '<html>'<body><p> My name is Imran.
APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
CLEAR WA_OBJECT_CONTENT.
WA_OBJECT_CONTENT-line = ' and i am an ABAP developer</p></body><html;>'.
APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
Hope this helps you.
Regards
Imran. -
Download to excel - long text in single row using gui_download
Hi Experts,
I want to download the long text (read_text) (500-600 characters) to excel in single row. the column width should be 60.
i am using the gui_download FM as in my report i m using one gui_download for header data and 2nd one for details using APPEND . Can u suggest me the solutions for the same. Can i use word wrap option and if yes , then how to use it?
For eg.
Customer Satisfaction
There are no escalations / adverse feedback from the customer
Customer uses him/her for benchmarking others
Regular status update to customer
Proactively understands future needs of customer
Increases customer's confidence so that there is an increase in quality / quantity of work
This whole text should appear as single row.
Thanks,
Edited by: Khushi p on Nov 12, 2010 10:44 AMI tried alot to put this in a legible format by usingcode...code but still it is not putting the code in a correct format.May be some mentor will put it in a good format so that you can understand.Below is a wraper progrm which meets your objective.
REPORT ZSCRATCHPAD.
TABLES:EKPO.
TYPE-POOLS:slis.
TYPES : BEGIN OF ty_ekpo,
ebeln TYPE ekko-ebeln,
ebelp TYPE ekpo-ebelp,
txz01 TYPE ekpo-txz01,
matnr TYPE ekpo-matnr,
werks TYPE ekpo-werks,
loekz TYPE ekpo-loekz,
oic_ptrip TYPE ekpo-oic_ptrip,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
umrez TYPE ekpo-umrez,
umren TYPE ekpo-umren,
text TYPE string,
END OF ty_ekpo.
TYPES : BEGIN OF ty_text ,
tdformat TYPE tline-tdformat,
tdline TYPE tline-tdline,
END OF ty_text.
data: g_t_ekpo TYPE STANDARD TABLE OF ty_ekpo WITH HEADER LINE,
g_repid TYPE sy-repid,
g_ebeln(15),
l_fieldname1 LIKE ibipparms-path,
l_fieldname2 TYPE string,
g_objectid LIKE cdhdr-objectid,
g_t_text TYPE STANDARD TABLE OF ty_text WITH HEADER LINE,
g_t_text1 TYPE STANDARD TABLE OF ty_text WITH HEADER LINE.
data:g_fieldcat type slis_t_fieldcat_alv with header line,
g_events type slis_t_event,
wa_events like line of g_events,
g_listheader type slis_t_listheader,
walistheader like line of g_listheader,
g_layout type slis_layout_alv,
g_top type slis_formname,
g_sort type slis_t_sortinfo_alv with header line,
g_sort1 type slis_sortinfo_alv,
g_printparams type slis_print_alv,
g_variant type disvariant,
g_title type lvc_title,
g_excluding type slis_t_extab,
g_grid TYPE REF TO cl_gui_alv_grid.
field-symbols: <fs> type lvc_title.
SELECT-OPTIONS:P_EBELN FOR EKPO-EBELN NO INTERVALS.
PARAMETERS:p_r1 radiobutton group grp1,
p_r2 radiobutton group grp1.
SELECT ebeln
ebelp
txz01
matnr
werks
loekz
oic_ptrip
menge
meins
umrez
umren
INTO TABLE g_t_ekpo
FROM ekpo
WHERE ebeln IN p_ebeln
AND loekz NE 'L'.
IF sy-subrc <> 0.
CLEAR g_t_ekpo.
ENDIF.
define m_fieldcat.
g_fieldcat-fieldname = &1.
g_fieldcat-col_pos = &2.
g_fieldcat-seltext_l = &3.
g_fieldcat-do_sum = &4.
g_fieldcat-outputlen = &5.
g_fieldcat-checkbox = &6.
append g_fieldcat to g_fieldcat.
clear g_fieldcat.
end-of-definition.
if p_r1 = 'X'.
PERFORM summary_display.
else.
perform download.
endif.
FORM summary_display .
concatenate 'Test' ' ' into g_title separated by space.
assign g_title to <fs>.
g_repid = sy-repid.
m_fieldcat 'EBELN' '' 'EBELN' '' 10 ''.
m_fieldcat 'EBELP' '' 'EBELP' '' 05 ''.
m_fieldcat 'TXZ01' '' 'TXZ01' '' 40 ''.
m_fieldcat 'MATNR' '' 'MATNR' '' 10 ''.
m_fieldcat 'WERKS' '' 'WERKS' '' 04 ''.
m_fieldcat 'LOEKZ' '' 'LOEKZ' '' 01 ''.
m_fieldcat 'OIC_PTRIP' '' 'OIC_PTRIP' '' 16 ''.
m_fieldcat 'MENGE' '' 'MENGE' '' 13 ''.
m_fieldcat 'MEINS' '' 'MEINS' '' 03 ''.
m_fieldcat 'UMREZ' '' 'UMREZ' '' 05 ''.
m_fieldcat 'UMREN' '' 'UMREN' '' 05 ''.
g_layout-zebra = 'X'.
g_layout-colwidth_optimize = 'X'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = g_repid
* i_callback_pf_status_set = 'SET_PF_STATUS'
is_layout = g_layout
i_callback_user_command = 'LIST1'
i_grid_title = <fs>
* i_callback_top_of_page = ' '
it_fieldcat = g_fieldcat[]
* it_excluding = g_excluding
i_save = 'A'
* is_variant = ITVARIANT
it_events = g_events[]
* is_print = ITPRINTPARAMS
* it_sort = itsort[]
tables
t_outtab = g_t_EKPO[]
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
clear:g_fieldcat.
refresh:g_fieldcat.
ENDFORM. " summary_display
form list1 using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
case r_ucomm.
when '&IC1'.
REFRESH g_t_text.
if rs_selfield-fieldname = 'EBELN'.
READ TABLE g_t_ekpo INDEX rs_selfield-tabindex.
CONCATENATE g_t_ekpo-ebeln g_t_ekpo-ebelp INTO g_ebeln. "CRQ94538-Capture text
SHIFT g_ebeln LEFT DELETING LEADING space.
PERFORM read_text USING g_ebeln g_t_text[].
IF g_t_text[] IS NOT INITIAL.
PERFORM pop_up_with_table .
ENDIF.
endif.
when 'OTHERS'.
leave to screen 0.
endcase.
endform. "list1
FORM read_text USING p_ebeln p_t_itab LIKE g_t_text1[].
PERFORM fill_readtext USING p_ebeln 'EKPO' 'F01' p_t_itab.
ENDFORM. " f0008_read_text
FORM fill_readtext USING p_vbeln
p_object
p_textid
pt_itab LIKE g_t_text[] .
DATA: ls_itab LIKE LINE OF g_t_text,
l_header LIKE thead,
l_tdname LIKE thead-tdname.
CLEAR pt_itab.
REFRESH pt_itab.
MOVE p_vbeln TO l_tdname.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = p_textid
language = sy-langu
name = l_tdname
object = p_object
IMPORTING
header = l_header
TABLES
lines = pt_itab
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
endform. "fill_readtext
FORM pop_up_with_table .
CALL FUNCTION 'POPUP_WITH_TABLE'
EXPORTING
endpos_col = 82
endpos_row = 20
startpos_col = 10
startpos_row = 10
titletext = ' '
TABLES
valuetab = g_t_text
EXCEPTIONS
break_off = 1
OTHERS = 2.
IF sy-subrc NE 0.
CLEAR g_t_text.
ENDIF.
ENDFORM. " f4000_pop_up_with_table
FORM download .
if g_t_ekpo[] is not initial.
loop at g_t_ekpo.
* concatenate text-001 g_t_ekpo-matnr into g_t_ekpo-matnr.
PERFORM convert_table_to_string.
modify g_t_ekpo.
clear g_t_ekpo.
endloop.
endif.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:/KKVT/TEST.XLS'
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = g_t_ekpo
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
message: 'file downloaded' type 'S'.
ENDIF.
ENDFORM. " download
FORM convert_table_to_string .
DATA: str TYPE string,
len TYPE i,
tot_len TYPE i.
FIELD-SYMBOLS <fs1> TYPE ANY.
IF g_t_ekpo-ebeln IS NOT INITIAL.
CONCATENATE g_t_ekpo-ebeln g_t_ekpo-ebelp INTO g_ebeln. "CRQ94538-Capture text
SHIFT g_ebeln LEFT DELETING LEADING space.
PERFORM read_text USING g_ebeln g_t_text[].
IF g_t_text[] IS NOT INITIAL.
CLEAR: len,
tot_len,
str.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE g_t_text TO <fs1>.
IF sy-subrc NE 0.
EXIT.
ENDIF.
DESCRIBE FIELD <fs1> LENGTH len IN CHARACTER MODE.
ADD len TO tot_len.
ENDDO.
CALL FUNCTION 'CONVERT_TABLE_TO_STRING'
EXPORTING
i_tabline_length = tot_len
IMPORTING
e_string = str
TABLES
it_table = g_t_text[].
IF sy-subrc = 0.
g_t_ekpo-text = str.
ENDIF.
ELSE.
CLEAR: g_t_ekpo-text,
tot_len,
len,
str. .
ENDIF.
ENDIF.
ENDFORM. " convert_table_to_string
Edited by: Kiran K on Nov 18, 2010 5:21 AM -
Problem in Getting Long Text After uploading LT using CREATE_TEXT in CORS
Hi Gurus,
i am uploading long text for Reason for cancellation in CORS Transaction through CREATE_TEXT.
after uploading this text by using this FM CREATE_TEXT i am seeing the long text what ever i uploaded through CREATE_TEXT , i am unable to see first 40 characters of that long text.
if anybody faced this problem earlier please guide me to resolve this problem.
Thanks & Regards
Venkata Ramesh JHi,
can you please check this link
Replacing the text created in create_text
Thanks
durga.K -
Strange text display in pdf using adobe reader exported by Indesign CS5
Hi there,
I have export an interactive pdf from indesign CS5 PC version with version 7 update, and it looks fine in most of the PC and Mac Adobe reader.
But 2 of the computer had strange text display. One is the iMAC with latest version of Adobe Reader
<== you can see the text "78" and "454" are abnormal
But with the same computer using Safari with perview plugin is showing following result:
<==you can see the text are normal.
The pdf is embedded with following fonts and property:
Another Windows XP with Adobe Acrobat 9 will had same display as the iMac.
I ensure the Windows XP don't have the font installed with HelveticaNeue and the Mac is using OS Lion Bundle with that font.
Now the customer blame it is the problem of the pdf created by me and I had no idea how to explain to my customer and find out solution.
I had a trial version of CC but same result and no error during the export.
Any idea is highly appreciate. The customer hotline and the live chat is hopeless as they send me to this community to ask since I use CS5 not the latest version.
Regards,
IchiThanks Willi,
I had the fonts of Helvetica Neue bold light etc which created by Adobe and the font was created in 1993,shown in font property.
my PDF output is set to interactive not the print one. Other settings are default.
the purpose of this PDF is for user to print out and read on website. The funny thing is print out had no problem at all with HP and Ricoh printer using PCL 6 driver.
Despite Safari, the strange font happened in only Adobe product, other PDF reader had no problem such as foxit reader, xchange reader.
I tried to not embed the font but not able to do indesign, search in Google, it said it always embedded. Also that font family is preloaded in Mac OS.
I can try any test if there is a way to find out the solution.
or what should I do so the PDF should display correctly in all computer
thanks a lot. -
HI Gurus,
Im pulling the data from R/3. Where in R/3 there is a comment that is carried out daily on the user transactions. The comment that users would enter would be Max of 255 chars. So, in BW the user needs the comment to be displayed in the same lenght as that of in R/3.
I have created an Infoobject of only 60 chars which is included in Infoprovider for the comment. Which has to be displayed in the report in full.
But, I need the comment to have the same length as that of in r/3 i.e 255( which can display 255 chars of length).
Table in the R/3 is likely below:
Mat1: Invoice1: comment1
: Invoice2: comment2
: Invoice3: comment3
Mat2: Invoice1: comment4
: Invoice2: comment5
So, a material may have different Invoices and different comments.
Please, help me out.
Regards,
NDHi ND,
Check here.......
/people/sap.user72/blog/2006/05/27/long-texts-in-sap-bw-modeling
/people/sap.user72/blog/2006/06/03/long-texts-in-sap-bw-modeling-150-follow-up
Thanks,
Vijay. -
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 -
How to save long text for IA01 Transaction using BDC
Hi All,
In my requirement I have to create a Task List Equipment and Task List Functional Location using BDC.Here I need to upload the long text for both IA01 and IA11 transactions.I am using SAVE_TEXT function module to save the text and COMMIT_TEXT also after save text.But I am not able to see the text in IA12 and IA02 transactions.But using READ_TEXT I am able to get the text what updated using SAVE_TEXT.
Please answer for this if any one worked on this requirement <Priority normalized by moderator>
Thanks,
Satya.
Edited by: Vinod Kumar on Jan 2, 2012 9:02 PMHi Satya,
There is a simple way to update the long text. There is direct input object in the LSMW for long text.
Object : 0001
Method : 0001
Program type : D
SImply go and create the LSMW with first option and follow the steps. No need to call the function modules separately. This standard program will take care of every thing.
If you have multiple lines to populate in the equipment master at the header level then you need two set of files. Then key will be equipment number with leading zeros if it will not be alpha numeric.
1) First file with field EQUNR.
2) Second file will be
EQUNR C(018) Technical identification number
TXPARGRAPH C(002) Tag column
TXLINE C(072) Text editor text line
TEXT_MARK C(001) Description Indicator for RIIBIP00 (IBIP) Processing
Please let me know if you need more in detail.
Thanks,
Satheesh -
To Make the Long text field as required using OA Framework Personalization
Hi All
In IProcurement requisition, we have long text field called 'Justification' a long text field. I have made this field as mandatory by setting the required property as 'Yes' at site level. This works for Most of the cases. However if the user just presses Enter key and skip without entering something in this field . So how to stop the user without entering something except spaces or enterkey to proceed further.
Regards
RajkumarHi,
Very Interesting question, I never thought of it.
In your case you may try to extend the controller of that page and in the controller trim the text and set that value to the text.
In other way, You can try in USER hook function : POR_CUSTOM_PKG package, check if you are getting that value.
Regards
Apurba K Saha -
Long Text creation of Delivery using DELVRY03
Hi Gurus,
I'm using Delvry03 basic type to create ASN in SAP. It is an Inbound processing. Here the problem as I'm not able to create HEADER text's using the segment E1TXTH8. wghen i try to create using SAVE_Text function module texts are getting created, Also i didn't find any E1TXTH8 realated code in the inbound function module idoc_input_delvry. is there any way to create header text without going for user-exits.
Thanks&Regards,
Naren.hi naren,
to say in detail about ur doubt i need ur code.u can send ur code to my mail-id [email protected] -
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
Maybe you are looking for
-
Why is my debit card declining on my App Store for an update
My debit card has been the same on my iTunes/App Store for few years now, I have money in my account but when I get a free app or update apps it won't do it and say that my card is declined and I don't know how to fix it
-
BAPI or IDOC to create the Delivery in R/3 for the SaleOrder created in CRM
Dear All, When ever I create a sales order and save the sales order in the crm system, an outbound delivery is created in the R/3 system. I have added some new fields in the tables LIKP and LIPS.(related to delivery) Now I have to populate data into
-
i have some movie files in my external hard disk, my external hard disk is in ntfs format.... im just wondering how can i see these movies in front row??? thanks
-
Any way to map fn+i to up arrow ?
I want to move the cursor without lifting my hands from the standard position. so I want fn-i to be assigned to <up> and similarly for fn-j, fn-,, fn-l. Is there a way to do this? Thank you, Ittay
-
Can't find a way to adjust volume on tune in menu
Hi, thanks for your help in advance. I've imported a tune to play over the menu in DVD Studio Pro. But I can't figure out how to adjust the volume. It's very very loud. Where is the volume adjustment on this?? THANKS, Jess