Date Picker for Query Variable

Hello,
I have a query, which has a input variable as date. For the Query Variables when i drag and create an input form, i have the field as input field. How do i change this field to a date picker drop down...I do not get any option to make it as a date picker/calendar...
REgards,
Vikram

Hello Vikram,
If I understand correctly, the field type is String, but it represents a Date. You want to be able to edit it as such.
1. In the input Form open the Define Data dialog (using the Right Click context menu) and add a field of type Date (letu2019s say its name is u201CDATE1u201D).
2. On the link between the input Form and the Service Open the Map Data dialog using Right Click => Map Datau2026
3. Find the relevant Field Assign in the table. Here you want to get the Date value converted into a String. From the Assign Value drop down you can choose Define Expression to open the Dynamic Expression Editor (you can skip this and write the value yourself in the Assign Value input if you know what to write).
4. On the right hand side you have model elements and functions to create an expression. You can use the function DSTR(@DATE,[format]) u2013 where parameter 1 is the Date field and parameter 2 is the Format (optional). The function returns a String representation of a given Date.
5. Your expression can look like this for example: =DSTR(@DATE1,"dd/mm/yyyy"), assuming the name of the new Date field in the Form is DATE1.
6. You can remove the old Text field from the Input Form if you donu2019t need it u2013 using the Define Data dialog.
Hope this helps,
Udi

