I/O error for text VBBK
Hi Friends,
I am facing a problem when scheduling the order creation program in the background. I receive an error ' I/O error for text VBBK 0410143215 ZOPR EN" and the whole process ends with an exception. The texts are been inserted in the table STXH for the Text id ZOPR.
Can you pls give me some suggestion interms of tuing the program or in terms of the tuning the table STXH.
Thanks an Advacnce.
Venky.
Hi Friends,
Pls see the attahed code.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = v_client
header = thead
INSERT = ' '
savemode_direct = 'X'
IMPORTING
function = txtfunction
newheader = thead
TABLES
lines = tlines
EXCEPTIONS
id = 1
language = 2
name = 3
object = 5.
IF sy-subrc EQ 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
object = 'VBBK'
name = ret_ord_no
id = 'ZOPR'
LANGUAGE = 'EN'
savemode_direct = 'X'.
COMMIT WORK.
ENDIF.
Thanks,
Venky.
Similar Messages
-
Hi Friends,
I am facing a problem when scheduling the order creation program in the background. I receive an error ' I/O error for text VBBK 0410143215 ZOPR EN" and the whole process ends with an exception. The texts are been inserted in the table STXH for the Text id ZOPR.
we have some very huge records in the table STXH and hence inserting / saving the records we get the I/O Error for Text VBBK. We are using Oracle 9.2.0.9.
Can you pls give me some suggestion interms of tuing the program or in terms of the tuning the table STXH.
Thanks in Advance.
Venky.Hi Friends,
Pls see the attahed code.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = v_client
header = thead
INSERT = ' '
savemode_direct = 'X'
IMPORTING
function = txtfunction
newheader = thead
TABLES
lines = tlines
EXCEPTIONS
id = 1
language = 2
name = 3
object = 5.
IF sy-subrc EQ 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
object = 'VBBK'
name = ret_ord_no
id = 'ZOPR'
LANGUAGE = 'EN'
savemode_direct = 'X'.
COMMIT WORK.
ENDIF.
Thanks,
Venky. -
I/O Error for TEXT VBBP ----- TD607 Error
Hi Gurus,
We have activated the BADI CFOP_DET_PREP in the Delivery Program.
When I am going to VL02N and trying to update the Partner Functions in the Delivery Document then the system is giving the error as shown below
i was unable to find the reason for this error.......
PERFORMANCE ASSISTANT
I/O error for text VBBP 0080000005000010 ZTX6 EN
Message no. TD607
Diagnosis
You want to read a text from the database, delete it, or save it to the database.
System Response
An error occurred when the database was accessed.
Procedure
Try repeating the procedure. If the error recurs, contact your system administrator.
The above one is the error that it was showing me.
Can anyone please tell me the reason for the Error and also the possible solution in this situation.
Thanks in Advance,
Rakesh Tummala.
Edited by: Rakesh Tummala on Sep 24, 2010 2:34 PMNormally, if SAP is unable to update or read any text at either header (Table STXH) level or item (PSTXH) level, it will throw this error.
So you have to check these tables and find out the root cause of which text is creating problem.
thanks
G. Lakshmipathi -
I/O error for text EKPO 450000090500001 F01 EN - error while adding text
HI All,
I am creating text for PO item through user exit.
If it contains any text already..it need to add the new text to the next line.
for this i am reading the existing data and appending taht data to internal table , appending new data to this internal table along with old data.
i am getting the error as " I/O error for text EKPO 450000090500001 F01 EN'.
please check my code and provide me the suggtions to avoid this error.
IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' .
DATA : v_thead LIKE thead,
v_tline LIKE tline,
t_it_tline LIKE tline OCCURS 0,
t_it_tline_r LIKE tline OCCURS 0,
wa_tline_r TYPE tline,
v_auart TYPE auart,
v_kdmat TYPE kdmat.
DATA: cc LIKE sy-index.
DATA: t_object LIKE STANDARD TABLE OF stxdrobj.
DATA: t_name LIKE STANDARD TABLE OF stxdrname.
DATA: t_id LIKE STANDARD TABLE OF stxdrid.
DATA: t_language LIKE STANDARD TABLE OF stxdrlang.
CLEAR : v_auart,
v_kdmat,
v_tline,
v_thead.
REFRESH t_it_tline.
MOVE : 'F01' TO v_thead-tdid,
'EKPO' TO v_thead-tdobject,
sy-langu TO v_thead-tdspras.
LOOP AT xekpo.
CLEAR v_tline.
REFRESH t_it_tline.
READ TABLE xekkn WITH KEY ebelp = xekpo-ebelp.
IF sy-subrc = 0.
SELECT SINGLE auart FROM vbak INTO v_auart WHERE
vbeln = xekkn-vbeln.
IF v_auart = 'ZYCA'.
SELECT SINGLE kdmat FROM vbap INTO v_kdmat
WHERE vbeln = xekkn-vbeln
AND posnr = xekkn-vbelp
AND matnr = xekpo-matnr.
CONCATENATE 'Customer Part No:' v_kdmat INTO v_tline-tdline.
v_thead-tdname+0(10) = i_ekko-ebeln.
v_thead-tdname+10(5) = xekpo-ebelp.
*If any text already exits.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = v_thead-tdid
language = sy-langu
name = v_thead-tdname
object = v_thead-tdobject
TABLES
lines = t_it_tline_r
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 t_it_tline_r INTO wa_tline_r.
IF NOT wa_tline_r-tdline CS v_tline-tdline AND
wa_tline_r-tdline NE space.
APPEND wa_tline_r TO t_it_tline.
ENDIF.
ENDLOOP.
* CALL FUNCTION 'DELETE_TEXT'
* EXPORTING
* id = v_thead-tdid
* language = sy-langu
* name = v_thead-tdname
* object = v_thead-tdobject
* EXCEPTIONS
* not_found = 0
* OTHERS = 0.
* IF sy-subrc NE 0.
* ENDIF.
ENDIF.
*----- Now append the customer material part number to existing text.
v_tline-tdformat = '*'.
APPEND v_tline TO t_it_tline.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = v_thead
TABLES
lines = t_it_tline
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 = 'EKPO'
name = '*'
id = 'F01'
language = sy-langu
savemode_direct = 'X'
IMPORTING
commit_count = cc
TABLES
t_object = t_object
t_name = t_name
t_id = t_id
t_language = t_language.
IF sy-subrc EQ 0.
* MESSAGE s000(zm01) WITH text-m01.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
Edited by: Thomas Zloch on Oct 19, 2010 2:31 PM * please use tags!Hi,
dont pass sy-langu to language parameter tdspras. Check the document 4500000905 and item 00001 item text language .
I am sure it is not EN as your login language.
I hope you know how to check the item text tdid , tdname, tdobject and tdspras.
Thanks,
subash -
Unknown Error for Text Tweening
Hello,
I'm currently going through some Flash CS3 exercises. One of
the topics I'm trying to complete is how to tween text. According
to the video, I am supposed to:
1) Create a piece of static text (is: "HOME")
2) Convert to symbol/movie clip
3) Break apart the symbol
4) Go into Modify -> Timeline -> Distribute to Layers
5) Apply any desired settings and tween effects
However, when I attempt to Distribute to Layers, I am met
with a error: "Could not complete operation because of an unknown
error." I've tried this many times in different ways, but the
result is the same. I wouldn't be so frustrated with it if it
didn't specify an "unknown" error. I tried doing this exercise
using Dynamic text, but Flash CS3 crashed o.O
Any help would be very much appreciated.I figured out the problem. Turns out I had the wrong
anti-aliasing option.
Apologies, -
ERROR(No text fould) for a request loaded into InfoProvider.
Dear Experts,
I'm facing a typical problem. The regular data loads used to be fine. Since past 2 days, when the loads happen through the regular PCs, in some DSOs I find in the Datasource Name column DataSource Name and (No text Found),. The Sourcesystem column shows ERROR and the source system description shows ERROR(No text found). Although, the status of request loaded is green and is available for reporting. But in the next load it throws error saying the previous load is incomplete or improper.
Any help would be highly appreciated.
Thankx and Regds,
KaushikThankx Srinivas for the reply.
But there have been no changes whatsoever, in the source nor in the BI Models. And it is happening continuously for the 3rd day. When I delete and reload, it just works fine.
Regds,
Kaushik -
Internal program error at: Text for characteristic
Hi Expert,
Need assistance in what i have encountered when i am making a transfer posting for my material to have a stocks, i already used MIGO, MB1C, and MB1B. when doing those even i have a production or purchassed order in hands, i am encontering " Internal program error at: Text for characteristic "
i am hoping for your urgent solutions on this and how this occured for my posting?
Thanks and Regards,
JJYou should contact your ABAPer,by debugging he will tell you the real problem.
-
Retropay by element run Errors for one employee
When i am running retropay for 3711 employees one of them errors out and the retropay by element process ends as Incomplete.
The following is the error for the assignment:
Error ORA-01427: single-row subquery returns more than one row has occurred in table pay_element_entries_f at location 4502
Cause: an oracle error has occurred. The failure was reported on table pay_element_entries_f at location
The log file for that it appears as follows:
Payroll: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
RETROELE module: RetroPay By Element
Current system time is 15-APR-2010 16:26:51
===============================================================================
Oracle Human Resources Generic Process
Started at : 15-APR-2010 16:26:51
Chunk Size : 20
Threads : 1
Logging Category :
User Messaging : N
Interlock : N
Trace : N
RR Buffer Size : 500
RRV Buffer Size : 500
Bal Buffer Size : 500
EE Buffer Size : 500
Logging Area :
Assignment ID for Start:
Assignment ID for End o:
HR_6881_HRPROC_ORA_ERR
SQLERRMC ORA-01427: single-row subquery returns more than one row
SQL_NO 4502
TABLE_NAME pay_element_entries_f
APP-PAY-06881: Error ORA-01427: single-row subquery returns more than one row
has occurred in table pay_element_entries_f at location 4502
Cause: an oracle error has occurred. The failure was reported on table pay_element_entries_f at location 4502 with the error text ORA-01427: single-row subquery returns more than one row
Action: Please contact your support representative.
Ended processing at : 15-APR-2010 21:50:07
Total Assignment count : 3711
Total Action count : 3711
Successfully processed : 3710
Skipped : 0
Unprocessed : 0
Errored : 1
===============================================================================
PL/SQL Output
PL/SQL Output
Executing request completion options...
------------- 1) PRINT -------------
Printing output file.
Request ID : 595012
Number of copies : 1
Printer : noprint
APP-FND-00092: Routine PRINT_OUTPUT cannot find the file /data/oracle/PRD/inst/apps/PRD_hrmsprod/logs/appl/conc/out/o595012.out to print.
Check if the file exists. Check if the person who started the concurrent manager has read privileges on the directory and on the file. Contact your system administrator to assign read privileges.
Finished executing request completion options.
Concurrent request completed
Current system time is 15-APR-2010 21:50:08
Please can some one help me to troubleshoot so that i can rectify this error for 1 employee?
Edited by: 594647 on Apr 16, 2010 10:46 AMyou can delete the retro assignment action for the moment, so you can launch the run for all employees.
As such, you have some more time to debug the issue.
I would activate some payroll tracing, so you know which fast formula throws this error. And then you should dig further, so you can identify the sql retruning multiple rows.
Or you do a sql*trace. That one will also point you to the offensive sql. -
Could not load file/URL (file not found) error for JNLP file
I am completely baffled in trying to figure out why I am getting the following error for some JNLP files but not others:
Error: could not load file/URL specified: C:\Users\tom\AppData\Local\Temp\javaws2
java.io.FileNotFoundException: C:\Users\tom\AppData\Local\Temp\javaws2 (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)I have Googled around this forum and elsewhere, and have seen reports that this error is IE-specific, and seems to have something to do with no-cache headers being sent, or with the client browser's cache being full or turned off (which is not my case). I saw the information in the JavaWS FAQ, which recommended turning off security constraints for the JNLP's URI. I tried that, and it didn't help. One of the very baffling things is that I have created several variations of the JNLP file, with varying combinations of jars and property resources, and some combinations always work while other combinations never work. Here's an example:
<jnlp spec="1.0+" codebase="$$codebase">
<information>
<title>demo app</title>
<description>illustrates weird bug</description>
</information>
<resources>
<j2se version="1.5+"/>
<jar href="randomFile.jar"/>
<property name="xxx" value="xxxx"/>
<property name="swing.metalTheme" value="steel"/>
</resources>
</jnlp>The above file always fails with the error shown at the top of this message. However, if I remove either of the two properties, it works fine. And I have created other variations with lots of properties, some of which work. All of these variations are in the same directory in the war file, served by the exact same servlet (a slightly modified version of the jnlp.sample.servlet.JnlpDownloadServlet provided with JDK 1.6.0_3). Assuming that a no-cache header is the problem, what on earth could be causing some JNLP files to always be served with a no-cache header, while others are never served with a no-cache header?
On a related note, any recommended debugging techniques for seeing what headers are being transmitted? I tried adding a simple check for a "debug=true" parameter in the servlet that causes it to set the content type to "text/plain" instead of JNLP, and that allows me to see (rather than execute) the JNLP XML that's being returned, but it doesn't show me the HTTP headers that are being sent back. If any caching headers are being set, I think it must be being set by the servlet container itself, as it's nothing being set in the servlet code that I can see. So I don't see any way on the server side Java code to output or log the actual HTTP response (or is there?). Any tips in that regard much appreciated.
Edited by: TomC125468 on Aug 19, 2009 1:35 PMHi Luca-Sanna,
Thanks for the response. Re browsers, yes, it fails in IE but it succeeds in Firefox. The info on the JavaWS FAQ and other places all seem to indicate that it's an IE issue concerning handling of the cache-control headers.
I should check in my webserver forum (Sun WebServer 7) to see about logging options. Sniffing on the client side is not possible, as my app is required to use HTTPS exclusively, and unfortunately that also precludes a telnet GET request. -
Why can I no longer specify my preferred font for text which has a link attached to it?
I use TBird to send old school, professional looking business letters with logo image header and footers. Recently, I am unable to apply my preferred font to the website link part of my footer. This seems to have become an issue after one of the more recent upgrades of TBird. Its frustrating as I feel good graphic design requires uniformity in font style/type and size. This seems no longer possible. Now when I attach a hyperlink to my website address it changes my preferred font to something that looks like Arial and locks both font and size. It looks crappy.
''Kits47 [[#answer-701080|said]]''
<blockquote>
The only way I know its 12 pt. is that I copy into Word and check the font size there.
</blockquote>
Huge error number one, and probably cause of your problem in the first place.
<blockquote>
I would really like to see TBird use point size for fonts.
</blockquote>
Thunderbird uses HTML, HTML is expressed in pixels.
<blockquote>
In terms of not having Papyrus on you Linux box, I suppose that's you're choice.
</blockquote>
Licensing actually, not choice. The font is licensed and distributed by Microsoft. See http://www.microsoft.com/typography/fonts/font.aspx?FMID=1113 for a list of products your recipient can install to get the font.
<blockquote>
In my outgoing email subject line I always specify that my reply is best viewed in HTML, full screen.
</blockquote>
HTML is the default for almost all mail so that does appear to be overkill. Full screen. Personally I would be just as likely to not read mail that required full screen. Mail gets about half a screen here.
<blockquote>
Most systems will automatically substitute fonts for ones not on that system, at least in Apple and PC systems. </blockquote>
Papurus actually has a higher chance of being present on a Mac system than a windows one as Apple have distributed it with OSX since 2003.
<blockquote>
Anyway all of that is a little off topic. I wanted help with why TBird intermittently messes with font size and style when I cut and pasting email responses to people.
</blockquote>
As I said at the beginning. Do not use word. Word first converts to RTF then to HTML (All done internally) The resulting HTML is extremely complex and to put it bluntly pastes as a whole page from which Thunderbird must extract only the relevant parts. (inside the body tag) The end result is the program ends up confused about what goes where.
<blockquote>
And, if there is some reason why sometimes, again I stress sometimes, it will not let me use the font of my choice for text that has a hyperlink attached to it.
</blockquote>
If your pasting from Word the most obvious thing will be that the hyperlinked text will have it's own font tags another reason I suggest you use the program your in.
* If you want it on paper use a word processor. It is what they are designed for
* If you want it in email use the email program to actually write your mail.
* If you want to guarantee the look on delivery send PDF attachments. -
so all of a suddun i open terminal and i get
login(1685,0x7fff73770960) malloc: *** error for object 0x106d2c4d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[Process completed]
in the terminal window any help?Launch the Console application by entering the first few letters of its name into a Spotlight search, and look under "User Diagnostic Reports" for crash logs related to "login." Select the most recent one and post the contents -- the text, please, not a screenshot.
-
Hi,
I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
Since, I can't launch the ConnectIQ simulator app, I have this message in console :
8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
The data couldn’t be read because it isn’t in the correct format.
<CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
entries =>
0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
I have looked at this file and it looks like a binary plist
bplist00ß^P^V^A^B^C^D^E^F^G^H
^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^ A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
I guess it is a normal format but my system seems to be unable to read binary plist ?
I tried some stuff with plutil
plutil -lint Info.plist
Info.plist: Unexpected character b at line 1
Same for convert
plutil -convert xml1 Info.plist
Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
I also try to download a fresh version of the connectIQ SDK and no changes.
Any idea ?
ThanksStep by step, how did you arrive at seeing this agreement?
-
Header file entry for Text Channel
I have taken an ASCII Text Data file, read the file, and created a Header File, then saved the data into a binary file. This is my attempt to speed up the loading of the text file. One of the columns is a text column, containing a flag for the state of the test. I can not figure out how to define the column as a Text Column in the Header File. If I define it as a numeric column, it returns an error for every entry in the data file. Normal (one of the states) is not a Numeric Value.
The script file(s) I am using is a modification of a script listed on this board by Brad Turpin ( TimeSlice DAT Hdr Create.zip ) The only thing I have changed is the Test for the Channel Name to see if it contains on of 3 states. If Date is present in the Channel Name , it changes the field to a Time channel, if the channel contains Relay it changes it to a Text channel (which doesn't work), else the Channel is a Numeric.
There must be a way to define a Text Channel in a Header File. I hope someone can show me the way.
Thanks
Bill Lane
Test Engineer
Takata, INC.Hello Bill!
The DAT format was never able to store text channels (TDM is able today). Please refer to the DAT format description on your DIAdem CD or in this post.
Your idea to convert it to a numeric value is the right way. The error message must come out of the header. Do you convert all properties to numeric values? See page 4-6 and following in the header description or search for the word 'normal' in the created header file.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater? -
Hello guys,
I am facing the error " Database error for <ADDR_PERS_COMP_COMM_GET> <0> " as a pop-up message.
below is my program.
types: BEGIN OF t_p0002,
pernr type PERSNO, "Personnel number
nachn TYPE PAD_NACHN, "Last Name
VORNA TYPE PAD_VORNA, "First Name
gbdat TYPE gbdat, "Date of Birth
END OF t_p0002.
*******************Data of an object which can be changed**************************************
data S_maildata type SODOCCHGI1.
*******************Text field length 255: texts***********************************************
data : IT_MAILTXT1 type table of SOLISTI1 , "Internal table will contain texts of mail header
WA_MAILTXT1 TYPE SOLISTI1,
IT_MAILTXT2 type table of SOLISTI1 , "Internal table will contain texts of contents in the mail
WA_MAILTXT2 TYPE SOLISTI1.
*******************Structure of the API Recipient List*****************************************
data : IT_MAILREC type table of SOMLRECI1,
WA_MAILREC TYPE SOMLRECI1.
DATA : it_pa0002 TYPE TABLE OF t_p0002,
wa_pa0002 type t_p0002.
data Header_text type c LENGTH 15.
CONSTANTS content_text type c LENGTH 35 VALUE 'Tomorrow is the birthday of'.
*******************Event start of selection***************************************************
start-of-selection.
PERFORM get_birthdate. " will give birthday details
PERFORM document_details. " will give text and mail details
*& Form get_birthdate
text : subroutine to get employee birthdate details
form get_birthdate.
data : l_date like sy-datum.
refresh it_pa0002.
l_date = sy-datum + 1.
SELECT pernr nachn vorna gbdat
from pa0002
INTO TABLE it_pa0002
where gbdat = '19650302'.
ENDFORM. "get_birthdate
*& Form document_details
text : subroutine to get texts and mail details.
FORM document_details.
CLEAR: Header_text,
wa_MAILREC.
REFRESH IT_MAILREC.
S_maildata-obj_name = 'Birthday Reminder'.
s_maildata-obj_descr = 'Birthday Reminder'.
s_maildata-obj_langu = sy-langu.
READ TABLE IT_MAILTXT1 INTO WA_MAILTXT1
WITH KEY WA_MAILTXT1-line .
WA_MAILTXT1-line = 'Birthday Reminder'.
append WA_MAILTXT1 TO IT_MAILTXT1.
CLEAR WA_MAILTXT1.
LOOP at it_pa0002 INTO wa_pa0002.
READ TABLE IT_MAILTXT2 INTO WA_MAILTXT2
WITH KEY WA_MAILTXT2-line .
CONCATENATE content_text ' ( ' wa_pa0002-pernr ' ) ' wa_pa0002-nachn wa_pa0002-vorna
INTO WA_MAILTXT2 SEPARATED BY ' '.
append WA_MAILTXT2 TO IT_MAILTXT2.
CLEAR WA_MAILTXT2.
CLEAR wa_pa0002.
ENDLOOP.
LOOP AT IT_MAILREC INTO WA_MAILREC.
WA_MAILREC-RECEIVER = 'Any mail id'.
WA_MAILREC-rec_type = 'U'.
append WA_MAILREC TO IT_MAILREC.
ENDLOOP.
********************Function Mofule:To Send new Document*****************************************
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = S_maildata
DOCUMENT_TYPE = 'RAW'
PUT_IN_OUTBOX = ' '
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
tables
OBJECT_HEADER = IT_MAILTXT1
OBJECT_CONTENT = IT_MAILTXT2
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = IT_MAILREC
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 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.
ENDFORM. "document_details
After I pressed the exit button the program is getting terminated but still this mail is comming to sost transaction code.
If I will comment the message code which is after sy-subrc the popup will not come and program will work without any interruption.
Can anybody please solve this problem?Resolved
-
Text ID for text object MATERIAL does not exist - MM01
Hi All,
I am getting below error message when trying to save Material Master in MM01.
Text ID for text object MATERIAL does not exist
Message no. TD603
Diagnosis
You want to edit a text. However, the text ID (text type) of the specified text object does not exist.
Procedure
You can display a list of valid text IDs (text types) using F4=Possible entries. You can select the required text ID from this list with F2 or a double click.
The valid text objects are listed in table TTXOB. The valid text IDs (text types) for an object are specified in table TTXID.
I have searched the forums but couldn't get relevant message.
Please assist.
Thanks,
RajHi Jurgen,
This is the complete message i am getting.
Text ID for text object MATERIAL does not exist
Message no. TD603
Diagnosis
You want to edit a text. However, the text ID (text type) of the specified text object does not exist.
Procedure
You can display a list of valid text IDs (text types) using F4=Possible entries. You can select the required text ID from this list with F2 or a double click.
The valid text objects are listed in table TTXOB. The valid text IDs (text types) for an object are specified in table TTXID.
If I enter MM02 and without changing anything if i save still i get this error message.
Thanks & Regards,
Raj
Maybe you are looking for
-
How can I view my phone calendar for the previous year via my laptop?
I have to extract appointments for tax purposes and as this is my first smart phone (Samsung Galazy S3), I have no clue if this is possible or where to look? I thought when my phone did its back up it backed up everything...now I'm guessing just my c
-
How can i change or add new default optiom in su01 tab
Dear Experts , here oe End user Required some Requirments in SU01 -> Default tab su01 --> Default tab -->Decimal Notation having different styles (1,234,567,89) but my END user wants like 12,34,56,789 this format how can we get this type ...is it pos
-
How to synchronize a method for all instances of a class
Hi, How to make a method synchronized for all instances of a class? If a simple method is synchronized, then multiple threads cannot access it at the same time. If we make the method as static, then we are making it synchronized at class level.How to
-
"Error Starting OMI-Server. Unable to bind socket.Permission denied. Listen
Hi All, I Installed Forms 1o-g successfully on my mishon ( Version windows vista), when i try to connect Forms i got error like this *"Error Starting OMI-Server. Unable to bind socket.Permission denied. Listen* Plz Anyone help.... Thanks sa.....
-
Newbie problem with pen tool: shape not evident on any layer
I am trying to learn the pen tool. I made a line with the pen tool but now I can't find out which layer it is on, and I can't stroke it as I wanted. All of my layers are turned off and the shape still appears. However on searching through the layers