Data retrival from LDAP into SAP

Hi All,
I want to get the list of all the users and there relivent data from LDAP  server....
How to do that from SAP...
Thr are certain FM's availables ,i dont knw how to use them...
If any one provide me with code ,i will be helpful...
every answer will be awarded...
Thnx
Rohit

HI
LDAP_OBJECT_CREATE
LDAP_OBJECT_DELETE
LDAP_OBJECT_READ
LDAP_OBJECT_SEARCH
LDAP_OBJECT_UPDATE
http://help.sap.com/saphelp_nw70/helpdata/en/0b/d82c4142aef623e10000000a155106/content.htm
[Refer Page No 12 |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06187a32-0a01-0010-709b-e664a61eab08]
Regards
Pavan

Similar Messages

  • Data upload from excel into SAP

    Hi Gurus
    Could anyone please guide me how to upload excel data into SAP?
    I need to update existing Gross weight and Net weight data. Got new data in excel format.So need to upload excel file straight into SAP and update the data.
    Step by step procedure will be much appreciated.
    Rgds
    Utpal

    try with bdc .....
    below coding is move the data from excel to internal table ....
    TYPES: BEGIN OF s_ovro,
              VKORG LIKE V_TVSFK-VKORG,
              VTWEG LIKE V_TVSFK-VTWEG,
              SPART LIKE V_TVSFK-SPART,
              STGKU LIKE V_TVSFK-STGKU,
              STGAK LIKE V_TVSFK-STGAK,
              STAFO LIKE V_TVSFK-STAFO,
           END OF s_ovro.
    DATA: I_OVRO TYPE TABLE OF s_ovro,
          w_ovro type s_ovro.
    data : request(15) type c,
            i type c.
    DATA : IT_EXCEL TYPE STANDARD TABLE OF ALSMEX_TABLINE WITH HEADER LINE.
    FIELD-SYMBOLS: <FS1> TYPE ANY.
    include bdcrecx1.
    SELECTION-SCREEN BEGIN OF BLOCK DATA WITH FRAME.
    PARAMETERS: P_FILE TYPE  RLGRAP-FILENAME DEFAULT 'C:\Documents and Settings\itfactory\Desktop\sd1.xls' OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK DATA.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = 'P_FILE'
        IMPORTING
          FILE_NAME     = P_FILE.
    start-of-selection.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                = P_FILE
          I_BEGIN_COL             = 1
          I_BEGIN_ROW             = 1
          I_END_COL               = 24
          I_END_ROW               = 60000
        TABLES
          INTERN                  = IT_EXCEL
        EXCEPTIONS
          INCONSISTENT_PARAMETERS = 1
          UPLOAD_OLE              = 2
          OTHERS                  = 3.
      LOOP AT IT_EXCEL.
        ASSIGN COMPONENT IT_EXCEL-COL OF STRUCTURE
        W_ovro TO <FS1>.
        <FS1> = IT_EXCEL-VALUE.
        AT END OF ROW.
         MOVE-CORRESPONDING: Wib TO Iib.
          APPEND w_ovro to I_ovro.
          CLEAR W_ovro.
        ENDAT.
      ENDLOOP.
    through bdc program update the data from internal table to bdc...

  • Upload data from Excel into SAP CRM using webservices

    Hi,
               I want to upload the data from EXCEL into SAP CRM using a web  service, can anyone say me the process and also how to map the excel and the source code structures.
    Thanks,
    Sanju.

    Try the following :
    Class: CL_GUI_FRONTEND_SERVICES
    Method: GUI_UPLOAD
    Thanks
    <b>Allot points if this helps!</b>

  • GRC 5.3 CUP SP16 - User info not loading from LDAP into CUP

    Hello,
    We have multiple LDAPS that we needed to connect to our CUP system to authenticate the userids before a request can be created for them. And also to bring in Manager ID and manager email from LDAP as the first level approver for requests.
    My client hasn't maintained the actual LDAP userids, Manager and manager email fields correctly, so we utlized three other custom fields in LDAP and then did field mapping in CUP for those fields. But even when the connection to all the LDAPs is successful, there's no user information being pulled in from LDAP into CUP.  I noticed that when I use our backend SAP QA system as 'User Data Source' while using multiple LDAPS for 'User Detail Source Data' , it only reads data from SAP QA system SU01 area and even when I'm trying to create requests, no Manager info is being pulled from LDAPS for that user id. 
    SAP does not allow the use of multiple LDAPS for the configuration-->User Data Source , top option.  So, if a client has userids in multiple systems, it can only read from one data source.  But even when I temporarily assigned one active directory LDAP to the 'user data source' option, it stated, no records found. So, something is up that no data is being pulled from LDAPs even when the connection to those systems is successful. I just asked our AD guy to temporarily assign domain admin rights to that LDAP connection ID to see if it's access issue, and still I am not getting any LDAP data to read into GRC CUP.
    Anyone else has had this issue? Is there especial access that the LDAP connection id needs access in LDAP to be able to retreive data into GRC? Is there any jobs that need to be run to read LDAP data. I thought it should be live as the system is connected to LDAPs. I don't understand if the connection is successful, why the user info is not being pulled from there and even after the LDAP custom field mapping is done, those field values are not showing up on requests.
    We need the following to happen:
    1). Authenticate the custom userid field in LDAPs to ensure this user exist as an employee b4 request can be created for the user. For this I have configured the multiple LDAPS for the 'Authentication'. But it doesn't seem to confirm that option when creating a request for a user.
    2). The user details info source should bring in the custom manager id and manager email into the request to send the first level of approval via workflow to that manager. Since SAP doesn't give the option to define approvers per user group values in CUP, we had to actually map all the User Owner approvers this way since their direct managers are not aware of  what to request as the User owner approvers per user group are.  So, we added custom fields for Manager id and Manager EMail into LDAP to be ready automatically into the request when reading user id while creating request.
    I will greatly appreciate anyone's help on how they got the LDAP field values to be read into GRC CUP for request processing and what type of encripted access can a LDAP connection id have without assigning it complete domain admin rights on an open port 389 for LDAP and GRC CUP connection.
    Thanks and Regards,
    Alley

    Hi Alley,
    1). Authenticate the custom userid field in LDAPs to ensure this user exist as an employee b4 request can be created for the user. For this I have configured the multiple LDAPS for the 'Authentication'. But it doesn't seem to confirm that option when creating a request for a user.
    This is not possible. You can have only 1 LDAP. Why you want to authenticate the user in different sources?? CUP looks at only one user source, not many. The below wiki explains you the configuration part:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b089fb71-a3b7-2a10-64a2-8c77243b0664
    2). The user details info source should bring in the custom manager id and manager email into the request to send the first level of approval via workflow to that manager. Since SAP doesn't give the option to define approvers per user group values in CUP, we had to actually map all the User Owner approvers this way since their direct managers are not aware of what to request as the User owner approvers per user group are. So, we added custom fields for Manager id and Manager EMail into LDAP to be ready automatically into the request when reading user id while creating request.
    Based on user group is not possible. However, if you wish to maintain the Manager's Field, ensure that the CUP mapping is done correctly from the Configuration, Field Mapping, LDAP Mapping.
    While defining the workflow, take the approver determinator as Manager. This will route the request to the users manager. Also, ensure that LDAP is the source in all the confiuration areas in CUP.
    Check note 1228996 for more information.
    Hope this helps!!
    Regards,
    Raghu

  • Creation of an RFC to pass notification number from IOMS into SAP.

    hi sap,
    i have a  requirment to such as:
         Creation of an RFC to pass notification number from IOMS into SAP. The RFC containing notification number must access notification details via transaction IW23.
         Creation of an RFC to pass notification field specific information from SAP to IOMS. Upon accessing the notification inside SAP the following field information must be passed back to IOMS.
    can you please help me out with the RFC which would be much helpful to me.
    when i give the RFC then through the RFC the IOMS will pass the NOTIFICATION NUMBER. Based on the notication number i have to pass the data that belongs to that perticlar NUMBER.
    your help is much aprreicated and thanks in advance.
    regards,
    laya.

    I dont know what is IOMS and what platform they are using.
    If you want to access data from Non-SAP system or Insert from non SAP system, you need to develop remote enabled function modules, check for standard function modules.
    Check package IWOC, for standard function modules.
    Thanks and Regards,

  • Need to transport a Folder from cFolders into SAP R/3

    Dear Members,
      I want to import a whole folder( and it's child documents) from cFolder into SAP R/3. What I did so far is that I have created the RFC Dest., Configured the cFolder in R/3 using Tx CFC01, created a Search for the folder inside cFolder and ran CFI01. There I entered the cFolder Application name and entered the cFolder Search as my search name (using the search help). Then when I am trying to Add Documents it's showing a message <b>No lines added. cFolders document(s) contain no file(s)</b>. What I have seen so far even after debuging and after doing a lot of R&D is that, Documents can be imported but folders can't be. <b>But my requirement is to import all the folder element in one shot.. how to go about that? Please lit into the matter..I am waiting with points</b>
    Sugata

    in cfi02 it is not possible if you are game you can try
    CFX_API package to write a prg to do so
    CFX_API_FOLDER_GETDETAIL - to get doc ids
    CFX_API_DOC_DOCUMENT_READ

  • Can you tell me how I can put the data of sql server into SAP to auto gener

    Dear all,
             Can you tell me how I can put the data of sql server into SAP to auto generate PR?
    Best regards,
    Merry zhang

    Many thanks ,it is ok now.

  • TT Issue "9994 Loading data store from disk into RAM in progress"

    Getting this strange issue. Sometimes (2-3 times a day) TT just becomes unavailable and when trying to connect to it getting "9994 Loading data store from disk into RAM in progress".
    Any advise on what the root cause for this behavior might be?

    In all likelihood this is exactly what it sounds like - your datastore is being reloaded from disk into memory. Connections can't be completed until the datastore has gone through recovery and is fully in-memory. You need to look back through your ttmesg.log files and find out why the datastore was taken out of memory in the first place. Possibly there's been a crash and it has been invalidated, meaning it needs to be recovered from the checkpoint files and transaction logs. Or maybe there were no user connections and it was taken out of memory and checkpointed to disk in a normal, controlled fashion. The ttmesg.log files will tell you what happened.

  • How to push data from BW into SAP R/3 system???

    Hello,
    We have faced a problem. We need to push compressed sales data from BW to SAP R/3 system. But We don't know how to do it.
    Does it exist the standard instruments for it (without ABAP development)?
    How to integrate BW and SAP system?
    We will be much obliged you for your recomendations and advices.

    Hi Igor,
    I'm not aware of any standard out of the box mechanisms for moving Sales data back into SAP ERP. There are some delivered "retractors" for business scenarios like financial planning and consolidations where updated data is sent back to SAP ERP in a closed loop scenario. These retractors have been written in ABAP.
    I would suggest that you search the latest BI content to see if there is anything for sales data retraction. There might also be information in SAP note on how to do this in code.
    To send data from BI, you can also use the 'open hub' feature to extract the BI data to a DB table or file for example. This could then be read by a program to load SAP ERP. The loading would have to be custom development.
    Sorry I can't help you more - I fear you will most definitely have some custom development in this case.
    Cheers,
    Mike.

  • Conversion of data from legacy into SAP using LSMW(Direct input)

    Hi guys,
         I  need a help from u for the following scenario. The scenario is about  <b>FI & MM Vendor Master Conversion</b>.The brief description of this scenario is as follows:
         <i>Conversion of Accounts Payable Vendor Master Record from Legacy systems into SAP.  The purpose of this document is to define the master data fields that will need to be populated as well as the order in which the different parts of Vendor master should be loaded.</i>
    Transaction Code(s) to be used:     XK01 – Create Vendor Master Centrally   RFBIKR00                                                                                LSMW – Program <b>RFBIBL00</b>.
    Please help me to do this scenario.
    Regards
    Ram.V

    Hi Naveen,
                 Send me the suitable screen shot to my id. Also if u can, send me the same for batch input too.
                 My mail id is "[email protected]".

  • Want to pull data from MDM into SAP and send it to portal.

    Hi,
    I have a requirement where-in i want to get some data from master data management application(a third party application) into sap and send that data to portal. Kindly suggest me on how to go about doing the same. Awaiting your kind responses guys.
    Regards
    Shailendra.k

    Hi Shailendra,
    Your requirement is a huge activity with multiple tasks which can be done in multiple ways.
    Some basic points:
    1. You can read data from your Third party application using
    a. Native SQL or
    b. a middleware as PI or
    c. using connectors based on the platform of the Third party application (VB, .NET, etc.)
    2. Data can be sent to portal using
    a. Middleware as PI or
    b. Creating RFC's
    c. BAPI's.
    For any specific details, you can check SDN as detailed posts on each of the above is available or can post further.
    Regards,
    Pranav.

  • Exporting data third party system into SAP

    Hi folks,
    I am working on a task of hiring a applicant from a third party recruitment system into SAP. I have written an interface, to extract the data from the recruitment system and using the FM 'HR_PREPARE_NEW_EE' I store them in the interface table(T752F)
    Then I use PA48 to conduct the process of hiring action for the applicants.
    Question:
    Using the FM i can import various data elements from the import parameters available,  however when I use the transaction code PA48 I do not see all the additional parameters like address, city that I have imported for the candidate record.
    Do I need to configure the transaction code into include all the additional columns that I am importing ?
    How can I do it?
    Any thoughts or leads would be really helpful. I am kind of stuck here.
    I appreciate it,
    Thanks,
    VG

    hi folks,
    Have any one worked integration of third party recruitment service with SAP? I have successfully uploaded the data related to various data elements of infotypes 0,1, 2,6 etc..  into the temporary storage table (T752F)  However when I use the transaction code PA42 some of the data elements are not hsowing up on the infotype screens like address data (available in the temporary storage for the candidate).
    Do anyone have the experience of working using PA42 transaction to hire a candidate from the data in the temporary storage table ?
    I need some help. Your help is appreciated.
    Thanks,
    VG

  • Data transfer from SQLDB to SAP R/3 without JDBC adapter

    Hi Experts,
    Please suggest the possible methods of transferring data from SQLDB to SAP R/3 without using a JDBC adapter at sender side.
    Regards,
    Kalyan

    Hi KKC242 ,
    Please suggest the possible methods of transferring data from SQLDB to SAP R/3 without using a JDBC adapter at sender side.
    > Data links can work..but not recommended..and that too will be with out using PI.
    any way we hav eto connect to the database...even without adapter..by using a OLEDB/JDBC connector...in VB.. an dsend it across to PI
    Regards ,

  • How to pass thr document from Webdynpro into SAP R/3?

    HI Gurus,
    I have a requirement to offer a Document uploading option through Java webdynpro screen.
    I have referred the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    which has the steps till uploading the document into Webdynpro
    Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
    Please ad

    Refer Oliveri's solution in [this|Re: How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2); thread.

  • Customer data upload  from legacy to SAP

    Hi
    We have SAP AR system running . our co has aquired another co.Now we are required to upload the customer data (master data and also transactional data) of legacy system to SAP.I will appreciate if some one can give me the steps to upload customer data into SAP.
    Thanks in advance
    SN

    Hi Satya,
    Following link are useful:
    lsmw to upload master data : lsmw to upload master data
    http://wiki.ittoolbox.com/index.php/FAQ:What_are_the_points_to_take_care_of_prior_to_cutting_over_to_a_new_ERP_system_such_as_SAP%3F
    SAP Data Migration with LSMW: http://www.sap-img.com/sap-data-migration.htm
    Hope this helps.
    Pls assign points as way to say thanks

Maybe you are looking for