Default Long Text required for KP06
Hello Gurus,
In KP06 for Cost Center / Cost Element planning, Long Text is available at Cost Element level (Overview screen). How can I change this to ONLY allow for Long Text at the next level (Period Screen)..... So that the Planner can create Long Text e.g for Period 1 but not for Period 2.
I am hoping for a functional solution. Please help.
Regards Debra
Naveen Navins,
Define Formula in the Profile Form !!!! cannot see how a formula can help
Can you elaborate, please supply intructions, thanks in advance
Debi
Similar Messages
-
Hi to all experts,
I have requirement of defaulting long text in transaction FMBBC . when the user clicks on long text button some text should be defaulted is it possible. Im thinking of using enhancement points to achieve this .you are right that the only way to do it.
Atul -
I just turned off Find my iPhone after hearing about the hacking in Australia. I got an email from Apple saying: your Apple ID and password will no longer be required for someone to erase, reactivate, and use your iPhone. Does this mean that anyone can have access to my iPhone? I still have to put my passcode in.
What that means is the activation lock does not operate if you did what you said you did. Bottom line, turn it back on. That will then require anyone trying to use the device to have yoru Apple ID and password.
Barry -
G/L account Long Text required entry
Good day all
Can some one please tell me if it's possible to make the field Long Text a required entry when creating/maintaining a G/L master record.
Thank you.
LouiseDear Louise,
Yes, it is possible. You can use transaction variant.
http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
In the SAP Reference IMG, you can create transaction variants. Choose Basis Components -> Application Personalization -> Tailoring of Application Transactions -> Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.
To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).
Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).
To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.
Regards,
Naveen. -
Displaying long text maintained for selected set codes in result recording
Hi Gurus,
I have maintained qualitative mic.For this mic i have defined selected set codes & for these selected set codes i have maintained long text.
My client requirement is that this long text should be visible while doing result recording for the mic.Is this possible.
Regards
AmitHow can they expect that? Long text can be... well.. long....... How can you include that on the same screen as results recording. What if you have 5 charac with long text? What if each selected set choice has long text and you had two choices for each? That's ten sections of long text on one screen? Impossible.
Printing the long text on the cert shouldn't be a problem. You just have to get someone to code it into the layout set.
Craig -
Long Text Upload for TaskList ( txn IA05/IA06)
Hi,
We need to upload long texts for task list operations (Txt object: ROUTING, Txt ID: PLPO).
We have tried the following approaches:
1.) LSMW with via Direct Input :
Object 0001 Long texts
Method 0001 (No selection)
Program SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program Type D Direct Input
This menthod is able to save the text and we can read the text using FM READ_TEXT but I am not able to see the text in txn IA05/IA06.
2.) LSMW via direct Input :
Object 0490 Gen.task list
Method 0000
Program Name IBIP
Program Type B Batch Input
Using this LSMW I am able to save the text for transaction IA05 but this does not work for IA06.
3.) I tried using the FM SAVE_TEXT, CRETE_TEXT , INTTAB_SAVE_TEXT , INTTAB_COMMIT_TEXT but these also does not seems to be working.
Can anyone suggest me how to upload text for General Task List Operation. This is bit urgent and your quick response would be highly appreciated.
Awards points are assured for the right answer.
Regards,
Lalit KabraHi Lalit,
Please check following threads:
Re: Help on uploading long text for task operation in PM modul
Upload Task List Operation long Text using SAVE_TEXT-Urgent
Help on uploading long text for task operation in PM modul
Lonf text update in Transcation -
Long text field for Purchase Order help
Hey guys,
First, I'm VERY new to ABAP/SRM in general. So please be patient with me.
We have users who are entering additional text comments into SRM (when creating a new PO).
The problem is...when they enter the text and hit <ENTER> I am getting it on the SCC side as "#" seperating the lines.
For example...
User types
line 1
line 2
line 3
It is appearing as line 1#line 2#line 3
I've done some debugging, and found the filed it is referring to:
IS_OBJECT-SC-LONGTEXT and the field is TDLINE
But I have no idea how to fix this...is this something I can change? We don't want to change SAP code...is there a BADI I can access??? Anything?Hello,
To look for SAP OSS notes, you need a user and his password to access to SAP website:
[http://service.sap.com/support]
If you don't have it, ask for your team leader to give you one.
Regards.
Laurent. -
How do I truncate a longer text field for use in a shorter one?
I currently have two fields one that is a Multi-line 4000 character box. I would like to take the first 50 characters and mirror it into a small SYS short description field.
Is there a formula or a function that I can use to capture only the first 50 characters?
Thanks in advance.Hi,
Micphone should have its own driver, you may download it from its official site and configure it.
In addition, please put your query on clients (Windows 7 or Windows 8 ) forums according to your OS version. This is a dedicated forum for System Center Operation manager related issue.
Windows 7 :
http://social.technet.microsoft.com/Forums/en/category/w7itpro/
Windows 8
https://social.technet.microsoft.com/Forums/windows/en-US/home?category=w8itpro
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
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... -
Reading long text for more records at a time
Hi all,
We have a requirement for which that data like textid textname textobject and language must be taken in to an internal table and for each record in the internal table i have to read the long text inorder to compare the long text for the given search text.
If i use Read_text inside the loop and endloop it works but it may not be appropriate in performance point of view.
Is there any function module which can read long texts for more records at a time.
The long text data in STXL will be in raw data format right? is there any way to convert raw data to normal so that by hitting the STXL i can read the long text data for more than one record at a time.
Thanks in advance
sanju.HI Sanju,
Below is a code snippet which describes reading a long text frm the screen and appending it into the internal table.This code is actually to read the text from the screen and inserting a record into STXl and STXH.
From your query what i understood is that you are storing the long text from the screen into a internal table and so you not want to use the read_text FM due to performance issue.
Since tdline(tline table) is 132 char long format i use this small logic to read the screen data and append it to my internal table.
*Data Declarations
DATA: lv_strlen TYPE i,
lv_create TYPE boolean,
lv_desc TYPE string.
DATA: ls_text TYPE tline,
ls_basic_text TYPE stxh.
DATA: lt_text TYPE ztty_tline_tab.
CONSTANTS:
lc_tdid TYPE thead-tdid VALUE 'Z001',
lc_tdobject TYPE thead-tdobject VALUE 'Z_ALERTS'.
*Appending the text to the internal table.
lv_strlen = STRLEN( iv_alert_text-alert_text ).
lv_desc = iv_alert_text-alert_text.
IF lv_strlen < 132.
ls_text-tdformat = '*'.
ls_text-tdline = lv_desc.
APPEND ls_text TO lt_text.
ELSE.
*logic to wrap text
DO.
ls_text-tdformat = '*'.
IF STRLEN( lv_desc ) < 132.
ls_text-tdformat = '*'.
ls_text-tdline = lv_desc.
APPEND ls_text TO lt_text.
EXIT.
ENDIF.
IF lv_desc+132(1) <> ' '.
CONCATENATE lv_desc(131) '-' INTO ls_text-tdline.
lv_desc = lv_desc+131.
ELSE.
ls_text-tdformat = '*'.
ls_text-tdline = lv_desc(132).
lv_desc = lv_desc+132.
ENDIF.
APPEND ls_text TO lt_text.
ENDDO.
ENDIF.
Please award graciously if found helpful.Please do ask me if i have not answered you properly.
Thank you.
Message was edited by:
P M Harish -
Long text for PS-actiities in report - possible??
Hi'
I would like to see and print a report, where I can se the structure of a project, and all the long texts entered for the objects, especially for activities.
Does a standard report exist for this?
Best regards
LoneHi,
Try CN05. If it does not suits your requirement, then you need to go for a development.
Regards,
Paval. -
How to add long text in bdc for transaction fb01 ?
IN the existing program of bdc fb01
i have to add a long text field
but it gets stuck while i process in sm35
is there a fm to add the field directly
thanks in a advanceHi
You can upload the Long texts separately into the transaction using the CREATE_TEXT fun module
Need to pass the correct parameters like OBJECT,ID, OBJECTNAME and LANGuage with the proper declarations.
see the sample code and do accordingly
REPORT zmm_longtext_sm
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Description : This Program is used to Upload the Service Master
: Long Texts using the Fun Module CREATE_TEXT
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab OCCURS 0,
asnum like asmd-asnum, " Service No
text LIKE tline-tdline, " Long Text
END OF itab.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras. " Language
Constants
CONSTANTS:
Object ID for Long Text of Service Master
c_best TYPE thead-tdid VALUE 'LTXT',
c_material TYPE thead-tdobject VALUE 'ASMD'. " Object
Parameters
PARAMETERS p_file LIKE rlgrap-filename.
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
Upload the Texts
SORT itab BY asnum.
LOOP AT itab.
dt_lines-tdformat = 'ST'.
dt_lines-tdline = itab-text.
APPEND dt_lines.
dl_lan = sy-langu.
concatenate '00000000000' itab-asnum into dl_name.
Call the Function Module to Create Text
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Service No'(001),
itab-asnum.
ELSE.
WRITE:/ 'Long Text Created Successfully for Service No'(002),
itab-asnum.
ENDIF.
AT END OF asnum.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
<b>Reward points for useful Answers</b>
Regards
Anji -
Table for Long Texts of MICs in Tasklist
Dear All
Can any body tell me from which SAP table i can get the LONG TEXT maintained for MICs in any tasklist.
Table PLMK only shows wether long text maintained or not, but i want the value in LONG TEXT.
thanks
ZeeshanThis may be helpful.
SAP stores comments (text fields) in a separate table. STXH is the text
"header" table (STXD SAPscript text file header). STXH-TDOBJECT =
'KNA1' will bring back all the customer comment headers. STXH-
TDNAME='0000010744' is the header record for the comment for customer
10744.
It is not always so simple to figure out what the TDOBJECT (object needed by function below - sometimes it is a table name, other times...), TDNAME (name needed by function below - sometimes it is a document number & line item or customer number, other times... ) & TDID (id needed by function below - it is always the long text id). There are several methods that can be used. You can create the long text that you are researching and using, SE16 for table STXH search TDLUSER = to your kerberos principal and TDLDATE = to today's date. This is modify date & user. Alternatively, you can find an existing item with the long text and figure out the date and user who last modified it and use this information in your search. Once you have STXH row for text of interest, use ZCAFTXT to test your research. Project Titles and WBS Titles are a bit more complex.
Changes to sales contract long text between 3.0F and 4.5B.
The following code is a function that will return a customer comment.
form get_comment using cur_kunnr.
call function 'READ_TEXT'
exporting
id = '0002'
language = sy-langu
object = 'KNA1'
name = cur_kunnr
importing
header = thead
tables
lines = tlinetab
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.
loop at tlinetab.
write / tlinetab-tdline.
add 1 to line_cnt.
endloop.
endif.
endform.
The above subroutine is called with the following code:
if p_cmnt = 'X'.
tdname = cur_cust-kunnr.
perform get_comment using tdname.
endif.
These data elements are defined as:
data: begin of tlinetab occurs 100. "table to process comments
include structure tline.
data: end of tlinetab.
data: tdname like thead-tdname.
Vishal Jonnalwar -
HI team,
I have mainatained long Text in my golden (Configuration Server) for Catalogs and pulling in to dev server and then in quality server. it is shoeing long text ixon in dev server and alos in quality server but actually long text not shoing. giving maessage long text not avaliable. is ther any settings missing.
thanx in advanceYou would need to transport them specifically(Or range) like transporting standard text / Sap script text using Program RSTXTRAN.
Choose Goto > Header from the long text editor for the catalogue codes to identify the Text ID,Text Object and Key of the catalogue code to be transported and use those values in the above program to generate a transport request
Hope it helps.
Regards
Narasimhan -
Hello,
we are working on a process to download longtexts from one system and to upload into another system to add missing long text there for different objects.
We are using SAVE_TEXT and it is working fine for documents in DRAW/DRAT.
Here we got what we expected. Long texts are uploaded and can be edited in the
transaction CV02N.
But then we started with material and with BOMs (bill of material).
Result of upload:
STXH is filled with entries but in MM02 and CS02 we cannot see the added long texts.
Seems that the connection between material and bom and their texts is missing.
For BOM we are not totally wrong. If there is a longtext in the BOM we can add longtext (we READ_TEXT the existing longtext and add our text. Then we do a update) and can see the added longtext in CSxx transactions.
But if there is only a short text, our insert via SAVE_TEXT is not working.
Is there something we are doing wrong or don´t we understand something?
Any help is appreciated.
Best regard
DirkHello Naren,
oh, this answer was bringing light into my confusion.
My problem is that there will be some import files with any long text for any object in R/3 like
material with x textids , bom, equipment etc...
Is there any chance to find out easily which text object combination with textid belongs to a specific long text. The TTXID table is only a listing w/o any explanantion???????
Update longtext in BOM header -> set STZU-LTXSP
Update longtext alternative in BOM header -> set STKO-LTXSP
Update longtext in BOM position -> set STPO-LTXSP
And what is the text ID DPO for?
My other problem now is with Material long text import.
I checked the SDN threats but could not find the answer.
This is my abap that is not running for material.
I can see the long text entries from READ_TEXT, but not in STXH and STXL.
zs_textline_c [ ] = zs_textline_b [ ] .
CALL FUNCTION 'INIT_TEXT'
EXPORTING
id = wa_header-tdid
language = wa_header-tdspras
name = wa_header-tdname
object = wa_header-tdobject
IMPORTING
header = wa_header_b
TABLES
lines = zs_textline_c
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = wa_header_b
insert = 'X'
savemode_direct = 'X'
owner_specified = 'X'
local_cat = ' '
IMPORTING
function = l_result
NEWHEADER =
TABLES
lines = zs_textline_b
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'COMMIT_TEXT'.
COMMIT WORK.
Your help is welcome!
Best regards
Dirk
Edited by: Dirk Meinhard on Mar 31, 2009 4:33 PM
Maybe you are looking for
-
Query Reg env-entry in ejb jar xml
Hi, I have the following tag in the ejb-jar of my application: <env-entry> <env-entry-name>postingDate</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>Request</env-entry-value> </env-entry> When a JNDI LookUp is do
-
Processing JMS messages in sequence one after another
This is my use case which I wan to implement in OSB. 1. I have a queue which will receive messages in huge numbers from a single sender. 2. I have a proxy which will read each message and process the message and send it out. In step 1 , I want each m
-
How much hard drive space needed?
I want to start using time machine when i update my Os this weekend. I have three drives i want to use. two are 500 gb and the other is a 750gb drive. Should i use both 500 drives as one and use the 750 as an external or should i use a 500 and 750 to
-
Odd Display Issue streaking to the right
Hi, I had recently inherited an old mac g4 agp 400mhz with the original ati video card. I'm currently using the hp w2207 widescreen monitor that I use with my pc. I am using the old vga input on it and the DVI input for the PC. The problem I am havin
-
How to create a wavy line with the Pen Tool?
Let me start by saying that I am a novice to Adobe CS4, including PS. I am trying to follow this tutorial: http://www.rnel.net/tutorial/Photoshop/11541 but I can not even get the pen to draw wavvy line. I keep get a straight line. To say the least, I