Needed Help on database lookups Scenario

Hi All,
I'm Trying work with database lookups and i wanted to do this scenario
[url]  /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler [url]
I need to retrive data from  DB2 database on my system im facing problems with the UserDefined Functions required for mapping .
in the code for user defined functions I'm assuming that DB-CHANNEL-NAME is the name of the communication channel to be used, But what is DB-SYSTEM-NAME?
Also im getting this error when testing mapping can anyone tell me why i'm getting this error?
Source code has syntax error:  D:/usr/sap/PI7/DVEBMGS20/j2ee/cluster/server0/./temp/classpath_resolver/Map4ed46ec333cd11ddc75b00188be4eace/source/com/sap/xi/tf/_MSGMap_DB_.java:68: ';' expected } ^ D:/usr/sap/PI7/DVEBMGS20/j2ee/cluster/server0/./temp/classpath_resolver/Map4ed46ec333cd11ddc75b00188be4eace/source/com/sap/xi/tf/_MSGMap_DB_.java:75: ';' expected } ^
Thanks & Regards
Sai Kumar Madduru.
Reward points for Helpfull Answers.

Hi,
  The "DB-SYSTEM-NAME" is nothing but the business service which is defined for that database in your Integration directory. In this business service only you have to define ur jdbc communication channel. So by giving the details of BS and CC you will get the DB connectivity during runtime.
Cheers!!

