Syntax Error, don't know how to solve

I've got an syntax error in the following report. The compiler says: "SPACE" could not be interprated.
It focus this code section:
rp-provide-from-last p0001 space keyda keyda.
rp-provide-from-last p0002 space keyda keyda.
Here you can see the complete report:
*& Report  Z_SAP_HR_LDAP                                               *
REPORT  Z_SAP_HR_LDAP USING DATABASE PNP.
DATA: PLVAR            LIKE OBJEC-PLVAR,
      OBJID            LIKE HROBJECT-OBJID,
      KEYDA            LIKE PLOG-BEGDA,
      P_OBJECTS        LIKE HROBJECT OCCURS 0,
      P_OBJECTS_WA     LIKE HROBJECT,
      S_OBJECTS        LIKE HROBJECT OCCURS 0,
      S_OBJECTS_WA     LIKE HROBJECT,
      I1001_ITAB       LIKE P1001 OCCURS 0 WITH HEADER LINE,
      I1001_ITAB2      LIKE P1001 OCCURS 0 WITH HEADER LINE,
*      LDAPDESTINATION LIKE LDA_TYPES-LDAPDESTINATION,
*      LDAPSERVER LIKE LDA_TYPES-LDAPSERVER,
      ldapinitialrun like lda_types-flag,
      LOGSYS LIKE TBDLS-LOGSYS,
      ERRORS LIKE BAPIRET2 OCCURS 0,
      ERRORS_WA LIKE BAPIRET2.
* structure for short ldap-attributes
* fieldnames must be equal to basis strucutre LDA-ATTR_S (for RFC_CALL)
TYPES:  BEGIN OF TS_LDAP_ATTR_S,
         PERNR LIKE LDA_TYPES-PERNR,
         ATTR_TAB LIKE LDA_TYPES-ATTR_TABNAME,
         ATTR_FIELD LIKE LDA_TYPES-ATTR_FIELDNAME,
         VALUE LIKE LDA_TYPES-VALUE_S,
        END OF TS_LDAP_ATTR_S.
data: attributes type ts_ldap_attr_s occurs 0,
      attributes_wa type ts_ldap_attr_s.
infotypes: 0001, 0002.
tables: pernr, rfcdes.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: P_TEST default 'X' AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK B1.
Parameters: LDAPSRV Default 'SAPHRLDAP' LIKE LDA_TYPES-LDAPSERVER,
            LDAPDEST Default 'LDAPDEST' LIKE rfcdes-rfcdest.
at selection-screen.
clear: p_objects[], s_objects[], attributes[].
CALL FUNCTION 'RH_GET_PLVAR'
IMPORTING
  PLVAR = PLVAR
EXCEPTIONS
  no_plvar = 1
  OTHERS = 2.
if sy-subrc <> 0.
MESSAGE E015(HRLDAP).
endif.
KEYDA = sy-datum.
get pernr.
rp-provide-from-last p0001 space keyda keyda.
rp-provide-from-last p0002 space keyda keyda.
ATTRIBUTES_WA-PERNR = p0001-pernr.
* lastname
attributes_wa-attr_tab = 'EMPLOYEE'.
attributes_wa-attr_field = 'LASTNAME'.
attributes_wa-value = p0002-nachn.
append attributes_wa to attributes.
* firstname
attributes_wa-attr_tab = 'EMPLOYEE'.
attributes_wa-attr_field = 'FIRSTNAME'.
attributes_wa-value = p0002-vorna.
append attributes_wa to attributes.
* sAMAccountName
attributes_wa-attr_tab = 'EMPLOYEE'.
attributes_wa-attr_field = 'SAMACCOUNTNAME'.
* Using the employee number a unique name is created
* for the sAMAccountName
concatenate ‘E’ p0001-pernr into attributes_wa-value.
append attributes_wa to attributes.
* other attributes have to added here.
* for each additional attribute an appropriate field
* has to defined in the structure EMPLOYEE
* for example you can choose the following:
* attributes_wa-attr_tab = 'EMPLOYEE'.
* attributes_wa-attr_field = 'TELEPHONE'.
* if you want to transfer the telephone number
* of an employee from SAP HR to Active Directory
* In the web Application Server an appropriate mapping
* has to be defined using transaction LDAP for each new
* attribute (here called TELEPHONE).
end-of-selection.
* get own logical system
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
  OWN_LOGICAL_SYSTEM = LOGSYS
