cancel
Showing results for 
Search instead for 
Did you mean: 

Start SAP GUI for Windows via transaction launcher

Former Member
0 Kudos

Hello,

we try to start a CRM transaction within the WEB UI framework, but executing the SAP GUI for windows.

User should log in to the Web UI and use a link to start via the transaction launcher the SAP GUI for windows.

(reason is that on step in the transaction can be executed in SAP GUI in a more convenient way, then WebUI (copy&paste)

We have the transaction launcher working via ITS for other CRM transactions.

Thanks

Regards

Bernd

Accepted Solutions (1)

Accepted Solutions (1)

saumya_govil
Active Contributor
0 Kudos

Hi Bernd,

I am not very sure if this is your requirement, but to start a transaction from Web UI you can refer to the following [link|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11135] [original link is broken] [original link is broken] [original link is broken];.

Regards,

Saumya

Answers (5)

Answers (5)

Former Member
0 Kudos


Hello,

I have seen some issues similar to my issue.

I have configured SSO(SSO2 SP3 using X.509 certificate) for ABAP systems, in CRM abap system i am able to logon directly from logon pad shortcuts.

Secure Logon Server installed on NW Portal(NW 7.31), SLL on CRM System(ABAP) and SLC on Win7 32bit.

But when i am executing transaction /ncrm_ui in CRM system or using ITS link ,it is asking for credentials. MYSAPSSO cookie is not generating. but when i am checking in transaction /nsso2 everything looks fine.

Please tell what should be done to enable SSO when we are calling /ncrm_ui or ITS link.

CRM System Trace :

*

* ACTIVE TRACE LEVEL 2

* ACTIVE TRACE COMPONENTS all, MJ

*

M Thu Jul 24 23:38:28 2014

M ThAlarm: set alarm to 600 sec

M ThRqAccept: th_wp_waits_for_rq = TH_NO_WAIT_INFO

M ThRqAccept: allowed rq_type of T28/M0 = TH_ALL_RQ

M ThSetActFields: set act fields to T28/M0/U324/no VM

M ThIsAsyncInput (T28, M0, I0, no VM, plugin_hdl 0, data c0000003a5541c40, rq_id 2787, ..)

M allowed rq_type TH_ALL_RQ

M allowed msg_rc_type NO_MSG

M rq_source FROM_WP_CA, prot DP_PLUGIN_PROTOCOL_NONE

M ThGetOwnerOfWpBlk: become owner of wp_ca_blk 172

M DpVmcGetVmByTmAdm: no VM found for T28/M0/I0 (locked VMs ignored)

M DpLockAppcBlk: lock appc ca_blk 86

M ThClearNextFields ()

M ThRqAccept: allowed rq_type = TH_ALL_RQ

M rq_id 2787 for T28 U324 M0 I0 no VM S-1 recv 0 (Mstat 130, len 1108) (from dispatcher)

M resCheck=0 prot=DP_PLUGIN_PROTOCOL_NONE source FROM_WP_CA User Tname:

M RstrNotifyUserChange: user/client = ( / )

M ThCheckReqInfo: LOGIN for rcp daemon

M ThRqInCheck: o.k.

M ThRqAccept: th_step = TH_GET_USER_CONTEXT

M ThRqAccept: saved MODE_REC = MODE_REC_SYS

M Adresse Offset async RPC-Request

M ------------------------------------------------------------------------

M c0000003a5541c40 000000 00000000 14000000 00000008 00000000 |................|

M c0000003a5541c50 000016 00000002 00000004 ffffffff 00340035 |.............4.5|

M ------------------------------------------------------------------------

M set task type/act rqtype = ZTTARPC/1 (all)

M ThReceive: new request: THFCRPC

M TskhLoop: handle thfc THFCRPC for T28/M0

M TskhLoop: th_step = TH_WORK_SYNC

M set task type/act rqtype = ZTTARPC/1 (all)

M ThStatCreate: create stat rec for tasktype/protocol 12/DP_PLUGIN_PROTOCOL_NONE

M PfRecCreate: create record (0)

M set cpu stamp 23830000

M DpEncodeContextKey: context-key: w6hrdTPrNpb_Tn4Iyc4n5D9WBI9t8XeQ5EGAAhnj, len: 40, 3727608672

M ThContextId: create context_id = >0002800053D19FF2C9AD14E6E1000000821D946C<

M ThInitExtSessionId: U324 M0 ext session_id = 53D19FF2C9AD14E6E1000000821D946C

M ThContextId: context_id_uuid = {53D19FF2-C9AD-14E6-E100-0000821D946C}

M ThNeedSessionRestore: no roll in for THFC THFCRPC

M ThInvlSpaVers: invalidate spavers

M ThSessionInit: install saved spa pointer 6000000003b6b590

M ThSetSpaRollKey: build roll key for T28/U324/M0/I0

M ThContextId: context_id = >0002800053D19FF2C9AD14E6E1000000821D946C<

M ThContextId: context_id_uuid = {53D19FF2-C9AD-14E6-E100-0000821D946C}

M ThCreateContextIds: create new root context id (thfc=THFCRPC)

M ThIncrSpaVers: spavers of T28/M0 is 1

M ThSavUsrClient: set usr >SAPSYS <

M ThSavUsrClient: set client >000<

M RstrNotifyUserChange: user/client = (SAPSYS /000)

M ThEmInit: hyper context for T28 created (key=T28U324, hyperHdl=c000000a0090f490)

M ThEmInit: call EmContextCreate (U324/M0, ..)

M ThEmInit: em context for T28/M0 created (em_hdl=3)

M ThSessionInit: ACTTERM_TYPE = 202

M {root-id=00000000000000000000000000000000}_{conn-id=00000000000000000000000000000000}_0

M TskhLoop: call sap rpc

M ThISetReport: set report <RPC(HANDLE VM OPCODE (CLI WP 2))>

M ThrtRpcExec

M ThrtRpcExec: handle opcode of java vm

M ThJHandleOpcode: handle opcode TH_VMC_HANDLE_EVENTS

M ThISetReport: set report <VMC EVENTS COMPILE>

M ThJHandleOpcode: received events from V2

M ThVmcSetEventInfo2: set eventBits [thxxjava.c:12521]

M 0x4000=COMPILE

M ThVmcSetEventInfo2: set vmSubType/eventBits/tableIdx=4/0x4000/-1

M DpVmcGetVmByTmAdm: no VM found for T28/M0/I0 (locked VMs ignored)

M ThVmcInitJumper: init VMC jumper (jmp index=0) [thxxvmc.c:1996]

M ThIVmcCallServer: call java DP_VMC_SUBT_EVENTS server, debugMode=TH_VMC_NO_DEBUGGING

M ThIVmcCallServer: no abap resp handler for T28/M0/I0

M ThIVmcCallServer: act runtime is DP_RT_JAVA

M ThVmcAttachServer: attach java REM server

M ThJAttachVm2Context: attach vm context to T28/M0/I0

M DpVmcGetVmByTmAdm: no VM found for T28/M0/I0

M DpVmcFindPooledVm: check V1: state=POOLED

M DpVmcFindPooledVm: found pooled REM java vm V1

M DpListRemove: remove elem 1 from vmcadm_pooled_rem_list

M DpListRemove: 0 elems in vmcadm_pooled_rem_list

M DpListInsert: elem 1 already in vmcadm_inuse_list

M DpVmcFindPooledVm: set vmcHdl in wp_adm

M ThJAttachVm2Context: connect V1 with T28/M0/I0 (returnToCaller=1)

M ThJAttachVm2Context: ACT_VMC_SUB_TYPE=DP_VMC_SUBT_EVENTS

M ThJAttachVm2Context: set vmcHdl in wp_adm

M ThJAttachAll: attach V1, vmMemAlreadyAttached/vmAlreadyAttached=0/0

M ThVmcAttachMem: attach contexts of V1 after 30 detach, lastWp was W5

M ThVmcAttachMem: Em2CtxAttach of context 0 (ctxHandle 2) for V1 o.k.

M ThVmcAttachMem: Em2CtxAttach of context 1 (ctxHandle 3) for V1 o.k.

M ThVmcAttachMem: T28/M0 has 1 attached vms

M ThVmcAttachMem: attached contexts of V1 31 time

M ThJAttachVmContainer2: state of V1 is DP_VMC_RUNNING

M ThJAttachVmContainer2: attach stack of V1

M VmcStackAttach: attached vmc adm (c000000c0e390da0, stack_array=c000000c0e390df0)

M ThJConnectVmToTm: connect V1 with T28/U324/M0/I0

M ThJConnectVmToWp: connect V1 with W0

M ThJAttachVmContainer2: found eventBits 0x20 for V1

M 0x20=POOLED

M ThVmcSetProtection: memory of V1 is proteced

M ThJAttachVm: java state of V1 = DP_JAVA_VM_ATTACHED

M ThJAttachAll: return 0

M ThIVmcCallServer: set input info for V1

M ThIVmcCallServer: V1 used for compilation

M ThVmcChangeActiveReqInfo: actRequestInfo of V1 after set of req DP_VMC_SUBT_EVENTS is 0x10

M DP_VMC_SUBT_EVENTS

M ThVmcSetProxyActivated: set proxy activated to 1

M ThIVmcCallServer: set returnToCaller=1 for V1

M ThIJCallJavaVm: call java REM (sub=DP_VMC_SUBT_EVENTS) vm V1

M ThIJCallJavaVm: state of V1 is DP_VMC_RUNNING

M ThIJCallJavaVm: ACT_VMC_SUB_TYPE=DP_VMC_SUBT_EVENTS

M ThrtInitJavaSession ()

M ThSavLang: set language to >E<

M PfFindRec: no record with specified key found

M PfSetActDBConRec: created new record for connection <>

M ThCreateEmMagic: created em magic at c000000a0a8bb150 for T28/M0/I0

M ThNewEnqKey: new dia/update enqueue key

M ThNewEnqKey: new dia/update enqueue key

M ThContextId: context_id = >0002800053D19FF2C9AD14E6E1000000821D946C<

M ThContextId: context_id_uuid = {53D19FF2-C9AD-14E6-E100-0000821D946C}

M ThTransactiondIdChanged: local transaction id changed to >53D19FF5C9AD14E6E1000000821D946C<

M ThJAttachAll: attach V1, vmMemAlreadyAttached/vmAlreadyAttached=1/1

M ThJAttachVm: vm V1 already attached

M ThJAttachAll: return 0

M ThVmcSetProxyActivated: set proxy activated to 1

M ThIJCallJavaVm: jump back to V1

M VmcSwapToStack: swap stack (0 --> 1)

M ThJSwapToStack: attach java vm V1 (proxyFd=17) to W0

M ThJGetGlobals: return c000000c0e411320

M ThJRegisterGenSignalHook: register general vmc hook 9fffffffbe7e7cc0 for signal 11

M ThJRegisterGenSignalHook: register general vmc hook 9fffffffbe7e7cc0 for signal 10

M ThJRegisterGenSignalHook: register general vmc hook 9fffffffbe7e7cc0 for signal 4

M ThJSwapToStack: attach o.k.

M ThJDoRollOut: return to V1, controlsCheckedCount=30

M <1> [8] ThVmcHdlThReturn: main stack returned

M <1> [8] ThVmcHdlThReturn: return o.k.

M <1> [8] ThVmcSelNextHdl (loop=0)

M <1> [8] ThVmcGetReqInfo2: no valid request for V1 (DP_VMC_INPUT_TYPE_EVENT) [thxxvmio.c:408]

M ThVmcDumpInputInfo: found event 0x4000 for V1

M set at thxxjava.c:12521

M <1> [8] ThVmcSelNextHdl: no valid request

M <1> [8] ThVmcGetRespInfo2: no valid response for V1 (DP_VMC_INPUT_TYPE_EVENT) [thxxvmio.c:433]

M ThVmcDumpInputInfo: found event 0x4000 for V1

M set at thxxjava.c:12521

M <1> [8] ThVmcSelNextHdl: no valid response

M <1> [8] ThVmcGetEventInfo2: found event 0x4000, S-1 for DP_VMC_SUBT_EVENTS V1 from [thxxjava.c:12521]

M 0x4000=COMPILE

M ThVmcSetEvent: eventBits of V1: 0x4020

M 0x4020=POOLED,COMPILE

M <1> [8] ThVmcResetInputInfo2: reset input info of V1 from [thxxvmio.c:487]

M ThVmcStatisticsAddRequest: new req DP_VMC_SUBT_EVENTS, count is 1

M <1> [8] ThVmcSelNextHdl: return vmcFd=9004 (DP_VMC_SUBT_EVENTS), rq_id=0

M <1> [8] ThVmcSelNextHdl (loop=1)

M <1> [8] ThVmcGetEventInfo2: no valid event for V1

M NiIRead: hdl 9 recv would block (errno=EAGAIN)

M NiIRead: read for hdl 9 timed out (0ms)

M ThSoRecFromProxy: evtConn is empty

M <1> [8] ThVmcSelNextHdl: nothing found (1 loop), return -1

M ThVmcWaitForValidReq: received DP_VMC_SUBT_EVENTS request

M ThVmcClearEvents: cleared eventBits 0x4020 of V1

M 0x4020=POOLED,COMPILE

M <1> [8] receiveEvent: received eventBits 0x4000 for V1

M 0x4000=COMPILE

M <1> [8] receiveEvent: received event param (len=8) from V2 with id 30

M setEventHandlingState: set state 0x1 for V1

M ThVmcClearWaitForEvent: requestedEventBits of V1: 0x881e

M 0x881e=COMMIT_ALL,ROLLBACK_ALL,COMMIT_DEFAULT,ROLLBACK_DEFAULT,CATALOG_REFRESH,GC

M ThVmcWaitForEvent: requestedEventBits of V1: 0xc81e

M 0xc81e=COMMIT_ALL,ROLLBACK_ALL,COMMIT_DEFAULT,ROLLBACK_DEFAULT,CATALOG_REFRESH,COMPILE,GC

M setEventHandlingState: set state 0x0 for V1

M <1> [8] ThVmcWaitForValidReq: wait for DP_VMC_SUBT_EVENTS request

M ThVmcChangeActiveReqInfo: actRequestInfo of V1 after delete of req DP_VMC_SUBT_EVENTS is 0x0

M <1> [8] ThVmcGetEventInfo2: no valid event for V1

M <1> [8] ThVmcReturn: return to scheduler

M ThJRollOut: ACT_JAVA_PROXY_ACTIVATED = 0

M ThJDoRollOut: return from V1 to caller

M ThJSwapToStack: state of V1 is DP_VMC_WAITING

M VmcSwapToStack: swap stack (1 --> 0)

M ThJGetVmResp2: get my stack buffer

M ThJGetVmResp2: received resp VMC_J_RETURN

M ThJGetVmResp2: java state of V1 is DP_JAVA_VM_ATTACHED

M ThIJCallJavaVm: V1 returned VMC_J_RETURN

M ThIJCallJavaVm: return to caller

M ThIVmcCallServer: set returnToCaller=0 for V1

M ThIVmcCallServer: act runtime is DP_RT_ABAP

M ThIVmcCallServer: return to caller (rc=0)

M ThVmcDecrJumperIndex: jmp index = -1 [thxxvmc.c:2246]

M ThIEndBg: end background processing of T28 (type=0x41, logoff=1, freeResources=1)

M ThIEndBg: act runtime is DP_RT_ABAP

M ThIEndBg: delete T28

M ThIEndBg: reset spa state for user T28/U324/M0

M ThResFree: free resources of U324 M0 I0 (normal mode, complete free) at level 3, errno=0, db_action=TH_DB_NO_ACTION

M ThResFree: reset spa state for user T28/U324/M0

M ThCheckMemoryState (0, 0, 1)

M ThCallHooks: call hook >abTpdaThHook_EModeEnded< for event BEFORE_SESSION_END

M ThCallHooks: hook >abTpdaThHook_EModeEnded< o.k.

M ThCallHooks: call hook >ITSP: EndOfSession< for event BEFORE_SESSION_END

M ThCallHooks: hook >ITSP: EndOfSession< o.k.

M ThCallHooks: call hook >abRtmClearSession< for event BEFORE_SESSION_END

M ThCallHooks: hook >abRtmClearSession< o.k.

M ThCallHooks: call hook >HttpClearSession< for event BEFORE_SESSION_END

M ThCallHooks: hook >HttpClearSession< o.k.

M ThCallHooks: call hook >SpoolHandleHook< for event BEFORE_SESSION_END

M ThCallHooks: hook >SpoolHandleHook< o.k.

M ThVmcPrepareStatisticRecord: save statistic record of V1

M PfFindRec: no record with specified key found

M ThVmcPrepareStatisticRecord: create vmc stat record

M ThVmcPrepareStatisticRecord: clear stat record of V1

M ThVmcSaveStatisticRecord: insert stat record for V1

M PfIRecInsert: insert record PF_VMC_STAT (31)

M ThCallHooks: call hook >TrThHookFunc< for event COMPLETE_STAT_RECORD

M TrThHookFunc: called for complete stat rec

M ThCallHooks: hook >TrThHookFunc< o.k.

M PfICompleteRec: complete stat record

M ThGetTransactionId: got trans id (SPA) >53D19FF5C9AD14E6E1000000821D946C< (32)

M resptime of act sub step: 205380 ms

M resptime of all sub step: 204772 ms (old/new=0/204772)

M SosIGetAnchor: get anchor for 12

M SosICreateNewAnchorArray: created new abap anchor array for T28/M0 with 18 slots at 0xc000000a0276cc70

M PfGetRollAnchor: get roll memory and initialize it

M PfAllocRoll: allocated EM_GLOBAL (c000000a0276cd40/16)

M PfAllocRoll: allocated EM_GLOBAL (c000000a0276cd90/1168)

M PfStatWrite: set record dialog step to 1

M set cpu stamp 24040000

M new cpu time = 210000 us

M PfRecClose: close record (0)

M PfCopyAllRec: write 1 PF_NORMAL_STAT recs (len=904)

M PfCopyAllRec: hook >hook for normal statistical records< o.k.

M PfCopyAllRec: hook >SAP Statistic Interface externalization hook< o.k.

M PfStatIndUpd: New Index-Record, starttime= 1406259508

M PfCopyAllRec: write 1 PF_DBCON_STAT recs (len=224)

M PfCopyAllRec: hook >hook for normal statistical records< o.k.

M PfCopyAllRec: hook >SAP Statistic Interface externalization hook< o.k.

M PfCopyAllRec: write 1 PF_VMC_STAT recs (len=480)

M PfCopyAllRec: hook >hook for normal statistical records< o.k.

M PfCopyAllRec: hook >SAP Statistic Interface externalization hook< o.k.

M PfCopyAllRec: copied 3 recs

M PfStatWrite: copy rec (581 bytes) to shared buf

M PfStatIndMergeInSharedInd: updated shared index:

M from 25.07.2014 03:25:30(1406258730) to 25.07.2014 03:38:28(1406259508)

M PfStatWrite: 144410 bytes (589 recs) in shared buf

M PfStatIndInit: Initializing Index-Record

M PfStatDisconnect: disconnect statistics

M ThDealComm: T28/U324/M0 has no cpic conns

M ThJHandleVmStrategy: no strategy to handle V1

M ThCheckEmMagic: check em magic at c000000a0a8bb150 for T28/M0/I0

M ThCheckEmMagic: em magic at c000000a0a8bb150 for T28/M0/I0 o.k.

M clean up all internal modes of T28/U324/M0

M ThVmcCleanMode (deleteOfMainMode=1, AoS=0)

M DpVmcGetVmByTmAdm: found V1 for T28/M0/I0

M ThVmcCleanMode: clean T28/M0/V1/S-1

M ThJGetVmStrategy: check V1 (releaseEvent=THJ_MODE_DEL, AoS=0)

M ThJGetVmStrategy: strategy for T28/M0/U324 is TH_ABAP_DELETE

M ThJGetVmStrategy: strategy for V1 is TH_JVM_POOL

M ThJHandleVmStrategy: free event param

M ThJHandleVmStrategy: handle vm strategy TH_JVM_POOL/TH_ABAP_DELETE for V1

M ThJHandleVmStrategy: raise saved events

M ThVmcPrepareStatisticRecord: save statistic record of V1

M PfFindRec: no record with specified key found

M ThVmcPrepareStatisticRecord: create vmc stat record

M ThVmcPrepareStatisticRecord: clear stat record of V1

M ThJHandleVmStrategy: V1 finished compilation triggered from V2

M ThJDecrAsyncCompilerCounter: decremented current_compiler_vms (0)

M ThJHandleVmStrategy: pool REM vm V1 in vmcadm_pooled_rem_list

M ThVmcSetEvent: eventBits of V1: 0x20

M 0x20=POOLED

M ThJHandleVmStrategy: disconnect V1 from T28/M0/I0

M ThJDisconnectTmFromVm: disconnect V1 from T28/U324/M0/I0

M ThSesIsHoldAbapContext2: no associated entry

M ThJDisconnectVmFromTm: disconnect V1 from T28/U/324/M0/I0

M ThJDisconnectVmFromTm: T28/M0 has 0 attached vms

M ThJDetachVm: detach V1 in state WAITING

M ThVmcSetProtection: memory of V1 is unproteced

M ThJDetachVm: java state of V1 = DP_JAVA_VM_DETACHED

M ThJGetGlobals: return c000000c0e411320

M ThJDetachVm: detach java vm V1 from W0 o.k.

M ThJHandleVmStrategy: state of V1 is DP_VMC_POOLED

M ThJDetachVmContainer: detach V1, force=0, discon=1, return=1

M ThJDetachVmContainer: set returnToCaller=0 for V1

M ThrtWpWriterFlushOpenFiles: flush all open files

M VmcStackDetach: detach vmc adm (c000000c0e390da0, stack_array=c000000c0e390df0)

M VmcStackDetach: detach o.k.

M ThVmcDetachMem: detach memory of V1

M ThVmcDetachMem: Em2CtxDetach of context 0 (ctxHandle 2) for V1 o.k.

M ThVmcDetachMem: Em2CtxDetach of context 1 (ctxHandle 3) for V1 o.k.

M ThVmcDetachMem: detached contexts of V1 31 time

M ThJDisconnectVmFromWp: disconnect V1 from W0

M ThJDetachVmContainer: detached V1

M ThVmcSaveStatisticRecord: insert stat record for V1

M PfIRecInsert: insert record PF_VMC_STAT (31)

M DpListInsert: insert elem 1 into vmcadm_pooled_rem_list (at begin)

M DpListInsert: 1 elems in vmcadm_pooled_rem_list

M ThJHandleVmStrategy: container state of V1 is 0x0

M ThJHandleVmStrategy: return 0

M ThSesGetSessionType: no associated entry

M ThSesIsJavaSessionId: no associated entry

M ThVmcCleanMode o.k.

M call ab_endmode (END_MODE_CLEAR_ALL)

M ThGetEnqInfo: no enq info found

M ThRmLocQueue: no async request found

M ThPageFree: free (324,0,0, mode = 3)

M ThRollFree: free (324,0,0, mode = 3)

M ThRmFree: cleanup resources for T28 M0

M RmCleanUpResources3: hdr/tbl/ext_tbl/free/keep = c0000000f18ce010/(nil)/0/1/0

M RmCleanUpResources3: no resources registered

M ThRmFree: reset eg state of T28 M0

M ThRmFree cleanup resources for T28

M RmCleanUpResources3: hdr/tbl/ext_tbl/free/keep = c0000000f18d4638/(nil)/1/1/0

M RmCleanUpResources3: no resources registered

M ThRmFree: reset eg state of T28

M ThIEmFree: delete hyper context (hyperHdl=c000000a0090f490)

M ThIEmFree: call EmContextDelete (em_hdl=3)

M ThResetEmMagic: reset em magic for T28/M0/I0

M ThResFree: save spa pointer 6000000003b6b590 and install dummy spa

M ThISend: (T28/M0, user=SAPSYS , type=0x41, info=0x0, mode_deleted=1)

M type=TASK_SWITCH,DISP

M ThCheckAbapDebugging: no valid user or ABAP not no stack, skip check

M ThJCheckJavaDebugging: return 0

M ThrtGetStrategy: abap strategy ROLL / O.K.

M ThISend: set TH_LOGOFF for T28 (user=SAPSYS ) in state TM_NEND

M ThISend: reset act fields T28/M0 as soon as possible

M ThRqOutCheck: check output for T28/M0

M ThRqOutCheck: o.k.

M ThISend: allowed rq_type of T28/M0 = TH_ALL_RQ

M ThNewWpStat (type=0x10000041, task_switch=1, inline_hold=0, hand_shake=0, debug=0, ..)

M ThNewWpStat: new MODE_REC = MODE_REC_SYS

M ThNewWpStat: new state of T28/M0 = MODE_WAIT,MODE_REC_SYS

M ThNewWpStat: new wp stat: WP_WAIT

M ThMkReq: detach wp_ca_blk 172

M ThDtWpBlk: detach WP ca_blk 172

M ThISend: complete stat record

M ThCallHooks: call hook >TrThHookFunc< for event COMPLETE_STAT_RECORD

M TrThHookFunc: called for complete stat rec

M ThCallHooks: hook >TrThHookFunc< o.k.

M ThISend: stat_state = TH_STAT_WRITE

M ThISend: th_wp_waits_for_rq = TH_WP_WAITS_FOR_RQ

M make DISP owner of wp_ca_blk 172

M DpRqIPutIntoQ: put elem in queue NOWP, elems=1

M DpRqPutIntoQueue: put request into queue (reqtype 0, prio LOW, rq_id 2797)

M -OUT- sender_id WORK_PROCESS tid 28 wp_ca_blk 172 wp_id 0

M -OUT- action SEND_TO_DP uid 324 appc_ca_blk -1 type NOWP

M -OUT- new_stat WP_WAIT mode 0 len 8 rq_id 2797

M -OUT- req_info LOGOFF

M ThInvalidateActFields: invalidate act fields from T28/M0/U324/no VM

M ThCheckBlks: th_step = TH_WORK_NOSYNC

M ThCheckBlks: release appc_ca_blk 86

M REL APPC ca_blk 86

M ThDtAppcBlk: detach APPC ca_blk 86

M PfClearAllRec: clear statistic area

M PfStatDisconnect: disconnect statistics

M ThCallHooks: call hook >TrThHookFunc< for event BEFORE_TASK_SWITCH

M TrThHookFunc: called for task switch

M ThCallHooks: hook >TrThHookFunc< o.k.

M ThCallHooks: call hook >ThPCleanZombiesCallback< for event BEFORE_TASK_SWITCH

M ThCallHooks: hook >ThPCleanZombiesCallback< o.k.

M ThCallHooks: call hook >ImcResetPtr< for event BEFORE_TASK_SWITCH

M ThCallHooks: hook >ImcResetPtr< o.k.

M ThCallHooks: call hook >HttpResetPtr< for event BEFORE_TASK_SWITCH

M ThCallHooks: hook >HttpResetPtr< o.k.

M ThCallHooks: call hook >ThIDbgCallbackBeforeTaskSwitch< for event BEFORE_TASK_SWITCH

M ThCallHooks: hook >ThIDbgCallbackBeforeTaskSwitch< o.k.

M ThISend: jump back with rc TH_WAIT_FOR_REQUEST

M

M ********* W0 LOOP (DIA) *********

M TskhLoop: th_wp_waits_for_rq = TH_NO_WAIT_INFO

M ThReceive: th_step = TH_WAIT_FOR_REQ

M ThRqWaitFor: wait for next request (new time slice)

M ThAlarm: reset alarm (600 secs left)

M ThRqWaitFor: wait for request

M Thu Jul 24 23:39:28 2014

M ThRqWaitFor: handle control 0X0

M switch off control 0x0 for W0 (0x0 -> 0x0)

*

* ACTIVE TRACE LEVEL 1

* ACTIVE TRACE COMPONENTS all, MJ

*

B

B Fri Jul 25 00:07:28 2014

B dbslj: kernel version 20051700, java version 20051700

M

M Fri Jul 25 00:25:35 2014

M Deactivate ASTAT hyper index locking

A

A Fri Jul 25 00:36:28 2014

A Localtime1 1406262988, Loaltime2 1406262988, Localtime3 1406262988

A DBTime1 1406262988, DBTime2 1406262988

A Avarage loctime 1406262988, Avarage DBTime 1406262988, Diff 0

A Returncodes codes db_time 0 0 0

A Local time adjusted (0 sec).

*

* ACTIVE TRACE LEVEL 1

* ACTIVE TRACE COMPONENTS all, MJ

*

M

M Fri Jul 25 05:41:30 2014

M ThEMsgArrived: sysmsg_for_rfc = 0

*

* ACTIVE TRACE LEVEL 2

* ACTIVE TRACE COMPONENTS all, N

*

N Fri Jul 25 05:45:22 2014

N <<- SncImportContext()==SAP_O_K

N in: input context = "5344 bytes (snc=2000/me=98/peer=103 gssapi=3143)"

N out: &snc_hdl = 6000000004bddc90

N ->> SncProcessInput(snc_hdl=6000000004bddc90, ibuf=c0000003a5000008, ilen=808, &obuf=9fffffffffffec80,

N &olen=9fffffffffffec70, &backbuf=9fffffffffffec88, &backlen=9fffffffffffec74)

N <<- SncProcessInput()==SAP_O_K

N return values = "(Privacy) in=808, back=0, out=711"

N Fri Jul 25 05:45:23 2014

N <<- SncQueryFixProcess()==SAP_O_K

N out: fix = "FALSE"

N ->> SncProcessOutput(snc_hdl=6000000004bddc90, ibuf=c0000003a5000008, ilen=20392,

N &idone=9fffffffffff7a90, &obuf=9fffffffffff7aa0, &oused=9fffffffffff7a94)

N <<- SncProcessOutput()==SAP_O_K

N return values = "(Privacy) in=20392 of 20392, out=20488"

N <<- SncExportContext()==SAP_O_K

N result = "5344 bytes (snc=2000/me=98/peer=103 gssapi=3143)"

N Fri Jul 25 05:45:24 2014

N <<- SncImportContext()==SAP_O_K

N in: input context = "5344 bytes (snc=2000/me=98/peer=103 gssapi=3143)"

N out: &snc_hdl = 6000000004bddc90

N ->> SncProcessInput(snc_hdl=6000000004bddc90, ibuf=c0000003a5000008, ilen=2120, &obuf=9fffffffffffec80,

N &olen=9fffffffffffec70, &backbuf=9fffffffffffec88, &backlen=9fffffffffffec74)

N <<- SncProcessInput()==SAP_O_K

N return values = "(Privacy) in=2120, back=0, out=2024"

N <<- SncQueryFixProcess()==SAP_O_K

N out: fix = "FALSE"

N ->> SncProcessOutput(snc_hdl=6000000004bddc90, ibuf=c0000003a5000008, ilen=584,

N &idone=9fffffffffff8340, &obuf=9fffffffffff8350, &oused=9fffffffffff8344)

N <<- SncProcessOutput()==SAP_O_K

N return values = "(Privacy) in=584 of 584, out=680"

N <<- SncExportContext()==SAP_O_K

N result = "5344 bytes (snc=2000/me=98/peer=103 gssapi=3143)"

N Fri Jul 25 05:45:35 2014

N <<- SncImportContext()==SAP_O_K

N in: input context = "5344 bytes (snc=2000/me=98/peer=103 gssapi=3143)"

N out: &snc_hdl = 6000000004bddc90

N ->> SncProcessInput(snc_hdl=6000000004bddc90, ibuf=c0000003a5000008, ilen=360, &obuf=9fffffffffffec80,

N &olen=9fffffffffffec70, &backbuf=9fffffffffffec88, &backlen=9fffffffffffec74)

N <<- SncProcessInput()==SAP_O_K

N return values = "(Privacy) in=360, back=0, out=269"

N <<- SncQueryFixProcess()==SAP_O_K

N out: fix = "FALSE"

N <<- SncExportContext()==SAP_O_K

N result = "5344 bytes (snc=2000/me=98/peer=103 gssapi=3143)"

N Fri Jul 25 05:45:55 2014

N <<- SncImportContext()==SAP_O_K

N in: input context = "5344 bytes (snc=2000/me=98/peer=103 gssapi=3143)"

N out: &snc_hdl = 6000000004bddc90

N ->> SncProcessInput(snc_hdl=6000000004bddc90, ibuf=c0000003a5000008, ilen=376, &obuf=9fffffffffffec80,

N &olen=9fffffffffffec70, &backbuf=9fffffffffffec88, &backlen=9fffffffffffec74)

N <<- SncProcessInput()==SAP_O_K

N return values = "(Privacy) in=376, back=0, out=284"

N <<- SncSessionDone()==SAP_O_K

N Fri Jul 25 05:46:12 2014

N <<- SncImportContext()==SAP_O_K

N in: input context = "5344 bytes (snc=2000/me=98/peer=103 gssapi=3143)"

N out: &snc_hdl = 6000000004bddc90

N ->> SncProcessInput(snc_hdl=6000000004bddc90, ibuf=c0000003a5000008, ilen=344, &obuf=9fffffffffffec80,

N &olen=9fffffffffffec70, &backbuf=9fffffffffffec88, &backlen=9fffffffffffec74)

N <<- SncProcessInput()==SAP_O_K

N return values = "(Privacy) in=344, back=0, out=252"

Thanks,

Sorabh

Message was edited by: Singhal Sorabh

Former Member
0 Kudos

Here is the Wiki for the custom solution I have implemented.

[CRM Web UI Txn Launcher: Launch ECC transaction in WinGui|http://wiki.sdn.sap.com/wiki/x/8AAcCg]

Advantages:

You can launch ECC transactions in GUI for windows

You can pass the data from CRM WebUI to ECC WinGui transactions, like confirmed customer etc..

Limitations

You need to key in password, If you do not have active ECC session on you desktop.

gregorw
Active Contributor
0 Kudos

Hi CRM Fellows,

today I've published my new Community Project [ZAPP_INTEGRATOR|http://wiki.sdn.sap.com/wiki/x/FggoCw] which will allow you to include the SAP GUI for Windows in a BSP Application.

Any feedback is appreciated.

Best regards

Gregor

0 Kudos

Hi,

My requirement is to launch Gui for windows from CRM Web UI. Please provide any hint/pointers you have. I have already followed Wiki blog from Ranganath but it does not work.

Thanks,

Abhishek

gregorw
Active Contributor
0 Kudos

Hi

I think my [Community Project ZAPP_INTEGRATOR|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/15661] [original link is broken] [original link is broken] [original link is broken]; can be a starting point to get the SAP GUI for Windows started.

Best regards

Gregor

0 Kudos

Thank you Gregor. Unfortunately, ZPP_INTEGRATOR solution will not work for my client as they already planned to use IE for Web UI access. But i am sure, there has to be a way to launch GUI for windows in IE page just like standard Portal provide this solution.

I am able to launch ECC transaction VA21 by following Ranganath's blog now, however i am facing few issues -

1. It opens up transaction in new GUI window, not on IE page itself

2. It ask for target system user credentials. I beleive this should be solved if we have SSO enabled for windows?

3. I am able to pass parameters on 1st screen of VA21 (tx type and Sales area) however not able to skip the screen to jump to 2nd screen with customer id populated on it.

My requirement is to integrate this solution from Create Quotation button on CRM Account page so i can pass tx type, sales area and customer number. Please suggest if you have any pointers for above issues?

Thank you,

Abhishek

gregorw
Active Contributor
0 Kudos

Hi,

if you're not able to do it with my ZAPP_INTEGRATOR package, then you should talk to innovate Software GmbH. They have a consulting solution called: [SAP GUI@CRM Web-UI|http://www.innovate-gmbh.de/150-0-innovate-Starter-SAP-GUI-CRM-Web-UI-CRM-7-0-en.html].

Best regards

Gregor

0 Kudos

Thanks for your help Gregor. I just want to confirm my understanding about ZAPP_INTEGRATOR plugin that it will work only with Firefox browser (Not IE)? Please correct if I am wrong.

gregorw
Active Contributor
0 Kudos

Then you got my explanation in the Blog wrong. ZAPP_INTEGRATOR does support both Browsers IE and Firefox. But Firefox does not support the SSD technique which will allow a seamless integration of the GUI in the Browser window. With IE you can use both techniques.

0 Kudos

Thanks for clarifying my doubt.

I am trying to import ZAPP_INTEGRATOR nugg however i am receiving following erros. I have checked SAPLink but i am not able to find any plugin for this. Can you please suggest?

- There is no installed SAPlink plugin for object type DTEL

- There is no installed SAPlink plugin for object type TABL

Thank you very much!

Abhishek

gregorw
Active Contributor
0 Kudos

You have to install the plugin for Data Dictionary elements.

Former Member
0 Kudos

Hi Abhi,

Just put the * infront of transaction, It will skip the Initial screen. Refer to the Note I mentioned in Wiki.

And about having GUI for Windows in IE, Need to look into portal code -- to know how the HTTP response is built in Java.

Thanks

--Ranga

Former Member
0 Kudos

Hi Ranga,

We have a requirement to use transaction launcher to launch transaction using SAP GUI in the same workarea. I was able to launch SAP GUI for Windows by using shortcut but new window is getting open.

Do you have solution to launch TL using SSD command?

Appreciate your help.

valentin_catalin2
Active Participant
0 Kudos

Hi Bernd,

I had the same issue some time ago. I was working on a project and that company didn't agree with the ITS / BSP application to create sales order because that had an important issue with the longer running time compared with the WinGUI.

I have solved that issue by running the WinGUI using a custom BSP application which is starting startrfc.exe using ActiveX.

Some of the steps:

1. I have created an remote-enabled function module which is calling a transaction (the transaction code can be for example given from the function module parameters)

2. I have created a BSP page which is asking for the logon data (in my case I needed to start the sales order creation directly in the ERP system)

3. Using ActiveX and javascript in BSP (this is running only in Internet Explorer) I was able to call "startrfc.exe" which has a parameter "-gui" to run the remote enabled function module in gui mode

This is not a perfect solution - first off all you cannot take advantage of the single-sign on and this kind of advantages.

Also, this will run only in Internet Explorer and you need to give acces to ActiveX for you site.

But after all is working and my customer is happy with it

BR,

Valentin

Former Member
0 Kudos

Hi Valentin Catalin,

Lot of people are struggling for the same issue. Even me also.

Will you share your ActiveX and javascript code details, of your implementation. Its very helpful to us. I am waiting for your response.

Regards

Vijay

Former Member
0 Kudos

Thanks for your help

Wolfgang_Mayer
Active Participant
0 Kudos

Hi Bernd,

did you actually solve this issue? How did you do this?

I found something interesting for ES (link: http://help.sap.com/saphelp_nwes70/helpdata/en/cd/38dff9732f441a8026a6af3f9a0c77/frameset.htm), however, cannot imagine at the moment how to utilize it.

Regards

Wolfgang

Former Member
0 Kudos

Yesterday I visited a CRM Technology Day at SAP Headoffice in Walldorf.

SAP Partner "innovate" showed exactly what you are asking for.

They integrated the normal SAP GUI into the SAP CRM. (Seamless -> the GUI was directly IN the Webpage of the WebUi and not popping up a different Window) Single sign on was required.

How did they do it? I don't know - but it was a smart way compared to the other/standard solutions.

www.innovate-gmbh.de

In my opinion they did it over a BSP Page -> which is calling an OCX Version of the SAP GUI?!?! <- I guess...

If you find out more by yourself -> I'm also interested and will watch this thread...

PS: I'm working for a different company and not innovate

stephenjohannes
Active Contributor
0 Kudos

Please follow the conversation over in this thread:

Former Member
0 Kudos

Hello Saumya,

thanks for your fast reply. This thread is good, but it explains using the transaction launcher with ITS. We are searching for a soltuion to call the SAP GUI for windows directly.

Thanks

Bernd

stephenjohannes
Active Contributor
0 Kudos

Bernd,

The standard system does not provide this functionality(as far as I know) or otherwise you would not need an enterprise portal system(and just would need CRM).

I'm going to make this a sticky and see if someone can come up with a standard/custom solution to do this, as I have been wanting a way to do this.

For a custom solution:

- You need to write a BSP application that can dynamically create a SAP GUI shortcut file like the EP standard application.

- You'll also need to wrap this in some type of generic ABAP class so it is not specific to any particular call.

Take care,

Stephen

gregorw
Active Contributor
0 Kudos

Let me first apologize, I've tried to clean up a double post in this forum by Asrunangshu Sarma. Unfortunately I've deleted both posts. Here is the original one:

Hi Bernd,

I am not very sure I have understood completely what you intend to do. However, as far as I am aware, using the transaction launcher is the only possible way to call backend transactions in the SAP system from the WEB UI. Now, this call to the SAP GUI transaction can be done either :

i) Using ITS server.

ii) Via Portal (actually SAP standard allows you to launch a URL using a transaction launcher and that can be tweaked actually to call

transactions in SAP GUI in the same / other SAP systems). The look and feel in this case would exactly be as when Users would

actually log on to the target system and execute that transaction

Both the above can actually open up the transaction in SAP GUI in either the same or separate session. Now, personally I have experienced that using transaction launcher via ITS server causing some memory issues when the load on the ITS server is high and heavy transactions tend not to work properly sometimes.

If you have enterprise Portal and you are logging into CRM and other systems via the portal, then I think you could use the portal framework to call the required transaction in the target system. In that case the transaction call would actually be exactly like logging into the system via portal and executing the transaction.

If one of the above fits your needs, please let me know and I can provide more details on how to use the portal navigation. However, this would require some development and help from your portal team.

Regards,

Asrunangshu Sarma

Former Member
0 Kudos

Both the above can actually open up the transaction in SAP GUI in either the same or separate session. Now, personally I have experienced that using transaction launcher via ITS server causing some memory issues when the load on the ITS server is high and heavy transactions tend not to work properly sometimes.

Hi Gregor,

I know that this is an old post but I would like to ask you about your comment. You say that both i) Using ITS server or ii) Via portal you can open up a transaction in SAP GUI in either the same or separate session. I have a requirement where I from a Web UI component (service order) need to access a SAP GUI transaction (i e action) that uses SAP GUI Dialog program technique. I am able to call this action via ITS (transaction launcher) but the problem is that it creates a new session. So what I do in SAP GUI session (for example order maintain) is not reflected in CRM Web UI component since they are handled in two paralell sessions. Do you know a way to use ITS to call a SAP GUI transaction in the same session as Web UI component?

Best Regards

Andreas