How to save data without coming out of a session..

Dear Expert..
I have created a module pool and I am creating the absence record for employee based on the data provided on the selection screen . I have used the following module for this purpose.
HR_EMPLOYEE_ENQUEUE , HR_INFOTYPE_OPERATION and HR_EMPLOYEE_DEQUEUE.
The record is not getting saved till I come out of the session. I have used the statement Commit-work as well. I want the absence to be created with the message coming on the main screen where by it allows the user to create the absence again for some other employee. Currently they need to go out and come back again...
Regards,
Vidya..

Hi,
After the FM HR_INFOTYPE_OPERATION 
write
wait up to <n> seconds.
Regards,
Srini.

Similar Messages

  • How to stop an error without coming out of that particular session?

    Dear All,
    Always I encounter times when the system force me to make the changes
    before I can proceed with anything, any way to stop the error first
    without coming out of the session so that I do not need to key all over
    again?
    Many Thanks for your help

    Hi,
    In case you are trying to post a document and error keeps coming at different places as a result of customizing, there is no other option but to fix the missing customizing, and re enter the posting from the beginning. this is because the underlying tables needs to be refereshed and way of refreshing is to exit and start all over again.
    Rgds.

  • When i close firefox.how to save firefox.without losing any data,and when i restart.the tabs come back.how

    how to save firefox,without losing data.that means when i am closing firefox its not asking to svae or not

    In the Tools menu select Options to open the options dialog. Select the General panel and change the setting "When Firefox starts" to "Show my windows and tabs from last time".

  • Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory

    Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory

    Here are a few Links to a helpful Knowledge Base article and a White Paper that should help you out: http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF and http://www.ni.com/white-paper/10435/en/ . The methods for File IO in Real Time are the same for all of the Real Time Targets. The White Paper has best practices for the File IO and goes over how to do it. 
    Alex D
    Applications Engineer
    National Instruments

  • To allow me put a value into field without coming out the tcode.

    Hi Friends,
    My requirement is when a value is entered into a field leaving the other field empty should display a error  message
    I'm making use of the below statement to display the error message
    message S000(01) display like 'E' raising error_with_message.
    But the thing is ,when trying to save it after entering value into a field leaving the other empty, its displaying the error message which i have maintianed.till here its well and good.But from here I can only come out of the tcode without allowing me to enter the value into the other field.
    want a message to be displayed on the status bar and allow me to put the value into the remaining field
    without coming out from the screen..
    Please help..

    Hi laxman,
    Are you saying like this..
    message S000(01) dispaly like 's' raising error_with_message.
          set screen 100.
          leave screen.
    The Req is "If I enter a value in field leaving the other field empty in tcode XXXX..its should display a message that this particular field is mandatory and allow me to put the value into the other field "
    I'm able to display a message when the second field is left empty..
    In the message dialog (where the message gets displayed), exit option is there.so i'm coming out of the tcode.But it should give me message and allow me to put the value in the screen without coming out of it.

  • How to save data in ztable after editing in alv report

    how to save data in ztable after editing in alv report?

    Hi,
        Please find the attachment below.This may be usefull to you.
         [http://wiki.sdn.sap.com/wiki/display/Snippets/ALV-Editingandsavingtheeditedvaluesin+Database%28OOPS%29]
    Regards,
    Ramakrishna Yella.

  • How to save data model design in pdf or any format..?

    how to save data model design in pdf or any format..?
    i ve created design but not able to save it any mage or pdf format

    File -> Print Diagram -> To PDF File

  • How to save imej without background

    How to save imej without background in Ai CS5, like in Photoshop psd. I need only the object without the base background. Without doing CLIPPING MASK.
    I know there is a method but didn't remember.

    I don't know anything about iMovie but I'm guessing it requires files to be a certain way, like maybe an Alpha Channel is required or s specific format. I'd look into their documentation. See if thry have a forum somewhere.

  • How to Save Background job report out put in local / Network Drive?

    Hello Techies,
    How to Save Background job report out put in local / Network Drive.
    Actually we have option to send mail aftr complete but  i need to save in local drive or network drive .

    Hi ,
    Background job runs in application server , and your local /network drive is basically presentation server. So you cant save it in local /network drive from the job itself. But to download files, you can write the files to the application server using DATASET, in the background and then use the transaction CG3Y in the foreground to download the file.

  • How to save data (DBL array) in a excel file

    Ok, I am new into Labview.  This question may seem easy for you guys, but for me, it is quite a challenge.  I have current coming out of a loop.  When the program stop, I would like to be able to save it as well as the time when it has been taking and the average current in a excel file.  When my labview code stops, how do I do to get a  pop up window which ask me where and what name to save it to? How do I get so that on the top of each column, it says : current (Amp)    Time (ms)   Average Current (amp)?
    thank you very much,

    Hello,
    We love to see people catch the LabVIEW spirit and anything we can do to help
    you through the initial learning process is our pleasure.
    As KC suggested saving the file as a .csv is a good idea,
    you can also save it as a txt file and open it with Excel specifying a delimiter
    for the columns.
    There is a really good example you can find in the LabVIEW
    example finder if you search for the keyword ‘file’, the example is called “Write
    to Text File.vi”. They use a Get date/time String to record the time when data
    is acquired.
    I have attached a simple Write to File picture of a VI that
    takes a random number and writes it to a file. When I run the VI, a popup asks
    me what I want to call the file. The first part writes the heathers on the
    columns and inside of the for loop I save the data. Underneath the block diagram
    is a picture of the output file when I specify the number of samples to be five.
    If you want your file to be on a very specific format, you
    can create a template file, read it in LabVIEW, and then add your data to it
    and save it to a new file.
    Hope this can get you started with your program.
    There are a lot of good tutorials online on how to
    get started using LabVIEW. Here is the link to a three hour
    introduction course:
    http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/60c2782788a811c986256cd50001a0a6?OpenDocument&node=200067_us
    We are also comming out with LabVIEW 8 in November and we have a program called LabVIEW Standard Service Program
    (SSP) that allows you to get automatic upgrades and updates. Please let
    me know if you are interested in knowing more about it.
    Good luck,
    Tica Taveras
    Applications Engineer
    National Instruments
    Attachments:
    SaveData.bmp ‏1475 KB

  • How generate a XML file & how to save data in that file?

    hi,
    How to generate an xml file & how to add data in that xml file? is there anyone who can help me about this? Firstly i need to open a xml file and after that i need to save user data in that file? how i will do it? What will be the solution of this? please give me solution........
    with regards
    Bina

    With an API like Xerces you can parse an XML document into a DOM tree. You can do modifications on that tree manually and then write it back out as XML data.
    http://xerces.apache.org/xerces2-j/

  • Offline Adobe Form using GP - How to save data to SAP

    Hi,
    I have the following requirement.
              o An offline form is sent to different users and when they fill the form and Click on Submit, the data should be saved to SAP.
              o When the data is submitted, it should be recognize the user and multiple clicks if any so that data is not duplicated
    I have used Guided Procedures for this. I have created an Interactive Form callable object with an xdp template and "Create offline Interactive form and send by e-mail" option.
    Problem:
    1. The document emailed to user can be submitted only once. My requirement is whenever form is submitted it should update the previous data.
    2. How to save this data to SAP?
    Version:
    SAP NW SP12
    Adobe Live cycle designer 7.1
    I have gone through various blogs on Adobe Offline interactive forms and GP but I could not get a solution for this. Please help.
    Thank you,
    Vasu

    Hi,
    IMHO there is no easy solution for your requirement. However there is a workaround: you can create so-called "impersonalized" forms. They can be sent or returned as many times as needed from same or different users. However the effect will be that for each form sent out and accepted by GP, GP will start a new GP process. That means that the forms are the first step of such a process - so to say.
    An offline form "in the middle" of a process can be embedded into the process as a dedicated step only. Once this form is returned to GP by the user, the process is continued and 2nd or later form returns are ignored. However there is the possibility to build an additional step into GP to check the input data and if they aren't valid to send out the form to the user once again.
    So you see that there are some possibilities but no straight forward solution for your needs. Hope I could help anyhow.
    Regards,
        Jan

  • How to save requisitions without using E-Recruiting

    Hello All,
    Is there a way, to save requisitions data without using the E-Recruiting Web pages?
    Is there a Function module or a Class or a BAdI that I can use?
    We want to use a Interface that will send a flat fille with a lot of data
    and then to handle it in the same way the SAVE button on E-Recruiting does...
    Any Suggestions?
    Best Regards,
    Eran
    SAVE THE DATE 01-01-2011 ****

    Hi Roman,
    The flat file will come from other systems .
    It will store Requisitions details and the program/interface will have to proccess these records and create or update the infotypes according to them...
    Someone told me that it would be a bad thing to use classes and pointed out that there are FM like RH_* that wiil do the same
    I tried to use FM 'RH_INSERT_INFTY'  just to see if any record was entered ,but nothing happened...
    HRP1000 didn't get the new record
    What did I do wrong? What is the right way? FM's or Classes?
    Best Regards,
    Eran
    DATA: X1000 LIKE P1000 OCCURS 1 WITH HEADER LINE.
    X1000-MANDT = SY-MANDT.
    X1000-PLVAR = '01'.
    X1000-OTYPE = 'NB'.
    X1000-INFTY = '1000'.
    X1000-ISTAT = '1'.
    X1000-BEGDA = sy-datum.
    X1000-ENDDA = '99991231'.
    X1000-LANGU = 'B'.
    X1000-SHORT = 'ERAN'.
    X1000-STEXT = 'ERAN TEST'.
    append x1000.
    * 1. Reset standard authorization
      CALL FUNCTION 'RH_AUTHORITY_CHECK_OFF'.
    * 2. Insert new row into Infotype 1000 for position with new name
    CALL FUNCTION 'RH_INSERT_INFTY'
      EXPORTING
    *   FCODE                     = 'INSE'
        VTASK                     = 'S'
    *   ORDER_FLG                 = 'X'
    *   COMMIT_FLG                = 'X'
    *   AUTHY                     = 'X'
    *   PPPAR_IMP                 =
    *   OLD_TABNR                 = ' '
    *   REPID                     = ' '
    *   FORM                      = ' '
    *   KEEP_LUPD                 =
    *   WORKF_ACTV                = 'X'
      TABLES
        INNNN                     = X1000
    *   ILFCODE                   =
    * EXCEPTIONS
    *   NO_AUTHORIZATION          = 1
    *   ERROR_DURING_INSERT       = 2
    *   REPID_FORM_INITIAL        = 3
    *   CORR_EXIT                 = 4
    *   BEGDA_GREATER_ENDDA       = 5
    *   OTHERS                    = 6
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK.
    * 3. Set standard authorization
    CALL FUNCTION 'RH_AUTHORITY_CHECK_ON' .
    SAVE THE DATE 01-01-2011 ****
    More convenient to use, More efficient search , Easier to find...

  • How to save data in columns with headers?

    I'm trying to save 10 different types of data into individual columns with headers, but I can either get one giant column of data with the given header at the start of each data set (imbeded in the column) or I can get the headers in different columns, but the data all in one row. This seems like a simple problem, but for the life of me I can't figure it out--HELP!
    I've attached my code...don't laugh, I think I've created a monster trying to figure this out. What I'm trying to get is one column with the header "Power (watts)" and then the power data in that column, one column with the header "angular acceleration (rad/s^2)" and then the angular acceleration data in that column, and so on...
    Thanks!
    Attachments:
    RILE-25.vi ‏335 KB

    Hi
    Take a look at this VI / Block diagram pic
    Here, I am demonstrating how to write data to a file column wise along with relevant column headers
    Hope this helps
    Regards
    Dev
    Attachments:
    header_column data.JPG ‏49 KB
    header_column data.vi ‏20 KB

  • How to save data from form into database

    i nid to save data from form into the new table, @abc.
    got any idea ?
    smtg like oObj = BaseAddOn.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes) this but it is a new object or user data source.
    Thanks

    hi
    i have created UDO i have also done registration  i want to bind item master completely to matrix and then in one column i will set check box to check unchecked and then i want to save it to database
    i have one user defined form and 4 matrix and 4 child tables
    for each matrix i have given 1 form and i have to transfer the data from temp form to main form matrix having large data in matrix on temp form to main form matrix
    to load data on matrix i have used for loop that i want to avoid so how i can bind large data to matrix without for loop
    regards
    amey

