Datepicker control -------- URGENT

Hi, I need code for a free datepicker control for my jsp page. RIght now I am using comboboxes to pick date and I have pasted the code below. Could any tell me how can I use date picker control instead of combobox. Please, I need this very Urgent and I have tried a lot for this code but all in vain.
Thank you
s
Code:
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"></meta>
<title>untitled2</title>
<link href="css/jdeveloper.css" rel="stylesheet" media="screen"/>
</head>
<body>
<form action="ParamReport.jsp">
<br> <br> <br>
<strong><FONT face="Arial" size="3" color="#0033ff">Select Device</FONT></strong>
<jsp:useBean id="select" class="Inventorypackage1.DeviceLookup" scope="request"/>
<%
String ans = select.connect();
String qry = "select DEV_NAME from JCVSF.device";
String sel = select.select(qry);
java.util.Vector aResult = select.getResult();
%>
<select name="devicename">
<% for (int i=0; i < aResult.size(); i++) { %>
<option value="<%=aResult.elementAt(i)%>"> <%=aResult.elementAt(i)%></option>
<% } %>
</select>
<FONT face="Arial" color="#0033ff"><strong>Function</strong></FONT>
<select name="Function"></select>
<% // Date 1 %>
<strong><FONT face="Arial" color="#0033ff">Select From Date</FONT></strong>
<select name="dd1">
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="mm1">
<option value="Jan"> Jan</option>
<option value="Feb"> Feb</option>
<option value="Mar"> Mar</option>
<option value="Apr"> Apr</option>
<option value="May"> May</option>
<option value="Jun"> Jun</option>
<option value="Jul"> Jul</option>
<option value="Aug"> Aug</option>
<option value="Sep"> Sep</option>
<option value="Oct"> Oct</option>
<option value="Nov"> Nov</option>
<option value="Dec"> Dec</option>
</select>
<select name="yy1">
<% int y =0;
for( y = 2004;y<=2025;y++){%>
<option value="<%=y%>"><%=y%> </option>
<%}%>
</select>
<% // Date 2 %>
<strong><FONT face="Arial"><FONT color="#0033ff">Select To Date</FONT></FONT></strong>
<select name="dd2">
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="mm2">
<option value="Jan"> Jan</option>
<option value="Feb"> Feb</option>
<option value="Mar"> Mar</option>
<option value="Apr"> Apr</option>
<option value="May"> May</option>
<option value="Jun"> Jun</option>
<option value="Jul"> Jul</option>
<option value="Aug"> Aug</option>
<option value="Sep"> Sep</option>
<option value="Oct"> Oct</option>
<option value="Nov"> Nov</option>
<option value="Dec"> Dec</option>
</select>
<select name="yy2">
<% //int y =0;
for( y = 2004;y<=2025;y++){%>
<option value="<%=y%>"><%=y%> </option>
<%}%>
</select>
<input type="submit" value="Submit"/>
</form>
</body>
</html>

Hi Rakesh,
Check this info.
Check the following documentation
In NACE t-code we have the application for each one. Based on the application output type can be defined, based on output type script and print program can be defined.
If suppose data can be read from EDI then we should go for condition records.
So whenever we execute the script first composer checks the output type and then execute the program. in program whenever open form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle process. Composer does all these things and at last it will submit that output to spool.
Go to the Transaction NACE.
choose the related sub module.. like billing or shipping
double click on Output Types
Choose the Output Type for which you wanted your script to trigger
Then select the Output Type and double click on Processing Routine
Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program details --> Save and come out
Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....
Hope this resolves your query.
Reward all the helpful answers.
Regards

