Long Text display in BW
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,
ND
Hi 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.
Similar Messages
-
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 -
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,
AmitHi,
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 -
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 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 -
Hi
I would like to have long text displayed in coois transaction code
Please let me know on this
SAP version used in ECC 5.0
ThanksSankar,
check whether long text field is available in COIS transaction, if not Check the solution in OSS Notes#434123.
I think bringing Long text field for display may affect the performance, so be cautious. Why you want this?
Regards,
Prasobh
Edited by: Prasobh Karunakaran on Sep 25, 2009 11:35 PM. details added -
Message long text variable replacement
Hi,
I hope this question is not considered too basic, but the documentation I found does not provide a solution:
We created a message where we want to display quite a lot of information.
So we concatenated some information and altogether gave a text quite short so that the whole message fits in the status bar area.
In the long text, I would like to explain the information given in the for message variables in more detail.
According to documentation, we can use & & & & or &1 &2 &3 &4 in the short text but &V1& &V2& &V3& &V4& in the long text.
When clicking the message, The long text display pops up and shows the short text with message variable values but in the explanatory long text &V1& &V2& &V3& &V4& is not replaced.
I.e.
Mat/Plt/Sto 1234567/1000/12
should be extended in long text to
Material / Plant / Storage location 1234567/1000/12 ...
but is displayed as
Material / Plant / Storage location &V1& ...
Can I use the message variables only once, either in short or in long text?
I tried various variations without success.
Hopefully someone with experience can give me some information on what I missed.
Regards,
ClemensArrgh!
Thanks Thomas and Brad.
For my user, still the word editor was configured. With this, you definitely have to use the edit insert symbol technique otherwise &V1& results in garbage.
Just do it as suggested, or better switch to classic text editor: Not what you see is what you get but what you type is stored as is.
Hope I won't forget too soon.
Regards,
Clemens -
Display a Long Text in ALV report
Hi,
I want to display the PO header long text in ALV Report that is 255 character width.
Please help me out how to do this.
please it is very urgent
Thanks and regards
KrishnaUse 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.
Regards -
How to display long text in smartforms
Hi experts,
Iam trying to display long text into smartforms.I got the long text into ITAB frm database
in the abap program.In the form interface how to define the variable?In the long text i have 6 lines.
points guaranteed
cheers
kakiKaki,
Delcare a table and getting the LONG TEXT is not the right way of doing this.
You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
Make sure this is a part of the main window as this might run into multiple pages.
Regards,
Ravi
Note : Please reward the posts that help you. -
Urgent : ALV , how to display long text in colum field
Dear All,
Have mada an ALV report, but in some column have to show long text like.
"Qty of Processed Finished Goods receive with wt/length/pieces / units "
but while display of ALV it's showing only :
" Qty of Processed Finished Goods receive with wt/length/p "
Plz tell is it possible to show all the contents in that field, even in multiple row. like :
"Qty of Processed Finished
Goods receive with wt/length/pieces
/ units "
Looking forward to your earliest response.
Regards,
Gulrez AlamHi,
In your field catelog
w_fieldcat-tabname = 'Internal table name'.
w_fieldcat-fieldname = 'Field of the internal table'.
w_fieldcat-outputlen = '90'.----Here you have to increse the length
w_fieldcat-col_pos = '1'.
w_fieldcat-row_pos = '1'.
w_fieldcat-seltext_l = 'Qty of Processed Finished Goods receive
with wt/length/pieces / units '.
APPEND w_fieldcat TO i_fieldcat.
CLEAR w_fieldcat.
Pls. reward if useful... -
How to display long text in Arabic quickly Flash Builder ?
Hi,
I have prepared an application for Android in Adobe Flash Builder. In application there are prayers in Arabic as a list. In app , short prayers are displaying quickly, but long prayers are displaying after a long time. This is my problem.
I share my project file in addition.Can anybody help me, please?
Note: I used SQLite database in my project as you can see and I used a font to view prayers in Arabic.
Prayers.zip - Google DriveKaki,
Delcare a table and getting the LONG TEXT is not the right way of doing this.
You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
Make sure this is a part of the main window as this might run into multiple pages.
Regards,
Ravi
Note : Please reward the posts that help you. -
How to display Long text in a JLabel with multiline??
Hi,
Suppose I have a label that displays a long text....
""This is an example label that displays long text, how to break the line????.........""
how to display it like below with one label?
""This is an example label
that displays long text, how
to break the line????.........""
Thanksso basically do this
JLabel myLabel = new JLabel();
String theText = "<html>This is an example label<br>
that displays long text, how<br>
to break the line????.........</html>";
myLabel.setText(theText);Obivously, u dont have to use a separate string, u could just call setText or pass it into the JLabel constructor, i just separated it to make it easier to see what your supposed to do.
GOod Luck -
How to display long text in alv
Hi ,
I need to display the long text of particular object on ALV, with 30 char each line .
I have long text in one internal table, master table have one to maany relation with longtext table and long text contains 120 character in each line.
i need to display long text using 30 char in each line on alv. could you please suggest the soution ????
format is like
ponumber date longtext
1234 03/04/05 this is PO is created
for materail which have
shortage in plant.hope u r expecting this..
optimize = 'X'
if u use OUTPUTLEN it is fixed size for that specific field, and also it reflects for next fields, to avoid that again have to mention OUTPUTLEN = 'X' for next field.
With OPTIMIZE = 'X' it will adjust based on the size.
regards...
santhosh reddy
Message was edited by:
Santhosh Reddy -
How to display LONG TEXT STRING in Module Pool Screen ?
Hi Experts,
I want to display long text string, on screen designed through module pool(SE51). I tried to display through input/output field , but it displays it in SINGLE LINE and i have to scroll all through to view all string.
I want to display it in rectangular format . It doesnt allow me to set HEIGHT of component.
Please provide solution.
Thanks in advance.
Regards
DeepakThis is the program where u can get the WA_THEAD from other program like report and trying to display and modifying that text. U can do instead of WA_THEAD u can generate here itself and use also
*& Module pool ZMP_LTEXT *
PROGRAM ZMP_LTEXT .
TABLES: STXL.
*& Module STATUS_9000 OUTPUT
MODULE STATUS_9000 OUTPUT.
CONSTANTS:line_length type i value 132.
DATA:g_editor type ref to cl_gui_textedit,
g_editor_container type ref to cl_gui_custom_container,
CONT1 type scrfname value 'CONT1',
g_repid like sy-repid,
g_ok_code like sy-ucomm,
g_mytable(132) type c occurs 0,
g_mycontainer(30) type c ,
v_result(256) type c,
g_head like thead,
it_line type table of tline with header line,
wa_stxl type stxl.
DATA : BEGIN OF IT_THEAD1,
ICON TYPE ICON-ID.
INCLUDE STRUCTURE STXL.
DATA : END OF IT_THEAD1.
DATA : IT_THEAD LIKE TABLE OF IT_THEAD1,
WA_THEAD LIKE LINE OF IT_THEAD.
IMPORT WA_THEAD FROM MEMORY ID 'ABCD'.
select SINGLE * from STXL into wa_stxl
where tdname = '00006000156500000002'.
SELECT SINGLE * from STXL into wa_stxl
where tdname = WA_THEAD-TDNAME
AND TDID = WA_THEAD-TDID
AND TDOBJECT = WA_THEAD-TDOBJECT
AND TDSPRAS = WA_THEAD-TDSPRAS.
IF SY-SUBRC NE 0.
MESSAGE 'NO RECORD EXIST' TYPE 'E'.
ENDIF.
MOVE-CORRESPONDING WA_STXL TO G_HEAD.
SET PF-STATUS 'STATUS'.
SET TITLEBAR '001'.
if g_editor is initial.
CREATE OBJECT G_EDITOR_CONTAINER
EXPORTING
PARENT =
CONTAINER_NAME = CONT1
STYLE =
LIFETIME = lifetime_default
REPID =
DYNNR =
NO_AUTODEF_PROGID_DYNNR =
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
others = 6.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT G_EDITOR
EXPORTING
MAX_NUMBER_CHARS =
STYLE = 0
WORDWRAP_MODE = cl_gui_textedit=>wordwrap_at_fixed_position
for to fix number of characters in row to 132 characers
WORDWRAP_POSITION = line_length
WORDWRAP_TO_LINEBREAK_MODE = cl_gui_textedit=>true
for the word to break to next line if it dont fit in line
FILEDROP_MODE = DROPFILE_EVENT_OFF
PARENT = G_EDITOR_CONTAINER
LIFETIME =
NAME =
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
GUI_TYPE_NOT_SUPPORTED = 5
others = 6 .
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH g_mytable.
MOVE: WA_THEAD-TDNAME TO STXL-TDNAME,
WA_THEAD-TDID TO STXL-TDID,
WA_THEAD-TDOBJECT TO STXL-TDOBJECT,
WA_THEAD-TDSPRAS TO STXL-TDSPRAS.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = wa_stxl-tdid
LANGUAGE = wa_stxl-tdspras
NAME = wa_stxl-tdname
OBJECT = wa_stxl-tdobject
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = it_line
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.
LOOP AT IT_LINE INTO V_RESULT.
APPEND V_RESULT TO G_MYTABLE.
ENDLOOP.
CALL METHOD G_EDITOR->SET_TEXT_AS_R3TABLE
EXPORTING
TABLE = G_MYTABLE
EXCEPTIONS
ERROR_DP = 1
ERROR_DP_CREATE = 2
others = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endif.
ENDMODULE. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9000 INPUT
MODULE USER_COMMAND_9000 INPUT.
CASE SY-UCOMM.
REFRESH G_MYTABLE[].
REFRESH IT_LINE[].
CLEAR V_RESULT.
WHEN 'SAVE'.
CALL METHOD G_EDITOR->GET_TEXT_AS_R3TABLE
EXPORTING
ONLY_WHEN_MODIFIED = FALSE
IMPORTING
TABLE = G_MYTABLE
IS_MODIFIED =
EXCEPTIONS
ERROR_DP = 1
ERROR_CNTL_CALL_METHOD = 2
ERROR_DP_CREATE = 3
POTENTIAL_DATA_LOSS = 4
others = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT G_MYTABLE INTO V_RESULT.
APPEND V_RESULT TO IT_LINE.
ENDLOOP.
CLEAR V_RESULT.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = G_HEAD
INSERT = ' '
SAVEMODE_DIRECT = 'X'
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = IT_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH G_MYTABLE[].
REFRESH IT_LINE[].
CLEAR V_RESULT.
WHEN 'BACK' OR 'CANCEL' OR 'EXIT'.
LEAVE TO SCREEN '0'.
*CALL SCREEN '0'.
WHEN OTHERS.
ENDCASE.
*G_OK_CODE = SY-UCOMM.
*CLEAR SY-UCOMM.
ENDMODULE. " USER_COMMAND_9000 INPUT
Maybe you are looking for
-
Dear Experts , I have done foll setting : Work center ugage : all task list type ( 009) OPU3 : SelID:roughPlng 03 OPU5 : RCutPlg horizon 100 SelID:roughPln 03 Sche and general cap req is activated . Created rough cut pr
-
Maximum Number of Version for a DIR
Hi, Can anyone tell me the maximum number of versions for a DIR? The field is 2-char alpha/numberic. I assume after it reaches 99 it will start using alpha characters. I am looking for the pattern it will use after 99 and also the total number of
-
After uninstalling a program, it does not appear in Software Center
Hello, We had a program that was not working, so we removed it (via Programs and Features) with the intent to run the deployment again from Software Center. However, the app no longer appears in Software Center, even after running an Application Depl
-
Dock Plus Series 3, Mic doesn`t work
As I use Skype a lot, I bought Dock Plus Series 3 to solve the issue with mic jack at Lenovo`s stupid engeneeres "designed" for t420s model. No one profesional pmanufacture produces mic for this kind of jack, and it is always Pain in the Ass to conne
-
NI PCI 6533 DIO to NI PCIe 6536 compatiabl​ity
Hi All, I have NI PCI 6533 DIO PCI card which is very old and now NI is not manufacturing the same card , so it is replaced by NI PCIe 6536 DIO . I am using the PCIe to PCI adaptor as I dont have the PCIe slot. Now my questions are :- 1) does the sam