Re:Parameter field change from "STRING" to "DATE"

Hi All,
I am calling an BEx Query to Crystal frontend.
The BEx Query has an Variable Input ( Date Restriction ).
The Varaible data type is DATS.
But when I am calling the BEx Query to the Crystal front-end this varaible data type is taking as "STRING".
I could not change the type to date at font-end as it is in display mode.We have refreshed the query but no result.
Is there any way we can change the datatype at front-end ?
Thanks,
Surya Pydikondala

Please re-post if this is still an issue to the Business Objects Integration Kits - SAP
Forum or purchase a case and have a dedicated support engineer work with your directly

Similar Messages

  • How to pass simple parameter to XSLT from BPM 11g Data Association

    Is it possible to pass a simple parameter to an XSLT from a BPM 11g Data Association (11.1.1.6.0)?  Here is why I asked.  I have a transform that I want to reuse across two service activities in the same process.  The only difference is one integer ID value between the two activities.  (Happens to be running an IPM saved search, each with a different ID.)
    I tried mapping the ID value in the Data Association dialog, in addition to the XSLT mapping, but didn't work.  Or is there another method I could use to reuse this transform (besides just copying it as I've done for now)?  Thanks.

    If I understood your scenario, the point is: you always have to pass the same dataObjects as parameters to the XSL, but you can change the values of them in an association step before the transformation.
    Lets see if the following can fit your needs:
    1) your project has three BusinessObjects: "SearchParam", "CommonData" and "Result"; and five process dataObjects:
    - "search1", "search2" and "search" of type "SearchParam";
    - "commonData" of type "CommonData";
    - "result" of type "Result"
    2) your XSL has "result" as target and two sources: "search" and "commonData"
    3) In some part of the process flow you have a scriptTask with:
    - a data association from "search1" to "search";
    - a transformation with "search" and "commonData" as parameters
    4) In other part of the process flow you can use the same transformation, but using the data from "search2" as parameter, adding a scriptTask with:
    - a data association from "search2" to "search";
    - the same transformation with "search" and "commonData" as parameters
    In this scenario you are reusing the same XSL file only changing the values for one parameter.

  • Printing a PO change from me22n for z-field change  from subscreen

    I have incorporated a subscreen in PO me22n.Now I want to automatically trigger PO printing for any change done to this ztable-zfield on subscreen!
    I tried setting the customizing option where we can add our own print relevent field to trigger printing for PO.I added here my ztable-zfield .When I change this field via PO subscreen,it tries to trigger for ZNEU (my output) and fails with RED! stating no print relevant changes made to PO!
    I also tried triggering for a EKPO-Zfield by first setting the customizing and then triggering printing for a changed field...
    ANY LIGHT on this OR ANY KNOWN OSS HELP appreciated!Regards,Shankar

    Hi Jeet,
    I want the PO to automatically trigger the ZNEU output just like it successfully does for create mode.not from ME9F!
    In MM customizing > table  T166C is where we add print- relevant fields and table names -->whose value changes for any PO should trigger an output automatically.Apparently this is not recognizing change to a ztable-zfield or even ekpo-zfield  from a PO.
    Now  this field for my client's POs happens to be in my custom subscreen a ztable-zfield for line item in PO.
    Yes the messages,further data,communication method are all set proper.
    Since you mentioned,I also checked NAST and it has entry in NAST...that is why I am getting RED radio in messages..it is apparently trying to output and then it finds this field change for the PO is not print relevent field change!
    any light on how to trigger an output manually programmatically from userexit or something when ever this zfield in a PO is changed using Me22n ?

  • Depreciation rate change from a particular date

    Dear Guru's
    Can any body help me,  In my plant machinaries working 2 shifts now it is working only 1 ****.  
    my client is asking can we change the depriciation rate from a particular date onwards.  If we change the depriciation from a particular date what impact will be there,  is it will effect old values ?
    please suggest me.
    Regards
    Chandu

    Hi
    Yes, we can change depreciation rate from a particular period/ year onwards.
    For that you have to do configuration in Multilevel method ( T. Code AFAMS ). But you can not keep rate as per date. Suppose, for 2008, you want to maintain rate 210 upto 10 % and from 7th period, rate will be 20%, then
    AcqYear     Year         Period      Base Value     Rate        Reduct
    2008            1               6                1               10                 -                                                         
    9999           999            0                  1                20              -
    Rajib

  • Bank Key field change from database table

    Dear All,
    At our client, 4 house banks are maintained. The bank keys entered for these are not BSR Codes but something like 100,200,300,400.
    This is not correct as we need to maintain BSR Code in Bank Key field as it is required on Form 16 A (TDS Cetificate)
    The Bank Key field is in display mode. I am thinking of changing wrong value from database table T012 & BNKA .
    Has anybody done this before? Will it affect my past or future transactions?
    Thanks & regards,
    Gov

    Dear Gulshan,
    What you are saying is correct & I subscribe to your view also.
    Creation of House Bank all over again seems to be one of the better options.
    We tried doing one more thing & which is working fine on Development.
    Our primary requiremnt is to have BSR Code on the From 16 A. System picks up the Bank key for this.
    We copied the standard Form 16A & created a Z. Then abaper created a subroutine. It is like when Bank key 100 comes to Form16A, replace it with say 0098500 (Correct BSR Code of the Bank)
    This helped to get the correct BSR Code in Form 16A & saved us from recreation of House Bank data.
    Your comments are welcome.
    Regards,
    Gov

  • Convert from String to Date for storing in SQL Server 2000

    Hi,
    I've accepted some values from a user using a form in HTML.Now using Servlets I transfer the value to my java code .
    I want to know how can I convert a DATE accepted from the user thats presently in "String" format to the "datetime" format for SQL Server2000.
    Please guide me with some steps and I shall be grateful.
    Thanks

    The java.text.SImpleDateFormat class is most probably of use.
    SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
    String enteredDate = "25/12/2006";
    java.util.Date utilDate = sdf.parse(enteredDate);
    java.sql.Date sqlDate = new java.sql.Date(utilDate.getTime());You can then use the java.sql.Date with the "setDate()" method of a prepared statement. This method would be database independant, as you are setting an actual date, not depending on a specific format on the database end.

  • Conversion of date field format from char to dats

    Hi All,
    one issue with Date field.
    in my internal table i have a date field with type char(10).
    But when I upload the data to database through upload program,  there I have a date field with type "DATS".
    how do I convert and store it in "DATS " format in database.
    please help...

    HI ,
    Try this use  CONVERT_DATE_TO_INTERNAl
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
      EXPORTING
        date_external                  = "ur date from file
      ACCEPT_INITIAL_DATE            =
    IMPORTING
    DATE_INTERNAL                  =  "( date in dats format )
    EXCEPTIONS
      DATE_EXTERNAL_IS_INVALID       = 1
      OTHERS                         = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

  • Conversion from string to Date Query.

    Hi,
    I need a way to convert a date format which is in string to a date data type.
    String is in the following format : Tue Feb 27 16:00:31 PST 2007
    Have used the SimpleDateFormat class but it returns an unparseble data error.
    Any thoughts????
    Regards
    Sam W

    Please don't crosspost: http://forum.java.sun.com/thread.jspa?threadID=5142482

  • Converstion from String to Date

    Hi,
    I need a way to convert a date format which is in string to a date data type.
    String is in the following format : Tue Feb 27 16:00:31 PST 2007
    Have used the SimpleDateFormat class but it returns an unparseble data error.
    Any thoughts????
    Regards
    Sam W

    It's my first and second thought.
    The original poster never showed us the code that didn't work for him.
    It would have taken a whole two lines. When will people learn that
    the best way to get help is to post a short example program demonstrating
    their problem? I mean, it's not rocket science. Isn't it obvious that, instead
    of writing "my code doesn't work, I get this error and oh by the way, I'm
    not actually going to show you the format string that doesn't work" they could
    just post the durn code. But no, that would make too much sense.

  • Parsing from string to date object

    How can I convert a time in String format to a Date object?
    ie. 14:30:05(String) to 14:30:05

    How about this?
    String sDate = "14:30:05";
    StringTokenizer tokenizer = new StringTokenizer(sDate, ":");
    Calendar calendar = new Calendar();
    int hour = Integer.parseInt(tokenizer.nextToken());
    int minute = Integer.parseInt(tokenizer.nextToken());
    int second = Integer.parseInt(tokenizer.nextToken());
    calendar.set(Calendar.HOUR_OF_DAY, int hour);
    calendar.set(Calendar.MINUTE, int minute);
    calendar.set(Calendar.SECOND, int second);
    Date dDate = calendar.getTime();I didn't try it, but it should be pretty close (unless you want to use deprecated methods, then it can be shorter...)

  • From string to date

    thsi is the string format of date 10-jan-2005 but i want it in the format of java.sql.Date date format 10-jan-2005
    but its giving parse exception when i am doing that
    try {
                   dtTmp = new SimpleDateFormat("MM/dd/yy").parse(strTmp);
                   System.out.println(dtTmp);
              } catch (ParseException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              String strOutDt = new SimpleDateFormat("dd-MMM-yyyy").format(dtTmp);
              System.out.println(strOutDt);
    can you please help me on that as after getting the output in this format i am once again try to convert strOutDt in date format ,but its giving parse exception and i want the date format as 10-jan-2005

    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    public class datefr {
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String strTmp = "09/21/04";
              Date dtTmp = null;
              try {
                   dtTmp = new SimpleDateFormat("MM/dd/yy").parse(strTmp);
                   System.out.println(dtTmp);
              } catch (ParseException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              String strOutDt = new SimpleDateFormat("dd-MMM-yyyy").format(dtTmp);
              System.out.println(strOutDt);
              Date date =null;
              try {
                   date = new SimpleDateFormat("MM/dd/yy").parse(strOutDt);
                        System.out.println(date);
                   } catch (ParseException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
    the ouput is as follows
    Tue Sep 21 00:00:00 IST 2004
    21-Sep-2004
    java.text.ParseException: Unparseable date: "21-Sep-2004"
         at java.text.DateFormat.parse(DateFormat.java:335)
         at datefr.main(datefr.java:28)
    but as i told you i want the ouput 21-Sep-2004 as it is but now in java.sql.date

  • Dates receiving email has changed from today's date to thirty years ago

    Hello, starting receiving emails from a government department yesterday (11/12/2014) and these are dated 1/01/1970. Can anyone help me with this? All other emails from various other sources are dated correctly.

    If this is happening from just one sender then they need to adjust the date on their computer or host email server.

  • Convert from String to Date

    Hello,
    I have the following string: "Thu Apr 22 00:00:00 IDT 2004"
    and I need to convert it to Date object.
    I tried to use Date.parse() and Date.valueOf(),
    but then I get the IllegalArgumentException.
    How can I do this?
    Thanks.

    split ur string. get year,month,day in int
    time in long
    now it will work for u
         Date d = new Date(int year,int mon,int date);//Deprecated
         d.setTime(long time); //Sets this Date object to represent a point in time that is time milliseconds after January 1, 1970 00:00:00 GMT.
         System.out.println(d);
    Ignore that answer, please and DynaFest read the API!

  • Convert field value from Double to Date Time.

    Hi Every one.  Its been a long time since i have last posted on this site but i need some help again please.
    I want to convert a field value (saved as format double) to a date time value. I dont seem to find a function
    that can do this can anyone give me some help please?
    A sample would be to convert 40249.6588697106 to the format of Date Time being 12/03/2010 15:48:46
    Any suggestion?
    Thanks

    You can define a date time variable and use CDateTime.
    dim d as DateTime
    d = CDateTime(40179.55833333)
    formula = d

  • Conversion from string to date

    hi,
    Can someone tell me how can i convert a string "09/09/02" to date ......

    HaHaHa jboeing is Sooo instructional. Yes, please to read instructions, bang head for four hours and then do this -import java.util.*;
    import java.text.*;
    public class DateTest
       public static void main(String[] args)
          String dateStr = "09/09/02";
          Date date = new Date();
          SimpleDateFormat sDF = new SimpleDateFormat("MM/dd/yy");
          try{
             date = sDF.parse(dateStr, new ParsePosition(0));
          }catch(NullPointerException npe)
          {System.out.println("bad parse");}
          java.sql.Date sqlDate = new java.sql.Date(date.getTime());
          System.out.println(date.toString());
          System.out.println(sqlDate.toString());
    }

Maybe you are looking for

  • TS2755 How do I share a previous message with one person to another person later or can it be emailed

    How do I forward a message to another contact or email it?

  • DVD's no longer play in 10.4.11

    Both older and newer studio movies no longer play on my MacBook Pro after the last software update and can't figure out why. Thx for any tips.

  • Acrobat Pro Extended 9.3.1 - Can't use "Send for Shared Review"

    After the last update for Acrobat Pro Extended, I cannot send RoboHelp PDF generated documents for shared reivew. I used to be able to send draft reviews of the help (in PDF) using our public shared drive. The error indicates: "The filename you speci

  • Plug-in / colorspace errors

    I hope that this is a basic question with a simple solution. I'm running Illustrator CS2 (with the 12.0.1 update) and am having a problem with the standard Photoshop plug-ins that installed with it. What I'm trying to do is apply a Gaussian Blur (thr

  • Procedure problem

    i have two tables. CREATE TABLE temp1 USER_NM VARCHAR2(20), SET_NAME VARCHAR2(30),SET_ID VARCHAR2(20),join_dt VARCHAR2(30) CREATE TABLE temp2 USER_NM VARCHAR2(20), SET_NAME VARCHAR2(30),SET_ID VARCHAR2(20),join_dt VARCHAR2(30) insert into temp1 value