How to retain screen input values in HR program on BACK ?

Hi,
I have a report program in HR, using LDB "PNP" and Report category : PSSPCDOC.
After the program is executed and the report is displayed on screen, if the user clicks the BACK button (F3), the selection screen is displayed with initial values. The input values provided by the user previously get lost.
I debugged and it seems that the memory gets cleared everytime the BACK button is clicked.
But i want to retain the user inputs on the selection screen if the user clicks the BACK button because the user wants to change some selection inputs not all.
I am new to HR module, please let me know how to solve this issue.

Hi,
You can make use of SAP memeory. in the AT-SELECTION-SCREEN event, you can upload selection data in the defined memory area. Then you can make a check in the AT-SELECTION-SCREEN OUTPUT for that memory area and if that area has some data, you can show that into the screen in that event.
Thus, first time when User execute the program, that memory area would be initial. However, if user select Back after execution of selection screen, data will get loaded into the memory area and will display in the screen once again.

Similar Messages

  • How do i display input values (POV) for a table control field

    Hi guyz !
    How do i display input values (POV) for a field in table control,
    i mean when user presses F4 on a table control field.
    Please help.
    Thanks
    jahan

    PROCESS ON VALUE-REQUEST( F4 ) statement  
    Code to demonstrate how to perform a manual value help(F4) on a particular field using the PROCESS ON VALUE-REQUEST statement and how to return values back to a table control on the screen. For standard screen fields simply move the value to the appropriate screen field name.
    * Screen flow logic........
    PROCESS BEFORE OUTPUT.
    *MODULE PBO_MODULE.
    PROCESS AFTER INPUT.
    *MODULE PAI_MODULE.
    PROCESS ON VALUE-REQUEST. "F4
      FIELD EKPO-EBELP MODULE help_ekpo.
    MODULE help_ekpo INPUT.
    **Transport values to table dynpro/screen table control
      DATA: l_stepl LIKE  sy-stepl,
            l_indx  LIKE  sy-stepl.
      DATA: dynpfields        LIKE dynpread OCCURS 5 WITH HEADER LINE.
    * Adjust for scroling within table control
      CALL FUNCTION 'DYNP_GET_STEPL'
        IMPORTING
          povstepl        = l_stepl
        EXCEPTIONS
          stepl_not_found = 0
          OTHERS          = 0.
      l_indx = tc_ekpotable-top_line + l_stepl - 1.
              "tc_ekpotable should already have been declared
      REFRESH dynpfields.
      CLEAR   dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELN'.
      dynpfields-fieldvalue = '00010'   "wa_ekpo-ebeln.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELP'.
      dynpfields-fieldvalue = '00020'   "wa_ekpo-ebelp.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = 'SAPLZZ_EKKO'    "Program name
          dynumb     = '0100'           "Screen number
        TABLES
          dynpfields = dynpfields
        EXCEPTIONS
          OTHERS     = 0.
    ENDMODULE.                 " help_ekpo  INPUT
    reward points  if it is usefull ..
    Girish

  • How do I pass input values from a html page to a jsf page

    hi,
    In my project,for front view we have used html pages.how can I get input values from that html page into my jsf page.for back end purpose we have used EJB3.0
    how can I write jsf managed bean for accessing these entities.we have used session facade design pattern and the IDE is netbeans5.5.
    pls,help me,very urgent
    thanx in advance

    Simplest way is to rewrite html page into jsf page.
    You can use session bean in your managed bean like this:
    import javax.naming.Context;
    import javax.naming.InitialContext;
    public class ManagedBean {
    private Context  ctx;
    private Object res;
    // session bean interface
    private Service service;
              public ManagedBean() {
                try{
                     ctx = new InitialContext();
                     res = ctx.lookup("Service");
                     service = (Service) res;
               catch(Exeption e){
    }Message was edited by:
    m00dy

  • How to map single input value to Two columns of Database table using format file of Bulk Copy Process

    Hi All,
    Am using OPENROWSET to load the file data into table, here the problem is i need to map same input value to two different columns of table, As format file doesn't allow the duplicate numbers am unable to insert same value to two columns, please help me to
    find a solution for this. 
    i can use only OPENROWSET because i need to insert some default values also which come based on file. only the problem is how to map same input value to two different columns of table. please give me the suggestions.
    Thanks,
    Sudhakar

    From what you say:
       INSERT tbl(col1, col2)
          SELECT col1, col1
          FROM   OPENROWSET(....)
    But I guess it is more difficult. You need to give more details. What sort of data source do you have? What does your query look like? The target table?
    Erland Sommarskog, SQL Server MVP, [email protected]
    Hi Erland,
    Thanks for your response
    my source file is text file with | symbol separate for ex:
    1002|eTab |V101|eTablet|V100|Logic|LT-7|Laptops|SCM
    Database table have columns like
    column1,column2,column3...etc, now i need to insert same value from input file into two columns for ex:
    the eTab value from text file has to be insert into column2 and column3 of
    table
    we cannot change format file like below one
    for the above situation how can we insert eTab into column2 and column3
    Thanks,
    Sudhakar.

  • How to get the kerning value and set it to back use script?

    hi,guys
    I come back again.
    I encountered a kerning problem.
    how to get the kerning value and set it to back use script?
    Thanks very much!

    For both cases, the filename can be found on the FILE.ReceivedFileName Context Property.  You can access this Property in a Pipeline Component or Orchestration and take any action you want, such as apply to a database.
    The value is accessed by: MyReceivedMessage(FILE.ReceivedFileName)
    In the case of a duplicate EDI Interchange, you would use the Failed Message Routing feature to capture the error message with either an Orchestration or Send Port.

  • How to access screen field value in a module pool programming?

    Hi Experts,
       I have create a module pool program SAPMYDLG. It contains two screens 100 and 200.
       The first screen contains Employee_ID field. This field is not a dictionary field.
       In the second screen 200, I want to access the value of Employee_ID field from first screen.
       For this I created a global variable v_empid in TOP include.
       Then in the PAI of the screen 100 I have assigned the screen field value to global variable.
       v_empid = Employee_ID.
       But this gives an error saying " Field  Employee_ID not defined".
       What am I doing wrong? How can I access the screen field value?
    Thanks
    Gopal

    Hi,
    Employee_ID field also must u define in the top include when u define that 100 screen and 200 screen will access.
    regards,
    muralii

  • How to get the input value as a columns headings of the kye figer

    Dear all,
    the senario is i have keyfiger heading like DESPATCHES MADE ON (0CALDAY) and CUMMULATIVE DESPATCHES FOR (0CALMONTH), the 0CALDAY is the input value of the report. so how to get the value of the 0CALDAY and 0CALMONTH in the heading name of the key figer.
    I really appreciate for any help on this.
    wil assign pts for sure...
    thanks
    regards
    Mohan

    Dear  Venkat Ambati,Sumit Singn,Masi dandavate,
    thanks for reply.....
    ya got u r value able inputs but i don't no how to get the variable value to the column heading, if u guy's having any doc's means plz send me the same, my mail id is <u><i>[email protected]</i></u> or <i><u>[email protected]</u></i>
    thanks n regards
    Mohan

  • How to clear the input values in WD4A

    Hi all,
    Thanks in Advance.
    In my login page i have ID and Password.If Login fails it back to the same login page.But at the same time the entered(In ID and Password)will be cleared.If i write the code in inboundhandler is it correct means how can i write to invalidate the input values???Is there any examples or related links???

    Hi,
    Please have a look at this similar thread:
    how to clear entered values.
    Hope this helps!
    Regards,
    Srilatha

  • How to make form input value a dataset value?

    Have a form and one hidden field, i want the value to come from
    a dataset.
        <input name="buyerbid" type="hidden" id="buyerbid" value="<?php  { ?> echo '<div spry:region="ds3" class="StackedContainers">
    <div spry:repeat="ds3" class="RowContainer">
    <div class="RowColumn">{column0}</div>
    </div>
    </div>' ;
    <?php } ?>" /> 
    The Spry is the
    <div spry:region="ds3" class="StackedContainers">
    <div spry:repeat="ds3" class="RowContainer">
    <div class="RowColumn">{column0}</div>
    </div>
    </div>
    Spry dataset renders correctly in a div on the page, but can't get the same value in the form input value?
    thanks for your help,
    Jim Balthrop

    thanks for your help.
    The php i knew was the wrong code.
    the spry region not surrounding the form was the answer.
    so i did it this way and it worked.
    <div spry:region="ds4"><form method="POST" name="client_bid" id="client_bid">
        <input name="vehicle_ID" type="hidden" id="vehicle_ID" value="<?php echo $row_rs_vehicle['vehicle_ID']; ?>" />
        <input name="buyer_ID" type="hidden" id="buyer_ID" value="<?php echo $row_rs_login['client_ID']; ?>" /> 
        <input name="auction_ID" type="hidden" id="auction_ID" value="<?php echo $row_rs_auction['auction_ID']; ?>" />
        <input name="buyerbid" type="hidden" id="buyerbid" value="{ds4::column0}" />
        <input name="submitbuyer" type="submit" id="submitbuyer" value="Submit Bid">
      </form></div>
    thanks again.
    -Jim Balthrop

  • How to retain a form values when navigating to another form

    I have a createUser.jsp where i can create new user(CreateUserForm). I need to call an action which will take me to another jsp findPage.jsp (FindAssociateForm) where i perform some operations and then comes back to previous page createUser.jsp. When I come to createUser.jsp, all the form values (like first name, lasst name, etc) are getting lost. so I had to re-enter the whole information again which should not be case.
    I would like to retain the form values.
    Please note I have one pageflow but two form beans as both are different JSPs.
    Thanks for looking into this and I appreciate your help.
    -Ananth

    Hi Ananth,
    U need to define Pageflow formbeans.
    The formbean u defined is request scope. Pagefloe formbeans are global and can be used through out pageflow.
    Coming back to first page can be of different cases, form validation failure or navigation logic.
    In form validation Failure you can use, forward path as Jpf.Navigate.ToCurrentPage or Jpf.Navigate.ToPreviousPage depending on your flow. The values will be retained even if form bean is request scope.
    ex:     @Jpf.Action(forwards = {
                   @Jpf.Forward(name = "success", path = "findPage.jsp"),               
                   @Jpf.Forward(name = "failure", navigateTo = Jpf.NavigateTo.currentPage)})
    If its a navigation logic, the you need to add this formbean in the forward.
    ex: forward.addOutputForm(createUserForm);
    Let me know if you need anything more.
    Suman

  • How to capture the parameter value of Concurrent Program submited

    Hi,
    I would like to capture the Parameter value of Concurrent Program submitted through Submit Request screen based on that i want to return value.
    When Conc prog "Payroll Run" along with parameter like "Pay Period" which has LOV attached to it, which has one coulumn named "End Date", this value selected needs to be captured. Can you please tell the Table name where the value is stored or Captured.
    I want this value to be used in Fast Formula which will return the desired value to Input Value.
    Actually in one of the Element I have Input Value as "Monthly Days" which should be populated with the "Number of days" in the period in which Payroll is being processed.
    Thanks in advance.
    Ram

    Hi,
    fnd_concurrent_requests.argument_text stores the argument values in comma separated form. But check the prior response from thierry first - fnd_concurrent _requests is not the place you want to be getting things from as it can be purged and so you source data is gone!
    Gareth
    http://garethroberts.blogspot.com

  • Rgarding screen field values passing to program

    Dear all, i have searched in SDN and cud not find the answer, i am working on a MB_MIGO_BADI for which i have to design a screen. now i have designed the screen ,and in the  PAI method i have  written the code. but im unable to get the screen field values that i entered in the screen into this method,(in order to concatenate the screen fields)can any one tell me how to declare variables in the method as well as when we create the screen. please give me in detailed steps.
    Thanks in advance,
    Naren

    Hi,
      If you go to se18 open the BADi and go to menu path GOTO> SAMPLE CODE you can check out a sample implemenation. You can declare Instance level attributes and use those to transfer data.
    Regards,
    Himanshu

  • How to make use of values in calling program in a badi

    Hi
         I have a badi implementation. i need to make use of some values in the program in the BADI. how do i access values in the program in the BADI.
    Regards,
    Chaitanya

    You can try this:
    E.g (replace the table and program names with the one you need).:
      CONSTANTS: c_resbd(15) TYPE c VALUE '(SAPLCOIH)resbd'.
      FIELD-SYMBOLS: <fs_resbd> TYPE resbd.
      ASSIGN (c_resbd) TO <fs_resbd>.
    If this doesn't work try exporting the variables you need to memory from a field/user exit.

  • How to change screen field value.

    Hi Experts,
             I like to change the screen field MSAUS(check box) of program SAPLIQS0 in one of the exit.But if I use
    (SAPLIQS0)VIQMEL-MSAUS = 'X'. its showing compile error.Please tell me how can i change this field in this exit.
    Regards,
    Ajish.

    try something like this:
    create field symbol
      FIELD-SYMBOLS: <fs>.
    Assign value of variable from calling prog to field symbol
      ASSIGN ('(SAPLIQS0)VIQMEL-MSAUS' ) TO <fs>.
    <fs> = 'X'.
    Regards,
    ravi

  • How to retain check box value

    Hi All,
    In my application there are using a check box item..what they have done is under
    source used: Alaways,replcaing existing value in session state.
    Source type: sql query
    Now the problem is when ever they is a record in backend it is not showing selected in check list..
    But when i have tried to change Source used from Alawys to Only when then in that case i am able to see tick mark under that check box..
    But when no data exists even though the tick mark still exists...
    How do we handle such scenerio's..
    Thanks,
    Anoo..

    we don't even know the context you're in, you must give more informations about what you exactly want to do
    if you're using java servlets, it goes like that:
    first page (servlet) must contain:
    <form action=nextPage.html method=get>
    <input type=checkbox name=toto>
    </form>
    second page (servlet) must contain:
    req.getParameter("toto");
    (req being the HttpServletRequest of the first servlet)
    that will give you the state of the box
    Message was edited by:
    calvino_ind

Maybe you are looking for

  • LED CINEMA resolution

    I was working normally with my LED CINEMA connected to my airbook with a high resolution but now the maximun resolution is 1280 X 720. Anybody knows how to increase the resolution? In the LED CINEMA menu the maximun resolution that appears it is this

  • Strange behavior: Links in Chrome Bookmark Folder in Google Docs

    When I open the Chrome Bookmarks folder in Google Docs on my Fascinate I see all my bookmarks, BUT when I click on them the phone's browser (I'm using Dolphin)  gives me a "lost connectivity" error message OR closes the Google Docs tab and opens my h

  • JCreator doesn't find the JAI packages

    Hello Everyone! I am new here and new to JAI. I read all posts i can find here and many another, too. I use JCreator and it doesn't "see" the javax.media.jai package. I installed the 1.3 version of JAI both jre and jdk, i set the environmental variab

  • Middleware issue: can see the object queue in SRM on T Code - SMQ1

    Hi Jennifer, Can you double click on the SYSFAIL queue entry and update the detailed error? Regards, Nikhil

  • GR-Non Valuated Checkbox

    HI All, If in Delivery tab of PO ,GR- Non Valuated check box is checked what does it signify? and how can we remove it? Regds Saurabh