Error BSP Exception: Der Applikationsname sap in der URL

Dear all.
    I'm executing the URL http://YYYYY.XXXXX.pt:8000/CAP/sap/bc/soap/rfc/ZCOMSDService
Note: YYYY is the name off the server and XXXX is the domain name.
To acess the RFC function ZCOMSD when executing the URL i'm getting the following error message:
BSP Exception: Der Applikationsname sap in der URL /CAP/sap/bc/soap/rfc/ZCOMSDService ist nicht gültig.
Does any one can help???
Best Regards
Thanks in advanced

We are using an apache server to control the execution off this URL.
So when you execute the URL  http://YYYYY.XXXXX.pt:8000/CAP/sap/bc/soap/rfc/ZCOMSDService we change it to a internar URL say http://KKKKKK.pt//sap/bc/soap/rfc/ZCOMSDService
The CAP is for internal use.

Similar Messages

  • BSP Exception: Missing reference when converting data object ZZxx

    Hi there,
    I have created these new Z fields and tried to include them in a field group. These fields did appear, but they are highlighted with a red box, with the above text in the tool tip.
    Does anyone know what it means??
    Thanks

    I believe they were generated by EEWB - or could've been added manually to the CRMD_CUSTOMER_H. This error only occurs on the Currency fields...something to do with reference field but I just can't find what is wrong with this. I searched up SAP notes and found the following the closest match: -
    <b>Symptom</b>
    when trying to scroll down in the result list in the F4 for the Ibase the error error "BSP exception : Missing reference when converting data object amount.  Correct the entry" occurs.
    <b>Other terms</b>
    CRMT_BSP_IBASE_TREE_NF, data object amount
    <b>Reason and Prerequisites</b>
    This happens due to inconsistancy in structure
    <b>Solution</b>
    Please follow the below steps manually.
    1. Go to tx:SE11
    2. Select data type "CRMT_BSP_IBASE_TREE_NF" in change mode
    3. Select component AMOUNT in 'Components' tab
    4. Go to "Currency/quantity fields" tab
    5. Replace 'Reference table' entry from 'CRMT_BSP_IBASE_DETAIL'
       to 'CRMT_BSP_IBASE_TREE_NF'
    6. Save and activate

  • BSP invalid due to wrong characters in URL

    Hi all,
    Anybody have had next problem.
    Next URL is executed :
    https://secure.securex.be/crm1/sap/bc/bsp/sap/sem_bsc/analysis.htm
    Via the reverse proxies ichain and Teros, the service is changed to
    /sap%28bD1ubCZjPTYwMA%3D%3D%29/bc/bsp/sap/sem_bsc/analysis.htm instead of /sap(bD1ubCZjPTYwMA==)/bc/bsp/sap/sem_bsc/analysis.htm.
    If we go directly to the backend, the last service is recognized and executed well.
    Through the ichain and Teros, instead of" (, =, )", "%28, %3D, %29" is genareted what is not recognized by the ICM of SAP.
    Other webservers like Lotus Notes and  BEA Weblogic recognize such characters without any problem.
    Any idea what parameters needs to be set?
    Massage from SAP :
    BSP Exception: the Application Name bc in URL /sap%28bD1ubCZjPTYwMA%3D%3D%29/bc/bsp/sap/sem_bsc/analysis.htm is invalid.
    Anybod can help me.
    Kind Regards
    Paul

    I had some issue with reverse proxy and I use IIS Proxy to make it. I solved issue with entries like below .
    We have to put entry for proxy server in HTTPURLLOC table. More details available in https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bsp/using+proxies&
    Again when we call BSP the URL is changing with some extra string to replace /bsp/ to /bsp(xxxxxxxxxxxxx)/.
    And for EP 7.0, other than the two entries required for EP 6.0 ( they are /irj/ and /logon/ ), we have to put one more entry for WebDynpro.
    So finally the entries in IISProxy.xml file looks like below. ( In the below example 'sapep' is Portal and 'sapecc' is ECC 5.0 server.)
    <ISAPI-config version="1.6">
    <filter name="IisProxy filter" />
    <extension name="IisProxy extension" />
    <mapping name="PORTAL">
    <source>
    <protocol>http</protocol>
    <prefix>/irj</prefix>
    <new-prefix>/irj/</new-prefix>
    </source>
    <source>
    <protocol>http</protocol>
    <prefix>/logon/</prefix>
    </source>
    <source>
    <protocol>http</protocol>
    <prefix>/webdynpro/</prefix>
    </source>
    <target>
    <protocol>http</protocol>
    <host>sapep.domain.com</host>
    <port>50000</port>
    </target>
    </mapping>
    <mapping name="BSP">
    <source>
    <protocol>http</protocol>
    <prefix>/sap/</prefix>
    </source>
    <source>
    <protocol>http</protocol>
    <prefix>/sap(bD1lbiZjPTA5NiZkPW1pbg==)/</prefix>
    </source>
    <target>
    <protocol>http</protocol>
    <host> sapecc.domain.com</host>
    <port>1080</port>
    </target>
    <compress-types>text/html, text/plain</compress-types>
    </mapping>
    </ISAPI-config>
    Thanks
    Raibin

  • BSP Exception: Das Objekt search.htm in der URL /sap/bc/bsp/sap/webserviceb

    Hi
    I am trying to open web service using outside in approach
    http://host:httpport/sap/bc/bsp/sap/webservicebrowser/search.html
    its giving exception sayin
    BSP Exception: Das Objekt search.htm in der URL /sap/bc/bsp/sap/webservicebrowser/search.htm ist nicht gültig
    any add ones to be applied?
    Regards
    shekar chandra

    Hi,
    Please add the follwing inthe hosts file which is located on ur local desktop
    C:\WINDOWS\system32\drivers\etc\hosts
    open it with notepad and add the following,
    <ip adress of the SAP server><tab><Host Name of SAP server>
    eg:
    192.168.1.1     sapproduction     
    Log off and login in windows.
    regards,
    Arun
    Ps:Reward points are welcome

  • BSP Exception: Access to URL /irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher;jsessionid= not allowed

    Dear all,
    I've created out BI system in our new Portal installation and tested the connection. Everything works fine. I added the certificate of the portal to STRUSTSSO2 in BI ABAP and assigned SAP_ALL and SAP_NEW to my Account.in BI. If I open the iView from the portal I get a BSP Exception with the message:
    The used connection by the iView is to the ABAP-Stack of the BI-system not to the JAVA-Stack. Is that correct?
    BSP Exception: Der Zugriff auf die URL /irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher;jsessionid=IDBYatWIpt_pX4uc52ChoZqMWkm1RAFW2qsA_SAP ist untersagt.
    What can be the problem/reason?
    Thanks!

    Hi Gerrit
    In both places you have to provide a authorization access to the end users then only it will work. because your are already said that in SAP_All & SAP_New working fine
    Back end BI system access as per the word document as pasted the link
    https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&cad=rja&uact=8&ved=0CFIQFjAG&url=http%3A%2F%2Fbasisdsp.f…
    For SAP portal you have to create iview's assign the same to end user
    Assigning an Authentication Scheme to an iView - User Authentication and Single Sign-On - SAP Library
    Portal Authentication Infrastructure - Configuring the Portal for Initial Use - SAP Library
    BR
    SS

  • [JCO.ServerThread-1] ERROR  SERVER-EXCEPTION - [null,null,null,] com.sap.mw

    When we execute a SAP transaction through xMII, xMII server is brought down.
    I looked in the cms.log file and found this:
    <b><i><i>2007-10-16 11:07:23,355 [JCO.ServerThread-1] ERROR  SERVER-EXCEPTION - [null,null,null,] com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Tue Oct 16 11:07:23 EDT 2007.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 64 seconds.</i></i></b>
    When I try to log back onto xMII, I see the following: 
    <b><i>Error Executing Transaction Status (500) Internal Server Error.</i></b>
    I created a Business Logic Services transaction within XMII.  This BLS extracts data from AFPO Order Item table.  A Repeater loops through the RESPONSE output table, and executes a SAP Query to load the data into Oracle tables.
    I also have a BLS that executes BAPI_PRODORD_GET_LIST. 
    When I execute either one of these transactions, the system will fail with the above error when the amount of data being extracted reaches a specific number.
    I have simplified the BLS to run a JCO block for BAPI_PRODORD_GET_LIST and a tracer block.  When I execute the BLS that executes BAPI_PRODORD_GET_LIST to retrieve 2,000 production orders, the transaction hangs.  After 30 minutes, I terminate the transaction so it won’t take the xMII server down again.  However, had I had a repeater to loop through the output and load into the oracle tables, the server goes down.
    That’s my problem.  My other question to the problem is this. 
    What are the limitations to the amount of data that can be extracted from SAP via xMII?  Excel spreadsheets can download 40,000 records.  You can write a SELECT * in any language and pull down 40,000 records.  What is going on?

    David,
    Just an FYI the error message that you have found is not connected to your BLS transaction but rather the default IDoc listener trying to connect to something that doesn't exist.  This listener will automatically start each time xMII starts, as a result you can set it up to connect to an RFC destination or delete the default configuration and it will go away. 
    Now onto your issue; How many Production Orders are being returned from the BAPI?  How are you loading each of them into Oracle?  How much memory is allocated to ServletExec vs. How much is available on the machine?  By default xMII will limit all SQL/Tag queries to their <b>RowCount</b> with a max at 250k rows but this does not apply to the JCo call.
    My suggestion here is to look for the other error message that pertains to your transaction which may reside in the ServletExec logs and not xMII, they can be found on your xMII machine here: http://localhost/servletexec/admin/login.jsp
    Hope this helps.
    Sam

  • Der neue SAP TRAINING & CERTIFICATION SHOP

    Kursbuchung einfach gemacht!
    kostenloses Webinar am 31. Mai 2011 von 10:00 u2013 10:30 Uhr Moderation: Lucas Schiel & Sabine Berner / SAP Education Delivery Coordinator
    Der neue SAP Training and Certification Shop ( https://training.sap.com/at ) überzeugt durch
    einfache Navigation und mehrfache Suchmöglichkeiten von Kursen und Zertifizierungen.
    WebConference: https://sap.emea.pgiconnect.com/i027740/
    Nähere Infos unter: http://www.sap.com/austria/services/education/seminare/index.epx
    Edited by: Andrea Baumann on May 17, 2011 2:31 PM

    Alex,
    Those books that you 'found' are classroom textbooks; and they are generally only made available to students who are taking the underlying class. 
    For these classes, SAP loads data into their training systems that support the classroom curricula, prior to the start of each class.
    So, the easy answer is "take the SAP class".  If you take the class, SAP will provide you with a new copy of the course material, and once you are in the classroom, you are generally provided with access to their training system, which is consistent with the course material.
    SCM200 - Business Processes in Planning (SAP SCM) | SAP Training and Certification Shop
    SCM210 - Core Interface (CIF) | SAP Training and Certification Shop
    Best Regards,
    DB49

  • Der neue SAP Schulungs- und Zertifizierungs-Shop

    Besuchen Sie unseren neuen SAP Schulungs- und Zertifizierungs-Shop u2013 die zentrale Anlaufstelle rund um Schulungen und Zertifizierungen.
    In einer völlig neu gestalteten, zentralen Einstiegsseite können wir Ihre Anforderungen rund um SAP-Schulungen noch besser abdecken. Hier können Sie Ihre Ausbildungsbedarfe planen, Sie können Schulungen buchen und Trainings einkaufen. Werfen Sie einen Blick auf unseren neuen Shop und lassen Sie sich begeistern.
    Zugriff haben Sie über unsere Internetseite https://training.sap.com/at.
    Unser Schulungsangebot wird regelmäßig aktualisiert und erweitert. Sämtliche aktuellen Informationen über unser komplettes Schulungsangebot (Inhalte, Termine, Preise, Verfügbarkeit freie Plätze usw.) finden Sie stets aktuell im Online Trainingskatalog und unter: http://www.sap.com/austria/services/education/schulungskatalog/index.epx

    Hallo!
    Die DATEV Schnittstelle über das SAP eigene AddOn kennen alle Berater, die Kunden im Bereich SAP Business One Finanzwesen betreuen, sicherlich in- und auswendig.
    Für viele Kunden ist ein Export auf diese Weise vollkommen in Ordnung und ausreichend, und auch noch kostenlos, da es sich ja um ein Standard-SAP-AddOn handelt.
    Aber nicht wenige unserer Kunden - bzw. besser ausgedrückt: viele Steuerberater unserer Kunden - haben oftmals Probleme beim Import dieser Daten (und nicht selten schon beim Export aus SBO heraus).
    Jedes auftretende Problem ist immer wieder ein Einzelfall, der in Verbindung mit der SAP über eine Meldung bearbeitet und analysiert werden muss. Als Berater hat man selbst keinen Einblick in die Funktionsweise des AddOns.
    An dieser Stelle wollten wir unseren Kunden einen Mehrwert bieten, damit der Datenaustausch mit dem Steuerberater reibungslos(er) verläuft. Die Datev-Schnittstelle, die Herr Heering entwickelt hat, bietet diesen Mehrwert.
    In SBO werden die gewünschten Buchungen über den Bericht "Hauptbuch" nach Excel exportiert und mit einem Excel-AddIn verarbeitet. Steuerungsmöglichkeiten sind reichlich vorhanden, ebenso ein Hotline-Support, der sich direkt mit dem Sachbearbeiter beim Steuerberater auseinandersetzt - ohne den Kunden oder SAP Berater als Relais-Station zwischengeschaltet zu haben (natürlich nur, wenn vom Kunden gewünscht).
    Der Kontakt kann über Herrn Heering oder über mich hergestellt werden.
    Viele Grüße,
    Jens Kochsiek

  • BSP Exception , with aliased page?

    Hi all,
    I got a BSP page at :
    http://WAShost/sap/bc/bsp/sap/zris/page_a.html
    I've an aliased version too at :
    http://WAShost/ris/page_a.html
    this work OK.
    Now I copied (in SE80) page_a.html to page_b.html.
    http://WAShost/sap/bc/bsp/sap/zris/page_b.html works OK but http://WAShost/ris/page_b.html give me the following error:
    What happened?
    Call of BSP page terminated due to error.
    Note
    Following error text processed in system:
    BSP Exception: Das Objekt page_b.html in der URL /ris(bD1lbiZjPTMwMyZ3PTgwMTAwMDAr)/page_b.html ist nicht gültig.
    Error Type:
    Your SAP Business Server Pages Team
    Thanks in advance, for you help.
    Message was edited by: Erik Gugliandolo

    hi erik,
    if u r saying that when u copied page_a.htm to page_c.htm its working and not working when copying with name page_b.htm ? If this is the case then its really strange.
    As what i think is that , if u r working with the aliased , like u have http://WAShost/ris/, then for that u must have to set some setting, like what i know is that u have to assign Request Handler class in the Handler List of ur alias service i.e. http://WAShost/ris/.
    so if not assigned that then u can't even run any application from http://WAShost/ris/. U can only work with the default service http://WAShost/sap/bc/bsp/sap/....which provides default Request Handler Class with WAS 6.40.
    Regards,
    Kamaljeet

  • BO 4.0 - Database error: Unable to connect to SAP BW Incomplete logon data

    Hello Experts,
    I have enabled a 'SSO to database' between SAP BW and Business objects by referencing to the documents related to below link.
    [http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers]
    I have created a universe connection with option 'use single sign on when refreshing reports at view time' and have created a universe on top of my BEx query by log-in to the universe designer tools using my LDAP account.
    Now when I run the report with either SAP account or LDAP - I am able to run a adhoc webi report on this universe and get data either through the webi rich client or via BO 4.0 Info-view/Launch Pad.
    But the issue is that when other users are trying to run webi queries on this universe either through Info-view/launch pad or rich client by log-in via LDAP Authentication - they get the below error: I have given SAP_ALL to this user for time being and also have done the necessary configuration for 'simple user format' in CMC so these user has 1 account with 3 alias definitions: Enterprise, SAP, R/3.
    Database error: Unable to connect to SAP BW server Incomplete logon data -
    If the user logs on into the BO 4.0 Info-view/launch pad or webi rich client using his SAP authentication than he is able to run and retrieve data.
    I also get a dump in the SAP BW system - I analyzed the dump in SAP BW using st22 tcode and it gives the error short text as - Incomplete logon data and run-time error -  CALL_FUNCTION_SIGNON_INCOMPL
    Desired outcome:
    I want the users to log-in to webi rich client or BO 4.0 Launch pad/Info-view using their 'LDAP'  authentication and run reports against the universe on SAP BW/BEx query without any errors or additional username/password requirements.
    Can someone please tell me if I am missing any steps/configuration and guide me to achieve the above mentioned desired result ?
    Any help in this matter would be greatly appreciated.
    Thanks & regards,
    CD.

    Hi Simone,
    Thank you for the reply.
    Here are the things done by me.
    1. Generated the keystore file and imported it in BI 4.0 CMC on  SAP Authentication Option tab
        ([http://wiki.sdn.sap.com/wiki/display/BOBJ/GeneratekeystoreandcertificateforSAPBO+BI4.0])
        ([http://wiki.sdn.sap.com/wiki/display/BOBJ/SetupofSAPSSOServiceinSAPBOBI4.0+CMC])
    2. Generate the certificate file cert.der and this cert is imported in SAP BW with STRUSTSSO2 transaction.
        ([http://wiki.sdn.sap.com/wiki/display/BOBJ/ImportSAPBOBI4.0certificateintoSAP+BW])
    3. BW Roles/Users have been imported into CMC.
    4. SAP Users and LDAP users are mapped/aliased with each other using the registry key method
        ([http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtomapSAPusersandLDAPusersinSBOBI4.0+CMC])
    I haven't explicitly configured STS (Security token service) as STS is a part of Adaptive processing server (APS) and I have verified that by going to servers in CMC and then to analysis services.
    I have searched for SAP OSS notes related to my issue but couldn't find any note related to SAP BW SSO with Business objects 4.0. Most of the notes are relevant for BO XI 3.1 environments.
    Thanks & regards,
    CD.

  • Business Server Page error (BSP)

    Hi everybody.
    I've installed the Partfolio Management Businnes package, but when I try to use it I have the following error
        Business Server Page error (BSP)
    BSP exception: URL /webdynpro/dispatcher/sap.com/xappscprxrpmui~navigatr/NavigationProxy;jsessionid=(J2EE6375900)ID1437280550DB01043739459538015867End denied
    Thanks
    Alex

    Hi Alex,
    Even we are facing similar kind of issue so kindly provide me solution.
    The error we encounter :
    https://URL/webdynpro/dispatcher/sap.com/xappscprzrpmui~navigatr/NavigationProxy;jsessionid=(J2EE76150300)ID2002463950DB11213908491686403207End will run with a wrong client window ID!
    Do not continue; please report this problem to your administration.
    Suggest me in this issue.
    Best Regards
    DV

  • CL_GUI_FRONTEND_SERVICES + BSP = Exception condition "NOT_SUPPORTED_BY_GUI"

    Hi,
    My problem is: I am designing a BSP. Here, I call to a function, and within the function, I call methods of class CL_GUI_FRONTEND_SERVICES.
    The error that appears is: “Error message: Exception condition “NOT_SUPPORTED_BY_GUI” raised. (type of termination: RABAX_STATE)” Somebody knows because it appears east error, and as I can solve it.
    Thanks.

    The CL_GUI_xxx Classes are proxies to the SAP GUI and require the same. So any of the mentioned methods is not available. But the BSP forum would fit better for this query.
    Business Server Pages (BSP)
    Regards
      Klaus
    /people/thomas.jung3/blog/2005/01/13/bsp-utility-classes
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7a13f367-0401-0010-47ba-eab0b15cf31c

  • Error in SOAP channel in SAP PI 7.31

    Hey Experts,
    We have a scenario in which we send IDOCs to our Business Partners via a SOAP channel. It is an asynchronous scenario. However, we are getting the following error:
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.security.lib.exception.SecurityException: SecurityException in method: apply( Message, CPALookupObject ). Message: SecurityException in method: apply( Message, CPALookupObject ). WSSEThread-Exception: SecurityException in method: run(). Message: [com.sap.ASJ.wssec.030153] Error during the processing of the encryption element. Error was: org.w3c.dom.DOMException HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. .. To-String: com.sap.security.core.policy.exceptions.ProcessException: [com.sap.ASJ.wssec.030153] Error during the processing of the encryption element. Error was: org.w3c.dom.DOMException HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. .. Key: 0153; To-String: com.sap.aii.security.lib.exception.SecurityException: SecurityException in method: run(). Message: [com.sap.ASJ.wssec.030153] Error during the processing of the encryption element. Error was: org.w3c.dom.DOMException HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. .. To-String: com.sap.security.core.policy.exceptions.ProcessException: [com.sap.ASJ.wssec.030153] Error during the processing of the encryption element. Error was: org.w3c.dom.DOMException HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. .. Key: 0153. To-String: com.sap.aii.security.lib.exception.SecurityException: SecurityException in method: apply( Message, CPALookupObject ). WSSEThread-Exception: SecurityException in method: run(). Message: [com.sap.ASJ.wssec.030153] Error during the processing of the encryption element. Error was: org.w3c.dom.DOMException HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. .. To-String: com.sap.security.core.policy.exceptions.ProcessException: [com.sap.ASJ.wssec.030153] Error during the processing of the encryption element. Error was: org.w3c.dom.DOMException HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. .. Key: 0153; To-String: com.sap.aii.security.lib.exception.SecurityException: SecurityException in method: run(). Message: [com.sap.ASJ.wssec.030153] Error during the processing of the encryption element. Error was: org.w3c.dom.DOMException HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. .. To-String: com.sap.security.core.policy.exceptions.ProcessException: [com.sap.ASJ.wssec.030153] Error during the processing of the encryption element. Error was: org.w3c.dom.DOMException HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. .. Key: 0153
    If anyone has some information or views to share on this, kindly do so. I have attached a screenshot for your reference.
    Regards,
    Pritish

    Hi Jens,
    Thank you very much for your prompt reply to my post. We did go through the note and since we are on Patch 11, we are not sure exactly how relevant it is to us.
    However, I would be much obliged if you could clear up one thing. We are using an SOAP adapter to send IDOCs, and the note that you have advocated pertains to an IDOC adapter.
    Will the note still be able to help?
    Regards,
    Pritish

  • Runtime Error DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB

    Hi,
    i need some guides to solve this problem.
    The program works fine in client DEV. However, when it's in QAS, we encounter  short dump: Runtime Error DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB
    info from short dump:
    An SQL error occurred when accessing a table.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "FILL_T_DATA_TABLE" "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    How to correct the error
    The exception must either be prevented, caught within the procedure
    "FILL_T_DATA_TABLE"
    "(FORM)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    Database error text........: "ORA-24371: data would not fit in current prefe
    buffer"
    Internal call code.........: "[RSQL/FTCH/VBUK ]"
    Please check the entries in the system log (Transaction SM21).
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC
    "ZSDR_SHIPPING_REPORT" or "ZSDR_SHIPPING_REPORT"
    "FILL_T_DATA_TABLE"
    If you cannot solve the problem yourself, please send the...
    Information on where terminated
    The termination occurred in the ABAP program "ZSDR_SHIPPING_REPORT" in
    "FILL_T_DATA_TABLE".
    The main program was "ZSDR_SHIPPING_REPORT ".
    The termination occurred in line 3561 of the source code of the (Include)
    program "ZSDR_SHIPPING_REPORT"
    of the source code of program "ZSDR_SHIPPING_REPORT" (when calling the editor
    35610).
    Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
    the
    procedure "FILL_T_DATA_TABLE" "(FORM)" but was not handled locally, not
    declared in the
    RAISING clause of the procedure.
    The procedure is in the program "ZSDR_SHIPPING_REPORT ". Its source code starts
    in line 3468
    of the (Include) program "ZSDR_SHIPPING_REPORT ".
    source code:
    035490
    035500   *get all open sales orders (those that are deemed open at the Sales
    035510   *Order "Header" level)
    035520     clear open_orders.
    035530     refresh open_orders.
    035540     select * into corresponding fields of table open_orders
    035550       from vbuk
    035560       where ( vbtyp = 'C' or vbtyp = 'I' )
    035570         and ( gbstk = 'A' or gbstk = 'B' ).
    035580
    035590   *get all open deliveries(some sales orders may be closed yet the
    035600   *associated Delivery is not yet PGI'd)
         >     clear open_deliveries.
    035620     refresh open_deliveries.
    035630     select * into corresponding fields of table open_deliveries
    035640       from vbuk
    035650       where vbtyp = 'J'
    035660         and ( wbstk = 'A' or wbstk = 'B' ).
    035670
    035680   *get sales orders associated with the Open deliveries
    Please advice.
    Thanks.

    Thanks for the response.
    Hi Renga,
    The error happens in second selection.
    this is the souce code:
    data: begin of open_orders occurs 0,
            vbeln like vbuk-vbeln,
            gbstk like vbuk-gbstk,
            vbtyp like vbuk-vbtyp,
          end of open_orders.
    data: begin of open_deliveries occurs 0,
            vbeln like vbuk-vbeln,
            wbstk like vbuk-wbstk,
            vbtyp like vbuk-vbtyp,
          end of open_deliveries.
    *get all open sales orders (those that are deemed open at the Sales
    *Order "Header" level)
      clear open_orders.
      refresh open_orders.
      select * into corresponding fields of table open_orders
        from vbuk
        where ( vbtyp = 'C' or vbtyp = 'I' )
          and ( gbstk = 'A' or gbstk = 'B' ).
    *get all open deliveries(some sales orders may be closed yet the
    *associated Delivery is not yet PGI'd)
      clear open_deliveries.
      refresh open_deliveries.
      select * into corresponding fields of table open_deliveries
        from vbuk
        where vbtyp = 'J'
          and ( wbstk = 'A' or wbstk = 'B' ).
    Hi Prabhu,
    how to identify the problem in DB02?
    Please advice.
    Thanks.
    regards.

  • Runtime error - DBIF_RSQL_INVALID_RSQL, Exception - CX_SY_OPEN_SQL_DB

    Hi,
    Following code is working fine in Development system and in Production system I am getting a runtime error. Only difference I am finding is in r_lifnr value. In development system I have few lifnr and in Production system it's not so... am I getting error because of it? Is there any restriction to no. of items populated in a range? Or Basis person need to change any parameter? Enclosed the detail dump below the code...
    Advance thanks.
    Regards,
    Balaji Viswanath.
    Code:
      SELECT bukrs
             lifnr
             augdt
             augbl
             zuonr
             gjahr
             belnr
             buzei
             waers
             dmbtr
             wrbtr
             zlsch
             shkzg
             blart
             gsber
             sgtxt
      INTO TABLE t_bsak_tmp
      FROM bsak CLIENT SPECIFIED
      WHERE mandt = sy-mandt AND
            lifnr IN r_lifnr AND
            bukrs IN s_bukrs AND
            augdt IN s_augdt AND
            blart IN s_blart.
      IF sy-subrc <> 0.
      No data found for selection criteria
        MESSAGE i018.
        LEAVE LIST-PROCESSING.
      ENDIF.
    Dump:
    Runtime Errors         DBIF_RSQL_INVALID_RSQL
    Exception              CX_SY_OPEN_SQL_DB
           Occurred on     14.11.2005 at 14:35:22
    Error in the module RSQL accessing the database interface.
    What happened?
    Error in ABAP application program.
    The current ABAP program "/DS1/FI_CR_REPT_PGSR802_VEND_P" had to be terminated
    because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "GET_CLRD_VEN_DATA" "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    The SQL statement generated from the SAP Open SQL Statement violates a
    restriction imposed by the database system used in R/3.
    Possible errors:
    o The maximum size of an SQL statement has been exceeded.
    o The statement contains too many input variables.
    o The space needed for the input data exceeds the available memory.
    o ...
    You can usually find details in the system log (SM21) and in the
    developer trace of the work process (ST11).
    If an error occurs the developer trace often informs you about the
    current restrictions.
    How to correct the error
    The exception must either be prevented, caught within the procedure
    "GET_CLRD_VEN_DATA"
    "(FORM)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    The SAP Open SQL statement must be divided into several smaller units.
    If the problem occurred due to the use of an excessively large table
    in an IN itab construct, you can use the addition FOR ALL ENTRIES
    instead.
    When you use this addition, the statement is split into smaller units
    according to the restrictions of the database system used.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "DBIF_RSQL_INVALID_RSQL" CX_SY_OPEN_SQL_DBC
    "/DS1/FI_CR_REPT_PGSR802_VEND_P" or "/DS1/FI_CR_REPT_PGSR802_VEND_P"
    "GET_CLRD_VEN_DATA"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    System environment
    SAP Release.............. "620"
    Application server....... "ztm1003"
    Network address.......... "145.26.160.103"
    Operating system......... "AIX"
    Release.................. "5.3"
    Hardware type............ "00C004DC4C00"
    Character length......... 16 Bits
    Pointer length........... 64 Bits
    Work process number...... 6
    Short dump setting....... "full"
    Database server.......... "ztm1003"
    Database type............ "ORACLE"
    Database name............ "A94"
    Database owner........... "SAPR3K"
    Character set............ "C"
    SAP kernel............... "640"
    Created on............... "Aug 7 2005 20:44:35"
    Created in............... "AIX 1 5 00538A4A4C00"
    Database version......... "OCI_920 "
    Patch level.............. "85"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE
    10.1.0.."
    SAP database version..... "640"
    Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"
    User, transaction...
    Client.............. 110
    User................ "INBVI0"
    Language key........ "E"
    Transaction......... "SE38 "
    Program............. "/DS1/FI_CR_REPT_PGSR802_VEND_P"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where terminated
    The termination occurred in the ABAP program "/DS1/FI_CR_REPT_PGSR802_VEND_P"
    in "GET_CLRD_VEN_DATA".
    The main program was "/DS1/FI_CR_REPT_PGSR802_VEND_P ".
    The termination occurred in line 503 of the source code of the (Include)
    program "/DS1/FI_CR_REPT_PGSR802_VEND_P"
    of the source code of program "/DS1/FI_CR_REPT_PGSR802_VEND_P" (when calling
    the editor 5030).
    Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
    the
    procedure "GET_CLRD_VEN_DATA" "(FORM)" but was not handled locally, not
    declared in the
    RAISING clause of the procedure.
    The procedure is in the program "/DS1/FI_CR_REPT_PGSR802_VEND_P ". Its source
    code starts in line 501
    of the (Include) program "/DS1/FI_CR_REPT_PGSR802_VEND_P ".
    Source code extract
    004730   &----
    004740   *       get country names from t005t
    004750   ----
    004760   FORM get_country_names.
    004770
    004780     t_lfa1_land[] = t_lfa1[].
    004790     SORT t_lfa1_land BY land1.
    004800     DELETE ADJACENT DUPLICATES FROM t_lfa1_land COMPARING land1.
    004810
    004820     IF NOT t_lfa1_land[] IS INITIAL.
    004830       SELECT land1
    004840              landx
    004850       INTO TABLE t_t005t
    004860       FROM t005t
    004870       FOR ALL ENTRIES IN t_lfa1_land
    004880       WHERE spras = sy-langu AND
    004890             land1 = t_lfa1_land-land1.
    004900       REFRESH t_lfa1_land.
    004910       SORT t_t005t BY land1.
    004920     ELSE.
    004930       MESSAGE i014 WITH 'No vendor data fetched'(001).
    004940     ENDIF.
    004950   ENDFORM.                    " get_country_names
    004960   &----
    004970   *&      Form  get_clrd_ven_data
    004980   &----
    004990   *       Cleared vendor data
    005000   ----
    005010   FORM get_clrd_ven_data .
    005020
    >     SELECT bukrs
    005040            lifnr
    005050            augdt
    005060            augbl
    005070            zuonr
    005080            gjahr
    005090            belnr
    005100            buzei
    005110            waers
    005120            dmbtr
    005130            wrbtr
    005140            zlsch
    005150            shkzg
    005160            blart
    005170            gsber
    005180            sgtxt
    005190     INTO TABLE t_bsak_tmp
    005200     FROM bsak CLIENT SPECIFIED
    005210   * the order of the fields are as in the secondary Index.
    005220     WHERE mandt = sy-mandt AND
    Contents of system fields
    SY field contents..................... SY field contents.....................
    SY-SUBRC 0                             SY-INDEX 0
    SY-TABIX 1                             SY-DBCNT 59
    SY-FDPOS 0                             SY-LSIND 0
    SY-PAGNO 0                             SY-LINNO 1
    SY-COLNO 1                             SY-PFKEY
    SY-UCOMM
    SY-TITLE Vendor Payment  Details for IRD
    SY-MSGTY I                             SY-MSGID SF
    SY-MSGNO 616                           SY-MSGV1 /DS1/FI_CR_REPT_PGSR802_VEND_P
    SY-MSGV2 RE                            SY-MSGV3 EN
    SY-MSGV4
    Active calls / events
    No.... Type........ Name..........................
           Program
           Include                                  Line
           Class
         2 FORM         GET_CLRD_VEN_DATA
           /DS1/FI_CR_REPT_PGSR802_VEND_P
           /DS1/FI_CR_REPT_PGSR802_VEND_P             503
         1 EVENT        START-OF-SELECTION
           /DS1/FI_CR_REPT_PGSR802_VEND_P
           /DS1/FI_CR_REPT_PGSR802_VEND_P             135

    Hi Balaji,
    Here is what the dump said and my answers are right below them.
    <i>Possible errors:</i>
    o The maximum size of an SQL statement has been exceeded.</i>
    This may not be the reason in your case. This usually happens when you use the option FOR ALL ENTRIES
    <i>o The statement contains too many input variables.</i>
    Most likely this is your issue. I think your r_lifnr is filled with all the vendors in your system and filled as single values. In that case you may be exceeding a limit set on the system. Instead of trying to remove this setting, what I would suggest is to do the following.
    Define a select-option for LIFNR on your selection screen. This way users can have the flexibility of specifying certain vendors. If they don't enter anything, it is still ok. Don't fill it with single values.
    Use this select-option in your select statement. After the select statement, do a delete from itab where the vendors are not in your r_lifnr as below.
    DELETE t_bsak_tmp WHERE NOT lifnr IN r_lifnr.
    Also, avoid using client. You don't need that unless you really want to select from a different client other than your logon client. Your select statement is using logon client anyway, so you don't need to specify that.
    <i>o The space needed for the input data exceeds the available memory.</i>
    If the above changes are made and the problem is still there, then this is the next thing to look at.
    Srinivas

Maybe you are looking for

  • Planning file entry for MRP Area

    Hi, To create planning file entry in the background at plant level we use Transaction MDAB. I would like to know that if MRP area is active than whats the T-code for planning file entry in the background at mrp area level?? To create manualy in the T

  • Songs not playing, few second import

    hey guys! wandered if someone could help me? I tried importing songs from a cd (original, just brought) and when i try and import it, only a few seconds of the song gets imported to my library? If I try and drag the songs to my ipod in itunes a messa

  • Xorg.conf is deleted. When computer boots output is too small to read

    I was experienceing another error with xorg and noticed that my xorg.conf wasnt configured fully so I was going to go and reconfigure it.  Long story short, I have deleted my xorg.conf and need to regen a new one.  Problem: My output is to small to r

  • Web Expense Reports

    Hi everybody, I4m working with Oracle AP release 11. My problem is that I need to set up all the steps using Oracle Self Service Web Expense Reports. I4m facing the next error submiting exp reports AP Standard Expense Report Process ended in Error I4

  • Planned delivery cost payed before GR

    Hi all experts, We are analyzing to use transportation for planned delivery costs and freight. We will have multiple legs (steps) in a route and let's say that the end to end transport will take approximately 30 days to complete but we would like to