EXCEPTIONS
  OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
  OTHERS = 2.
IF SY-SUBRC NE 0.
* TODO: Komprimierung sy-mandt: 3 -> 2 Stellen !!!
  CONCATENATE SY-SYSID SY-MANDT INTO LOGSYS.
ENDIF.
loop at attributes into attributes_wa.
write: / ATTRIBUTES_WA-PERNR , attributes_wa-attr_tab.
write: attributes_wa-attr_field ,attributes_wa-value.
endloop.
IF P_TEST = 'X'.
EXIT.
ENDIF.
* send attributes to ldap client
* send attributes
CALL FUNCTION 'SPLDAP_RECEIVE_ATTRIBUTES'
DESTINATION LDAPDEST
EXPORTING
     LOGSYS = LOGSYS
     SERVERID = LDAPSRV
     ATTRIBUTES_S = attributes[]
     INITIAL_RUN = LDAPINITIALRUN
*      ATTRIBUTES_L = TOTAL_ATTRS_L[]
*      ATTRIBUTES_X = TOTAL_ATTRS_X[].
IMPORTING
RETURN = ERRORS[].
IF NOT ERRORS[] IS INITIAL.
  READ TABLE ERRORS INDEX 1 INTO ERRORS_WA.
  MESSAGE ID ERRORS_WA-ID TYPE ERRORS_WA-TYPE
   NUMBER ERRORS_WA-NUMBER
   WITH ERRORS_WA-MESSAGE_V1 ERRORS_WA-MESSAGE_V2
        ERRORS_WA-MESSAGE_V3 ERRORS_WA-MESSAGE_V4.
ENDIF.

If i test this report, he can access the HR employee data an read my selection but if i run it really the following error occurs:
Laufzeitfehler         CALL_FUNCTION_OPEN_ERROR   
       aufgetreten am  10.05.2005 um   22:22:26                                                                               
"program LDAP_SAP_ADS_DC_1 not registered" / &CT. 
He stands at the following line:
     >   CALL FUNCTION 'SPLDAP_RECEIVE_ATTRIBUTES'
I think it's a problem with that function.
I found this function in my R/3 System.

