How to get ITResource to Adapter?

I have written an adapter that I want to get visibility to a database ITResource and I have set an adapter variable to ITResource. But how do I pass\map the ITResource into the Adapter? I have tried to map it via the "Map Adapters" of the Data Object Manager, but I couldn't figure that out. Also I assume it's not passing an actual instance of the ITResource and it probably some map\result set of connection params, but not sure. Any insight would be appreciated. Thanks

Hi Nitesh,
I need some details help. My objective for this adapter is to create new userlogin but I need to check against the database to make sure the new userlogin is unique other add logic to generate a unique login. This is what I have so far.
1. created Java class to generate unique userlogin. tested on client side and it works as expected.
2. added this custom Java code (.jar) to $OIM_HOME/xellerate/JavaTasks
3. created a new adapter (development tools>adapter factory>new)
4. adapter type = Entity
5. variable List tab> add new variable. ( one of them is of Type=ITResource)
6. add Adapter Tasks (Adapter Tasks tab > Add)
7. in the Application API section, I select my javacode.jar
8. select my methods- this method has input param required for jdbc connection (url, driver, login,password)
9. save
10. map my method parameters to variables in the variable list. I mapped these jdbc connection variables (url, driver, login,password) to my ITResourceVariable
Map to = Adapter Variables
Name = ITResourceVariable
Attribute = <attribute from ITResource Type that was selected during variable creation (Database)
11. save
12. go to Development Tools>Business Rule Definition>Data Object Manager>query for Users
13. in Pre_Insert>Assign>select my adapter
14. in Map Adapters > I mapped each String variable to Entity Field.
It is my understanding that all Adapter Variables must be mapped otherwise>>Error
How do I map my ITResourceVariable here? I tried mapping it to a "Literal" and gave it the ITResource Name for ITResource Type=Database but this does not work.
I read the prior threads but got confused. Can you provide some details steps?
Thanks.

