Sec Vulnerability? mdworker- Component boundaries mismatch- bufferoverflow?

Hi All,
Maybe I'm overreacting, but if this console log is not suspicious I'm not sure what is:
8/5/08 1:44:09 PM mdworker[23849] Component boundaries mismatch (VCALENDAR VEVENT)
8/5/08 1:44:09 PM mdworker[23849] Cal not a CoreCalendar
<<< [M] <CoreEvent: 0x8048e90> privid:local_0C31893B-83B3-4819-A58D-FC3C66788CD3/-
Properties:{
CATEGORIES = [N]: {(
[N](5007,Seminar/Conference)
CREATED = [N]: {(
[N](5016,2008/08/05 05:44:09 (0) - DateTime |TZ GMT (GMT) offset 0)
DESCRIPTION = [N]: {(
[N](5007,This 30-45 minute tour of Newman Library covers major service points and collection locations. Meet in the lobby near the Reference Desk.
Price: free
Sponsor: Libraries' Instruction Group
Contact: Robert Sebek
Phone: 231-1849
E-Mail:: [email protected]
for more info visit the web at:
http://www.lib.vt.edu/research/libinst/toursked.html
DTEND = [N]: {(
[N](5016,2006/01/20 04:59:00 (0) - DateTime |TZ (null))
DTSTAMP = [N]: {(
[N](5016,2006/01/19 17:30:00 (0) - DateTime |TZ (null))
DTSTART = [N]: {(
[N](5016,2006/01/19 17:30:00 (0) - DateTime |TZ (null))
LOCATION = [N]: {(
[N](5007,Newman Library)
SUMMARY = [N]: {(
[N](5007,Newman Library tour)
UID = [N]: {(
[N](5007,[email protected])
.. continues like this for 15 pages or so ...
.. last part of log is:
[N](5007,Need we say more
Price: free
Sponsor: Administration
Homepage: http://www.xa.org.vt.edu
for more info visit the web at:
http://www.vtxa.com/events.php
DTEND = [N]: {(
[N](5016,2006/02/25 04:59:00 (0) - DateTime |TZ (null))
DTSTAMP = [N]: {(
[N](5016,2006/02/24 23:30:00 (0) - DateTime |TZ (null))
DTSTART = [N]: {(
[N](5016,2006/02/24 23:30:00 (0) - DateTime |TZ (null))
LOCATION = [N]: {(
[N](5007,Chi Alpha House)
SUMMARY = [N]: {(
[N](5007,Free Food Friday)
UID = [N]: {(
[N](5007,[email protected])
Repository:(null)
local_23E57101-E9E8-4F47-B9DE-99D1C2CD975A/-
The mdworker / CoreCalendar messages keeps on going. If should post entire thing, please let me know but it's huge.
When I have Spotlight disabled I don't notice this happening (via enable Privacy in Spotlight for my entire account). So seems like there is some strange file that triggers this in Spotlight.
So, Spotlight gets file that's mangled and that triggers this entire mess? This some kind of new Mac security vulnerability?
I ran ClamXav and VirusScan hoping it would detect the file, but after a clean scan still nothing.
Then looked at the Open Files of the mdworker task via Activity Monitor to see if would provide a clue of what tripped it up:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata .framework/Versions/A/Support/mdworker
/System/Library/ColorSync/Profiles/sRGB Profile.icc
/System/Library/Spotlight/Bookmarks.mdimporter/Contents/MacOS/Bookmarks
/System/Library/Spotlight/PDF.mdimporter/Contents/MacOS/PDF
/System/Library/Spotlight/Archives.mdimporter/Contents/MacOS/Archives
/private/var/folders/zz/zzzivhrRnAmviuee+++ME++42/-Caches-/System/annex_aux
/System/Library/Spotlight/RichText.mdimporter/Contents/MacOS/RichText
/System/Library/Spotlight/Image.mdimporter/Contents/MacOS/Image
/Developer/Applications/Xcode.app/Contents/Library/Spotlight/SourceCode.mdimport er/Contents/MacOS/SourceCode
/private/var/folders/e8/e8LpkLq4E6mAocWaXyKVEk+TM/-Caches-/com.apple.IntlDataCache.le.sbdl
/System/Library/Caches/com.apple.IntlDataCache.le.tecx
/System/Library/Spotlight/iCal.mdimporter/Contents/MacOS/iCal
/System/Library/Spotlight/Font.mdimporter/Contents/MacOS/Font
/Library/Fonts/Arial Narrow.ttf
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Versions/A/Resources/libFontStreams.A.dylib
/System/Library/Spotlight/PS.mdimporter/Contents/MacOS/PS
/Developer/Library/PrivateFrameworks/JavaKit.framework/Versions/A/JavaKit
/System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
/System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
/System/Library/Spotlight/Application.mdimporter/Contents/MacOS/Application
/Developer/Applications/Xcode.app/Contents/Library/Spotlight/uuid.mdimporter/Con tents/MacOS/uuid
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/HIToolbox.rsrc
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/English.lproj/Localized.rsrc
/Developer/Library/PrivateFrameworks/DevToolsSupport.framework/Versions/A/DevToo lsSupport
/Developer/Library/PrivateFrameworks/DevToolsFoundation.framework/Versions/A/Dev ToolsFoundation
/Developer/Library/PrivateFrameworks/DevToolsCParsing.framework/Versions/A/DevTo olsCParsing
/usr/share/icu/icudt36l.dat
/System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
/System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicati on
/System/Library/Spotlight/Audio.mdimporter/Contents/MacOS/Audio
/Library/Spotlight/Keynote.mdimporter/Contents/MacOS/Keynote
/Library/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Versions/A/Resources/libCMaps.A.dylib
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Versions/A/DevToolsC ore
/System/Library/Fonts/Times.dfont
/System/Library/Fonts/Courier.dfont
/System/Library/Fonts/Helvetica.dfont
/Library/Fonts/Arial.ttf
/Library/Fonts/Verdana Bold.ttf
/Library/Fonts/Verdana.ttf
/Library/Fonts/Arial Bold.ttf
/Library/Fonts/Times New Roman.ttf
/Library/Fonts/Verdana Italic.ttf
/Library/Fonts/Tahoma.ttf
/System/Library/Spotlight/QuickTime.mdimporter/Contents/MacOS/QuickTime
/Library/Fonts/Microsoft Sans Serif.ttf
/Library/Fonts/Verdana Bold Italic.ttf
/System/Library/Fonts/Symbol.dfont
/Library/Fonts/Times New Roman Bold.ttf
/Library/Fonts/Optima.dfont
/System/Library/Fonts/HelveticaNeue.dfont
/Library/Fonts/GillSans.dfont
/System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/English.lpro j/Localized.rsrc
/System/Library/Fonts/ZapfDingbats.dfont
/System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/QuickTime.rs rc
/Library/Fonts/Tahoma Bold.ttf
/Library/Fonts/Arial Narrow Italic.ttf
/Library/Fonts/Arial Narrow Bold Italic.ttf
/Library/Fonts/Arial Narrow Bold.ttf
/System/Library/QuickTime/QuickTime3GPP.component/Contents/MacOS/QuickTime3GPP
/System/Library/Components/AudioCodecs.component/Contents/MacOS/AudioCodecs
/System/Library/QuickTime/QuickTimeMPEG.component/Contents/MacOS/QuickTimeMPEG
/Library/Fonts/Arial Bold Italic.ttf
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/A TS.framework/Versions/A/Resources/libFontValidation.dylib
/Library/Caches/com.apple.LaunchServices-023502.csstore
/Library/Fonts/Times New Roman Italic.ttf
/System/Library/QuickTime/QuickTimeH264.component/Contents/Resources/QuickTimeH2 64.scalar
/System/Library/QuickTime/QuickTimeStreaming.component/Contents/MacOS/QuickTimeS treaming
/usr/lib/dyld
/private/var/db/dyld/dyldshared_cachei386
/System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
/System/Library/CoreServices/Encodings/libKoreanConverter.dylib
/System/Library/CoreServices/Encodings/libSymbolConverter.dylib
/dev/null
/dev/null
count=0, state=0x2
/Library/Spotlight
/System/Library/Spotlight
/Users/ri/Desktop/.DS_Store
count=0, state=0x2
->0x84d4990
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/HIToolbox.rsrc
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/English.lproj/Localized.rsrc
/System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/QuickTime.rs rc
/System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/English.lpro j/Localized.rsrc
->0x711cd48
Then tried running Shark, although have no clue how to use that program in hopes would get lucky, but got DTrace Error, error on enabled probe ID 3 (ID 17602): syscall::open:entry): invalid user access in predicate at DIF offsest 52.
I've ran the program few times before, but didn't get that error. After rebooting machine after this incident I'm able to run Shark again, but for some reason can't right after this event happened.
Maybe it's nothing, but figure provide as many clues as I can in case it's of some help.
Already reinstalled machine a couple of times, but this keeps popping up once I have Spotlight enabled.
Seems ideal if could trigger Shark or some debug tool upon this event and capture the necessary info to isolate the offending file that trips up Spotlight. But that's not something I know how to do...at least not yet.
Maybe there is some tool that's made to scan for this sort of thing?
Any chance this is some buffer overflow thing on Spotlight?
Background info:
- All OS updates already done -
- Developer tools installed -
- MacPorts installed -
- Default Mac apps + skype + VirusScan
Any pointers would be very welcome.
Thanks...

Similar Messages

  • Fix for tiresome, "iCal can't read this calendar file. No events have..."

    I've read a hundred posts about this problem, but the typical answers--erase blank space at the top of the file, rename the file "ics", etc. don't work.
    When I attempt to open a calendar file from Delta.com and many other websites, I get this error:
    5/11/10 1:53:32 PM iCal[6522] Incorrect version for vCal file. Got '2.0'
    5/11/10 1:53:32 PM iCal[6522] Fatal vCalendar parser error !
    If I go in and change the version to 1.0, I get this error:
    5/11/10 1:55:09 PM iCal[6522] Date validation error: DTSTAMP = '20100511T165324Z '
    5/11/10 1:55:09 PM iCal[6522] Date validation error: DTSTART = '2010-06-01T14:10:00.000Z '
    5/11/10 1:55:09 PM iCal[6522] Date validation error: DTEND = '2010-06-01T22:13:00.000Z '
    5/11/10 1:55:09 PM iCal[6522] * WARNING Invalid component, discarding: Error Domain=com.apple.iCalendar Code=1000 UserInfo=0x1158d19f0 "DTSTART is required for VEVENT."...To add your full itinerary to your Outlook calendar, choose save to download the file to your computer and then import it from within Outlook. For more information, please see the Help section of Microsoft Outlook.=0D=0A
    5/11/10 1:55:09 PM iCal[6522] Date validation error: DTSTAMP = '20100511T165324Z '
    5/11/10 1:55:09 PM iCal[6522] Date validation error: DTSTART = '2010-06-05T11:00:00.000Z '
    5/11/10 1:55:09 PM iCal[6522] Date validation error: DTEND = '2010-06-05T19:50:00.000Z '
    5/11/10 1:55:09 PM iCal[6522] Unexpected EOF, returning last token as fallback
    5/11/10 1:55:09 PM iCal[6522] Component boundaries mismatch (VEVENT VEVENT
    END:VCALENDAR)
    Any ideas?
    Thanks!

    Hi,
    There are various reasons why iCal won't read that file.
    1. Spaces at the end of lines (eg after the last "END:VEVENT"). I'm not sure if this is incorrect, but iCal does not like it.
    2. The format of some of the dates/times is incorrect. (see http://www.apps.ietf.org/rfc/rfc2445.html#sec-4.3.12 and http://www.apps.ietf.org/rfc/rfc2445.html#sec-4.3.4 if you're interested).
    3. The UIDs for the two events are not unique. Perhaps this is something you edited? (see http://www.apps.ietf.org/rfc/rfc2445.html#sec-4.8.4.7 )
    This works in my iCal:
    BEGIN:VCALENDAR
    PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
    VERSION:2.0
    METHOD:PUBLISH
    BEGIN:VEVENT
    DTSTAMP:20100512T133215Z
    DTSTART:20100601T141000Z
    DTEND:20100601T221300Z
    DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Omitted
    LOCATION;ENCODING=QUOTED-PRINTABLE:Reagan National
    SUMMARY;ENCODING=QUOTED-PRINTABLE:Your Itinerary: SFO-DCA
    PRIORITY:1
    UID:TKTNO-DELTA-11111111
    SEQUENCE:0
    BEGIN:VALARM
    TRIGGER:-PT1440M
    ACTION:DISPLAY
    DESCRIPTION:Reminder
    END:VALARM
    STATUS:CONFIRMED
    END:VEVENT
    BEGIN:VEVENT
    DTSTAMP:20100512T133215Z
    DTSTART:20100605T110000Z
    DTEND:20100605T195000Z
    DESCRIPTION;ENCODING=QUOTED-PRINTABLE:OMITTED
    LOCATION;ENCODING=QUOTED-PRINTABLE:San Francisco Intl
    SUMMARY;ENCODING=QUOTED-PRINTABLE:Your Itinerary: DCA-SFO
    PRIORITY:1
    UID:TKTNO-DELTA-11111112
    SEQUENCE:1
    BEGIN:VALARM
    TRIGGER:-PT1440M
    ACTION:DISPLAY
    DESCRIPTION:Reminder
    END:VALARM
    STATUS:CONFIRMED
    END:VEVENT
    END:VCALENDAR
    Best wishes
    John M

  • HELP: errors importing calendars from 10.4 iCal into 10.6 iCal

    I'm migrating my computing environment from my ppc/10.4.11 machines to my new MBP13" running 10.6 . Until now most things went flawlessly, but there is a BIG problem with my calendars. I can't get all of them to import, and the worse thing is I don't even know where things go wrong.
    The system.log shows messages like:
    expecting "END", found 'X-WR-OCCTRIGGER' as token type 48
    Component boundaries mismatch (VEVENT VALARM / VCALENDAR VEVENT / VEVENT VALARM)
    Cal not a ICSCalendar <followed by a quote in the Notes section>
    Cal not a ICSCalendar *nil description*
    What to do??? I cannot allow myself to loose those calendars, but at the same time I have to find a workaround as the 10.4 version of iCal doesn't run on 10.6 ...
    All help greatly appreciated!
    Message was edited by: RJV Bertin

    I tried that (of course ). That's how I first found the errors I reported. BTW, the better way is to use the "backup" or "backup database" command from the File menu. That one includes all calendars, and their publishing settings.
    I hope I've managed to solve the problem, but only time will tell if/when I miss appointments... I still had a disk with a 10.5 install to boot my Powerbook off. iCal "10.5" also yelled at me when importing the backup made from iCal "10.4" but seems to have imported everything. A backup made from that iCal version opened without further issues in iCal "10.6".
    I presume Apple must not have considered that people might actually upgrade from 10.4 to 10.6 without running 10.5 first. I would have had, but I found my PowerPC machines really too sluggish under that version (and after all, 10.4 worked just fine )

  • What is "BAPI" where it is used in SD module.

    Dear Guru’s,
           Can you please explain with an example where “BAPI” is useful in SD Module?
    Regards,
    Bhanu

    Dear friend,
    SAP created the Business Framework to allow the technical integration and exchange of business data among SAP components and between SAP and non-SAP components. Important components of the Business Framework are the Business Application Programming Interfaces (BAPIs), which represent visible interfaces at the component boundaries and whose properties serve to integrate these components. 
    The integration can include both components within a local network and components that are connected with one another through the Internet.
    BAPIs allow integration at the business level, not the technical level. This provides for greater stability in the link, and independence from the underlying communication technology.
    You can get all the standard SAP BAPI functions with the transactions code 'BAPI'.
    You can use it for third party sales process.
    go to the link you will find the details
    http://www.sap-img.com/bapi.htm
    Reward points if it helps you.
    Sadanand.

  • Time Out ERROR CC Risk Analysis RFC

    Hi Friends,
    I am getting time out error when I am testing the CC risk analysis RFC. One thiing I monitor here is that when I am changing the parameters to 'YES' in tcode '/virsa/zrtcnfg',this RFC time out is occuring,when I am changing it back to 'NO' it is working fine.
    I beleive there is some system perfomance issue or any bottleneck is happenning.
    Please check error details of the Rfc below
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program GRCRTTOCC5X not registered
    Error Details     LOCATION: SAP-Gateway on host hostname / sapgw00
    Error Details     DETAIL: TP GRCRTTOCC5X not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 65055
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1960
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Thu Mar 11 09:21:35 2010
    Error Details     VERSION: 2
    and also some time I am getting below error
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: timeout during allocate of registered program
    Error Details     LOCATION: SAP-Gateway on host hostname / sapgw00
    Error Details     DETAIL: TP GRCRTTOCC5X init/busy for more than 60 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 65068
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1937
    Error Details     RETURN CODE: 677
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Thu Mar 11 09:29:56 2010
    Error Details     VERSION: 2
    Any suggestion please..
    Thanks & Regards,
    Satyabrat
    Edited by: Satyabrat Mohanty on Mar 11, 2010 11:54 AM
    Edited by: Satyabrat Mohanty on Mar 11, 2010 12:00 PM

    Hi,
    for further information  the latest log is
    2010-04-28 07:01:47,706 [SAPEngine_Application_Thread[impl:3]_18] ERROR  User :   not found to get full name
    2010-04-28 07:02:21,066 [SAPEngine_Application_Thread[impl:3]_11] ERROR
    java.lang.Throwable: java.lang.NullPointerException
         at com.virsa.re.workflow.client.WorkflowRequestClient.getRoleProcessContextDtos(WorkflowRequestClient.java:284)
         at com.virsa.re.workflow.client.WorkflowRequestClient.execSubmitRoleApprovalWF(WorkflowRequestClient.java:83)
         at com.virsa.re.workflow.actions.WorkflowRequestAction.submitApprovalRequest(WorkflowRequestAction.java:95)
         at com.virsa.re.workflow.actions.WorkflowRequestAction.execute(WorkflowRequestAction.java:54)
         at com.virsa.framework.NavigationEngine.execute(NavigationEngine.java:273)
         at com.virsa.framework.servlet.VFrameworkServlet.service(VFrameworkServlet.java:230)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
         at com.virsa.comp.history.filter.HistoryFilter.doFilter(HistoryFilter.java:43)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    FYI
    I have already checked all the webservices urls and password everything is fine.am I missing something.
    Regards,
    Satyabrat

  • RFC Sender Communication Channel is not Working Properly

    Hi All,
    I had a Small Problem.
    I had configured RFC Sender in Asyn mode as given in Weblog 5398
    The Scenario is working fine for 1 time, after the execution the Communication Channel should be made Active again to make it work for the next time.
    For every time to Execute the Scenario i had to Activate the RFC CC.
    It is some complicated one. So any one please suggest me what can be done to Resolve the issue.
    Thanks in Advance.
    Sriram

    Hi Bhavesh,
    when we test RFC connection it is Failing and giving this error
    Error Details     ERROR: timeout during allocate of registered program
    Error Details     LOCATION: SAP-Gateway on host p162845 / sapgw00
    Error Details     DETAIL: TP Flightdatasender init/busy for more than 60 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 31415
    If I Activate the RFC sender CC.It is working again.
    After 1 Execution.It is throwing this error.
    I even added Name as 'jco.server.max_startup_delay' and Value '1000' in advanced Mode of RFC sender CC.
    Please suggest me.
    Thanks in Advance.
    Sriram

  • Only LiveCycle Data Services 2.6 or higher is supported in this version of Flash Builder.

    Hi guys!
    I am using LiveCycle Data services 2.6 and Flash Builder 4.0..  and getting an error
    Only LiveCycle Data Services 2.6 or higher is supported in this version of Flash Builder.
    Any suggestion? why Flashbuilder is not detecting correct version?
    Thanks

    Hi Tom,
    Thank for reply.
    In my application I was using Flex 3.0 and LCDS 2.6.  I need to  generat PDF
    generate and save 100% at client side. so I used Flex Gumbo  to use
    filestream.save since flex 3.0 doesn't support filestream. Using Gumbo let
    me filestream but gave me an "direction" style declaration for charting
    component .. mismatch with previous version. To overcome that I used Flex 4
    flash builder. That gave got rid of direction but gave me LCDS 2.6 version
    error. I have copied my older workspace  to another location and using this
    workspace for Flex 4. I am using LCDS 2.6 though it give me same error. I
    have almost given up, really dont know what needed to be done. Thanks for
    your help.
    Vipul

  • Re: User exits, BAPI & BAdI

    Dear gurus,
    I have several questions, which may be quite general to some if you but I hope someone can assist to give me full detail information: -
    1. What is user exits? How it is used? How to configure in Customizing? Details appreciated on the customizing steps.
    2. What is the difference between BAPI and BAdI? How is it used? Customizing techniques and steps?
    Thanks.
    Full points will be awarded if helpful.
    Rgds.

    Hi,
    User exit - A user exit is a three character code that instructs the system to access a program during system processing.
    SXX: S is for standard exits that are delivered by SAP.   XX represents the 2-digit exit number.
    UXX: U is for user exits that are defined by the user.  XX represents the 2-digit exit number
    Customer exit - The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.     *-- Mani
    The following document is about exits in SAP :-
    The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. 
    SAP creates user exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.
    Types of Exits 
    There are several different types of user exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.
    Menu Exits
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    Screen Exits
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    Function Module Exits 
    Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits. 
    When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated. 
    Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs. 
    These calls have the following syntax: 
    CALL CUSTOMER-FUNCTION ‘001’.
    Field Exits
    Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field.  Example: The data element BBBNR identifies a company’s international location number. You might want to set up your R/3 System so that all international location numbers are larger than 100. 
    The field exit concept lets you create a special function module that contains this logic. 
    You assign the special function module to the data element BBBNR. You then assign the module to any programs and screens in which users can add new international location numbers. When you activate your field exit, the system automatically triggers your special routine whenever a user enters a company location number. 
    In 4.6c, you can use "RSMODPRF" program to create field exits.
    An example of a user exits :-
    MODULE user_exit_0001 INPUT 
        CASE okcode.
            WHEN 'BACK OR EXIT'.
                CASE sy-dynnr.
                        WHEN '100'.
                             SET SCREEN 0.
                             LEAVE SCREEN.
    2.HOW TO FIND BADIO OR USEREXIT CUT AND PATE THI SPROG RAM IN SE38 NAD CLICK ON F8 AND PROVIDE UINPUT WHICH TCODE U WANT
    orrun this report u get the corresponding badi associated with perticular transaction
    *& Report ZNEGI16 *
    REPORT ZNEGI16 .
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    or
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    •Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    Go to the Transaction, for which we want to find the BADI,
    Get the Program Name of Corresponding Transaction.
    (Click on System->Status. Double Click on Program Name)
    Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked.
    A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it.
    The changing parameter ‘INSTANCE’ will have the interface assigned to it.
    •Finding BADI Using SQL Trace (TCODE-ST05).
    /people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    •Finding BADI Using Repository Information System (TCODE- SE84).
    Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    BAPIS
    SAP created the Business Framework to allow the technical integration and exchange of business data among SAP components and between SAP and non-SAP components. Important components of the Business Framework are the Business Application Programming Interfaces (BAPIs), which represent visible interfaces at the component boundaries and whose properties serve to integrate these components. 
    The integration can include both components within a local network and components that are connected with one another through the Internet.
    BAPIs allow integration at the business level, not the technical level. This provides for greater stability in the link, and independence from the underlying communication technology.
    You can get all the standard SAP BAPI functions with the transactions code 'BAPI'.
    thanks mate,
    points if helpful,
    Phani.

  • SXPG_COMMAND_EXECUTE failed for BRTOOLS - Reason: program_start_error:

    Hi,
    Our Production server is in High Availability on Unix ( DB node active & CI Node active).
    When I am executing the initialize tape or triggering the backup from DB13 in our production we are getting the below error.
    SXPG_COMMAND_EXECUTE failed for BRTOOLS - Reason: program_start_error:
    Even in DB12 when I click on the detailed log of any backup log, it is giving the same error.
    In System log we got the below error.
    Error 1003 when executing external command brtools on
    (in=R,out=M,err=M,trc=0,trm=C. strtstat=,xpgid=0,convid=. msg:)
    Error 1003 when executing external command brtools on
    (in=R,out=M,err=M,trc=0,trm=C. strtstat=,xpgid=0,convid=. msg:)
    RFC SAPXPG_DBDEST_<HOSTNAME>  connection test giving the below error
    Logon Connection Error
    Error Details Error when opening an RFC connection
    Error Details ERROR: timeout during allocate
    Error Details LOCATION: SAP-Gateway on host ProdApp / sapgw00
    Error Details DETAIL: no connect of TP sapxpg from host PROD-DB-SRV
    after 20 sec
    Error Details COMPONENT: SAP-Gateway
    Error Details COUNTER: 869
    Error Details MODULE: gwr3cpic.c
    Error Details LINE: 2007
    Error Details RETURN CODE: 242
    Error Details SUBRC: 0
    Error Details RELEASE: 700
    Error Details TIME: Tue Mar 30 09:07:51 2010
    Error Details VERSION: 2
    I have created .rhosts and .rshosts files in both DB & CI nodes under path /home/trpadm as below
    CI Node
    ProdApp:trpadm 27> cat .rhosts
    PROD-DB-SRV
    PROD-APP-SRV
    ProdApp:trpadm 28> cat .rshosts
    PROD-DB-SRV trpadm
    PROD-APP-SRV trpadm
    trpadm
    DB Node
    ProdDB:trpadm 2> cat .rhosts
    PROD-DB-SRV
    PROD-APP-SRV
    ProdDB:trpadm 3> cat .rshosts
    PROD-DB-SRV trpadm
    PROD-APP-SRV trpadm
    trpadm
    But below command is giving error
    ProdApp:trpadm 24> rsh PROD-DB-SRV -l trpadm sapxpg
    rshd: 0826-813 Permission is denied.
    rsh is happening in both the nodes.
    In CI node when iam doing rsh to DB node it is connecting. Pleas find the below logs
    ProdApp:trpadm 17> rsh PROD-DB-SRV
    trpadm's Password:
    Welcome to AIX Version
    6.1! *
    Please see the README file in /usr/lpp/bos for information pertinent
    to *
    this release of the AIX Operating
    System. *
    Last login: Wed Mar 31 11:36:53 IST 2010 on /dev/pts/1 from
    Prod_App_boot_1
    ProdDB:trpadm 1>
    In DB node when iam doing rsh to CI node it is connecting. Pleas find the below logs
    ProdDB:trpadm 1> rsh PROD-APP-SRV
    trpadm's Password:
    Welcome to AIX Version
    6.1! *
    Please see the README file in /usr/lpp/bos for information pertinent
    to *
    this release of the AIX Operating
    System. *
    Last unsuccessful login: Tue Mar 23 16:05:26 IST 2010 on ftp
    from ::ffff:10.0.1.39
    Last login: Wed Mar 31 11:36:30 IST 2010 on /dev/pts/1 from
    Prod_DB_boot_1
    ProdApp:trpadm 1>
    the below entries are already maintained in /etc/services file on both the nodes.
    sapgw30 3330/tcp
    sapdp30 3230/tcp       
    Please look into this and suggest us.

    Hi,
    I have cross checked every thing, it is ok.
    Praveen,
    As per your suggest, i have changed the background server in DB13. It didnot help us.
    Problem is RFC are giving errors.
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host <host> / sapgw00
    Error Details     DETAIL: no connect of TP sapxpg from host <host> after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 4853
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 2007
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Mon Apr  5 09:18:49 2010
    Error Details     VERSION: 2
    When i am doing rsh from one node to another node it is asking for password, but it should not ask.
    and also the below error for sapxpg
    rsh <hostname> -l <sid>adm sapxpg
    rshd: 0826-813 Permission is denied.
    i have created .rhosts in both the nodes and maintained the values for hostname with <sid>adm user correctly.
    Please look into this and suggest.
    Regards,
    Raj

  • SXPG_COMMAND_EXECUTE error

    Hi All,
    Jobs in db13 are failing with below error.
    04.08.2010     05:00:46     Job started
    04.08.2010     05:00:47     Step 001 started (program RSDBAJOB, variant &0000000000059, user ID xxxxx)
    04.08.2010     05:00:47     Execute logical command BRCONNECT On host dbSID
    04.08.2010     05:00:47     Parameters: -u / -jid STATS20100609000000 -c -f stats -t ALL
    04.08.2010     05:01:27     External communication error at program start (see system log)
    04.08.2010     05:01:27     SAPXPG_START_XPG_LONG: sy-subrc ne 0
    04.08.2010     05:01:27     destination = SAPXPG_DBDEST_DBSID
    04.08.2010     05:01:28     SXPG_STEP_XPG_START: execute_sapxpg: rc = 1.003
    04.08.2010     05:01:28     SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003
    04.08.2010     05:01:28     SXPG_COMMAND_EXECUTE(LONG)
    04.08.2010     05:01:28     COMMANDNAME = BRCONNECT
    04.08.2010     05:01:28     OPERATINGSYSTEM = ANYOS
    04.08.2010     05:01:28     TARGETSYSTEM = dbSID
    04.08.2010     05:01:28     DESTINATION = SAPXPG_DBDEST_DBSID
    04.08.2010     05:01:28     SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS
    04.08.2010     05:01:28     Job cancelled after system exception ERROR_MESSAGE
    And SAPXPG_DBDEST_DBSID  rtc connection failed with timeout error.
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host ciSID.ncsbe.eu.jnj.com / sapgw52
    Error Details     DETAIL: no connect of TP sapxpg from host dbSID.ncsbe.eu.jnj.com after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 98
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 2030
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 701
    Error Details     TIME: Wed Aug  4 13:41:27 2010
    Error Details     VERSION: 2
    System log is showing " Error1005 when executing external command brtools on SAPXPG_DBDEST_DBSID (in=R,out=M,err=M,trc=0,trm=C. strtstat=,xpgid=0,convid=. msg :Error when openi)".
    When i check detail logs also it is throwing error " SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS ".
    DB and CI are on different hosts.
    SAP : SAP EHP 1 for SAP NetWeaver 7.0
    DB : Oracle 10.2.0.4.0
    OS : HP-UX
    Gateway is running, I see gateway profiles exist at OS level in /usr/sap/SID/SYS/profile.
    But gateway profiles haven't been created in RZ10.
    Is this causing the issue. Can you please help me out here.
    Thanks in advance.
    Edited by: SAP Basis on Aug 4, 2010 7:59 AM

    Error Details Error when opening an RFC connection
    Error Details ERROR: timeout during allocate
    Error Details LOCATION: SAP-Gateway on host ciSID.ncsbe.eu.jnj.com / sapgw52
    It's using RFC to connect so check SM59 -> TCP/IP Connections -> SAPXPG_DBDEST_<SID>
    Make sure the Technical Settings are correct and you can do a successful "Connection Test".
    Nelis

  • Sm59 SAPXPG_DBDEST_ sid failed

    Hi expert:
        I meet a problem that the DB13 database job can not excute successfully.Our central instance and DB installed on two seperate server.I have searched some subject about this,and found the rfc connection SAPXPG_DBDEST_<SID> is related ,but when I test the connection ,it show this error
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host chxsci / sapgw07
    Error Details     DETAIL: no connect of TP sapxpg from host prddbsvc after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 190375
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1973
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Tue Apr 28 17:26:45 2009
    Error Details     VERSION: 2
    Could anyone can give me some help?
    below is db job log
    2009.04.25     19:00:03     Job started
    2009.04.25     19:00:03     Step 001 started (program RSDBAJOB, variant &0000000000019, user ID YUANWEI)
    2009.04.25     19:00:03     No application server found on database host - rsh/gateway will be used
    2009.04.25     19:00:03     Execute logical command BRCONNECT On host prddbsvc
    2009.04.25     19:00:03     Parameters: -u / -jid STATS20090321190000 -c -f stats -t ALL
    2009.04.25     19:00:24     SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: x_error
    2009.04.25     19:00:24     Job cancelled after system exception ERROR_MESSAGE
    Edited by: wei yuan on Apr 28, 2009 11:39 AM
    If I connect to the DB server to use brtools to run the database job,it run well,but when I logon the CI server to use brtools,it failed like the message said
    Edited by: wei yuan on Apr 28, 2009 11:43 AM

    Hi Michael:
      you said"In the db file put in the CI host name sidadm ie wsaptst03 rq1adm in the ci rhost file put in the opposite ci host name then sidadm."
          You mean that's I have to add an entry to the file /home/<sid>adm/.rhosts as "CIhostname <sid>adm" on DB host?and do the same on CI?But I already tvied this,it couldn't resolve my issue.Below are the coversation in the message
    Dear support:
    Refer to Note 446172 ,34219 and 10403 ,I test the command on app
    server
    rsh prddbsvc -l dhpadm sapxpg
    rshd: 0826-813 Permission is denied.
    But I have modified the .rhosts file in the home directory of
    <sid>adm,and it includ the * <sid>adm entry.
    I can execute the rsh prddbsvc date,it can execute successfully.
    So Could you give me some help?
    Hi, Dear Customer
    Thanks for your additional information. I checked with this issue with
    our next level support again.
    We want to know have you checked the permissions on the sapxpg program?
    On the DB host, it must be executable for <sid>adm.
    Best Regards
    Cherry,Tian
    SAP Global Support
    Dear Cherry:
    below is the auth of sapxpg on our DB server
    pwd
    /usr/sap/DHP/SYS/exe/run
    ls -ltr sapxpg
    -rwxr-xr-x 1 dhpadm sapsys 6411808 Apr 28 16:59 sapxpg
    How can I test if the sapxpg can execute uuder <sid>adm?
    Best Regards
    Yuanwei
    So this is what I meet now.I havn't get response till now
    Could you pls give some more  prompt to me?

  • DB13 scheduled backups getting failed

    Hello Experts,
    Till sometime back our backups were working fine. But recently it started getting failed.
    I have checked the RFC connection SAPXPG_DBDEST_PRODORADB. RFC connection test is throwing the following error.
    Logon Connection Error
    Error Details Error when opening an RFC connection
    Error Details ERROR: timeout during allocate
    Error Details LOCATION: SAP-Gateway on host PRDAPP1 / sapgw00
    Error Details DETAIL: no connect of TP sapxpg from host PRODORADB
    after 20 sec
    Error Details COMPONENT: SAP-Gateway
    Error Details COUNTER: 217995
    Error Details MODULE: gwr3cpic.c
    Error Details LINE: 2030
    Error Details RETURN CODE: 242
    Error Details SUBRC: 0
    Error Details RELEASE: 700
    Error Details TIME: Thu Aug 4 12:34:49 2011
    Error Details VERSION: 2
    Please let me know how can I rectify the issue.
    Thanks & Regards,
    Shanahas.K

    Hi,
    You need to check whether service in port 123 is up.In the folder /etc/services you can see the entry
    For telnet aix use port number 123.Port number are mentioned in /etc/services file.check for available port in services file. and
    Check the user you telnet own the privilege of remote login or not
    Let me know
    Regards
    Thomas

  • Distribute System  - Error when run tcode DB13 - Job Log - Cancel

    i have two server and I installed SAP ERP 6.0 (Application ABAP) on two server base on Distribute System model
    Server A : I installed Global Host Preparation and Central Instance
    Server B : I installed Database Instance
    On server A, I exported /sapmnt, /usr/sap
    On server B, I mounted /samnt, /usr/sap from Server A
    Process Installation -> OK
    and finally , I logged in SAP through server A -> OK
    But when i run tcode DB13 to run Action Pad : Cleanup Logs, Check and Update Optimize Statistic ....etc -> Cancel
    -> with error in tab Job Log below
    20.01.2010     14:37:07     Job started
    20.01.2010     14:37:07     Step 001 started (program RSDBAJOB, variant &0000000000041, user ID BASIS)
    20.01.2010     14:37:07     No application server found on database host - rsh/gateway will be used
    20.01.2010     14:37:07     Execute logical command BRCONNECT On host sapree2
    20.01.2010     14:37:07     Parameters: -u / -jid CLNUP20100120143706 -c -f cleanup
    20.01.2010     14:37:29     SXPG_STEP_XPG_START: is_local_host: rc = 403
    20.01.2010     14:37:29     SXPG_STEP_XPG_START: host = sapree2
    20.01.2010     14:37:29     SXPG_STEP_XPG_START: is_local_r3_host: rc = 802
    20.01.2010     14:37:29     SXPG_STEP_XPG_START: RFC_TCPIP_CONNECTION_OPEN: rc = 1003
    20.01.2010     14:37:29     SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003
    20.01.2010     14:37:29     SXPG_COMMAND_EXECUTE(LONG)
    20.01.2010     14:37:29     <timestamp> = 20100120143729
    20.01.2010     14:37:29     COMMANDNAME = BRCONNECT
    20.01.2010     14:37:29     ADDITIONAL_PARAMETERS = -u / -jid CLNUP20100120143706 -c -f cleanup
    20.01.2010     14:37:29     LONG_PARAMS
    20.01.2010     14:37:29     OPERATINGSYSTEM = ANYOS
    20.01.2010     14:37:29     TARGETSYSTEM = sapree2
    20.01.2010     14:37:29     DESTINATION
    20.01.2010     14:37:29     SY-SUBRC = 1003
    20.01.2010     14:37:29     SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS
    20.01.2010     14:37:29     Job cancelled after system exception ERROR_MESSAGE
    and then , I checked tcode SM59 -> TCP/IP Connection -> SAPXPG_DBDEST_SAPREE2 -> Test Connection -> not OK with error
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host sapree1.reecorp.com / sapgw00
    Error Details     DETAIL: no connect of TP sapxpg from host sapree2.reecorp.com after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 22
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1973
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 701
    Error Details     TIME: Wed Jan 20 14:42:39 2010
    Error Details     VERSION: 2
    thanks for your advice

    Hi,
    For installation you can refer the standalone gateway installation guide available under http://service.sap.com/instguides
    For operating the standalone gateway you can use the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/9f13194b9b11d189750000e8322d00/content.htm
    Cheers.....,
    Raghu

  • ScreenPainter doesn't work

    Hi all! I have a problem. I can't launch ScreenPainter, only alphanumerical is available. Message:
    EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Message no. 37033
    SAPGUI v710_6 and Windows 2000 SP4 with IE6 SP1. Java 1.3.1. Does anybody have any ideas? Please HELP ME!)))

    Hello, Sergo!
    The note doesn't solve the problem. We checked the RFC EU_SCRP_WN32 and found this error:
    Error Details     timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' &#1058;&#1072;&#1081;&#1084;&#1072;&#1091;&#1090; &#1087;&#1088;&#1080; &#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1083;&#1077;&#1085;&#1080;&#1080; &#1089;&#1086;&#1077;&#1076;&#1080;
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host bla-bla-bla / bla-bla-bla
    Error Details     DETAIL: no connect of TP gnetx.exe from host %%SAPGUI%% after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 30983
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 5840
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Wed Apr 23 16:30:11 2008
    Error Details     VERSION: 2

  • Unable to open SAP Screen Painter on the current desktop.

    Hi,
    Whenever I try to open Screen painter through SAP GUI I am thrown with an error message "EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'". This error has been occurring since I have changed my workstation. When I use my SAP login ID on a different desktop, screen painter is working fine. This means that the problem is not with the SAP login or the SAP server, the problem lies with the GUI or current desktop setting. Please look into this issue and help resolving this issue. Please revert if any further information is required.
    I have already tried/checked the below steps:
    1. Reinstalled SAP GUI.
    2. gnetx.exe and eumfcdll.dll is already present in my system.
    3. I have checked the setting, Utilities->Settings->Screen Painter->Graphical Layout Editor (Checked)
    The issue is when is tested the RFC conection " EU_SCRP_WN32" it gives me the below error.
    Logon          Cancel
    Error Details     timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host mb5ap1039 / sapgw00
    Error Details     DETAIL: no connect of TP gnetx.exe from host %%SAPGUI%% after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 26638
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 6226
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Fri Jun 18 11:20:53 2010
    Error Details     VERSION: 2
    Can anybody help me with the above issue.
    Regards,
    Smithesh

    Hi Rich,
    I followed the correction instruction of the note 133903 but didn't work for me .
    I am using SAPGui 7.20.
    Details: (after replace the files)
    ABAP Development Workbench
    Release 7.20
    Graphical Screen Painter
    File Version 7200.0.1300.354
    Build 354w209
    05 May 2010 / 16 Jun 2010
    OS: Windows 7 Professional 32bit
    Some times appears the message box: No response  from Graphical Screen Painter - Exiting.
    On title bar of message box appears: gnetx.exe
    Can I do some thing else?
    Regards,
    Rodrigo
    Edited by: Rodrigo Bernardo on Jun 23, 2010 6:36 PM

Maybe you are looking for

  • How to loop with varying values depending on where you are in the loop

    Hi, I have need of loops / nested loops that pick different figures depending on where you are in the loop. The whole function needs to run through 'ml' times. 'ml' is a dynamic figure. Loop 1 = While the loop is within the first 12 iterations, 'exco

  • Advice needed on Rendering XSL:FO

    Hi, I'd like some advice on rendering xsl:fo files. I'm in the early stages of developing a component that can render xsl:fo content. xsl:fo is an xml format for laying out content on paper, a bit like TeX. Normally xsl:fo content is generated using

  • 5800 NOKIA TO PRE ORDER OR NOT! HELP ME DECIDE PLE...

    Hello, I am deciding whether or not to pre-order the 5800, because of the Valentine's day sale. I need reviews/opinions from those you already have a 5800. Do you love it? Is it worth it? THANK YOU SO MUCH!

  • Year Comparision Report

    Hi Experts, I have created Sales report with Calendar Date prompt (Default date is between 08/01/2010 and 08/15/2010) My requirement is, in Dashboard I need to place Sales Comparison Report below the Sales report but the Data should be Exact one year

  • Installing cs5/6 on Creative Cloud subscription

    Hi All Apologies if this seems like an obvious question: Can I access Premiere CS5 or 6 via my creative cloud subscription. I currently subscribe to Premiere cc on my mac pro but my laptop is a bit of a relic and its graphics card won't support newer