Save_TEXT problem in IW32
Hi All,
I am facing problem as specified below,
In IW32 I am trying to Append or add new text lines to existing long text lines (read_text then append new lines then
save_text) then it is successful,
but if there is no text lines maintained for Long text then read text is successful & having no data its ok, then
I am trying to append new lines then using SAVE_TEXT as well Create_text with commit_text
it successful & once I tryed to use READ_TEXT then it showing new added text
the main problem is it is not DISPLAYED in IW32 TEXT EDITOR.............?
As I tryed to update AUFK table for the same order with LTEXT field = 'X'......
is there any other tables & fields I nedd to update for LONG TEXT so that it becomes visible..............?
Hi Vijay,
I had updated AUFK-LTEXT as 'E' also its not giving text output in IW32 text editor...........
is there any additional fields to modify or update..........
Similar Messages
-
Operation Long text creation problem in IW32
Hi experts,
I have a requirement of showing a checklist pop up for all the new external operations in creating a MPA work order(IW32). And when the user answers the questions on the checklist, I have to copy all the questions and answers into the long text of the corresponding operation.
The problem here is,
for a case when the long text is not yet created for a new line item, when the pop up is shown and answers are filled, I am creating a new standard text using SVE_TEXT(setting the insert paramter 'X'), but the standard text is getting created in the database i.e a record is getting created in STXH with the text id, text name, text object of the operation. But when I go to IW32 and see the operation line it shows the create long text icon which says that the text is not created at all.
In a case where the long text is already created for the operation, and then the pop up is shown with the questions and answers are filled, the questions and answers are copied into the operation long text which is already created. So this works fine.
If any pointers regarding this please let me know.
Thanks and Regards,
AshaHi,
Try passing SAVEMODE_DIRECT = 'X' and check..
also check if the text exists using the function module READ_TEXT once you do the SAVE_TEXT..
Thanks,
Naren -
Hello All,
I am copying text from sales order and inserting into the production order.
I have used read_text, save_text and commit text.
In the debuggin i can see all the data getting populated, even iam getting sy-subrc = 0 in the save_text FM. <b>However text is not copied into the production order.</b>
Also i have a entry in STXH table.
I have posted my code for your reference
FORM ADD_LONG_TEXT1.
DATA: ID LIKE THEAD-TDID VALUE 'KOPF',
LANGUAGE LIKE THEAD-TDSPRAS,
NAME LIKE THEAD-TDNAME,
OBJECT LIKE THEAD-TDOBJECT VALUE 'AUFK'.
DATA: TLINES LIKE TLINE OCCURS 0 WITH HEADER LINE.
DATA: IT_THEAD LIKE THEAD OCCURS 0 WITH HEADER LINE.
*Prepare text criteria
CONCATENATE SY-MANDT txt-aufnr INTO NAME.
LANGUAGE = SY-LANGU.
*Begin of insert
MOVE id TO IT_THEAD-TDID.
MOVE language to IT_THEAD-TDSPRAS.
MOVE NAME to IT_THEAD-TDNAME.
MOVE OBJECT to IT_THEAD-TDOBJECT.
append it_thead.
*clear it_thead.
*End of insert
*First read text for existing data
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = ID
LANGUAGE = LANGUAGE
NAME = NAME
OBJECT = OBJECT
TABLES
LINES = TLINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
*Append/Insert new text data
LOOP AT txt-tline INTO wa_bdc.
CLEAR TLINES.
TLINES-TDFORMAT = '*'.
TLINES-TDLINE = wa_bdc-tdline.
APPEND TLINES.
ENDLOOP.
Secondly append new text data to existing data
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = it_thead
INSERT = ' '
SAVEMODE_DIRECT = 'X'
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = TLINES
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.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = OBJECT
NAME = NAME
ID = ID
LANGUAGE = LANGUAGE
SAVEMODE_DIRECT = 'X'
KEEP = ' '
LOCAL_CAT = ' '
IMPORTING
COMMIT_COUNT =
TABLES
T_OBJECT =
T_NAME =
T_ID =
T_LANGUAGE =
ENDFORM. "ADD_LONG_TEXTHi,
This is not a user exit, iam not sure about the update task.
It is a normal report program, have to copy the sales text to prod order and mark the user status check for TXTU .
This piece of code.
SELECT SINGLE matnr INTO i_matnr FROM vbap
WHERE vbeln = afpo-kdauf AND posnr = afpo-kdpos.
SELECT SINGLE mtart INTO i_mtart FROM mara
WHERE matnr = i_matnr-matnr.
IF i_mtart-mtart NE 'ZPPG'. " or i_mtart-mtart NE 'HALB'.
IF txt-t_user CS 'TXTU'.
ELSE.
If the status was changed write out the Order and Date.
PERFORM ADD_LONG_TEXT1.
IF sy-subrc = 0.
READ TABLE GT_STATUS WITH KEY TXT04 = 'TXTU'.
IF SY-SUBRC = 0.
PERFORM UPDATE_USER_STATUS
USING txt-aufnr GT_STATUS-ESTAT ''. "D01K956913+
ENDIF.
WRITE: / txt-aufnr.
ELSE.
FORMAT COLOR COL_NEGATIVE.
WRITE: / txt-aufnr.
FORMAT COLOR OFF.
ENDIF.
ENDIF. -
SAVE_TEXT problem in adding new text identifier to an existing text object
I have an existing text object "ZEANR" which stores 9 long text data with identifiers 1 to 9. I want to add a new long text to that text object with id 10. when I use SAVE_TEXT function (with same parameters as others except the ID is set to "0010"), it throws an exception saying : "0010" text identifier is not defined for Text object "ZEANR". How can we append more long texts to an existing object ? I Have tried to change the insert parameter of the SAVE_TEXT function but it didn't work with both cases. I am getting the exception at perform chech_key --> perform check_id of the SAVE_TEXT function.
if someone knows the answer I will be preciated. thanks in advance.The text ID specified in the parameter ID or text header (field TDID) should exist in table TTXID. It must be defined there with the text module object.
Go to transaction SE75, select "Text Objects and IDs", Change. Find your text object (ZEANR) in the list and double click. Choose create. Add a new text id (0010) and description. Save. -
SAVE_TEXT problem - it can't lock??
Hi, ALL.
I use the Function Module 'SAVE_TEXT' in my Zprogram.
It update the Sales long text in MM02.
When a user is in MM02, 'SAVE_TEXT' the Function Module doesn't return error message.
I think it's a LOCK error, but it's not.
Do I need to check LOCK before call function 'SAVE_TEXT' in Zprogram??
If you know that, please let me know.
Regards.
Rie.Your program must use the same logic than the standard program to manage locks.
- Lock same object(s) (ENQUEUE_Exxxx)
- Use same FMs like SELECT_TEXT, READ_TEXT, INIT_TEXT, SAVE_TEXT or similar tools
Tips: Execute transaction SE30 on MM02 and update a text, then evaluate the performance data file, look for call to FM starting with ENQUEUE or calls containing TEXT in the trace.
Remarks:
- A Save module is a little late to manage lock, no ?
- "I think it's a LOCK error, but it's not", it is a LOCK error, but in your program
- You could use BAPI_MATERIAL_SAVEDATA (table parameter MATERIALLONGTEXT) to update/create text, this one manages locks.
Regards,
Raymond -
Problems in IW32, Operations, Table settings
Hi,
in IW32 i select operations and will change table settings.
I select table settings, and Administrator. The field actual work (AFVGD-ISMNW) is set as invisible. Now i unmark this
Field, activate it and go back.
But the field actual work is still invisible.
Is there any way to set this field as visible?
Thanks.
regards, Dietertell me user-exit name so that I can tell u what is the problem
-
"Update Termination" error when TECO is been done to Workorders in IW32
Hi Everyone,
I am facing some problem with IW32, what has happened is when I create a notifiaction and simulatenously do a TECO(technically completed) to a workoder in IW32, i get a error Update terminated.
I problem is it is not cretaing th notification too, after when i create a notification and click on TECO icon, it leave the IW32 screen and says Order#XXXX and Notification %000000000001 saved.
Note that recently the support pack has been applied to the system(ECC 6.0)
so when i freshly create a WO# and create a notification and do teco immediately i do not have any problem and notification too gets created.
I have problem only those WO# s which was created before support pack and notification and teco done now(i.e. after supprot pack is applied) .
Please help me on this, every day this seems to be a problem i get a couple tickets on this and unable to rectify this error
Regards,
RajHi Everyone,
I forgot to add the error that causes Upadte terminte,
when i looked in SM13, it says Notification Missing, Since notification and teco happening simulataneously this is happening, but why is that when notification created and done Teco before and after Support pack works..
where as the WO# create before and notification and teco done later has problem..
is it some cofig problem.. -
Hi guys I have a problem trx iw32 use a form to print a service order however the description order has only 40 character field CAUFVD-TEXT in "description " you can put a longer text but when you try to pass this to form only you can see the 40 chr . What can i do , How can I show a longer test.
Hi,
Maybe look at a standard print program such as RIPRJT00. The function READ_TEXT is used to read the long text for order header, operations, etc.
You might also get more help in the [Enterprise Asset Management (EAM)|Enterprise Asset Management (SAP EAM); forum.
-Paul -
Problem in SAVE_TEXT usage
I am facing problem in displaying the Long text in Open Maintenance orders IW31 Sscreen.
i am uploading the long text using SAVE_TEXT function module.
i can see the data in STXL table but i am not able to see the data on the transaction screen display or change mode.
I am using correct object name ,id and etc..in header table objectid: AUFK, TEXTID: AVOT ,tdname:clintidroutingnumber(afvc table aufpl field sequence(like 0001.. ), language: EN.
Text line also i am passing and i am enering the direct saving mpde.
i am getting sy-subrc eq = 0.
and i am able to get the data by READ_TEXT table.
my problem is why the Long text data is not diaplying on the scrreen(TEXT editor).
same thing happening in COmponents LONG TEXT in the same TCODE
Please Help me.Hi Srinivas,
I've been facing similar problem.I followed the procedure that you've mentioned , but still couldn't display the long text on the transaction IW32.I've attaching the code as well.
*& Include ZXWO1U05
DATA:text_object_name LIKE stxh-tdname.
DATA: BEGIN OF ltxt_lines OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF ltxt_lines.
DATA:p_object LIKE thead-tdobject VALUE 'AUFK',
p_name LIKE thead-tdname,
p_language LIKE thead-tdspras VALUE 'E',
p_type LIKE thead-tdid VALUE 'KOPF',
p_header LIKE thead .
TYPES: BEGIN OF lt_edit_line,
line LIKE rssource-line, "c(72)
END OF lt_edit_line.
DATA lt_edit_table TYPE TABLE OF lt_edit_line.
DATA:ls_efindpar TYPE efindpar.
DATA:t_trace TYPE TABLE OF ewffndtrac,
t_result TYPE TABLE OF efindres.
TYPES:BEGIN OF ty_eablg,
ablbelnr TYPE ablbelnr,
anlage TYPE anlage,
ablesgr TYPE ablesgr,
ableinh TYPE ableinh,
adatsoll TYPE adatsoll,
END OF ty_eablg.
DATA:t_eablg TYPE TABLE OF ty_eablg,
ls_edit_table TYPE c LENGTH 132.
FIELD-SYMBOLS:<fs_eablg> TYPE ty_eablg,
<fs_trace> TYPE ewffndtrac.
CONSTANTS:lc_instln TYPE efindres-objtype VALUE 'INSTLN'.
CONSTANTS:lc_period TYPE ablesgr VALUE '01',
lc_moveout TYPE ablesgr VALUE '03',
lc_movein TYPE ablesgr VALUE '06'.
CALL FUNCTION 'CO_ZK_TEXTKEY_CAUFV' "Gets me the thead-tdname
EXPORTING
aufnr = caufvd_imp-aufnr
IMPORTING
ltsch = text_object_name.
p_name = text_object_name.
CALL FUNCTION 'READ_TEXT'
EXPORTING
language = p_language
id = p_type
name = p_name
object = p_object
IMPORTING
header = p_header
TABLES
lines = ltxt_lines
EXCEPTIONS
id = 01
language = 02
name = 03
not_found = 04
object = 05
reference_check = 06.
IF sy-subrc IS INITIAL.
REFRESH lt_edit_table.
ENDIF.
ls_efindpar-l_devloc = caufvd_imp-tplnr.
*get the installation
CALL FUNCTION 'ISU_FINDER'
EXPORTING
x_objtype = lc_instln
x_findpar = ls_efindpar
TABLES
yt_result = t_result
yt_trace = t_trace
EXCEPTIONS
insufficient_selection = 1
objtype_not_supported = 2
additional_selection_needed = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*get the 13 meter reads.
DATA:lv_calc_date TYPE bkpf-bldat,
lv_tabix TYPE sy-tabix,
lv_text(100) TYPE c.
CONSTANTS:lc_read TYPE bseg-dtws2 VALUE '13'.
CALL FUNCTION '/SAPHT/DRM_CALC_DATE'
EXPORTING
date = sy-datum
days = '00'
months = lc_read
sign = '-'
years = '00'
IMPORTING
calc_date = lv_calc_date.
READ TABLE t_trace ASSIGNING <fs_trace> WITH KEY objtype = lc_instln.
IF sy-subrc = 0.
SELECT ablbelnr anlage ablesgr ableinh adatsoll
FROM eablg
INTO TABLE t_eablg
WHERE anlage = <fs_trace>-objkey
AND adatsoll BETWEEN lv_calc_date AND sy-datum
AND ( ablesgr = lc_period OR ablesgr = lc_moveout OR ablesgr = lc_movein ).
IF sy-subrc = 0.
LOOP AT t_eablg ASSIGNING <fs_eablg>.
AT FIRST .
CONCATENATE ls_edit_table 'MR unit ' INTO ls_edit_table SEPARATED BY space.
CONCATENATE ls_edit_table 'Installation ' INTO ls_edit_table SEPARATED BY space.
CONCATENATE ls_edit_table 'MRU reason ' INTO ls_edit_table SEPARATED BY space.
CONCATENATE ls_edit_table 'Scheduled MR Dt ' INTO ls_edit_table SEPARATED BY space.
APPEND ls_edit_table TO lt_edit_table.
ENDAT.
CLEAR: ls_edit_table.
CLEAR lv_text.
lv_text = <fs_eablg>-adatsoll.
CONCATENATE lv_text ' ' ls_edit_table INTO ls_edit_table SEPARATED BY space.
CLEAR lv_text.
lv_text = <fs_eablg>-ablbelnr.
CONCATENATE lv_text ' ' ls_edit_table INTO ls_edit_table SEPARATED BY space.
CLEAR lv_text.
lv_text = <fs_eablg>-anlage.
CONCATENATE lv_text ' ' ls_edit_table INTO ls_edit_table SEPARATED BY space.
CLEAR lv_text.
lv_text = <fs_eablg>-ableinh.
CONCATENATE lv_text ' ' ls_edit_table INTO ls_edit_table SEPARATED BY space.
APPEND ls_edit_table TO lt_edit_table.
CLEAR: ls_edit_table,lv_text.
ENDLOOP.
ENDIF.
ENDIF.
TYPES:BEGIN OF ty_elev,
anlage TYPE anlage,
vstelle TYPE vstelle,
vbsart TYPE vbsart,
eigent TYPE e_gpartner,
END OF ty_elev.
DATA:t_elev TYPE TABLE OF ty_elev.
FIELD-SYMBOLS:<fs_elev> TYPE ty_elev.
IF t_eablg IS NOT INITIAL.
SELECT elanlage evvstelle evvbsart eveigent
FROM eanl AS el
INNER JOIN evbs AS ev
ON elvstelle = evvstelle
INTO TABLE t_elev
FOR ALL ENTRIES IN t_eablg
WHERE el~anlage = t_eablg-anlage.
ENDIF.
LOOP AT t_elev ASSIGNING <fs_elev>.
AT FIRST.
ls_edit_table = 'Premise'.
CONCATENATE ls_edit_table 'Premise Type' 'Owner Allc' INTO ls_edit_table SEPARATED BY space.
APPEND ls_edit_table TO lt_edit_table.
CLEAR ls_edit_table.
ENDAT.
ls_edit_table = <fs_elev>-eigent.
CONCATENATE ls_edit_table <fs_elev>-vbsart <fs_elev>-vstelle INTO ls_edit_table SEPARATED BY space.
APPEND ls_edit_table TO lt_edit_table.
CLEAR ls_edit_table.
ENDLOOP.
LOOP AT lt_edit_table INTO ltxt_lines-tdline.
ltxt_lines-tdformat = '*'.
APPEND ltxt_lines.
ENDLOOP.
if p_header is not initial.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
header = p_header
INSERT = 'X'
SAVEMODE_DIRECT = 'X'
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
tables
lines = ltxt_lines
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.
else.
UPDATE AUFk SET ltext = 'X' where aufnr = caufvd_imp-aufnr .
ENDIF.
else.
p_header-tdobject = p_object.
p_header-tdname = p_name.
p_header-tdspras = p_language.
p_header-tdid = p_type.
p_header-TDFUSER = sy-uname.
p_header-TDFRELES = '701'.
p_header-TDFDATE = sy-datum.
p_header-TDFTIME = sy-uzeit.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
header = p_header
INSERT = 'X'
SAVEMODE_DIRECT = 'X'
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
tables
lines = ltxt_lines
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.
else.
UPDATE AUFk SET ltext = 'X' where aufnr = caufvd_imp-aufnr .
endif.
endif.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = p_object
NAME = p_name
ID = p_type
LANGUAGE = 'E'
SAVEMODE_DIRECT = 'X'
KEEP = ' '
LOCAL_CAT = ' '
IMPORTING
COMMIT_COUNT =
TABLES
T_OBJECT =
T_NAME =
T_ID =
T_LANGUAGE =
Kindly request you to provide a suitable solution at your earliest convenience.
Thanks,
Chakram Govindarajan -
Problem with SAVE_TEXT FM
Hello,
I am having a problem with using the SAVE_TEXT FM.
Here is the scenario.
I am trying to populate the Long Text on a PM work order component line for a reservation.
Prior to populating this field, no text will exist in this field.
I create the name key using the following:
sy-mandt + resb-rsnum + resb-rspos + resb-rsart
The object id AUFK and the ID is MATK.
INSERT = X
SAVEMODE_DIRECT = X
OWNER_SPECIFIED = space
LOCAL_CAT = space
When I call the FM I get a return code of 0 and when I do a READ_TEXT FM using this key I can see that the text exists in table STXH.
However, when I go to view the long text for the reservation component in IW32 there is no text there.
If I now manually add text to the long text and save, if I now run the SAVE_TEXT FM with the same key, the FM overwrites the value of the text which was manually entered with the value from the FM.
So, does anyone know why the FM writes an entry to STXH which isn't visible in IW32 prior to manually adding text, but is visible after manually adding text?
Has anyone experienced this problem before?
I would appreciate any help anyone could give me.
thanks,
KevinSorry table was RESB, but answer is correct anyway,
field is RESB-LTXSP.
Look at <a href="https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/corr_instr/correction_detail.htm?_CINSTA=0120061532&_CALEID=0000356881&_CPAKID=1&_PGMID=LIMU&_OBJ=REPS&_OBJNAM=ZDELRESBLTXSP&tab=2">Example of program updating flag long text</a> or note <a href="https://service.sap.com/sap/support/notes/706261">Note 488862 - No long text for component although long text flag existing</a>
Regards -
Problem in SAVE_TEXT function module
Hi all,
I am facing problem in updating the text to PO when using the FM SAVE_TEXT. The first line of the header text is being populated but not second line. I am putting sqnumber as 2, but still it is not populating. I am using correct object name , id and etc..
any idea.
SriHi,
Try something like:
FORM update_text USING fp_rec_text TYPE ty_text
fp_rec_vbeln_vbeln TYPE vbeln_va.
*Local declaration
DATA: l_header TYPE thead, "Header text
l_rec_line TYPE tline. "Text
DATA: l_i_line TYPE STANDARD TABLE OF tline
INITIAL SIZE 0. " Internal Table for l_line
l_header-tdobject = c_object.
l_header-tdname = fp_rec_vbeln_vbeln.
l_header-tdid = fp_rec_text-tdid.
l_header-tdspras = c_lang.
l_rec_line-tdformat = c_format.
l_rec_line-tdline = fp_rec_text-tdline.
APPEND l_rec_line TO l_i_line.
*Call subroutine to modify text
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = l_header
savemode_direct = c_flag
TABLES
lines = l_i_line
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE i000 WITH 'Standard text not saved'(075).
LEAVE SCREEN. "Leave screen
ELSE.
*Commit the Save of the Text
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
name = l_header-tdname
savemode_direct = c_flag.
ENDIF.
ENDFORM. " update_text -
Hi all,
when I drop PR to PO in ME21N, the text of PR needs to be displayed in PO header text.
Im reading the text of PR, using READ_TEXT.
and I have used SAVE_TEXT to populate the header text of PO.
The problem is the text is not displaying on the header text.
But, when I double click the header text, it takes me to change editor,after coming back from change editor the text is displaying.
Pls let me know what would be the problem.
Thankyou,
PriyaHi Dzed n Vinod,
Here is the code which im using after reading the text.
Pls let me know where it is going wrong.
***populate the text for PO
IF NOT t_potext[] IS INITIAL.
header_po-tdobject = 'EKKO'.
header_po-tdid = 'F02'.
header_po-tdspras = v_spras.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = header_po
insert = 'X'
savemode_direct = 'X'
* OWNER_SPECIFIED = ' '
* LOCAL_CAT = ' '
IMPORTING
* FUNCTION =
NEWHEADER = header_new
TABLES
lines = t_potext[]
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5
IF sy-subrc = 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = header_po-tdobject
NAME = '*'
ID = header_po-tdid
LANGUAGE = header_po-tdspras
SAVEMODE_DIRECT = 'X'
* KEEP = ' '
* LOCAL_CAT = ' '
* IMPORTING
* COMMIT_COUNT =
* TABLES
* T_OBJECT =
** T_NAME =
* T_ID =
* T_LANGUAGE =
ENDIF.
Thankyou,
Priya -
Problem with SAVE_TEXT Usage
Hi,
I'm starting a new thread because this is a different issue than my original problem.
I am using our BW system to save texts. Calls to the function return with sy-subrc=0. However, no data is added to STXH and STXL.
We have never before saved texts to the TDOBJECT that I'm trying to save to now.
I have used txn SM75 to create the TDOBJECT and IDs.
Is there something that I need to set up before I can use the object and texts?
Thank you.Fong,
I am not sure if the transaction SM75 is the right one, I could not find that in my system. Usually you create texts using SO10 transaction.After using SAVE_TEXT if you commit the same, usually the text is saved.
While retrieving using READ_TEXT you will have to pass the same objects used while saving.
Regards,
Ravi -
Possible problems in validating authorization (IWERK) in Tx Iw32
Hello all,
I have a problem and I do not know if it's a functional problem or if my application has an error. I comment with my invonveniente Example:
1st. I think a support order in a planning center (100) for equipment XXXX. My user has authorization in the security object:
I_IWERK
--- Iwerk = 100
--- TCD = IW31 IW32
2nd. Then someone adjust the machine editing of the central planner, placing the center 200.
3rd. I try to modify the maintenance order that believes in the center 100 and the system tells me I have no authorization to work in the center 200. If I see a little more, I see that the system produces the error objects BASIS:
I_IWERK
--- Iwerk = 200
--- TCD = IW32
What I find strange is that my support order is still in the planning center 100. From what I could investigate, the system not only controls the center of planning the maintenance order, but so does the machine that contains the order.
Query:
Normal Is this approach the system?
This refers to the do it do not fit into my implementation process.Hello all,
I have a problem and I do not know if it's a functional problem or if my application has an error. I comment with my invonveniente Example:
1st. I think a support order in a planning center (100) for equipment XXXX. My user has authorization in the security object:
I_IWERK
--- Iwerk = 100
--- TCD = IW31 IW32
2nd. Then someone adjust the machine editing of the central planner, placing the center 200.
3rd. I try to modify the maintenance order that believes in the center 100 and the system tells me I have no authorization to work in the center 200. If I see a little more, I see that the system produces the error objects BASIS:
I_IWERK
--- Iwerk = 200
--- TCD = IW32
What I find strange is that my support order is still in the planning center 100. From what I could investigate, the system not only controls the center of planning the maintenance order, but so does the machine that contains the order.
Query:
Normal Is this approach the system?
This refers to the do it do not fit into my implementation process. -
Problem sending Faxes from Change Order(IW32) in NW 2004s
Hello Everyone,
We have just recently upgraded our version of SAP from 4.6c and we have discovered an interesting issue when trying to fax shop papers from IW32.
In 4.6c we had configured a output device in SPAD that would redirect the output to SCOT via SAPcomm to our Rightfax fax servers. With the new version of SAP the functionality for creating an output device of type 'FAX' has been disabled since SAPConnect has replaced SAPComm.
How we used to do this is we'd goto IW32, enter an order and choose the menu function Order/Print/Order you could then enter the device type and also the recipient's fax number and the country code.
When we try this in the new system no fax is created, when we remove the device type (clear the box) we still do not create a fax output. When we specify another device (i.e. printer etc) we get an error stating that this is not a Fax device and the request fails.
Does anyone know of a way to correct this problem since our users would like to continue to fax shop papers from our system.
Regards,
JamesJuan,
We are able to send faxes from SAP to our rightfax system without issues. This is not the problem we are experiencing.
The issue is when you try to fax something from IW32 via the option Print/Order/Print. It requires a spool output device to be specified.
Since you cannot create an output device of type FAX anymore and you cannot use another type of device type to send the fax we are trying to figure out how to get these printouts to be redirected to SAPConnect and SCOT.
Regards,
James
Maybe you are looking for
-
After updating my system to Mountain Lion 10.8.2 I can no longer view videos on Facebook or other sites. The only one I can view videos on is youtube. I have downloaded Adobe Flash player and still no luck. I cannot even open Preview on my computer a
-
When a sales order is blocked in EDI evvironment
what status is assigned to a EDI doc when a delivery block is assigned to a sales order in EDI environment. How we can activate display of text messages when a EDI doc is blocked.
-
I'm having trouble setting-up an e-mail for my niece
I have talked to comcast and they said that it was a Apple setting problem. Can anyone help?
-
How to get the list of query parameters
Say I have an URL like the following: http://localhost/test.jsp?EmpID=1&DeptID=2 and I want to get the list "EmpID=1&DeptID=2" into a String object. How could I do that? Thanks. Mandy
-
My problem concerns podcasts I download directly from itunes using my WiFi network at home to my itouch. Until last Friday, when I would check for latest podcasts (as an example, ESPN Pardon the Interruption), the itunes store on the itouch and my Ma