Exception related to user defined module in sap xi ????

I developed one userdefined module after configuring that i am getting the below exception, can any body tell where exactly the problem
      com.sap.aii.af.ra.ms.api.RecoverableException,
Thanks,
Madhusudhan.

Madhusudana,
Well...I would in that case suggest you to put debug statements in your code. For this you would need to carry out certain steps which are :
1. In NWDS , create a new file in the META-INF folder of Enterprise Project. The name of the file should be log-configuration.xml.Paste the following content in this file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
<log-configuration>
<log-formatters>
<!-- This formatter produces human readable messages. -->
<log-formatter
name="trc"
pattern="%26d %150l [%t] %10s: %m"
type="TraceFormatter"/>
</log-formatters>
<log-destinations>
<!-- Destination for Trace Information of this sample -->
<log-destination
count="5"
effective-severity="DEBUG"
limit="2000000"
name="sample.trc"
pattern="./log/applications/sample/default.trc"
type="FileLog">
<formatter-ref
name="trc"/>
</log-destination>
</log-destinations>
<log-controllers>
<!-- Trace Location sample -->
<log-controller
effective-severity="DEBUG"
name="sample">
<associated-destinations>
<destination-ref
association-type="LOG"
name="sample.trc"/>
</associated-destinations>
</log-controller>
<!-- Logging Category: none, use the default XILog -->
</log-controllers>
</log-configuration>
2. In your process method, add following statement
AuditMessageKey auditMKey =
               new AuditMessageKey(message.getMessageId(), AuditDirection.INBOUND);
          Audit.addAuditLogEntry(
               auditMKey,
               AuditLogStatus.SUCCESS,
               "CustomModule :: process method started");
This would send the statement "CustomModule :: process method started" to the Audit Log of XI server and you would be in a position to see upto which step your code is executing sucessfully. Audit log can be viewed at
http://<host>:<port>/MessagingSystem/monitor/monitor.jsp. you need to know the message ID for your transaction in this case.
Hope this helps.
Nilesh

