Urgent Problem in Report Dev 2000

hi
I have called a report in the following way
com:='R30CLI32 server=repserver
     report='||store_var||'\reports\NOTDONE.rdf userid='||user||'/'||pass||
               ' destype=file desname='||store_var1||'\'||:global.vc_comp_code||:global.module_code||F_N||'.htm'||' comp_code='||compcode||' f_n='||f_n||' desformat=html errfile='||store_var1||'\'||:global.vc_comp_code||:global.module_code||F_N||'.htm';
HOST(com,no_screen);
but this is generated a file in the desire path the file contain an error which is
REP-0178: Cannot connect to Reports Server 'repserver'.
what can I do?
Farhad

Dear Mansoori,
Not sure this solve your issue. But please try as the following if not tried before.
In BEx->Restrict the Material from 0 to 99999999. I guess you may not be able to find the range in the development server then..
Try writing an user exit for 'Material' variable.
the sample code already might be existing in your system..
Please check at
SE37 > EXIT_SAPLRRS0_001 > Double click on Include ZXRSRU01
add your variable to add the ABAP code of restriction..
regards,
Hari

Similar Messages

  • Urgent: problems in  report creation

    Hi All,
    My requirement is to report on opportunities cube with product hierarchy I have loaded product hierarchy first followed by opportunities but my problem is when i open opportunities cube in BEx analyzer i can see only key that is present in OPP item datasource but i cannot view hierarchy and text evenafter choosing hierarchy; in query output product related objects are displayed as not assigned i even executed hirearchy attribute change run. Would anyone put light on it.
    And also I extracted long text thru generic created FM into BW as Characteristic as data target and I passed primary key to cube eventhan i cannot bring the text here also in output not assigned is displayed under text objects. In generic datasource i have taken STXH-TDNAME as primary key but in OPP 0CRM_OHGUID is same as TDNAME(32) i used 0CRM_OHGUID as key in report but text is not displaying. would anyone tell me what is the normal procedure to bring long text(4 parts 60char each) into report after extracting into bw.
    would anyone help me in this issues.I appreciate it in advance.
    Thanks a lot
    Regards
    Kishore

    Hi BB,
    I appreciate it for quick response. I have created Datasource with TDNAME(STXH), 4 text fields and langu and replicated by splitting in CRM into BW it works fine but my problem is when i check the texts in BW; crm texts are coming into BW and I added the relevant key object in cube and created report on cube; in that the texts are not displaying rather as "not assigned" when i create report only on texts it is working. Would you explain me what might be the problem I have created datasource in crm by taking first 32 char of tdname from Stxh table which is same as GUID and than replicated will it create some prob if yes tell me which field i need to take as key field in order to extract OPPORTUNITIES text into BW.
    for read_text i passed parameters only from STXH table.
    And also If You would put some light on first Issue in my previous post it will be really great.
    Thanks a lot
    Regards
    KIshore

  • Urgent: problem running reports in Oracle 10g application server

    Hi all,
    our problem is that we deployed a jsp report as Ear file in Oracle 10g application server in infrastructure node.deployment says successfull.when we try to run that report it says 401 unauthorised.while sending request we are passing the database username,password &sid is this correct or any configuration setting to be done to make it run.
    one morething normal jsp works fine.when we run reports jsp it gives the above mentioned 401 error.

    hello,
    when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
    thanks,
    ph.

  • UNIX: problem running an DEV & QA environment using form/report servlets

    UNIX: problem running an DEV & QA environment using form/report servlets
    I am trying to setup on one server an DEV and QA environment using the Forms Servlet, Forms Listener Servlet and Report Servlet.
    I think I have the Forms Servlet and Forms Listener Servlet running properly. The problem is setting up the DEV and QA environment for running reports.
    For example, when in DEV environment I would like to run a report from a directory specified in the REPORTS60_PATH. This doesn't seem possible.
    It might be easier if I describe my configuration first:
    DEV: run all forms and reports from the directory /data/release/dev
    QA: run all forms and reports from the directory /data/release/qa
    ---DEV & QA Settings Forms Listener Servlet:
    zone.properties:
    # DEV
    servlet.fl60dev.code=oracle.forms.servlet.ListenerServlet
    servlet.fl60dev.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev.env
    # QA
    servlet.fl60qa.code=oracle.forms.servlet.ListenerServlet
    servlet.fl60qa.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/qa.env
    ---DEV & QA Settings Forms Servlet:
    servlet.f60servlet.code=oracle.forms.servlet.FormsServlet
    --- Settings for Reports Servlet:
    servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
    Custom Env files since we are using Developer 6i Patch 7
    dev.env and qa.env
    Here I specify FORMS60_PATH and REPORTS60_PATH,
    eg: DEV -> FORMS60_PATH=/data/release/dev
    REPORTS60_PATH=/data/release/dev
    likewise for QA ../qa
    In the formsweb.cfg file i have something like:
    [dev]
    serverURL=/servlet/fl60dev
    form=test.fmx
    [qa]
    serverURL=/servlet/fl60dev
    form=test2.fmx
    I have tested the following and they work without problems:
    1. forms listener test page, eg: http://webserver:7777/servlet/fl60dev
    2. running forms from the 2 environments
    eg: http://webserver:7777/servlet/f60servlet?config=dev
    this runs the form in the FORMS60_PATH (/data/release/dev)
    Now my problems start with Reports.
    When I run a report from forms (using run_report_object) it will not run any reports
    as specified in the REPORTS60_PATH
    Even using this url:
    http://webserver:7777/servlet/RWServlet?server=rep60&report=test.rdf&destype=cache&desformat=html&
    userid=scott/tiger@test9i
    It NEVER seems to pickup and use the REPORTS60_PATH. I have tried nearly everything.
    I have gone throught the instructions in "Integrating Oracle9iAS Reports in Oracle9iAS Forms -
    White Paper"
    (http://otn.oracle.com/products/forms/pdf/277282.pdf)
    and Forms6i Patch 7: Oracle Forms Listner Servlet for Deployment of FOrms on the Internet
    (http://otn.oracle.com/products/forms/pdf/p7listenerservlet.pdf)
    plus any other documents in metalink relating to forms, or report servlets. I am
    totally confused, please help.
    I have tried setting the REPORTS60_PATH in the following files without success:
    custom.env (as specified by initArgs=EnvFile in zone.properties)
    jserv.properties
    in the zone.properties I have tried to set a custom env file for the report servlet:
    servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
    servlet.RWServlet.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev_rep.env
    NO LUCK.
    The only place that I can set the REPORTS60_PATH
    is in "[6iserver home]/reports60_server" file when I start the reports server (did I even
    get this right - I do have to have a reports server running don't I?)
    Does this meaan I have to run multiple report servers for each of my environments?
    Based on all the documentation I thought that REPORTS60_PATH as specified in the files relating
    to the forms servlet would be the place to specify the path.
    As you will understand I am getting really fustrated with this and it seems to
    me that the reports servlet configuration in 6i is really half baked and since 9i
    is coming out it will never be fixed.

    I am even not able to run forms servlets from two different forms60_path, Is there any configuration do you make other than what you have mentioned in this post.
    I already open a TAR in this regard, I am still waiting reply from ORACLE.
    Thanks,
    Shaik Ather Ahmed

  • Oracle Dev/2000 6.0 EAP Installation PROBLEM !!!

    Oralce EAP kit Dev/2000 6.0 CD gives while installing on Win'95.
    But still the Dev. works , some time gives more problems, Please
    Let me has anybody has same problem while installing
    null

    shabie wrote:
    Good question! When I tried running that (unfortunately I am not in front of the same system right now) the command, it did NOT execute successfully. The error was... shoot I cant remember. Need to go back and check but it was definitely not working not with -c or -u option. As far as I remember (I dont remember much) the -u option automatically entered system/********** which did not succeed. The -c option gives the option of entering username/password but I didnt know what to enter. I tried entering <SID>adm/password but that did not work.
    >
    > However, sqlplus / as sysdba in the "run" dialog box of windows worked perfectly.
    >
    > Even R3trans didnt show any errors in checking the connection with the database.
    >
    > Shoot! I guess, the errors in the commands were important. Damn, I'll go home, check and post later? Any ideas till then if my memory is to be trusted?
    Hi,
    >> The -c option gives the option of entering username/password but I didnt know what to enter.
    "-c" means that brconnect does not require a confirmation during the process
    >>  As far as I remember (I dont remember much) the -u option automatically entered system/********** which did not succeed.
    "-u /" means that brconnect will connect to the database with OPS$ mechanism.
    At this stage, could you download and patch latest br*tools from SAP Marketplace?
    Best regards,
    Orkun Gedik

  • Mailing Problem in Reports Writer 3.0 (URGENT)

    Hello,
    I 'm facing mailing problem in Reports Writer 3.0.
    All Reports files (.rep) are stored on NT Server(in a particular
    dir) and I have full permission (on that dir).
    After running the report, when I try to send mail then it gives
    the following error
    REP-4203: Error occurred while sending a mail message.
    REP-4221: Cannot access attachment file.
    So pls. suggest me.
    Thanks
    PSR
    null

    This is the wrong forum for reports issues - particularly for such an old version :-) However, you'll have to write a user exit to do that kind of stuff. And no don't ask me how, it was all too long ago, but there should be a section on that in your manual.

  • Urgent problems with image viewing on my 20 inch Cinema display???

    I have a very urgent problem concerning my Apple Cinema 20 inch Display and my SpyderPro2 on my Mac Pro Intel Dual Core Xeon 2x 2.66GHz.
    I have been using the Spyder for some years now, but recently I have been having big problems with the results.
    I have a major contract with a jewellery company in London, where I clean up digital photos. Images that I have lightened up to look great on my Cinema Display have been reported by my client to look pretty dark on their PC's in their offices.
    Some of these images show lines and grubby patches??? To check this I opened files in Photoshop and moved the levels 'black' slider down quite some way, and did see evidence of what the client could see at their end? It seems that when I have used a faded eraser brush it leaves a light patch in between the shadows of the jewellery. This shouldn't be visible to the naked eye though?
    I must point out that when I use the eyedropper tool on images, to read the amount of grey or colour in the white areas around the peices, I am shown values of 1,2 or 4 maximum in the CMYK values. 4 percent out of 100 is nothing and should not be visible to the naked eye?
    How is it that my clients PC's can see dark shadows and where my eraser brush has rubbed out???
    I have tried many re-calibrations and also tested all of my older calibrations dating back a few years. I have also tested the same faulty images on Intel iMac's, an eMac, and a few PC's. On the iMac's I can just about make out the artefacts that my client can see, but nothing that I would deem as unacceptable.
    I am at a loss as to the fault, but It may be the Spyder2 Pro's inability to calibrate my Apple Cinema display properly? I may lose my contract which I cannot afford to do, and I simply have to find the cause ASAP.
    I have my Mac's in my office apartment next to two bay windows. I have vertical blinds there. When calibrating I have always turned off all the lights and pulled the blinds right back so that only the light from the two large window doors is coming in.
    For graphic design the calibrations seemed to be okay for quite some time, but recently it is getting harder to achieve good results with the Spyder? This could affect all of my workflow which is very serious. But I must stress that overall the Spyder results are not terrible. I can see good colours and dark levels and in general across all of my calibrated profiles, the jewellery looks acceptable on my Cinema Display?
    I did say to my clients that they should calibrate their PC screen properly but their offices have many Screens and they all show the same artefacts (some much worse than others)? I know that PC Screens are darker than Mac's but a 4% grey should not be visible????
    As these are a web company the images will be seen by PC users around the world and most of these will have no calibration on their screens. What can be done to prevent this and what is the cause of this? I can't possible please everyone, but as a creative professional I have to be 100% certain that my workflow is at its best.
    I need urgent help to solve this or loose valuable business? I hope that you are able to help solve this mystery.
    I have just purchased the new Spyder3 Pro which I hope will give perfect results but I have to find out what the cause of this is. If some of the fault lies with the client, I can charge these for all the testing and calibrating I have done.
    Kind regards,
    Jason Conway
    ideo-sync - inspired design.

    One thing you might want to try adjusting is the gamma setting in Displays Preferences color calibration area. Macs typically are set at 1.8 but PCs will often use 2.2. That could account for the difference.

  • Urgent Problem:Upgrade intermedia (Waiting online)

    Hi ,friends
    I have an urgent problem needed to be confirmed right now becasue it influence on our project
    decision.
    We planed to uograde interMedia from 8.1.6 version to 9i r2 version.And precondition is that current oracle database(8.1.6.0.0 ) can't be upgraded to 9i becasue our client don't want to do it.Hence,do you consider it's possible?
    And how much cost if possible?
    Furthermore,can you tell me or give me some evaluation report that I can earn any benifit on Performance and precise(Chinse fulltext search) by upgrading?
    Thanks in Advanced!

    Is this interMedia text?
    If so, please post your question in the Oracle Text forum, since interMedia text is now Oracle Text.
    This forum is reserved for multimedia issues.
    THe text experts monitor the Oracle Text forum.

  • Conversion from Dev/2000 to Developer 6.0

    Has anyone converted Dev/2000 (Forms 5.0 and/or Reports 3.0) to Develpor 6.0?
    I've been searching for documentation of the differences and what it take to convert and have had no luck?
    Thanks in advance,
    Debbie

    Debbie,
    For Forms, just open the form in the 6.0 builder and the conversion process will walk you through it.
    Reports should do the same, but you might like to check with a Reports wiz (try the Reports forum on TechNet)

  • Co-existance of Dev/2000 Version 1.5 & 2.1

    I have Personal Oracle7 & Developer/2000 Ver.2.1 installed in my
    PC (under C:\ORAWIN95 as Oracle Home directory) and was workig
    fine. When I installed Developer/2000 -Ver 1.5 in a new Oracle
    Home C:\ORAWIN, both PO7 and Dev/2000 Ver 2.1 are not working.
    When I was installing Dev/2000- Ver 1.5, I noticed the message
    saying that Icons already existing are deleting....
    When I started PO7, it is not starting. When I started Forms
    5.0, it comes with error C:\ORAWIN\dbs\fmcus.msb not found . I
    found these .msb files are in FOMS45 and FOMS50 directory and
    not under DBS directory. Do I have to edit the Window registery
    to switch between the two oralce home to use the old
    installations (Dev/200 Ver 2.1 & PO7)?
    Is there any quick solution to change the oracle home and use
    Dev/2000 ver 1.5 & 2.1 at a fly?
    null

    Steve (guest) wrote:
    : Good luck fixing this one!!!!!!
    : I did the samething and had things so hosed up I had to reload
    : all software. The only way I could establish a second oracle
    home
    : was to load the oracle database product in two homes (I was
    using
    : 8.0.4 enterprise edition on NT platform). Once the second home
    : was established developer could be installed in either home.
    : There might be an easier way (hopefully there is) but this was
    my
    : solution. The problem that I have seen documented in various
    : postings to this page is that developer is not multiple home
    : complient. As final note the developer versions that I was
    : dealing with was 2.1 and 6.0 beta. This was a real learning
    : experience.
    : Radhakrishnan Veetil (guest) wrote:
    : : I have Personal Oracle7 & Developer/2000 Ver.2.1 installed in
    : my
    : : PC (under C:\ORAWIN95 as Oracle Home directory) and was
    workig
    : : fine. When I installed Developer/2000 -Ver 1.5 in a new
    Oracle
    : : Home C:\ORAWIN, both PO7 and Dev/2000 Ver 2.1 are not
    working.
    : : When I was installing Dev/2000- Ver 1.5, I noticed the
    message
    : : saying that Icons already existing are deleting....
    : : When I started PO7, it is not starting. When I started Forms
    : : 5.0, it comes with error C:\ORAWIN\dbs\fmcus.msb not found .
    I
    : : found these .msb files are in FOMS45 and FOMS50 directory and
    : : not under DBS directory. Do I have to edit the Window
    registery
    : : to switch between the two oralce home to use the old
    : : installations (Dev/200 Ver 2.1 & PO7)?
    : : Is there any quick solution to change the oracle home and use
    : : Dev/2000 ver 1.5 & 2.1 at a fly?
    Only Oracle 8 supports multiple homes.
    I would ask why did you put the Developer 1.5 and 2.1 under
    different Oracle Homes. They should co-exist just fine under the
    same home. I have Developer 1.3.2, 2.1, and 6 all installed
    under the same Oracle Home with no co-existence problems.
    null

  • Installation of Dev 2000

    I installed Oracle 9i,but when I tried to install Dev 2000 after this it gave the error that you can not use the same ORACLE HOME directory, I tried to changed the directory but it did not work....What should I do...???
    Plz dont ask me to uninstall the Oracle 9i and try some other .....
    I have Win 2000 installed on my PC as OS.
    Thanking in anticipation

    Developer 2000 needs to be installed in the default Oracle Home, which obviously is taken by the Oracle9i database install.
    If you have a copy of Forms and Reports 6i (Release 2) then you can install Forms and Reports in a separate Oracle Home.
    If you need to install Developer 2000 then I am sorry, but you have to uninstall all Oracle products, get rid of the Oracle Homes and start again with Developer 2000 first ;-(
    Frank

  • Conversion from DEV/2000 to DEVELOPER 6

    Can someone direct me to documentation for Developer 6.0? We're trying to determine what it will to take to convert from Dev/2000 to Devloper 6.0.
    Has anyone converted from Forms 5.0 to Forms 6 and Reports 3.0 to Reports 6? If so, what were your pitfalls? How much effort did it take to convert?
    Any help will be greatly appreciated.
    Thanks,
    Debbie
    null

    Hi,
    There isn't any great different between forms5.0 and forms6.0. According to Oracle Corp. Forms 6.0 is 90% Forms5.0 and 10% other features like LOV wizard etc.
    There must be specific reason for converting.
    Otherwise Forms 5.0 is good enough.
    For converting from Forms5.0 to Forms6.0 simply open the forms 5.0 source file (*.fmb) in Forms Builder 6.0 and re-compile.( latest patch for Developer 6.0 is Patch 6a.) U have to re-compile each and every form. Same is applicable for Reports6 .
    Open the Reports 3.0 *.rdf file in Reports Builder 6.0 and re-compile.
    Thats it. Very simple.
    Oracle Developer 6 documentation is available On-Line on the CD itself.
    Hope this helps.
    Thiru
    null

  • [Urgent] Problem with Itunes 9.2 on Vista 64-bit

    Hello,
    I have an urgent problem that I hope to get some response and insight from anybody, desperately needing help. As some might know, the new OS for iphone and ipod touch is out. iOs 4 and I wanted to upgrade my itunes, but i had to upgrade it to the itunes 9.2 version. As i was upgrading and installing, this error message : "There is a problem with this Windows Installer package A problem required for the install to complete could not be run. Contact your support personnel or package vendor" came up and ruined the installation and as of now, I am unable to open my Itunes and sync stuff in. This is urgent as I have a ton of stuff inside and now i cant use itunes ! please help !
    Im on a version of Windows Vista SP 2 64-bit OS, if that's any info tht will help ! Any help is greatly appreciated here (:

    any fixes ? ):

  • Urgent: Problems in Generic Extraction by Function Module

    Hi BW Gurus,
    I am new to SDN and also new to generic extraction using function module. My requirement is to extract long text(142 char) from CRM to BW as the text is not stored in database table I used function module read_text with in another ZXXX function module copy of (RSAX_BIW_GET_DATA_SIMPLE). In my extract structure I used GUID(char,32), Langu, long text(142 char) and 2 placeholders. Text can be extracted by passing STXH table fields(Tdname, Tdid, Tdobject, Tdspars) to read_text as parameters and i also need to use CRMD_ORDERADM_H field GUID(32 char) to compare 1st 32 chars of tdname(70 char) with Guid to select Guids and loop thru this Guids and for each Guid i need to append lines of text to e_t_data but as i donot know ABAP i unable to write the code for this. Through my friends help i wrote code when i check in RSA3 it is displaying the text but when i replicate into BW and load into data target in monitor the status is red with records initially but afterwards it will be red status again with 0 from 0 records for initial load again.when i check on job logs the errors i have are:
    The background job has created a job log file of 2Gb size and it is currently on a infinite loop writing entries into the SAP System Log that it cannot write to the Job log file due to “Error 22 for write/read access to a file” this is because of the datasource i have created. Please find my Function module and if anyone would please correct FM and send me that will be really great.I appreciate it in advance.
    MY Function Module is:
    FUNCTION Z_CRMORDERH_STR_TXT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *"     VALUE(I_READ_ONLY) TYPE  SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *"     VALUE(I_REMOTE_CALL) TYPE  SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
    *"  TABLES
    *"      I_T_SELECT TYPE  SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  YCRM_TEXT_STR OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
    ***"  EXCEPTIONS     NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
      Tables: CRMD_ORDERADM_H, STXH.
    Auxiliary Selection criteria structure
    data: l_s_select type srsc_s_select.
    Maximum number of lines for DB table
      Statics: s_s_if type srsc_s_if_simple,
    counter
             s_counter_datapakid like sy-tabix,
    Cursor
             s_cursor type cursor.
    data: i_crmtext type standard table of TLINE .
      types: begin of xsreph ,
              GUID type CRMD_ORDERADM_H-guid,
            end of xsreph.
       data: i_guid type standard table of xsreph.
      data: I_TEXT type STXH-TDNAME.
      data: xempl like  YCRM_TEXT_STR occurs 0 with header line.
      data: t_tab like dd03l-tabname.
    Select ranges
      ranges: l_r_guid for CRMD_ORDERADM_H-guid.
             l_r_connid  for sflight-connid.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      if i_initflag = sbiwa_c_flag_on.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        case i_dsource.
          when 'yCRM_TEXT'.  " for S_SREPH1
          when others.
            if 1 = 2. message e009(r3). endif.
    this is a typical log call. Please write every error message like this
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                    i_dsource   "message variable 1
                      ' '.                 "message variable 2
            raise error_passed_to_mess_handler.
        endcase.
       append lines of i_t_select to s_s_if-t_select.
    Fill parameter buffer for data extraction calls
        s_s_if-requnr    = i_requnr.
        s_s_if-dsource = i_dsource.
        s_s_if-maxsize   = i_maxsize.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
       append lines of i_t_fields to s_s_if-t_fields.
    we will do our selection based on what is in the p table for the
    infoobject
      else.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        if s_counter_datapakid = 0.
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
        LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'GUID'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_GUID.
            APPEND L_R_GUID.
          ENDLOOP.
          case i_dsource.
            when 'YCRM_TEXT'.  " for S_SREPH1
              t_tab = 'CRMD_ORDERADM_H'.
          endcase.
          select GUID
          from (t_tab)
          into table i_guid where   PROCESS_TYPE = 'ZACI'  and ( OBJECT_ID < '0000000042').
         select tdname from stxh into i_text where tdobject = 'TEXT'.
         if sy-subrc ne 0.
           message e009(r3).
    this is a typical log call. Please write every error message like this
           log_write 'E'                  "message type
                     'R3'                 "message class
                     '009'                "message number
                     i_dsource   "message variable 1
                     'No master data found'.           "message variable 2
           raise error_passed_to_mess_handler.
         endif.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
         open cursor with hold s_cursor for
         select (s_s_if-t_fields) from CRMD_ORDERADM_H
                                  where GUID in L_R_GUID .
                                   ENDIF.
    Fetch records into interface table.
      named E_T_'Name of extract structure'.
       fetch next cursor s_cursor
                  appending corresponding fields
                  of table e_t_data
                  package size s_s_if-maxsize.
        IF SY-SUBRC <> 0.
         CLOSE CURSOR S_CURSOR.
         RAISE NO_MORE_DATA.
       ENDIF.
    as we are doing this only once can use the select statement.
    ***data: crmtext like tline occurs 0 with header line.
    **data: i_crmtext type standard table of TLINE.
    **data: i_guid type standard table of xsreph.
    data: l_guid type THEAD-TDNAME.
    data: st_guid type xsreph.
    data: st_crmtext type TLINE.
    data: lan type THEAD-TDSPRAS.
    lan = 'E'.
    loop at i_guid into st_guid.
    l_guid = st_guid-guid.
    CALL FUNCTION 'READ_TEXT'
       EXPORTING
       CLIENT                        = SY-MANDT
         ID                            = 'A002'
         LANGUAGE                      = lan
         NAME                          = l_guid
         OBJECT                        = 'CRM_ORDERH'
       ARCHIVE_HANDLE                = 0
       LOCAL_CAT                     = ' '
    IMPORTING
       HEADER                        =
       TABLES
         LINES                         = i_crmtext.
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8
    e_t_data-guid = l_guid.
    loop at i_crmtext into st_crmtext.
    move lan to e_t_data-langu.
    move st_crmtext-tdline to e_t_data-description.
    append e_t_data.
    endif.
    endloop.
    clear: st_guid,l_guid.
    refresh: i_crmtext.
    endloop.
    S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    endif.
    ENDFUNCTION.
    please Gurus as I donot know ABAP i appreciate if anyone would write a FM based on requirement and send me that will be really great this is my request. I gurantee of award points for good answers.
    Regards
    Kishore

    Hi,
    The statement <b>RAISE NO_MORE_DATA</b> should be active (uncommented) in your code. Otherwise, the infinte loop occurs.
    See also, the Siggi's blog:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    BTW, was it your thread here:
    Re: Urgent: problems in extracting Long Text
    Best regards,
    Eugene

  • Problem in SQL Server 2000 Driver for Java Database Connectivity

    Hi,
    I have problem with MS SQL 2000 JDBC driver. I am using Type-4 driver for my application. I can able to connect through DSN. If I use Type-4 Driver to connect database means it gives the following exception.
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at test.TestDB.main(TestDB.java:17)
    My Java Code :
    String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    Class.forName(driver);
    Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://192.168.48.90:1433;User=sa;Password=sa;DatabaseName=GWCANADA");
    Statement st = con.createStatement();
    ResultSet rs = st.executeQuery("select * from emp");Do we have any other jdbc driver to connect MS SQL 2000 aprt from the Microsoft JDBC driver.
    Plese help me to resolve this problem
    Thanks
    ---Suresh

    Same problem is here: http://forum.java.sun.com/thread.jspa?threadID=419214&tstart=135
    Check that your server is running (telnet <hostname> 1433)
    --Xapp                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Develope new Report for Summarized JIT (Just In Time) calls

    Hi to all, Can anybody kindly tell me how to solve the following: This report is for Delco Singapore needs all Summarized JIT calls created between selected dates to be closed. If JIT call quantity is 0 and GR quantity is also 0, then GR flag for JIT

  • Help! iTunes won't start up

    I go to open iTunes and get this error message "The iTunes Library.itl file is locked, on a locked disk, or you do not have write permission for this file." i've already reinstalled iTunes...didn't work. tried a bunch of other stuff as well...nothing

  • Is there a way to specify a value not allowed in text field?

    I see there is max/min chars and values but is there a way to specify not to allow specific words or a specific value like 2000 in an integer field? Maybe I'm blind but I searched through all of this document http://labs.adobe.com/technologies/spry/a

  • Is there a way to clip files in DVD Studio Pro?

    Hi, I have a file that is 4.9gbs, 200 mbs over the max size for a dvd. I'm wondering if it's possible to clip/delete parts of a track (like in FCP) in dvd studio pro because I don't have time (took 9 hours to export). Any help is appreciated. Thank y

  • IPhone "Dead Strip"... and what to do now?

    Hey there, My first generation, Edge iPhone has a "dead strip." Basically, the horizontal row where the "7" "8" and "9" appear on the "Enter Passcode" screen no longer recognizes any touching. Any at all. Honestly, thank God that my passcode doesn't