Process and Code for writing an RFC to retrieve data from IT0006 and IT0655

Hi,
Can some body tell me the process and code for creating an RFC to retrieve data from IT0006 and IT0655.
Its very urgent........
Waiting for an early reply.....
Many thanks

Hello Krishna,
      The process for creating an entry in infotype is as follows.
1.First you get the personal number lock for upating.You can use function 
    module ' BAPI_EMPLOYEE_ENQUEUE ' or ENQUEUE_EMPREL.
2.Pass the records to function module ' HR_INFOTYPE_OPERATION' with
   OPERATION - 'INS'.
3.Unlock the Employee by using function moule 'BAPI_EMPLOYEET_DEQUEUE'.
Regards,
Manoj.

Similar Messages

  • Process and Code for writing an RFC to retrieve data from IT

    Hi,
    Can some body tell me the process and code for creating an RFC to retrieve data from IT0006 and IT0655.
    Its very urgent........
    Waiting for an early reply.....
    Many thanks

    Inside your RFC you can directly use select on PA0006 & PA0655
    or use FM: HR_READ_INFOTYPE
    if you wan for multiple pernrs then cal the FM inside a loop or you can use the select query for multiple pernrs
    reward points if helpful

  • Retrieving Data from SQLite and make link with the ID of the retrieved data?

    Hello, first of all sorry if my english is bad as im from Mexico.
    I using HTML/Javascript/SQLite, and im having an issue while retrieving data from SQLite, all my querys work right, but when i try to select an Id, the Name, Firstname, and Lastname and only use the Name, Firstname and Lastname to print on screen and the Id to use as a link or OnClick query with the id more info from the name of the person..
    My SQLite query is the next one.
    var sql = "SELECT [sis_persona].[idPersona], [sis_persona].[Nombre], [sis_persona].[Paterno], [sis_persona].[Materno] FROM  [sis_persona] WHERE Nombre  LIKE '"+ nombre1+"%' AND Paterno LIKE '"+ paterno1+"%' AND Materno LIKE '"+ materno1+"%' ORDER BY [sis_persona].[Nombre], [sis_persona].[Paterno], [sis_persona].[Materno] LIMIT 20";
    And my ResultHandler is the next one:
        row = document.createElement("tr");
                    cell = document.createElement("th");
                    cell.innerText = "Nombre";
                    row.appendChild(cell)       
                    cell = document.createElement("th");
                    cell.innerText = "Paterno";
                    row.appendChild(cell)       
                    cell = document.createElement("th");
                    cell.innerText = "Materno";
                    row.appendChild(cell)       
                    tbl.appendChild(row);
                    var numRows = result.data.length;
                    for (var i = 0; i < numRows; i++)
                        // iterate over the columns in the result row object
                        row = document.createElement("tr");
                        for (col in result.data[i])
                var ea = result.data[i];
                cell = document.createElement("td");
                var a  = document.createElement( 'a' );
                a.setAttribute('HREF','#');
                var txt = document.createTextNode( ea.Nombre );
                a.appendChild( txt );
                a.onclick = function() {querytest(ea.idPersona);};
                row.appendChild( a );
                row.appendChild(cell);
                            cell = document.createElement("td");
                var a  = document.createElement( 'a' );
                a.setAttribute('HREF','#');
                var txt = document.createTextNode( ea.Paterno );
                a.appendChild( txt );
                a.onclick = function() {querytest(ea.idPersona);};
                row.appendChild( a );
                row.appendChild(cell);
                        cell = document.createElement("td");
                var a  = document.createElement( 'a' );
                a.setAttribute('HREF','#');
                var txt = document.createTextNode( ea.Materno );
                a.appendChild( txt );
                a.onclick = function() {querytest(ea.idPersona);};
                row.appendChild( a );
                row.appendChild(cell);
                        tbl.appendChild(row);
    And this is where i have the problem, it print three times and i dont know how to take print only the result and make a link with the id from the query.
    var ea = result.data[i];
                cell = document.createElement("td");
                var a  = document.createElement( 'a' );
                a.setAttribute('HREF','#');
                var txt = document.createTextNode( ea.Nombre );
                a.appendChild( txt );
                a.onclick = function() {querytest(ea.idPersona);};
                row.appendChild( a );
                row.appendChild(cell);
    Anyone have any ideas?
    Sorry again if my english is bad.
    Thanks in advance

    Hi Prashant,
    Continuation to above my thread. There is a small correction.Directly in lsmw not possible. I uploaded using the same code of lsmw and made one report. Through that i uploaded the data directly selecting the file.
    Regards,
    Madhu.

  • DO Web Service allow you to retrieve data from database and make it pluggab

    Can Web Services allo you to retrieve data from the database and do they make the pluggable by allow you to plug them into any database.. how is that possible....

    Going through the javaee tutorial is one sure way of accelerating your learning curve, as almost every basic you will need to get your job done is explaiined well in there. i have been using it to learn building enterprise application and is awesome good resource.
    seriously consider downloading it
    java.sun.com/javaee/5/docs/tutorial/doc/

  • Where can I get documentation or sample code for writing C++ RFC program?

    Hi all. I am trying to write a UNICODE C++ program that uses standard C++ classes. In addition, the header files that were generated by genh contain C++ class declarations from templates. The class that the template is based on is CAbapType.  I have several questions:
    1.  Where are the sapstring.hpp sapiostrm.hpp, etc... classes that are documented in the document sapucdoc.htm?  These are supposedly the header files that can be used to get access to C++ standard library functionality.
    2. Where is CAbapType defined? I am trying to use classes instead of the structures that were defined in the header file, but without the definition of CAbapType, my code won't compile.  The header file I'm referring to was generated by genh.
    3. I was able to write a C program that uses the structures define in header files generated by genh.  But when I attempt to compile the same code with the C++ compiler, I get all sorts of errors about how the use of cU is deprecated.  cU is the macor used to make Unicode coding easier. Anybody have any clues on how to solve that?  Thanks.
    Also, if there is any good documentation on how to write a C++ RFC program, can you please point me to it. So far, I have 1 RFC SDK document that is all about writing C code, but nothing abuot writing C++ code.  Thanks.

    I have the same problem. All of the xmp examples and comments in the SDK are great and all, but as far as I can tell, they only show you how to read from or write XMP to a buffer. The real magic here is how do I get data into and out of images??? I've been trying to find out how to identify an "APP1" marker in a jpeg file for a week now. It seems to me that Adobe just expects you to roll your own. If I could do that to begin with, then I'd just put my own xml based data in from the start...

  • Basic TableUI element to Retrieve Data from DB in WEbDynPro For Java

    Hi Experts,
    I am new to WebDynPro for java.Can any body please help me out from this issue.
    I am trying to display records from DataBase by Using Table UI element.
    DBTable Contains 10 rows.
    I have created a Node and Attributes(for every column) .
    I am using JDBC code to retrieve data from database and assigning to Attributes.
    But in Table UIElement its displaying only last record from database as first row in UIElement.
    Its over writing previous rows.
    Can any body please help me the correct procedure to retrieve data from DataBase.
    Thanks and Regards,
    Shashikiran.B

    Hi,
    Iterate through the result set object
    populate the context node
    Ex:Replace the context nodeName with that of yours.
    ResultSet resultSet = stmt.getResultSet();
           //Iterate through the resultset
           while(resultSet.next())
                //Create element of the context node
               IWDNodeElement nodeElement = wdContext.nodeOrders().createElement();
               //assign value from the database to the context attribute
               //Replace attributeName with your attribute name
               //Replace value with resultSet.getShort("<ColumnName>")
               nodeElement.setAttributeValue(attributeName, value);
               //Add the element to your node
               wdContext.nodeOrders().addElement(nodeElement);
    Regards
    Ayyapparaj

  • Failed to retrieve data from the database. [Database Vendor Code: 116]

    My report is using Java Bean class as datasource and the Java Bean class calls a report-specific Java program to return a result set.
    Report fails to generate and the error message is
    Failed to retrieve data from the database. Details:  [Database Vendor Code: 116 ]
    Can anyone tell me what error code 116 means?
    Thanks.

    The problem is solved internally. Our team implemented a result set data structure that incorrectly converts a Double into a String before passing it to Crystal Report for rendering. Data Vendor Code I met yesterday was the outcome of illegal class conversion.
    I have a side question;  our development team would like to use log4j to log method calls invoked during rendering. Our problem could be solved earlier if we knew getString() was invoked instead of getDouble() during rendering.  We thought of specifying the full path of log4j jar file in CRConfig.xml but we don't know how to configure CR to write logging information into a specific file location.
    Please help.
    Thanks

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

  • Problem in retrieve data  in COSS and COSP from PBS using FM /pbs/select_in

    hi all i have problem in retrieving data from COSP and COSS tables from PBS using FM /pbs/select_into_table in this FM i couldn't find the tables if any body knows pls reply back with the Archiving object to be use and parameters to be used.

    That are controlling tables-
    Have you installed PBS for Controlling ?
    try http://www.pbs-bensheim.de/
    A.

  • Set-up custom font, font size, and color for writing new and reply e-mails in Thunderbird

    I know that I can select the font, size, and color for writing each new and reply e-mails in Thunderbird, but I don't want to have to do this each time. I want to set-up the default font, size, and color for all new and reply e-mails. It already comes up with a default one, but I want to change it, but can't figure out how to do this. I'm sure it is quite simple, but I don't know how to do this. Thank you in advance for help.

    Tools > Options > Display > Formatting tab
    Default font: select font
    Select size : eg; 14
    Click on 'Advanced' button and set all the sizes to 14
    Select : 'allow messages to use other fonts'
    click on OK
    Click on 'Composition'
    Under the 'General' tab
    Suggest you set HTML font to 'Variable width' and Size : 'Medium'
    Select the 'Text colour' you would like to compose email using
    Select the 'Background colour' you would like to use when composing emails.
    click on OK to save all changes.
    This will set the display email list to the selected font.
    It will allow received emails to use the font the sender used.
    When you compose an email it will also use the same font settings.
    The message 'Display' settings in the above section also apply to messages that you compose. The settings are not sent, so they do not affect how your messages appear to recipients.
    The settings in the ''Composition' section can affect how messages are sent. If you make unusual choices, then people who receive messages from you might find them difficult or impossible to read. Hence, why I suggest you leave it as 'Variable width' and allow the 'Display' settings to set the default used for composing emails.
    More info:
    * http://kb.mozillazine.org/Font_settings_in_Thunderbird

  • How to maintain Import Processing: Control Code for the country India

    Hi Gurus,
    I need to maintain the Control Processing: Control Code for the country India in SPRO configuration.
    Please tell me the path to maintain it.
    Thanks,
    Thiyagu

    spro@Logistics - General@Material Master@Material IDs@Maintain PKWiUs
    Regards,
    Indranil

  • I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

  • I am trying to connect Garritan Personal Symphony to Logic Express and Garageband. A dialog box pops up and asks for plugin Garritan-P. Where do I find it and what do I do with it. I can't locate this plugin doing searches on any of the porgrams.

    I am trying to connect Garritan Personal Symphony to Logic Express and Garageband. A dialog box pops up and asks for plugin Garritan-P. Where do I find it and what do I do with it. I can't locate this plugin doing searches on any of the porgrams.

    I'm not sure which version of Garritan Personal Orchestra you have or when you are getting a window pop-up, but check this link for starters:
    http://afjohnston.blogspot.com/2009/11/using-garritan-personal-orchestra-gpo.htm l

  • I bought 4 apps 1. the sims 3 for £4.99 2. fifa 14 premium pack for £2.99 3. plauge inc for 99p and monopoly for 69p i bought a £15 app store voucher and i only have £1.66 left but i should have £5.34 left please help me

    i bought 4 apps 1. the sims 3 for £4.99 2. fifa 14 premium pack for £2.99 3. plauge inc for 99p and monopoly for 69p i bought a £15 app store voucher and i only have £1.66 left but i should have £5.34 left please help me

    Three possible causes:
    - You got charged twice. On a computer go to iTunes Store>View Account>Purchase History and see what you got charged for
    - Maybe the difference is due to tax. Again the Purchase History will list the total price including tax for each purchase.
    - You had a negative balance (you owed money) before you redeemed the card.
    If problems contact iTunes:
    Contact iTunes

  • Code for how to read an integer array from the command prompt...

    hello,
    Could anyone give me the code for how to read an integer array from the command prompt...its very urgent!..

    If you are using a recent version of Java (5 or later) you can use Scanner:
    http://java.sun.com/javase/6/docs/api/java/util/Scanner.html
    That page has some example code on it, too.

Maybe you are looking for

  • Dbe- open and db- put returning ENOMEM

    I am running into a problem with bdb 4.7.25 returning ENOMEM on db->put and dbe->open at apparently random times. There are four different environments, two of which are entirely in memory including the logs, and the other two are disk backed with in

  • Display content query results horizontally

    Hi, Is there an easy way to configure the content query web part to display results horizontally? thanks, Sherazad

  • Trying to get a Hawking wireless Internet camera to work

    I tried hooking up the camera to my powerbook thru the Rj-45 cable and the powerbook is on the internet thru AEX. When i type in the address of 10.0.1.201 i get the apache website. I have used Safari 1.3,netscape and IE5.2. I used post of Heng-yee Yo

  • Constructing Jtree with data from Database

    Hi I am new to JTree and I need some help. My problem goes like this. I have a table in the data base which has data like Folder_Nr, Folder_Name, Folder_Prev_Nr, Folder_Typ_Nr, Folder_Access. If the Folder_Nr is 1 and folder_prev_nr =0, then it is a

  • How are calories calculated?

    I've been going on five mile walks and runs and no matter how long it takes me or how fast I go, it still always tells me I've burned the same number of calories (338). I know that if I run 5 miles at 6min/mile, I'm going to burn more calories than i