How to create Adapter modules

hi experts,
May i know how to create adapter modules..
Thanks & Regards
guna

Hi,
Start with basics:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7bf6e190-0201-0010-83b7-cc557eb76abe
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
Some good Examples to start with :
Rename Attachment Adapter Module
Copy a file with same filename using XI
Customized Adapter Module
Regards

Similar Messages

  • How to debug adapter module in PI 7.1

    Hello all,
    I am trying to figure out how to debug adapter module in PI 7.1.
    I guess runtime debugging ( switch AS java in debug mode and attach NWDS to the AS Java to debug as module is being executed) is not possible with adapter module. Please let me know if this is indeed possible and how to enable it.
    The only option is to send debug information to log file. So in the module code like:
    audit.addAuditLogEntry(key, status, message);
    location.debugT(SIGNATURE, message);
    I've read that for PI 7.0, you need to add log-configuration.xml to meta-inf. Is this still required for PI 7.1?
    My next question is how to read the log in audit log and in location. I've read that the audit log can be read in .../MessagingSystem/monitor/monitor.jsp, under which section of the page I can read the audit log? I can't see any of my log there.
    For log in location, I guess I need to go to NWA, can you please share the path (navigation) in NWA to see the location?
    Thanks
    Jayson

    > I guess runtime debugging ( switch AS java in debug mode and attach NWDS to the AS Java to debug as module is being executed) is not possible with adapter module. Please let me know if this is indeed possible and how to enable it.
    It is possible for adapter modules as well. I know this from our developers
    It should work like this:
    /people/christian.drumm/blog/2008/09/30/debugging-java-mappings-using-sap-netweaver-developer-studio
    > The only option is to send debug information to log file. So in the module code like:
    > audit.addAuditLogEntry(key, status, message);
    > location.debugT(SIGNATURE, message);
    > My next question is how to read the log in audit log and in location. I've read that the audit log can be read in .../MessagingSystem/monitor/monitor.jsp, under which section of the page I can read the audit log?
    In the RWB under Message Monitoring for Adapter, or try the shortcut
    http://server:port/mdt

  • How to create function module for getting customer name

    Hi Experts,
                   How to create function module?  when in import parameter kunnr values to be passed it must give name1 details according to the customer number...
    how to write the logic in source code....
    Regards,
    Thiru. R

    1. First of all create function group.
    2. Create function module using this function group.
    3. If only one kunnr is needed at a time, create import parameter for it. But if many kunnr to be entered at a time,use table.
    4. Fetch name1 for each kunnr from KNA1 table.
    "->> if many kunnr
    if not t_kunnr[] is initial.
    select kunnr as kunnr name1 as name1
    into table t_kunnr_name1
    from kna1
    for all entried in table t_kunnr
    where kunnr = t_kunnr-kunnr.
    endif.       
    sort t_kunnr_name1 by kunnr name1.
    delete adjacent duplicates from t_kunnr_name1 comparing kunnr name1.
    table t_kunnr_name1 will contain kunnr and its name1.
    I hope logic is clear for you now.
    Regards,
    Aparna

  • How to create a module pool program

    Dear Guru
    I want to know know how to create a module pool program from se80 step by step. I want to know the steps where i will get the four includes like form routines, PAI, PBO, and global data please its very urgent.
    Thanks & regards
    Saifur Rahaman

    hi Saifur Rahaman,
    goto se80 then click find program,
    next u want any name of the program enter as,
    Attribute type as find Module pool click it.
    next u want any package and save and activate.
    program name with create screen with any number then
    click layout and u want any object and save , actived.
    click flow logic , four types as PBO and PAI and POV, POH.
    PBO---> Trigger is before screen.
    its applied for display screen and inactive or no display screen only
    PAI--->Trigger is after screen
    when u want button then its processed.
    POV--> Value requested for F4.
    POH-->Help requested for F1.
    Reward if useful,
    S.Suresh.

  • How to create function module in abap for VirtualProvider in bi

    how to create function module in abap for VirtualProvider in bi ???????????????
    can any one help me with simple example ?????????????????
    Moderator message : Duplicate post locked. Read forum rules before posting.
    Edited by: Vinod Kumar on Jun 15, 2011 4:40 PM

    Hi ,
    Thanks for replies about my question??.
    If i am using the exit in my char relation ship how can i debugg that exit???
    if i am using BPS0 how to do it???If i am using BPS_WB how to do it??
    Case1.Variable (type Exit) I known how to do debugg this one in BPS0 but i'm not sure in BPS_WB??
    Case2:Char Relation Ship(Type Exit) how to do in BPS0 and BPS_WB??.
    Thanks.

  • How to create Dialog Module[Screen,Menu,object navigator]

    Dear All,
                kindly give me. How to create Dialog Module[Object Navigator,Screen,Menu,] steps with code.

    please see this  link   it is with  screen shot from the scrach ...
    <b>creating  struture 
    creating screen
    writing logic 
    table control
    creating tcode</b>  ...etc
    <a href="http://">http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm</a>
    reward  points if it is usefull ...
    Girish

  • How to write adapter module to convert the xml to pdf file

    Hi all,
      how to write adapter module to convert the xml to pdf file.
    Please any body assist step by step procedure.

    PI 7.1 XML to PDF transformation
    have you seen below links:
    http://forums.sdn.sap.com/thread.jspa?threadID=1212478
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14363

  • How to create a module for File Adapter

    Hi,
    I read somethings about module in Adapters.
    What I need to create a EJB? I need to generate a jar? Where I put it?
    Do they have anything about this or a step by step? I want to create a module fpr File Adapter
    Tks.

    Hi,
       >>>What I need to create a EJB?
           If you have NDS or Ecclipse you can create them automatically.
       >>>I need to generate a jar?
          Yes you need to generate a .Jar for that Ejb.
       >>>Where I put it?
          Put that .Jar in .Ear file. and then deploy it on to the Xi server or PCK or Decentralised Adapter Engine where ever u want to use.
       >>>Do they have anything about this or a step by step?
          Yes.Step by step procedure for creating module is available.You can get them at the links given above by others.
    Regards,
    Gowtham K.

  • Creating Adapter Modules

    Hello
      Can anyone tell me as to how do i create my own adapter modules. The java caode has been developed but where in the configuration builder of XI should this be stored and how?Could someone explain the entire process as to how to do this and also the configuration that needs to be done.
    Regards
    Sharat

    1. Make sure you have the following jar files with you.
    aii_af_cci.jar
    aii_af_mp.jar
    aii_af_ms_api.jar
    aii_af_ms_spi.jar
    aii_af_trace.jar
    aii_af_svc.jar
    aii_af_cpa.jar
    2. Open NetWeaver Developer Studio. Create a new EJB Module
    New>J2EE>EJB Module.
    Specify a meaningful name for the module and click Finish.
    3.  Right click on the folder ejbModule and create new package.
    Enter a meaningful name for package and click Finish.
    4.  Right click on the Project, select New-->Folder. Enter lib as the folder name.
    Copy all the jar files specified above from your local system and paste them into newly create lib folder.Right click on the project. Select Properties-->Java build path. Go to Libraries tab and add the jar files from lib folder to the classpath.
    5.Switch to J2EE Perspective-->J2EE Explorer tab.
    Right click on the newly created package and select New-->EJB.
    6. Specify a meaningful name for the EJB. Select Bean Type as Stateless Session Bean.
    Make sure to uncheck the checkbox “Generate default interfaces”.
    Click on Next.
    7.On the next screen change the values of following attributes as specified below.
    Remote Interface: com.sap.aii.af.mp.module.ModuleRemote
    Home Interface: com.sap.aii.af.mp.module.ModuleHome
    Local Interface: com.sap.aii.af.mp.module.ModuleLocal
    LocalHome Interface: com.sap.aii.af.mp.module.ModuleLocalHome
    Click on Finish.
    8. After clicking on Finish, a Creation error will be reported. Ignore this error as the file would still be created as specified.
    Open the newly created file in Java Editor and add “Module” to the implements list of the bean class. Press Ctrl + Shift + O to remove import errors if any.
    You will see a new error as
    “Class must implement the inherited abstract method Module.process(ModuleContext, ModuleData)”.
    Right click in the java editor and select Source-->Override / Implement methods. Select process method from Module interface and click Ok.
    You should have an error free build of the project after this.
    process is the only method where we need to write the business logic.
    With this you are ready to right the situation specific business logic in the process method.
    9. Once you create a deployable archive i.e. .ear for this using NDS, you can deploy this archive using NDS or using SDM.

  • How to create multiple modules in quizzes in single file?

    Hi,
    Can someone guide me how to create a multiple module quizzes under one captivate file ( captivate 5.5 ver)
    I have a quiz.cptx file with 50 questions from different chapters A,B,C,D,E with 10 questions in each chapter.
    The scenario
    Note : min 80% score  per chapter is the passing criteria
    1. Start the quiz after login and password
    2. Start the quiz for chapter A ( 10 questions)
    3. score for chapter A should be displayed
    4. If "cpQuizInfoPointsscored"'s  value < = 40 ; ie 80 % for chapter A
             review of the failed questions in the chapter
             OR
             retake quiz for that chapter should be triggered,
       else goto chapter B
    5. Start the quiz for chapter B ( 10 questions)
    3. score for chapter B should be displayed
    5. If "cpQuizInfoPointsscored"'s  value < = 40 ; ie 80 % for chapter B
             review of the failed questions in the chapter
             OR
             retake quiz for that chapter should be triggered,
       else goto chapter C
    6. //rly with other chapters
    7. After passing all chapters the result should be printer based on the scores.
    Is there any better ideas to crack the steps 4 - 6, bcz i am not able to reset the value of "cpQuizInfoPointsscored"; which is incremented as each question is completed.

    Welcome to the forum,
    Agree totally with Rod, this can be done with advanced actions (have some examples on my blog), but it is a lot of work. And the Quizzing system variables such as cpQuizINfoPointsscored are all read only, no way to change them by advanced actions at all.
    If you want to transfer variable values from one file to another, like from the different quiz files to a main file (to take decisions over there about possible branchings), you should have a look at Michael Lund's Save & Load Data widget:
    Save & Load Data widget
    Lilybiri

  • How to deploy adapter module -------  in XI

    hi forum,
    i have developed a ejb adapter module from a blog,
    i developed it in the NWDS,
    i now want to deploy it,  how should i deploy it,
    i dont know anything about Visual Admin or SDM, pls help me out
    Message was edited by:
            sudeep dhar

    Hi,
    Refer to these links may be useful to you
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3a83c242-0801-0010-dc95-d496cf6dba9d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c95e290-0201-0010-d492-c4333f0d83b7
    Web Service Wizards crash with java.lang.StackOverflowError
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1b651014-0301-0010-c39a-98d7cd057847
    /people/riyaz.sayyad/blog/2006/05/10/consuming-xi-web-services-using-web-dynpro-150-ui-design-part-iii
    Regards,
    Kumar

  • How to test Adapter Module

    Hi
    My Scenario is File - to - File
    I have written one adapter module and i have deployed in J2ee Engine as well. In sender communication channel i have given the JNDI name like
    <b>"localejbs/<JNDI Name>"</b>.I have tested the my file to file scenario by placing a file in source directory which i have mentioned in Communication channel Source Directory and File Name.But i didnt find any difference in target file.
    I have used the following blog
    <b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805</b>
    1.How to test the adapter module.
    2.How to configure my communication channel.
    Please help me its very urgent
    Best Regards
    Ravi Shankar B

    Hi,
    check JNDI service in visual admin to see if
    your service has the same name there
    >>>>1.How to test the adapter module.
    by using it in a channel
    >>>>2.How to configure my communication channel.
    add you adapter module to the adapter module tab
    in communication channel
    Regards,
    michal

  • How to incorporate adapter module while writing the adapter metadata for it

    Hi all,
             We  are developing a adapter and the custom adapter module has been prepared.Now we need to write our own adapter metadata. So I need to know in detail how to incorporate our custom adapter module into our adapter metadata.
    Paul

    hi
    check the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daa51a96-0b01-0010-738f-a0ecfd06104e
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7086f109-aaa7-2a10-0cb5-f69bd2affd2b
    https://www.sdn.sap.com/irj/sdn/teched2004
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • How possible in Adapter module

    Hi
    In my adapter module, i want to do the following. can any one help me out how can i achieve..
    In my sync scenario, module at receiver side, want to know
                  Time of request sent to receiver ,
                  time of response get back from receiver to PI
                  what was the response
                  was it sucessfully sent to sender from PI.
    Please provide with exact class and method name from API or sample code..
    Thanks
    Prabhakar

    Hi Venkat,
    I think ur looking for traces as per your request and this is not recommended option in production system. But the 2 options of request time and response time can be updated in traces (Moni) using date functions (standard functions), Container and MappingTrace objects. May I know ur requirement exactly. This solution in adapter module is static. Where you want to use these details and in what form.
    Thanks
    Ramesh

  • How to Test Adapter Module in NWDS

    Hi Friends,
    I have written an adapter module. Before deploying on adapter engine, I want to do test in NWDS. Any idea how to do this. Please provide sample java code, if possible.
    Thanks,
    Sandeep Maurya

    Hi,
    Since runtime and module processor framework is not available on your local machine that's why adapter module test not possible using NWDS on local machine.
    Another possibility is to install PCK on some local machine for testing purpose.
    You must deploy (either on PCK or AE) it and test.
    Regards,
    Gourav

Maybe you are looking for

  • Serial No in cross tab

    i need to give serial no in cross tab.... i had given in group header... i have 5 different groups.. so i need to refresh the serial no for each cross tab... Please help me... Thanks in Advance.......................

  • Business Management

    Business Management Hello I am doing a course in Business Management and have been assigned to ask a few questions on management functions such as planning, organizing, controlling and leading in an analysis of workplace situations. Anyone with manag

  • Custom Chart Line Symbol Type in 10g

    Hi, How can we add custom symbols for Lines on a chart (see example): http://screencast.com/t/g60p08WO Thanks Edited by: odinsride on Jul 6, 2011 4:46 PM

  • Exception Handling in Webservice Client

    Hi..I have a webservice (JWS) running on Tomcat and Apache AXIS..which is installed on different sites/locations..I have a search portal (JSP) that will invoke that webservices and return an array of values in SOAP. My problem is how can my Jsp page

  • Hot Sycn. in Palm

    I am writing palm application using j2me CLDC midlet. The application requires persistent storage of data, which I use RMS api to handle. However, the application also requires hot sycn. of data between palm and desktop PC. Does j2me CLDC midlet have