Similar Messages

  • How to get parameter for Adapter Module ?

    Hi XI Expert,
    I have write some simple adapter module in my sender file adapter. in order to make it more flexible i need to read some parameter that already set in communication channel module parameters.
    please advise how to get those parameter value from my ejb module.
    Thank You and Best Regards
    Fernand

    hi,
    follow this example SAP contribution for parameter in Adapter Module
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    Regards
    Ramesh P

  • How to get a HDMI adapter

    I just bought a MacBook Pro 15inch and i want to get an hdmi adapter for it and i dont know what ports i have on the side of it, is there a Mini Display Port on it and where can i find this information?

    The new MacBooks come with a Thunderbolt Port

  • How to get the connected Adapter Object for a particular BDoc Type?

    Hi All,
    I have a scenario in which CRM system is connected to ERP system.
    In SMW01 transaction, I can see one BDoc with BUS_TRANS_MSG as the BDoc Type in CRM.
    Now, how do I get to know if this one BDoc is a SALESDOCUMENT or SALESCONTRACT.
    Is there any way thorough which I can get to know the Adapter Object for this particular BDoc.
    Regards,
    Madhuri

    Hi Madhuri,
               Happy new year.
    In Transaction : R3AC1.
    You can observe the Linked BDOC for the adaptor objects. For example Sales docuemnt and Sales contrcat will have the same linked BDOC as "BUS_TRANS_MSG".
    If you see an error in SMW01, you want to find whether it is salesdocument or contract.
    1. Please take the Queue name from SMW01.
    from the queue name you can find whether it is sales contract or sales document.
    Queue name is customized in tables: SMOFQFIND.
    I hope this helps you.
    regards,
    Sri...

  • How to get outbound ftp adapter file name

    All,
    I am writing an ftp adapter sending out files. The file name is defined as po_%yyyyMMDD%.xml format. However, I need to save the filename into a database after each file is sent out. How could I get the filename after invoking this service? It is on soa 10.1.3.3.
    I tried to create a filename variable based on outbound message type and pass that long in the invoke header. But cannot get the name back. Any idea?

    Hi,
    Go thro' the URL:
    http://abhishek-soablog.blogspot.com
    Cheers,
    Abhi...

  • How to get wireless usb adapter linksys working to get on internet?

    Hi, does anybody know any general way to get my linksys wireless g usb adapter to work on Solaris 10? I plug it in and nothing happens. This is a question
    Edited by: Usulyre on Nov 4, 2007 9:56 PM

    A general option would be to search the HCL on bigadmin.com and buy/swap/barter for a supported adapter.
    Another option is to switch to OpenSolaris and search the aforementioned opensolaris community for supported hardware and then buy/swap/barter for supported hardware.
    alan

  • How to get group key from a task assignment adapter

    Hi All,
    Senario:
    I have two groups, say G1 and G2.
    One Access policy, say P. (This access policy is associated with AD resource.)
    AD Resource Object R.
    I have defined an Approval process for Resource R.
    Access policy P is assigned to both Group G1 and G2.
    This Access Policy P is linked to Resource R
    According to above configuration,
    When I add User U1 to Group G1 ( or G2 ) through "Group Membership", Access Policy P is executed and the approval process which associate with the Resource R is executed.
    In my Approval process, I have a task assignment adapter.
    Within my adapter, I want to get the group key, which cause to fires this approval process. ( It may be G1's key or G2's key. )
    Could some one help me for this ?
    Regards,
    Thirlk
    Edited by: thirlk on Jun 28, 2009 10:55 PM

    See this thread
    Working on the same requirement.
    How to get the administrator group of a group from a approval process
    If you have any further question let me know.

  • How to get the filename from J2SE File adapter

    In our project scenario , we are using J2EE and J2SE engine both .J2EE for mapping  and J2SE for Deliveying the message .
    In one senario, routing will be based on the filename .
    J2SE Sender File adapter --- XI Adapter --- XI pipe line
    So the File reaching to XI pipelane via J2SE File adapter--> XI adapter.
    When we are using the dynamic configurator in the XI to get the filename
    we are not able to get the file name  becasue it is coming to XI via
    XI adapter.
    How to get the filename ????Hope I am clear about the problem.

    hi,
    try this
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //obtengo la Key del FileName
    DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    /people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
    Hope it helps
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM

  • How to get Alerts mail for adapter engine errors in SAP PI 7.0

    Hi Friends,
    I configured Alerts in PI 7.0. with the help of t-code u2018ALRTCATDEF and created a new alert catergory.
    In container tab i have mentioned all give below elements.
    SXMS_MSG_GUID, SXMS_RULE_NAME, SXMS_ERROR_CAT, SXMS_ERROR_CODE, SXMS_FROM_PARTY, SXMS_FROM_SERVICE, SXMS_FROM_NAMESPACE, SXMS_FROM_INTERFACE, SXMS_TO_PARTY, SXMS_TO_SERVICE, SXMS_TO_NAMESPACE,SXMS_TO_INTERFACE
    I am getting alerts when I manually test the alerts configurations by running the report u2018RSALERTTESTu2019.
    I am getting mail as :
    Alert ID: ##00009##
    Dear Administrator,
    This is with respect to XI Scenario. During processing of XML file from ECC or XYZ Server, Following error has been occured:
    Message ID:
    Interface:
    NOTE: To check the file name, go to SXMB_MONI and search for above message ID.
    Double click on that message ID and click on error in left hand tree.
    Please take appropriate action in co-ordination with respective functional and BASIS consultant.
    But When I am getting a error , I am not getting an alert mail. Right now iam doing in XI Development.
    I am not getting an Alert mail , when my message is in status of : System Error . Error catergory is : XI_J2EE_ADAPTER_JDBC.
    Kindly tell how to get alert mail for error catergory : XI_J2EE_ADAPTER_JDBC and in Adapter engine errors.
    How to get alert mail when my message is failed with any reason in Adapter engine.
    Waiting for quick replay. Please help me out.
    Regards,
    Ahmed.

    Hi thanks for quick reply.
    As per your given link : http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14877. [original link is broken]
    I have done all these steps. But still little problem.
    as per link he is getting Error  description , error message id , alert rule..
    In my case I am not getting these information. when my messages failed. When I am doing manully testing the alert getting an mail as :
    Alert ID: ##00009##
    Dear Administrator,
    This is with respect to XI Scenario. During processing of XML file from ECC or XYZ Server, Following error has been occured:
    Message ID:
    Interface:
    NOTE: To check the file name, go to SXMB_MONI and search for above message ID.
    Double click on that message ID and click on error in left hand tree.
    Please take appropriate action in co-ordination with respective functional and BASIS consultant.
    Is it okay the body of mail??.
    I am not getting alert mail when my messages failed in adapter engine and Integration Engine.
    Ex my message is failed in AE:as below.
    My messages flow as : SAP --> XI --> DB.
    Messages is success (in ECC moni)> XI moni also success> XI Adapter engine getting error as (Status: System Error) and (Error Category : XI_J2EE_ADAPTER_JDBC).
    Regards,
    Ahmed.

  • How to get Adapter Engine version in PI 7.1?

    Hi all,
    How to get adapter engine version in ehp 1sap 7.1 sp08 ?
    Thanks
    Sunil

    Hi Sunil,
    Please follow this -
    http://<hostname>:<port>
    In the system information page, download the component version information, and check out the version there.
    Hope this resolves your problem.
    Regards,
    Neetesh

  • How to get the sent date in Adapter Module

    Hi
    How to get Sent Date in Adapter Module. I have used message.getSentTime(). But i am getting in 1179051733406 format is there any way to change this format.
    Is there any other way to get the date when file sending.?
    Is it possible to get Soap Header data Run Time xml file elements (<SAP:Date>) in SXMB_MONI into my Adapter Module.
    Please Help Me
    Best Regards
    Ravi Shankar B

    Is it possible to get Soap Header data Run Time xml file elements (<SAP:Date>) in SXMB_MONI into my Adapter Module.?
    Hi ravi, if you enable Adapter specific Message Attributes in your Adapter CC,(Source File TimeStamp), you can access the same in your ADapter code as a dynamic configuration
    Regards
    krishna

  • How to get screen content onto external VGA screen? Do have thunderbolt-VGA adapter but only get screensaver across

    how to get screen content onto external VGA screen? Do have thunderbolt-VGA adapter but only get screensaver across

    VGA and DVI do not carry sound.  Only HDMI.
    Use a minidisplay-to-HDMI adapter.  Then when the TV is connected to the system use "System Prefences > Sound > Output" to select the TV for sound.
    Or connect speakers to the output port of the MBP.

  • How to get an N wireless USB adapter to transfer data faster that 54 Mbps

    How to get an N wireless USB adapter to transfer data faster that 54 Mbps? I am running FIOS 10/2 and connected to a ActionTec  M1424WR router. Any help will be appreciated.

    I have to ask the question, why are you in need of 802.11N speeds?  Are you transferring lots of files between other PC's on your network or are you simply connecting to the Internet.  
    Remember if your Internet speed is 10/2 which means 10 meg down and 2 meg up having 300 meg capability WLAN connection will not be noticeable.   Your bottleneck is your Internet connection of 10/2.   

  • How to get EDUP wireless usb adapter working under linux

    i have a EDUP wifi adapter, that i would like to use with arch.
    the box states that linux is supported. but i dont know how to get the drivers to work.
    here is the out put of lsusb.
    [mark@blackeee ~]$ lsusb
    Bus 001 Device 004: ID 0ace:1215 ZyDAS WLA-54L WiFi
    thanks for any pointers .

    i have a EDUP wifi adapter, that i would like to use with arch.
    the box states that linux is supported. but i dont know how to get the drivers to work.
    here is the out put of lsusb.
    [mark@blackeee ~]$ lsusb
    Bus 001 Device 004: ID 0ace:1215 ZyDAS WLA-54L WiFi
    thanks for any pointers .

  • I have an airbook, 10.7.4 LION, thunderbolt ethernet adapter and when trying to install 1.2.1 thunderbolt upgrade it says "this software not supported on this system"? Any advice on how to get the adapter to work?

    I have a new airbook, 10.7.4 LION, thunderbolt ethernet adapter and when trying to install 1.2.1 thunderbolt upgrade it says "this software not supported on this system"? Any advice on how to get the adapter to work?

    Welcome to Apple Support Communities
    If you purchased the computer before 2010, your computer hasn't got Thunderbolt, so you can't use it

