How to display in sap-script the data which is input in selection screen by the user.

Hii,
    I want to display the data in sap-script that has been input by the user in selection screen.
Suppose the the user has done input for posting date from 25.1.2001 to 25.1.2005,what i want is to display this date in sap script.
How can i do it.
please help asap.
Regards.

Hi,
If select-option name is s_erdat.
then from value will be s_erdat-low and to value will be s_erdat-high.
Arivazhagan S

Similar Messages

  • Help Pls, How to display feedback messages to the user on 10.1.3

    Hi, can anybody explain how to use the <html:messages> tag and the SaveMessages( request , ActionMessage ) on an 10.1.3 ADF application?
    There is not such a logic on the ToyStore sample and my requests for help on this thread "Internal Error" on saveMessages(...) has been ignored ....
    Omar

    Chris,
    The following thread should give you some insight on how to migrate your 10.1.2 Struts + ADF application to 10.1.3: reportErrors(PageLifecycleContext ctx) not called
    If you are not ready to migrate, you can also develop in JDeveloper 10.1.2 and deploy to 10.1.3. The documentation to do so should be available shortly.I will repost when it becomes available.

  • How do I delete one of the user accounts on my computer and not lose the data in that account?

    How do I delete one of the user accounts on my computer and not lose the data in that account?

    I actually have the opposite of this problem. haha.
    https://discussions.apple.com/thread/4484354

  • Migrating the SAP-Scripts to smartforma which are related to Finance(FI)

    Hi,
    Do we can migrate the SAP-Scripts to Smartform which are related to Finance(FI) & those SAP-Scripts are called by a standard print program (RFFOUS_C)
    Urgent answer need please!!!
    Thanks,

    Hello,
    Yes you can migrate script to smartform  there are different ways to migrate.
    Use program SF_MIGRATE..
    to migrate from scripts to smartforms.
    Reward if helpful.
    Viswam.

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    The WebCam pod can pause a live video showing a static image. However, I believe that you are looking to use a Share pod, where you can upload a JPG or PNG image. Just place the share pod with the image where you would have the Camera pod.

  • How to display existing sap form in our menuclick

    Hi All,
    I have created one addon for MRP in this addon when client click on menu i have to display "Order recomandation" form which will dispaly in existing MRP functions.
    How to display existing sap form in our menuclick. please help me as soon as possible.
    Regards,
    sri

    Thanks Teun,
    Thanks for giving reply.
    i am not getting any ActivateMenuItem method in menuclick event
    But here i am addding one menu item from my addon when i click on my menu 20.2.orderrecomnds i have to populate same screen which is coming in mrp order recomonds which form id is 65215
    if ((pVal.MenuUID == "Submenuordrecom") & (pVal.BeforeAction == false))
    // code
    in above menu click event i have to populate order recomonds screen so how to do that.
    Regards,
    sri
    Edited by: dns_sap on Jul 28, 2010 12:09 PM

  • Change display language according to the user programmatically

    How to change the site displaying language according to the user ? Let say I've drop-down to select language in a web page according to that whole site display language change and also user's language in user profile need to change. How to do that in using
    server object model programmatically.

    Hi,
    According to your post, my understanding is that you wanted to display language according to the user.
    First, we can find out the current culture of the logged in user based on
    LCID.
    System.Threading.Thread.CurrentThread.CurrentUICulture.LCID
    Then you can set the language based on the LCID.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/0e5d36e1-ec06-404a-ab2c-0e0ff475abec/how-to-change-the-language-based-on-log-in-user-programmatically-in-sharepoint-2013-how-to-change?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/104140/change-site-display-language-according-to-the-user
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to send external mails to the user

    Dears,
    How to send external mails to the user who creates the sales document (Quotation)
    Can you please suggest what modification required in the FM
    Thanks,
    pinky

    You can have a partner function like 'Created by' and use an exit to populate the User ID to this partner function(dont have the system right now but i think this can be done with standard partner detr. procedure also)
    Then, create an Output type for that Partner function with transmission medium as 'External Send'. You can use the standard SAP program to trigger the email. To send the actual email after the output is trigerred, the link connection has to be set up be BASIS but if you want to check, then goto SOST and see if the email got trigerred or not.

  • Is there any FM to validate the DATE input in selection screen?

    Hi Experts,
    The Z prog. does hv a field in selection screen, with name of enter_date_as_YYYYMM.
    So, user has to enter the vaue(inturn DATE) as YYYYMM, say 200807.
    1) So, YYYY valid range shuld be 1960-2099 only, if not, throw ERROR message
    2) MM range is obvoiusly 01-12, else ERROR message
    3) if user enters July as 7, prog. need to take it as 07
    so, instaed of coding to validate these, Is there any FM to meet my requirement?
    thanq

    Hi Srinivas,
    You can see the sample code mentioned below. It will throw those errors which u mentioned. Even you can change the logic as u required. This is just for your information...
    parameters: P_date(6) type n  obligatory.
    DATA: p_len TYPE i.
    at selection-screen.
    if ( p_date4(2) lt '01' or  p_date4(2) gt '12' ) .
      MESSAGE e400(ZCA_GENERAL) WITH 'Date format is wrong enter only YYYYMM'.
    elseif ( p_date0(4) lt '1960' or p_date0(4) gt '2099' ).
    MESSAGE e400(ZCA_GENERAL) WITH 'Date format ( Year 1960-2099 ) is wrong enter only YYYYMM'.
    endif.
    Regards,
    Naveen Veshala

  • How to start Integration server with the user XISUPER

    Hi,
    How to start Integration server with the user XISUPER?
    Regards,

    Mahesh,
    In the post installation document, under Creating User XISUPER,
    I see the following,
    1.You must now log on to the Integration server host with the user XISUPER, to switch the initial password to a valid password.
    2.You must restart the J2EE engine to transfer the user creation to the J2EE immediately.
    I am unable to proceed here.Can you please help me to resume the post installation steps ?
    Thanks,

  • How to display text value in the header data (Header text) of credit memo

    Hi...
    I need to display the text value of the text field in the header text of the header data in credit memo.
    The text values are stored in a ztable and i need to display it based on the billing document stored in vbrk (zfield) that was inserted during the creation of credit request..
    Appreciate your help on how to do this...
    Thansk and will surely reward the points..
    Kanthi..

    Hi kanthi ,
                   Read the value from Z Table and during the creation of cedit memo check out for some exit where u the value from The zTABLE AND use function module SAVE_TEXT with object and id in the header text .
    Please award if useful.

  • How to display NEGATIVE sign on the left side of a number in SMARTFORMS

    Hi,
         In smartforms I'm trying to print some negative values, but the negative sign is displayed on the right hand side of the number.
    How can I display the '-' sign on the left hand side of a number. I tried the logic &value(<), it works well in sap scripts. Why is it not working in smartforms ?
    Eg :   I'm getting  the output  as  126.75 -
             I want :  - 126.75

    see this wiki which gives details for restrictions of formatting options (I guess you didn't declare the variable correctly, i.e. with the right data element): http://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript#SAPscript-WhatarethevarioustextformattingoptionsinSAPscript%3F

  • SAP Script OTF data problem

    hello,
    Im trying to convert a script to pdf data.
    In the open_form I set getotf = 'X' and in the close form , i get the OTf data.
    I convert this otf to pdf data.
    In the pdf output, I only have the static fields and no data.Though the number of pages generated are same in the PDF output and the script.
    help me figure it out ..

    Hi,
    There is a very useful post to check how you have converted otf to pdf:
    Emailing Sap Scripts
    Cheers,
    Bhanu

  • Item level display in SAP script

    Hi All,
    I am trying to show the line items of sales invoie in the invoice layout using SAP script. But it displays just one line item. It overwrites the same line on every call. How can I instruct it to print it on the next line. I've even tried printing the line using '/' (line feed) but to no effect.
    Please help,
    Regards,
    Madhur

    Hi Vinod,
    I am doing the same thing as you suggested. Here's the code I am using. This is for the disclaimer text that is being picked up and consists of multiple lines.
    SAP Script for window DISCLAIM->
    /E   DISCLAIMER  
    C1   Disclaimer  
    P1   &W_DISLINES&
    Program Code ->
    Print Disclaimer
      LOOP AT I_T_LINES.
        W_DISLINES = I_T_LINES.
        PERFORM WRITEFORM USING 'DISCLAIMER' 'DISCLAIM'.
      ENDLOOP.
    FORM WRITEFORM USING VALUE(P_ELEM)
                         VALUE(P_WIND).
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         ELEMENT                     = P_ELEM
         FUNCTION                    = 'SET'
         TYPE                        = 'BODY'
         WINDOW                      = P_WIND
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
    ELEMENT                        = 1
    FUNCTION                       = 2
    TYPE                           = 3
    UNOPENED                       = 4
    UNSTARTED                      = 5
    WINDOW                         = 6
    BAD_PAGEFORMAT_FOR_PRINT       = 7
    SPOOL_ERROR                    = 8
    CODEPAGE                       = 9
    OTHERS                         = 10
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "WRITEFORM

Maybe you are looking for

  • When clicked on photo, exclamation pops up

    I recently just uploaded my camera's software to my mac and it imported pictures. I'm sure that's the cause of the problem, but I'm not sure how to get the pictures back into my Iphoto. When I open up my library it will show the pictures, but once I

  • Calculate due date

    Hello guys: I need your help here. I try to build an application that has to calculate the due date for 14 days. I have two date picker: 1)P11_BORROW_DATE 2)P11_RETURN_DATE How can i calculate the borrow date plus 14days to become the return date sho

  • Problems when I inteted load a JDBC

    I have installed my driver JDBC into the directory : /usr/local/pgsql and I have developed an application : Connec.java and compiled with javac obtained Connec.class the driver is stored as pg73jdbc3.jar when I intented : java -jar pg73jdbc3.jar Cone

  • Yosemite Apple Mail tells me one of my gmail servers is offline. I can receive but not send.

    I have 3 Gmail accounts on my MacBook Pro which has recently been updated to Yosemite OS x 10.10.1 Storage 1TB. RAM 8GB Internet access (Webmail) works fine on all my gmail accounts, so the servers are definitely online I am now having trouble with A

  • My pc HP 2000-2121TU tuchpad never worked.

    MY PC HP 2000-2121TU TUCHPAD IS NOT WORKING IN SOME DAYS...