Maybe you are looking for

  • Time Machine backup on Time Capsule - lost

    Hi, I changed the password on my 1 TB Time Capsule, as well as the WPA personal password. I then realized later on that Time Machine no longer connected to the MacBook Pro backup on my TC. I saw a support article about changing the password in Keycha

  • Upgrading my MBP to SSD today, question...

    So, my plan is to fresh install Lion on it when I get it, but my question is this.  Am I better off, since I'm using a fresh Lion install to also install all my apps from scratch instead of using the migration assistant after Lion is installed?  Is i

  • Maximum size of an array

    Hello, I'm using LabVIEW2009 under windows XP (4Go RAM). When I create a large array using the "Initilaize an array" fucntion (for example a 2D 512x512 array of U16), I've an error message "Insufficient memory" while this table weighs only 520kb if I

  • How to put the restrict in pf-status  in standard program

    hi friends, My requirement is if we give any values in ov51 tcode this all details will go to the one mail. but Client ask do want to the pf-status values how to restric pf-status values. Could any one help . This is sample code SUBMIT RFDABL00 TO SA

  • Delivery date in po

    Dear all, When a Po is created from PR all the details were flown from Pr to Po . I want delivery date to be blank when a Pr is created from Po and user will have to enter the delivery date manually. How to achieve this. Is there any user exit availa