Webdynpro ABAP date navigator dynamic start up date

Hi,
   When i am using a date_navigator  for 3 months display the startup date for that i have given has 01.07.2009. So the calendar starts with July to Sep.
But i want to get the first month to be the current month.it is throwing exception when i try to populat the system date in startup date field .
Regards,
Amit Teja V

HI thomas,
              Bulls eye,that is what i mean.
When i bind a attribute of type d to startwith it is showing as ER.ND.CALE and when i test this i am getting exception as
The following error text was processed in the system DEV : Exception condition "DATE_INVALID" raised. 
When i click on f4 help for the startwith then it is giving a dump as
Unable to interpret "CALE" as a number.
Regards,
Amit Teja V
Edited by: AMITTEJA VUTPALA on Oct 1, 2009 1:05 PM

Similar Messages

  • How use date navigator for marking a date.

    Hello Experts,
    How to use  DateNavigator  for set a colors in calendar using web dynpro abap.
    Thanks  in advance.
    Regards,
    Chetan.

    About the use of "Date Navigator", there are many properties needed to set. In detail, you can reference to the material "NET311".
    There is one chapter which takes the concern about "Date Navigator".
    I have one example about this topic. However, it is written in Chinese.I don't know whether it can help u or not.
    http://space.itpub.net/17144169/viewspace-674231
    Best wishes~

  • Schedule run issue: Late dates earlier than start/finish dates

    Hi,
    I am running into an issue with one of my contractors. When the contractor sends the xer file, all the critical late start dates are a day earlier than the start date i.e. if the start date is Mar 03, 2011 then the late start date is Mar 02, 2011. I am able to fix it at my end when I run the schedule but the contractor is not. Is there some feature in the global setting that the contractor has to fix in his end to resolve this issue? Any help or advice would be great.
    Thanks.

    Marc,
    When Project was first released there were only two basic start field, Start and Actual Start (in addition of course to the Baseline Start field and a few others). With the release of Project 2010, a manual scheduling mode was introduced. That's when things
    got a little more confusing. Instead of leaving the Start date as is, the Start field was converted to a text field and the old Start field was renamed as Scheduled Start. When in auto-schedule mode, both Start and Scheduled Start are exactly the same.
    Now to answer your questions. To keep it simple, let's assume you are using auto-scheduling.
    1. In order to keep the schedule dynamics intact, it is necessary to update the Start field to agree with what really happened, namely with the Actual Start date. If you do not enter anything into the Actual Start field, Project automatically assumes the
    task started as scheduled, on the Start date.
    2, Yes, Project does its scheduling based on the current plan which is represented by start, finish and other data. Once the project starts, that current plan must be updated so the actual date values come into play. As noted in the lead in paragraph, Scheduled
    Start and Start are the same for auto-scheduled tasks.
    3. Earned value is based on the actual values and the saved baseline data. The "point in time" you refer to is the timescaled data as of the status date.
    Hopefully, this clear up at least some of your confusion.
    John

  • Disable past dates in Date Navigator

    Hi All,
    Can any one let me know how to disable past dates in a Date Navigator UI element in Web Dynpro  for ABAP?
    For example,today's date is 21-May-2010,when i open my application, i want all the dates from 1 May to 20th May to be disabled.The user should not be able to select them.
    Any help would be greatly appreciated,
    Thanks,
    Salma

    Check out the Thread [Webdynpro ABAP date navigator dynamic start up date   |Webdynpro ABAP date navigator dynamic start up date;.
    After implementing this suggestion, you are now having the Error "INVALID DATE". Sort out this error with [SAP note 1370457 WDA: DateNavigator returns incorrect values|https://service.sap.com/sap/support/notes/1370457].
    Check out the thread [datenavigator exception |datenavigator exception ?; having same issue with date navigator.
    Hope it helps you.

  • Revised Project Start & Finish Dates

    Dear All,
    Where i can see Project orignal start & finish dates and Revised start & finish dates
    Is their any report or transaction available.
    Pls confirm me.
    Thanks in Advance.
    Regards,
    Sandeep N.Theurkar

    Hi Sandeep,
    The project system does not keep the original dates somehwere automatically. If you would like to have such 'baseline', a option is using version as mentioned above. An alternative is just transfer the basic dates to the forecast dates as base line, after the planning is finish.  In this way, you get two sets dates of the same object.
    Kind regards,
    Zhenbo

  • Date Navigator Challenge

    I'd like to present my users with a date navigator to populate a date range.  Single click would populate the beg date and doubleclick would populate the end date.
    Any ideas how I could accomplish this?
    Thanks!

    Have you considered just using the Popup date navigator that is tied to the <htmlb:inputField>.  If you set the TYPE to date or bind to a field of type date you will get a value help next to the field.  When pressed a date navigator will pop into place.  This is nice because it is all done on the client side.
    However I was under the impression that you wanted a single calendar where the user could select multiple dates.  What I describe above with the <htmlb:inputField> would generate a separate calendar popup for each input field.  This is the way I that I would normally code to/from date selections. It is very similar to way that is works within the SAPGui.
    But if you do want a single calendar, you could still use the showHelp attribute combined with the onValueHelp event to trigger the display of a dedicated <htmlb:dateNavigator>.  If you want to keep things simple, though I would stay with the standard popup date off the <htmlb:inputField>.

  • Retreival of Dynamic Table Datas from Adobe to WebDynpro- ABAP

    Dear Friends,
    I have Developed an application in Webdynpro-ABAP, where i have integrated Adobe form in the webdynpro.
    In the adobe form, dynamic table is there where we can add and delete the rows at runtime.
    I am trying to retreive the table datas at runtime from the adobe.
    I can able to retreive only the first record from the table, even if the table contain more than one rows.
    As per the below code i have retreived the count, where it is showing the count as 1.
    using the method get_static_attributes_table i am trying to fetch all the records, but i can able to retreive only the first record.
    lo_nd_zsm_fm_transport_tra = wd_context->get_child_node( name = wd_this->wdctx_zsm_fm_transport_tra ).
      lo_nd_tr_details_i = lo_nd_zsm_fm_transport_tra->get_child_node( name = wd_this->wdctx_tr_details_i ).
    count = lo_nd_tr_details_i->GET_ELEMENT_COUNT( ).
    elems_bank_table = lo_nd_tr_details_i->get_elements( ).
    lo_nd_tr_details_i->get_static_attributes_table(
      importing
        table = ls_tr_details_i ).
    Even Cardinality i have maintained as 1.N for the node.
    Kindly provide me the solution.
    Thanks and Regards,
    Sathish,,

    Hi, I have solution for read data from dynamic table and add these added row to WD4A context (and then save them to DB) (in ONACTIONPROCESS_SUBMIT event):
    DATA: l_fp TYPE REF TO if_fp.
    l_fp = cl_fp=>get_reference( ).
    DATA: l_pdfobj TYPE REF TO if_fp_pdf_object.
    l_pdfobj = l_fp->create_pdf_object( ).
    l_pdfobj->set_document( pdfdata = lv_pdfsource ).
    l_pdfobj->set_extractdata( ).
    l_pdfobj->execute( ).
    DATA: pdf_form_data TYPE xstring.
    l_pdfobj->get_data( IMPORTING formdata = pdf_form_data ).
    DATA: converter TYPE REF TO cl_abap_conv_in_ce, formxml TYPE string.
    Converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
    Converter->read( IMPORTING data = formxml ).
    TYPE-POOLS: ixml.
    DATA: l_ixml TYPE REF TO if_ixml.
    l_ixml = cl_ixml=>create( ).
    DATA: streamfactory TYPE REF TO if_ixml_stream_factory,
    istream TYPE REF TO if_ixml_istream.
    streamfactory = l_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    DATA: document TYPE REF TO if_ixml_document.
    Document = l_ixml->create_document( ).
    DATA: parser TYPE REF TO if_ixml_parser.
    parser = l_ixml->create_parser( stream_factory = streamfactory
                                               istream = istream
                                               document = document ).
    Parser->parse( ).
    the code above allows you to read xml data from pdf file, then you need only to read xml and adding rows to your context:
    data : item type string.  DATA: nodechild TYPE REF TO if_ixml_node,
            Childschild TYPE REF TO if_ixml_node.
        data: num_of_children type i,
              x type i,
              y type i,
              num_of_attribute.
    node = document->find_from_name('ZAM_PROTSTROJF').
    num_of_children = node->num_children( ).
    nodechild = node->get_first_child( ).
    data: wa_strojdetail type ZAM_PROTSTROJF,
          wa_strojdetail_tab TYPE TABLE OF ZAM_PROTSTROJF.
    wa_strojdetail-docnum = ls_zam_protstroj-docnum.
    wa_strojdetail-bukrs = 'VVS'.
    wa_strojdetail-mandt = sy-mandt.
    y = 1.
    do Num_of_children times.
           num_of_attribute = nodechild->num_children( ).  " Childschild->num_children( )." Getting the number of attributes
           Childschild = nodechild->get_first_child( ).
           wa_strojdetail-itemnum  = y.
           x = 1.
           do num_of_attribute times.
              item = Childschild->GET_value( ).
              CASE x.
                WHEN 4.
                  wa_strojdetail-anln1 = item.
                WHEN 5.
                  wa_strojdetail-anln2 = item.
                WHEN 6.
                  wa_strojdetail-bubtr = item.
                WHEN 7.
                  wa_strojdetail-belnr = item.
              ENDCASE.
              Childschild = Childschild->get_next( ).
              x = x + 1.
          enddo.
          y = y + 1.
          APPEND wa_strojdetail to wa_strojdetail_tab.
          nodechild = nodechild->get_next( ).
    enddo.
    This is complete solution for adding rows in interactive forms and working with them in WD4A!
    Regards Jiri
    Edited by: Jiri Neuzil on Jun 10, 2009 8:13 AM
    Sorry for formatting, but I don't know, how to format text correctly on this site in plain text I have all text correctly formatted, but in preview....

  • Calendar Using Date Navigator in Webdynpro ABAP

    Hi,
         My Requirement is in the calendar the dates from today to some specific date(Ex:-30 days from today).
    Should be enable in all other dates grade out. how can we achieve using date navigator.
    For example: Indian railway booking site, allows booking from today to 60 days, remaining dates are grade out, Can't be selected.
    similar validation need to be achieved through date navigator.
    Regards
    Narasimha

    Hi Narasimha,
    The requirement exactly like RAILWAYS ticket booking cannot be achieved by using DATE navigator as we don't have any provision to disable/to graded out the dates of our wish.
    You can achieve your requirement ( up to some extent) as below
    Create a date navigator ui element and bind the start date and end date to context attributes
    Create a node DATE_SEL ( 0...n ) and attribute "DATE" of type DATS
    Now, right click on DATE NAVIGATOR ui element and  choose "Add selection" option from menu to add the dates of selection. Bind the datasource and selected date to node "DATE_SEL" and attribute "DATE" respectively
    The selection node "DATE_SEL", you can populate the 60days/30days as per your requirement and it hightlights ( you can choose your choice of color ) the dates in the calender. So that user focuses on these dates for selection. if any other dates other than these selection, you can raise an error message to the user by using event "ONDAYSELECT"
    Hope this helps you.
    Regards,
    Rama

  • Uploading data from Interactive form in Webdynpro ABAP

    Hello All,
    I am uploading data from an Offline interactive form to an ABAP WebDynpro application. Form is first downloaded, data is filled and now I am trying to upload the form to another WebDynpro application. Form DataSource is mapped to Context node with same data structure. However when I upload the form, form data does not pass automatically to specified context node.
    Do I miss any important step in between? I am on SAP NetWeaver 2004s SP10.
    Thanks,
    Nitesh Shelar.

    hi,
    the data is automatically passed to the context when the "interactive form" UI element is there in the view.
    when you just upload the pdf, just like that, it will treat it like a PDF file, not an interactive form....
    try using the same interactive form which you used to create the offline form.
    i hope this helps,
    regards,
    -ag.

  • InfoPackage ABAP Routine for Date Range - Only Start Date Extracted

    I am using an ABAP Routine in an InfoPackage to select data for a 2 year period.  The routine converts SY-DATUM into the Current Fiscal Year and Period, and then calculates the Starting and Ending Fiscal Year / Period of a 24 month period.  The Start and End values are passed to the InfoPackage as l_t_range-low and l_t_range-high.
    The Source and Target are both Basic Infocubes.
    The InfoPackage executes successfully, and the Selection values on the Header tab of the monitor reflect a 24 month period.  Unfortunately, on closer review of the data in the cube, only data for the first month appears to have been loaded.  I’m guessing that the extract was only performed with the From value, even though a To value was also provided.
    I created a simple Infopackage and manually input the selection parameter values just to be sure I wasn’t overlooking something. The InfoPackage performed as expected, loading more data which spanned the selection time period.
    I can provide the code if it helps, but the fact that the monitor reflects a Start and End value suggests that the problem is with the InfoPackage, not the ABAP routine.
    Has anybody ever experienced this before ?  Any ideas would be greatly appreciated ?
    Thanks,
    Lyle

    We can write ABAP routine in Infopackage with a range of values (From & To). Make sure you fill all the following information while building the final range information as below,
       l_s_range-sign    = 'I'.
       l_s_range-option  = 'BT'.
       l_s_range-low     = lowvalue.
       l_s_range-high    = highvalue.
      MODIFY l_t_range FROM l_s_range INDEX l_idx.
    As you can see the key is passing the "BT" information for capturing range.
    Hope it helps..
    thanks
    Kumar

  • Personalization data for WebDynpro ABAP application ?

    Dear Experts,
    We can personalize WebDYnpro ABAP application via right click , show hide buttons , columns etc.
    Where is this personalization data stored or how can it be retrieved assuming my application is executing outside the  portal ?
    Greetings
    Prashant

    Hi Prashant,
    it is stored in the ABAP system - not the portal, so no issues about running outside the portal.
    This is different to WDJ pagebuilder configuration/personalisation - which is stored in the portal!
    you can see some of the personalisation framework that is used for things like storing POWL user preferences etc in the backend via the IMG path
    Cross-Application Components --> General Application Functions --> Generic SAP Business Suite Functions --> Personalization (sic) .
    Hope this helps you,
    Chris

  • Reading the Data from dynamically added rows of a table...

    Hi,
                  I am using adobe interactive form (WD ABAP) in which i am adding the table rows dynamically (using Jscript code).  I have to fech these data into an internal table. But I can read only the first row data..
                  Also While adding rows dynamically the same data is repeating for the consecutive rows..
                  I have found many similar posts in sdn, but i cannot get the solution. They have mentioned about adding in WDDOINIT method. Can anyone explain me what should be done,..?
    1) How to solve repeatative data while adding rows..?
    2) How to read dynamically added row data during runtime into internal table..?
    Thanks,
    Surya.

    Discussed @ SDN lot of time before. Have a look at any of below threads:-
    Dynamic table in interactive form...
    Make dynamic tables in Adobe Interactive forms
    Adding Rows dynamically upon clicking the button
    How to get values to WebDynpro ABAP from dynamic table?
    Chintan

  • How to populate data into Dynamic Internal Table.

    Hi Experts,
    I had created one Dynamic Internal table and one static internal table.I want to move data from Static Internal table to Dynamic interal table.And aslo the number of coloum of these two tables are not same.
    So please help me for solving this issue.
    Thanks,
    <u><i><b>Seema.</b></i></u>

    Hi,
    Check out this sample program for dynamictable report.
    REPORT  YMS_DYNAMICDEMO
                 NO STANDARD PAGE HEADING
                 MESSAGE-ID zcs_c2c_001.
    type-pools : abap.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    data: dy_table type ref to data,
          dy_line  type ref to data,
          xfc type lvc_s_fcat,
          ifc type lvc_t_fcat.
    selection-screen begin of block b1 with frame.
    parameters: p_table(30) type c default 'T001'.
    selection-screen end of block b1.
    start-of-selection.
      perform get_structure.
      perform create_dynamic_itab.
      perform get_data.
      perform write_out.
    form get_structure.
    data : idetails type abap_compdescr_tab,
           xdetails type abap_compdescr.
    data : ref_table_des type ref to cl_abap_structdescr.
    Get the structure of the table.
      ref_table_des ?=
          cl_abap_typedescr=>describe_by_name( p_table ).
      idetails[] = ref_table_des->components[].
      loop at idetails into xdetails.
        clear xfc.
        xfc-fieldname = xdetails-name .
        xfc-datatype = xdetails-type_kind.
        xfc-intlen = xdetails-length.
        xfc-decimals = xdetails-decimals.
        append xfc to ifc.
      endloop.
    endform.
    form create_dynamic_itab.
    Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = ifc
                   importing
                      ep_table        = dy_table.
      assign dy_table->* to <dyn_table>.
    Create dynamic work area and assign to FS
      create data dy_line like line of <dyn_table>.
      assign dy_line->* to <dyn_wa>.
    endform.
    form get_data.
    Select Data from table.
      select * into table <dyn_table>
                 from (p_table).
    endform.
    form write_out.
    Write out data from table.
      loop at <dyn_table> into <dyn_wa>.
        do.
          assign component  sy-index
             of structure <dyn_wa> to <dyn_field>.
          if sy-subrc <> 0.
            exit.
          endif.
          if sy-index = 1.
            write:/ <dyn_field>.
          else.
            write: <dyn_field>.
          endif.
        enddo.
      endloop.
    endform.
    Thanks,
    Shankar

  • Filling dynamic drop down in adobe interactive form( webdynpro ABAP)

    HI all,
    Im new in Webdynpro ABAP, my requirement is to fill drop down list in adobe interactive form. i created adobe form and its working fine.
    I Created context like ROOT(cardinality 1:1)->DATANODE cardinality 0:n. This context is for drop down and in wddoinit i did  like this.
      IN WDDOINIT ,
    DATA lo_nd_root TYPE REF TO if_wd_context_node.
      DATA lo_nd_datanode TYPE REF TO if_wd_context_node.
      DATA lo_el_datanode TYPE REF TO if_wd_context_element.
      DATA ls_datanode TYPE wd_this->elements_datanode.
    navigate from <CONTEXT> to <ROOT> via lead selection
      lo_nd_root = wd_context->get_child_node( name = wd_this->wdctx_root ).
    navigate from <ROOT> to <DATANODE> via lead selection
      lo_nd_datanode = lo_nd_root->get_child_node( name = wd_this->wdctx_datanode ).
    get element via lead selection
      lo_el_datanode = lo_nd_datanode->get_element(  ).
    ls_datanode[] = lt_dna_value[].
    CALL METHOD lo_nd_datanode->bind_table
      EXPORTING
        new_items            =  ls_datanode
        set_initial_elements = ABAP_TRUE.
       index                =
    while executing  i'm getting this error ": WebDynpro Exception: ADS: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200,101). " . can u please tell me how to bind value for drop down.
    I created sample table in same form and i binded same value to table, that time its executing fine.
    can u please tell me solution for this Scenario.
    Thanks
    Hemachandran.
    Edited by: hemachandran R on Sep 12, 2008 2:27 PM

    hi,
    My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
    i populated the value in drop down.
    Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
    im getting different values, like first row
    CAR
    , that CAR want to fill as a default value in drop down  and second row  as
    BIKE
    that BIKE  want to fill as default value in drop down  ( example drop down contain   car , bike , cycle).
    In adobe form i binded like this
      $record.DATANODE.DATA[*].DNA_RATING
    i dont know whether this one is correct or wrong  .
    im getting default value as empty.
    please give me some solution how to do this.its very urgent
    thanks
    hemachandran.

  • How to add Image dynamically in Webdynpro ABAP

    Hi Experts,
    How to add Image dynamically in Webdynpro ABAP.
    My requirement is i maintain all the images in a table.
    image source has to pick the table URl dynamically and display.
    is that possible in webdynpro?
    and also please give the suggesion,
    without using MIME objects is that anyway to get images?
    Thanks in advance.
    Regrads,
    Jeyanthi

    Hi,
      are those icons wou want to display then. he following code will be useful.
    data : lo_IMG type ref to CL_WD_IMAGE.
    LO_IMG = cl_wd_IMAGE=>new_IMAGE( id = img_id SOURCE = 'ICON_BW_APD_TARGET' tooltip = sts_tltp ).
    lo_cont->add_child( the_child = lo_img ).
    here lo_cont is the container where you want to add the image dynamically and source is the attribiute through which you can change the ICON image. this thing you can getit from data base table and change accordingly.
    Regards,
    Anil kumar G

Maybe you are looking for