Maybe you are looking for

  • ITunes not finding music files

    iTunes cannot find 90%+ of my music files. I manually linked them together over the last weekend (yucch) and today when I went into iTunes, the links were all broken even though the .mp3 files were in the same directories as before. I can manually fi

  • Warranty claim for B8000-H in Malaysia

    Recently bought a Lenovo B8000-H and happy with it, until i plug in a sim card & found the system shows invalid IMEI in the system & it just wont connect to 3G internet, so i send it for the warranty claim. But after a month of waiting there is still

  • Frequent error on feed posting - iTunes server problem?!

    Since last friday iTunes server has a frequent problem accepting feeds for review. I had the same experiences as mentioned before. All the messages in this board point to one thing: iTunes server - mainly error 5002 Can someone of Apples staff PLEASE

  • LOV's auto refresh and having unique values.

    Hi, I'm having LOVs connected with few attributes of a table, and those fields are used in view criteria of the table. This view criteria is used in the af:query component as search fields. To avoid the duplicates in the LOV, i created a separate vie

  • Hard IPL on partition with SAP instances

    Hello, Over the weekend we had a partition IPL itself (for reasons still trying to be determined - working with IBM).  Below is a list of things I'm compiling for us to walk through should this happen again (we hope it does not).  Volker helped us al