Problem in getting long text in Cash receipt.
Hi all,
I want long text in my form print but as a programming i am not getting long text in description Field I am getting short text. So can you please kindly tell me when we entered long text in transaction FBCJ this long text save in which table. And how can i fetch this data in my smartforms.
Thanks in Advance.
Hi Keyur,
when you see the detail text in the transaction, use menu goto -> header. Here you see the details to use for an include staement in sapscript. Note that the text name may be a concateneation of client and document number. Prepare the details in print program, fill in variables to be used in sapscript.
Hope these details are enough.
Regards,
Clemens
Similar Messages
-
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 -
MM02: Problem in updating Long Text
Hi All,
My requirement is to do MM02 Conversion. I have to Update 14 fields in the transaction.I got a Problem with my LONG TEXT Field.
Requirement for updating is whenever a double quotes comes in the place of LONG TEXT in the input file, i have to empty the LONG TEXT in the transaction.
For modifying the already existing Long Text, its working perfectly. But problem is arising only when i want to empty the LONG TEXT field.
What i did was, IF zbasic-matnr_long_text = ' "" '.
bmmh7-tdline = ' '.
Also i have passed Text ID, Text Langauge.
So please Help me with this Problem
Message was edited by:
karthikeyan ThangavelHi Sathish,
If i use Fm Delete_Text, as soon as it encounters the FM it will delete the LONG Text.
Since Im using LSMW, everything should happen after i run the step 'Start Direct Input Program'.
Please just consider, suppose there is a Transaction Error in my LSMW. So according to this situation no transaction should happen i mean LONG TEXT should not get deleted.
But Since it has enountered the FM, Long text must get deleted.
Please correct me if anything is wrong in my Logic.
Also tell me what i should do if my Logic is correct. -
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 -
Problem in Saving long texts from IC Webclient
Hi,
I have a little problem with BP long text transfert.
In IC Webclient, I identify a account and I create a long text (for exemple a Accounting Note).
I can find this text in CRM (t-code BP->long text) but, it is not transfert to ECC (XD03->Extra->text).
If I create a accounting note directly in CRM, it is transfert to ECC !!
The transaction PITX is customized in ECC.
I work with CRM5.0 and ECC6.
What I missed ?
GaétanHi Gaétan,
Maybe the BDOC BUPA_MAIN responsible to export the change to ECC is not being created when you make the change in IC Webclient.
Can you confirm it in SMW01? Try to make a change in a partner long text in IC webclient, and check if the bdoc was sent to R3.
Then try it in BP t-code, and check it again.
If this is the problem, maybe you should contact OSS suport.
Kind regards,
Garcia -
Getting Long Text of a Field Label
Hi Friends,
I have requirement in which , based on the filed I need get the Long text of the data element.by default I am able to access the medium text of the data element. is there any function-module for getting Long text?
Regards,
Xavier.PHi Xavier,
check this
Storing long text data
hope it helps you.
Regards! -
Problem in downloading long text
Hi Experts,
I am facing problem while downloading long text.
previously it was working 5ne. now it is giving the error meaasge
ID ST Language En not found
is there any settings to do.
Thanks & Regards
SangareddyIn a SAPscript you do not need to use ABAP code to retrieve long text - Just use the INCLUDE command in SAPSCRIPT - see help for details
/: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p]
this puts the complete long text in and formats it for the window
Long text problem in sap script
Reward points.. -
Problem in uploading long text in service master through AC02
hi experts,
while iam recording the LSMW through T Code AC02 the system is not linking to the longtext in service master. Kindly guide me in this regard to upload service master with service long text togetherI have the same problem where the long text is not being updated through a AC02 BDC session. Did you find a solution to the problem yet?
Thanks
Johan -
Problem in viewing long text in QP03
Hi
Facing a strange problem while trying to upload long text in QP01 using SAVE_TEXT.
the long text is getting uploaded properly
an entry is inserted in STXH with object, id, name, etc.
but when i try to view the long text in QP03 txn. (Display), there is no icon for view long text
when i go back to QP02 in change mode, the icon for long text (Create long text without horizontal lines embedded on it) exists, after clicking it am able to see the long text and if i am saving the plan while leaving the txn, then again if i see the same plan in display mode (QP03), i am able to see the long text icon and the long text by clicking it..if and only if i view manually every long text in QP02 and save while coming out the txn., I am able to see the long text icon and the long text in QP03.
Is it any setting problem or where am i wrong?
Sathish. Rhi
r u sure? bcoz the program was running fine with long text viewable in QP03 all this time
Sathish. R
Message was edited by:
Sathish -
Hi Everyone,
I have a requirement where I need to display the Longtext that is displayed in transaction IW33.
Its is not the KTEXT feild pf table AUFK as this feild contains data upto 40 characters.
My requirement is to fetch all the characters that are in Longtext.
There must be a table where the long text is saved.
Please let me the table ???
Regards,
RajPress Display Text button in front of long text.You will go to editor.Then from the munubar select Go to->Header.Use these header details:
Text Name <Order no.>
Language EN
Text ID KOPF Order header text
Text Object AUFK Order text
Pass this to FM READ_TEXT.You can also refer the tables STXH and STXL but i guess FM will solve your problem. -
Hi,
I need to get the long text that we maintained in CJ20n tcode under long text at project level. I need to display the same in Script layout or report. I didnot find any table or functional module to get it. please help me out.
regards,
ChandraHi
Double click on the Long text, it will take you to Text editor
from the Menu GOTO-> HEADER
you will find the OBJECT,ID,OBJECTNAME and LANGUAGE parameters for that lang text which are to be passed to the READ_TEXT fun module
for displaying it on report use the above fun module and fetch the text in IT_LINES internal table and write it on report output
You can also see the doc of the read_text
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).
IN SCRIPTS you can use the INCLUDE statement to print the Long texts
/: INCLUDE TEXT<name> ID <id> Lang <en> paragraph <za>
Regards
Anji -
Problem loading hierarchy long text. Item text only displays 45 characters
Hi,
When loading the Financial Statement hierarchy from ECC to BI I am only getting a 45 character long text for the nodes. This text seems to correspond to the "Item" text seen in transaction fse3 in ECC. However, the text that I need to have is the (concatenated) long text enterer in the multiple fields under either "End of Group" or "Start of Group" (under Item: Display Texts in fse3).
Does anyone know if it is possible to extract this information and how to go about when doing this?
Points will be rewarded for help.
Regards
NilsHello Vânia,
>> fac586, Thank you very much for your help ….
Just so you know, fac586 is called Paul :).
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
I have created message class in tran. se91 and i want to get the long text of a particular message
in these message class.
how can i get the long text of the message dynamiclly in the program code?
thanks in advance,
NoaHi,
you can use Function Module MESSAGE_TEXT_BUILD as:
CALL FUNCTION 'MESSAGE_TEXT_BUILD'
EXPORTING
msgid = g_msgid
msgnr = g_msgno
msgv1 = g_msgv1
IMPORTING
message_text_output = g_message.
Message text will be in g_message.
regards,
Neha -
AC02 - Problem in uploading Long text data
Hi All,
I record a BDC for AC02 tcode and i am able to upload all the data in AC02 tcode except long text. How can I upload this, kindly suggest.
Thanks and Regards,
Rajesh VasudevaHi,
Check the below threads.It could be helpful to you.
LONGTEXT: MATERIAL - PRUE
problem with long text
Cheers,
Hakim -
Problems with getting default Texts (HRRCF00_GET_DEFAULT_TEXTS)
Hi experts,
we are using EHP4 and I have implemented and activated BADI HRRCF00_GET_DEFAULT_TEXTS for getting default Text during the posting procedure within SAP E-Recruiting based on WebDynpro.
The BADI is called from WD Controller ERC_C_REQ_MGMT_UI.
get default text values from BADI HRRCF00_GET_DEFAULTS_TEXT
wd_assist->read_default_posting_text( EXPORTING iv_language = ls_language-langu
is_post_hrobject = ls_hrobject
IMPORTING ev_company_desc_default = ls_language_tab-company
ev_department_desc_default = ls_language_tab-department
ev_project_desc_default = ls_language_tab-project
ev_task_desc_default = ls_language_tab-tasks
ev_requirement_desc_default = ls_language_tab-requirements ).
Directly after the call of BADI HRRCF00_GET_DEFAULTS_TEXT it seems that the company description is correctly filled.
But unfortunately I am not able to see the default text within the Input Field of the view.
As far that I know there should be a Button to fullfill the company description with the default text. But I can't see any button.
Is there anything else I have to configure?
Many Thanks!Hi Roman,
I have testet it both. With a complete new requisition and with a old one. Same problem.
But know I have recognized a strange system behaviour.
If I toogle the first language I am not able to see my default_text. But if I toggle a second on(English etc) I can see the default text within this second tab.
So the result is that I am able to see the default texts but only if I toggle two languages
I am thinking I am missing something within my BADI implementation.
The only thing I have done is to prorgram follwing section within the method GET_PROJECT_DESC
method IF_EX_HRRCF00_GET_DEFAULT_TEXT~GET_PROJECT_DESC.
*{ INSERT M11K900044 1
break erec1.
project_desc = 'This is a example for the project description'.
*} INSERT
endmethod.
And it seems fine becaus if I switch to debugging mode I can see that the method is called and tht the variable project_desc will be filled correctly.
Would be great if you could give me a helping hand on this.
Many Thanks!
Marco
Maybe you are looking for
-
Hi.. In OIM the system administrator can change a users password if the user forgets the password as well as the security questions. But the system administrator will know the password of the user until the user changes his password. My requirement i
-
Interactive fields and check boxes don't stay in tab order
Hi everyone. I'm creating a census form for my parish which contains questions and check boxes. I've laid out the first section of this form (called Household Member 1), then gone back and added all the text fields / check boxes in the order in which
-
Okay so at the moment all my songs are at 256 kbps. They all sounds great never had any problems with that but i compressed them down to much smaller sizes even 96kbps and didn't notice a difference through headphones, my speakers on the iMac or my i
-
My Image capture has no device listed, neither the laptop. How do I add the laptop as a device?
-
Using Power Adapter w/ a Full Battery
If I fully charge my battery and leave the power adapter plugged in, will my MacBook bypass the battery and begin sourcing power exclusively from the adapter, thus conserving battery life? From the MacBook manual: "When the MagSafe power adapter isn'