How to debug for inbound mail in SAPconnect - ERMS

Hi,
How to debug from the point of receipt of an inbound mail in SAPconnect so that we can see the data being passed to the ERMS Workflow WS00200001.
Regards,
Deepak

Hi Ashish,
Thanks for your prompt reply. Let me explain the scenario in little bit details. If you want I can post the screen shots at flickr etc. for better understanding.
In transaction SWI1: we are getting Error at Invoking Service Manager for Workflow WS00200001. The error is "ERMS support object: Could not find DOCUMENT - Message no. CRM_ERMS020.
In transaction CRM_ERMS_LOGGING: We are getting error "Exception in method constructor (CL_CRM_ERMS_XPATH_TAG): Service CL_CRM_ERMS_ADD2FB_DOCUMENT failed. Cannot read email".
On providing valid email document id or work item id in transaction CRM_ERMS_LOGGING the required action is executed and everything is ok.
We tried to debug in SCOT by DBG+ but on receipt of inbound mail debug session does not start.
Actually we want to understand, on receipt of email what data is passed to the workflow as method call CL_CRM_ERMS_CONVERTER->CONVERT_DOCUMENT does not return XSL content and the error message is raised. It is possible that the previous method call SERVICE_MANAGER->GET_EMAIL_ID() does not retrieve a value for doc_id, but we are not sure without being able to debug through from the SAP connect process.
Regards,
Deepak

