Lock data in sap from portal

Hi,
I would like to lock record in sap from portal.  I'm using function HR_ENQUEUE_OBJECT but it not function properly in portal.  Kindly help me on this.  Thanks.

Hi,
If you want lock / unlock the Employee Data's use below
FM, may be it will work
HR_EMPLOYEE_DEQUEUE
HR_EMPLOYEE_ENQUEUE
Thnx
Suriya

Similar Messages

  • How send username to SAP from portal

    Hi ,
    Actually we are calling .net pages in the portal,  Whenever data is going to sap from .net the data saved under .net user id but i need to send portal user id. Is there any explicit way to send portal user id to SAP while sending thourgh .net?
    Thanks

    just use the same username in .net and portal..

  • EXPORT DATA TO EXCEL FROM PORTAL

    HELLO
    user has saved one of the web reports in his favourites...he has customized the report according to his needs and then saved it in his favourites...now when he acesses the report from his favourites and..
    enters the values for the variables
    the data is displyed accordinly as he customized it.
    now when he wants to export this data to excel he is getting the error.
    contact ur system admin..ur request cannot be processed.
    it is not happening with any of his other reports.its only this one he is not able to export the data.
    please suggest what steps can be taken

    yea the reports worked fine...it is only this report which is not exporting data...he is able to view all the data and everything in portal for this report but when he exports to excel he is getting this error.
    cannot find advanced load with uid:FILTER_PANE_ac_unid0_dropdown
    i tried with the oss notes but nothing..
    this is not an authorization issue as the user is able to acess the report.it is only that he is not able to export to excel..
    please let me know what can i do..
    thanks

  • How to rewrite data in SAP from a Widget

    Hi Experts,
    I would like to create a widget that able to send data in SAP : for exemple you call purchase requisition for release and when you have the list you can approve the purchase.
    So there is a specific template in the SAP development tool or specific development to do?
    Thank for your help,
    Regards
    Benjamin

    Hi Jaideep,
    Thank you for answer. I know that the Sap development tool it's for create and modify widget but I'd like to know if there is someone who already create a widget who write data on SAP system? If it's possible to approve purchase order by clicking on a widget?
    Regards

  • Updating Data in Siebel From Portal

    Hi,
    Can you please let me know how i can get the data from Siebel to Portal, Make modifications to the data and update back to Siebel. Probably client is stressing to use WebDynpro GUI. In case you have a code sample or any means of Weblog  or any kind of material kindly do reply back.
    -Shekhar.

    Hi Shekhar
    Your implementation involves all the layers of the NetWeaver stack. The big picture of what you have to do is this.
    Use SAP XI to connect the Siebel sytem and Portal. Obtain data from the Siebel system and map it into the SAP system. Publish this data as a webservice.
    The WSDL file that is generated can be imported into your Webdynpro application as a model. You can then create a WebDynpro iView in EP to access the data from Siebel.
    Here are few threads which might help you.
    Forum thread:
    Re: inetgartion of Ep-XI-seibel project
    iWay Universal Adapter Framework for SAP NetWeaver:
    http://www.iwaysoftware.com/pdf/tech_brief/TechBrief_SAPNETweaver.pdf
    How To Reimport Web Service Models in Web Dynpro for Java:
    How To Reimport Web Service Models in Web Dynpro for Java
    I'd suggest that you post this question in the XI forum too. You might have some luck there.
    Hope that helped.
    Best Regards
    Priya
    P.S: Rewarding points for helpful answers is SDN's way of saying "Thank You!"

  • Regarding Upload of data into SAP from Application server using DATA SETS

    Hi all,
    I have a problem when uploading data that is application server [.txt file] into SAP using OPEN DATA SET,READ DATA SET & CLOSE DATA SET it is now going to dump. The file is actually splits the fields by using Tab Delimiter.  
    During uploading some junk values are coming with '#' so it going to dump and giving follow type of error.
    Runtime Errors         CONVT_NO_NUMBER          
    Exception              CX_SY_CONVERSION_NO_NUMBER
    Unable to interpret "#0#0#0#0#0#0#0#" as a number.
    Can any one solve the above issue as i need it urgently.
    Thanks in advance.
    Thanks & Regards,
    Rayeezuddin.

    Hi Hielman,
    Thnaks for that reply and for effort you are putting to solve my issue.
    I had done the same thing what u have posted prior to your reply but still i am getting dump.
    FORM f_get_legacy_data .
      DATA: l_tab type xstring,
            l_tab1(1) type c,
            s type x.
      move '23' to l_tab.
      move l_tab to l_tab1.
    OPEN DATASET v_pfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      OPEN DATASET v_pfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc <> 0.
       MESSAGE text-207 TYPE c_e.
    ELSE.
      DO.
        CLEAR wa_input1.
       READ DATASET v_pfile INTO wa_input1.
        READ DATASET v_pfile INTO wa_read.
        IF sy-subrc EQ 0.
          move wa_read to i_txt-txt.
          append i_txt.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      s = '09'.
      loop at i_txt.
       move i_txt-txt+10(1) to l_tab1.
       move '#' to l_tab1.
       split i_txt-txt at s into wa_input1-vbeln wa_input1-posnr
        split i_txt-txt at '#' into wa_input1-vbeln wa_input1-posnr
                                       wa_input1-per0bal wa_input1-per1val
                                       wa_input1-per2val wa_input1-per3val
                                       wa_input1-per4val wa_input1-per5val
                                       wa_input1-per6val wa_input1-per7val
                                       wa_input1-per8val wa_input1-per9val
                                       wa_input1-per10val wa_input1-per11val
                                       wa_input1-per12val.
        APPEND wa_input1 TO i_input1.
        CLEAR wa_input1.
      endloop.
    ENDIF.
      CLOSE DATASET v_pfile.
      IF i_input1[] IS INITIAL.
    If there is no data in the legacy file or if the structure of the
    legacy data does not match with that of internal table error message
    need to be displayed.
        MESSAGE text-211 TYPE c_e.
    *&--begin of change--
      ELSE.
        CLEAR: wa_input, wa_input1.
        LOOP AT i_input1 INTO wa_input1.
         MOVE wa_input1 TO wa_input.
          MOVE: wa_input1-vbeln TO wa_input-vbeln,
                wa_input1-posnr TO wa_input-posnr,
                wa_input1-per0bal TO wa_input-per0bal,
                wa_input1-per1val TO wa_input-per1val,
                wa_input1-per2val TO wa_input-per2val,
                wa_input1-per3val TO wa_input-per3val,
                wa_input1-per4val TO wa_input-per4val,
                wa_input1-per5val TO wa_input-per5val,
                wa_input1-per6val TO wa_input-per6val,
                wa_input1-per7val TO wa_input-per7val,
                wa_input1-per8val TO wa_input-per8val,
                wa_input1-per9val TO wa_input-per9val,
                wa_input1-per10val TO wa_input-per10val,
                wa_input1-per11val TO wa_input-per11val,
                wa_input1-per12val TO wa_input-per12val.
          APPEND wa_input TO i_input.
          CLEAR: wa_input, wa_input1.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " GET_LEGACY_DATA
    When i am giving input as
    Directory  /pw/data/erp/D5S/fi/up
    Name: Backlog1616_D1S.txt
    BKCOPO1           BKSOI1        1000.00                100.00                 -200.00                0                      0                      0                      0                      0                      0                      0
    BKSOPO2           BKSOI2        2222.22                0                      300                    0                      0                      0                      0                      0                      0                      0
    BKSOPO3           BKSOI3        -3000                  400                    0                      0                      0                      0                      0                      0                      0                      0
    BKSOPO4                         4000.55                500                    600                    0                      0                      0                      0                      0                      0                      0
    0040000000        000010        -100                   -110                   -110                   0                      0                      -600                   0                      0                      0                      0
    0040000001        000010        -110                   -110                   0                      0                      0                      -610                   0                      0                      0                      0
    I am getting i_input internal table populated as follows at the end of that subroutine.
    After appending [APPEND wa_input TO i_input].
    BKCOPO1#BK|000000|            0.00 |            0.00 |            0.00    |
    BKSOPO2#BK|000000|            0.00 |            0.00 |            0.00    |
    BKCOPO3#BK|000000|            0.00 |            0.00 |            0.00    |
    BKCOPO4##4|000000|            0.00 |            0.00 |            0.00    |
    0040000000|000000|            0.00 |            0.00 |            0.00    |
    0040000001|000000|            0.00 |            0.00 |            0.00    |
    And output is showing erronious records: 6
    No entries inserted.
    Can you solve this issue.

  • Call a smartform in the SAP system from portal

    Hi Friends
    My requirement is to trigger a smartform in SAP, from portal. Please guide me on how to achieve this.
    Thanks
    Saran

    Hi,
    I have an idea but dont know how far its possible for you.
    You can call smartforms function module from portal and then convert that to pdf file which can be displayed in a pdf control on the portal.
    Check whether this approach is possible.
    Regards
    Karthik D

  • Support desk configuration from portal

    Hi all
    is anybody configured sending message from support desk in portal to solution manager ?
    i followed this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/84/91bfddb6c33246a6eae4d483749635/frameset.htm
    i am getting 102 jco exeption error but i havent created any jco connection between potal and solution manager .
    anybody knows here how the data was transmitted from portal to solution manager.
    if possible can somebody points me to some configuration document to do so
    Regards,
    Vijay.
    ps: i had successfully configured support desk scenerio for all the satellite system with abap stacks.

    HI
    thanks for your reply
    i had already done that correction specified by you
    The actual problem is with the firewall and after unblocking the firewall now i could able to test my system succesfully in portal landscape but still i could not able to send message from portal to solution manager as it is taking too long time and hanging at the end of transaction.
    what could be the reason
    any idea?
    regards,
    Vijay.
    ps: i could able to send the message from portal to solution manager .i have still some issues with BP configuration.
    Edited by: vijayakumar kanniah mohan on Oct 16, 2008 1:27 PM

  • If user locked (backend) then from portal i m not able to send data

    If user locked (backend) then from portal i m not able to send data
    both user are same in front end and backend.
    But once user is unlocked i am able to send data from portal to backend...
    Regards
    Ruturaj

    Hi
    Since you are in CUA landscape(as u said portal and r3 user are same) unless and utill you unlock it data will not be process.
    [Help|What's the right user to access;
    BR
    Satish Kumar

  • Method of fetching Account status and user locked date in Portal.

    Hi,
    Can anyone suggest me the method name  in UME API in Sap Ep for fetching User Account Status and Last User Locked Date. Or suggest a related code for it.
    user database is LDAP.
    Thanks

    Hi Abhai,
    The class (actually Interface) you're looking for is IUserAccount. You can get this from the IUser by using the method getUserAccounts().
    The IUserAccount provides all sort of methods like lockDate(), isLocked(), getLockReason().
    See more in https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/ep/_d-f/ep%206.0%20sp2%20usermanagement%20public%20api
    Best regards,
    Amit

  • Configure SSO Connection from SAP Enterprise Portal to BOE Server

    Hi Guys,
    We recently installed a BOE Server and want to connect it to our SAP Enterprise Portal. What we need is just to display the Crystal Reports via Enterprise Portal. We have set up the following:
    SAP EP with AD Authentication
    SAP EP configured with SNC to SAP BI7 system
    SAP BOE XI 3.1 - SAP Integration Kit
    BOE Server configured with SAP Authentication via SAP BI7 System
    We've also set up BOE IK iviews and URL iviews pointing to existing reports in BOE. However, when we access it from EP, it prompts for a username and login to BOE. Is there a way to configure these so that there is no prompt for login to BOE server and SSO is used? Is it also possible to have a service account (e.g. domain/crystal) that will run the reports in BOE everytime a user accesses a report from SAP EP?
    Let me know if this is at all possible

    Hi,
    You should configure InfoView for SSO first, which required infoview.xml file modification, using windows AD default authentication. If you want to utilize the OpenDocument URL for iView then you also need to configure OpenDocument.xml file for SSO also. The SAP portal must have trust relation with the SAP BW server so the Windows AD token can be authenticate with SAP BW server.
    If you want crystal user to run all the report then you will lose data security. It can be done by hard coding user name and password in the report properties and database logon but the SSO capability can be accomplished only by windows AD, SAP or LDAP.
    For more details check BOXI Admin guide and SAP Integration Guide.
    Thanks,
    Muhammad

  • Need Sample code to retrieve Data from Portal DB(Oracle)

    Would anyone provide me steps to create application with a sample code to retrieve data from portal DB which is oracle and see the output in table format.

    Hi Bris ,
    The sample code , you didnt specified from where do u want to access the oracle thorough java code or through webdynpro .
    Sample code to access through Java
    import java.sql.*;
    class Customer
    public static void main(String args[]) throws SQLException
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    System.out.println("Connecting to the database...");
    try
    Connection cn=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott","t");
    Statement st=cn.createStatement();
    ResultSet rs=st.executeQuery("select 'Connected' from dual");
    rs.next();
    String s=rs.getString(1);
    System.out.println(s);
    st.close();
    cn.close();
    catch(Exception ex)
    System.out.println("The exception raised is:" + ex);
    [code]
    If accessing through JDBC datasorce.
    https://www.sdn.sap.com/irj/sdn/thread?threadID=328550
    https://www.sdn.sap.com/irj/sdn/thread?threadID=309386
    [code]
    package com.dhl.employeemodel;
    import java.sql.Connection;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    public class DBConnectionManager {
         Connection connection;
          * @return
         public Connection getConnection() {
              try
                   Context jndiContext = new InitialContext();
                   DataSource ds = (DataSource)jndiContext.lookup("jdbc/MyAlias");
                   connection = ds.getConnection();
             catch(Exception connectionErrEx)
                   //connectionErrEx.printStackTrace();
                   return null;
              return connection;
    Thanx
    Pankaj

  • How to delete master data of materials from sap tables

    how to delete master data of materials from sap tables...its needed now.
    i know its not recommended but still we need to do this. give me the best possible approach.
    regards,
    suneetha

    Hi,
    I would suggest you not to write your own code to delete the entries.
    BAPI_MATERIAL_DELETE, this would mark all materials selected for deletion. But still the material would exist in SAP.
    Another solution: Delete a material manually and in another session execute the transaction SM04. This would display the tables which get locked when you do the operation, Then you can write your own code to delete the material numbers from all the related tables.
    Regards
    Subramanian

  • Taking the data from interactive forms and load the data into SAP system?

    hi all,
    I want to know how to take the data from interactive forms and load the data into sap system?
    if u have any sample scenario, explain with that.
    thanks in advance
    Raja

    Hello,
    Check the program...
    SAPBC480_DEMO.
    Check the below threads
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
    Thanks
    Seshu

  • Get date from portal in a web dynpro?

    hi all,
    how get date from portal in a web dynpro???
    thanks.

    new Date(System.getTimeInMillis());
    Good luck, Roelof

Maybe you are looking for