Similar Messages

  • How can I do for a row of a query be data provider for a variable?

    Hi friends, I have a problem !
    How can I do for a row of a query be data provider for a variable?
    I need that a value of variable be stored when the user select a row in a query. At the BPS we can do this configuring the variable selector in WIB, and in a WAB how I can do this ?
    Best regards,
    Gustavo Liberado

    In this case when I press the key to call other forms I need to wait for the response in the secondary form and then process the result.That is exactly what a "modal JDialog" (or JOptionPane) are used for.
    Try it. Create a short demo program. All you need is a JFrame with a single button to show the modal dialog. All you modal dialog needs is a single button to close the dialog. After you show the modal dialog add a System.out.println(...) statement in your code and you will see that it is not executed until the dialog is closed.
    Then once you understand the basics you add the code to your real program.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • No data Found for Query with hierarchy in 2004S SP10 in JAVA Stack

    Hello,
    I have typical issue while running the simple query in ABAP Web and JAVA Web (RSRT) with One row and one column. The char in the row is restricted with external hierarchy.
    If I run in ABAP web, I get the results.
    If I run in JAVA Web, No data found message displayed.
    Does any one come across this issue. Tried to get SAP note but not clear solution.
    If any one give me information where I can find the values used for query variable in the dictionary tables I might help in my investigation.
    Advanced thanks.
    Ramana

    Hello,
    Sorry I missed a point.
    The char on which the hierarchy is resferencing char. Effectively using the hierarchy of referenced char.
    Thanks.

  • How to change date format for prentation variable in Formula

    Hi experts.._
    I need to change date format for presentation variable in formula..
    my dashbord date prompt format: mm/dd/yyyy(i have created one presentation variable for this prompt: pv_date)
    now i need to show it as : month-dd-yyyy
    Thanks in advance
    Regards
    Frnds

    Hi Kishor...Thanks for reply...
    But i need to change my precentation variable date formt...
    i need to write one text like: 'Year to dd/month/yy' in one column formula..
    So how can i achieve it..

  • Date picker for af:inputDate   is not picking up the correct input date

    view source:
    <af:inputDate value="#{bindings.DateField.attributeValue}" label="#{bindings.DateField.hints.label}"
    required="#{bindings.DateField.hints.mandatory}"
    valueChangeListener="#{pageFlowScope.CollectApplicantInformation.datesItemChanged}"
    columns="#{bindings.DateField.hints.displayWidth}" shortDesc="#{CustomTooltip[DateField]}"
    autoSubmit="true" helpTopicId="AppDt" id="DateField" simple="true">
    <f:validator binding="#{bindings.DateField.validator}"/>
    *<f:converter converterId="CustomConverter"/>*
    </af:inputDate>
    Here I am not using <af:ConvertDateTime> insted using customConverter, so what code changes do I need to make sure the date picker always picks the already existind date in the inputDate rather picking the current date?
    Here is my CustomConverter.java
    CustomConverter.java
    public class CustomConverter extends DateTimeConverter implements ClientConverter, Converter
    public Object getAsObject(FacesContext context, UIComponent component, String value)
    String dataType = (String) resolveExpression("#{bindings." + component.getId() + ".attributeDef.javaType.name}");
    if (dataType != null && !dataType.equalsIgnoreCase("oracle.jbo.domain.Date") && !dataType.equalsIgnoreCase("oracle.jbo.domain.Timestamp"))
    String test = null;
    if (context == null || component == null)
    throw new NullPointerException();
    if (value != null)
    // To solve DB transaction dirty issue, Check isEmpty and return null.
    if (value.isEmpty())
    return null;
    // the "value" is stored on the value property of the component.
    // The Unified EL allows us to check the type
    ValueExpression expression = component.getValueExpression("value");
    if (expression != null)
    Class<?> expectedType = expression.getType(context.getELContext());
    if (expectedType != null)
    System.out.println("expectedType Value:::" + expectedType.getName());
    // try to convert the value (Object) to the TYPE of the "value" property
    // of the underlying JSF component
    try
    return TypeFactory.getInstance(expectedType, value);
    catch (DataCreationException e)
    String errorMessage;
    if (expectedType.equals(CustomNumber.class))
    errorMessage = "You can enter only Numbers in this field";
    else
    errorMessage = e.getMessage();
    if (errorMessage != null)
    FacesContext ctx = FacesContext.getCurrentInstance();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Invalid Format" , errorMessage);
    ctx.addMessage(component.getClientId(), fm);
    catch (CustomDomainException e)
    int errorCode = e.getErrorMessageCode();
    String[] errorMessage = e.getErrorMessageParams();
    if (errorCode == 7 && errorMessage != null)
    String msg = "Invalid " + errorMessage[0];
    FacesContext ctx = FacesContext.getCurrentInstance();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Application Error: ", msg);
    ctx.addMessage(component.getClientId(), fm);
    catch (JboException e)
    Throwable cause = e.getCause();
    if (cause == null)
    cause = e;
    test = "not good format";
    throw e;
    return null;
    else
    return value != null? value: null;
    public String getAsString(FacesContext context, UIComponent component, Object value)
    return value != null? value.toString(): null;
    public String getClientLibrarySource(FacesContext context)
    return null;
    @Override
    public Collection<String> getClientImportNames()
    return Collections.emptySet();
    @Override
    public String getClientScript(FacesContext context, UIComponent component)
    String formatMask = (String) resolveExpression("#{bindings." + component.getId() + ".format}");
    if (formatMask != null)
    String dataType = (String) resolveExpression("#{bindings." + component.getId() + ".attributeDef.javaType.name}");
    if (dataType.equalsIgnoreCase("oracle.jbo.domain.Date") || dataType.equalsIgnoreCase("oracle.jbo.domain.Timestamp"))
    if (component == null)
    _LOG.severe("The component is null, but it is needed for the client id, so no script written");
    return null;
    // Add a JavaScript Object to store the datefield formats
    // on the client-side. We currently store the format string
    // for each and every field. It'd be more efficient to have
    // an array of formats, then store for each field the
    // index of the format, especially if we could delay outputting
    // these objects to when the <form> closes.
    String clientId = component.getClientId(context);
    if (clientId != null)
    // =-=AEW Only if Javascript...
    Map<String, Object> requestMap = context.getExternalContext().getRequestMap();
    // this fetch could be at the place where we append, but has been
    // moved ahead to optimize use of StringBuilder
    String jsPattern = getJSPattern(context, component);
    String loc = _getLocaleString(context);
    // FIX - figure out size!!!
    // 127 chars for javascript + length of jspattern + locale + 12 chars for
    // tranforming to name in the worst case.
    StringBuilder buff = new StringBuilder(139 + jsPattern.length() + loc.length());
    if (requestMap.get(_PATTERN_WRITTEN_KEY) == null)
    requestMap.put(_PATTERN_WRITTEN_KEY, Boolean.TRUE);
    // only create the _dfs object if it doesn't exist, so we don't
    // wipe out _dfs[xxx] values if we ppr the first date field on a
    // page with multiple date fields.
    buff.append("if(window['_dfs'] == undefined){var _dfs=new Object();}if(window['_dl'] == undefined){var _dl=new Object();}");
    buff.append("_dfs[\"");
    buff.append(clientId);
    buff.append("\"]=");
    buff.append(jsPattern);
    buff.append(";");
    buff.append("_dl[\"");
    buff.append(clientId);
    buff.append("\"]=");
    buff.append(loc);
    buff.append(";");
    return buff.toString();
    else
    LOG.severe("NULLCLINET_ID_NO_SCRIPT_RENDERED");
    return null;
    else
    return null;
    else
    return null;
    private String _getLocaleString(FacesContext context)
    Locale dateTimeConverterLocale = getLocale();
    if (dateTimeConverterLocale != null)
    Locale defaultLocale = RenderingContext.getCurrentInstance().getLocaleContext().getFormattingLocale();
    if (!(dateTimeConverterLocale.equals(defaultLocale)))
    String loc = dateTimeConverterLocale.toString();
    StringBuffer sb = new StringBuffer(2 + loc.length());
    sb.append("'");
    sb.append(loc);
    sb.append("'");
    return (sb.toString());
    return "null";
    @Override
    @Deprecated
    public String getClientConversion(FacesContext context, UIComponent component)
    String formatMask = (String) resolveExpression("#{bindings." + component.getId() + ".format}");
    if (formatMask != null)
    String dataType = (String) resolveExpression("#{bindings." + component.getId() + ".attributeDef.javaType.name}");
    if (dataType.equalsIgnoreCase("oracle.jbo.domain.Date") || dataType.equalsIgnoreCase("oracle.jbo.domain.Timestamp"))
    String jsPattern = getJSPattern(context, component);
    Map<String, String> messages = new HashMap<String, String>();
    if (jsPattern != null)
    Class<?> formatclass = formatMask.getClass();
    System.out.println("FormatClass::" + formatclass);
    System.out.println(" Format Mask : " + formatMask);
    // SimpleDateFormat sdfDestination = new SimpleDateFormat(formatMask);
    String pattern = formatMask; //getPattern();
    if (pattern == null)
    pattern = getSecondaryPattern();
    String key = getViolationMessageKey(pattern);
    Object[] params = new Object[]
    { "{0}", "{1}", "{2}" };
    Object msgPattern = getMessagePattern(context, key, params, component);
    //if hintFormat is null, no custom hint for date, time or both has been specified
    String hintFormat = _getHint();
    FacesMessage msg = null;
    String detailMessage = null;
    if (msgPattern != null)
    msg = MessageFactory.getMessage(context, key, msgPattern, params, component);
    detailMessage = XhtmlLafUtils.escapeJS(msg.getDetail());
    Locale loc = context.getViewRoot().getLocale();
    SimpleDateFormat formatter = new SimpleDateFormat(pattern, loc);
    java.lang.Object obj = resolveExpression("#{bindings." + component.getId() + ".attributeValue}");
    String databaseDate=null;
    if(obj!=null)
    databaseDate = obj.toString();
    DateFormat df = new SimpleDateFormat(pattern,loc);
    System.out.println("DateComponent input value :::::::::::::::::::::::::"+databaseDate);
    Date today;
    try {
    // System.out.println("Before Conversion::::::::::::"+df.parse(databaseDate).toString());
    if(databaseDate!=null)
    today = df.parse(databaseDate);
    else
    today = new Date();
    System.out.println("After Conversion Date :::::::::::::::::::::::::::::"+today.toString());
    //Date today = new Date();
    String dt = formatter.format(today);
    String exampleString = dt;
    String escapedType = XhtmlLafUtils.escapeJS(getType().toUpperCase());
    StringBuilder outBuffer = new StringBuilder();
    outBuffer.append("new TrDateTimeConverter(");
    outBuffer.append(jsPattern);
    // loc = getLocale();
    if (loc != null)
    outBuffer.append(",'");
    outBuffer.append(loc.toString());
    outBuffer.append("','");
    else
    outBuffer.append(",null,'");
    outBuffer.append(exampleString);
    outBuffer.append("','");
    outBuffer.append(escapedType);
    outBuffer.append("'");
    if (msgPattern != null || hintFormat != null)
    messages.put("detail", detailMessage);
    messages.put("hint", hintFormat);
    outBuffer.append(',');
    // try
    // JsonUtils.writeMap(outBuffer, messages, false);
    // catch (IOException e)
    // outBuffer.append("null");
    outBuffer.append(')'); // 2
    return outBuffer.toString();
    catch(ParseException e)
    System.out.println("Parse Exception :::::::::::::::::::::"+e);
    return null;
    else
    // no pattern-matchable date
    return null;
    else
    return null;
    else
    return null;
    protected String getJSPattern(FacesContext context, UIComponent component)
    String jsPattern = null;
    String datePattern = (String) resolveExpression("#{bindings." + component.getId() + ".format}");
    if (datePattern != null)
    String secondaryPattern = getSecondaryPattern();
    if (datePattern != _NO_JS_PATTERN)
    int length = datePattern.length() * 2 + 2;
    if (secondaryPattern != null)
    length = length + 3 + secondaryPattern.length() * 2;
    StringBuilder outBuffer = new StringBuilder(length);
    jsPattern = _getEscapedPattern(outBuffer, datePattern, secondaryPattern);
    else
    jsPattern = datePattern;
    return jsPattern;
    private static void _escapePattern(StringBuilder buffer, String pattern)
    buffer.append('\'');
    XhtmlUtils.escapeJS(buffer, pattern);
    buffer.append('\'');
    private static String _getEscapedPattern(StringBuilder buffer, String pattern, String secondaryPattern)
    if (secondaryPattern != null)
    buffer.append('[');
    _escapePattern(buffer, pattern);
    if (secondaryPattern != null)
    buffer.append(",'");
    XhtmlUtils.escapeJS(buffer, secondaryPattern);
    buffer.append("']");
    return buffer.toString();
    private String _getHint()
    String type = getType();
    if (type.equals("date"))
    return getHintDate();
    else if (type.equals("both"))
    return getHintBoth();
    else
    return getHintTime();
    public static Object resolveExpression(String pExpression)
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp = null;
    valueExp = elFactory.createValueExpression(elContext, pExpression, Object.class);
    return valueExp.getValue(elContext);
    private static final String _NO_JS_PATTERN = new String();
    private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(DateTimeConverter.class);
    // RenderingContext key indicating the _dateFormat object
    // has been created
    private static final String _PATTERN_WRITTEN_KEY = "org.apache.myfaces.trinidadinternal.convert.DateTimeConverter._PATTERN_WRITTEN";
    *Problem is if any input date componet is displaying other than current date then the date picker is always picking the current date rather existing date*
    Please suggest me where to make changes?
    Edited by: 858782 on Oct 3, 2011 7:43 AM
    Edited by: 858782 on Oct 3, 2011 11:44 PM

    I need custom date foramts to be applied for different inputDates which are not defined in <af:convertDateTime>
    Thanks
    Edited by: 858782 on Oct 13, 2011 4:59 PM

  • Date picker for 64 bit windows 8 and 32 bit 2010 excel

    I'm looking for step by step instructions on how to add a pop up calender to chose a date in 2010 Excel.  There is none listed in the addition toolbox controls, where and how would I install this? 

    Hi,
    Please go to the following path to find the Microsoft Date and Time Picker:
    Excel 2010 > Developer tabe > Insert > ActiveX bottom right > More > MIcrosoft Date and Time Picker (SP4). 
    For more detail information, please refer to the following link:
    http://social.msdn.microsoft.com/Forums/en-US/26f6adea-c723-4815-92ba-59a0c846a80a/microsoft-date-picker-excel-2010?forum=exceldev
    http://www.logicwurks.com/CodeExamplePages/EDatePickerControl.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Where used listing for Query Variables

    Can someone tell me how to get this list from the metadata repository or from the transport connector?
    I have read this thread "where used" list for BEx variables but this isn't working for us.
    Is there some config that is required which we have missing?
    We are running BI7 SP19 if this helps.
    Thanks
    Craig

    Arun,
    Yeah I figured as much, but this is why I am thinking we have something missing, config or otherwise.
    Cause all I get when I do this is a new window with just the Variable details and nothing else, no where used list at all i.e.
    Page Creation Date: 17.03.2009 15:12:03
    Technical name: V_FSTMONTH
    Object version: Active version
    System: BWDCLNT200
    Description (Short): 1st of Month to Toda
    Description (Long): 1st of Month to Today
    Last Changed On 17.03.2009 13:25:39
    Last Changed by ARMSTEC
    Is there something I need to get our Basis Team to do ?
    Thanks
    Craig

  • How to change date format for prentation variable

    Hi experts
    In my prompt the date format is MM/DD/YYYY . I have created one presentation variable for that but i want to use this in Formula as well in Title as: DD-MON-YY
    So how can i achieve it..
    Thanks in advance
    Regards
    Frnds

    Hi
    i think this can't be done through any code like oracle uses to_char, to_date function.
    Just follow this
    http://oraclebizint.wordpress.com/2007/12/19/oracle-bi-ee-101332-dates-dates-and-dates/
    With this, wherever you have this column, you will be getting this format dates..
    if you don't want in reports you can change it by mentioning the data format for that paricular column in report, but for the same column, if you want different format at different places (for prompts), you can't do that..

  • Date Picker for Adobe 10

    From the little bit of research I've done, there is no date picker feature currently in Adobe 10.  I've been trying to find some kind of plug-in/add-on/something along those lines so I can include a date picker in an adobe form that I am setting up.  From what I understand, the jQuery widget is used for web pages which does me no good, unless of course I misunderstood that.  Any help would be appreciated.  Thanks.

    Thanks for your help "try67".  It works like a charm.  The setup in Adobe 10 is a little different than it looks like it is in Adobe 9, but it still works well.  Although for one reason or another, my Javascripts folder isn't at any of the locations on your blog.  It is at:
    C:\Program Files\Adobe\Acrobat 10.0\Acrobat\Javascripts
    This could be because the machine that I use with Adobe 10 is a virtual machine, so I'm not sure if that has anything to do with it.
    Thanks again.

  • Data Blocks - Different data source for Query  and DML

    Would anyone please tell me if it is possible in a BLOCK to define a stored procedure for queriying and a table for DML operations or vice-versa at the SAME time.
    If possible how do you do it using DATA BLOCK WIZARD? If you select your block to be based on stored procedure then it gives only stored procedure options for Querying and DML operations in next few screens.
    Also, suppose I used a stored procedure defined in a block for insert operations, is it implicitly called by INSERT RECORD function key in default menu? How does it take values from different fields on its own?

    Hi Deepon,
    We get data from both BSIK(open items)and BSAK (cleared items). Obviously if a accounting doc is not cleared it would be in open items and vice versa..
    Go through the help link for more information..
    http://help.sap.com/saphelp_bw33/helpdata/en/90/10e73a86e99c77e10000000a114084/frameset.htm
    Regards
    Manga(Assign points if it helps)
    Message was edited by: Manga

  • Better date picker for ApEx 3.2?

    One of my least-liked features in ApEx 3.2 is the poor performance of the date picker popup. It redraws whenever the user changes the month or year, and it takes so long, that I've found most of the time, a user will change both fields in the time it takes for the first one to take effect, so the second change ends up being ignored.
    Ideally, I would like to find a drop-in replacement for the built-in date picker that will do everything in JavaScript, within the window, and bonus points for some additional validation options (like min/max date). The date picker in ApEx 4 is actually perfect, I think.
    So, my question: 1) Has anybody tried to backport the date picker from ApEx 4 into an ApEx 3.2 application? Can this be done without substantial rewiring of the calling page? 2) If not, can anybody recommend a good replacement for the built-in one in 3.2? Again, my goal is to just replace the JavaScript call on that form element with a different one, and require no other changes to the page.
    Thanks,
    Keith

    Thanks, Dan -- you mentioned this in another thread, too, and I was just starting to look into whether I could simply drop in this datepicker in place of the one in ApEx. It looks like I can, but if you're verifying that this is the case, then this definitely meets my needs, and I'll eagerly start looking into this.
    Still, I think it would be cool if someone backported the one in ApEx 4. That one is so much nicer! :-)
    Cheers!

  • Compund data error for query

    Hi All,
    Iss Of Compund data,
    Controlling area is a compound object for cost center.
    Suppose .......
    Controlling are is - ca01
    cost center - cc01, cc02
    now while we use thes in report variable.
    controlling area value given CA01
    for cost center value should be CA01/CC01 AND CA01/CC02.
    But in Query it's showing me 3 values
    CA01/#
    CC01
    CC02.
    Why this data is is available for cost center.
    that should be CA01/CC01 AND CA01/CC02.
    i checked master data thes combination record is there and coming in cost center data also.
    why CA01/CC01 AND CA01/CC02 is not coming ??
    Please reply  for this issu

    Hi,
    if you filter your query with 0CO_AREA = CA01, the keys of the costcentre won't be displayed as "CO_AREA/COSTCENTER"; except perhaps the "not assigned" cost centre: CA01/#.
    CA01/CC01 and CA01/CC02 will therefore be displayed as CC01 and CC02 (since the CO_AREA is known and well defined as CA01)
    If you run the same query with no filter on CO_AREA the system will display the double key.
    CA01/CC01 AND CA01/CC02 will be display as is.
    If you have both object in the drilldown, CO_AREA and COSTCENTRE in this order, the system won't display the double key either...
    CA01/CC01 AND CA01/CC02 will be displayed as
    CA01_____CC01
    CA01_____CC02
    hope this helps...
    Olivier.

  • Customer exit for query variable to calculate amount since 1998

    Hi Experts,
    I am trying to fetch the expenses since 1998 till last fiscal year in Bex Query.
    I have created a variable ZFYRVAR1, processing type customer exit, Interval, Mandatory. I unchecked 'Variable is ready for input' box. There is no 0CALYEAR in the infocube. We have 0FISCYEAR and 0FISCPER in the InfoCube.
    We wrote following code to populate the variable. It is throwing a warning message.
    Value " is too long for variable ZFYRVAR1.
    The column remains empty and nothing is populated. Can somebody tell me whats wrong with the code. I also defined another variable instead of l_year. like
    zyear like /bi0/pfiscyear-fiscyear.  but same error.
    Any help is appreciated.
    data: l_s_range type rsr_s_rangesid.
    data: l_year(4)     type n.
    case i_vnam.
    l_year = sy-datum+0(4).
      l_s_range-high = l_year - 1.
       l_year = 1998.
      l_s_range-low = l_year.
      clear e_t_range.
      l_s_range-sign = 'I'.
      l_s_range-opt  = 'BT'.
      append l_s_range to e_t_range.
    endcase.

    Hi Sheo,
    Hope the sample code below helps you. You can debug it in RSRT to be sure.
    DATA: L_S_RANGE TYPE rsr_r_rrrangesid.
    DATA: l_yearh(4) type c,
          l_yearl(4) type c.
    IF I_STEP = '2'.
      if i_vnam = 'ZFYRVAR1'.
         *Please check your user profile to make sure l_year is in the format YYYYMMDD.
         l_yearh = sy-datum(4).
         l_yearh = l_yearh - 1.
         l_yearl = '1998'.
         l_s_range-high = l_yearh.
         l_s_range-low = l_yearl.
         l_s_range-sign = 'I'.
         l_s_range-opt = 'BT'.
        APPEND L_S_RANGE TO E_T_RANGE.
        exit.
      endif.
    ENDIF.

  • Date range for a variable from number of days enterd

    Hi frnds,
    I have a requirement like ,
    Number of Days should be enterd in the Selection screen ,
    If user enters 10 Days in selection screen, then it should bring the records like date from = sy date and date to = ( the date after ten days from today ) for a characteristic( validity ) which holds the dates ,
    i believe that i can create one formula variable to enter the number of days and how do i relate this with the other variable in the char ( validity ) ,
    Could you please guide and sample code would be a great help ,
    thanks ,
    sathy

    hi ,
    its not working still, even i have tried with I_STEP = 2 after WHEN 'ZQUOT_N' ,
    but it works if hardcode like
    v_end = v_beg + 10 . ( instead of l_var_range-low ) , Appreciate your help on this thanks , sathy
    WHEN 'ZQUOT_N'.
    *I_STEP = 2.
    v_beg = sy-datum.
    CLEAR l_var_range.
    READ TABLE i_t_var_range INTO l_var_range
    WITH KEY vnam = 'ZQUOTE_R'.
    v_end = v_beg + l_var_range-low.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    l_S_range-low = v_beg.
    l_s_range-high = v_end.
    APPEND l_s_range TO e_t_range.
    EXIT.
    ENDCASE.

  • Soap2JDBC : Problem while designing data structure for Query

    Hi ALL,
    I am doing webservices(SOAP) to JDBC(syn) scenario without using BPM.We are sending the request from portal and getting the response from database.
    I have lot of Queries.I am going to design based on the database Query.Please find the following Query.
    SELECT ALL DBTEST.REQMASTBL.RQTR,
    DBTEST.REQMASTBL.RQN_NO,
    DBTEST.REQMASTBL.RQN_DATE,
    DBTEST.REQMASTBL.APPROVE_BY,
    TO_NUMBER(DBTEST.REQMASTBL.RQN_AMT), DBTEST.REQMASTBL.RQN_TYPE,
    DBTEST.REQMASTBL.ROS_DATE,
    DBTEST.REQMASTBL.RQN_STATUS
    FROM DBTEST.REQMASTBL
    WHERE DBTEST.REQMASTBL.RQN_STATUS='AP'  AND
    DBTEST.REQMASTBL.APPROVE_BY LIKE UPPER('GM%') AND DBTEST.REQMASTBL.RQTR='GM211' AND DBTEST.REQMASTBL.RQN_DATE BETWEEN (:frmDate) AND (:toDate) ORDER BY  DBTEST.REQMASTBL.RQN_NO
    All most all the queries having the same functionality.Could anyone please guide me how to design and how to map the source and the target fields using the Boolean(and,or.like,between) functions.
    Now the problem is How to design the data stucture in Integration Repository using this query and how to extract these(and,or.like,between) functions.
    urgent response is highly appreciated
    rgds,
    Veena

    Hi Gurus
    Iam getting the error like this
    HTTP error:could not post file
    '/XISOAPAdapter/MessageServlet?channel=:BS_SS:soap_communicationchannel&amp;version=3.0&amp;Sender.service=BS_SS&amp;Interface=http%3A%2F%2Fsoap2db1%5Eportalsoap_outbound_messinterface' on server
    this is the message iam getting from Portal side.Here iam testing using altova xml spy tool.
    in this context 
    BS_SS      is my sender business system
    soap_communicationchannel  i   s my sender communication channel
    Sender.service=BS_SS      (again my sender business system)
    portalsoap_outbound_messinterface       is my message interface
    I badly required the help from experts.
    Regards
    Veena

Maybe you are looking for