Similar Messages

  • How to configure for zimbra mail, How to configure for zimbra mail, How to configure for zimbra mail

    How to configure the iphone for zimbra mail?
    have anyone used zimbra mail in iphone mail settings?
    I'm able to access zimbra through safari...
    But what is the configuration needed to be done to see in mail box?

    Contact Zimbra support and ask them.

  • Exit Class for Inbound Mail not getting triggered

    Hi Gurus,
    I have created an exit class for processing the Inbound Mail that comes to SAP Inbox (SOIN).
    I have set up the Inbound processing rule in transaction SO50 and set it to all recipients.
    If i send a mail from any external id to the id configured in SAP then it is coming in SAP Inbox (SOIN) but the exit class for processing the email is not getting triggered.
    I have made all the settings for SMTP.
    Kindly guide me with the steps needed to be followed for triggering the Exit Class.

    Hi
    Check u have maintained ur outgoing mail server IP in SCOT transation.
    Check link step to configure PO mail.
    http://architectsap.com/blog/sap/sap-mm-purchasing-send-purchase-order-by-mail-to-vendor-in-sap/

  • How to debug for Eixt Class CL_RSPLS_CR_EXIT_BASE

    Hello,
    I have created a input ready query and I have a requirement where we can use based on the characteristic of Organisation and Country to derive the Material group.
    For example:
    Country     Organsiation    Material group
    16            4518          =====> 164518
    I know I can use classes in SE24.
    I am assuming I should use CL_RSPLS_CR_EXIT_BASE for my requirement.
    I have defined a characterisitc relationship with Organisation and Country as source characteristic and  Material group as target and chose Characteristic Combinations Based On : Exit class and Exit Class: CL_RSPLS_CR_EXIT_BASE
    In IF_RSPLS_CR_METHODS~DERIVE  :
    FIELD-SYMBOLS: <l_chavl> TYPE ANY.
    data:  l_pur_org type /BI0/oid_pur_org,
            l_country type /bi0/oid_country.
    ASSIGN COMPONENT 'D_PUR_ORG' OF STRUCTURE c_s_chas
    TO <l_chavl>.
      l_pur_org = <l_chavl>.
    ASSIGN COMPONENT 'D_COUNTRY' OF STRUCTURE c_s_chas
    TO <l_chavl>.
      l_country = <l_chavl>.
    CLEAR <l_chavl>.
    CONCATENATE '10' l_pur_org l_country INTO <l_chavl>.
    ASSIGN COMPONENT 'D_MTLGROUP' OF STRUCTURE c_s_chas
    TO <l_chavl>.
    For the above function  I get Organisation and Country from input schedule and it should derive  Material group and save it into the cube.
    Is code wrong? It can not debug when i execute the query.
    ps. I have tried to create break-point, and external break-point. But it does not work.
    Thanks for your suggestion.
    Edited by: gang qin on Jan 11, 2010 9:12 PM

    Hi.
    First you should create your OWN class based on CL_RSPLS_CR_EXIT_BASE  via se24.
    Second redefine 3 methods: CHECK and CREATE without any code and DERIVE with your code.
    As I understand your material group should be: '10' (constant) + pur_org + country cancateneted.
    If Im right plz try the next code (plz note the code is not checked and debigged. If you will set breakpoint in method derive in your own class you can debug it).
    You can change this code in section with comments "**** Your derivation algorithm here"
    METHOD if_rspls_cr_methods~derive.
    infrastructure needed by the buffer:
      DATA: l_s_mesg   TYPE if_rspls_cr_types=>tn_s_mesg,
            l_is_valid TYPE rs_bool.
      FIELD-SYMBOLS: <l_th_buf> TYPE HASHED TABLE,
                     <l_s_buf>  TYPE ANY.
      CLEAR e_t_mesg.
    use the buffer?
    o_use_buffer is switched on by default in the constructor
      IF o_use_buffer = rs_c_true.
      yes:
        ASSIGN o_r_th_buf->* TO <l_th_buf>.
        ASSIGN o_r_s_buf->*  TO <l_s_buf>.
        <l_s_buf> = c_s_chas.
        READ TABLE <l_th_buf> INTO <l_s_buf> FROM <l_s_buf>.
        IF sy-subrc = 0.
          IF o_r_is_valid->* = rs_c_true.
            c_s_chas = <l_s_buf>.
            RETURN.
          ELSE.
            IF e_t_mesg IS SUPPLIED.
              APPEND o_r_s_mesg->* TO e_t_mesg.
            ENDIF.
            RAISE EXCEPTION TYPE cx_rspls_failed
              EXPORTING
                msgid = o_r_s_mesg->msgid
                msgty = o_r_s_mesg->msgty
                msgno = o_r_s_mesg->msgno
                msgv1 = o_r_s_mesg->msgv1
                msgv2 = o_r_s_mesg->msgv2
                msgv3 = o_r_s_mesg->msgv3
                msgv4 = o_r_s_mesg->msgv4.
          ENDIF.
        ENDIF.
      ENDIF.
    Your derivation algorithm here:
      FIELD-SYMBOLS: <zpur_org>   TYPE ANY.
      FIELD-SYMBOLS: <zcountry>   TYPE ANY.
      FIELD-SYMBOLS: <zmat_grp>   TYPE ANY.
      ASSIGN COMPONENT '/BI0/d_pur_org'   OF STRUCTURE <l_s_buf> TO <zpur_org>.
      ASSIGN COMPONENT '/BI0/d_country'   OF STRUCTURE <l_s_buf> TO <zcountry>.
      ASSIGN COMPONENT '/BI0/'D_MTLGROUP' OF STRUCTURE <l_s_buf> TO <zmat_grp>.
      CONCATENATE '10' <zpur_org> <zcountry> INTO <zmat_grp>.
      l_is_valid = 'X'.
    End of your derivation algorithm:
    update the buffer with the result:
    l_s_mesg should contain a message in the 'invalid' case
    l_is_valid should indicate whether derivation was possible
    <l_s_buf> should contain the derived fields
      IF o_use_buffer = rs_c_true.
        o_r_is_valid->* = l_is_valid.
        IF o_r_is_valid->* = rs_c_true.
          INSERT <l_s_buf> INTO TABLE <l_th_buf>.
          c_s_chas = <l_s_buf>.
        ELSE.
          IF e_t_mesg IS SUPPLIED.
            o_r_s_mesg->* = l_s_mesg.
            APPEND l_s_mesg TO e_t_mesg.
          ENDIF.
          INSERT <l_s_buf> INTO TABLE <l_th_buf>.
          RAISE EXCEPTION TYPE cx_rspls_failed
            EXPORTING
              msgid = l_s_mesg-msgid
              msgty = l_s_mesg-msgty
              msgno = l_s_mesg-msgno
              msgv1 = l_s_mesg-msgv1
              msgv2 = l_s_mesg-msgv2
              msgv3 = l_s_mesg-msgv3
              msgv4 = l_s_mesg-msgv4.
        ENDIF.
      ENDIF.
    ENDMETHOD.

  • How to debug for this top result

    Hi,
    The following is the result of top command got by running my multi-threaded program that uses mysql. Here %wa is much greater than %us. I ran jconsole but could not find any thread lock or any other irregularities. I use a blocking queue which is accessed by some 200 threads. I think that may cause this much. But i don't know the exact way of tracing the source of the problem. I hear profiling, etc. But don't know which part of my code causes this. how to find it.
    I use intel dual core with 1GB RAM. Default JVM size.
    top - 11:49:50 up 1:21, 5 users, load average: 12.74, 6.11, 2.89
    Tasks: 177 total, 2 running, 174 sleeping, 0 stopped, 1 zombie
    Cpu(s): 10.0%us, 17.0%sy, 8.4%ni, 7.1%id, 56.9%wa, 0.0%hi, 0.5%si, 0.0%st
    Mem: 1025372k total, 1011940k used, 13432k free, 4976k buffers
    Swap: 2096440k total, 55672k used, 2040768k free, 272444k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    5258 raja 20 0 277m 37m 10m S 41.0 3.8 4:09.34 java
    2568 nobody 20 0 28728 17m 3284 S 2.6 1.7 0:02.97 mysqld
    4008 mysql 20 0 137m 19m 4264 S 1.3 2.0 0:04.30 mysqld
    5935 root 39 19 5072 1420 1008 S 1.0 0.1 0:01.14 makewhatis
    2603 root 20 0 339m 59m 10m S 0.7 5.9 2:58.37 Xorg
    6 root RT -5 0 0 0 S 0.3 0.0 0:01.42 migration/1
    673 root 15 -5 0 0 0 D 0.3 0.0 0:00.79 kjournald
    1773 root 15 -5 0 0 0 R 0.3 0.0 0:07.55 kondemand/0
    1954 dbus 20 0 3080 1336 764 S 0.3 0.1 0:02.84 dbus-daemon
    2177 root 20 0 6780 1884 1572 S 0.3 0.2 0:01.53 NetworkManager
    3370 raja 20 0 130m 18m 12m S 0.3 1.8 0:13.69 gnome-terminal
    5257 raja 20 0 212m 19m 10m S 0.3 2.0 0:01.25 rmiregistry
    5582 raja 20 0 74224 17m 8924 S 0.3 1.8 0:30.47 npviewer.bin
    5631 raja 20 0 2556 1104 840 R 0.3 0.1 0:04.05 top
    1 root 20 0 2008 704 500 S 0.0 0.1 0:00.98 init
    2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
    3 root RT -5 0 0 0 S 0.0 0.0 0:01.46 migration/0
    Thanks.

    When I have seen this behaviour, it is because you are writing data faster than the computer can keep up. You appear to be very low on free memeory which will make this problem worse. On my systems, this appears to be a problem if the "free" memory is less than 20% of your total memory.
    What happens is that every process which runs occasionally, now blocks waiting for disk and appears in the load average.
    I suggest you look at your vmstat to see what your disk activity looks like.

  • Settings for Forte Mail

    Hi, I've used Forte mail as my usenet and mail reader for mant years. Now trying to set up Forte Agent 8 with windows 8.1 64 bit..I use the guidance on: http://help.sky.com/articles/get-emails-on-your-windows-desktop-client  I can download messages no problem but sending is impossible. Tried lots of combination of settings to no avail. Windows defender is OFF. McAfee Firewall is set correctly. Any suggestions please David

    Here are the settings available to me. Host Name set at: smtp.tools.sky.com Connection: I can select one of 5 options: Connect on standard SSL port (obsolete)Connect with TLS on SMTP port, fail if unavailableDo not use a secure connectionConnect securely on standard mail submission postConnect with TLS on SMTP port, if available Login method:I can select one of 4 options: No login requiredPOP before SMTPUsername and passwordSecure password Authentication Login Credentials: I have selected Use credentials for inbound mail account because inbound mail works Advanced SettingsUse a non-standard SMTP port; 465 is selected and 110, 587 & 995 have been tried Test connection:Error messages depend on the options selected.and include:Server smtp.tools.sky.com does not support Secure Password Authentification [I though that it did}No response from server.Connection closed unexpectedly by serverConnection refused by serverAnd my favourite Server mail.yahoo refused to accept email from your computer (From address not verified - see http://help.yahoo.com/l/us/yahoo/mail/original/manage/sendfr   My o/g & i/c mail service work correctly with Microsoft Mail & Thunderbird mail clients.so I doubt if it is a network router or firewall problem

  • How to do IDOC debugging for both inbound and outbound

    Hi
    can somebody please help me on how to debug the idoc both inbound and outbound in SAP PI.
    Regards
    Blue

    Hi,
    Yes, i have checked but did not get any satisfactory answer.
    here is the solution:
    Inbound:
    We19, Give the idoc #,
    click on the inbound functional module and select the radio button in the fore ground
    check the check box call in debug mode, this will enter in the functional module debugging.
    Outbound:
    Check BD73, give the idoc # and execute
    or
    RSNASTED program and set the breakpoint there
    is this correct, i have not tested/ checked yet.
    Regards
    Blue

  • When idoc failes for inbound sales orders then how to trigger a mail notifi

    Hi All,
    When idoc failes for inbound sales orders in SAP then i would like to send an email notificaiton to particular user id. Could you please let me know the settings for this requirement.
    Thanks in advance..

    Closing thread as there are no replies

  • How can I send just 1 message for 2 mail accounts under mail forwarding

    Hi everyone
    I have a question for mail forwarding.
    I have 2 inbound mail servers,4 outbound servers and many store servers.
    User A set his mail forwarding address to B, and B set his mail forwarding address to A.
    So 2 guys can receive each others message.
    In this case, If two users have same "mailhost' value(ex, x.test.com), forwarding mail goes just once for each accounts.
    If "mailhost' values , however, are different (ex, x.test.com and y.test.com - and also two mail servers connected as internal server),
    forwarding mail goes 4 times for each accounts.
    So sender gets 4 messages and receiver gets 5 messages.
    How can I set mail server configuration to send just once not 4 times for 2 users?
    Any advices would be welcomed.
    Thanks
    Message was edited by:
    1231dugi
    Message was edited by:
    1231dugi

    Hi,
    User A set his mail forwarding address to B, and B
    set his mail forwarding address to A.
    So 2 guys can receive each others message.You have just created a mail loop. This is not a good thing.
    Any advices would be welcomed.I would advise creating a mailing list which has both userA and userB as members, and then have emails sent to that address OR have a third account which they can both access (IMAP shared folders) and have email sent to that OR have them share each-others INBOX.
    The fact that userA & B didn't get multiple copies when they were on the same mailhost is due to good luck only.
    Shane.

  • INBOUND MAIL PROCESSING in SAP for Offline ADOBE FORM Concept

    Hi to all,
    Please can anyone tell me, what INBOUND MAIL PROCESSING in SAP for Offline ADOBE FORM?
    What is concept and how to use it, is any program need to write for that or only need to configure it.
    I have searched the SDN, but only get topic how to configure inbound mail processing.
    I am new to this area; please any one put some light on it.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Hi Pavneet,
    Inbound processing of an offline adobe form consists of several things -
    a) an email id to be created on the server (to accept the mail & process the adobe form - this needs to have the right roles)
    b) the smtp config needs to be done by basis
    c) the abap developer needs to create a handler class that gets called when an email is recd in SAP. This handler class has 3-4 methods (first to read the mail and extract the pdf, convert data in pdf to the abap variable, process the form to do the specific function in sap (which will vary from requirement to another).
    I found this blog very useful when I was getting my adobe form done -
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    Hope this helps.
    Cheers, Liz
    (ps: you might get more help in the adobe form specific forum in sdn)

  • How to configure users for internal mail routing only

    Hi Guys!
    I have a scenario here that i have three (3) group of users, one group is able to have an inbound and outbound mail, meaning they can send and recieved emails from internal and external.The second group of users should have inbound mail(local mail) only (cannot send and recieved mails from internet), and the third (3) user is they can recieved an outbound mail but they are not allowed to send mail directly to the client,(Ex. [email protected],[email protected],[email protected]) instead they will use the [email protected] as the reply to the client. Please let me know how to configure group user 2 and 3.
    Thank you.
    regards,
    LRMCP

    Hi LRMCP,
    Procedure is perfect which is given by Benoit, just elaborating steps.
    Prevent form Sending Mails:
    Create a transport rule on Hub Transport Server:
    Organization Configuration -> Hub Transport -> Transport Rules -> New Transport Rule -> Give Name “Group2 - No Internet Mail”
    Conditions: select "From a member of a distribution list" & select group "Group2"
    Select another condition "Sent to users inside or outside the organization" & Select Outside.
    Actions: select "send bounce message to sender with enhanced status code" & write your custom message like “You are not authorized to send mails to internet”
    Prevent from Receiving Mails:
    New User: You can select “require that senders are authenticated” while creating new users which will stop receiving mails from internet.
    User -> properties -> Mail Flow Settings -> Message Delivery Restrictions -> Properties -> set Sender Authentication.
    For Existing Users:
    You have already a group named "Group2" so set sender authentication for all members with this single command.
    Get-DistributionGroup "Group2" | Set-Mailbox -RequireSenderAuthenticationEnabled $true
    Same procedure mentioned for group2 can be followed for Group3 to prevent from sending mails.
    Amit Tank || MVP - Exchange || MCITP - Exchange 2007 || http://ExchangeShare.WordPress.com

  • How to make email client account setup automatically select inbound mail and smtp server.

    I have the mail service successfully running on OS X Server 10.8.2.  I am able to send and receive email as well as setup email accounts on various email clients (iphone, ipad, mac, etc).  I notice that when I set up a new account that I have to specify both the inbound and smtp mail servers as well as specifying the user id for each.  I am using an SSL certificate that appears to be working.  The ports are selected (993/995 and 587) automatically and the default is to use SSL.
    However, when I set up a Comcast account - (configured as "other") - I only have to enter Full name, email address and password - and from this it is able to determine that the incoming mail server is "mail.comcast.net" and outgoing smtp server is "smtp.comcast.net".  It also fills in the userid and password for both inbound and smtp servers - as well as the ports.  I have been trying to get this to work automatically when setting up accounts for my mail server - but have not been able to figure out how to do this - or if it is possible.
    In googling - I have found that I can set up several different SRV records such as (_submission._tcp, _imap._tcp, _imaps._tcp, _pop3._tcp, _pop3s._tcp) and these are supposed to provide this functionality to email clients that are able to use the SRV records.  I have set these up externally at my registered domain provider - and I am able to query them via nslookup, dig and host.
    Is Comcast using some other special method of providing the server names to the mail client setup - or am I doing something wrong - or is this a functionality that needs to be supported on the mail server side as well.  I am relatively new to mail servers and trying to work my way through the learning process.

    Understand the functionality you are wanting, basically one can use Outlook / Exchange mail server as an example. It just happens.
    As I understand in the background the DNS _SRV records point to a machine which serves up an XML file and that is the information which tells the client how to configure itself.
    I did some research before posting my first reply and found that, in the Apple client situation, even when someone setup the the SRV records + the XML it didn't work seamlessly.
    https://discussions.apple.com/message/12949449#12949449
    Here's some other links that give some more background.
    https://groups.google.com/forum/#!msg/macenterprise/qIKUMxMae8o/iLnIkMgeOX0J
    http://www.virtuworks.com/how-to-setup-outlook-autodiscovery-for-your-domain/
    If you were going to persue it you will need to find out the format for the autodiscovery XML file. Also the XML file will have to be hosted on your server, you couldn't likely put it on the public DNS server.

  • How to create one inbound delivery for multiple purchase order?

    Hi Experts,
    Please let me know how can I create one inbound delivery for multiple purchasing documents(PO or SA)? 
    Is there a configuration needed for this?  If yes, please let me know the configuration to make this happen.
    Appreciate your help on this.  Right answers will be rewarded.
    Thank you.
    with regards,
    Muthu Ganapathy.

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • How to configure Workflow Notification Mailer for oracle alert in R12

    Hi all....,
    How to configure Workflow Notfication mailer for oracle Alert in R12. Please provide the complete steps.. Its urgent.. Plz help me..
    Regards ,
    Madhan

    Duplicate thread (please post only once)
    plz help me...!!!! Workflow Notification Mailer
    plz help me...!!!! Workflow Notification Mailer

  • How to configure users for internal mail routing only in exchange 2013

    Hi Guys!
    I have a scenario here that i have three (3) group of users, one group is able to have an inbound and outbound mail, meaning they can send and recieved emails from internal and external.The second group of users should have inbound mail(local mail) only
    (cannot send and recieved mails from internet), and the third (3) user is they can recieved an outbound mail but they are not allowed to send mail directly to the client,(Ex.
    [email protected],[email protected],[email protected]) instead they will use the
    [email protected] as the reply to the client. Please let me know how to configure group user 2 and 3.
    Thank you.
    regards,
    Paul

    Hi Paul,
    Great advice from Maganti, just elaborating steps:
    Prevent Group 2 send e-mail to internet by transport rule:
    1. Login EAC with administrator, Mail Flow---> Rule, click “Create a new rule, then give a name “Group2 - No Internet Mail”.
    2. Conditions: select "From a member of a distribution list" & select group "Group2"
    3. Select another condition "Sent to users inside or outside the organization" & Select Outside.
    4. Actions: select "send bounce message to sender with enhanced status code" & write your custom message like “You are not authorized to send mails to internet”.
    Prevent Group 3 directly send e-mail to internet, however it can send message as group:
    We also can create a transport rule which is same with Group2, then open Active Directory Users and Computers to add send as permission with another group (contain same users as group3).
    Best Regards,
    Allen Wang

Maybe you are looking for

  • Alerts Not Received in Inbox

    Hello guys,         I have a BPM in which I am raising an alert if invoice posting fails.I have done all the settings needed for alert management. In workflow log I can see that the alert has been sent to the user which i have mentioned in "Fixed Rec

  • ADF 11g: Desktop Integrator- Export to Excel issue

    Hi, We are using ADF 11g. In our application we have one feature where end users can download data in excel format from our web application. To export data to excel file, users need to click Export to Excel button. But after deployment of code to sta

  • Debugging a project!

    Hello ! I have installed Sun IDM 7.0.1 and I am suing Net beans 5.5 IDE as a development tool. I was trying to debug a project and I get the following error : " com.waveset.util.WavesetException: Server exception: java.lang.NullPointerException" I ha

  • Basic Query on Hyper-V Configuration

    Hello Friends,                     I'm new to Hyper-V Concepts. I have one physical Server where I have installed Windows Server 2012 DC OS, now i need to enable the Hyper-V role and I have  a task to install 05 VM's on the hyper-V.                  

  • Change the Schema in Sql 2005

    Hello Experts, We have refreshed our QAS system from PRD (abap + java) system. The schema on the system is MCOD (IE SID). Although the database has come up, but in SAP we are not able to access the schema because the schema currently belongs to PRD s