Similar Messages

  • Need help in "Hello world" Scenario using BPEL

    Hi All,
    I am trying to do one hands on scenario for modelling a simple business process using BPEL. I have gone though multiple documents but still I am not able to reach any particular conclusion for fixing my issue.
    At Present I have "JDeveloper Studio 11.1.1.7.0" and "Oracle Database Lite 10g" installed on my system. When i trying to execute the scenario["hello world"],(by going through the documentations provided) I am not seeing all the tabs/option on my JDeveloper.
    Could anyone please help me on this.
    Thanks in advance!
    Regards,
    Pallab

    Hi, Thanks for the reply. I got one link "https://java.net/projects/oraclesoasuite11g/pages/Home" which states the list of software's needed for this.As there was some installation issue i was not getting all the features. But now again I am stuck, the new issue that I am facing is -
    I am not able to install "Oracle Service Bus" as I am getting the command prompt window mentioning the JDK/JRE path. PFB the other details.
    File downloaded:  -ofm_rcu_win_11.1.1.7.0_64_disk1_1of1.zip (unzipped and got disk 1 and disk2 folders in it).
    Error info: Please specify JRE/JDK location (in command prompt window)
    System Details :Windows 7, 64 bit. JDK, 64 bit for windows 7 is installed on the system
    Options I tried:
    Provided the below path and tried
              C:\Program Files\Java\jdk1.6.0_30
              C:\Program Files\Java\jdk1.6.0_30\bin
              C:\Program Files\Java\jre6
              C:\Program Files\Java\jre6\bin
              C:\Program Files (x86)\Java\jre6
              G:\web_logic_server_installation\jdk160_29         (installation folder of WLS)
              G:\web_logic_server_installation\jdk160_29\bin    (installation folder of WLS)
    Even after selecting the path it prompts for JDK/JRE path every time, and it doesn't allow to go further.
    Could anyone please help me for fixing the issue.
    Regards,
    Pallab

  • Need help with database configuration

    Hi all,
    I have an Oracle 9i release 2 Database running on Windows server 2000. There I intend to insert data using a consol application. The program runs fine from other machines connected to it through lan and data is inserted all right. But when I run the program on the same machine as the database server, it gives the following error message
    "ORA-01843: not a valid month
    ORA-06512: at "FASTDB.SPINSMODSALESCENTERSMESSAGES", line 16
    ORA-06512: at line 1 .."
    The program is written in C# and the server has .NET FrameWork 2.0 and MDAC 2.6 installed.
    I don't understand if the program were wrong, then how does it run properly from other machines. And if it runs correctly on the other machines then why doesn't it run on the server machine..
    The procedure looks like this
    CREATE OR REPLACE PROCEDURE SPInsModSalesCentersMessages(pv_1MessageId integer,
         pv_2requestMsgs varchar2,
    pv_3replyMsgs varchar2,
    pv_4messageStatus integer,
         pv_5outStatus out integer,
         pv_6SerialNo varchar2,
         pv_7SaveDateTime varchar2)
    AS
    vn_IsMsgsId integer;
    BEGIN
         pv_5outStatus:=-1;
         SELECT count(1) into vn_IsMsgsId
         FROM TBLDataTranc_Client
         WHERE TBLDataTranc_Client.messageId = pv_1MessageId;
         IF vn_IsMsgsId = 0 then
              INSERT INTO TBLDataTranc_Client(messageId,serialNo,saveDateTime,resquestMsgStr,replyMsgStr,messageStatus)
              VALUES(pv_1MessageId,pv_6SerialNo,to_date(pv_7SaveDateTime,'mm/dd/yyyy hh12:mi:ss AM'),pv_2requestMsgs,pv_3replyMsgs,pv_4messageStatus);
         ELSE
              UPDATE TBLDataTranc_Client
              SET      resquestMsgStr=pv_2requestMsgs,
              replyMsgStr=pv_3replyMsgs,
              messageStatus=pv_4messageStatus,
              serialNo=pv_6SerialNo,
              saveDateTime=to_date(pv_7SaveDateTime,'mm/dd/yyyy hh12:mi:ss AM')
              WHERE TBLDataTranc_Client.messageId = pv_1MessageId
              and TBLDataTranc_Client.messageStatus =1;
              pv_5outStatus:=1;
         END if;
    end;
    Please help me if you can.

    Hi ...
    You can use a StatsPack for guess the best distribution memory with your DB needs.
    See metalink Note:228913.1
    Regards

  • Need help regarding database connection

    hello
    iam new to j2ee i am using Jsp,Ejb and Jboss server i need to connect to the oracle database with the above configuration wher can i find the tutorials can anybody help me please

    a word of advice - if you're new to jsp, jboss, and ejbs, and obviously know nothing about jdbc either, this isn't the way to learn it.
    start with the jdbc tutorial and see if you can get a single java class to connect to a database and execute some sql. then work up from there.
    what you're doing is something known as "biting off more than you can chew".
    %

  • Need help with database migration using export/import

    Hi,
    I am planning to do a database migration from 8.0.6 to 10.2.0.4. I am using export/import. Please answer some of my queries:
    1) Do i need to do full export using SYS/SYSTEM user.
    exp80 system/manager file=c:full.dmp log=c:\full.txt full=y consistent=y
    2) Will there be any data corruption while export.
    3) Is export/import the only method of migration/upgradation.
    Please help
    Thanks.

    I'll answer the specifics that I know about your questions, but please look at the post from Srini for additional info:
    1) Do i need to do full export using SYS/SYSTEM user.
    exp80 system/manager file=c:full.dmp log=c:\full.txt full=y consistent=yA full export will move as much information (metadata/data) as possible. In order to do a full export/import, you need to do this from a
    privileged account. A privileged account is one with EXP_FULL_DATABASE for export and IMP_FULL_DATABASE for import.
    2) Will there be any data corruption while export.The data in the objects that you are exporting is being read, nothing is written to user data. I'm not sure what this is available in 8.0.6,
    but if you need a consistent export, look to see if consistent=y is available in 8.0.6. All this means is that the dump file created will have
    consistent data in it.
    3) Is export/import the only method of migration/upgradation.If you are changing hardware, the only supported way from 8.0 to 10.2.0.4, that I know of, is using exp/imp.
    Hope this helps.
    Dean

  • Need help on database capasity planning

    Hi All,
    Basically I am JAVA developer, I need database help.
    User Interface(UI) screens design was completed as a part of Requirements study. Is there any way that to do database capasity planning and load in future?
    Thanks in advance,

    What we usually do in our shop is do some basic DB design as part of the requirement gathering stage. Just a quick idea of what the tables will look like, what queries will run, etc.
    This helps the DB team plan the db requirements, because once you know what data will sit in which table, you can say things like "This table will be populated once with 300 rows, that table will get about 3 new rows a day, but the other table will get 3000 new rows every minute", and now you know that as part of your requirements you show decide how long you want to keep data in that huge table (delete data older than a week? month? year?) and this allows you to calculate hardware requirements (especially diskspace, memory and IO). Then you look at the queries and get started about indexes...
    That was a huge question you asked. I hope this gave you some sort of a clue where to begin.
    BTW. If you find that you have lots of huge tables that grow fast, this may be the right time to hire a DBA :-)

  • Need help connecting database in Dreamweaver MX

    I'm using Dreamweaver MX, XP Pro and IIS. I installed the
    latest version of PHP (5.2) and have mySQL and the ODBC driver
    installed.
    I set up the testing site in Dreamweaver. Yet, Dreamweaver
    cannot locate my database(s).
    I followed steps to edit the PHP.INI file to work with
    Dreamweaver correctly, yet it's not working. However, now instead
    of getting "An unidentified error has occured", I'm getting the
    vague "HTTP Error Code 500 Internal Server Error" error.
    PHP was installed manually at first but that didn't work
    right so I reinstalled it using the auto install. It should be
    accurate, only I can't see where I would enter the path to the
    database files; there is no line for that in the SQL section. But
    it's in the default directory so it should know where it is
    automatically ... ?
    Help???!!! Can someone walk me through the steps to see why
    it isn't pointing to the databases?

    Bump.

  • Need help in design the scenario sending data to web service

    Hello All,
    I need to send data to web service and get the response back.
    i want to use HTTP to soap Scenario.Please let me know the necessary steps in the scenario.
    Thanks and Regards,
    Chinna

    Hi Chinna,
    > i want to use HTTP to soap Scenario.Please let me know the necessary steps in the scenario.
    Split this into 2 scenarios
    1. HTTP to SOAP (Request) treated as Asynchronous.
    2. SOAP to HTTP (Responce) treated as Asynchronous.
    For HTTP to SOAP synchronous scenario
    Here the receiver side request and responce structures no need to create, the receiver client will provide you the XSD file, on that XSD file having the request and responce message structures, so you have to import that to XI server as External definition.
    For sender HTTP you have to create 2 data types, 2 message types as well as 2 message interfaces, 2 message mappings for request and responce messages and 2 service/Message interfaces (HTTP is outbound and SOAP is inbound).
    Configuration objects are same.
    Regards
    Ramesh

  • Need help in database industry

    I am doing a project in Database Software Industry and will very much
    appreciate if you can help me understand the following:
    1) What database do you currently use, what Operating System it runs on, and
    are you using any database options?
    2) Over the next 6 - 12 months are your going to buy more database or any
    databse options, if so which ones?
    3) What do you like the most in your current database product?
    4) Any specific issues you find in your current product?
    5) Are you using any open-source products, if so which ones and for what
    prime reason?
    6) How would you compare Oracle, DB2, MS-SQL , Sybase and OpenSource?
    7) Are you switching any database in favor of an alternative - if so which
    ones?
    8) What trends are you seeing the the database market in general?
    Thanks

    I was glad I came across this note. I recently started a tutorial on J2EE , and have run into exactly the same error. Have you found a solution? Can you share it with me?
    Thanks.....

  • Need help for configuring integration scenario for AII

    Hi,
    We are referring to "RFID-Enabled Outbound Processing: Configuration Guide" for transferring materials from ECC to AII through XI.
    So far we have been successful sending the IDOC to XI.
    When we display the XML message in XI using IDX5, we get the error message "No receiver could be determined".
    I request you to help us with the configuration of the integration scenario in XI.
    Regards.
    Gaurav

    Hi Yogesh,
    Thanks for reply.
    Maintaining XI Directory configuration
    u2022 Generate business scenario using business scenario configurator
    u2022 Creating a scenario
                      It is fine upto these two steps
    u2022 assigning business systems
                      We have assigned "AII" business system
                      only (receiver)
    u2022 creating communication channels
                       Following parameters are set for comm channel
                        Adapter type: HTTP
                        Configured as Receiver
                        Transport Protocol: HTTP: 1.0
                        Message Protocol: XI payload in HTTP Body
                        Adapter engine: Integration server
                        Addressing type: URL Address
                        Target host: <name of AII system>
                        Service number: <service no>
                        path prefix: /sap/xi/engine?type=entry
    u2022 defining receiver determinations
    u2022 defining interface determinations
    u2022 defining receiver agreements
                       All these were generated automatically
    Are these configurations alright?
    Regards,
    Gaurav

  • Need help with a Webdynpro scenario

    Hi,
    I have the following scenario.
    I have a webdynpro application (form) which allows the user to change some data. When the page loads, the data already available is displayed in the corresponding UI elements in the form. This is done using a BAPI call. Then after the user modifies the values and clicks modify, the corresponding values should be updated using a different BAPI call.
    Here, for displaying the values at first, I have mapped the view context to the controller context and in turn to the corresponding model. But to update using a different Model class, how can we map the updated values dynamically, say on submit? Can the view context attributes, mapped to multiple controller context attributes? Or is there any other way to acheive this.
    I have another question. I have a dropdown UI element in the same application. It is populated with data coming from a BAPI call. But how can we set the selected value to the one which the user has already stored previously? Remember, the user is modifying the values.
    thanks in advance!
    KK

    Hi KK,
    You can achieve the same by copying the UI attributes to a new node in the controller using copy corresponding( i am assuming your node structure and name remains same). You can then pass this node to the 2nd BAPI.
    and when you get the next display the 1st BAPI will get you updated data.
    For the UI dropdown also, you can persist the data in a value node and then check if the dropdown model node for this element and set it default. OR there needs to be some sorting in the BackEnd.
    Kind Regards
    Asif

  • Hello. need help on this sales scenarios.

    Hi All
    SCENARIO 1:
    Order Processing:
    company X is an export oriented unit in india. It exports goods to company Y on behalf of company Z which is in India. In short Company Z is the sold to party and company Y is the ship to party for X.
    Raw material purchase:
    Comp-any Y funds company X for purchase of raw materials.
    Shipping:
    Company X ships the finished goods to Z and sends all the export documents to Y for negotiating with the Z's banker. Company Z transfers the money to Z ( It is an L/c transaction).
    Billing:
    Company X sends only a commercial invoice to Y along with other shipping documents. After receving the final payment from Z ( which is according to the prevalent exchange rates, this can defer from the exchange rates during excise invoice generation), company  Z deducts all its expenses like bank charges for L/c negotiation, loss/ profit due to currency fluctuation etc and sends the final payment advice to company X. Based on this advice company X generates a final invoice which reflect all the expenes ( payable to Y) with the final amount receivable.
    My Question. Is this a standard sales scenario which can be mapped into SAP i.e order,delivery, billing? If yes how do we configure it? If no please give me suggestions on this scenario can be configured.
    Thankyou in advance for all the help.
    Eagerly waiting for your reply.
    Prashant Joshi.

    Hi
    Please provide detailed information on
    1) what you want to do
    2) how do you do it (code examples)
    3) the error message
    After that we can try to help you,
    Peter

  • Need help with a lookup on a IDoc element for BPM

    Hello All,
       I was wondering if there is someway that I can lookup on the <b>E1EDKA1</b>segment and get the value of <b>NAME1</b> where the value of <b>PARVW = LF</b> in BPM. I appreciate any help.
    Thanks
    Message was edited by:
            Balu Yalamanchili

    HI,
    To get value of element/container variable , you cna use first context object, based on context object put switch (aslo some block/fork step ) with condition , stating that if that value of context element is matched then put control step to raise alert.
    i think you got this ,if not please let me know to explain clearly.
    Any way please see some links regarding alert..
    /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards
    Chilla..

  • NEED HELP WITH DATABASE WEB SERVICE INTEGRATION

    Hello everybody. I have created a web service with returns a list of records extracted from a database. It works, Apex references the web service and get the result when I test it, but I want to display results in a page type "Form and Report on Web Service" and when I associate the web service to the page and click on "Finish Button" I get this message:
    "This Web service does not have a result tree in its definition that is appropriate for a report. You may wish to run the Form on Web Service wizard instead.".
    It is correct, of course, but I do not have an example of how to do an appropriate definition for this kind of report.What kind of definition is it waiting for? What I do in the web service is to return a list of items (a resultset of a query such as "SELECT PRODUCTID, PRODUCTNAME, PRICE, IMAGEHREF FROM PRODUCTS") concatenated in a string (commas-separated values). What kind of output must the web service produce or how have I to structure the associated wsdl document in order to display the result with a "form and report on web service" page?
    Every help or example is welcome.
    Thanks a lot and have a nice day
    Stefano-ITALY

    i saw that it is giving this below error but not sure why ??
    org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method registerEmployee
    at org.apache.axis2.util.Utils.getInboundFaultFromMes sageContext(Utils.java:486)
    at org.apache.axis2.description.OutInAxisOperationCli ent.handleResponse(OutInAxisOperation.java:343)
    at org.apache.axis2.description.OutInAxisOperationCli ent.send(OutInAxisOperation.java:389)
    at org.apache.axis2.description.OutInAxisOperationCli ent.executeImpl(OutInAxisOperation.java:211)
    at org.apache.axis2.client.OperationClient.execute(Op erationClient.java:163)
    at webservice.EmployeeServiceStub.registerEmployee(Em ployeeServiceStub.java:488)
    at webservice.EmployeeClient.main(EmployeeClient.java :22)can anyone suggest why this might come ?
    thanks

  • Need help on Database recovery

    Hi All,
    My Development system got crashed, I want to do the database recovery. i tried to do it, but it didn't work. Some of the data files got corrupted. can any one helps me out in this.
    Thanks,
    Swetha.

    thx

Maybe you are looking for

  • Help with photos in project???!!

    Hello, I just bought an iMac about a month ago so that I could edit home movies and create DVD's of family vacations/events to share with my family. I have done this in the past on the PC with Pinnacle Movie Studio Software but it was buggy and more

  • Customer check payment details

    Hi, I need the database table for customer check payment details. My client is asking the report with these fields: Customer, Paid amount, Paid Date, Payment Mode, Check No, due amount, due date etc. Due date, due amount i can get from BSID table and

  • Beta of ODT for VS 2008 Beta 2

    I have installed Visual Studio 2008 Beta 2 on a machine and would like to have a beta of ODT for VS 2008 Beta 2. The beta that is available today have an ODT for VS2003 and VS2005 but not VS2008 (beta 2)

  • Role-based view commands missing from config

    Hi All, I set up a 2960G with IOS 12.2(44)SE6 and created a role-based view to be used by our helpdesk.  One of the things they need to do is add rules to a MAC ACL on the switch.  I've successfully created a view for them and can include and exclude

  • EDI sales order line items that can not fulfilled and completed.

    Dear all, My requirement I have multiple EDI customers that send in orders daily where their requirements is that if the ordering item qty can not to fulfilled on the day then the line item in question on the corresponding created sale order needs to