[CUP 5.3] Error while email validation
Hello all,
Anyone seen this before in CUP 5.3 SP15?
I have an access request form in which I allow user lookup. The user lookup is linked with an SAP HR system.
When I search users on name, only the users that have an emailaddress filled in in the infotypes show up in my list. Users without an emailaddress are not shown. I can only get them in my search results when I specifically search for them on user ID.
When I then select the user without emailaddress and insert him/her into my access request form, I always receive the "error creating request" message. The log tells me:
2011-09-20 15:29:28,326 [SAPEngine_Application_Thread[impl:3]_24] ERROR EUCreateRequestAction.java@224:loadHandler() : Error while email validation = E-mail address
Users with an emailaddress are no problem.
Even when I fill in an emailaddress manually, CUP apparently keeps using the emailaddress from the infotype.
Anyone know how to resolve this?
Thanks in advance,
Edited by: Lanssens Tom on Sep 20, 2011 6:09 PM (spelling)
Hello Srihari,
User Email Address is a Mandatory field which cannot be changed. The only option to change is to turn off "Editable". However, if I do that I receive the warning "It is better to make the field editable, because the end user cannot submit the request, if the field value is not available in the user's data source".
I know that the best solution/workaround is to make sure that all users in the HR list have an emailaddress, so we are going to follow up on this with a script. Still, I would like to know why I can't find nor work with users that don't have an emailaddress, and why I can't update their emailaddress myself manually via the CUP.
Best regards,
Tom
Similar Messages
-
Weblogic Portal: Error While Deploying: VALIDATION PROBLEMS WERE FOUND
Hello friends
I am getting following error while deploying EAR on server.
“Module named 'MyEAR' failed to deploy. See Error Log view for more detail.”
Steps I followed:
1: Created one portal domain successfully and was able to start the serve after thatr.
2: Created one Portal EAR Project and added it on server.
Now when I am restarting the server, getting following error/log
**“weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND**
**problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee:<null>”**
Exception stack Trace:
java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper$DeploymentProgressListener.watch(WlsJ2EEDeploymentHelper.java:1566)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:470)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1346)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:803)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:623)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:516)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2690)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:272)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee:<null>
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee:<null>
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:301)
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:178)
as it is ‘brand new ‘ – IDE generated application, weblogic-application.xml is untouched.
Thanks & RegardsI have seen this problem also. To be clear, this occurs straight out of the box. In other words - launch eclipse, create a new workspace, create a new portal EAR project with the wizard, and then try to deploy it without touching anything. In fact, try changing the portal's facets to anything, plain EAR, 11g default, Portal EAR - it doesn't matter. It will not deploy. Either you get this error or you get deployment errors complaining about missing library references in the weblogic-application.xml. Then - you have to do surgery just to get an 'out of the box' portal to run. Very frustrating.
-
Error while running Validation Data for category not found in application
Dear Experts
While running Validation and IC Matching I am getting Error i.e. "Data for category not found in application CONSOLIDATION"
May some one tell me the reason and resolution.
Thanks
RiteshHi RItesh,
I suppose your problem was solved in the meanwhile.
Anyway we had the same issue, when running Validations against ICMatching App.
That was because Method VALIDATION of Class CL_UJP_VALIDATE tries to relevant data in order to perform calculations (line 127), but if no data is found, ends raising an exception (with a misleading text line 143).
read_trans_data_sqe( exporting i_application = d_application
it_dim_list = dt_app_dim_list
it_sel = lt_sel
importing
er_t_data = lr_data
assign lr_data->* to <lt_finance>.
create data lr_data like line of <lt_finance>.
assign lr_data->* to <ls_finance>.
lr_data1 = lr_data.
if <lt_finance> is initial.
NO DATA FOUND -> EXCEPTION
raise exception type cx_ujp_process_exception
exporting textid = cx_ujp_process_exception=>ex_no_data_found
d_application = d_application
d_value = l_value.
endif.
Hope it helps
GFV -
Error while emailing pdf Smartform- help needed
Hi All,
I have successsully saved smartform as pdf on my local machine and while trying to send the same as an attachment.i am encountering a run time error in SCOT transaction on pressing send message.
Error details are as follows:-
CPIC-CALL: THE SAPECMINIT UNABLE TO DETERMINE HOST ADDRESS
Source Code: SAPMSSY1
CALL RFCIMPORT
The program is given below. Kindly reply me the solution.
All helpful answers will b rewarded.
Regards,
Eureka.
*& Report Z24436_SMARTFORM2 *
REPORT Z24436_SMARTFORM2 .
Global Variables Declarations
DATA: MAt_id TYPE MATNR VALUE '1%',
fm_name TYPE rs38l_fnam.
DATA: ITAB_MAkt TYPE STANDARD TABLE OF MAkt.
DATA: p_form TYPE tdsfname VALUE 'ZUDAY_SMARTFORMS1'.
All Database Selections are here
*Getting Materials belonging to the given plant
SELECT * FROM MAkt INTO TABLE ITAB_MAkt
WHERE MATNR LIKE MAT_id.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = p_form
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
DATA : gw_ssfcrescl TYPE ssfcrescl.
DATA: gt_otf TYPE STANDARD TABLE OF itcoo ,
gt_tline TYPE STANDARD TABLE OF tline,
gt_pdf TYPE STANDARD TABLE OF tline,
gv_len LIKE sood-objlen,
gw_ssfctrlop TYPE ssfctrlop, "for CONTROL_PARAMETERS
gw_ssfcompop TYPE ssfcompop. "for OUTPUT_OPTIONS
gw_ssfctrlop-getotf = 'X'.
gw_ssfctrlop-no_dialog = 'X'.
gw_ssfcompop-tdnoprev = 'X'.
**Calling the generated function module
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = gw_ssfctrlop
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = gw_ssfcompop
USER_SETTINGS = 'X'
customer_info = customer
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = gw_ssfcrescl
JOB_OUTPUT_OPTIONS =
TABLES
it_makt = itab_makt
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 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.
gt_otf[] = gw_ssfcrescl-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = gv_len
TABLES
otf = gt_otf
lines = gt_pdf
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 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.
DATA:
gt_pdf TYPE TABLE OF tline,
gt_xi_pdf TYPE TABLE OF tline,
gt_pdf_conv TYPE TABLE OF solisti1,
gt_xi_temp TYPE TABLE OF bapiqcmime.
CONSTANTS:
lc_x(1) TYPE c VALUE 'X',
lc_raw(3) TYPE c VALUE 'RAW',
lc_pdf(3) TYPE c VALUE 'PDF',
lc_attach(12) TYPE c VALUE 'ATTACHMENT'.
DATA:
lv_spool TYPE rspoid, "Spool Number
lv_pdf_size TYPE i, "PDF Size
lv_subject(40) TYPE c, "Email subject
lv_tab_lines TYPE sytabix, "Table Lines
lv_date(10) TYPE c, "Variable for date
lv_time(8) TYPE c. "Variable for Time
DATA:
For Compressing document
ls_objpack TYPE sopcklsti1,
lt_objpack TYPE STANDARD TABLE OF sopcklsti1,
To specify subject
lt_objhead TYPE STANDARD TABLE OF solisti1,
ls_objhead TYPE solisti1,
To send the PDF
lt_objbin TYPE STANDARD TABLE OF solisti1,
ls_objbin TYPE solisti1,
Email body
lt_objtxt TYPE STANDARD TABLE OF solisti1,
ls_objtxt TYPE solisti1,
To specify Receivers
lt_reclist TYPE STANDARD TABLE OF somlreci1,
ls_reclist TYPE somlreci1,
Documenting Data
ls_doc_chng TYPE sodocchgi1,
ls_pdf_conv TYPE solisti1.
CONSTANTS: lc_under(1) TYPE c VALUE '_'.
**Copy the Spool request to a Local Variable
lv_spool = sy-spono.
Convert spool job to PDF
***************this is normal report spool to pdf.
but your case it will be smartform to pdf
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = lv_spool
no_dialog = lc_x
IMPORTING
pdf_bytecount = lv_pdf_size
TABLES
pdf = gt_pdf
EXCEPTIONS
OTHERS = 0.
To Format the PDF file so as each row contains 255 characters
PERFORM page_format .
Transfer the file to objbin table
LOOP AT gt_pdf_conv INTO ls_pdf_conv.
ls_objbin-line = ls_pdf_conv-line.
APPEND ls_objbin TO lt_objbin.
CLEAR ls_objbin.
ENDLOOP.
*// Creating the document to be sent - Mail subject creation
ls_doc_chng-obj_name = sy-repid.
lv_subject = text-008. "Mail subject
WRITE sy-datum TO lv_date USING EDIT MASK '__/__/____'.
WRITE sy-uzeit TO lv_time USING EDIT MASK '__:__:__'.
CONCATENATE lv_subject lc_under lv_date lc_under lv_time
INTO ls_doc_chng-obj_descr.
*// Email body
PDF attachment of Product Allocation for Open orders
ls_objtxt = text-009.
APPEND ls_objtxt TO lt_objtxt.
Write Date when the mail was sent in the email body
CONCATENATE text-010 lv_date INTO ls_objtxt.
APPEND ls_objtxt TO lt_objtxt.
Write Time when the mail was sent in the email body
CONCATENATE text-011 lv_time INTO ls_objtxt.
APPEND ls_objtxt TO lt_objtxt.
DESCRIBE TABLE lt_objtxt LINES lv_tab_lines.
READ TABLE lt_objtxt INTO ls_objtxt INDEX lv_tab_lines.
Calculate the document size
ls_doc_chng-doc_size = ( lv_tab_lines - 1 ) * 255 +
STRLEN( ls_objtxt ).
*// Creating the entry for the compressed document
CLEAR ls_objpack-transf_bin.
ls_objpack-head_start = 1.
ls_objpack-head_num = 0.
ls_objpack-body_start = 1.
ls_objpack-body_num = lv_tab_lines.
ls_objpack-doc_type = 'RAW' . "RAW
APPEND ls_objpack TO lt_objpack.
CLEAR lv_tab_lines.
DESCRIBE TABLE lt_objbin LINES lv_tab_lines.
ls_objhead = ls_doc_chng-obj_descr.
APPEND ls_objhead TO lt_objhead.
*// Creating the entry for the compressed attachment
ls_objpack-transf_bin = lc_x.
ls_objpack-head_start = 1.
ls_objpack-head_num = 1.
ls_objpack-body_start = 1.
ls_objpack-body_num = lv_tab_lines.
ls_objpack-doc_type = 'PDF'. "PDF
ls_objpack-obj_name = 'ATTACHMENT'. "ATTACHMENT
CONCATENATE lv_subject lc_under lv_date lc_under lv_time
INTO ls_objpack-obj_descr.
CLEAR: ls_objbin.
READ TABLE lt_objbin INTO ls_objbin INDEX lv_tab_lines.
ls_objpack-doc_size = ( lv_tab_lines - 1 ) * 255 +
STRLEN( ls_objbin ).
APPEND ls_objpack TO lt_objpack.
ls_reclist-receiver = '[email protected]'.
ls_reclist-receiver = gv_email_addr.
ls_reclist-rec_type = 'U'.
APPEND ls_reclist TO lt_reclist.
IF ls_reclist-receiver IS INITIAL.
MESSAGE i175.
ELSE.
*// Send EMail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = ls_doc_chng
put_in_outbox = lc_x
commit_work = lc_x
TABLES
packing_list = lt_objpack
object_header = lt_objhead
contents_bin = lt_objbin
contents_txt = lt_objtxt
receivers = lt_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 3
OTHERS = 99.
CASE sy-subrc.
WHEN 0.
Mail successfully delivered
*// Do nothing
WHEN 1.
This will never occur as at any point of time mail will be
sent to one processor only.
*// Do nothing
WHEN 2.
MESSAGE i175.
WHEN 3.
MESSAGE i175.
*// Do nothing
ENDCASE.
ENDIF.
REFRESH: lt_objpack,
lt_objbin,
lt_objtxt,
lt_objhead,
lt_reclist.
CLEAR: ls_reclist,
ls_doc_chng,
ls_objpack,
ls_objhead,
ls_objtxt.
DATA : gv_filename LIKE rlgrap-filename VALUE 'C:\Udaya4.pdf'.
CALL FUNCTION 'DOWNLOAD'
EXPORTING
bin_filesize = gv_len
filename = gv_filename
filetype = 'BIN'
filetype_no_show = 'X'
IMPORTING
act_filename = gv_filename
filesize = gv_len
cancel = ''
TABLES
data_tab = gt_pdf.
FORM page_format .
Local data
DATA : lv_lines TYPE i,
lv_temp(500) TYPE c,
lv_offset TYPE p,
lv_lineslen(2) TYPE p,
lv_mimelen(2) TYPE p,
lv_tabix LIKE sy-tabix,
ls_pdf_conv TYPE solisti1,
ls_xi_temp TYPE bapiqcmime,
ls_xi_pdf TYPE tline.
CLEAR : gt_xi_pdf,
gt_xi_temp.
REFRESH: gt_xi_pdf,
gt_xi_temp.
Copy the PDF file into table gt_xi_pdf
gt_xi_pdf[] = gt_pdf[].
Reformat the line to 255 characters wide (code from SAP)
CLEAR: lv_temp, lv_offset, gt_xi_temp.
DESCRIBE TABLE gt_xi_pdf LINES lv_lines.
DESCRIBE FIELD ls_xi_pdf LENGTH lv_lineslen IN CHARACTER MODE.
DESCRIBE FIELD ls_xi_temp LENGTH lv_mimelen IN CHARACTER MODE.
Go through all the lines of table gt_xi_pdf
LOOP AT gt_xi_pdf INTO ls_xi_pdf.
lv_tabix = sy-tabix.
Move ls_xi_pdf into lv_temp variable
MOVE ls_xi_pdf TO lv_temp+lv_offset.
Check if its the last line of table gt_xi_pdf
IF lv_tabix = lv_lines.
lv_lineslen = STRLEN( ls_xi_pdf ).
ENDIF.
Calculate the new offset
lv_offset = lv_offset + lv_lineslen.
Check if the new offset is equal to or greater than the length of
gt_xi_temp
IF lv_offset GE lv_mimelen.
CLEAR ls_xi_temp.
Copy the PDF data into gt_xi_temp
ls_xi_temp = lv_temp(lv_mimelen).
APPEND ls_xi_temp TO gt_xi_temp.
SHIFT lv_temp BY lv_mimelen PLACES.
Calculate the new offset
lv_offset = lv_offset - lv_mimelen.
ENDIF. "Offset GE MIMELEN
Check if its the last line of gt_xi_pdf
IF lv_tabix = lv_lines.
Check if lv_temp has some data that is not been transferred to
gt_xi_temp
IF lv_offset GT 0.
CLEAR ls_xi_temp.
Copy the PDF data into gt_xi_temp
ls_xi_temp = lv_temp(lv_offset).
APPEND ls_xi_temp TO gt_xi_temp.
ENDIF. "lv_offset GT 0
ENDIF. "lv_tabix = lv_lines
ENDLOOP.
gt_pdf_conv[] = gt_xi_temp[].
ENDFORM. " page_formatall settings in SCOT is ok ? like SMTP settings , link b/w ur Outlook server and SAP server ?
Regards
Prabhu -
Error while loading valid, schema-related document into xdb
Hi Mark.
I tried to load other xml documents (ftp://ftp.tigr.org/pub/data/a_thaliana/ath1/PSEUDOCHROMOSOMES/) into the xdb.
The documents are related to the same schema as the documents i used until now.
I had to change the schema a bit. Three elements (protein_sequence, cds_sequence, transcript_sequence) are now stored as CLOB instead of VARCHAR2.
My first idea was, that the new documents are not valid, but they are.
The old documents still work. I get an ORA-00600 everytime.
I tried to get some information from the trace file but this did not help really.
I don't believe this will help you but i post it anyway:
Dump file d:\oracle\admin\pdw\udump\pdw_s000_6388.trc
Mon Jan 02 09:21:36 2006
ORACLE V9.2.0.7.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Instance name: pdw
Redo thread mounted by this instance: 1
Oracle process number: 10
Windows thread id: 6388, image: ORACLE.EXE
*** 2006-01-02 09:21:36.218
*** SESSION ID:(23.9078) 2006-01-02 09:21:36.187
QMHD escaped text too long: dstlen=0 dstbuf=/
QMHD escaped text too long: dstlen=0 dstbuf=home
QMHD escaped text too long: dstlen=0 dstbuf=public
QMHD escaped text too long: dstlen=0 dstbuf=sys
QMHD escaped text too long: dstlen=0 dstbuf=xdbconfig.xml
QMHD escaped text too long: dstlen=0 dstbuf=/
QMHD escaped text too long: dstlen=0 dstbuf=home
QMHD escaped text too long: dstlen=0 dstbuf=public
QMHD escaped text too long: dstlen=0 dstbuf=sys
QMHD escaped text too long: dstlen=0 dstbuf=xdbconfig.xml
QMHD escaped text too long: dstlen=0 dstbuf=home
QMHD escaped text too long: dstlen=0 dstbuf=RSCHULZE
QMHD escaped text too long: dstlen=0 dstbuf=PDV70
QMHD escaped text too long: dstlen=0 dstbuf=SCOTT
QMHD escaped text too long: dstlen=0 dstbuf=SCOTT1
QMHD escaped text too long: dstlen=0 dstbuf=SCOTT2
QMHD escaped text too long: dstlen=0 dstbuf=hbachman
QMHD escaped text too long: dstlen=0 dstbuf=pdw_biowh31
QMHD escaped text too long: dstlen=0 dstbuf=pdw_stage
QMHD escaped text too long: dstlen=0 dstbuf=pdw_tigr_chromosome
QMHD escaped text too long: dstlen=0 dstbuf=uniprot
QMHD escaped text too long: dstlen=0 dstbuf=pdw_tigr_chromosome
QMHD escaped text too long: dstlen=0 dstbuf=data
QMHD escaped text too long: dstlen=0 dstbuf=xsd
QMHD escaped text too long: dstlen=0 dstbuf=data
QMHD escaped text too long: dstlen=0 dstbuf=seq1.txt
QMHD escaped text too long: dstlen=0 dstbuf=seq2.txt
QMHD escaped text too long: dstlen=0 dstbuf=seq3.txt
QMHD escaped text too long: dstlen=0 dstbuf=seq4.txt
QMHD escaped text too long: dstlen=0 dstbuf=seq5.txt
*** 2006-01-02 09:36:57.421
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [kokbgcip1], [196609], [63], [], [], [], [], []
Current SQL statement for this session:
INSERT /*+ NO_REF_CASCADE */ INTO "PDW_TIGR_CHROMOSOME"."SYS_NT0upV7+xbRnu3KquZIaRFgQ=="("NESTED_TABLE_ID","ARRAY_INDEX","SYS_NC_ROWINFO$") VALUES(:1,:2,:3)
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp+327 CALLrel ksedst+0
ksfdmp.108+14 CALLrel ksedmp+0 3
_kgerinv+131 CALLreg 00000000 D3E4368 3
kgeasnmierr+19 CALLrel kgerinv+0 D3E4368 4BE2A94 1AF86D4 2
4B56B40
kokbgcip+343 CALLrel kgeasnmierr+0 D3E4368 4BE2A94 1AF86D4 2 4
30001 4 3F
qerocImageIterStar CALLrel kokbgcip+0
t+160
qerocStart+265 CALLrel qerocImageIterStar 237701B4 D3E41E0
t+0
_kokbint+242 CALL??? 00000000 81DFD20 1
kokbeva+338 CALLrel kokbint+0 237700B8 237700FC
..1.42_2.filter.9+1 CALLreg 00000000 D3E41E0
101
insolev.73+164 CALLrel evaopn2+0 237700B8
insbrp.73+1558 CALLrel insolev.73+0 2374A8B4 81DDFF8 1
insrow+173 CALLrel insbrp.73+0
insdrv.73+1302 CALLrel insrow+0 81DDFF8 4B584E4 0
..1.6_1.filter.73+2 CALLrel _insdrv.73+0 81DDFF8
28
..1.5_2.except.29+1 CALLrel _insexe+0 2374A8B4 4B58730
6740
..1.2_1.filter.25+3 CALLrel _opiexe+0 4 3 4B58B24
347
opikpr+512 CALLrel opiall0+0 65 22 4B58D20 0 0 4B58DB8 9C
20 0 0 0 0 0
..1.1_1.filter.34+1 CALLreg 00000000 65 14 4B59980
356
rpidrus.43+167 CALLrel opiodr+0 65 14 4B59980 0
_skgmstack+113 CALLreg 00000000 4B590A0
rpidru+109 CALLrel skgmstack+0 4B590B8 D3E41F0 F618 59941C
4B590A0
_rpiswu2+839 CALLreg 00000000 4B59498
kprball+1537 CALLrel rpiswu2+0 1EA8DD18 102 4B59414 4
1E833D34 102 4B59414 0 59932C
5991DC 4B59498 8
kokbint+1766 CALLrel kprball+0 4B59980 500
kokbeva+338 CALLrel kokbint+0 2374E498 2374E4DC
..1.42_2.filter.9+1 CALLreg 00000000 D3E41E0
101
insolev.73+164 CALLrel evaopn2+0 2374E498
insbrp.73+1558 CALLrel insolev.73+0 25EC7468 7D0BD90 1
insrow+173 CALLrel insbrp.73+0
insdrv.73+1302 CALLrel insrow+0 7D0BD90 4B5AD78 0
..1.6_1.filter.73+2 CALLrel _insdrv.73+0 7D0BD90
28
..1.5_2.except.29+1 CALLrel _insexe+0 25EC7468 4B5AFC4
6740
..1.2_1.filter.25+3 CALLrel _opiexe+0 4 3 4B5B3B8
347
opikpr+512 CALLrel opiall0+0 65 22 4B5B5B4 0 0 4B5B64C 77
20 0 0 0 0 0
..1.1_1.filter.34+1 CALLreg 00000000 65 14 4B5BE70
356
rpidrus.43+167 CALLrel opiodr+0 65 14 4B5BE70 0
_skgmstack+113 CALLreg 00000000 4B5B934
rpidru+109 CALLrel skgmstack+0 4B5B94C D3E41F0 F618 59941C
4B5B934
_rpiswu2+839 CALLreg 00000000 4B5BD2C
kprball+1537 CALLrel rpiswu2+0 1EA8DD18 102 1EA891BC 4
1E833D34 102 1EA8923C 0
59932C 5991DC 4B5BD2C 9
qmskInsertXmlType+ CALLrel kprball+0 4B5BE70 180
1203
qmskStoreXobWithIm CALLrel qmskInsertXmlType+
age+526 0
qmskStoreXob+16 CALLrel qmskStoreXobWithIm
age+0
qmskFlushXob+22 CALLrel qmskStoreXob+0 4BFCFCC 4BE6698 0
_qmeSaveContents+44 CALLreg 00000000
6
qmePreSave+2417 CALLrel qmeSaveContents+0 4BFE790 2 1
_qmtEventFire+259 CALLreg 00000000 D3E4368 3 4BFE8B0
qmxiWriteXobToImag CALLrel qmtEventFire+0 D3E4368 3 4BFE8B0
eInternal+60
qmxiWriteXobToImag CALLrel qmxiWriteXobToImag D3E4368 4B5D418 0 4BFE8B0
eWithHeap+82 eInternal+0 700ECBC 4B5D398 4B5D364
4B5D384 60A09FC 4B5C37C 0 6
D3E4368 C 4B5D418
qmxtgGetOpqImageFr CALLrel qmxiWriteXobToImag D3E4368 4B5D418 0 4BFE8B0
omXob+430 eWithHeap+0 700ECBC 4B5D398 4B5D364
4B5D384 4B5D470 C 6 700ECF8
4B5D418
qmskStoreXobWithIm CALLrel qmxtgGetOpqImageFr
age+370 omXob+0
qmskStoreXob+16 CALLrel qmskStoreXobWithIm
age+0
qmskFlushXob+22 CALLrel qmskStoreXob+0 4BFE8B0 4BFF740 4B5D6FC
_qmeInsertResRow+22 CALLreg 00000000
5
qmeInsertRes+1831 CALLrel qmeInsertResRow+0
qmeLinkInternal+47 CALLrel qmeInsertRes+0
12
qmeCreOrBindRes+33 CALLrel qmeLinkInternal+0 4BFE790 60A5D14 1DFE0323 1D 0
1 1 0 4B5D7A0 4B5D85C 0 0
qmeCreateRes+115 CALLrel qmeCreOrBindRes+0 4BFE790 60A5D14 1DFE0304 1F
1DFE0323 1D 0 1 0 4B5D85C 0 0
4B5D85C 0
qmeuCreateOrUpdate CALLrel qmeCreateRes+0 4BFE790 1DFE0304 1F 1DFE0323
Res+2232 1D 0 0 0
qmhput+393 CALLrel _qmeuCreateOrUpdate
Res+0
_qmhProcessRequestD CALLreg 00000000 1DFE4398
ata+2576
qmpsrun+1220 CALL??? 00000000
opitsk+838 CALLrel qmps_run+0 D3E4368
opiino+698 CALLrel opitsk+0 0 0 D3EA5C8 278A650 3 0
..1.1_1.filter.34+1 CALLreg 00000000 3C 4 4B5F448
356
opirip+662 CALLrel opiodr+0 3C 4 4B5F448 0
opidrv+654 CALLrel opirip+0 32 0 0
sou2o+25 CALLrel opidrv+0
opimai+336 CALLrel sou2o+0 4B5FE1C 32 0 0
BackgroundThreadSt CALLrel opimai+0
art@4+356
77E7B385 CALLreg 00000000
--------------------- Binary Stack Dump ---------------------
========== FRAME [1] (_ksedmp+327 -> _ksedst+0) ==========
Dump of memory from 0x04B56A68 to 0x04B56AE0
4B56A60 04B56AE0 00522AC8 [.j...*R.]
4B56A70 00000000 00000000 00000000 00000000 [................]
4B56A80 FFFFFFFF 0000003F 0D3E4444 01AF86D4 [....?...DD>.....]
4B56A90 0D3E444C 04B56ADC 0283676E 0D3E4444 [LD>..j..ng..DD>.]
4B56AA0 0D3E444C 00000000 00000000 01AF86D4 [LD>.............]
4B56AB0 00000002 00000009 0D3E4368 04BE2A94 [........hC>..*..]
4B56AC0 01A89F00 0D3E41E0 04B56A74 0D3E4368 [.....A>.tj..hC>.]
4B56AD0 04B571F8 015DDE00 02775F44 FFFFFFFF [.q....].D_w.....]
========== FRAME [2] (_ksfdmp.108+14 -> _ksedmp+0) ==========
Dump of memory from 0x04B56AE0 to 0x04B56AEC
4B56AE0 04B56AEC 0078468B 00000003 [.j...Fx.....]
========== FRAME [3] (_kgerinv+131 -> 00000000) ==========
Dump of memory from 0x04B56AEC to 0x04B56B0C
4B56AE0 04B56B0C [.k..]
4B56AF0 02836849 0D3E4368 00000003 081B3444 [Ih..hC>.....D4..]
4B56B00 0D3E41E0 081B3444 081B3444 [.A>.D4..D4..]
========== FRAME [4] (_kgeasnmierr+19 -> _kgerinv+0) ==========
Dump of memory from 0x04B56B0C to 0x04B56B28I have a new problem:
Due to the changes of the schema ( transcript_sequence ... stored as clob) i got an error in a view.
ORA-00932 : incosistent datatypes
The error occurs in V007 in the following rows
extractValue(value(tu),'/TU/TRANSCRIPT_SEQUENCE'),
extractValue(value(model),'/MODEL/CDS_SEQUENCE'),
extractValue(value(model),'/MODEL/PROTEIN_SEQUENCE')
But in V005 there is no error althought there is the row extractValue(value(tu),'/TU/TRANSCRIPT_SEQUENCE'),
the views
create or replace view V007_MODEL(FEAT_NAME,
GENE_SYNONYM,
GENE_SYNONYM_SYN_TYPE,
CHROMO_LINK,
TU_DATE,
TU_COORDSET_END5,
TU_COORDSET_END3,
TRANSCRIPT_SEQUENCE,
URL,
URL_URLNAME,
CURATED,
MODEL_COMMENT,
MODEL_FEAT_NAME,
PUB_LOCUS,
CDNA_SUPPORT_ACCESSION,
CDNA_SUPPORT_ACCESSION_DBXREF,
CDNA_SUPPORT_ACCESSION_IS_FLI,
CDNA_SA_UNIQUE_TO_ISOFORM,
CDNA_SA_ANNOT_INCORP,
MODEL_GENE_SYNONYM,
MODEL_GENE_SYNONYM_SYN_TYPE,
MODEL_CHROMO_LINK,
MODEL_DATE,
MODEL_COORDSET_END5,
MODEL_COORDSET_END3,
MA_AT_METHOD,
MA_AT_ATT_SCORE,
MA_AT_ATT_SCORE_DESC)
CDS_SEQUENCE,
PROTEIN_SEQUENCE)
as
select
distinct
extractValue(value(tu) ,'/TU/FEAT_NAME'),
extractValue(value(tu_gene_synonym) ,'/GENE_SYNONYM/text()'),
extractValue(value(tu_gene_synonym) ,'/GENE_SYNONYM/@SYN_TYPE'),
extractValue(value(tu_chromo_link) ,'/CHROMO_LINK/text()'),
extractValue(value(tu) ,'/TU/DATE'),
extractValue(value(tu) ,'/TU/COORDSET/END5'),
extractValue(value(tu) ,'/TU/COORDSET/END3'),
extractValue(value(tu) ,'/TU/TRANSCRIPT_SEQUENCE'),
extractValue(value(url) ,'/URL/text()'),
extractValue(value(url) ,'/URL/@URLNAME'),
extractValue(value(model) ,'/MODEL/@CURATED'),
extractValue(value(model) ,'/MODEL/@COMMENT'),
extractValue(value(model) ,'/MODEL/FEAT_NAME'),
extractValue(value(model) ,'/MODEL/PUB_LOCUS'),
extractValue(value(accession) ,'/ACCESSION/text()'),
extractValue(value(accession) ,'/ACCESSION/@DBXREF'),
extractValue(value(accession) ,'/ACCESSION/@IS_FLI'),
extractValue(value(accession) ,'/ACCESSION/@UNIQUE_TO_ISOFORM'),
extractValue(value(accession) ,'/ACCESSION/@ANNOT_INCORP'),
extractValue(value(model_gene_synonym),'/GENE_SYNONYM/text()'),
extractValue(value(model_gene_synonym),'/GENE_SYNONYM/@SYN_TYPE'),
extractValue(value(model_chromo_link) ,'/CHROMO_LINK/text()'),
extractValue(value(model) ,'/MODEL/DATE'),
extractValue(value(model) ,'/MODEL/COORDSET/END5'),
extractValue(value(model) ,'/MODEL/COORDSET/END3'),
extractValue(value(attribute_type) ,'/ATTRIBUTE_TYPE/@METHOD'),
extractValue(value(att_score) ,'/ATT_SCORE/text()'),
extractValue(value(att_score) ,'/ATT_SCORE/@DESC')--,
extractValue(value(model) ,'/MODEL/CDS_SEQUENCE'),
extractValue(value(model) ,'/MODEL/PROTEIN_SEQUENCE')
from TIGR t,
table(xmlsequence(extract(value(t) ,'/TIGR/PSEUDOCHROMOSOME'))) p,
table(xmlsequence(extract(value(p) ,'/PSEUDOCHROMOSOME/ASSEMBLY/GENE_LIST/PROTEIN_CODING/TU'))) tu,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_SYNONYM'))) (+) tu_gene_synonym,
table(xmlsequence(extract(value(tu) ,'/TU/CHROMO_LINK'))) (+) tu_chromo_link,
table(xmlsequence(extract(value(tu) ,'/TU/URL'))) (+) url,
table(xmlsequence(extract(value(tu) ,'/TU/MODEL'))) model,
table(xmlsequence(extract(value(model) ,'/MODEL/CDNA_SUPPORT/ACCESSION'))) (+) accession,
table(xmlsequence(extract(value(model) ,'/MODEL/GENE_SYNONYM'))) (+) model_gene_synonym,
table(xmlsequence(extract(value(model) ,'/MODEL/CHROMO_LINK'))) (+) model_chromo_link,
table(xmlsequence(extract(value(model) ,'/MODEL/MODEL_ATTRIBUTE/ATTRIBUTE_TYPE'))) (+) attribute_type,
table(xmlsequence(extract(value(attribute_type),'/ATTRIBUTE_TYPE/ATT_SCORE'))) (+) att_score,
table(xmlsequence(extract(value(model) ,'/MODEL/EXON'))) exon
create or replace view V005_GENE_INFO(FEAT_NAME,
GENE_SYNONYM,
GENE_SYNONYM_SYN_TYPE,
CHROMO_LINK,
TU_DATE,
TU_COORDSET_END5,
TU_COORDSET_END3,
TRANSCRIPT_SEQUENCE,
URL,
URL_URLNAME,
LOCUS,
ALT_LOCUS,
PUB_LOCUS,
GENE_NAME,
GENE_NAME_IS_PRIMARY,
COM_NAME,
COM_NAME_CURATED,
COM_NAME_IS_PRIMARY,
GENE_INFO_COMMENT,
PUB_COMMENT,
EC_NUM,
EC_NUM_IS_PRIMARY,
GENE_SYM,
GENE_SYM_IS_PRIMARY,
IS_PSEUDOGENE,
FUNCT_ANNOT_EVIDENCE_TYPE,
FAE_ASSIGN_ACC,
FAE_ASSIGN_ACC_ASSIGN_METHOD,
GENE_INFO_DATE)
as
select
extractValue(value(tu) ,'/TU/FEAT_NAME'),
extractValue(value(gene_synonym) ,'/GENE_SYNONYM/text()'),
extractValue(value(gene_synonym) ,'/GENE_SYNONYM/@SYN_TYPE'),
extractValue(value(chromo_link) ,'/CHROMO_LINK/text()'),
extractValue(value(tu) ,'/TU/DATE'),
extractValue(value(tu) ,'/TU/COORDSET/END5'),
extractValue(value(tu) ,'/TU/COORDSET/END3'),
extractValue(value(tu) ,'/TU/TRANSCRIPT_SEQUENCE'),
extractValue(value(url) ,'/URL/text()'),
extractValue(value(url) ,'/URL/@URLNAME'),
extractValue(value(tu) ,'/TU/GENE_INFO/LOCUS'),
extractValue(value(alt_locus) ,'/ALT_LOCUS/text()'),
extractValue(value(tu) ,'/TU/GENE_INFO/PUB_LOCUS'),
extractValue(value(gene_name) ,'/GENE_NAME/text()'),
extractValue(value(gene_name) ,'/GENE_NAME/@IS_PRIMARY'),
extractValue(value(com_name) ,'/COM_NAME/text()'),
extractValue(value(com_name) ,'/COM_NAME/@CURATED'),
extractValue(value(com_name) ,'/COM_NAME/@IS_PRIMARY'),
extractValue(value(tu) ,'/TU/GENE_INFO/COMMENT'),
extractValue(value(tu) ,'/TU/GENE_INFO/PUB_COMMENT'),
extractValue(value(ec_num) ,'/EC_NUM/text()'),
extractValue(value(ec_num) ,'/EC_NUM/@IS_PRIMARY'),
extractValue(value(gene_sym) ,'/GENE_SYM/text()'),
extractValue(value(gene_sym) ,'/GENE_SYM/@IS_PRIMARY'),
extractValue(value(tu) ,'/TU/GENE_INFO/IS_PSEUDOGENE'),
extractValue(value(funct_annot_evidence),'/FUNCT_ANNOT_EVIDENCE/@TYPE'),
extractValue(value(assign_acc) ,'/ASSIGN_ACC/text()'),
extractValue(value(assign_acc) ,'/ASSIGN_ACC/@ASSIGN_METHOD'),
extractValue(value(tu) ,'/TU/GENE_INFO/DATE')
from TIGR t,
table(xmlsequence(extract(value(t) ,'/TIGR/PSEUDOCHROMOSOME'))) p,
table(xmlsequence(extract(value(p) ,'/PSEUDOCHROMOSOME/ASSEMBLY/GENE_LIST/PROTEIN_CODING/TU'))) tu,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_SYNONYM'))) (+) gene_synonym,
table(xmlsequence(extract(value(tu) ,'/TU/CHROMO_LINK'))) (+) chromo_link,
table(xmlsequence(extract(value(tu) ,'/TU/URL'))) (+) url,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/ALT_LOCUS'))) (+) alt_locus,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/GENE_NAME'))) (+) gene_name,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/COM_NAME'))) com_name,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/EC_NUM'))) (+) ec_num,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/GENE_SYM'))) (+) gene_sym,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/FUNCT_ANNOT_EVIDENCE'))) (+) funct_annot_evidence,
table(xmlsequence(extract(value(funct_annot_evidence),'/FUNCT_ANNOT_EVIDENCE/ASSIGN_ACC'))) (+) assign_acc
I have a second question.
Usually I use WEBDAV or FTP to load the xml documents.
There are 5 documents for TIGR Arabidopsis. Now it works to load the documents into the xdb. I usually use WEBDAV. But when I load the first document I get an error. Nevertheless the document is shredded. Because the WEBDAV error message is not meaningful, I used PL/SQL.
I tried it like this
insert into TIGR values (xmltype(bfilename(USER,'/home/pdw_tigr_chromosome/data/CHR1.R5v01212004wos.xml'),nls_charset_id('AL32UTF8')))
( I deleted the expressions " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="tigrxml.xsd" " in the document before).
But this didn't work.
So I tried
insert into TIGR values (xmltype(xdbURIType('/home/pdw_tigr_chromosome/data/CHR1.R5v01212004wos.xml').getClob(),'tigrxml.xsd',1,1))
and it worked. But it seemed to need more time than per WEBDAV or FTP ( but probably I err ). It took 1h 48m for a 74MB file.
When I load the documents with PL/SQL the document is not shredded. At least the document has its original size when i have a look at the repository per WEBDAV and not the usual 0 bytes. But the data is correctly stored in the xmltype table TIGR
Message was edited by:
Nick_MD -
Stack overflow error while using validator frame work
Hi all,
Iam trying out an example on using the validator frame work.Iam using the Dynavalidator form.My page is a simple jsp page where the user field is mandatory..iam getting stack overflow pop-up in my jsp and i can find the following error in the log file..
2005-05-02 15:47:42 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2005-05-02 15:47:45 StandardContext[jsp-examples]ContextListener: contextInitialized()
2005-05-02 15:47:45 StandardContext[jsp-examples]SessionListener: contextInitialized()
2005-05-02 15:47:45 StandardContext[servlets-examples]ContextListener: contextInitialized()
2005-05-02 15:47:45 StandardContext[servlets-examples]SessionListener: contextInitialized()
Pls give me a sloution for this?I don't see any error messages or stack trace here.
How do you know it is getting stack overflow?
Try commenting out your validation code, and see if the form loads without it.
Uncomment it, and find out which specific bit breaks it. -
Error while sending email to external mail - Urgent
Hi All,
I am getting error while sending email with attachement. The Error code is 02.
I am not able to identify the error. bold Please help me in solving this problem.
Is it anything wrong with the code or Any Configuration with SCOT/SOST.bold
the code i am using is :
REPORT YVR_F MESSAGE-ID XX .
TABLES : EDIDC, EDIDS, EDPAR.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS : P_STATUS LIKE EDIDC-STATUS DEFAULT '51'.
SELECT-OPTIONS : S_DIRECT FOR EDIDC-DIRECT,
S_MESTYP FOR EDIDC-MESTYP,
S_CREDAT FOR EDIDC-CREDAT.
SELECTION-SCREEN END OF BLOCK B1 .
PARAMETER: P_EMAIL LIKE SOMLRECI1-RECEIVER,
P_SENDER LIKE SOMLRECI1-RECEIVER no-display,
P_DELSPL AS CHECKBOX,
P_ONLINE NO-DISPLAY.
DATA : TB_EDIDC LIKE STANDARD TABLE OF EDIDC INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_EDPAR LIKE STANDARD TABLE OF EDPAR INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_KNA1 LIKE STANDARD TABLE OF KNA1 INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_ADRC LIKE STANDARD TABLE OF ADRC INITIAL SIZE 0 WITH HEADER
LINE.
DATA: INT_PDF TYPE TABLE OF TLINE WITH HEADER LINE.
DATA : BEGIN OF TB_ED OCCURS 0,
SNDPRN LIKE EDIDC-SNDPRN,
LOC LIKE ADRC-BUILDING,
DOCNUM LIKE EDIDC-DOCNUM,
IDOCTP LIKE EDIDC-IDOCTP,
MESTYP LIKE EDIDC-MESTYP,
DIRECT LIKE EDIDC-DIRECT,
CREDAT LIKE EDIDC-CREDAT,
STATUS LIKE EDIDC-STATUS,
END OF TB_ED.
DATA: IT_MESSAGE TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: IT_ATTACH TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
WITH HEADER LINE.
Job Runtime Parameters
DATA: GD_EVENTID LIKE TBTCM-EVENTID,
GD_EVENTPARM LIKE TBTCM-EVENTPARM,
GD_EXTERNAL_PROGRAM_ACTIVE LIKE TBTCM-XPGACTIVE,
GD_JOBCOUNT LIKE TBTCM-JOBCOUNT,
GD_JOBNAME LIKE TBTCM-JOBNAME,
GD_STEPCOUNT LIKE TBTCM-STEPCOUNT,
GD_ERROR TYPE SY-SUBRC,
GD_RECIEVER TYPE SY-SUBRC.
DATA: W_RECSIZE TYPE I,
W_SPOOL_NR LIKE SY-SPONO.
%_print LIKE pri_params.
DATA: GD_SUBJECT LIKE SODOCCHGI1-OBJ_DESCR,
IT_MESS_BOD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
IT_MESS_ATT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
GD_SENDER_TYPE LIKE SOEXTRECI1-ADR_TYP,
GD_ATTACHMENT_DESC TYPE SO_OBJ_NAM,
GD_ATTACHMENT_NAME TYPE SO_OBJ_DES.
Spool to PDF conversions
DATA: GD_SPOOL_NR LIKE TSP01-RQIDENT,
GD_DESTINATION LIKE RLGRAP-FILENAME,
GD_BYTECOUNT LIKE TST01-DSIZE,
GD_BUFFER TYPE STRING.
Binary store for PDF
DATA: BEGIN OF IT_PDF_OUTPUT OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF IT_PDF_OUTPUT.
DATA: GD_RECSIZE TYPE I.
CONSTANTS: C_DEV LIKE SY-SYSID VALUE 'DEV',
C_NO(1) TYPE C VALUE ' ',
C_DEVICE(4) TYPE C VALUE 'LOCL'.
DATA: T_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
T_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
T_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
W_CNT TYPE I,
W_SENT_ALL(1) TYPE C,
W_DOC_DATA LIKE SODOCCHGI1.
DATA : MSTR_PRINT_PARMS LIKE PRI_PARAMS,
MC_VALID,
P_REPID LIKE SY-REPID,
WF_ID LIKE TSP01-RQIDENT,
LOC_BYTECOUNT TYPE I.
*start-of-selection.
MSTR_PRINT_PARMS-PDEST = 'LOCL'.
P_REPID = SY-REPID.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority= ' '
COPIES = '1'
COVER_PAGE = SPACE
DATA_SET = SPACE
DEPARTMENT = SPACE
DESTINATION = 'LP01'
EXPIRATION = '1'
IMMEDIATELY = 'X'
LAYOUT = 'X_65_132'
MODE = SPACE
NEW_LIST_ID = 'X'
NO_DIALOG = 'X'
USER = SY-UNAME
IMPORTING
OUT_PARAMETERS = MSTR_PRINT_PARMS
VALID = MC_VALID
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
SUBMIT (P_REPID) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS MSTR_PRINT_PARMS.
AND RETURN.
NEW-PAGE PRINT ON NO DIALOG PARAMETERS
MSTR_PRINT_PARMS.
perform data.
NEW-PAGE PRINT OFF. "This marks the end of the screen for which the
*SPOOL NO WAS GENERATED.
WF_ID = SY-SPONO.
*converting spool to pdf
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = WF_ID "SPOOL NUMBER
NO_DIALOG = SPACE
PDF_DESTINATION = 'X'
IMPORTING
PDF_BYTECOUNT =
LOC_BYTECOUNT "NUMBER OF BYTES TRANSFERRED
TABLES
PDF = INT_PDF "TABLE FOR PDF REPORT
EXCEPTIONS
ERR_NO_ABAP_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DESTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12.
*CALL FUNCTION 'DOWNLOAD'
*EXPORTING
*bin_filesize = loc_bytecount "NO. OF BYTES
*filename = 'C:/EMAILPDF.PDF'
*filetype = 'BIN'
**IMPORTING
**act_filename = loc_filename
*TABLES
*data_tab = int_pdf.
IF P_DELSPL EQ 'X'.
PERFORM DELETE_SPOOL.
ENDIF.
Transfer the 132-long strings to 255-long strings
LOOP AT INT_PDF.
TRANSLATE INT_PDF USING ' ~'.
CONCATENATE GD_BUFFER INT_PDF INTO GD_BUFFER.
ENDLOOP.
TRANSLATE GD_BUFFER USING '~ '.
DO.
IT_MESS_ATT = GD_BUFFER.
APPEND IT_MESS_ATT.
SHIFT GD_BUFFER LEFT BY 255 PLACES.
IF GD_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
DESCRIBE TABLE IT_MESS_ATT LINES GD_RECSIZE.
CHECK GD_RECSIZE > 0.
PERFORM SENDMAIL USING P_EMAIL..
*& Form sendmail
text
--> p1 text
<-- p2 text
FORM SENDMAIL USING P_EMAIL.
CHECK NOT ( P_EMAIL IS INITIAL ).
REFRESH IT_MESS_BOD.
Default subject matter
GD_SUBJECT = 'Subject'.
GD_ATTACHMENT_DESC = 'IDOC LIST'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
IT_MESS_BOD = 'List Of Failed Idocs'.
APPEND IT_MESS_BOD.
IT_MESS_BOD = 'List Of Failed Idocs'.
APPEND IT_MESS_BOD.
If no sender specified - default blank
IF P_SENDER EQ SPACE.
GD_SENDER_TYPE = SPACE.
ELSE.
GD_SENDER_TYPE = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
TABLES IT_MESS_BOD
IT_MESS_ATT
USING P_EMAIL
'Document attachment'
'PDF'
GD_ATTACHMENT_NAME
GD_ATTACHMENT_DESC
P_SENDER
GD_SENDER_TYPE
CHANGING GD_ERROR
GD_RECIEVER.
ENDFORM. " sendmail
*& Form DELETE_SPOOL
text
--> p1 text
<-- p2 text
FORM DELETE_SPOOL.
DATA: LD_SPOOL_NR TYPE TSP01_SP0R-RQID_CHAR.
LD_SPOOL_NR = WF_ID. "GD_SPOOL_NR.
CHECK P_DELSPL <> C_NO.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
SPOOLID = LD_SPOOL_NR.
ENDFORM. " DELETE_SPOOL
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
text
-->P_IT_MESS_BOD text
-->P_IT_MESS_ATT text
-->P_P_EMAIL text
-->P_0846 text
-->P_0847 text
-->P_GD_ATTACHMENT_NAME text
-->P_GD_ATTACHMENT_DESC text
-->P_P_SENDER text
-->P_GD_SENDER_TYPE text
<--P_GD_ERROR text
<--P_GD_RECIEVER text
FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES IT_MESSAGE
IT_ATTACH
USING P_EMAIL
P_MTITLE
P_FORMAT
P_FILENAME
P_ATTDESCRIPTION
P_SENDER_ADDRESS
P_SENDER_ADDRES_TYPE
CHANGING P_ERROR
P_RECIEVER.
DATA: LD_ERROR TYPE SY-SUBRC,
LD_RECIEVER TYPE SY-SUBRC,
LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
LD_EMAIL LIKE SOMLRECI1-RECEIVER,
LD_FORMAT TYPE SO_OBJ_TP ,
LD_ATTDESCRIPTION TYPE SO_OBJ_NAM ,
LD_ATTFILENAME TYPE SO_OBJ_DES ,
LD_SENDER_ADDRESS LIKE SOEXTRECI1-RECEIVER,
LD_SENDER_ADDRESS_TYPE LIKE SOEXTRECI1-ADR_TYP,
LD_RECEIVER LIKE SY-SUBRC.
DATA: T_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
T_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
T_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
W_CNT TYPE I,
W_SENT_ALL(1) TYPE C,
W_DOC_DATA LIKE SODOCCHGI1.
LD_EMAIL = P_EMAIL.
LD_MTITLE = P_MTITLE.
LD_FORMAT = P_FORMAT.
LD_ATTDESCRIPTION = P_ATTDESCRIPTION.
LD_ATTFILENAME = P_FILENAME.
LD_SENDER_ADDRESS = P_SENDER.
LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
Fill the document data.
W_DOC_DATA-DOC_SIZE = 1.
Populate the subject/generic message attributes
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
W_DOC_DATA-SENSITIVTY = 'F'.
Fill the document data and get size of attachment
CLEAR W_DOC_DATA.
READ TABLE IT_ATTACH INDEX W_CNT.
W_DOC_DATA-DOC_SIZE =
( W_CNT - 1 ) * 255 + STRLEN( IT_ATTACH ).
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE.
W_DOC_DATA-SENSITIVTY = 'F'.
CLEAR T_ATTACHMENT.
REFRESH T_ATTACHMENT.
T_ATTACHMENT[] = IT_ATTACH[].
Describe the body of the message
CLEAR T_PACKING_LIST.
REFRESH T_PACKING_LIST.
T_PACKING_LIST-TRANSF_BIN = SPACE.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 0.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = 'RAW'.
APPEND T_PACKING_LIST.
Create attachment notification
T_PACKING_LIST-TRANSF_BIN = 'X'.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 1.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = LD_FORMAT.
T_PACKING_LIST-OBJ_DESCR = LD_ATTDESCRIPTION.
T_PACKING_LIST-OBJ_NAME = LD_ATTFILENAME.
T_PACKING_LIST-DOC_SIZE = T_PACKING_LIST-BODY_NUM * 255.
APPEND T_PACKING_LIST.
Add the recipients email address
CLEAR T_RECEIVERS.
REFRESH T_RECEIVERS.
T_RECEIVERS-RECEIVER = p_EMAIL.
T_RECEIVERS-REC_TYPE = 'U'.
T_RECEIVERS-COM_TYPE = 'INT'.
T_RECEIVERS-NOTIF_DEL = 'X'.
T_RECEIVERS-NOTIF_NDEL = 'X'.
APPEND T_RECEIVERS.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
W_SENT_ALL = 'X'.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = W_DOC_DATA
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = LD_SENDER_ADDRESS
SENDER_ADDRESS_TYPE = LD_SENDER_ADDRESS_TYPE
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL = W_SENT_ALL
TABLES
PACKING_LIST = T_PACKING_LIST
object_header = objhead
CONTENTS_BIN = T_ATTACHMENT
CONTENTS_TXT = IT_MESSAGE
RECEIVERS = T_RECEIVERS
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
IF SY-SUBRC NE 0.
MESSAGE E000 WITH 'Error occurred while sending'.
ELSE.
MESSAGE I000 WITH 'The document was sent'.
ENDIF.
ENDFORM. " SEND_FILE_AS_EMAIL_ATTACHMENT
*& Form data
text
--> p1 text
<-- p2 text
FORM data.
SELECT SNDPRN
DOCNUM
IDOCTP
MESTYP
DIRECT
CREDAT
STATUS
FROM EDIDC
INTO CORRESPONDING FIELDS
OF TABLE TB_EDIDC
WHERE STATUS = P_STATUS
AND MESTYP IN S_MESTYP
AND DIRECT IN S_DIRECT
AND CREDAT IN S_CREDAT.
SELECT KUNNR
INPNR
FROM EDPAR
INTO CORRESPONDING FIELDS
OF TABLE TB_EDPAR
FOR ALL ENTRIES IN TB_EDIDC
WHERE KUNNR = TB_EDIDC-SNDPRN.
SELECT KUNNR
ADRNR
FROM KNA1
INTO CORRESPONDING FIELDS
OF TABLE TB_KNA1
FOR ALL ENTRIES IN TB_EDPAR
WHERE KUNNR = TB_EDPAR-INPNR.
SELECT ADDRNUMBER
BUILDING
FROM ADRC
INTO CORRESPONDING FIELDS
OF TABLE TB_ADRC
FOR ALL ENTRIES IN TB_KNA1
WHERE ADDRNUMBER = TB_KNA1-ADRNR.
LOOP AT TB_EDIDC WHERE STATUS = P_STATUS
AND MESTYP IN S_MESTYP
AND DIRECT IN S_DIRECT
AND CREDAT IN S_CREDAT.
TB_ED-SNDPRN = TB_EDIDC-SNDPRN.
TB_ED-DOCNUM = TB_EDIDC-DOCNUM.
TB_ED-IDOCTP = TB_EDIDC-IDOCTP.
TB_ED-MESTYP = TB_EDIDC-MESTYP.
TB_ED-DIRECT = TB_EDIDC-DIRECT.
TB_ED-CREDAT = TB_EDIDC-CREDAT.
TB_ED-STATUS = TB_EDIDC-STATUS.
READ TABLE TB_EDPAR WITH KEY KUNNR = TB_EDIDC-SNDPRN.
READ TABLE TB_KNA1 WITH KEY KUNNR = TB_EDPAR-INPNR.
READ TABLE TB_ADRC WITH KEY ADDRNUMBER = TB_KNA1-ADRNR.
TB_ED-LOC = TB_ADRC-BUILDING.
APPEND TB_ED.
ENDLOOP.
WRITE :/02 'CustomerNo',
15 'Location Code',
30 'Idoc Number',
55 'Basic Type',
70 'Message Type',
95 'Direction',
110 'Received Date',
130 'Status'.
ULINE.
LOOP AT TB_ED.
WRITE :/02 TB_ED-SNDPRN,
15 TB_ED-LOC,
30 TB_ED-DOCNUM,
55 TB_ED-IDOCTP,
70 TB_ED-MESTYP,
95 TB_ED-DIRECT,
110 TB_ED-CREDAT,
130 TB_ED-STATUS.
ENDLOOP.
ENDFORM. " data
Kindly help me in solving the issue.
Thanks in advance.
Suki.Hi,
Check in transaction SCOT. If your mail is in error status in SCOT, you can assure that there is no problem with your code. If your message has not reached till SCOT, then the problem will be with the code.
If the mail is there in scot with error status tell the BASIS to configure it. I feel this could be the problem.
Regards,
Renjith Michael. -
Error while trying to assign a role via CUP in Portal
Hello Experts,
I am trying to create a request to assign a role in EP via CUP ( 5.3)
EP Connector is working fine as I have imported Portal roles etc
SPML service is working fine
I have done the mapping in the Provisioning tab for Portal system
logonname in portal is email address of an employee
So the I have done the following mapping
AC Field Application field
email addres-Stndard logonname
And I have the following error while trying to create a request which I grabbed form the log
ERROR Exception during EJB call, Ignoring and trying Webservice Call
LinkageError: loader constraints violated when linking com/virsa/cc/xsys/webservices/dto/WSRAInputParamDTO class
ERROR com.virsa.ae.core.BOException: Exception from the service : Invalid System
com.virsa.ae.core.BOException: Exception from the service : Invalid System
ERROR : BO Exception in Save request
Any suggestions would be really appreciated
Regards
KevKevin,
I was able to replicate your issue and there is a setting in the CUP that you have to disable, Goto the config tab in the CUP and select NO for the "Risk Analysis On Request Submission " under risk analysis.
Issue here is you did not create a connector for your EP in the RAR, I believe you have the above mentioned parameter to yes and so when you are submitting a request CUP is trying to do the risk analysis but RAR was not able to find any System, so it is thowing an error.
You can resolve this issue in two ways, one is to create a connector in RAR or the other is to disable the setting in the CUP.
Hope this helps.
Naveen -
I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?
This is most probably because the Periodicity input value has been configured as "Required" and no value has been input for it.
Please enter a value and try to re-run Quick Pay. -
B2B-51507 - Payload Validation Error - while creating VDA -4913V3
I created a document definition under Positional Flat file for VDA-> 4913V4. I created ecs file using the Document editor and created the xsd. I used both these files in creating the Document definition. In the document definition, under identification tab, I have these values.
Identification Value -> empty
Identification Start Position -> 0
Identification End Position -> 128
And I created a Partner Agreement using this Document Definition. I created a channel to send the document to GXS Mailbox.
In the agreement if I have both Validate and Translate checked on, I am getting an error which is show in the reports->Business Message.
Error Code B2B-51507
Error Description Machine Info: (RRDV2SOA) Description: Payload validation error.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Payload validation error.
If I have only Translate checked on, I am not getting any error, but the message that is sent to GXS is zero bytes.
If I leave both Validate and translate unchecked, the xml is sent to GXS but not the native Format.
I took the payload from the business message and validated and it looks correct.
I am using the sample data that is already validated in the B2B Document Editor using Data Analyzer.
Can you help me on this. I am not sure what I am doing wrong. If needed I can send you the ecs, xsd, and B2B partner definition export zip file to your email address.
Here is the logfile for this error.
[2011-04-06T21:00:41.652-07:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1a33f088] [userId: <anonymous>] [ecid: 0000Iwi7c0MCcpiF_7I7S61DVcAD0051W4,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [dcid: 4e45f5dff566a29f:-335a9823:12eb62ea520:-7ffd-000000000000008c] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Exit
[2011-04-06T21:00:41.653-07:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1a33f088] [userId: <anonymous>] [ecid: 0000Iwi7c0MCcpiF_7I7S61DVcAD0051W4,0] [APP: soa-infra] [dcid: 4e45f5dff566a29f:-335a9823:12eb62ea520:-7ffd-000000000000008c] Error -: B2B-51507: Payload validation error.: Error -: B2B-51507: Payload validation error.[[
at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:835)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: Error -: B2B-51507: Payload validation error.
at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:798)
... 11 more
Error -: B2B-51507: Payload validation error.
at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:798)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Error -: B2B-51507: Payload validation error.: Error -: B2B-51507: Payload validation error.
at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:835)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: Error -: B2B-51507: Payload validation error.
at oracle.tip.b2b.document.pff.PFFDocumentPlugin.processOutgoingDocument(PFFDocumentPlugin.java:798)
... 11 more
Thank you
Krishna.I selected the option "Save guideline before exporting". I am guessing it is failing on the main element of the xml message because of some namespace issue. I am generating the XML using xsl transformationin BPEL and sending the XML payload to B2B Service.
Is there a way to know what part of the XML is erroring duing the validation on the server. The error message is not helpful even I turned on Trace 32 level.
Any ideas?
Thank you
Krishna -
Error - While converting Smartform to PDF and send in Email
HI all,
I am getting error while opening the PDF file. i searched in SDN but I am not able to figure out what is the correct issues.
Please find the piece of code.
* Assigning the OTFDATA to OTF Structure table
CLEAR gt_otf.
gt_otf[] = ls_jobout_info-otfdata[].
* Convert the OTF DATA to SAP Script Text lines
CLEAR gt_pdf_tab.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
** max_linewidth = 134
max_linewidth = 132
IMPORTING
** bin_file = ts_file
bin_filesize = gv_bin_filesize
TABLES
otf = gt_otf
lines = gt_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
* Passing the SAP Script text lines to SAPoffice: Single List with Column Length 255 table
DATA:
* gv_bin_filesize TYPE i, " Store the file size
gv_pos TYPE i,
gv_len TYPE i,
gv_tab_lines TYPE i.
CLEAR : gs_objbin, gs_pdf_tab.
LOOP AT gt_pdf_tab INTO gs_pdf_tab.
gv_pos = 255 - gv_len.
IF gv_pos > 134. "length of pdf_table
gv_pos = 134.
ENDIF.
gs_objbin+gv_len = gs_pdf_tab(gv_pos).
gv_len = gv_len + gv_pos.
IF gv_len = 255. "length of out (contents_bin)
APPEND gs_objbin TO gt_objbin.
CLEAR: gs_objbin, gv_len.
IF gv_pos < 134.
gs_objbin = gs_pdf_tab+gv_pos.
gv_len = 134 - gv_pos.
ENDIF.
ENDIF.
ENDLOOP.
IF gv_len > 0.
APPEND gs_objbin TO gt_objbin.
ENDIF.
* Filling the details in SAPoffice: Description of Imported Object Components table
DESCRIBE TABLE gt_objbin LINES gv_tab_lines.
CLEAR gs_objbin.
READ TABLE gt_objbin INTO gs_objbin INDEX gv_tab_lines.
IF sy-subrc = 0.
gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objbin ).
gs_objpack-transf_bin = 'X'.
gs_objpack-head_start = 1.
gs_objpack-head_num = 0.
gs_objpack-body_start = 1.
gs_objpack-body_num = gv_tab_lines.
gs_objpack-doc_type = 'PDF'.
gs_objpack-obj_name = l_title.
gs_objpack-obj_descr = w_output-tdtitle.
APPEND gs_objpack TO gt_objpack.
ENDIF.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = p_doc_chng
put_in_outbox = 'X'
sender_address = p_w_sender
sender_address_type = 'INT'
TABLES
packing_list = p_objpack
** object_header = p_objhead
contents_bin = p_objbin
** contents_txt = p_objtxt
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
receivers = p_reclist
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
kindly help...email is coming but when i tried to open the PDF file, error saying, " There is error opening a file. thie file is damages and cannot be opened'
thanksHI all,
I am getting error while opening the PDF file. i searched in SDN but I am not able to figure out what is the correct issues.
Please find the piece of code.
* Assigning the OTFDATA to OTF Structure table
CLEAR gt_otf.
gt_otf[] = ls_jobout_info-otfdata[].
* Convert the OTF DATA to SAP Script Text lines
CLEAR gt_pdf_tab.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
** max_linewidth = 134
max_linewidth = 132
IMPORTING
** bin_file = ts_file
bin_filesize = gv_bin_filesize
TABLES
otf = gt_otf
lines = gt_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
* Passing the SAP Script text lines to SAPoffice: Single List with Column Length 255 table
DATA:
* gv_bin_filesize TYPE i, " Store the file size
gv_pos TYPE i,
gv_len TYPE i,
gv_tab_lines TYPE i.
CLEAR : gs_objbin, gs_pdf_tab.
LOOP AT gt_pdf_tab INTO gs_pdf_tab.
gv_pos = 255 - gv_len.
IF gv_pos > 134. "length of pdf_table
gv_pos = 134.
ENDIF.
gs_objbin+gv_len = gs_pdf_tab(gv_pos).
gv_len = gv_len + gv_pos.
IF gv_len = 255. "length of out (contents_bin)
APPEND gs_objbin TO gt_objbin.
CLEAR: gs_objbin, gv_len.
IF gv_pos < 134.
gs_objbin = gs_pdf_tab+gv_pos.
gv_len = 134 - gv_pos.
ENDIF.
ENDIF.
ENDLOOP.
IF gv_len > 0.
APPEND gs_objbin TO gt_objbin.
ENDIF.
* Filling the details in SAPoffice: Description of Imported Object Components table
DESCRIBE TABLE gt_objbin LINES gv_tab_lines.
CLEAR gs_objbin.
READ TABLE gt_objbin INTO gs_objbin INDEX gv_tab_lines.
IF sy-subrc = 0.
gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objbin ).
gs_objpack-transf_bin = 'X'.
gs_objpack-head_start = 1.
gs_objpack-head_num = 0.
gs_objpack-body_start = 1.
gs_objpack-body_num = gv_tab_lines.
gs_objpack-doc_type = 'PDF'.
gs_objpack-obj_name = l_title.
gs_objpack-obj_descr = w_output-tdtitle.
APPEND gs_objpack TO gt_objpack.
ENDIF.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = p_doc_chng
put_in_outbox = 'X'
sender_address = p_w_sender
sender_address_type = 'INT'
TABLES
packing_list = p_objpack
** object_header = p_objhead
contents_bin = p_objbin
** contents_txt = p_objtxt
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
receivers = p_reclist
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
kindly help...email is coming but when i tried to open the PDF file, error saying, " There is error opening a file. thie file is damages and cannot be opened'
thanks -
Error while sending the email notifcation
Hi All
I am getting this error while sending the email notifcation.If any one of you have any idea regarding this please suggest
[2012-09-12T03:55:41.288-10:00] [soa_server1] [ERROR] [SDP-26102] [oracle.sdp.messaging.driver.email] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: OracleSystemUser] [ecid: f5c1f5acbf0bb7a6:22e05768:139ba096e4d:-8000-00000000000006ef,0] [APP: usermessagingdriver-email] Error while writing e-mail message content.[[
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Vector.java:427)
at javax.mail.Multipart.getBodyPart(Multipart.java:157)
at javax.mail.internet.MimeMultipart.getBodyPart(MimeMultipart.java:256)
at oracle.sdpinternal.messaging.driver.email.EmailDriver.getHeaderEncoding(EmailDriver.java:1079)
at oracle.sdpinternal.messaging.driver.email.EmailDriver.send(EmailDriver.java:670)
at oracle.sdpinternal.messaging.driver.email.EmailManagedConnection.send(EmailManagedConnection.java:50)
at oracle.sdpinternal.messaging.driver.DriverConnectionImpl.send(DriverConnectionImpl.java:41)
at oracle.sdpinternal.messaging.dispatcher.DriverDispatcherBean.onMessage(DriverDispatcherBean.java:296)
at sun.reflect.GeneratedMethodAccessor2553.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy346.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:379)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
[2012-09-12T03:55:41.331-10:00] [soa_server1] [WARNING] [SDP-25107] [oracle.sdp.messaging.engine.store] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: OracleSystemUser] [ecid: f5c1f5acbf0bb7a6:22e05768:139ba096e4d:-8000-00000000000006ef,0] [APP: usermessagingserver] Message ID bac38bd50a1f32a129c5c739335a7855 in Status object does not match previously recorded Message ID b7e259a30a1f32a12c981a3ffd343f6d.
[2012-09-12T03:55:41.362-10:00] [soa_server1] [ERROR] [] [oracle.soa.services.notification] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@3066bad4] [userId: <anonymous>] [ecid: 0000Jau4qHj9Lex_w9w0yW1GK6Rn000003,1:32530] [APP: soa-infra] <.> Error status received from UMS.[[
Status detail :
Status type : DELIVERY_TO_GATEWAY:FAILURE,
Status Content : Failed to set message headers: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0,
Addressed to : EMAIL:[email protected],
UMS Driver : Farm_base_domain/base_domain/soa_server1/usermessagingdriver-email:oracle_sdpmessagingdriver_email#Email-Driver,
UMS Message Id : b7e259a30a1f32a12c981a3ffd343f6d,
Gateway message Id : ,
Status Received at : Wed Sep 12 03:55:41 HST 2012.
Check status details and fix the underlying reason, which caused error.
[2012-09-12T03:55:51.492-10:00] [soa_server1] [WARNING] [] [oracle.soa.services.notification] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@3066bad4] [userId: <anonymous>] [ecid: 0000Jau4qHj9Lex_w9w0yW1GK6Rn000003,1:32530] [APP: soa-infra] <.> Could not find notification record corresponding to failed notification : (Channel message id) : b7e259a30a1f32a12c981a3ffd343f6d[[
Hence it will not be retried.
Possible cause could be purging of notification data after sending out notification, but before receiving status.
]]Are you using your email address to send the email notifications if it Is not configured with AD? Have you populated the mail attribute in weblogic console-->realms-->my realms-->users
In addition are you sure you have configured the 'Email Driver Properties' correctly in EM ?? have you specified the Notification Mode to Email ?
Please make sure that the outgoing mail server and port along with the username and password are correct.
Also validate the workflow settings in your EM?
In addition, please validate that when you logon to BPM worklist using the admin account and click on the name for e.g. weblogic, you see the email attribute populated properly.
Thanks
ACM -
Error while sending email from MOSS portal
Hi,
I have configured email settings on my MOSS central admin, still MOSS throws error while trying to send emails to AD users. I tried to give permission for a user in a site and it threw this error:
The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail. To verify that e-mail is configured correctly, contact your server administrator. at Microsoft.SharePoint.ApplicationPages.AclInv.SendEmailInvitation(PeopleEditor picker, String subject, String message)
at Microsoft.SharePoint.ApplicationPages.AclInv.BtnOK_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I have provided outbound smtp server address and the email addresses as well.
Regards,
ManojOk, issue solved!! The issue was that I had to set anonymous connection directly to server. Error provided by SharePoint didn't help at all. After hours of hair-pulling and head-banging, I found a nice article that detailed how to troubleshoot e-mail issues:
http://www.tonytestasworld.com/post/2009/04/09/SharePoint-2007-Outgoing-E-mail-Troubleshooting-Tips.aspx
In the above article, the troubleshooting step 5 was the breaking point. As suggested in the blog:
http://www.sharepointblogs.com/johnwpowell/archive/2007/07/10/alerts-failing-cannot-connect-to-smtp-host.aspx
I created a C# console application and it gave me the correct error:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated
So I used this code to create an SMTP test application:
using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Mail;
public class Program
public static void Main(string[] args)
try
// Check arguments
if (args.Length != 3)
ShowUsage();
return;
// Create message
MailMessage mmMessage = new MailMessage();
mmMessage.To.Add(new MailAddress(args[2] as string));
mmMessage.From = new MailAddress(args[1] as string);
mmMessage.Subject = "TestMail";
mmMessage.Body = "This is a test";
// Send message
SmtpClient sc = new SmtpClient(args[0] as string);
sc.Send(mmMessage);
catch (Exception ex)
Console.WriteLine(ex);
finally
//Pause
Console.WriteLine();
Console.Write("Press a key >");
Console.ReadKey();
private static void ShowUsage()
Console.WriteLine("Usage");
Console.WriteLine("TestMail [SmtpServer] [FromAddress] [ToAddress]");
} // end Program
This command saved lots of trouble for me and solved the email issue:
http://forums.msexchange.org/m_1800412705/mpage_1/key_/tm.htm
set-ReceiveConnector "default sfzcombx" -permissiongroups:"ExchangeUsers,ExchangeServers,ExchangeLegacyServers,AnonymousUsers"
Hope this helps somebody!
Regards,
Manoj -
Error while sending emails from SOA 11G BPEL
Hi All,
I have configured an error email in my catch/catch-all blocks. Incase I dont have any retry action in my faultpolicies.xml file, the error email is sent fine. However if any remote/binding fault occurs and retry is done on partnerlink, in those cases the Error Notification service fails with below error:
ORABPEL-31015
Error while sending notification.
Error while sending notification to email.
Possible causes : SDPMessaging Driver not configured; Invalid To Address is used; Email server/Messaging gateway is down; using IP address as part of email ID instead of domain name;.
Caused by: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/services/NotificationServiceBean in /app/ejb/ejb_ob_engine_wls.jar#BPELActivityManagerBean.; remaining name 'comp/env/ejb/services/NotificationServiceBean'
sendEmailNotification WSIF Exception occured. Please check stack trace "Cannot get Object part 'Responses'. No parts are set on the message"
If I throw a remote/binding fault (throw activity), the error email gets sent. However whenever the retry happens incase of a fault, the above error comes.
Any idea what can be reason behing this...
Regards
Subhankartry to call a sub process from your catch all block and use the email activity in that subprocess. this should work
-
While creating a device category i'm getting an error "enter a valid division via eg01,how can the error be overcome?
Neha,
you can do in two ways.
1. Enter a valid Division which you configured in the system.
2. Remove the Division as required field. However I suggest it should have a valid division. Why can not you check with your Functional owner?
Linganna Katigiri
Maybe you are looking for
-
I hve a mac mini server (mid 2010). I've been using it in my RV as a media server and it's worked great. I'm now thinking about setting it up in the house using an older 32" Samsung (early 2010) as a monitor. I know both have HDMI, so hook up sho
-
Own CS3 Web Premium, and trying to download replacement media, but get 404 error
I purchased and registered (have serial number) CS3 Web premium when it was current. Now I need replacement media to re-install on new computer (Mac), but the download link on Adobe site returns a 404 error. How do I download? Can I get a CD mailed?
-
I have apple 4s and the operating system is iOS 5.1.1 got the update message of iOS 6. if update the iOS 6, other functions will work unchanging?
-
Documents rows cannot be closed concurrently with the other document modify
Hello Experts !!! Now i am using SAP BUSINESS ONE 2007 B PATCH LEVEL 19. problem is that previously i was using patch level 4. when i was using patch level 4 , i used to punch sales order. now when i upgraded to patch level 19 .SAP is not allowing t
-
Solution to upload images by creating mime repository
Hi We need to implement a solution in retail where and enduser will upload the images of different retail items which needs to be accessed by buyers. We need to understand the best possible way on following 1. How do we create repository where an ima