Similar Messages

  • The sequence of system modules & user-defined modules

    Hi Experts,
    can u help me clear about the execution sequence about system modules , user-defined modules & the adapter of XI/PI ??
    I presume the sequence is first adapter ,second own modules, finally system modules at the sender end. 
    and the sequence at the receiver end is first own modules , second system modules ,third adapter.
    im right?
    by  the way,  how about the sequence when the scenario is be setted to synchronization, specially the sequence of the
    response.
    thx in advance.
    Brian.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/f13341771b4c0de10000000a1550b0/frameset.htm
    1. for async sender/receiver adapters, you use modules before the standard adapter module.
    2. for sync sender/receiver adapters, you can wither use modules before the standard adapter module (they will affect the request message) or after the adapter module (affecting the response message).

  • User Defined Module Processing

    Could some one send me the User Defined Module Processing Step By Step guide to
    [email protected]
    Thanks for your help.

    Hi,
    Are you talking about Adpter Modules ?
    If so , here is a guide from service.sap.com-
    https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    Regards,
    Moorthy

  • User defined modules in File Adapters

    Hi SapAll.
    i just want to know how and in what situations we will use user defined modules in the file communication channels under Module Tab.
    can any body explain me briefly with a real time scenarios.
    regards.
    Varma.

    hi,
    user defined modules or custom adapter modules can be used to do few thing which can't be done by standard SAP modules, typical example in file adapter would be:
    Reading/ Writing excel file through file adapter
    https://wiki.sdn.sap.com/wiki/display/stage/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns
    Generating PDF file through file adapter
    /people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi
    Adapter Module to stop processing of duplicate file (FTP Location)
    /people/sandeep.jaiswal/blog/2008/05/13/adapter-module-to-stop-processing-of-duplicate-file-ftp-location
    Doing PGP Encryption for the payload in receiver payload.
    /people/dijesh.tanna/blog/2008/09/15/sap-pi-integrating-macafee-e-business-server-with-sap-pi-70-for-pgp-encryptiondecryption
    Check this forum:
    Uses of custom adapter module
    Thanks,
    Mayank

  • [SOLVED] Loading user-defined modules [FAIL]

    Since the linux upgrade that rolled out on Nov 9, I have encountered an error during boot that says loading user-defined modules  [FAIL].  I read a post mentioning the problem being related to the /boot dir being on a separate partition (https://bbs.archlinux.org/viewtopic.php?id=129970).  Mine is not on a separate partition, so no booting to a live disk will fix that problem for me.  Another post mentions the problem causing loss of USB support (https://bbs.archlinux.org/viewtopic.php?id=130030)  which is, as of yet, unresolved.  I For all the people upgrading to linux3.1.1 with no problems, do you know what my problem would be?
    I have tried upgrading 3 times but each time it kills my wireless support completely.  All else seems to be working fine.
    Does anyone know what is causing this? or how to fix it or work around it?  I updated my mirrorlist and ran pacman -Syyu but this problem is still there 2 weeks later.  I've been running pacman -U /var/cache/pacman/pkg/linux-3.0.7* and rebooting after every system update.
    Please help.
    Thanks.
    Last edited by jdoggsc (2011-11-22 19:39:00)

    skunktrader wrote:If you have any modules from the AUR (broadcom-wl?) you need to rebuild and reinstall the module every time the kernel is updated.
    Thanks.  I didn't realize I had to get a new driver every time.  I've gone through several kernel upgrades so far and haven't had any problems.  That fixed it, though.

  • User Defined Module Processor

    Hi folks;
    I had a query that can we access a file placed on netweaver server(copy the content or delete a particular file) using a User defined Module,added to file adapter

    hi
    To explain you more clearly our scenario
    We have a sender folder in which we have xyz.xml(Source file) and xyz.PDF (Attachment) .
    while configuring the file adapter we are archiving both these files to a folder
    With the help of user modules we need a abc.xml file to be picked from some other folder and placed to our sender folder
    For this functionality to be added to our file adapter we have to write a code
    my e mail add  is [email protected]

  • No user defined for service /sap/bc/contentserver

    Dear ALL,
      Transaction : OAAD
    While i am up loading photo Business Obeject : PRELI
                                               Document Type    : HRICOLFOTO
    While i am going to create next  step personal no :(any per no) next enter I am getting this error.
      No user defined for service /sap/bc/contentserver.
    Can you plz look in to this.
    Regards,
    venkat

    Transaction code: SICF
    Here you activate the Content Server Interface.
    First you need to create a user profile – with sufficient authorisations to carry out the processes which are done by the system in the background.
    Double-click on “content server” in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
    Once you have done this click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)
    Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL.
    Hope this helps
    Raj

  • Reg :: Exception in custom java adapter module in sap pi

    Hi Experts,
                  I have included custom  java adapter module in SAP PI. I get the below error in sender communication channel  monitoring.
    Error: javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/xml/utils/URI$MalformedURIException; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/xml/utils/URI$MalformedURIException; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/xml/utils/URI$MalformedURIException; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/xml/utils/URI$MalformedURIException
    I have included in External jar files in EJB project  also..Will that cause the above exception?
    Kindly suggest your solution.
    Thanks
    Priya

    Hi !
    have a look
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
    and this thread also
    Throw Error in Module Adapter EJB
    Thanks!

  • Using user defined variables in SAP BPC 7.0 NW

    Hi,
    I am using BPC 7.0 SP2 NW version. I want to do some calculatioins and/or comparision in the script logic by using user defined variables.
    For Ex: I want to assign the property TIMEID of TIME dimension to a variable and then use this variable in my IIF statement.
    I have tried a lot but not getting any solution.
    Can anyone guide me in how to use user defined variables in Script Logic.
    Your valuable reply is appreciated.
    Thanks & Regards
    Manoj Damle

    Hi,
    Thanks for the valuable reply.
    But i want to define variables in the Script Logic and not in the Data Manager.
    The scenario is like this:
    I want to check the value of the DUMMYACC1 member of GL_ACCOUNT dimension with a constant and depending on the condition i want to update a user defined variable. This variable will further be used in the *SELECTCASE statement for decision making.
    The Code is as follows:
    *XDIM_MEMBERSET COMP_CODE = COMP_CODE_1
    *XDIM_MEMBERSET BUS_AREA = BUS_AREA_1
    *XDIM_MEMBERSET VERSION = VERSION_1
    *XDIM_MEMBERSET CURRENCY = AUD
    *XDIM_MEMBERSET DATASRC = DATASOURCE_1
    *XDIM_MEMBERSET GL_ACCOUNT = SALESREVENUE,PRICE,QUANTITY,DUMMYACC1
    *XDIM_MEMBERSET TIME=2009.MAY,2009.JUN
    *XDIM_MEMBERSET CUSTOMERCATEGORY = CUSTOMER_CAT_1
    *XDIM_MEMBERSET PROFIT_CTR = PROFIT_CTR_1
    *XDIM_MEMBERSET SEGMENT = SEGMENT1
    *XDIM_MEMBERSET MEASURES = PERIODIC
    *FUNCTION PRO(%VAR1%,%VAR2%)
        [%VAR1%].CURRENTMEMBER.PROPERTIES("%VAR2%")
    *ENDFUNCTION
    *FOR %GL_ACC% = DUMMYACC1
        *FOR %CV_TIM% = 2009.MAY,2009.JUN
            #CUR_MTH = IIF(([GL_ACCOUNT].[%GL_ACC%],[TIME][%CV_TIM%]) = 1.,1,NULL)
        *NEXT
    *NEXT
    *SELECTCASE #CUR_MTH
    *CASE 1
        #CURRENTMTH = PRO(TIME,TIMEID)
    *ENDSELECT
    The errors which system gives is:
    1. Duplicate formula found
    2. Invalid MDX statement
    3. #CUR_MTH & #CURRENTMTH is not a valid member
    Please give your valuable suggestion.
    Thanks and Regards
    Manoj Damle

  • Requirement related to User Defined Fields

    Hi All,
    I have a requirement wherein I want 5 UDF (User Defined Fields) to be displayed in Create User Form. However, In the View User Profile, I want to have a total of
    10 UDF to be displayed (5 more UDF in addition to UDF's used in Create User Form). The value of these 5 new UDF will come from some other resource ( a
    webservice will return the value of these new 5 UDF) and in the Update User Form, I want to have only 5 UDF to be displayed (same 5 UDF's that are used in
    Create User Form).
    So, need your inputs on whether this can be achieved through OOTB OIM Configuration or it will require Customization (OIM Api's or jsp customization)?
    Regards,
    Sunny Ajmera

    Hi,
    You want to say you have total 10UDFs; 5 you will show on the create user page while on user profile page you want to show all 10UDFs.
    Is it right???
    Then you have to go for jsp customization.
    But you can do one thing by ootb; show all the 10UDFs on the create user make 5 editable in which you want to give any value and make rest 5 as read only.
    You have two options choose what suit best to you.
    Regards
    Alabhya Goel

  • Problem related with User Defined search

    Hi all,
    In service type marketing doc.i added three UDF at row level.
    1)Item code
    2)Item Desc.
    3)Quantity
    i need to design a formatted search which will multiply Quantity with unit price and will update result in Total field in row level.
    please suggest me Formatted search.
    TIA

    Chetan,
    In addition to Suda's reply, we have also created 3 UDFs in the service type document of purchase order but there is no item code. it is okay you use item code UDF but actually it won't give effect if you use the 3 udfs in the purchase or sales order documents, although actually we assigned the following FMS I will give. Why I said this because user always asks how to make automatic  movement of 3 UDFs to the next documents (GRPO service and A/P invoice service). I suggest to assign the 3 UDFs you made to invoice directly.
    Try to use this another code to make Total (LC) become automatic update after you fill the qty and unit price;
    declare @m as money
    declare @n as nvarchar(40)
    declare @o as varchar(40)
    declare @p as money
    declare @q as varchar(40)
    declare @r as money
    declare @total as money
    declare @ntotal as varchar(40)
    set @n = $[$39.5.0]
    set @n = substring(@n,4,(len(@n)))
    set @m = cast(@n as money)
    set @o = $[$39.U_QTY.0]
    set @p = cast(@o as money)
    set @total=@m*@p
    set @ntotal=cast(@total as nvarchar(40))
    select @ntotal
    Assigned the query FMS above using display saved values.
    You just need to replace this following:
    $[$39.U_QTY.0]
    to be UDF code of quantity you have made
    Rgds,

  • Can you configure firefox to remove all cookies on exit EXCEPT cookies from user defined (friendly) domains?

    I think my question is clear and doesn't need additional details, but this detail box apparently cannot be blank.

    Let all cookies expire when you close Firefox.
    * Tools > Options > Privacy > Cookies: "Keep until": "I close Firefox"
    Make an Allow exception for the ones that you want to keep.
    * Tools > Options > Privacy > Cookies: "Exceptions"
    You can inspect and modify the permissions for the domain in the current tab in "Tools > Page Info > Permissions"<br />
    Make sure that you do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences" (Site Preferences includes the cookie exceptions)
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception.
    See also:
    * https://support.mozilla.com/kb/Cookies
    * https://support.mozilla.com/kb/Enabling+and+disabling+cookies

  • UDO--user defined object

    how to use UDO--user defined object in sap b1????

    Creating UDO in SAP B1
    1. Create UDT, ( Create UDT as Document if want the code to be in auto increament form)
    2. Create UDFs for created UDT,
    3. Register Object using  "Object Registration Wizard",
                    (a) Put UDT's unique name in "UNIQUE ID" field of UDO (Image - UDO01.jpg) ,
                    (b) Do further as per requirements,
    4. After Registering the UDO, you can access it from where you have set it to access (@ UI Settings of "User - Defined Object Registration Wizard"),
    5. If you wana change the field location / change the design of the form, Open screen painter as and click on "Open User Defined Object List " (Mostly 3rd icon from Left in screen painter),
    6. Make required changes and save it by clicking "Save Form To Database" ( Mostly 2nd icon from Left in Screen Painter),
    7. Now the UDO is ready and can be used by user.

  • User defined field:item master

    Hi,
    In item master data, I want to create a user defined field which is linked to an external table wherein the end-user can automatically upload new item master details into the sap appl frm an external table.

    Dear Ayesha,
    As far as I understand, what you would like to do is the following :
    1. A user adds some data into an external table.
    2. The user defined Field in SAP B1 is automatically updated with the data in the external table.
    If you would like to achieve the above, then I would suggest you to use one of the following methods :
    1. DTW to import the tables' content.
    2. Import/export option from Excel
    3. or an Addon created via the SDK.
    If I understood the issue incorrectly, please let me know.
    Regards
    Arshdeep

  • Use SP Transaction Notification for trigger on user defined table

    Hi i need some help. I have a user defined table in sap (@LAU_ACCT) .
    I need way to catch the event on the table (update , delete , add).
    I heard about SP Transaction Notification , but how use it with udt ?
    Thanks!

    Hi Pavel,
    it is only possible if the UDT is registered as part of an object ( UDO ) - further info http://scn.sap.com/thread/3277846 . So for pure UDT actions you have to find another way ( SQL trigger, UI API, periodic query ).
    regards,
    Maik

Maybe you are looking for

  • IPhone won't backup, but no error message

    Hi! I got a message this morning saying that my iPhone hasn't been backed up in 3 weeks. I thought this was odd as I have it set to automatically back up, but I plugged it in today, connected to wifi, and tried a manual backup. I'm not getting any so

  • Interface with multiple hard drives

    I am looking to buy a Mac Pro later this year, although want to learn about everything now, so I am well educated when I buy it ^^ I was reading around http://macperformanceguide.com/Mac-LightingFast.html and it brought up a question. Right now I hav

  • QT X share to itunes continually getting stuck at "5 sec to go"

    As the title says, just about everytime I try to share something to iTunes using QT X the export progress just hangs at '5 secs' to go and doesn't budge from this. I've left it for up to 10mins but to no avail and I have to cancel the whole thing as

  • Reusable Navbar? (APEX 2.2.0)

    Hi, all, Is it possible to reuse a Navigation Bar Entry across many pages? If not, is it possible to do some sort of batch copy where one entry can be created and copied to as many pages as needed? Thanks!

  • Lost mail gift card

    I need to retrive an erased e-mail that confirmed a $100 gift card for itunes.