QS41 - Code Group update couldn't save Long Text
Hi All,
I am using the t-code QS41 to update the catalog type 'T', i.e. defect code. We are required to enter some information using the long text. After we input the long text information, save the catalog and create a transport, we found that the long text information wasn't include in the transport. Any idea on this issue. Do we have to perform manual configuration one-by-one on each client for this table.
Thanks,
Ambrose
Hello Joel,
Locate Domain file at ~/Library/Application Support/iWeb/Domain
right-click file and from info window select drop-down for Sharing & Permissions then make sure Privilege is set to Read & Write.
hth
Similar Messages
-
Catalog /Code group updation
Dear Experts,
As pe r my knowledge we have to update the below master data in SPRO only:
> Catalogs / Code Groups / Codes
Hope i m right, and we have to update the same manually one by one or any other BC or LSMW kind of thing is there. plz guideHi Deepak.........
Yes, its true that you can update the Catalogs, Code Groups & Codes through SPRO only. They are the master data to be uploaded in SPRO i.e. customizing. For this you donot need any BDC. By LSMW, you can upload this or simply cut paste of Excel Sheets is more than enough for this.
You cannot update this through Tcode because its a Client Specific & uploading a catalog will happen with using * means the entire catalog is blocked for usage by the users till you save your changes & close the screen.
Hope, you understand......
Regards......... -
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 -
How to update CC02 Chng Header Long Text?
Hello everyone,
I'm trying to better understand how to dynamically update the long text in transaction CC02 from a custom program. I have debugged through CC02 and found that it uses SAVE_TEXT and COMMIT_TEXT so I too, have tried the same.
What I've found is that as long as a Change Header Long Text was created first in CC02, the code below works successfully without issue, and is reflected when I go into CC02 - I can see my changes.
On the other hand, if the Change Header Long Text was not already created, and I create it for the first time, this text is stored and I can successfully read it using READ_TEXT Function Modules. However CC02 does not show this saved text. Therefore, any changes made in CC02 will then overwrite my changes made in my custom program.
I have explored the INSERT parameter of SAVE_TEXT, and pass an X if the Change Header Long Text does not already exist (Determined using READ_TEXT). However, this did not seem to yield any success.
Can anyone explain why this works correctly when it is already created, but does not work correctly if I am creating the long text for the first time in my program?
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = lwa_thead
savemode_direct = c_x
* insert = i_new_longtxt
TABLES
lines = lwa_ltext_tmp
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc = 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
object = lwa_thead-tdobject
name = lwa_thead-tdname
id = lwa_thead-tdid
language = s_lang
IMPORTING
commit_count = iv_updated_texts.
ENDIF.
Useful hints or tips will be rewarded! Thank you!Hi Custodio,
Thanks for the reply. To further elaborate, the parameters I've tried passing through lwa_thead are the following:
CONSTANTS:
w_tdid TYPE thead-tdid VALUE 'AENR', " Change Master Table
w_tdobject TYPE thead-tdobject VALUE 'CHANGE', " Static Object
w_linesize TYPE thead-tdlinesize VALUE '72', " 72 characters per line
w_tdform TYPE thead-tdform VALUE 'ECM_LTXT', " Form Name in CC02 Header Long Text
* Setup header information
lwa_thead-tdid = w_tdid. " AENR (Change master table)
lwa_thead-tdobject = w_tdobject. " CHANGE
lwa_thead-tdname = w_tdname. " Client + ECM
lwa_thead-tdspras = s_lang. " Language
lwa_thead-tdlinesize = w_linesize. " Characters per line
lwa_thead-tdform = w_tdform. " Form ECM_LTXT
lwa_thead-TDLUSER = SY-UNAME. " Changed by User
lwa_thead-TDLDATE = SY-DATUM. " Date changed
lwa_thead-TDLTIME = SY-UZEIT. " Time changed
lwa_thead-TDLRELES = SY-SAPRL. " SAP Release
lwa_thead-TDTXTLINES = l_records. " Number of records
For testing purposes, I even mocked the following tran code and program name from CC02 in tdmacode1 to see if that triggered a different result. This did not visibly change anything as far as I could tell.
w_tdmacode1 TYPE thead-tdmacode1 VALUE 'CC02SAPMC29C',
lwa_thead-tdmacode1 = w_tdmacode1. -
Update Time confirmation and Long text of Work Order in single FM or BAPI
Hi,
I would like to know, which standard FM or BAPI will update the longtext along with the confirmation text while doing the time confirmation of a work order.
I have tried with standard BAPI BAPI_ALM_CONF_CREATE for updating the time confirmation. This is updating the time and confirmation text properly but not the long text. I would like to know how can I update the long text while doing the time confirmation. Is there any other standard FM/BAPI will update both?
Thanks in Advance,
Mohan.There is no standard SAP enhancement we can use for this purpose.
We have developed another program to maintian the long text in production order.
This call can be closed.
Cheers,
Qiang -
How can I save long text in a Ztable
Hi ,
I have a ztable in which some of the fields are text fields.
For ex;
field1 char 10
field2 text
field3 char 10
field4 text
field5 text.
How can I create a ztable for long texts.Hi!
I don't think you are able to save SAPScript-like texts into a Z-table.
These long texts are stored centrally in the STXH, STXL tables.
You may save their names in your Z-table, and store-read them using the function elements READ_TEXT, SAVE_TEXT.
Or you might try to enter STRING type fields into your Z-table.
Field1 TYPE STRING.
Regards
Tamá -
SAVE TEXT not updating the database for Recipe Operation Long Texts
Hi,
We are trying to update the Recipe Operation long text using the FM SAVE_TEXT.
The FM is not throwing any error, but the changes are not reflecting in the database.
Text ID: PLPO
Text Object: ROUTING
Language: EN
Text Name: Concatenated string of ARBPL,PLNNR,OPRATIONCOUNTER
If someone faced similar scenarios, please share your inputs.
Thanks in advance,
AnandAfter some more R & D, i got to know that the Long Text indicator should be enabled to get the changes reflected in the C203 recipe operation details.
In C202, if you pass two text lines for Operation long text, this Long text indicator is automatically enabled and its a non editable field.
Can some one provide inputs how to enable this through program?
Regards,
Anand -
Update Long Text of Production Order
Hi ABAP Gurus,
We want to update some information in long text automatically while releasing production order.
We try PPCO0007
We found that we must update AUFK-LTEXT as 'E' then we can see long text via CO02, CO03.
Without updating AUFK-LTEXT, even if the long text value saved in SXTL, but it can not be displayed via CO02, CO03.
After saving the text using 'SAVE_TEXT' function module and commiting it we update the 'ltext' field in AUFK table.
SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
wa_aufk-ltext = 'D'.
MODIFY aufk FROM wa_aufk.
However, it only works when we go to CO02 and press 'Save' button without changing anything.
If we press 'release' button, AUFK-LTEXT will be overwritten by system. >_<
What we expect system to do is that when we release production order, AUFK-LTEXT can be changed to 'E', so that we can display long text via CO02, CO03.
Please help.
Cheers,
QiangThere is no standard SAP enhancement we can use for this purpose.
We have developed another program to maintian the long text in production order.
This call can be closed.
Cheers,
Qiang -
BAPI_SERVNOT_ADD_DATA-update long text of activities in Change Notification
Hi All,
I am trying to use this "BAPI-BAPI_SERVNOT_ADD_DATA" call to change a Service Notification.
The partners,activities get updated. I am unable to update the long text of each of the actvities item.
I am using the following code to update the longtext.
Defects/activities table
data: activities like table of bapi2080_notactvi with header line.
long text table
data: longtext like table of bapi2080_notfulltxti with header line.
*partnr table
data: notifpartnr like table of bapi2080_notpartnri with header line,
longtext-objtype = 'QMFE'.
longtext-objkey = activities-act_sort_no.(item # of the activity)
longtext-format_col = 'U1'.
longtext-text_line = zwin-misc_text1.
append longtext.
longtext-format_col = 'U1'.
longtext-text_line = zwin-misc_text2.
append longtext.
longtext-format_col = 'U1'.
longtext-text_line = zwin-misc_text3.
append longtext.
call function 'BAPI_SERVNOT_ADD_DATA'
exporting
number = zwin-qmnum
I_BAPI = ' '
IMPORTING
NOTIFHEADER =
NOTIFHDTEXT =
tables
notfulltxt = longtext
NOTITEM =
NOTIFCAUS =
notifactv = activities
NOTIFTASK =
notifpartnr = notifpartnr
KEY_RELATIONSHIPS =
return = lt_return
Any help appreciated.
Thanks
MalaHi Neil,
Thanks for the update. The issue has been resolved.
The BAPI- 'BAPI_SERVNOT_ADD_DATA' cannot be used to update the item long text. (activities long text ) . The length of the object key is only 8 characters.
I used the following function module('IQS0_ADD_ACTIVITY_LONGTEXT') to update the item>>activties>> long text after the BAPI call to 'BAPI_SERVNOT_ADD_DATA' .
data: v_line like table of tline with header line.
call function 'IQS0_ADD_ACTIVITY_LONGTEXT'
exporting
i_qmnum = wa_qmnum
i_manum = wa_item_no
i_post = 'X'
I_RESET =
tables
t_inlines = v_line
EXCEPTIONS
SHOW_MESSAGES = 1
OTHERS = 2
The call to 'BAPI_SERVNOT_ADD_DATA' took care of all changes to the Notification except the update of the item>> long text. After committing this transaction, I did a BAP call to 'IQS0_ADD_ACTIVITY_LONGTEXT' to update the item>>actvities>>long text.. This has been working fine and is currently in productin.
Appreciate all your feedback .
Thanks
Mala -
Can you close Material Codes/Groups which have not been used for a while?
Is it possible to close material codes/groups when they are no longer required? This would be similar to putting a date on Cost Centres in finance which then restrict the availability of use.
before putting deletion flag please be sure the stock in those material is ZERO
now rather than using MM06 use
WSE1
here you can block n put deletion flag for material
and to remove deletion flag use
WSE8 -
Deleting codes from code groups/catalogs
Hi experts,
Is it possible to delete a code that is associated to a code group/catalog ?
Obs: I have already used this specific code. So, the field "U" (Data record is being used) is already flagged.
From all activities, I've checked if none of these activities are with the code.
But, I'm still unable to delete the code of code group.
Thanks in advanceFor the code / code groups which are being used, you can't delete, but there's some workarounds :
If you can stop the creation of transactions for 2 mins. use METHOD 1, if not use the METHOD 2 for each code and code groups (which is harder, and longer).
METHOD 1
First method is to enter X to the field HIST in table TQ15 for the catalog in which the codes/code groups are. (it makes the catalog "inactive")
ATTENTION : You must rechange it when you have finished deleting codes / code groups !!!
METHOD 2
Edit the field VERWENDUNG of the table below (you must remove the value 'X' with DEBUG directly from the table):
table for code : QPCD
table for code groups : QPGR
hope this helps.. -
Short coming in BAPI for saving Document Long Text
Hello Experts,
I would be thankful to you if anyone of you offer a solution to the problem below.
I have found that the tables parameter LONGTEXTS of function BAPI_DOCUMENT_CHANGE/CHANGE2/CREATE/CREATE2 (structure BAPI_DOC_TEXT) could include the field TDFORMAT so that the user can specify how the next line should be interpreted by the editor. This would be in accordance with the tables parameter LINES of function SAVE_TEXT which is used to save long text. Currently only the text line is catered for in the BAPI and the TDFORMAT is therefore defaulted to u2018*u2019 in the SAVE_TEXT function which causes each line in the table to be treated as a new line.
What if the user wanted the lines to be treated as continuous text?
With Best Regards,
Mientjie FerrieHi,
1. From se37, check for function group STXD
2. There will be many Fm.
3. The commonly used are
READ_TEXT
EDIT_TEXT
SAVE_TEXT
Regards -
Hi experts:
I want to delete the buttons in long text,and add a new button,how can I carry out?
Thanks all!hi,it's like this.
data:init,
container_2 type ref to cl_gui_custom_container,
editor type ref to cl_gui_textedit.
create object: container_2
exporting container_name = 'TEXTEDIT'.
PERFORM create_toolbar.
create object: editor exporting parent = container_2.
call method editor->get_text_as_stream "获取文本
importing
text = text_tab.
I use the following code to save long text,do you know?
call function 'CONVERT_STREAM_TO_ITF_TEXT'
EXPORTING
LANGUAGE = SY-LANGU
tables
text_stream = text_tab
itf_text = tab.
thead-tdobject = 'ZYFK'.
thead-tdid = 'D001'.
thead-tdspras = sy-langu .
thead-tdname = yfkno.
call function 'SAVE_TEXT'
exporting
header = thead
savemode_direct = 'X'
tables
lines = tab
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5. -
Storing Long text more that 2000 words
Hi all,
Can any tell me how can we save long text?
1) i need to create a table which stores long text (instead of T-code SO10).
Thanks
Senthil Bala
Message was edited by: senthil balaHi
You need to create a table have a filed longer than 512 char, so you should use a field with a domain with type LRAW or LCHR (it can be longer than 512 char):
see the data element PC03_DSATZ for example.
When you create your table, before this field you have to insert a field type INT4 where you'll indicate the lenght of your text.
So your table should be:
MANDT key
NAME (Text Name) key
ZLENG (Type INT4)
TEXT (type LCHR)
Max -
How to create Long Text in Module Pool Program
Hi all,
I want to develop a new module pool program and I want to use Long text screen in this program and also want this text will store in table.I never develop such type of module pool before.This long text will like sales order long text.Please let me know the steps how I can develop such type of program and how I save long text huge data in table.
Thanks & Regards
NirmalHai ,
here you have to use custom control, for this
DATA: line(256) TYPE c,
text_tab LIKE STANDARD TABLE OF line,
field LIKE line.
1) Create custom control in your screen
2) CREATE OBJECT: container EXPORTING container_name = 'TEXTEDIT', "--> (this is custom control name in screen)
editor EXPORTING parent = container.
3) CALL METHOD editor->get_text_as_stream "This method reads data from custom control , inserts into itab 'text_tab'
IMPORTING
text = text_tab. "
READ TABLE text_tab INTO line INDEX 1. read the text into wa 'line'
if you want more clarity , see 'ABAPDOCU' >ABAP USER DIALOGS> COMPLEXSCREEN ELEMENTS--> DEMO CUSTOM_CONTROL
Maybe you are looking for
-
Extension of input fileds in Sales order for account assignment
Dear Gurus, Can anyone tell me how to extend input fields like Statistical order(COBL-AUFNR) and cost center(COBL-KOSTL) in sales order for accounting assignment and these fields have to be ready for manual entries. The order types are ZHGA and ZHV.
-
HOW TO LOOK AT SENDER SYSTEM IDOCS
hi friends, Scinario :recieving the idocs(inbound) we know that the idoc nos. which is send from the sap system to the reciever sap system will change. suppose the sender system is having idoc nos as 10002 the same idoc in the reciever
-
OBIEE - Use CURRENT_DATE in where condition
Hello All, I want to use CURRENT_DATE in one column named "Incident Date/System"."Submit Date(GMT)". I just want to extract CURRENT_DATE(06-02-2013) data. I want to use that field like "Incident Date/System"."Submit Date(GMT)" = CURRENT_DATE. But i a
-
Template links are always local
Hi I am just converting from GoLive so please bear with me. I have a site that I used to be able to drop big collections of layers onto with multiple Flash items and background images. This doesn't seem possible in DW, o I have tried with a Template
-
Safari´s bookmarks won´t synchronize
Hi guys, seems I´m not able to synchronize my safari favorites bookmarks anymore. All the other contacts, calendars are fine. Any idea? Thanks