Can't read Work Orders through DI Server
Hi,
I'm trying to read a work order through the DI server, but I keep getting error 2052 (No Records found). The Work Order #1 definitely exists in the database. Below an excerpt from the DI Server log. Any ideas?
Thank you.
11/11/2010 16:02:15 Request
<?xml version="1.0" encoding="UTF-16"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><SessionID>E05CB402-4C44-487F-A939-4F3A9B998AC2</SessionID></env:Header><env:Body><dis:GetByKey xmlns:dis="http://www.sap.com/SBO/DIS"><Object>oWorkOrders</Object><OrderNum>1</OrderNum></dis:GetByKey></env:Body></env:Envelope>
11/11/2010 16:02:15 Response (Fault)
<?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Faul
t><env:Code><env:Value>env:Receiver</env:Value><env:Subcode><env:Value>-2052</env:Value></env:Subcode></e
nv:Code><env:Reason><env:Text xml:lang="en">No Records found</env:Text></env:Reason><env:Detail><OrderNum
>1</OrderNum><Object>68</Object><Command>GetByKey</Command><SessionID>E05CB402-4C44-487F-A939-4F3A9B998AC2</SessionID></env:Detail></env:Fault></env:Body></env:Envelope>
Hi Avi,
Welcome to the forums
I'm not 100% sure but I think the issue here is that you are using the WorkOrder object which is the old object for accessing production orders. This was deprecated in SBO 2005 and you should be using the ProductionOrders object instead. I think the WorkOrder object is still included in the DI API (and the DI Server) for backwards compatibility reasons.
Kind Regards,
Owen
Similar Messages
-
How can I send purchase order through SAP mail ?
How can I send purchase order through SAP mail ? Can any one explain whts the NACE settings?
just do it as <b>Anji reddy</b> said to you ...or else ... in the purchase order trascation ...print it ... so that it will generate the spool request for that purchase order ....
so the the belwo program is for sending <b>the Spool Request data as Email to any Email id ...</b>
The code below demonstrates how to retrieve a spool request and email it as a PDF document. Please note for the below program to process a spool request the program must be executed in background otherwise no spool request will be created. Once you have had a look at this there is an modified version of the program which works in both background and foreground. Also see transaction SCOT for SAPConnect administration.
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
* Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
* 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.
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.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
* Write statement to represent report output. Spool request is created
* if write statement is executed in background. This could also be an
* ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
*** Alternative way could be to submit another program and store spool
*** id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
* to sap-spool
* spool parameters %_print
* archive parameters %_print
* without spool dynpro
* and return.
* Get spool id from program called above
* IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
* FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
* FORM get_job_details *
FORM get_job_details.
* Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
* FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
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.
CHECK sy-subrc = 0.
* Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output 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.
ENDFORM.
* FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
* perform send_email using p_email2.
ENDFORM.
* FORM send_email *
* --> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
* Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
* CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
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
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
* FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
* Send email
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_address.
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 = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_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
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
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.
* Populate zerror return code
ld_error = sy-subrc.
* Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
Girish -
Can we create purchase order through report programming?
hi experts.....
can we create purchase order through report programming?If yes plz give me the thread details?Hi,
Use this code in a program by using a BAPI function module
Anothe rway is using classical/ALV report using call transaction from a report for changing the PO
loop at i_header.
header-ref_1 = i_header-legacy.
headerx-ref_1 = c_x.
header-doc_type = i_header-bsart.
headerx-doc_type = c_x.
header-comp_code = i_header-bukrs.
headerx-comp_code = c_x.
header-purch_org = i_header-ekorg.
headerx-purch_org = c_x.
header-pur_group = i_header-ekgrp.
headerx-pur_group = c_x.
header-vendor = i_header-lifnr.
headerx-vendor = c_x.
concatenate i_header-bedat+4(4)
i_header-bedat+0(2)
i_header-bedat+2(2)
into header-doc_date.
headerx-doc_date = c_x.
header-created_by = i_header-ernam.
headerx-created_by = c_x.
header-currency = i_header-waers.
headerx-currency = c_x.
concatenate i_header-kdatb+4(4)
i_header-kdatb+0(2)
i_header-kdatb+2(2)
into header-vper_start.
headerx-vper_start = c_x.
loop at i_items where legacy = i_header-legacy.
item-po_item = i_items-ebelp.
itemx-po_item = i_items-ebelp.
itemx-po_itemx = c_x.
if i_header-bsart = 'NB'.
item-material = i_items-ematn.
itemx-material = c_x.
schedule-quantity = i_items-menge * 1000.
schedulex-quantity = c_x.
else.
item-short_text = i_items-ematn.
itemx-short_text = c_x.
item-matl_group = '1000'.
itemx-matl_group = c_x.
schedule-quantity = '1'.
schedulex-quantity = c_x.
endif.
item-plant = i_items-werks.
itemx-plant = c_x.
schedule-po_item = i_items-ebelp.
schedule-sched_line = '1'.
schedulex-po_item = i_items-ebelp.
schedulex-sched_line = '1'.
schedulex-po_itemx = c_x.
schedulex-sched_linex = c_x.
concatenate i_items-eildt+0(2)
i_items-eildt+2(2)
i_items-eildt+4(4)
into schedule-delivery_date.
schedulex-delivery_date = c_x.
item-price_unit = i_items-peinh * 100.
itemx-price_unit = c_x.
item-tax_code = i_items-mwskz.
itemx-tax_code = c_x.
item-shipping = i_items-evers.
itemx-shipping = c_x.
account-po_item = i_items-ebelp.
accountx-po_item = i_items-ebelp.
accountx-po_itemx = c_x.
if i_header-bsart = 'FO'.
item-pckg_no = sy-tabix.
itemx-pckg_no = 'X'.
limits-pckg_no = sy-tabix.
limits-limit = i_items-overalllimit.
limits-exp_value = i_items-expectedoverall.
posrvaccessvalues-pckg_no = sy-tabix.
posrvaccessvalues-line_no = '0'.
posrvaccessvalues-serno_line = '00'.
posrvaccessvalues-percentage = '100.0'.
posrvaccessvalues-serial_no = '01'.
account-serial_no = '1'.
accountx-serial_no = '1'.
accountx-serial_nox = c_x.
account-quantity = '1'.
accountx-quantity = c_x.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = i_items-kostl
importing
output = account-costcenter.
accountx-costcenter = c_x.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = i_items-sakto
importing
output = account-gl_account.
accountx-gl_account = c_x.
item-acctasscat = i_items-knttp.
itemx-acctasscat = c_x.
item-item_cat = i_items-epstp.
itemx-item_cat = c_x.
endif.
append:item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
clear :item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
endloop.
call function 'BAPI_PO_CREATE1'
exporting
poheader = header
poheaderx = headerx
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* POEXPIMPHEADER =
* POEXPIMPHEADERX =
* VERSIONS =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
importing
exppurchaseorder = ponumber
* EXPHEADER =
* EXPPOEXPIMPHEADER =
tables
return = return
poitem = item
poitemx = itemx
* POADDRDELIVERY =
poschedule = schedule
poschedulex = schedulex
poaccount = account
* POACCOUNTPROFITSEGMENT =
poaccountx = accountx
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
polimits = limits
* POCONTRACTLIMITS =
* POSERVICES =
posrvaccessvalues = posrvaccessvalues.
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POEXPIMPITEM =
* POEXPIMPITEMX =
* POTEXTHEADER =
* POTEXTITEM =
* ALLVERSIONS =
* POPARTNER =
if ponumber eq space.
loop at return where type = 'E'.
clear buffer.
move-corresponding return to e_return.
concatenate i_header-legacy e_return into buffer.
transfer buffer to p2_file.
endloop.
move-corresponding i_header to i_eheader.
transfer i_eheader to p3_file.
loop at i_items where legacy = i_header-legacy.
move-corresponding i_items to i_eitems.
transfer i_eitems to p4_file.
endloop.
else.
commit work and wait.
endif.
clear:ponumber,header,headerx,item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
refresh:item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
endloop.
close dataset p2_file.
close dataset p3_file.
close dataset p4_file.
Regards
Krishna -
Can we send bulk email through exchange server 2010
can we send bulk email through exchange server 2010
You can do this however not sure I would recommend that since if people complain they are getting spammed it could effect your production servers domain/IP, i.e. it could get black listed. Personally I always recommend using a different system for
email blast to protect my production IP addresses and also to keep the load off of exchange as well as email marketing systems have built in capabilities for reporting, opt in/out capabilities etc.
All of that said perhaps you can tell us more about what exactly it is you want to do and how often?
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003 -->
2007 --> 2010 --> 2013 with Lucid8's
DigiScope -
Can not find "Work Folder" in windows server standard edition
Guys, I have a testing lab and all is working with the exception of the fact that I can not find "work Folder" to install it. I'm using windows server 2012 standard evaluation copy edition. Normally work folder should be under >file
and storage service>file and iSCSI services. However, it is not there. Can someone help please
staphiscoHi,
From the overview, Work Folder is not supported in Windows Server 2012 (only Windows Server 2012 R2).
Work Folders Overview
http://technet.microsoft.com/en-us/library/dn265974.aspx
Software requirements
Work Folders has the following software requirements for file servers and your network infrastructure:
A server running Windows Server 2012 R2 for hosting sync shares with user files
If you have any feedback on our support, please send to [email protected] -
How to find the material received in warehouse for work order through table
Dear All ,
I am creating alerting system We have requrirement that if the notification or work order is pending for 10 days then alert to be sent to planner and 20 days to his senior and 30n days to his senior
We have created FM for this every day program will run and check open work orders and notification pending for some days
Now my question in the FM I want to add fields for material receipt
Idea is say for refuebsihment order pending material is received in warehouse now when this is received alert to be send in the work order planner that material is arrived
From which tables I can track this and how to know for the alerting system that material is arrived in warehouse so alert to be send
please reply
Regards
pratap
Edited by: Pratap bhikai Ingole on Jun 5, 2010 9:20 AMHi ,
With reference to your second point , if your looking for some alret then whenever you have goods receipt or goods issue of stock material you can have a mail triggerred through workflow .. in our project what we did was , we had a user status ALMR - All Material received and this is SET by a Z programme which checks whether all stock materials or non stock materials against the order have been received and sets the user status and this programme is run as a batch job with 30min frequency ....
regrds
pushpa -
Applet can't read local file on web server, security issue!
There is any way to read/write files of web server through the applet except the Signed Applet.
If any idea the reply me soon.
Thanks in advanceApplets are downloaded from web servers and execute on the client machine.
Therefore they have no access to the web server file system, signed or not.
They could have access to the client file system (the machine where they run),
but for security reasons only signed applets have this privilege.
So to answer your question, you sign if you want to access client files.
To access web server files, you don't need to sign the applet, but you need
to provide some method of accessing files remotely, for instance:
- Files published for the web can be read using HTTP
- Files can be read or writen with the help of an FTP server on the same machine as the web server
- A servlet running on the HTTP server can collaborate with your applet to exchange files -
Two instances can not simlutaneouly work together on Windows Server 2003 R2
Hi Gurus,
I installed Netweaver on a server which is already having ECC 6.0 which we are using on insctance 10 but i can work only one at a time if one is Up and running the other one should be down this is what am facing.
I have the developer trace log file. Pleaase see below and help me with this.Log below is for Netweaver that i installed and if ECC is UP it throws this in trace.
Total Physical Memory of server = 32 GB
Available Physical Memory of server = 11 GB
In task Manager it shows PF usage of 73 GB and total paging file size set for all drives is 44.98 GB.
LOG
trc file: "dev_disp", trc level: 1, release: "700"
sysno 20
sid NWC
systemid 562 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 144
intno 20050900
make: multithreaded, Unicode, 64 bit, optimized
pid 13772
Wed Mar 04 16:06:10 2009
kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (20 13772) [dpxxdisp.c 1243]
shared lib "dw_xml.dll" version 144 successfully loaded
shared lib "dw_xtc.dll" version 144 successfully loaded
shared lib "dw_stl.dll" version 144 successfully loaded
shared lib "dw_gui.dll" version 144 successfully loaded
shared lib "dw_mdm.dll" version 144 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3920
Wed Mar 04 16:06:15 2009
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5371]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >specsaptm_NWC_20 <
DpShMCreate: sizeof(wp_adm) 25168 (1480)
DpShMCreate: sizeof(tm_adm) 5652128 (28120)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
DpShMCreate: sizeof(comm_adm) 552080 (1088)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1864)
DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000CD60050, size: 6348592)
DpShMCreate: allocated sys_adm at 000000000CD60050
DpShMCreate: allocated wp_adm at 000000000CD62150
DpShMCreate: allocated tm_adm_list at 000000000CD683A0
DpShMCreate: allocated tm_adm at 000000000CD68400
DpShMCreate: allocated wp_ca_adm at 000000000D2CC2A0
DpShMCreate: allocated appc_ca_adm at 000000000D2D2060
DpShMCreate: allocated comm_adm at 000000000D2D3FA0
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 000000000D35AC30
DpShMCreate: allocated gw_adm at 000000000D35ACB0
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 000000000D35ACE0
DpShMCreate: allocated wall_adm at 000000000D35ACF0
MBUF state OFF
DpCommInitTable: init table for 500 entries
ThTaskStatus: rdisp/reset_online_during_debug 0
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
ERROR => <EsNT> CreateFileMapping name=ES_SEG_20_001 error=1455 [esnti.c 1184]
ERROR => <EsNT> paging file too small for 2044 MB mapfile [esnti.c 1186]
Memory diagnostic *
Systeminformation
Processor-Typ : Processor-Count : 16
Operating System : NT 5.2, Build 3790
Service Pack : Service Pack 1
NT Pagefile Informations
Config. minimum size : 47185920 K
Config. maximum size : 47185920 K
Avail. maximum size : 47185920 K
Num
Pagefile
Min.Size
Max.Size
Avail.Max
Curr.Size
1
c:\pagefile.sys
20971520 K
20971520 K
20971520 K
20955136 K
2
o:\pagefile.sys
15728640 K
15728640 K
15728640 K
15728640 K
3
s:\pagefile.sys
10485760 K
10485760 K
10485760 K
10485760 K
NT Task Manager Informations
Total Handles : 0
Total Threads : 0
Total Processes : 2027253931
Commit Charge Total : 0 K
Commit Charge Limit : 2143554319 K
Commit Charge Peak : 2047 K
Phys.Memory Total : 131657184 K
Phys.Memory Available : 0 K
File Cache : 2143594271 K
Kernel Memory Total : 2047 K
Kernel Memory Paged : 393225 K
Kernel Memory Nonpaged : 3851 K
Memory usage of current process
Total virt.address space : 0000008589934464 K
Avail.virt.address space : 0000008589043192 K
Private Pages : 0 K
Total heap size : 26229 K
Virtual memory regions : 0 K
Uncommitted heap memory : 16392 K
Allocated heap memory : 8196 K
Moveable heap memory : 2202 K
DDE shared heap memory : 0 K
Memory usage of all processes
PID
Image
Instance
Work.Set
WS Peak
Priv.Pages
PP Peak
Pg Fault
17072
sapstartsrv.exe
21452 K
21848 K
23768 K
23888 K
85
11308
msg_server.EXE
[MS] NWC_21
10624 K
10624 K
13984 K
13984 K
2
11712
enserver.EXE
[**] NWC_21
16476 K
16476 K
58040 K
58040 K
4
7116
msg_server.EXE
[MS] NWC_20
10960 K
10960 K
14432 K
14436 K
2
13772
disp+work.EXE
43272 K
43648 K
75636 K
82264 K
11
17560
igswd.EXE
[**] NWC_20
4108 K
4408 K
3208 K
3572 K
1
7072
igsmux.exe
14308 K
14308 K
18036 K
18072 K
3
16988
igspw.exe
3544 K
3544 K
4012 K
4012 K
0
5504
igspw.exe
3544 K
3544 K
4012 K
4012 K
0
Sum
128288 K
215128 K
Error 11 while initializing OS dependent part.
ERROR => DpEmInit: EmInit (1) [dpxxdisp.c 9634]
ERROR => DpMemInit: DpEmInit (-1) [dpxxdisp.c 9561]
DP_FATAL_ERROR => DpSapEnvInit: DpMemInit
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Wed Mar 04 16:06:26 2009
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Wed Mar 04 10:36:26 2009
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
0 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
1 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
2 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
3 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
4 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
5 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
6 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
7 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
8 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
9 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
10 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
11 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
12 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
13 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
14 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
15 ? -1 Free no 0 0 0
ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]
16 ? -1 Free no 0 0 0
Dispatcher Queue Statistics Wed Mar 04 10:36:26 2009
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
0
2000
0
0
--------++++--
+
DIA
0
0
2000
0
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 0
wake_evt_udp_now 0
wake events total 0, udp 0 ( 0%), shm 0 ( 0%)
since last update total 0, udp 0 ( 0%), shm 0 ( 0%)
Dump of tm_adm structure: Wed Mar 04 10:36:26 2009
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Wed Mar 04 10:36:26 2009
=============================
Slots: 300, Used: 0, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULLIf you installed the system with default memory parameters both instances will try to allocate 1/2 of the virtual memory on startup.
I suggest you decrease the parameter
es/initial_size_MB
to a value that both instances will fit into physical memory (so e. g. 4000). Then try to start both instances.
Markus -
CF8 server can't send an email through Exchange Server
I'm sending this as an Exchange Server Administrator... I'm working w/ our ColdFusion Admin, but he's stuck... so am I.
CFv8 is our version (if you need more I'll get it) We have Exchange Server 2003 Enterprise, on Windows 2003 Server Enterprise.
From what I understand... someone is filling out a form on our CF8 Server... this form is then "sent" to the "forum administrator" (through our Exchange 2003 server) ... This person is "outside" of our Exchange server... [email protected]
This has "Adobe Support" stumped...
I have the CF server "allowed" in the SMTP, Virtual Server, Relay Setting, (and allow all authenticated servers to relay.. also)
I have a copy of his "code" too... (site details removed) ...
<cfmail to="#recipEmail#" from="#sendersEmail#" subject="You've got an ePostcard from Our Company!"> #recipName#, #sendersName# sent you an ePostcard from www.ourcompany.com! You can view your card at http://www.ourcompany.com/pub/ecards/yourEcard.cfm?cardNumber=#getIDNumber.CardID# Your card will be available for 30 days. Delivered by Our Company Send your OWN ePostcard now at http://www.ourcompany.com/pub/ecards/ </cfmail>
So if you have any ideas, please let me know.
Thank you!
JLHOur Answers below them... I scrubbed out the "real servers and email addresses" from the answers..
I know most of this has been sent in an Adobe Ticket by the CF admin, but I see something isn't right!.
Some questions, based on that assumption:
1) Does the connection to the Exchange server verify in CFAdmin?
Yes
2) Have you switched all the mail logging options on, and set to DEBUG? Anything useful being logged?
"Error","scheduler-4","10/26/09","16:20:25",,"Invalid Addresses"
3) Is the email failing to send from CF, or is it failing to be forwarded by Exchange?
It’s being sent by Coldfusion but getting stuck in the undeliverable dir.
4) Can Exchange log failed / refused connections, and is it logging attempted connections from the CF server?
I trolled all the logs for Exchange, found only one line in months of logs:
A non-delivery report with a status code of 5.1.8 was generated for recipient rfc822;[email protected] (Message-ID <[email protected]>).
10/6/2009
8:39:45 PM
MSExchangeTransport
Error
NDR
3030
N/A
ourmailserver
A non-delivery report with a status code of 5.1.8 was generated for recipient rfc822;[email protected] (Message-ID <[email protected]>).
5) Are the messages getting stuck in the spool dir on the CF server, or being placed in the undeliverable dir, or vanishing (suggesting they're being sent)
They are getting stuck in the undeliverable dir.
6) What happens if you set up a simple, stand-alone, test rig with a hard-coded <cfmail> test mail to an email address within your own Exchange system? If that works, try changing it to an "outside world" one.
Tried this and works fine with and address with in our Exchange system and when it is switched to an outside world address it gets stuck in the undeliverable dir like always.
7) Anything in the CF or JRun logs?
This is what we are getting in the Log files as the problem (but anID @ gmail.com is a valid email):
"Error","scheduler-0","10/06/09","15:59:24",,"Invalid Addresses"
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 No such domain at this location ( anID @ gmail.com)
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:832)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:731)
at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1021)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:986)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 No such domain at this location anID @ gmail.com)
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
Thank you for your time in looking at this with us!
JLH -
Can Oracle Portal work without Oracle HTTP Server ?.
Hi,
We are developing on Oracle Portal 10.1.4.
We are trying to use IPlanet Web Server instead of Oracle HTTP server. In such a case can Portal run with IPlanet Web server. alone ?.
Can we eliminate Oracle HTTP Server altogether ?.
Thanks and Regards,
Panai.Third party HTTP Servers can be used with the OracleAS Proxy Plug-in. I have not done any tests with them however. The documentation states that it will enable you to integrate Sun ONE Web Server Enterprise Edition on UNIX and Windows systems, or the Microsoft Internet Information Server (IIS) on Windows systems.
Oracle Portal is tightly integrated with Oracle Web Cache. This might limit the usability of the OracleAS Proxy plugin.
More info is available in the documentation :
http://download-uk.oracle.com/docs/cd/B32110_01/web.1013/b28948/proxy.htm#sthref1166 -
I can't read pdf files through Safari.
Just recently I cannot read pdf files from Safari. The file shows up as dark space. I don't know why? Guessing I changed something that caused it. Any ideas?
Back up all data.
Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
sankar,new delhi
PIB. I want to read the data from the GPIB after the operation complete. I am using *opc? command, which should set the status register bit after the completion of the operation, but this is not working. How to know that the Operation is complete"-Thanks.The NI-488 global status variables ibsta, ibcnt, and iberr is what you are looking for. Look into the 4882 help file for details. Also NI-Spy, http://www.ni.com/support/gpib/nispy.htm, is a good debug util. There is a website that lists common GPIB error codes and solutions. You may check there for some things to try. You'll find the link at ni.com > Support > Troubleshooting > Installation/Getting Started > GPIB, titled "GPIB Error Codes and Common Solutions".
You could find a driver for this instrument at http://www.ni.com/devzone/idnet/default.htm . If it's not listed there, it leaves you with one of a couple options. First, I would like you to submit a request for this driver at: http://zone.ni.com/idnet97.nsf/instrumentdriverrequest/
We develop dri
vers based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one.
If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
http://www.ni.com/devzone/idnet/development.htm
We also have a syndicate of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
http://www.ni.com/alliance
Hope this helps. -
Updating PO confirmation and ASN through Work Order Confirmation
Hi,
We implemented PO collaboration and Supplier is doing PO Delivery confirmation and ASN.Now we are implementing Work Order Collaboration and system created Work Order with reference to Purchase order.
I want to know whether PO confirmation and ASN date gets copied from Work order dates(after doing confrimation for phase Transport).
I want to know what setting we need to do as presently it is not getting copied to Work order. And I want to know how it updates ECC confirmation tab for Purchase Order.
Please do the needful
Regards
Raghavendra PaiHi Raghavendra
The above validation check will prevent supplier confirming purchase order request lines in PO details screen, so only supplier can confirm through WO confirmations, i.e by accepting the work order request lines in delivery overview, adapt the work order
This will make the work status as CIAG from CINE, in negotiation to in agreement
Then you can publish the work order, this will copy the confirmed data from the work order as identical request data and confirmation data to the purchase order. this data will be picked by ROC_Out and updates the po data in backend
Please check whether ROC_out is available in customizing
SPRO-SNC-BASIC SETTINGS-PROCESSING INBOUND & OUTBOUND-PROCESS TYPES OUTBOUND MESSAGES
ASSIGN OUTBOUND MESSAGES TO DEFAULT PROCESS TYPES
REPLORDC_O ASSIGNED TO ICH SUPPLIER COLLABORATION
Still if does not trigger, kindlly check the log slg1
it could be problem with ODM's ,POS etc
Best Regards
vinod -
How to create Work Order in CMRO
Dear All,
We are new to using Oracle CMRO and because of unavailability of CMRO resources, we are facing quite a few problems while working on CMRO. Can anyone please help me out how can I create Work Order using CMRO.
If anyone can provide me with Oracle CMRO White Papers, I will be very thankful.
Regards,
Zulfiqar Ali MughalHi,
There are 3 ways to create work order in oracle cMRO.
1) Through Maintenance Requirement and associated to visit and push to production.
2) Non-routine.
3) Unassociated Task.
1. Create Work Order From Maintenance Requirement:- In order create work order first of all we need to define an MR in Engineering > Fleet Maintenance Program > Overview > Create. After creating the MR Header at least one route should be associated (Route can be created from Engineering > Route >Overview > Create and the status should be "complete"). Then MR effectivity (means which item or unit MR is applicable) need to be defined and in turn the interval threshold also need to define. Once the MR is completed from the Planning window associate the MR to a visit and push to Production. In case of Planned MRs run the Build Unit Effectivities and view the due date from the Planning> Unit Maintenance Plan screen and associate to a Visit in Planning and push the visit to production. In case of Unplanned MRs create visit, associate unplanned MR, push to production.Work Orders would have generated and visible in Execution >Production Planning > Work Orders.
2. Create Non-Routine:- Non- Routines can be created from Execution and Planning
a.Create Non-Routine work order from Execution:- Select the Routine work order and select Create Non-Routine work order from the pull down menu, furnish the details like severity, urgency, summary etc. and click on (B) Apply.
b.Non-Routine from Planning: Create NR from Planning >Unit Maintenance Plan> Non-Routines (B)Create and then associate to a visit and push to production.
3. Unassociated Task:-This is for executing the miscellaneous operations to be done as part of already created visit. Navigate the visit task screen in an already created visit (Navigation: Planning > Visit Work Package > Overview > Search the visit > Click on the visit hyperlink> view visit task in side Menu), From the drop down menu select the “ Create Unassociated Task” and click (B) Go. Furnish the details in the Task header and click on (B) Apply and (B) Cancel, you would be navigate back to the “Visit Task” Screen. Select the unassociated task and push to production. Unassociated work orders would have created. You can create Unassociated task any time during the execution, before closing of visit. -
When Creating a Work Order Import Standard Operations
A client is requesting the following functionality when creating a Work Order: Create the first nine operations with different work centers and number operations 0001 u2013 0009. For operation ten continue numbering with 0010 and increase by 10, ie, 0020, 0030, etcu2026 . And operation 0010 would default header data.
Can this be accomplished through standards configuration or would this entail a user exit?
Thanks in advance!!
JAMIt can be possible, depending on how you create the Work Order. If these operations are used often and are in a task list, you can create a work order and import the task list operations by using the menu "extras -> task List selections" inside the work order. If it is part of a preventative maintenance plan, you can configure that your task list is automatically copied to the notification/work order when generated by your maintenance plan. Of course in the task list you could save all the increments and work centers as you want. But this would never be a dynamic check to your header data, it would only be as accurate as your task list.
Maybe you are looking for
-
How finder shares multiple images at once and how can I use this in my app?
You can share multiple images (or other documents) at once in finder. It's probably possible to make an app in Xcode that does exactly the same thing as well, but I don't know how. I really want to because I'm a bit curios. I would love if there are
-
Apps store from iPhone lists in French
When initially activated, my apps store brought up apps in English (my specified language on iPhone). When I went to apps store from iPhone over the weekend, all listings were in French. How do I change back to English (all other iPhone info is in En
-
Does SAP has a GUI screen painter or not? If yes what operating systems is
Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?
-
Display all of the following properties for Get-ADDomain
How do you display all of the following properties: Get-ADDomain ???,cn=mysite,cn=com; Property Syntax R/RW lDAPDisplayName AllowedDNSSuffixes ADCollection RW msDS-AllowedDNSSuffixes ChildDomains ADCollection R dnsRoot of crossRef objects where trust
-
SQL field (not large enough) - Create Report Dialog - User Defined Reports
When creating a user defined report it would be good to have the sql field the query is entered into bigger. The tiny size is awkward for large queries.