SAP. Functions  Connection.logon(0, True) error without any description

I use SAP note 1028500. It provides VBA Excel macros for xRPM Financial planning data loading.
General problem contains in the following lines:
Function XRPM_SAP_LOGON(ByRef r3 As Object)
  Set r3 = CreateObject("SAP.Functions")
r3.Connection.System = "A30"
r3.Connection.Client = "150"
r3.Connection.User = "kovalevavi"
r3.Connection.Password = "xRPM40SAP"
r3.Connection.Language = "RU"
If r3.Connection.logon(0, False) = True Then
    strAns = "xRPM"
    message = "Login Failed"
    strAns = MsgBox(message, 0, strAns)
    XRPM_SAP_LOGON = False
    Exit Function
   End If
   XRPM_SAP_LOGON = True
End Function
String "If r3.Connection.logon(0, False) <> True Then" loads SAP logon. After system was chose and logon data were entered a user clicks on "OK" button and error notification without any details appears.
There are no problems with logon using direct access to SAP Logon. We have the other situation. We use Citrix with only 2 application shortcuts (Excel and SAP Logon) available. Remote desktop is not available (2 shortcuts only). I guess there are some network problems with data transfer to ERP (or SAP Logon). The macros reads file with systems in SAP Logon, but it cannot send back information on client, account, PW and language to SAP Logon (or ERP).
Could u please tell, how string «If r3.Connection.logon(0, False) <> True Then" works? How ERP access is provided via Connection.logon? Does "Connection.logon" function read SAPLOGON.INI and encapsulates its packages into SAP Logon packages or it woks in the other way? What does files it use? How does account information return to ERP?
Are there any ways for pointing to server directly and calling ERP logon via Excel macros?
Best regards,
Valerie
Edited by: Valerie Kovalyova on Feb 21, 2008 2:00 PM

&#1050; &#1089;&#1086;&#1078;&#1072;&#1083;&#1077;&#1085;&#1080;&#1102;, &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1101;&#1090;&#1086;&#1090; &#1092;&#1086;&#1088;&#1091;&#1084; &#1085;&#1077; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1079;&#1080;&#1083; &#1079;&#1085;&#1072;&#1082; &#1089;&#1088;&#1072;&#1074;&#1085;&#1077;&#1085;&#1080;&#1103;  VBA. &#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1103; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1080; &#1089; True. &#1042; VBA &#1086;&#1085; &#1074;&#1099;&#1075;&#1083;&#1103;&#1076;&#1080;&#1090; &#1082;&#1072;&#1082; &#1079;&#1085;&#1072;&#1082; &#1084;&#1077;&#1085;&#1100;&#1096;&#1077; &#1080; &#1073;&#1086;&#1083;&#1100;&#1096;&#1077; &#1073;&#1077;&#1079; &#1087;&#1088;&#1086;&#1073;&#1077;&#1083;&#1086;&#1074;.
&#1052;&#1072;&#1082;&#1088;&#1086;&#1089; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090;, &#1077;&#1089;&#1083;&#1080; &#1077;&#1075;&#1086; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1089;&#1082;&#1072;&#1095;&#1072;&#1090;&#1100; &#1080; &#1079;&#1072;&#1087;&#1091;&#1089;&#1090;&#1080;&#1090;&#1100; &#1085;&#1072; &#1085;&#1072;&#1096;&#1077;&#1084; &#1091;&#1076;&#1072;&#1083;&#1077;&#1085;&#1085;&#1086;&#1084; &#1088;&#1072;&#1073;&#1086;&#1095;&#1077;&#1084; &#1089;&#1090;&#1086;&#1083;&#1077; mywts.sap.com (&#1087;&#1088;&#1080; &#1087;&#1088;&#1103;&#1084;&#1086;&#1084; &#1087;&#1086;&#1076;&#1082;&#1083;&#1102;&#1095;&#1077;&#1085;&#1080;&#1077; &#1076;&#1072;&#1078;&#1077; &#1085;&#1077; &#1086;&#1073;&#1089;&#1091;&#1078;&#1076;&#1072;&#1077;&#1090;&#1089;&#1103;), &#1074;&#1074;&#1077;&#1089;&#1090;&#1080; &#1082;&#1072;&#1082;&#1080;&#1077;-&#1085;&#1080;&#1090;&#1100; &#1083;&#1077;&#1074;&#1099;&#1077; &#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088;&#1099;, &#1076;&#1086;&#1073;&#1088;&#1072;&#1090;&#1100;&#1089;&#1103; &#1076;&#1086; &#1083;&#1086;&#1075;&#1080;&#1085;&#1072; &#1080; &#1079;&#1072;&#1083;&#1086;&#1075;&#1080;&#1085;&#1080;&#1090;&#1100;&#1089;&#1103;.
Edited by: Valerie Kovalyova on Feb 21, 2008 4:42 PM