Similar Messages

  • How to Stop confirmation popup arising for datepicker control in IE

    Hello All,
    I m using a confirmation popup to notify user when they try to navigate away from the page with out saving the changes made. I executed it through the javascript and it even works properly for most of the items and buttons except Datepicker control. This issue is only with Internet Explorer and all others are fine.
    I use the following block of code to do the job
    +function isFormChanged()
    {+
    var rtnVal = false;
    var frm = document.wwv_flow;
    var ele = frm.elements;
    for ( i=0; i < ele.length; i+ )
    {+  
    +if ( isElementChanged( ele, i ) )
    {+
    rtnVal = true;
    break;
    +}+
    +}+
    return rtnVal;
    +}+
    +function isElementChanged( ele, i )
    {+
    var isEleChanged = false;
    +switch ( ele.type ) {+
    case "text" :
    +if ( ele[i].value != ele[i].defaultValue ) return true;+
    +if( ele[i].id.indexOf('Date')!=-1) return false;+
    break;
    case "textarea" :
    +if ( ele[i].value != ele[i].defaultValue ) return true;+
    break;
    case "radio" :
    val = "";
    +if ( ele[i].checked != ele[i].defaultChecked ) return true;+
    break;
    case "select-one" :
    +if      (ele[i].id>99 ) return false;+
    +for ( var x =0 ; x <ele[i].length; x++ )
    {+
    +if ( ele[i].options[ x ].selected+
    +!= ele[i].options[ x ].defaultSelected ) return true;+
    +}+
    break;
    case "select-multiple" :
    +if      (ele[i].id>99 ) return false;+
    +for ( var x =0 ; x <ele[i].length; x++ )
    {+
    +if ( ele[i].options[ x ].selected !=+
    +ele[i].options[ x ].defaultSelected ) return true;+
    +}+
    break;
    case "checkbox" :
    +if ( ele[i].checked != ele[i].defaultChecked ) return true;+
    default:
    return false;
    break;
    +}+
    +}+
    var g_saving = false;
    var IsThe2ndNavAway = false;
    var g_errmsg="The changes you made to the page were not saved.";
    +function WarnSave()
    {+
    var formChanged = isFormChanged();
    if (!g_saving && formChanged)
    +{+
    if(!IsThe2ndNavAway)
    +{+
    IsThe2ndNavAway=true;
    +var tOut = window.setTimeout(function () { IsThe2ndNavAway = false; }, 0);+
    return g_errmsg;
    +}+
    +}+
    +}+
    function doSave()
    +{+
    g_saving=true;
    doSubmit('SAVE');
    +}+
    the above lines on page Html header and the Html body attribute with onBeforeUnload="return WarnSave();"
    Can any one say why the confirmation popup is pushed of in IE for DatePicker Calendar alone and provide the work around if any..

    Are you still having this problem?  See this post how one AOL user solved it: http://forums.adobe.com/message/3024814#3024814

  • Error Binding DatePicker control Date property

    I am building a Universal App and am getting a run time error on my DatePicker control when trying to bind the Date property.
    I have this in my XAML:
     <DatePicker x:Uid="StartDate" Header="Start Date" Date="{Binding StartDateUtc, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
    I am binding it to a DateTime property called StartDateUtc. However when firing up the app, I am getting this error:
    Exception = {"The text associated with this error code could not be found.\r\n\r\nFailed to assign to property '%0'. [Line: 42 Position: 63]"}
    Position 63 happens to be the Date Property. If I remove it, the control is displayed.

    Hi Craig,
    >> I'm not sure a whole project is needed. Here's the XAML
    I failed to reproduce your issue “Failed to assign to property”.  Could you please share a sample project through OneDrive to help us reproduce this issue?
    By the way, the type of
    DatePicker.Date property is DateTimeOffset rather than DateTime. Please try the ViewModel as following and let me know if it makes any difference.
    public class CustomViewModel : INotifyPropertyChanged
    public event PropertyChangedEventHandler PropertyChanged;
    private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
    if (PropertyChanged != null)
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    private DateTimeOffset _startDateUtc;
    [RestorableState]
    public DateTimeOffset StartDateUtc
    get
    return this._startDateUtc;
    set
    if (value != this._startDateUtc)
    this._startDateUtc = value;
    NotifyPropertyChanged();
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSIS Package, Use Datepicker control in VB script task

    Dim dateTimePicker1 As New DateTimePicker()
    Controls.AddRange(New Control() {dateTimePicker1})
    MessageBox.Show(dateTimePicker1.Value.ToString())
    dateTimePicker1.Value = DateTime.Now.AddDays(1)
    MessageBox.Show(dateTimePicker1.Value.ToString())
    In an SSIS package, 2008r2....   I trying to add a messagebox to a script task that contains a datepicker control. 
    I will pass the date to a variable then stored procedure.  The code above almost works except I get "Name Controls not declared".  I am using
    System.Windows.Forms. 
    Anyone know how to correct?
    Thanks,
    MIke

    Nope
    You cant have forms etc added to script task inside SSIS and make it interactive
    If your intention is to pass a value from outside you need to make use of configurations or use command line arguments with utilities like dtexec.
    http://www.bidn.com/blogs/DevinKnight/ssis/1655/passing-values-into-an-ssis-package-at-runtime-from-outside-the-package
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Localization issue with DatePicker Control in Windows Phone 8.1

    Hi,
    I am using DatePicker control in wp8.1. Although I am changing device language e.g. Italian, Datepicker control shows in English (Choose Date, Month and Day, app menu). I am expecting it to come according to device language.
    When I set default language to Italian in Package.appxmanifest file, DatePicker shows Italian but if I change device language to English DatePicker stays in Italian language.
    Any Solution to this issue? Thanks in advance !
    Regards,
    Anurag
    Anurag_24

    Hi Anurag,
    When you change the region and region format language in the phone you need to restart the phone else the changes will not get reflected. Please try and let me know.
    If this answers you please mark it as answer.
    Purushothama V S

  • Validations for DatePicker control in SAP UI5

    Hi,
    I am using DatePicker control from sap.ui.commons library. I want to add validations to this date. What can be the best possible way to have validations apart from implementing change method ?
    Is it possible for the framework to popup the error message in the red color as we get to see in some standard form?
    Any help will be appreciated.
    Thanks,
    Supriya Kale

    That's the beauty of the formatter and the use of a model:
    var oDP = new sap.ui.commons.DatePicker({
        valueState :{
            parts     : ["/myDate", "/notBeforeDate"], //bound to both 'myDate' and 'notBeforeDate' property in your model
            formatter : function(oDateValue, oNotBeforeDateValue) {
                return (oDateValue < oNotBeforeDateValue) ? sap.ui.core.ValueState.Error : sap.ui.core.ValueState.None;
    See Custom Formatter Functions - User Interface Add-On for SAP NetWeaver - SAP Library for more info

  • Cost Center budget control - Urgent

    hi all,
    It very urgent.
    Can any tell me the steps in configuring cost center budget & availability control system in ESS 5.0
    Thanks,
    Chandru

    Hey Chandu,
    budgeting is possible in Costcenters. Availability control is not possible. It can be done only for internal orders.
    Availability Control helps you to recognize if possible budget overruns in time and can automatically trigger different actions & you configure availability control for each budget profile.
    And this is activated only at internal order level not at cost center level.
    If you want to budgeting for cost centers, goto KPZ2. But here U cannot do it cost element wise. U can do it cost center wise for each period. If U want it at cost element level do it using KP26.
    Later U can draw the report using Information system plan/budget/actual variance report.
    Hope this helps you
    regards,
    chaitanya

  • Last_page button is not working in table control-urgent

    hi  all,
    iam displaying the data in table control.in my pf-status i have first_page,next_page,prev_page and last_page.out of 4 buttons 3 buttons are working finr except last_page. any body can send me the code for this program.iam sending my program below.
    REPORT ZMAHI_TABLE_CONTROL .
    TABLES : VBAK,VBAP.
    DATA : BEGIN OF ITAB OCCURS 0,
             VBELN TYPE VBAK-VBELN,
             ERDAT TYPE VBAK-ERDAT,
             ERNAM TYPE VBAK-ERNAM,
             ERZET TYPE VBAK-ERZET,
             REASON(40) TYPE C,
           END OF ITAB.
    DATA :   FILL TYPE I VALUE 1.
    DATA : N TYPE I .
    DATA      : BEGIN OF XVALUES OCCURS 50,
                  BUTXT LIKE  T001-BUTXT,
                END OF XVALUES.
    DATA      : BEGIN OF XFIELDS OCCURS 50.
            INCLUDE STRUCTURE HELP_VALUE.
    DATA      : END OF XFIELDS.
    DATA      : BEGIN OF SEL_VAL OCCURS 50.
            INCLUDE STRUCTURE HELP_VTAB.
    DATA      : END OF SEL_VAL.
    TABLE CONTROL DECLARATIONS------
    CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING  SCREEN '100'.
    DATA : OK_CODE TYPE SY-UCOMM,
    LIN TYPE I,
    LIN1 TYPE I,
    LIN2 TYPE I,
    LIN3 TYPE I.
    DATA: LINES TYPE I,
          LIMIT TYPE I VALUE 1.
    DATA :   LINE_COUNT       TYPE  I,
             LINEI            TYPE  I,
             LINEJ            TYPE  I,
             LINE1            TYPE  I,
             LINE2            TYPE  I,
             LN1              TYPE  I.
    SELECTION-SCREEN : BEGIN OF BLOCK B1.
    SELECT-OPTIONS   : P_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN : END OF BLOCK B1.
    START-OF-SELECTION.
      SELECT VBELN
             ERDAT
             ERNAM
             ERZET
        FROM VBAK
        INTO TABLE ITAB
      WHERE VBELN IN P_VBELN.
      CALL SCREEN 100.
    *&      Module  F4_HELP  INPUT
    MODULE F4_HELP INPUT.
      FREE  :  XFIELDS,SEL_VAL,XVALUES.
      MOVE : 'ZMAHI'     TO XFIELDS-TABNAME,
             'REASON'    TO XFIELDS-FIELDNAME,
             'X'        TO XFIELDS-SELECTFLAG.
      APPEND XFIELDS.
      XVALUES = 'Non Trade F&F'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Retention'.
      APPEND XVALUES .
      XVALUES = 'Oldbills Accnt cntmnt'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Not claimed'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Payment Block'.
      APPEND XVALUES .
      XVALUES = 'N/T Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'N/T Unstld Advances'.
      APPEND XVALUES .
      XVALUES = 'N/T OThers'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Receipt OF BOE'.
      APPEND XVALUES .
      XVALUES = 'Trade OEM Adjustments'.
      APPEND XVALUES .
      XVALUES = 'Trade Reject Of Material'.
      APPEND XVALUES .
      XVALUES = 'Trade NOt Claimed'.
      APPEND XVALUES .
      XVALUES = 'Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Trade Payment BLock'.
      APPEND XVALUES .
      XVALUES = 'Trade Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Submission of bills'.
      APPEND XVALUES .
      XVALUES = 'Trade others'.
      APPEND XVALUES .
      CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
           EXPORTING
                CUCOL         = 0
                CUROW         = 0
                DISPLAY       = ' '
                FIELDNAME     = 'REASON'
                TABNAME       = 'ZIFIOD011'
           IMPORTING
                SELECT_VALUE  = ITAB-REASON
           TABLES
                FIELDS        = XFIELDS
                SELECT_VALUES = SEL_VAL
                VALUETAB      = XVALUES.
    ENDMODULE.                 " F4_HELP  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '0100'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
          LEAVE TO SCREEN 0.
       WHEN 'NEXT_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
         limit = fill - lines + 1.
         IF CONTROL_DATA-top_line > limit.
           CONTROL_DATA-top_line = limit.
         ENDIF.
       WHEN 'PREV_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
         IF CONTROL_DATA-top_line < 0.
           CONTROL_DATA-top_line = 0.
         ENDIF.
        WHEN 'NEXT_PAGE'.
          CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
          LIMIT = LIMIT + 1.
          CONTROL_DATA-TOP_LINE = LIMIT.
        WHEN 'PREV_PAGE'.
          CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
          LIMIT = LIMIT - 1.
          CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'LAST_PAGE'.
         CONTROL_DATA-TOP_LINE =  FILL - LINES + 1.
        WHEN 'FIRST_PAGE'.
          CONTROL_DATA-TOP_LINE = 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  SCROLL_BAR  INPUT
    MODULE SCROLL_BAR INPUT.
      DESCRIBE  TABLE  ITAB  LINES  CONTROL_DATA-LINES.
    ENDMODULE.                 " SCROLL_BAR  INPUT
    thanks,
    maheedhar.T

    Hi Ravi,
    The code which u sent to me is not working for next page and previous page.
    can u plz resend me the code.
    iam sending my code below.
    REPORT ZMAHI_TABLE_CONTROL .
    TABLES : VBAK,VBAP.
    DATA : BEGIN OF ITAB OCCURS 0,
             VBELN TYPE VBAK-VBELN,
             ERDAT TYPE VBAK-ERDAT,
             ERNAM TYPE VBAK-ERNAM,
             ERZET TYPE VBAK-ERZET,
             REASON(40) TYPE C,
           END OF ITAB.
    DATA :   FILL TYPE I VALUE 1.
    DATA : N TYPE I .
    DATA      : BEGIN OF XVALUES OCCURS 50,
                  BUTXT LIKE  T001-BUTXT,
                END OF XVALUES.
    DATA      : BEGIN OF XFIELDS OCCURS 50.
            INCLUDE STRUCTURE HELP_VALUE.
    DATA      : END OF XFIELDS.
    DATA      : BEGIN OF SEL_VAL OCCURS 50.
            INCLUDE STRUCTURE HELP_VTAB.
    DATA      : END OF SEL_VAL.
    TABLE CONTROL DECLARATIONS------
    CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING  SCREEN '100'.
    DATA : OK_CODE TYPE SY-UCOMM,
    LIN TYPE I,
    LIN1 TYPE I,
    LIN2 TYPE I,
    LIN3 TYPE I.
    DATA: LINES TYPE I,
          LIMIT TYPE I VALUE 1.
    DATA :   LINE_COUNT       TYPE  I,
             LINEI            TYPE  I,
             LINEJ            TYPE  I,
             LINE1            TYPE  I,
             LINE2            TYPE  I,
             LN1              TYPE  I.
    SELECTION-SCREEN : BEGIN OF BLOCK B1.
    SELECT-OPTIONS   : P_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN : END OF BLOCK B1.
    START-OF-SELECTION.
      SELECT VBELN
             ERDAT
             ERNAM
             ERZET
        FROM VBAK
        INTO TABLE ITAB
      WHERE VBELN IN P_VBELN.
      CALL SCREEN 100.
    *&      Module  F4_HELP  INPUT
    MODULE F4_HELP INPUT.
      FREE  :  XFIELDS,SEL_VAL,XVALUES.
      MOVE : 'ZMAHI'     TO XFIELDS-TABNAME,
             'REASON'    TO XFIELDS-FIELDNAME,
             'X'        TO XFIELDS-SELECTFLAG.
      APPEND XFIELDS.
      XVALUES = 'Non Trade F&F'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Retention'.
      APPEND XVALUES .
      XVALUES = 'Oldbills Accnt cntmnt'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Not claimed'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Payment Block'.
      APPEND XVALUES .
      XVALUES = 'N/T Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'N/T Unstld Advances'.
      APPEND XVALUES .
      XVALUES = 'N/T OThers'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Receipt OF BOE'.
      APPEND XVALUES .
      XVALUES = 'Trade OEM Adjustments'.
      APPEND XVALUES .
      XVALUES = 'Trade Reject Of Material'.
      APPEND XVALUES .
      XVALUES = 'Trade NOt Claimed'.
      APPEND XVALUES .
      XVALUES = 'Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Trade Payment BLock'.
      APPEND XVALUES .
      XVALUES = 'Trade Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Submission of bills'.
      APPEND XVALUES .
      XVALUES = 'Trade others'.
      APPEND XVALUES .
      CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
           EXPORTING
                CUCOL         = 0
                CUROW         = 0
                DISPLAY       = ' '
                FIELDNAME     = 'REASON'
                TABNAME       = 'ZIFIOD011'
           IMPORTING
                SELECT_VALUE  = ITAB-REASON
           TABLES
                FIELDS        = XFIELDS
                SELECT_VALUES = SEL_VAL
                VALUETAB      = XVALUES.
    ENDMODULE.                 " F4_HELP  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '0100'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
          LEAVE TO SCREEN 0.
       WHEN 'NEXT_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
         limit = fill - lines + 1.
         IF CONTROL_DATA-top_line > limit.
           CONTROL_DATA-top_line = limit.
         ENDIF.
       WHEN 'PREV_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
         IF CONTROL_DATA-top_line < 0.
           CONTROL_DATA-top_line = 0.
         ENDIF.
       WHEN 'NEXT_PAGE'.
         CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
         LIMIT = LIMIT + 1.
         CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'PREV_PAGE'.
         CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
         LIMIT = LIMIT - 1.
         CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'LAST_PAGE'.
         DESCRIBE TABLE ITAB LINES LIMIT.
         CONTROL_DATA-TOP_LINE =  LIMIT.
       WHEN 'FIRST_PAGE'.
         CONTROL_DATA-TOP_LINE = 0.
    WHEN 'P--'.
    CLEAR ok_code.
    PERFORM paging USING 'P--'.
    WHEN 'P-'.
    CLEAR ok_code.
    PERFORM paging USING 'P-'.
    WHEN 'P+'.
    CLEAR ok_code.
    PERFORM paging USING 'P+'.
    WHEN 'P++'.
    CLEAR ok_code.
    PERFORM paging USING 'P++'.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  SCROLL_BAR  INPUT
    MODULE SCROLL_BAR INPUT.
      DESCRIBE  TABLE  ITAB  LINES  CONTROL_DATA-LINES.
    ENDMODULE.                 " SCROLL_BAR  INPUT
    *&      Form  paging
          text
         -->P_0356   text
    *FORM paging USING    VALUE(P_0356).
    FORM paging USING code.
    DATA: i TYPE i,
    j TYPE i.
    CASE code.
    WHEN 'P--'.
    CONTROL_DATA-top_line = 1.
    WHEN 'P-'.
    CONTROL_DATA-top_line = CONTROL_DATA-top_line - line_count.
    IF CONTROL_DATA-top_line LE 0.
    CONTROL_DATA-top_line = 1.
    ENDIF.
    WHEN 'P+'.
    i = CONTROL_DATA-top_line + line_count.
    j = CONTROL_DATA-lines - line_count + 1.
    IF j LE 0. j = 1. ENDIF.
    IF i LE j.
    CONTROL_DATA-top_line = i.
    ELSE.
    CONTROL_DATA-top_line = j.
    ENDIF.
    WHEN 'P++'.
    CONTROL_DATA-top_line = CONTROL_DATA-lines - line_count + 1.
    IF CONTROL_DATA-top_line LE 0.
    CONTROL_DATA-top_line = 1.
    ENDIF.
    ENDCASE.
    ENDFORM. " PAGING
    *ENDFORM.                    " paging
    thanks,
    maheedhar.t

  • Report through ActiveX control - Urgent

    Hi,
    I want to submit report requests from the form through activeX
    control. How can I pass data parameters or record groups to
    report through activeX control. Is it possible in developer6.0
    or not.
    Thanks in advance for any help
    Ajay
    null

    nobody?
    Edited by: Vieira on 7-giu-2010 0.29

  • Form based authentication -- control URGENT PLS.

    I am following Form based authentication. I have a login page. I have specified the security constraints in the web.xml.
    I would like to know after the execution of login where will the controller go to?? will it go the controller servlet, followed by an action class??
    For any typical event (such as create customer)---the following has been the flow:
    controller servlet--> createAction-->createUserBD (business delegate) --> customerManagerEJB --> customerDAO;
    Now in case of login..
    After the execution of login (authentication is by form based authentication ) where will the controll go to?
    My requirement is to store the logged in userID details in Stateful Session bean. how will the flow look like?

    If the access is through a web invocation, control will go to whichever portion of the web app triggered
    the security constraint. The ejb has no knowledge of the authentication. If you want to provide the
    login details to the ejb you'll have to explicitly pass them from the web tier.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Reg Table Control ---- URGENT

    HI to ALL,
    i have a table control with some fields.On that,
    if Form type = F, then program allows user to enter vendor code in vendor field.
    if form type = E, then program  didnt allow users to enter vendor in vendor field.
    How will i do it for that vendor field???? for form type = E, the vendor field doesnt allow input
    i tried in PBO.but it doesnt works fine.

    Why you say you tried PBO what did you try in that event.
    You need to use the logic of LOOP AT SCREEN.........

  • Order confirmation control - Urgent Please help

    Dear all hi,
    I have 4 opeartions in an order, i want the system to restrict the operations confirmations by NOT allowing to record the preceeding operation timings again to a succeeding operation. but sytem is allowing to record the entries in the following way.... which is wrong for my client's requirement & this is a std sequence.
    Ex oprn 0010
    date 24/01/20008
    Start time : 08:00:00 hrs
    end time   : 17:30:00 hrs
    No problem with this oprn.,
    Ex oprn 0020
    date 25/01/20008
    Start time : 08:00:00 hrs
    end time   : 12:30:00 hrs
    No problem with this oprn.,
    Ex oprn 0030
    date 25/01/20008
    Start time : 08:00:00 hrs
    end time   : 17:30:00 hrs
    Here date & time are repeated from 1st oprn.,
    Ex oprn 0040
    date 24/01/20008
    Start time : 08:00:00 hrs
    end time   : 17:30:00 hrs
    Here date & time are repeated from 4th oprn.,
    in the above example there is repeation of date & time for different operations, but the system is allowing to make such entries.
    How to make it error when the date & time are being repeated for different operations, please help & thanks in advance.
    Edited by: Shaiz on Jan 25, 2008 9:17 AM

    Hi Shaiz,
    Double click on operation number, it will take you to the detailed screen, where you set the releation between operations. So once you set NO OVERLAPPING in routing, the production order operation time will never be same.
    But standard SAP can only control your Operation Sequence in confirmation but NOT the OVERLAPPING TIME ( Which is your specific reqmt)
    So only option to achieve the time sequencing in confirmation is by user exit while conirmation. OR give a thought in using the milestone confirmation, it may resolve to some extent your reqmt.
    Reg
    Ravi

  • Price Release in controlling ----------------urgent

    Hi all
    can any one explain me
    i have completed stsnadrad cost estimation
    know i am releasing price ck24
    when i release price
    system output
    of 0 materails , 0 cost estimates were updated successfully
    i am not getting where i done mistake
    can any one suggest me
    this is very urgent

    Hello
    Before you release a standard cost estimate, make sure that the future standard price is correct, since you can only release once per period. As soon as the cost estimate has been released for a material in a company code, you cannot repeat the standard cost estimate, marking or release in this posting period.
    Check the costing results before you release the standard cost estimate. You can use the Information System reports to compare the cost estimate price with the current standard price and display variances
    Check if you have used the following procedure:
    Choose Accounting ® Controlling ® Product Cost Controlling ® Product Cost Planning ® Material Costing ® Price Update.
    The screen Price Update: Mark Standard Price appears.
    Choose  Release.
    The screen Price Update: Release Standard Price appears.
    Enter the posting period and fiscal year.
    Restrict the cost estimates to those you want to release.
    You can restrict the selection to company codes, plants, and/or material numbers.
    If required, choose  to select a variant for the selection of cost estimates.
    By turning the indicator on or off, you determine whether:
    Release should first take place in the test run
    A list should be output
    Release should take place using parallel processing
    Release should take place in the background
    Choose  to execute the release.
    Reg
    *assign points if useful

  • Segment version control urgent !!

    Hi all,
    I am doing file to file  (FTP) transfer thorugh xi without mapping .
    when i creating idoc in my ecc system . idoc is taking current segement version i.e 700 relase  but
    I want to restrict it to  segement version i.e 4.6c when creating idoc .
    eg segemnet   E1MARAM  should  use E2MARAM004 (46c)   instead of E2MARAM006(700)
    where can i config to pick old segement version .
    please help me
    Thanks

    HI ALL
    Can anyone help me to solve above problem ,
    How can i control segement definition version  while creating idoc   .
    i.e i want version of 4.6c but idoc is creating segement  of 700 release .
    thanks

  • Segement version control urgent !!!

    Hi all,
    I am doing file to file  (FTP) transfer thorugh xi without mapping .
    when i creating idoc in my ecc system . idoc is taking current segement version i.e 700 relase  but
    I want to restrict it to  segement version i.e 4.6c when creating idoc .
    eg segemnet   E1MARAM  should  use E2MARAM004 (46c)   instead of E2MARAM006(700)
    where can i config to pick old segement version .
    Thanks

    U can have the idoc version control at the ALE layer during the communication. See "IDoc Version Change" here
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6702507d11d18ee90000e8366fc2/frameset.htm
    Regards,
    Prateek

Maybe you are looking for

  • My ipod touch 4 gen is showing headphones in but they are not

    My ipod touch 4 gen is showing headphones in but they are not.plz help me

  • Main() inside a class

    Um..ok..I have a GUI class which is run from a Driver. Now under certain circumstances I need to run it from the class itself. I trired Thread newWindow = new Thread() public void run(){ class GUIDriver{ public void main( String args[ ] ) new Checker

  • Google maps is not displaying properly on firefox

    I am in the process of building a website for a client and have included a google map on the contact page. The map displays correctly in ie, safari, opera, and chrome, but on firefox the map is way out of position on the page. Firefox seems to be ign

  • Excise Base Value  is not showing

    Dear SAPPER's, At my client side we are using CC 6.0 .When I'm doing Capture of Exise Invoice ( T. Code  : J1IEX_C ) the system is not Showing  Base Exise Value ( J_1IEXITEM-EXBAS ) which should be pick automatically from Purchase Order Base Value. 

  • How to transfer documents from ipad to laptop?

    how to fransfer documents saved from ipad to a laptop?