Similar Messages

  • Hello  Simple problem - don,t know how to solve it.  With Premiere CC when I try to do a selection (click... drag... release the click) very often it stop way before the end of the move I'm swinging the Magic Mouse. I taught that the mouse clicking was de

    Hello
    Simple problem - don,t know how to solve it.
    With Premiere CC when I try to do a selection (click... drag... release the click) very often it stop way before the end of the move I'm swinging the Magic Mouse. I taught that the mouse clicking was defective and went to get a new Magic Mouse after lots of frustration. Today, I have an edit to do it it does the SAME thing !!
    I was like ????#$%?&*(???
    Opened all the lights and taught I've trow the new mouse to the garbage and was using the defective mouse again... no !! - ??
    Actually, the bran new mouse is doing the same thing. What I understand after investigating on the motion and watching carefully my fingers !! -  is that when I click I have to keep my finger at the EXACT same place on the mouse... drag and release and it's fine. If I click by pushing on the mouse and my finder is moving of a 1/32th of a millimeter, it will release and my selection will be to redo. You can understand my frustration ! - 75$ later... same problem, but I know that if I click with about 5 pounds of pressure and trying to pass my finger through the plastic of the mouse, it you stay steady and make it !
    The problem is that scrolling is enable while clicking and it bugs.
    How to disable it ??
    Simple question - can't find the answer !

    Helllooo !?
    sorry but the Magic Mouse is just useless with the new Adobe Premiere CC and since I'm not the only one but can't find answer this is really disappointing. This mouse is just fantastic and now I have to swap from a USB mouse to the Magic Mouse every times I do some editing. My USB mouse if hurting my hand somehow and I want to got back to the Magic Mouse asap. Please - for sure there is a simple solution !
    Thanks !!

  • Please a simple problem but I don't know how to solve it. After installing 16 gb of ram all is good but when I turn on the computer it is a window signaling that all is correct. How is possible to delete once and for all that window? Thank you

    Please a simple problem but I don't know how to solve it. After installing 16 gb of ram all is good but when I turn on the computer it is a window signaling that all is correct. How is possible to delete once and for all that window? Thank you

    Well then maybe you could take a screenshot because the appearance of such a window is news to me.
    Also post your OS X version and what model Mac you have. The more detail, the better. Thanks.
    To take a screenshot hold ⌘ Shift 4 to create a selection crosshair. Click and hold while you drag the crosshair over the area you wish to capture and then release the mouse or trackpad. You will hear a "camera shutter" sound. This will deposit a screenshot on your Desktop.
    If you can't find it on your Desktop look in your Documents or Downloads folder.
    When you post your response, click the "camera" icon above the text field:
    This will display a dialog box which enables you to choose the screenshot file (remember it's on your Desktop) and click the Insert Image button.
    ⌘ Shift 4 and then pressing the space bar captures the frontmost window.
    ⌘ Shift 3 captures the entire screen.
    Drag the screenshot to the Trash after you post your reply.

  • My computer sees the auto duplexer on my Epson Stylus PX720WD but iworks says it is not installed. I have contacted Epson and I have the impression that they don't know how to solve this problem. Anyone got any ideas?

    My computer sees the auto duplexer on my Epson Stylus PX720WD but iworks says it is not installed. I have contacted Epson and I have the impression that they don't know how to solve this problem. Anyone got any ideas?

    If you print to PDF first, and then print it from Preview does it work?

  • AdobeCrasDaemon is always block my downloads, but I don't know how to solve, also to try a force stop it is not standing in the box.

    Hello, this is my problem: Adobe Cras Daemon is always block my downloads, but I don't know how to solve, also to try a force stop Adobe Cras Daemon is not standing in the box.
    It's really crazy, that Apple have this have, why, it takes hours to find out and after there is no way, also my photoshop CS6 have a problem, I lost my elements in the right side,
    I have already try also for hours to find out end renew instal CS6, but nothing helps, I hope there is a way, but to start a discussion, I like more someone from Adobe, why
    always this way, start a discussion, we live in China with my wife and we are from the Netherlands, this is not easy way, very disappointed.

    check your activity monitor to close that.

  • Help, I don't know how to solve this...

    Hello People, srry for other threat but it's an emergency because I need to finish this program and I couldn't solve the problem
    I add a picture that you can see the graph and the table...but there is a problem in a table 00 00 00 00 01 01 01  I only want to take samples every 0s, 1s, 1.5s ..
    And I don't know how to do this. Another problem is the "hold", I put this button to stop the while loop and the table and then use save to excel but it doesn't work this button.
    sorry..people but I need help...and the other threats nobody help me
    Attachments:
    capacitor.png ‏104 KB
    capacitor.vi ‏2008 KB

    jocuma wrote:
    Maybe yes..But I don't have time..
    It will take less time than sitting and waiting for multiple answers to walk you through it step-by-step, especially overnight (which, for me, starts now). Once you've gone through these, maybe the help screens in LabVIEW and all the knowledge base stuff, whitepapers, etc. on the NI website will make more sense.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • My I phone is ringing as a phone. However, no sound could be heard when viewing youtube video no sound for the keyboard. Also when the vonage or the magic Jack is ringing it rings once and no more. I don't know how to solve this problem?

    My IPHONE 4S Rings well as phone. However, I could not hear the sound from vedio or from ITUNES. Even the keyboard sounds are not clicking. The vonage and magic jack rings one and sometimes vibrate only.. what should I do to solve this probelm??

    set the wake-on lan on the main computer
    The laptop's too far away from the router to be connected by ethernet. It's all wifi.
    No separate server app on the laptop, it's all samba
    The files are on a windows laptop and a hard drive hooked up to the windows laptop. The windows share server is pants, so I'd need some sort of third party server running. Maybe you weren't suggesting to use Samba to connect to the windows share though?
    I'm glad that you've all understood my ramblings and taken and interest, thanks The way I see it, I can't be the only netbook user these days looking for this kind of convenience, and I certainly won't be once chrome and moblin hit the market.
    Last edited by saft (2010-03-18 20:38:08)

  • Some code error, don't know how to fix...

    my xml is here:
    http://homework.cbsd.googlepages.com/podcast.xml
    and i need help with these errors:
    Sorry
    This feed does not validate.
    guid values must not be duplicated within a feed: E3E98228-E7F2-99DF-392B5305E37F61F1 [help]
    <guid isPermaLink="false">E3E98228-E7F2-99DF-392B5305E37F61F1</guid> ^
    In addition, this feed has an issue that may cause problems for some users. We recommend fixing this issue.
    Feeds should not be served with the "application/octet-stream" media type [help]
    Source: http://homework.cbsd.googlepages.com/podcast.xml

    GUID stands for Globally Unique IDentifier. It's something used to keep track of items say in a database.
    Each of your episodes are contained in an <item> tag in your feed's XML. Each episode should have a <GUID> which is unique to that particular episode. The most common thing to do is just copy the link to that episodes enclosure file into a <guid> tag.
    For example:
    <enclosure url="http://example.com/podcasts/everything/AllAboutEverythingEpisode2.mp3" length="5650889" type="audio/mpeg" />
    <guid>http://example.com/podcasts/everything/AllAboutEverythingEpisode2.mp3</guid>
    Make sense?
    Erik

  • Errors, don't know how to fix

    "ImageServlet.java": Error #: 704 : cannot access directory javax\servlet\http at line 21, column 1
    "ImageServlet.java": Error #: 704 : cannot access directory javax\servlet at line 22, column 1
    "ImageServlet.java": Error #: 300 : class HttpServlet not found in class ImageServlet at line 38, column 35
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Hi, I compiled my set of codes on Borland JBuilder 3 on one computer and it's fine, but when I run it on JBuilder 6, it complains with theses errors, any help?
    The first 2 errors are from these lines:
    import javax.servlet.http.*;
    import javax.servlet.*;
    The last error comes from:
    public class ImageServlet extends HttpServlet {
    Any help would be appreciated. Thanks

    I am using VisualAge for Java and experienced a similar problem.
    Some applications require you to install some packages as they are not part of the inital installation.
    Check your application's package list and see if the javax.servlet package is included. If not, you will have to add it to your applications list by installing it.

  • I am unable to to publish to BC i keep getting a type error:  Don't know how to generate rendered data for type.  Can someone help me fix this?

    Been having this problem all day now. i just installed the new version

    Can you please send an email to us at [email protected] along with a link to this thread and the .muse file? You can upload it to Adobe Send or Dropbox and include a download link. Thanks!

  • Getting you have a missing ALT100.dll don't know how to solve this problem

    When trying to rip a cd get this message. Some music I have ripped won't play , getting the same message.

    If you print to PDF first, and then print it from Preview does it work?

  • Session Problems: "Don't know how to iterate over supplied "items""

    Hi, I am developing my first application using Struts and JSP. The Action Form loads an object called reportGrid into session and I am trying to display it on a JSP page. Displaying simple variables works fine, but I can display an object. The error I receive is: Don't know how to iterate over supplied "items"
    My object is made up of a group of ArrayLists looks similar to this this:
            private List affiliateID;
         private List affiliateName;
         private List product1;
         private List product2;
         //etc for about 10 listsThe object is filled with data from a result set and placed into session like:
         HttpSession session = request.getSession();
         session.setAttribute("grid", reportGrid);The goal is to display each list in its own column in a HTML table.
    <table>
    <tr>
    <c:forEach var="affiliateName" items="${grid}">
              <td>
                   <c:out value="${affiliateName}" />
              </td>     
         </c:forEach>
         <c:forEach var="product1" items="${grid}">
              <td>
                   <c:out value="${product1}" />
              </td>     
         </c:forEach>
         <c:forEach var="product2" items="${grid}">
              <td>
                   <c:out value="${product2}" />
              </td>     
         </c:forEach>
    </tr>
    </table>I'm sure this has been asked before but I could not find any examples in the forums. I can place an ArrayList directly into session and iterate through using <c:forEach tags but when I try to do the same with an object it gives me the error " Don't know how to iterate over supplied "items" ".
    Does anyone have any examples of pulling and displaying an object in session which contains ArrayLists? I have been stuck on this same error for a while and any help will be greatly apreciated.
    James.          

    What is the type of grid?

  • c:foreach Don't know how to iterate over supplied "items"

    I keep getting this error (Don't know how to iterate over supplied "items" in <forEach>) whenever i run my jsp page.
    JSP Code:
    <c:set var="page_action" value="${sessionScope.httpData.find_Fix}" />
                        <c:set var="LoadedUpdates" value="${sessionScope.hotFix.fixDetails}" />
    <c:if test="${page_action != null}" >
    <div class="hot-fix">
    <table>
    <c:forEach items="${LoadedUpdates}" var="updates" varStatus="status">
    <tr>
    <td> ${status.count} </td><td><c:out  value="${updates}" /></td>
    </tr>
    </c:forEach>
    </table>
    </div>
    </c:if>JAVA Code (Backend Bean):
    import com.sun.java.util.collections.ArrayList;
    public class HotFixLoader {  
    ArrayList fixdetails = new ArrayList();
    public HotFixLoader(){
    for (int i = 0; i < 10; i++){       
    fixdetails.add("<a href=\"#\">xxxxxx</a>, xx/xx/xxxx, xyxyxyxyxy");
    public ArrayList getFixDetails(){
    return fixdetails;
    }

    Please don't post your problem multiple times http://forum.java.sun.com/thread.jspa?threadID=720679&messageID=4157979#4157979

  • TS1702 Does any one know how to solve this iPod touch error: I am tryin to pay for an app but I can because it says that I don't have enough space when I actually have more than enough space to download it so please help me

    Does anyone know how to solve this problem: I a trying to download a paid app but I cannot because the AppStore says that info not have enough space to download it even though I have more than enough space so if any of you know what can solve this problem then please let me know

    The app is compressed and needs swap space to install. As a rule of thumb you need 3 times the listed size of the app available, or in your case 4.6GB. You only have 1.7GB.

  • TS4002 Hello, icloud receive messages from gilly hicks, but does not receive messages from another personal account... this is happening me since one week and i dont know how to solve this.... error in the mail delivery system says not valid IPv4 SMTP err

    Hello, icloud receive messages from gilly hicks, but does not receive messages from another personal account... this is happening me since one week and i dont know how to solve this.... error in the mail delivery system says not valid IPv4
    SMTP error from remote mail server after RCPT TO:<[email protected]>:
       host mx6.me.com.akadns.net [17.158.8.114]: 550 5.7.0 Blocked - see https://support.proofpoint.com/dnsbl-lookup.cgi?ip=184.173.9.56:
       [email protected]
    i do alse receive from gmail....
    please help... what is happening!!!!

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

Maybe you are looking for