Similar Messages

  • PO Approval stuck in error without any Error message

    Hi All,
    we have few notifications for PO Approval where they are stuck in error without any error message. they are also not showing in the worklist of the approver nor in the wf_notifications table. please help on this on how to solve this. we have done various options to solve the issue like skip/rewind/suspend/retry. but none of them works..... below is an extract of such an notification -
    Error in Workflow POAPPRV/3112-127925
    From SYSADMIN
    To Das, SD
    Sent 12-Dec-2011 16:55:01
    Closed 12-Dec-2011 17:07:30
    ID 164593
    Responder Das, SD
    An Error occurred in the following Workflow.
    Item Type = POAPPRV
    Item Key = 3112-127925
    User Key =429766-245
    Error Name =
    Error Message =
    Error Stack =
    Activity Id = 10770
    Activity Label = ROOT:POAPPRV_TOP
    Result Code = #STUCK
    Notification Id =
    Assigned User =
    Thanks,
    Sam D
    Edited by: Sam D on 12 Dec, 2011 1:45 PM

    Please post the details of the application release, database version and OS.
    Can you find any errors in the Workflow log file?
    All Purchase Orders or Requisitions Getting Stuck in Pre-Approved or In Process Status - Troubleshooting Checklist [ID 1104843.1]
    Troubleshooting for Requisitions / Purchase Orders in Process or Pre-Approved Status [ID 225017.1]
    Also, search MOS for (POAPPRV stuck) and go through the docs.
    Thanks,
    Hussein

  • I am having trouble connecting MacBook Pro (10.6.7) to Novell server. I get incorrect username and password message. I can connect worksations running 10.5 without any problem. Any possible solution? Thanks, Ned

    I am having trouble connecting MacBook Pro (10.6.7) to Novell server. I get incorrect username and password message. I can connect worksations running 10.5 without any problem. Any possible solution? Thanks, Ned

    Having the exact same problem with connecting ML and Snow Leopard machines to a Windows 8.1 machine. Oddly enough, connecting and copying to/from works perfectly from a Mavericks machine, despite the problems reported about Mavericks regarding the exact opposite. An old thread, but did you find a solution?

  • Weird error without any error message

    I've been working on some actionscript 3 system. And all of a
    sudden, it wouldn't execute anymore. When I pushed CTRL-Enter in
    Flash CS3, a white screen would open up (instead of the normal
    flash program) and no trace-output would be given.
    Three hours later I found the cause of this weird problem.
    It's (simplified) the line:
    var value:Number = -(true ? 1 : 0); // This one doesn't work.
    Put this line in your script, and your entire program won't
    execute. And without any error message! I was wondering, why is
    that? By the way, the following lines do work:
    var a:Number = -(2*3+4); // Gives -10.
    var b:Number = (true ? 1 : 0); // Gives 1.
    var c:Number = -b; // Gives -1.
    var d:Number = 0-(true ? 1 : 0); // Gives -1.
    var e:Number = -((true ? 1 : -1) as Number);
    So, my guess is that the code (true ? 1 : 0) gives some sort
    of data type which is not a Number, and therefore doesn't except
    minus signs. But that wouldn't explain why it doesn't even give an
    error. So what IS wrong with it?

    ok - well if these numbers are used to begin the execution of
    a method in your file, it's likely that they are not firing up
    because the syntax here is incorrect. in order to use this type of
    conditional operator (which i do use quite often as well, handy
    convenient ;) the structure should be:
    var value:Number = (condition) ? 1 : 0;
    'true' is not a 'condition' but a boolean result, so it
    should not be evaluated in the way have been using it here -
    however 'true' is 'true' so the result will always be 1 (the first
    expression in the operator) - i'm not certain why you would need a
    -0 result and if you are always wanting a 'negative' number then
    use that number in the return expression, as in:
    var value:Number = (condition) ? -1 : 0;

  • Concurrent Program ends in Error without any error message - Apps 11.0.3

    Hi,
    We have a concurrent program which errors out sometimes without any error message in log file or anywhere else. This happens intermittently. Is there anyway to see why this happens ( to see error message somewhere else - like FND tables ?). Any feedback is appreciated. This happens in Oracle Apps 11.0.3.
    thanks
    Ram

    Ram,
    Is this a custom or standard concurrent program?
    Was this working properly before? If yes, what changes have been done recently?
    Did you try to relink the concurrent program executable file and see if this helps? Also, you could enable trace/debug and submit the request again and see if more details are collected in the logs -- See (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12).
    Regards,
    Hussein

  • Inventory Transaction Worker erroring without any log messages.

    Hi,
    When I try to run Inventory Transaction Worker, it is erroring out without any log/output messages. In metalink, it has been mentioned that when there are any garbage characters in the input data, it errors out.
    I checked the input data also. It seems to be fine.
    Could any of you please help me in this regard???
    Thanks.

    HI
    EBS - 11.5.10.2
    OS - AIX 5.3
    This was working fine before and working fine in PROD.issue is in cloned instance
    Initaillial I was getting following error
    This concurrent manager cannot run the following registered, immediate
    concurrent programs because they are not linked to this concurrent
    manager's library "INVLIBR"
    Cause: The immediate concurrent programs listed have been registered
    th
         Application Concurrent Program
              INV INCDCM
              BOM CMCCTM
    Followed the note you provided and started getting error as mentioned in pervious post.
    Now I am not able to add WICTWS to lib 'INVLIBR' as its of PL/sql type executable
    Thanks

  • SAP Installation RFC LOGON FAILED- SQl ERROR ON PROGRAM SPAM (SAPMSSY1)

    Dear Gurus,
    during the SAP installation, i got the RFC logon failed error: SQL Error on program SPAM (SAPMSSY1)
    I am pasting the disp_w0 file.....................
    http://www.4shared.com/file/89058633/ac7a0547/_2__dev_w0.html
    pls let me know the how to lovve this.
    the basic error is like....
    Generating ABAP/4 Program SAPMS380                                .
    A  Source SAPMS380                                 Line 8.
    A  Error Code GEN_SOURCE_FORMAT.
    A  Module  $Id: //bas/620/src/krn/gen/screads.c#7 $ SAP.
    A  Function sc_getstring Line 624.
    A  Error when reading program SAPMS380
    Its showing this kinda error for a max of program like SAPMSSY1, SAPMSSY2, SAPMS380 and lots more which are clearly depicted in disp_w0 file.
    what is the error??? is there any error in program SAPMSSY1??
    if this is true pls let me know hot to solve this? where i can access this SAPMSSY1 ?? remember i can not use any T-code like SE36 as my installation is not finished.
    Kindly have a detail look on the disp_w0 file.
    Abhishek

    HI
    can u tell me how 2 acces the ABAP program like SAPMSSY1 etc. without entering into SAP by T-code.
    as i can not login right now. i want to do certain changes in these programs.
    Abhishek

  • "Because a USB device was drawing too much power from your computer..." error withOUT any USB device

    Hi,
    I am getting this error since recently when I am using my MBP:
    "Because a USB device was drawing too much power from your computer..."
    The 'funny' thing: there is no USB device attached to the computer (only power and monitor cables).
    Why is this happening and what could I do about it?
    Appreciate your ideas?

    It's probably an internal hardware fault, but you can try this:
    Intel-based Macs: Resetting the System Management Controller (SMC)

  • Update Error Without any Reason.

    I have a Code which is i think is fine, Irun it give Syntax
    error in Update Statement:
    The code I am Trying to do is:
    <CFIF NOT isDefined ("URL.clientUserLookupID")>
    <CFLOCATION url="list.cfm" addtoken=no>
    </CFIF>
    <CFQUERY name=clientUserInfo
    datasource="#Application.data#">
    SELECT tblclientUserLookup.clientUserLookupID,
    tblclientUserLookup.ClientID, tblUsers.username, tblUsers.password,
    tblUsers.UserEmail, tblUsers.UserID
    FROM tblclientUserLookup, tblUsers
    WHERE tblclientUserLookup.clientUserLookupID =
    #URL.clientUserLookupID#
    AND tblUsers.UserID = tblclientUserLookup.UserID
    </CFQUERY>
    <CFQUERY name=AttachedSearchesInfo
    datasource="#Application.data#">
    SELECT tblSearches.SearchID
    FROM tblclientUserSearchLookup, tblSearches
    WHERE tblclientUserSearchLookup.clientUserLookupID =
    #URL.clientUserLookupID#
    AND tblclientUserSearchLookup.SearchID =
    tblSearches.SearchID
    </CFQUERY>
    <CFSET AttachedSearchList = "">
    <CFLOOP query=AttachedSearchesInfo>
    <CFSET AttachedSearchList =
    ListAppend("#AttachedSearchList#", "#SearchID#")>
    </CFLOOP>
    <CFQUERY name=ClientInfo
    datasource="#Application.data#">
    SELECT Name
    FROM tblClients
    WHERE ClientID = #clientUserInfo.ClientID#
    </CFQUERY>
    <CFQUERY name=SearchInfo
    datasource="#Application.data#">
    SELECT *
    FROM tblSearches
    WHERE ClientID = #clientUserInfo.ClientID#
    </CFQUERY>
    <CFINCLUDE template="../../header.cfm">
    <CFOUTPUT>
    <p><b>client EXTRANET ACCOUNT : Modify
    '#ClientInfo.Name#' ACCOUNT</b></p>
    </CFOUTPUT>
    <CFFORM action="data/update.cfm" method=post>
    <CFOUTPUT query=clientUserInfo>
    <table>
    <tr>
    <td align=right class=AdminField>
    Username
    </td>
    <td>
    <CFINPUT type=text name="username" value="#username#"
    required=yes message="You must enter a Username.">
    </td>
    </tr>
    <tr>
    <td align=right class=AdminField>
    Password
    </td>
    <td>
    <CFINPUT type=text name="password" value="#password#"
    required=yes message="You must enter a Password.">
    </td>
    </tr>
    <tr>
    <td align=right class=AdminField>
    Account Email Address
    </td>
    <td>
    <CFINPUT type=text value="#useremail#" name="email">
    </td>
    </tr>
    <tr>
    <td align=right class=AdminField valign=top>
    Linked Searches
    </td>
    <td>
    <CFSET SizeVar = 10>
    <CFSELECT name=SearchesToAttach multiple=yes
    size="#sizeVar#">
    <CFLOOP query=SearchInfo>
    <CFIF ListFind("#AttachedSearchList#", "#SearchID#")>
    <OPTION value=#SearchID#
    selected>#Title#</OPTION>
    <CFELSE>
    <OPTION value=#SearchID#>#Title#</OPTION>
    </CFIF>
    </CFLOOP>
    </CFSELECT><br>
    hold down ctrl for multiple
    </td>
    </tr>
    <tr>
    <td> </td>
    </tr>
    <tr>
    <td>
    <INPUT type="hidden" name="clientUserLookupID"
    value="#clientUserLookupID#">
    <INPUT type="hidden" name="UserID" value="#UserID#">
    <INPUT type="submit" value="Update Account">
    </td>
    </tr>
    </table>
    </CFOUTPUT>
    </CFFORM>
    <CFINCLUDE template="../../footer.cfm">
    The above is the file where we have a form and when i click
    the update submit button:
    The code of that page is below:
    <CFIF NOT IsDefined("Form.UserID") OR NOT
    IsDefined("Form.ClientUserLookupID")>
    <CFLOCATION url="../list.cfm" addtoken=no>
    </CFIF>
    <CFQUERY name="exists" datasource="#Application.data#">
    SELECT *
    FROM tblUsers
    WHERE username = '#Form.username#'
    AND UserID <> #Form.UserID#
    </CFQUERY>
    <CFIF exists.recordcount GT 0>
    <CFINCLUDE template="../cannotadd.cfm">
    <CFABORT>
    </CFIF>
    <!---<cfdump var="#form#"><cfabort>--->
    <CFTRANSACTION>
    <cfquery datasource="RainesDataBase">
    UPDATE tblUsers
    SET Username=<cfif IsDefined("FORM.username") AND
    #FORM.username# NEQ "">
    <cfqueryparam value="#FORM.username#"
    cfsqltype="cf_sql_clob" maxlength="50">
    <cfelse>
    </cfif>
    , Password=<cfif IsDefined("FORM.password") AND
    #FORM.password# NEQ "">
    <cfqueryparam value="#FORM.password#"
    cfsqltype="cf_sql_clob" maxlength="50">
    <cfelse>
    </cfif>
    , UserEmail=<cfif IsDefined("FORM.email") AND #FORM.email#
    NEQ "">
    <cfqueryparam value="#FORM.email#" cfsqltype="cf_sql_clob"
    maxlength="50">
    <cfelse>
    </cfif>
    WHERE UserID=<cfqueryparam value="#FORM.UserID#"
    cfsqltype="cf_sql_numeric">
    </cfquery>
    <!---
    <CFQUERY name=updateUser
    datasource="#Application.data#">
    UPDATE tblUsers
    SET Username = '#Form.Username#',
    Password = '#Form.Password#',
    UserEmail = '#Form.email#'
    WHERE UserID = #Form.UserID#
    </CFQUERY>
    --->
    <CFQUERY name="deleteClientUserSearchLookups"
    datasource="#Application.data#">
    DELETE
    FROM tblClientUserSearchLookup
    WHERE ClientUserLookupID = #Form.ClientUserLookupID#
    </CFQUERY>
    <CFIF isDefined("Form.searchesToAttach")>
    <CFLOOP list="#Form.searchesToAttach#" index=index>
    <CFQUERY name=insertClientUserSearchLookup
    datasource="#Application.data#">
    INSERT INTO tblClientUserSearchLookup (ClientUserLookupID,
    SearchID)
    VALUES (#Form.ClientUserLookupID#, #index#)
    </CFQUERY>
    </CFLOOP>
    </CFIF>
    </CFTRANSACTION>
    <CFLOCATION url="../list.cfm" addtoken=no>
    But this is not working as it is showing this below error as:
    he web site you are accessing has experienced an unexpected
    error.
    Please contact the website administrator.
    The following information is meant for the website developer
    for debugging purposes.
    Error Occurred While Processing Request
    Error Executing Database Query.
    Syntax error in UPDATE statement.
    The error occurred in
    C:\Inetpub\wwwroot\ConsultantTrack_OldFTP\Admin\users\clients\data\update.cfm:
    line 19
    17 : <!---<cfdump
    var="#form#"><cfabort>--->
    18 : <CFTRANSACTION>
    19 : <cfupdate datasource="#Application.data#"
    tablename="tblUsers"
    formfields="username,password,UserEmail,userid">
    20 : <!---<cfquery datasource="RainesDataBase">
    21 : UPDATE tblUsers
    SQLSTATE  
    SQL update tblUsers set username= (param 1) ,password= (param
    2) ,UserEmail= (param 3) where UserID= (param 4)
    VENDORERRORCODE 3092
    DATASOURCE RainesDataBase
    Resources:

    Could be the datatypes in your cfqueryparam tags. As a
    minimum, use integer for the userid one.
    Or it could be a reserved problem with "password"

  • I have an Ipad 4 and its been working fine up until the last week, and now it is very unreliable connecting to the internet and loading pages. It connects to the Wifi network without any problems, all my other devices have no problems at all. Any help?

    I have reset netwrok settings, ip addresses are all fine, restarted my router, but I may be missing something. Anyone else having similar problems?

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Generate DP BOM check box without any description - /SAPAPO/CURTO_GEN_DP

    I am using APO 5.1.  In transaction /SAPAPO/CURTO_GEN_DP, there is a checkbox that is blank right below the "Expl. Quantity" field.  I am trying to determine the purpose of that check box.  Just recently since support stack 12, I am finding that if it is not checked some of the input components will be missing.  When checked all the input components are created correctly from the SNP PDS.
    Thanks for any insight,
    Brian Houston

    Hi Brian,
    Stanimir  is right. The label should have the text "Do not consider Transportation lanes to other locations". You can check note 1448356 which describes the problem and provides you with a manual solution.
    Hope it helps!
    Cheers!
    Stefan

  • SAP - VB CONNECT ERROR

    Hi Experts
        I am using the following code for SAP-VB Connect,  but returns the syntax error in the below line, whats the error actually, and how to correct this, pls help me on this.
       If sapConnection.logon(0, False) True Then
       The code collected from the one of the forum.
    Regards
    Rajaram
    Private Sub Command1_Click()
    Dim functionCtrl As Object 'Function Control (Collective object)
    Dim sapConnection As Object 'Connection object
    Dim theFunc As Object 'Function object
    'Create a function object
    Set functionCtrl = CreateObject("SAP.Functions")
    'Connect to R/3
    Set sapConnection = functionCtrl.Connection
    sapConnection.Client = "391"
    sapConnection.user = "sap01" 'You user id
    sapConnection.Language = "EN"
    sapConnection.password = "victory' You password"
    If sapConnection.logon(0, False) True Then
    MsgBox "No connection to R/3!"
    Exit Sub 'End program
    End If
    Sheet1.Cells.Clear
    Sheet1.Cells.Font.Name = "Times New Roman"
    Sheet1.Cells.Font.Size = 11
    '*********************** BAPI_WAGETYPE_EMPLOYEEGETLIST *********************
    Dim returnFunc As Boolean
    Dim returnParam As Object
    Dim pernr As Long
    Dim row, col As Integer
    Dim retTab As Object
    pernr = InputBox("Enter Employee Personnel Number")
    Set theFunc = functionCtrl.Add("BAPI_WAGETYPE_EMPLOYEEGETLIST")
    theFunc.exports("EMPLOYEENUMBER") = pernr
    theFunc.exports("LANGUAGE") = "EN"
    returnFunc = theFunc.call
    'Cells(2, 1) = "Function Return Value"
    'Cells(2, 2) = returnFunc
    Set returnParam = theFunc.imports("RETURN")
    Cells(1, 1) = "Personnel Number"
    Cells(1, 2) = pernr
    Cells(1, 2).Font.Bold = True
    'Cells(3, 1) = "Message Ret Type"
    'Cells(3, 2) = returnParam("TYPE")
    Range(Cells(1, 1), Cells(3, 1)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(1, 2), Cells(3, 2)).BorderAround , xlThick, xlColorIndexAutomatic
    Cells(4, 1).BorderAround , xlThick, xlColorIndexAutomatic
    Cells(4, 2).BorderAround , xlThick, xlColorIndexAutomatic
    Cells(4, 3).BorderAround , xlThick, xlColorIndexAutomatic
    Cells(4, 4).BorderAround , xlThick, xlColorIndexAutomatic
    Cells(4, 5).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(1, 1), Cells(3, 1)).Font.Bold = True
    Set retTab = theFunc.tables("WAGETYPES")
    rw = 5
    cl = 2
    Cells(4, 1) = "WAGE LIST"
    Cells(4, 1).Font.Bold = True
    Cells(4, 2) = "Wage Type"
    Cells(4, 3) = "Wage Text"
    Cells(4, 4) = "Start Date"
    Cells(4, 5) = "End Date"
    For Each retTab In retTab.Rows
    cl = 2
    Cells(rw, cl) = retTab("WAGETYPE")
    Cells(rw, cl + 1) = retTab("WAGELTEXT")
    Cells(rw, cl + 2) = retTab("VALBEGIN")
    Cells(rw, cl + 3) = retTab("VALBEGIN")
    rw = rw + 1
    Next
    Range(Cells(5, 2), Cells(rw - 1, cl + 3)).BorderAround , xlThick, xlColorIndexAutomatic
    '******************** BAPI_PERSDATA_GETDETAILEDLIST *********************
    Set theFunc = Nothing
    Set returnParam = Nothing
    Set theFunc = functionCtrl.Add("BAPI_PERSDATA_GETDETAILEDLIST")
    theFunc.exports("EMPLOYEENUMBER") = pernr
    returnFunc = theFunc.call
    Set returnParam = theFunc.imports("RETURN")
    Dim dettab As Object
    Set dettab = theFunc.tables("PERSONALDATA")
    Cells(10, 1) = "EMPLOYEE DETAILS"
    Cells(10, 2) = "First Name"
    Cells(11, 2) = "Last Name"
    Cells(12, 2) = "Gender"
    Cells(13, 2) = "Date of Birth"
    Cells(14, 2) = "Country of Birth"
    Cells(15, 2) = "Marital Status"
    Cells(16, 2) = "Nationality"
    Cells(17, 2) = "SSN No."
    Cells(10, 1).Font.Bold = True
    Cells(10, 1).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(10, 2), Cells(17, 2)).Font.Bold = True
    Range(Cells(10, 2), Cells(17, 2)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(10, 3), Cells(17, 3)).BorderAround , xlThick, xlColorIndexAutomatic
    For Each dettab In dettab.Rows
    Cells(10, 3) = dettab("FIRSTNAME")
    Cells(11, 3) = dettab("LASTNAME")
    If dettab("GENDER") = 1 Then
    Cells(12, 3) = "Male"
    ElseIf dettab("GENDER") = 2 Then
    Cells(12, 3) = "Female"
    Else
    Cells(12, 3) = "Others"
    End If
    Cells(13, 3) = dettab("DATEOFBIRTH")
    Cells(14, 3) = dettab("COUNTRYOFBIRTH")
    Cells(15, 3) = dettab("MARITALSTATUS")
    Cells(16, 3) = dettab("NATIONALITY")
    Cells(17, 3) = dettab("IDNUMBER")
    Next
    '****************** BAPI_GET_PAYROLL_RESULT_LIST ***************
    Set theFunc = Nothing
    Set returnParam = Nothing
    Set theFunc = functionCtrl.Add("BAPI_GET_PAYROLL_RESULT_LIST")
    theFunc.exports("EMPLOYEENUMBER") = pernr
    returnFunc = theFunc.call
    Set returnParam = theFunc.imports("RETURN")
    Cells(19, 1) = "Directory of payroll results"
    Cells(19, 1).Font.Bold = True
    Cells(19, 1).BorderAround , xlThick, xlColorIndexAutomatic
    Cells(20, 1) = "SEQNR "
    Cells(20, 2) = "FPPERIOD"
    Cells(20, 3) = "FPBEGIN"
    Cells(20, 4) = "FPEND"
    Cells(20, 5) = "BONUSDATE"
    Cells(20, 6) = "PAYDATE"
    Cells(20, 7) = "PAYTYPE_TEXT"
    Range(Cells(20, 1), Cells(20, 7)).Font.Bold = True
    Range(Cells(20, 1), Cells(20, 7)).BorderAround , xlThick, xlColorIndexAutomatic
    Set retTab = theFunc.tables("RESULTS")
    rw = 21
    For Each retTab In retTab.Rows
    cl = 1
    Cells(rw, cl) = retTab("SEQUENCENUMBER")
    Cells(rw, cl + 1) = retTab("FPPERIOD")
    Cells(rw, cl + 2) = retTab("FPBEGIN")
    Cells(rw, cl + 3) = retTab("FPEND")
    Cells(rw, cl + 4) = retTab("BONUSDATE")
    Cells(rw, cl + 5) = retTab("PAYDATE")
    Cells(rw, cl + 6) = retTab("PAYTYPE_TEXT")
    rw = rw + 1
    Next
    Range(Cells(20, 1), Cells(rw - 1, 1)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(20, 1), Cells(rw - 1, 2)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(20, 1), Cells(rw - 1, 3)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(20, 1), Cells(rw - 1, 4)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(20, 1), Cells(rw - 1, 5)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(20, 1), Cells(rw - 1, 6)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(20, 1), Cells(rw - 1, 7)).BorderAround , xlThick, xlColorIndexAutomatic
    Range(Cells(20, 1), Cells(rw - 1, 7)).HorizontalAlignment = 3
    '***************** LOGOFF ****************************************
    functionCtrl.Connection.logoff
    Set sapConnection = Nothing
    Set functionCtrl = Nothing
    End Sub

    It will be helpfull, if you can send any screen shot of error page.
    Thanks ,
    Chetan

  • Crystal Reports 2011 cannot connect to Salesforce - Unexpected Error

    I am unable to connect to salesforce from Cystal Reports 2011. I get a dialogue saying
    Failed to Open the connection
    Details:Unexpected Error
    -I have increased the JVMMaxHeap in CRCONFIG.XML to 512000000
    -I have appended the security token to the password
    -I am not going through a proxy server
    I am able to login successfully to the salesforce account using Crystal Reports 2008.
    In order to narrow the issue down and exclude any issues related to custom objects on our corporate acount I created a clean , out of the box dev account on salesforce. Again I can connect to it with 2008 but not 2011 on whcih I get the same error
    I can verify that a login succesfully occured in salesforce, the login in history shows the connections are being made.
    In order to reproduce simply create a salesforce dev account, install CR 2011 SP02 and attempt to create a database connection to the salesforce account
    Crystal Reports Log is as follows
    011-9-30-15-14-27     10176     .\xml.cpp     112     Leaving DllMain()      20
    2011-9-30-15-14-27     10176     .\jdbc.cpp     172     Leaving DllMain()      20
    2011-9-30-15-14-27     10176     .\crdb_sforce.cpp     127     Leaving DllMain()      20
    2011-9-30-15-14-27     10176     .\javabeans.cpp     113     In DllMain()      20
    2011-9-30-15-14-27     10176     .\javabeans.cpp     136     Leaving DllMain()      20
    2011-9-30-15-14-27     10176     .\xml.cpp     112     Leaving DllMain()      20
    2011-9-30-15-14-27     10176     .\jdbc.cpp     172     Leaving DllMain()      20
    2011-9-30-15-14-27     10176     .\crdb_sforce.cpp     127     Leaving DllMain()      20
    2011-9-30-15-14-27     10176     .\javabeans.cpp     113     In DllMain()      20
    2011-9-30-15-14-27     10176     .\javabeans.cpp     136     Leaving DllMain()      20
    2011-9-30-15-14-32     10176     .\crdb_sforce.cpp     464     The ErrorArray exception thrown from the function DbLogonServer()     1
    2011-9-30-15-14-32     10176     .\crdb_sforce.cpp     661     In DbFreeLogonInfo()     20
    2011-9-30-15-14-32     10176     .\crdb_sforce.cpp     667     Leaving DbFreeLogonInfo()     20
    2011-9-30-15-14-32     10176     .\crdb_sforce.cpp     2567     In DbFreeErrorInfo()     20
    2011-9-30-15-14-32     10176     .\crdb_sforce.cpp     2570     Leaving DbFreeErrorInfo()     20
    2011-9-30-15-14-32     10176     ..\cserrinf.cpp     523     Error 31837 (..\..\src\data\queryenghelp.cpp, 554): Failed to open the connection.: Unexpected error     1
    2011-9-30-15-14-51     10176     .\javabeans.cpp     113     In DllMain()      20
    2011-9-30-15-14-51     10176     .\javabeans.cpp     136     Leaving DllMain()      20
    2011-9-30-15-14-51     10176     .\crdb_sforce.cpp     127     Leaving DllMain()      20
    Any other ideas on what I can try here?

    Hi Vitaly
    I did some further playing based on the information you provided; that it should not differ between 2008 and 2011. I currently have both Crystal 2008 SP3 and 2011 SP2 installed so I went through and looked at the CRConfig files for both applications and could not see any major differences other then where they configure as the JVM and classpath.
    I have managed to get Crystal 2011 to connect to salesforce after making one small edit to the 2011 CRConfig, changing the classpath to use the 2008 version of CRDBSForceServer.jar
    I removed the entry within classpath for the CR2011 CRDBSForceServer.jar
    F:\Program Files (x86)\SAP BusinessObjects 4
    SAP BusinessObjects Enterprise XI 4.0\java/lib/CRDBSForceServer.jar;
    and replaced it to point at the 2008 version
    F:\Program Files (x86)\Business Objects\Common\4.0\java/lib/CRDBSForceServer.jar;
    When I do this I am able to establish a connection to the salesforce DB without any other changes in the CRConfig. This does not solve my problem as I am still unable to run a deployed version of the report as I assume the latest 2011 version of the JAR is also part of the BO4 server and is getting the same connection problem on the server side but this may narrow it down enough for you to be able to provide further clarification on what the issue is.
    thanks,
    Brendan

  • My new IPad 3 cannot connect to WIFI even it has a full bar of the reception. In the same location, my PC and my smart phone get a full bar connection without any issues.  How can I do to fix the issues (can I switch to IPad 2)?

    My new Ipad 3 cannot connect to WIFI even it has a full bar of reception. In the same location, my Windows 7 PC and Andorid Smart phone can connect to the same WIFI without any issues.  How can I fix it?  Without WIFI, the WIFI only IPAD is nearly useless. If it cannot be fixed, can I get a replacement for IPad 2?

    Take it to an Apple Store for evaluation. If defective, you'll get a replacement.
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
     Cheers, Tom

  • Using JTA enabled connection in a JSP/servlet without transaction

    Can we use a JTA enabled connection in a JSP/servlet without any transaction?
    Thanks

    This might be helpful.
    http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/transactions/transactions6.html

