Receiver based date transformation

Hi,
We have a scenario where we need to map the date to the  receiving databases. We have the same map going to oracle receiver and a mySQL receiver. The date formats of both the databases are different. How can this be handled within the same map ( like receiver based date transformation) or does it need to go throught the traditional route of different maps for different JDBC receivers? Any help is appreciated..
Teresa

Teresa,
Yes, I have the same payload going across to both DB at the same time. THe payload to mySQL is failing because the date format is in oracle transformation. I was wondering whether this could be done without doing 2 different maps.
Yes, you can do it in the same mapping.
For two different receivers, you must be having two different Business Services? If yes, then get the values of receiver BS in your mapping and do a simple condition test. Apply the date transformation logic accordingly.
For getting the Receiver Service name, you can either use the "Receiver" under "Constant" standard function or use the following UDF -
String RcvService;
java.util.Map map;
map = container.getTransformationParameters();
RcvService = (String) map.get(StreamTransformationConstants.RECEIVER_SERVICE);
return RcvService;
You can change the above code as per your requirement.
Hope this helps.
Regards,
Neetesh

Similar Messages

  • Send and receive UDP data package based on siemens TC65 module

    Everyone:
    I am newer for J2ME. I have a TC65 module, I want to get a sending and receiving UDP data package exeample codes running on TC65. who can help me? thanks!

    Hi deepspace,
    I programmed a demo codes and run it on TC65T, debug trace like :
    at^sjra=a:/NetDemo.jar
    OK
    NetDemo: Constructor
    NetDemo: startApp
    NetDemo: Profile could not be activated
    NetDemo: destroyApp(true)
    // below is demo codes, can you help me where error is?
    package example.netdemo;
    import javax.microedition.midlet.*;
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.io.Datagram;
    import javax.microedition.io.DatagramConnection;
    public class NetDemo extends MIDlet {
    public NetDemo()
    System.out.println("NetDemo: Constructor");
    public void startApp() throws MIDletStateChangeException
    System.out.println("NetDemo: startApp");
    try
    DatagramConnection conn = (DatagramConnection) Connector.open("datagram://58.185.157.91:12003");
    byte[] buffer = new byte[32];
    Datagram dgram = conn.newDatagram(buffer, buffer.length);
    for (int i = 0; i < 30; i++) {
    buffer[i] = (byte)('0' + (i % 10));
    conn.send(dgram);
    catch (Exception e)
    System.out.println("NetDemo: " + e.getMessage());
    destroyApp(true);
    public void pauseApp() {
    System.out.println("NetDemo: pauseApp()");
    public void destroyApp(boolean cond) {
    System.out.println("NetDemo: destroyApp(" + cond + ")");
    notifyDestroyed();
    }

  • Help with exporting forms based data to Excel 2007

    I have a user who is attempting to export forms based data to Microsoft Excel 2007 and when he attempts this he receives a message stating that Windows does not recognise this file type (tsv). I am not too familiar with Office 2007 so I am unable to direct this users as to how to correct this issue.
    Is someone able to give me the navigation path to help me to assist this user? thanks

    Did you verify the file type from Windows Explorer?
    1) Right click on My Computer > Explore
    2) Go to Tools > Folder Options
    3) Click on File Types tab
    4) Check if TSV file is defined there or not. If it is not there, click on New and add the File Extension

  • Data Transformation Service (DTS) available in Oracle SQL Developer?

    Hi All,
    Sorry to bother you again. Is Data Transformation Service (DTS) available in Oracle SQL Developer? So far I cannot find it. For example, i want merge First Name, Last Name column from Access,excel or cvs to migrate as Full Name in Oracle or Full name in Access,Xls or cvs split into First name & last name column in Oracle. What method or service should I use.
    Regards,
    Tun Tun

    On wikipedia, I see that's a SQL Server component, so I don't think it's possible to use it in any other program.
    But you can always tweak columns through normal queries, and even create a new table based on that, like
    CREATE TABLE Table_New AS
    SELECT First_Name || Last_Name FROM Table_OldHope that helps,
    K.

  • Data Transformation File

    Hi,
       Can any of you explain me the purpose of Data Transformation File ???
       How to use Script logic based on BADI in SAP BPC? Do we need to call in Default.lgf ???
       If i want to apply some custom logic while populating data using BADI, do i need to call that BADI in Data Tranformation file?
    Thanks,
    Ben.

    Hi Ben,
    There is no possibility of calling userdefined scripts or BADI from transformation files.The main use of transformation file is to map data from source to destination.
    If you require data load based on some filter criteria there are certain functionalities available for transformation file creation which u can find in the below link.
    http://help.sap.com/saphelp_bpc70sp02/helpdata/en/66/ac5f7e0e174c848b0ecffe5a1d7730/frameset.htm
    Hope this helps,
    Regards,
    G.Vijaya Kumar

  • Data transformation Service

    I need to add data to a oracle data mart from a variety of databases or files created from these databases. Microsoft has the DTS product that aids in performing data mappings and scripting data transformation from the source to the destination database. Is there an Oracle equivalent of this product. Loader does not measure up to what is needed.

    On wikipedia, I see that's a SQL Server component, so I don't think it's possible to use it in any other program.
    But you can always tweak columns through normal queries, and even create a new table based on that, like
    CREATE TABLE Table_New AS
    SELECT First_Name || Last_Name FROM Table_OldHope that helps,
    K.

  • Sending inbound payload toanother receiver based on the first receiver resp

    Hi all
    Sending inbound payload to another receiver based on the first receiver response.
    My Scenario is like
    File to WebService. Once it receive the response from the web service i want to send webservice inbound payload to another file system.
    can anyone plz provide me the steps to achieve this one
    Thanks in advance
    Regards
    Rams

    File to WebService. Once it receive the response from the web service i want to send webservice inbound payload to another file system
    once again,
    File systems A -> FileA -> WS.request message -> WS
    WS responds back with WS response message
    1. now do you want to send the WS response message to File System A?
    then follow the blog mentioned in above responses
    2. do you want to send the WS response message to File System B?
    follow the blog. only difference in the receiver determination from BPM to file sys use the File system B as the receiver and configure file receiver adapter with that file systems detail
    3. do you want to send the WS request message to File System A?
    same blog only difference is after sync send step you will have to have another transformation that will map the WS request message to the req. target
    4. do you want to send the WS request message to File System A?
    same as 3. only receiver sys and CC details will change

  • GPShell: 0x80100008 (The data buffer to receive returned data... )

    Hi all,
    My test applet generate response of zero bytes of length based in Le field in APDU command. When I require up to 256 bytes, responses are OK.
    Problem occurs when I expect e.g. 257B (Le = 0x000101), in this case I've got following error:
    send_APDU() returns 0x80100008 (The data buffer to receive returned data is too small for the returned data.
    Here is my script:
    mode_211
    establish_context
    enable_trace
    enable_timer
    card_connect
    select -AID 4269426F4170706C6574
    send_apdu_nostop -sc 0 -APDU 80070000000101
    card_disconnect
    release_context
    I note that when I run it via JCShell everything works fine.
    Can somebody help me to solve my problem? Any ideas?

    thank you for your hint.
    smartcardio API is very comfortable tool. now I'm able to return up to 8190B otherwise error in my new thread :)
    sun.security.smartcardio.PCSCException: Unknown error 0x1f
    thanks again

  • I am receiving the data through the rs232 in labview and i have to store the data in to the word file only if there is a change in the data and we have to scan the data continuasly how can i do that.

    i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it.  I am gettting the data from rs232 interms of 0 or 1.  and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer

    I have attatched the vi.  Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off.  suppose if 0 comes the corresponding data status is wrtten into the text file.  But here the problem is the same data will be printed many number of times.  so i have to make it like if there is a transition from 1 to o then only print it once.  how to do it.  I am doing this from few weeks please reply if you know the answer immediatly
    thanking you 
    Attachments:
    MOTORTESTJIG.vi ‏729 KB

  • Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    As long as the profiles are different (ex. HID vs AD2P) you will not have any issues. But say if you try to use 2 keyboards at once, it won't work. Or 2 headsets at once. Your scenario seems fine.

  • E-mail are received as DAT file instad of PDF

    Hi All,
    Please try to assist in this strange topic:
    When I try to send an e-mail via the SBO (press on the envelope button and choose u2018yesu2019 when
    the option u2018Would you like to attach an edited report to the e-mail?u2019 is display), the receiver is received a file with u2018DATu2019 extension and not with PDF extension and the receiver canu2019t open the file.
    I have tried to uninstall the acrobat reader 9 and install instead Foxit 3.1, but the problem still
    persists.
    In addition, I have found the this issue is reproduced only when the customer is using the Hebrew interface of SBO and the PDF file name is in Hebrew.
    When I switched to English interface of SBO, then the PDF file name is in English and the file is received correct (As PDF file).
    Another thing is that when you send the e-mail via the SBO (with the attached PDF) and open it
    on outlook (e.g. 2007), the file is received as DAT file,
    However If you open the e-mail on web mail (e.g. GMAIL), the file is received as correct PDF file, But when you send a regular e-mail (not via the SBO) with the attached PDF file and open it on outlook, the file is received As PDF file.
    Thanks,
    Erez

    I am afraid that there is a syntax or some codes in the interface that make the pdf converted into DAT file. You should ask the technical consultant or someone that developed the interface to make sure about it.
    If not, probably,  there is a problem with your current SAP B1 version. You could try to upgrade to the latest PL version of your current B1 application and then try again this case. if this is happened in the latest version, log a message to SAP Support.
    JimM

  • SAP R/3 and JAVA based data base

    hi,
    I have two data base one is SAp r/3 and another is JAVA based.
    i need to link one table from Sap r/3 and one from JAVA based data base.
    using crystal reports how can i do this????
    thanks

    hi,
    in Crystal reports go to data base expert in the pop up link JAVA based data base using JDBC and connect SAp r/3 using SAP.
    You will be able to get SAp menue only if you are using crystal reports version 2008 or version 12.
    Once the connection is established select the tables you require and rest remains same.
    Thanks.

  • I am having problems interacting with Microsoft Office programs since the last update:cannot create a pdf through the 'print' menu in exel and both Word and Exel docs sent in Mac Mail end up being received as .dat files.

    I am having problems interacting with Microsoft Office programs since the last update:cannot create a pdf through the 'print' menu in exel and both Word and Exel docs sent in Mac Mail end up being received as .dat files.
    Both these situations have cropped up on my MacBook Pro since the last update.
    Thanks for your help.
    Cheers
    Bob

    The 'Winmail.dat' problem has been extensively covered in these forums, I would search for that (a Google search works well) and unfortunately I have not seen the pdf print problem before, but assuming the software is current and functions normally (other than the pdf print problem) I have no suggestion other than the obvious (but time consuming) re-installation of Office.
    I wish I had more

  • Date Transformation  - "Unparseable date error"

    Hi,
    I am getting an "Unparseable date error", my source date format (from IDOC) is 27102006, in the target format it should be along with the time stamp like 27102006132010.  I tried using the date transformation function and I am getting the following error:
    “RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /SiebelMessage/ListOfAssetManagement/ListOfAssetMgmt-Asset/AssetMgmt-Asset/InstallDate. The message is: Unparseable date: "27102006" “.
    solicit ur inputs!!!
    Thanks & Regards
    Viji

    Hi,
    Check your  java code in Message  Mapping,  Check out  whether  you  have  declared the data typr  exactly and again  import the java code  and activate the objects.
    Regards
    Agasthuri Doss

  • Role based data visibility is not working in Round manager

    I am looking for role based data visibility in Syclo round manager application where technician will see the data which is assigned to his name only (not all the data)  I have created one custom role in SAP system and it's working fine .It's showing the below message :
    Now I want to implement the same in syclo round manager .So I went to the SAP configuration panel and set the same user role on the security setting in class handler .Z_SYCLO_RM_ROLE is the custom role which I mentioned earlier .I tried with different option in this tab but it's not working .
    Please let me know if I missed something to mention or is there any other process I need to follow .
    Tags edited by: Michael Appleby

    is not working Insufficient information. In what way is it "not working"? The page doesn't render as required? There's an error message? The browser crashes? The server room has been trampled into dust by a herd of buffalo?
    >
    I am unable to make it as page form / report.
    v1 := v1 || ' ' ||'<input inline type =submit style="color:BLUE;background-color:RED" value='||c2.plot_id||'>';
    ...It is not possible to generate form elements in an APEX page in this way. The [APEX_ITEM API|http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_item.htm#CACEEEJE] is the only way to create APEX items in PL/SQL. However it contains no procedures to generate button items, so an alternative design is required in this case, e.g. a report with links.
    (Also what is the intention of "inline" in the above code? [There is no *inline* attribute|http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.4].)

Maybe you are looking for

  • 11.7.700.169 exe won't run

    I'm trying to install 11.7.700.169 on 64-bit Windows 7. I've tried via Chrome, IE and Firefox. Each time I download and open the exe file, but when I click "run" nothing happens. I know in Chrome there is that Technote about it already being part of

  • How do I save PMS colors in a PDF file?

    I am trying to save my illustrator file as a PDF. I am using PMS colors in the file, and when I save it as a pdf those colors turn gray. However, when I export it to a jpg the colors show up fine. Does anyone know how to fix this or what is causing i

  • Print from .csv or .txt file

    Hello Experts, I am new to ABAP development. Is there any way to print the content of an .csv or .txt file. For example my report will have a selection screen where we will upload a file containing "Hello world" when we execute the output screen will

  • What to check when comparing query performance in 2 envs

    I have a query that executes in 1 sec in env A. Env A was initially was 9.2.0.5 and later upgraded to 9.2.0.6. The same query executes in 1 min 30 secs in Env B. Env A has always been on 9.2.0.6. The query plans and stats are same in both the environ

  • Does keeping "my photo stream", "photo sharing", and "siri" always on drains my iphone battery?

    Does keeping these features makes my iphone drain faster? I always use wifi and not 3g. If so, does it affect the battery life even if i have no wifi available? Thanks in advance :)