Created widget is not entering in the SAP system.

I have created a simple widget to directly enter in the se38 transaction in SAP-ABAP.I have created 2 files.
My tra.sap file contains---[System]
Name="AD4"
Client="100"
[User]
Name="in016508"
Password="mandar"
Language=EN
[Function]
Command=SE38
Title=ABAP Editor
Type=Transaction.
And my se38.kon file contains --
<?xml version="1.0" encoding="UTF-8"?>
<widget version="4.5" minimumVersion="2.1">
   <debug>off</debug>
   <window title="Shortcut Widget">
       <name>ShortCut</name>
       <width>128</width>
       <height>128</height>
       <visible>1</visible>
   </window>
   <image src="winter.png">
     <name>IconImage</name>
     <onMultiClick>
            filesystem.open("tra.sap");
     </onMultiClick>               
   </image>
</widget>
After executing with the help of yahoo widget engine,the widget is not able to login in SAP sysytem and giving error message as--
Input field contains prohibited characters(already deleated).
If the user is already loged on the system then widget is running fine.
widget foundation is also installed on the system.
So what is the appropriate solution to this problem?

Jaideep,
Your widget is good, but I guess takes into account the standard saplogon.ini
But what if we are not given an saplogon.ini and we just configure the SAPlogon via User Definable way, without a saplogon.ini? Then it will not find our system list (i.e. BW8) on saplogon.ini, thus widget will not work.
When executing main.sap (by the way on your article you state execute main.kon, which is wrong. It should be main.sap. When i execute, it comes back with a SAPGUI popup warning.
Logon to SAP failed.
The System description 'BW8' cannot be found in the system list.
Make sure that saplong.ini exists and choose an existing description in the system list
We do not use saplogon.ini files.
Regards,
James

Similar Messages

  • Error while creating request list Unable to detect the SAP system directory

    We are upgrading SAP BW (NW 7.0 EHP1) to SAP BW (NW 7.3)
    source OS: Windows 2008 R2,  source DB: MSSQL server 2008 R2 SP1 CU3
    I had started the upgrade by running: STARTUP.BAT
    I had started the DSUGui on the server (CI / DB on the same server) from: D:\usr\sap\BP1\upg\sdt\exe\DSUGui.bat
    I ran both programs (run as administrators).
    Once SAP Gui connects and was able to create userid/ password and when ready to start the initialization phase (click next)
    gives me the error
    Error while creating request list - see preceeding messages. Unable to detect the SAP system directory on the local host
    I had tried STARTUP.BAT "jce_policy_zip=Z:\export-import\downloads\jce_policy-6'  and still the same error.
    I had started DSUGui.bat with trace and the trace file contents are
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[2.0.7.1006]/>
    <!NAME[D:
    usr
    sap
    bp1
    upg
    sdt
    trc
    server.trc]/>
    <!PATTERN[server.trc]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Jan 11, 2012 10:14:58 AM [Error]:                          com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:102) [Thread[ExecuteWorker,5,main]]: Execution of command com.sap.sdt.engine.core.communication.CmdActionEvent@376433e4 failed: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
    Jan 11, 2012 10:14:58 AM [Error]:                          com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
    Jan 11, 2012 10:14:58 AM [Error]:                          com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
    Jan 11, 2012 10:14:58 AM [Error]:                                                 com.sap.sdt.engine.core.communication.CmdActionEvent [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
         at com.sap.sdt.dsu.service.req.DSURequestListBuilder.persistSystemInfo(DSURequestListBuilder.java:277)
         at com.sap.sdt.dsu.service.DSUService.createRequestList(DSUService.java:338)
         at com.sap.sdt.dsu.service.controls.DSUListener.actionNext(DSUListener.java:144)
         at com.sap.sdt.dsu.service.controls.DSUListener.actionPerformed(DSUListener.java:67)
         at com.sap.sdt.server.core.controls.SDTActionListener$Listener.actionPerformed(SDTActionListener.java:46)
         at com.sap.sdt.engine.core.communication.CmdActionEvent.actOnEvent(CmdActionEvent.java:43)
         at com.sap.sdt.engine.core.communication.CmdEvent.execute(CmdEvent.java:69)
         at com.sap.sdt.engine.core.communication.ExecWorker.handleCmd(ExecWorker.java:36)
         at com.sap.sdt.engine.core.communication.AbstractWorker.run(AbstractWorker.java:93)
    I could not get Upgrade started.  Any help is appreciated
    Thanks
    Prathap

    Did you get this solved?
    I have the same problem

  • How do I create a new shopping cart in the SRM system (not portal)

    Hi,
    I'm working on a test landscape with Purchase request WF. I want to create a new shopping cart from the SAP system, not from the portal, and this purchase request should go to a manager approval.
    I've been told that I need a SRM system.
    Could you please tell me what the transaction for creating new shopping cart is? Could you also explain me what to do with this transaction or point to a doc I can learn from?
    Thanks

    it is called planned driven procurement scenario in SRM
    ECC box
    1. create a Purchase request
    2. Approve the Purchase request
    3. now check EPRTRANS table . you might have Purchase request number ( if you have already set up done in ECC system for Plan driven procurement)
    4. Run BBP_EXTREQ_TRANSFER job
    SRM Box..
    5. Now you can see your shopping cart for this purchase request (External requirement) in the sourcing cockpit.
    Muthu

  • Can we create Debit note for Vendors in SAP system?

    Hi,
    Can we create Debit note for Vendors in SAP system?
    If yes, then how do we go about the whole thing , can someone please explain?
    Thanks,
    Chintan.

    Hi Chintan
    If i get it right u r asking for <b>DEBIT memo</b>
    There is no concept of debit memo in SAP
    and If u want to debit vendors accounts for Overcharging in PO u can pass credit Memo in MIRO which in turn will debit vendors account by that amount
    Steps to pass credit memo are as follows
    Trnx Code MIRO
    Enter invoice date
    Select Credit memo from Transaction dropdown
    Give PO number in PO reference
    Enter Amount and Qty for credit memo
    Select tax code if required
    Rest same like miro
    Save MIRO
    Vishal..

  • VERY URGENT, I CAN NOT ENTER IN THE PORTAL

    Hi,
    yesterday i changed the number of sessions in the visual administrator, Visual Administrator->services->Security Provider ->properties -> sessions_size,  from 200 to 1 and now we can not enter in the portal even from visual administrator.
    any idea please??

    Hi did you tried implementing the solution given in
    Unable to login to Visual Admin
    Also go to this path and check
    if No body can log into the portal until this account is disabled and a new super admin is created.                                             
    Information about portal setup and configuration can be found on
    help.sap.com --> Netweaver --> EP6 =< NW04                                             
    Specifically look into the Administration Guide --> User Admin section on how to create a super admin user and disable sap*.                                             
    I am trying my level best to help you, also please open an OSS message with SAP in the meantime.

  • Creating tables on SQL studio and viewing the table in the SAP system

    i have just created a table using the SQL studio and wants to use it view it in the SAP system using the SAP logon. till now i have not found a way to create it therefore any help is much appreciated.

    Hmm... you want to see tables via SAPLogon ??
    Ok, let's assume you really want to access tables via ABAP instead.
    For that you've two options:
    1. Create the table in the ABAP dictonary (SE11) exactly like you created it in the database and activate the table.
    After that you can access the table via SE16 or any ABAP as you like.
    2. You don't create the table in the ABAP dictonary and use native SQL to access the data.
    Neither of these options is meant to be the way to do it.
    The correct way would be to design the whole table in the ABAP dictionary and create the table on the database from that.
    regards,
    Lars

  • Customer orders are entered in the SAP Order Management System?

    How do I ensure that Customer orders that do not contain errors are automatically entered in  the SAP Order Management System?
    What tcodes do i need to run? Thanks!!!

    BY SAP order management system, are you referring to an external system or SAP CRM?

  • PFCG push button, not appearing on the SAP Easy menu screen in CRM 7.0

    Hi Experts,
    PFCG push button is not visible on the SAP GUI, Easy Access menu screen in CRM 7.0.
    But I see it appearing on the CRM 2007 SAP Easy Access screen.
    So how to make it appear on the SESSION_MANAGER screen, that is Easy Access Menu screen.
    I tried the 'Customize Layout' options, but I don't see anything there to make the PFGC button appearing.
    Please let me know the settings.
    Thanks,
    John

    Hi Fredrick,
    i´m on CRM70 SP05 and i have the pushbutton to PFCG in my easy access on top.
    I´m not sure why you won´t see it.
    I guess you already checked your authorization?
    Kind regards
    Manfred

  • The "J2EE process table" node not visible  in the SAP MMC

    For Netweaver 7.0 - The "J2EE process table" node not visible  in the SAP MMC.
    Details for below
    SAP Systems Manager
    SAP AG
    Version: 7100.109.15.8983
    Window Xp
    Any suggestions would be apperecited.
    Thanks
    Srini

    It's hard to say without seeing the code for TreeTable. But they probably have something like an addNode mothod for the TreeTableNode which will take care of all the updates for you. If you want to do it youself, you will probably have to get the data Model (tree.getModel()???)behind the TreeTable and use one of the fire... methods on it like fireRowChanged(???) or fireTableChanged(???). I would suspect Sun would do it this way.

  • TS1702 All my entries in 'notes' have disappeared.  I had several different 'notes' entered over the last few months but when I opened the app recently, all of them had gone.  Any way of getting them back?

    All my entries in 'notes' have disappeared.  I had several different 'notes' entered over the last few months but when I opened the app recently, all of them had gone.  Any way of getting them back?  This has happened once before but they just popped back in a few days later.  No such luck this time.

    Not Charge
    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic. I suspect this is your problem
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • We have three Apple devices. They are all have the same name and are on the same apple ID. We would like to back up our Notes to the cloud. If we each create our own Apple email address will they create two separate Notes flies on the cloud or merge?

    We have three Apple devices 2 IPhone 4's and one Ipad2. Only the Ipad2 is running the latest OS. They are all have the same name and are on the same apple ID. We would like to back up our Notes to the cloud. If we each create our own Apple email address (we don't have one yet) will they create two separate Notes flies on the Cloud or merge them?

    Welcome to the Apple Community.
    Separate Apple ID's will result in separate notes. However when you first start with separate ID's unless one of you erases the notes you have, you will both start off with the same set of notes, but from then onwards each set won't sync with each other.

  • Error when try to start the sap system in SAPMMC

    Hello gurus,
    I´m faccing with a serious problem, I´m trying to figure out a solution for this but I don´t get it!! My God..
    Database - MS SQL 2005
    System- ECC 6.0
    OS- Win 2003 Server X64
    When I tried to start the system by SAPMMC the system keep in with yellow semaphoro.
    I checked some log file such as:
    dev_disp:
    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 2 recv would block (errno=EAGAIN)
    Sat May 01 04:31:21 2010
    NiIPeek: peek for hdl 2 timed out (r; 1000ms)
    NiIRead: read for hdl 2 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   12996]
    NiBufSend starting
    NiIWrite: hdl 2 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 2 in set0
    SiSelNSet: set events of sock 328 to: ---
    NiBufISelRemove: remove hdl 2 from set0
    SiSelNRemove: removed sock 328 (pos=2)
    SiSelNRemove: removed sock 328
    NiSelIRemove: removed hdl 2
    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/17
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpSemRq: key: 2, units: 1, timeout: -1
    DpSemRel: key: 2, units: 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 328
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 3108) [dpxxdisp.c   11183]
    Good Bye .....
    (With continuation...)

    Hi again Gagan,
    More information about that R3trans -d: 
    TRANS.log File:
    4 ETW000 R3trans version 6.14 (release 700 - 03.11.09 - 14:15:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 01.05.2010 - 17:03:33
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Sat May 01 17:03:36 2010                                                   0  0.000000
    4 ETW000  [dev trc     ,00000]  db_con_init called                                                         0  0.000000
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                                                  0  0.000000
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dbmssslib.dll' ...                                     0  0.000000
    4 ETW000  [dev trc     ,00000]  DlLoadLib success: LoadLibrary("dbmssslib.dll"), hdl 0, addr 00000001872B0000
    4 ETW000                                                                                21568  0.021568
    4 ETW000  [dev trc     ,00000]      using "E:\usr\sap\DEV\SYS\exe\nuc\NTAMD64\dbmssslib.dll"              14  0.021582
    4 ETW000  [dev trc     ,00000]  Library 'dbmssslib.dll' loaded                                            16  0.021598
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dbmssslib.dll                    15  0.021613
    4 ETW000  [dev trc     ,00000]  Version of 'dbmssslib.dll' is "700.08", patchlevel (0.236)              1248  0.022861
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dbmssslib.dll                   20  0.022881
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dbmssslib.dll                  12  0.022893
    4 ETW000  [dev trc     ,00000]  New connection 0 created                                                  98  0.022991
    4 ETW000  [dev trc     ,00000]  000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
    4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                                64  0.023055
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                                             49  0.023104
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:                15  0.023119
    4 ETW000  [dev trc     ,00000]  000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
    4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                                32  0.023151
    4 ETW000  [dev trc     ,00000]  Thread ID:2484                                                          1126  0.024277
    4 ETW000  [dev trc     ,00000]  Thank You for using the SLODBC-interface                                  17  0.024294
    4 ETW000  [dev trc     ,00000]  Using dynamic link library 'E:\usr\sap\DEV\SYS\exe\nuc\NTAMD64\dbmssslib.dll'
    4 ETW000                                                                                39  0.024333
    4 ETW000  [dev trc     ,00000]  dbmssslib.dll patch info                                                  32  0.024365
    4 ETW000  [dev trc     ,00000]    SAP patchlevel  0                                                       12  0.024377
    4 ETW000  [dev trc     ,00000]    SAP patchno  236                                                        11  0.024388
    4 ETW000  [dev trc     ,00000]    Last MSSQL DBSL patchlevel 0                                            13  0.024401
    4 ETW000  [dev trc     ,00000]    Last MSSQL DBSL patchno         236                                     12  0.024413
    4 ETW000  [dev trc     ,00000]    Last MSSQL DBSL patchcomment $DBCC() displays binary data as hex. string without 0x (1416409)
    4 ETW000                                                                                21  0.024434
    4 ETW000  [dev trc     ,00000]  lpc:(local) connection used on PTRESAPDEV                                344  0.024778
    4 ETW000  [dev trc     ,00000]  lpc:(local) connection used on PTRESAPDEV                             102948  0.127726
    4 ETW000  [dev trc     ,00000]  lpc:(local) connection used on PTRESAPDEV                              12491  0.140217
    4 ETW000  [dev trc     ,00000]  Driver: sqlncli10.dll Driver release: 10.00.2531                       13539  0.153756
    4 ETW000  [dev trc     ,00000]  GetDbRelease: 9.00.4035                                                 1238  0.154994
    4 ETW000  [dev trc     ,00000]  GetDbRelease: Got DB release numbers (9,0,4035)                           59  0.155053
    4 ETW000  [dev trc     ,00000]  The 7.00 (or earlier) ODBC based DBSL library should not be used for SAP systems running on SQL Server 2005 (release 9.0) or earlier.
    4 ETW000                                                                                25  0.155078
    4 ETW000  [dev trc     ,00000]  Please uninstall SQLNCLI 10 (SNAC10) on this application server.or set environment variable MSSQL_FORCEOLEDB.
    4 ETW000                                                                                61  0.155139
    4 ETW000  [dev trc     ,00000]  For more information please refer to SAP note 1082356                     17  0.155156
    4 ETW000  [dblink      ,00433]  ***LOG BY2=>sql error 0      performing CON [dblink#8 @ 433]             224  0.155380
    4 ETW000  [dblink      ,00433]  ***LOG BY0=><message text not available> [dblink#8 @ 433]                 19  0.155399
    2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = 'PTRESAPDEV' DBNAME = 'DEV'"

  • Data Source Z*** is not defined in the source system

    Hello All,
    I am facing a well known problem extracting data from R3 to the BI side. On both sides I've got SAP ALL.
    I created data source on R3 DEV side, tested it and it extracts data. I've replicated metadata on BI side and activated the data source. The problem starts once I create the info package as no data is availble in PSA.
    I went to extractor checker and tried to start the extraction and I could see the message: data source Z**** not defined in the source system.
    I tried to locate the data source through RSA5 and I cannot see that it is availble there.
    Can you please help and advise where the problem is?

    Hi Neb,
    It can be related to many issues, one of them can be RFC connection issue. Please check the link below :-
    Datasource xxx is not defined in the source system
    It might give you some of ideas. Also if possible can you tell what Datasource are you having problem with.
    Regards
    Sunny

  • BSP: Use of dynpro services is not possible in the current system status

    Hello,
    in the component SRQM_INCIDENT_H i created a own button and eventhandler on the overview view.
    Here in this eventhandler i´m calling an own method from an own class. This method is doing a RFC in our ERP system.
    If i test the method this works fine.
    If i call this method in my eventhandler i get BSP error:
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    Use of dynpro services is not possible in the current system status
    Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
    Error Name
    Program ZCL_CRM_CS_DATA_SERVICES======CP
    Include ZCL_CRM_CS_DATA_SERVICES======CM001
    ABAP Class ZCL_CRM_CS_DATA_SERVICES
    Method CREATE_CS_ORDER
    Line 54
    Long text -
    Error type: Exception
    Any ideas?
    thank you
    Best regards

    Hi,
           Web-UI cannot handle MESSAGE statements. if it's your own program, you should use the web-ui( view_manager->get_message_container or cl_crm_bol_core's global message container) alternatives to display the messages. If the message statement is being issued by a standard program, it's most usually deliberate attempt to fail on unrecoverable error. You can catch it by usin the try...catch CX_SY_MESSAGE_IN_PLUGIN_MODE ..where you call the standard functions.
    Regards,
    Arun Prakash

  • Use of dynpro services is not possible in the current system status

    Hi,
    I am new to all of this and new to SAP. I will bew self learing my way into CRM SOA,  working with the web service creaiton i keep getting the following errlr when rtying to Activate a new created web service:
    "Use of dynpro services is not possible in the current system status"
    not knowing the system that well i wonderin if there is missing configuration. This is CRM 7.0
    Exception Class CX_SY_SEND_DYNPRO_NO_RECEIVER
    Error Name DYNPRO_SEND_IN_BACKGROUND
    Program SAPLSKEY
    Include LSKEYU03
    Line 33

    Hi Keith,
    Welcome to the SCN forums!
    SAPLSKEY
    You should first check your Abap dumps using tranaction code ST22, this usually provides more detail on the problem.
    In this case I think it's trying to return a screen (or pop-up message) that can't be handled while activating the web service. The "SAPLSKEY" tells me that it might be licence related, do you have a valid developer's licence for Abap development work? If not apply for one (find out the procedure from other Abap developer's that you may work with) & check if that makes a difference while activating.
    Regards, Trevor

Maybe you are looking for