Maybe you are looking for

  • Satellite L500-19X - Can't use the recovery disk

    Well I got this laptop two days ago and used it once after installing fire fox and my mobile broadband drvier's and going back home to boot up and find it was going to happen, I had tried safe mode (all three) and repair and all I got was a black scr

  • Using Active MQ with ES2 Turnkey

    I'm trying to send a JMS message from an ES2 workflow, and have hit a problem I just can't solve.  I've embedded an ActiveMQ broker in JBoss, and exposed it through the JNDI context (I followed the instructions here: http://activemq.apache.org/integr

  • DB Link Hanging in Oracle 10.2.0.3

    Hi, DB link hanging when we are trying to connect remote system in 10.2.0.3 Linux 64 bit. Linux 64 bit ----> Remote Linux 64 bit is not working Linux 64 bit ----> Remote Windows 64 bit is not working Remote Linux 64 bit ----> Linux 64 bit is not work

  • Data Views: Switching from IQ to Crystal: How to?

    Hi everyone, My company is looking to make the switch from IQ Report Writer 5 to Crystal Reports XI or 2008. We have a couple questions though on how to make this switch easier. I may need to talk to Business Objects support instead, but I thought I'

  • HTTP to Idoc-Synchronous

    Hi, Can any one tell me how to proceed with a HTTP request which is sent to ECC system in form of Idoc and I want the response back from The Idoc Format. i.e.Request- HTTP-SAP XI------IDOC i.e.Response---IDOC -SAP XI----HTTP Any Help Is Highly apprec