While closing the Photoshop document an ".exe" (or) a script should be get triggered?
Can anybody tell me the feasibility of the below process in Adobe
Photoshop:
While closing the Photoshop(CS,CS2 and CS3) document(please note that not Application!), an .exe (or) a script should be get triggered. Is this possible pals, if so, is this possible in SDK? Could you please let me know the details and samples.
Thanks,
Prabudass
You can use the automation plug-in type to listen for eventClose. See the Listener example in the SDK.
Similar Messages
-
While closing the document .exe (or) a script should be get triggered?
Can anybody tell me the feasibility of the below process in Adobe
Illustrator:
While closing the Illustrator(CS,CS2 and CS3) document(please note that not Application!), an .exe (or) a script should be get triggered. Is this possible pals, if so, is this possible in Java script (or) VB script?
Could you please let me know the details and samples.
Thanks in advance
PrabudassI'm not into scripting outside of After Effects, but most likely this will have to be VB script, not Java. Similar to a thread recently on the Photoshop forum, you'd monitor the window states and their parent/ child relationships. This might however only work in older versions, as CS3 and CS4 use Adobe-specific UI stuff that may not be accessible in that manner. On the other hand it just might by ways of the Flash panel stuff as e.g. used in Adobe Configurator for Photoshop. Maybe investigate these options...
Mylenium -
While starting the SAP, Disp+Work.exe is getting stopped
Hi All,
SAP Discovery System has been installed. While starting the SAP, Disp+Work.exe is getting stopped. But I checked MaxDB and it is working fine.
Kindly look into the below log dev_disp and advice me the solution.
trc file: "dev_disp", trc level: 1, release: "700"
sysno 10
sid ERP
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 119
intno 20050900
make: multithreaded, Unicode, optimized
pid 2420
Mon Sep 15 20:16:06 2008
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 (10 2420) [dpxxdisp.c 1239]
shared lib "dw_xml.dll" version 119 successfully loaded
shared lib "dw_xtc.dll" version 119 successfully loaded
shared lib "dw_stl.dll" version 119 successfully loaded
shared lib "dw_gui.dll" version 119 successfully loaded
shared lib "dw_mdm.dll" version 119 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3910
Mon Sep 15 20:16:11 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 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 >ORX-SAPDEMO_ERP_10 <
DpShMCreate: sizeof(wp_adm) 17232 (1436)
DpShMCreate: sizeof(tm_adm) 4270848 (21248)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
DpShMCreate: sizeof(comm_adm) 528064 (1048)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (96)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1544)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 06E70040, size: 4929464)
DpShMCreate: allocated sys_adm at 06E70040
DpShMCreate: allocated wp_adm at 06E72090
DpShMCreate: allocated tm_adm_list at 06E763E0
DpShMCreate: allocated tm_adm at 06E76410
DpShMCreate: allocated wp_ca_adm at 07288F10
DpShMCreate: allocated appc_ca_adm at 0728ECD0
DpShMCreate: allocated comm_adm at 07290C10
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 07311AD0
DpShMCreate: allocated gw_adm at 07311B10
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 07311B40
DpShMCreate: allocated wall_adm at 07311B48
MBUF state OFF
DpCommInitTable: init table for 500 entries
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 2047 blocks reserved for free list.
ES initialized.
J2EE server info
start = TRUE
state = STARTED
pid = 2672
argv[0] = D:\usr\sap\ERP\DVEBMGS10\exe\jcontrol.EXE
argv[1] = D:\usr\sap\ERP\DVEBMGS10\exe\jcontrol.EXE
argv[2] = pf=
iwdfvm2160\sapmnt\ERP\SYS\profile\ERP_DVEBMGS10_iwdfvm2160
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=3500
argv[5] = -DSAPSYSTEM=10
argv[6] = -DSAPSYSTEMNAME=ERP
argv[7] = -DSAPMYNAME=ORX-SAPDEMO_ERP_10
argv[8] = -DSAPPROFILE=
iwdfvm2160\sapmnt\ERP\SYS\profile\ERP_DVEBMGS10_iwdfvm2160
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1629]
***LOG Q0K=> DpMsAttach, mscon ( iwdfvm2160) [dpxxdisp.c 11799]
DpStartStopMsg: send start message (myname is >ORX-SAPDEMO_ERP_10 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
Mon Sep 15 20:16:12 2008
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 7000, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
DpMsgAdmin: Set patchno for this platform to 119
Release check o.K.
DpJ2eeLogin: j2ee state = CONNECTED
Mon Sep 15 20:16:15 2008
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4248]
ERROR => NiIRead: SiRecv failed for hdl 4 / sock 1428
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:3504) [nixxi.cpp 4248]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2672)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWN
Mon Sep 15 20:16:51 2008
ERROR => DpHdlDeadWp: W0 (pid 4952) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W1 (pid 4852) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W2 (pid 5976) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W3 (pid 5000) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W4 (pid 4984) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => DpHdlDeadWp: W5 (pid 1272) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => DpHdlDeadWp: W6 (pid 528) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W7 (pid 5720) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => DpHdlDeadWp: W8 (pid 2648) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W9 (pid 5444) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => DpHdlDeadWp: W10 (pid 5032) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => DpHdlDeadWp: W11 (pid 5620) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:01 2008
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Tue Sep 16 03:17:01 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 4952 Ended no 1 0 0
1 DIA 4852 Ended no 1 0 0
2 DIA 5976 Ended no 1 0 0
3 DIA 5000 Ended no 1 0 0
4 DIA 4984 Ended no 1 0 0
5 UPD 1272 Ended no 1 0 0
6 ENQ 528 Ended no 1 0 0
7 ENQ 5720 Ended no 1 0 0
8 BTC 2648 Ended no 1 0 0
9 BTC 5444 Ended no 1 0 0
10 SPO 5032 Ended no 1 0 0
11 UP2 5620 Ended no 1 0 0
Dispatcher Queue Statistics Tue Sep 16 03:17:01 2008
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
2
2000
6
6
--------++++--
+
DIA
5
5
2000
5
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 12
wake_evt_udp_now 0
wake events total 8, udp 7 ( 87%), shm 1 ( 12%)
since last update total 8, udp 7 ( 87%), shm 1 ( 12%)
Dump of tm_adm structure: Tue Sep 16 03:17:01 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Tue Sep 16 03:17:01 2008
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:06 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >ORX-SAPDEMO_ERP_10 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes
Stop gateway
killing process (1516) (SOFT_KILL)
Stop icman
killing process (1256) (SOFT_KILL)
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process lives (PID:1516 HANDLE:1520)
waiting for termination of gateway ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:07 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:1516 HANDLE:1520)
wait for end of icman
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:08 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:09 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:10 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:11 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:12 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:13 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:14 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:15 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:16 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:17 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:18 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:1256 HANDLE:1528)
[DpProcDied] Process died (PID:2672 HANDLE:1504)
DpStartStopMsg: send stop message (myname is >ORX-SAPDEMO_ERP_10 <)
NiIMyHostName: hostname = 'ORX-SAPDEMO'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 189 bytes
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=562,pac=1,MESG_IO)
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
DpStartStopMsg: stop msg sent
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 recv would block (errno=EAGAIN)
NiIRead: read for hdl 3 timed out (0ms)
DpHalt: no more messages from the message server
DpHalt: send keepalive to synchronize with the message server
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=114,pac=1,MESG_IO)
MsINiWrite: sent 114 bytes
send msg (len 110+4) to name MSG_SERVER, type 0, key -
MsSndName: MS_NOOP ok
Send 4 bytes to MSG_SERVER
NiIRead: hdl 3 recv would block (errno=EAGAIN)
NiIPeek: peek successful for hdl 3 (r)
NiIRead: hdl 3 received data (rcd=114,pac=1,MESG_IO)
NiBufIIn: NIBUF len=114
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 114 bytes
MSG received, len 110+4, flag 3, from MSG_SERVER , typ 0, key -
Received 4 bytes from MSG_SERVER
Received opcode MS_NOOP from msg_server, reply MSOP_OK
MsOpReceive: ok
MsSendKeepalive : keepalive sent to message server
NiIRead: hdl 3 recv would block (errno=EAGAIN)
Mon Sep 15 20:17:19 2008
NiIPeek: peek for hdl 3 timed out (r; 1000ms)
NiIRead: read for hdl 3 timed out (1000ms)
DpHalt: no more messages from the message server
DpHalt: sync with message server o.k.
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 12145]
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiBufISelUpdate: new MODE -- (r-) for hdl 3 in set0
SiSelNSet: set events of sock 1508 to: ---
NiBufISelRemove: remove hdl 3 from set0
SiSelNRemove: removed sock 1508 (pos=3)
SiSelNRemove: removed sock 1508
NiSelIRemove: removed hdl 3
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/12
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
MBUF component DOWN
NiICloseHandle: shutdown and close hdl 3 / sock 1508
NiBufIClose: clear extension for hdl 3
MsIDetach: detach MS-system
cleanup EM
EsCleanup ....
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 2420) [dpxxdisp.c 10417]
Good Bye .....
Thanks in advance.
Regards,
SuneethaHi,
Just check out your filesystem/ directory have sufficient space.
Do paste us dev_rd as the error above " NiIRead: SiRecv failed for "
pasted looks like system uanble to access SAP gateway.
Rgds
Radhakrishna D S -
Error while releasing the billing document to accounting
Dear All,
I need your favor to resolve the below issue:
(System SAP SAP ECC 6.0)
User is getting the below error message while releasing the billing document to accounting in VF02:
This is an inter-company billing document (B. type : IV) created in company code 0151. Payer is "IC0186", verified the customer has been setup in 151.
Corresponding invoice has been successfully posted in company code 0186. (Partner : P0151)
User is able to post the inter-company document in 0151 using other inter- company partner (ex. IC0183). Therefore, seems that Document type can't be an issue here.
"Consolidated companies 151 and 186 are different
Message no. F5080
Diagnosis
The number of the affiliated company must be clear for the selected document type for all the line items. In this case at least two different companies or a company in connection with a business partner who does not belong to a company are stated.
Procedure
If you selected the correct accounts, you must enter the document with a document type that allows cross-company posting. Otherwise, please correct the entered account."
Could anyone please suggest what can be the reason, if any configuration is missing. Any help is this regard will be highly appreciated
Thanks in advance,
PraveenHi Murali,
Thanks for the prompt input, however as mentioned document type can't be an issue. Since user is able to post the document (same document type) using other inter-company partner in 0151.
Thanks,
Praveen -
Run time error while closing the CRM Order using BAPI
Hi Experts,
Need your invaluable suggestions here.Apologies for the lengthy mail, intention is to give clear idea of the issue.
I am facing an issue while closing the CRM orders. According to our business process, when an issue is solved we will keep the order in resolved status only. We will not directly close the order from the CRM tool, instead we have created a custom program for the same purpose.
For the custom program we will give input as the order number and execute it, this will close the order.
Here close the order means assigning it to Close status as well assign the reason code.
We have created some reason codes for closed status.
So when the program is run the Order moves from resolved status to closed status along with reason code.
But of late we are facing some problems with this program, it is giving run time error for some CRM orders.
Run time error message : The ABAP/4 Open SQL array insert results in duplicate database records.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "CRM_SERVICE_OS_UPD_OST_DU" "(FUNCTION)", nor was it propagated by a RAISING clause.
Please find my code which have used in the custom program
Closing the resolved SOs in the system
CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
EXPORTING
objnr = iv_guid
user_status = lc_status_closed
EXCEPTIONS
object_not_found = 1
status_inconsistent = 2
status_not_allowed = 3
OTHERS = 4.
IF sy-subrc <> 0.
WRITE : 'Error at maintaining status'.
ENDIF.
Set reason code
build lt_subject
ls_subject-ref_guid = iv_guid.
ls_subject-katalogart = 'A2'.
ls_subject-codegruppe = 'ZR000003'.
ls_subject-code = 'ZR33'. " Reason code
ls_subject-mode = 'A'.
APPEND ls_subject TO lt_subject.
build lt_ossset
ls_osset-ref_guid = iv_guid.
ls_osset-subject_profile = 'ZREASON03'.
ls_osset-profile_type = 'G'.
ls_osset-subject = lt_subject.
APPEND ls_osset TO lt_osset.
build lt_service_os
ls_service_os-ref_guid = iv_guid.
ls_service_os-ref_kind = 'A'.
ls_service_os-osset = lt_osset.
APPEND ls_service_os TO lt_service_os.
build lt_input_fields
REFRESH: lt_input_fields, lt_field_names.
CLEAR : ls_input_fields, ls_field_names.
ls_field_names-fieldname = 'CODE'.
APPEND ls_field_names TO lt_field_names.
ls_field_names-fieldname = 'CODEGRUPPE'.
APPEND ls_field_names TO lt_field_names.
ls_field_names-fieldname = 'KATALOGART'.
APPEND ls_field_names TO lt_field_names.
ls_field_names-fieldname = 'SERVICE_PROFILE'.
APPEND ls_field_names TO lt_field_names.
ls_input_fields-ref_guid = iv_guid.
ls_input_fields-ref_kind = 'A'.
ls_input_fields-objectname = 'SERVICE_OS'.
ls_input_fields-field_names = lt_field_names.
APPEND ls_input_fields TO lt_input_fields.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_service_os = lt_service_os
CHANGING
ct_input_fields = lt_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
IF sy-subrc <> 0.
WRITE : 'Error at maintaining reason'.
ENDIF.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
it_objects_to_save = lt_header_guid
iv_update_task_local = lv_update_task_local
IMPORTING
et_saved_objects = lt_saved_objects
EXCEPTIONS
document_not_saved = 1
OTHERS = 2.
IF sy-subrc <> 0.
WRITE : 'Error at saving'.
ELSE.
WRITE : 'Successfully Closed'.
COMMIT WORK AND WAIT.
ENDIF.
Run time error is coming at COMMIT WORK AND WAIT statement.
Please let me know any corrections are required in the above program.
When I analyzed the run time error I have found that it trying to insert the record in CRMD_SRV_OSSET for that CRM order, but already one record is present in the table for the same CRM order number.
For most of the CRM orders there is no entry in this table so they are closing successfully but for a few orders for which there is an entry we are getting the above run time error.
There is nothing wrong with the orders which have an entry already in the table CRMD_SRV_OSSET, I need to close these kind of orders with out run time error.
Kindly provide your feedback.Hi Dinakar,
You posted this in APO PPDS forum. This question should go to PP forum where someone could answer it.
Please close this thread and open a new thread in PP forum so that you could get help quickly from the relevant experts.
Regards - Pawan -
Error messege BP603 while posting the parked document budget exceeded
Hi ,
We are having the budget function and its for overall release.
Budget has been relased and assigned value is less then the released budget in all conditions.
Its throwing the error messege No BP603 while posting the parked documents. Unable to understand the reason why its behaving.
Please let me know if anybody has faced such problem.
We are into ECC6, EHP 4 and the SAP note 557431 is not going to help anyways.
Regards
N.RajuHi,
Please follow as given below:
1. Use T.Code KO31 and enter order and deactivate the control
2. Then try to post the parked document
3. And use T.Code KO30 and enter the order to activate the control
Some times system will check budget availability which already commited for parked documents.
Hope it will work.
Chandu -
Error While Releasing the Billing Document Msg No. KE/AD 243
I am getting error while releasing the billing document
Error No KE/AD 243
This error comes in particular billing document only others are posted correctly.
Rgds
DhirajDear Anil
We had applied EHP3 enhancement, before EHP3 is working fine with no transfer sign assignment but after EHP 3 it gives the error and not in all billing document but in particular document only. so i think there is no changes required in KE4I.
Rgds
Dhiraj -
While releasing the billing document error
Dear TEAM,
While releasing the billing document system was showing the message like NO STANDARD COST ESTIMATE COULDBE FOUND FORTHE MATERIAL.
I have suggested to the user to release the price through ck24.At that time system is showing the message like cost has not been created for the inhouse production.
The samething was tested in Qualiy server and the transaction was through.I have not done any price release for the samematerial.I have checked the table under VBAP the documents was made against to the samematerial.That time we have not faced any issues like this.
Note:Material ledger concept using by client.
Please kindly advice how to proceed further.
Regards,
Sumahave you checked in ck13n if there is a standard cost estimate for the material and what status it has, if there is one? Also, what are the dates in that cost estimate? How do they compare to the date of the billing document? What does the customizing say about the selection of cost estimates for valuation of SD documents? SPRO>Controlling>profitability analysis>master data->valuation-->Set up valuation using material cost estimates
Nikolas -
Userexit while saving the billing document
Hi all,
Is there any userexit while saving the billing document..I want to define minimum invoice value in system.
Regards,
Puneet MakkarHi,
In preceding project, i had the same requirement.
Price condition : copy from std price for minimum value.
Use condition category (for specific determination price for invoice).
In price procedure : apply requirement to active only for invoice (std = 22).
Re determination of price during creation of invoice :
use RV61AFZA with the value of condition category to adapt pricing type (ex : X).
modify copy rule (Tcode VTFL) for item : use new value for pricing type (ex : X).
Regards,
Lionel -
Runtime error while saving the billing document after creation
hi friends ,
while saving the billing document after creation , the fallowing discriptive runtime error has come.
Run time errors -
SAPSQL_INVALID_TABLENAME
Except. -
CX_SY_DYNAMIC_OSQL_SEMANTICSDear Unnam,
There may be several reasons...
1. If u have enhanced the tcode with some z tables,and that might not be moved properly to prod or not active in data dictonary.
2. u may not be entering proper data to the input fields.
3. please check if u have added any z tables to the std tcode.I am exepcting this prob.u may not moved the table or enhancement properly to prod server,
Please check it...
Thanks N Regards
SettyKY -
Encountered error while updating the payment document
Hi Guys,
I encountered an error while updating the payment document of one of our bank account. See below error message:
Error: Unable to lock the record. Cause: The record is being modified by another user
thanks,
gracieHi Vikas,
Repeat the changes you are trying to make one step at a time and make sure you click on update in both the series screen and the document numbers screen every time.
I've faced this issue and doing this helped.
Regards,
Hamsa -
What are the img setting to be fullfilled while copy the Sales document typ
Hi What are the setting to be fullfilled while copy the sales document type and item category.
Note: I have already copied, but unable do the PGI(Post goods issue), and Billing.
Thanks
PrasannaHi
Answer for this Question.
we have set the copy control for sales order type and delivery and billing
Regards
Prasanna R -
Error while closing the open purchase order for MRP run
HI expets,
We are facing issue while closing the old purchase order(18.12.2007) for MRP run, if we are clicking delivery completed for the particular line item ,system is showing the error NET PRICE MUST BE GREATER THAN ZEROthough we have made GR and IR aganist the line item an value is also showing in the purchase order history tab, but in the condition tab there is no value showing for the particular line item .Kindly suggest the way forward.
regards
Karthick sundaramone thing for sure, you cannot proceed without maintaining proper conditions in the PO.
Why they are not there or not anymore there is probably caused by customizing or vendor master data changes. -
Display Do u want save changes or not? message while closing the window
Hi All,
I have one requirement.I developed one form that contains 4 windows.
I entered in the 3rd window and i have made some changes but not saved.when i close 3rd window it is not giving any message like 'Do u want save changes?'after closing the 3rd window cursor will go to 2nd window.if i open 3rd window again it is propmting the message(Do u want save changes or not?).How can i get this message while closing the 3rd window?
i have written the following code in app_custom body
IF (wnd = 'WINDOW1') THEN
app_window.close_first_window;
ELSIF (wnd = 'WINDOW3') THEN
lv_wnd_status := get_window_property('WINDOW2',VISIBLE);
IF lv_wnd_status = 'TRUE' THEN
go_item('BLOCK2.ORDER_NUMBER');
set_window_property ('WINDOW3', visible, property_false);
ELSE
app_window.close_first_window;
END IF;
ELSIF (wnd = 'WINDOW2')
THEN
lv_wnd_status := get_window_property('WINDOW3',VISIBLE);
IF lv_wnd_status = 'TRUE' THEN
set_window_property ('WINDOW2', visible, property_false);
ELSE
app_window.close_first_window;
END IF;
ELSE
app_window.close_first_window;
END IF;
Can anyone give me some idea.
Thanks in Advance
Edited by: DhanaSurya on Apr 27, 2010 9:41 PMIis this the only code which you used to hide/display window?
Might be some navigation is happening in your form. Like if there is relationship between window2 and window3's block and when you access the window2 then you try to move to the next reocrd and then you are try to go to the WINDOW3's block.
Or there is any CLEAR_BLOCK built-in bieng use in you form.
-Ammad -
WIJ20005 error occurred while editing the WebI document
Hello Everyone,
An error occurred while editing the WebIntelligence document.
The error don't occur when you run again.
Do you know the cause of this problem?
Please give me advice how to investigate.
Error message is as follows:
The current request has returned corrupted data. Contact your administrator (ERR WIJ 20005)
Version: 12.4.4.1557
Application server:
http://xxx.xxx.xxx.xxx:80/AnalyticalReporting/cdzisapi.wis
Stack trace:
java.lang.NullPointerException
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabSpaceAllocator.a(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabSpaceAllocator.reArrange(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ensureCurrentRects(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabbedPaneScrollLayout.calculateTabRects(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabbedPaneLayout.calculateLayoutInfo(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ensureCurrentLayout(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.a(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.access$1900(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$f_.componentAdded(Unknouwn Source)
at java.awt.Container.processContainerEvent(Unknouwn Source)
at java.awt.Container.processEvent(Unknouwn Source)
at java.awt.Component.dispatchEventImpl(Unknouwn Source)
at java.awt.Container.dispatchEventImpl(Unknouwn Source)
at java.awt.Component.dispatchEvent(Unknouwn Source)
at java.awt.Container.addImple(Unknouwn Source)
at javax.swing.JTabbedPane.insertTab(Unknouwn Source)
at com.jidesoft.swing.JideTabbedPane.insertTab(Unknouwn Source)
at javax.swing.JTabbedPane.addTab(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryTab.createUniversTab(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryTab.init(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryTabManager.addQueryTab(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryTabManager.updateWithDP(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryPanel.createQueryTabs(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryPanel.load(Unknouwn Source)
at com.businessobjects.wp.tc.TCMain.initClient2(Unknouwn Source)
at com.businessobjects.wp.tc.TCMain.initClient(Unknouwn Source)
at com.businessobjects.wp.tc.thread.InitAppletRunner.run(Unknouwn Source)
at java.lang.Therad.run(Unknouwn Source)
Environment:
[Server]
- Windows 2008 R2 Enterprise
- BOXI3.1 FP4.4 (IIS)
[Client]
- Windows7 SP1
- IE8
- JRE6 Update21
Regards,
MayumiHi, Yuvraj
Thank you for advice.
>What is the default editing tool set in Prefererences --> WebIntelligence?
>Do you get issue with Interactive mode?
>
>If Advanced mode, have you tried uninstalling and re-installing Java
>and check?
It's Advanced mode.
This error occur sometimes.
And if you re-run after an error occurs, the error does not occur.
So, I guess this error has affected the Java cache file, not the Java software.
How do I check what Java cache is corrupted.
>How many reports are giving this issue?
This error occurs in various reports, but I din't know the number of reports.
>Is this issue coming on all machines or single machine?
This error has occurred in several machine.
>Do you face a similar issue when using Webi Rich Client?
This error occur sometimes, and I usually not use Webi Rich Client.
Try to check, but be difficult.
Regards,
Mayumi
Maybe you are looking for
-
How to install oracle developer 10g on rhel 5
hi, i have install oracle database 10g on rhel5 now i want to install developer 10g on this machine so plz send me any link where i can know step by step installation of oracle developer 10g on rhel5. thanks
-
Partial Payment (with invoice reference) for Invoice-based items
Hi Gurus, I'd like to make partial payments to credit memos while "Include partial payment" is activated. However, if i activate "Include partial payment, partial payments for invoice-based items are no longer possible (partial payment amount is dis
-
Need Advice...What's the best document file app out there?
Need some advice!! I am a med student and for my classes I need a file app where I can download and store powerpoint, word docs that the professor gives us as our notes! How can I transfer them and save them on my ipad via a doc app?? Also, is there
-
Colours in result vastly different from preview
I've just installed the latest Photoshop CC. Whenever I go to Image → Adjustments → Anything, the result turns out to be completely different from what I see in the preview. For example, when I use Hue to colourize a picture: If I do the same using t
-
Macbook Pro (2011) freeze and lag when watching youtube etc
My macbook have start to freezing and are general slow in my point of view. Really frustrating, how can I fix this!! ? Tried to fix permisions and so on