Protocal error
hi ,
i have a database on windows machine. yesterday i faced a error sating maximum processes execcd.
i increased my processers limit from 150 to 450.After that i did not face that error.
from today morning i am facing error ora-12560-protocal adaptar error.it is connecting for some time and after some time again the error is getting repeated.
i am unable to know the reason. i made my sql*net trace on .but from taht i am not able to knoe any thing.
how can i get rid of this problem
my database details are provided below.
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
regards,
kishore.
HI,
so many connections are being established for user sysman.and the program in v$session is oms.i am not understanding the reason.
can anyone suggest me.
the out put for my query is given below.
1* SELECT USERNAME,TERMINAL,PROGRAM FROM V$SESSION WHERE USERNAME='SYSMAN'
SQL> /
USERNAME TERMINAL PROGRAM
SYSMAN OMS
SYSMAN OMS
SYSMAN OMS
SYSMAN OMS
SYSMAN OMS
SYSMAN OMS
SYSMAN OMS
SYSMAN OMS
SYSMAN OMS
SYSMAN OMS
regards,
kishore.
Similar Messages
-
9.0.1: select on dba_users as sys gives ORA-03106
Hi,
Select username from dba_users logged as sys gives
ORA-03106: fatal two-task communication protocal error.
Install done from zipped OTN files, server 9.0.1, OS Linux SuSe 7.2. Character set UTF8. Is UTF8 incompatible with 9i?
Any treatment ideas are greatly appreciated.
Thanks
Anatoliy Smirnovresolved
thanks -
Oracle 10g installation on xp sp2....plzzzzzzzzzzzz anyone help me
hi ....
im trying to install oracle 10g on my system(hp dv6231 eu, 1.56ghz,980mb ram 80gb hard disk) i installed xp came with vista.
when i try to install oracle , after clicking run exe....first page displays in that the option is disabled(basic installation or advanced installation). after giving password wn i click next ....thats it screen disappeared.
so i booted in safe mode with networking...... in this case different.. in first page the basic and advanced installation is enabled. so i selected basic installation and filled password.
installation started , gave me one warning abt networking parameters. i skiped that one . it went to smooth untill database creation.
in that im getting error...ORA-12560.--TNS PROTOCAL ERROR.
thats it my oracle installation over.. i been trying for last one week. i cant able to suceed . i formated my system 3 times. even i tryed with loop back adapter .
could any help me onthis plzzzzzzzzzzzzzzzzzzzz
thanking youIf you install this locally in your machine, you can try to delete the file with hosts name to resolve the error ORA-12560.
This file is located in C:\Windows\System32\Drivers.
Best Regards
Douglas Paiva -
10g express, how to change port number for the database home page
10g express uses port 8080 for its http listener. However this number has been used by Tomcat on my computer. How can I chang the port number for the 10g home page?
Regards
jlAndy, thank you very much, I have been able to changed the port number following your advice.
I hope you do not mind I ask a further questions along this line:
I installed 10 express db on 2 computers. One with Tomcat and the other without. Following your advice, I successfully changed the port number on the one without Tomcat.
On the one with Tomcat, I believe it was because I installed the 10g express while the Tomcat was running, I can neither go to the 10g's home page (page cannot be displyed), nor logon to the database from sqlplus (ora-12560: TNS:protocal error) even after I shut down the Tomcat. By checking with 'netstat -an', it is known that the http listerner is not listerning.
Can I change some configuration file to solve this problem? Or do I have to reinstall 10 ex? I prefer the 1st aproach of changing config file, even it is not as easy as reinstallation.
Thanks
jl -
hi ,
i have my database on windows server2003, and my database version is
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
my problem is that when i am connecting from sql*plus from remote machine it is connecting fine some times and i am getting error ora-12560 tns protocal adapter error sometimes.But when i make tnsping it is showing fine.i am not understanding the reason.
can anyone suggest me.
regards,
kishorePl enable SQL*Net client tracing as identified in MOS Doc 395525.1 (How to Enable Oracle SQLNet Client , Server , Listener , Kerberos and External procedure Tracing from Net Manager) to see if more details can be collected about the error.
MOS Doc 793526.1 (Intermittent TNS-12560 Error Connecting From Remote Windows Client) may also help.
HTH
Srini -
HAI....AM USING WINDOWS OS...RECENTLY I USED TO INSTALL ORACLE 11G IN MY PC...ITS IS INSTALLED SUCCESSFULLY BUT WHILE CONNECTING...AM GETTING ERROR LIKE THIS....
SQL*PLUS:RELEASE 11.2.0.1.0 PRODUCTION ON THU DEC 12 11`:48:28 2013
COPYRIGHT <C> 1982,2010,ORACLE .ALL RIGHTS RESERVED.
ENTER ESER NAME:SCOTT
ENTER PASSWORD:
ERROR:
ORA-12560: TNS :PROTOCAL ADAPTER ERROR
ENTER USER-NAME:
HOW TO HANDLE IT....??PLEASE HELP MEHi,
Please try following command:
C:\Users\a000364>echo %ORACLE_SID%
%ORACLE_SID%
C:\Users\a000364>set ORACLE_SID=ORCL
C:\Users\a000364>echo %ORACLE_SID%
ORCL
C:\Users\a000364>sqlplus / as sysdba;
SQL*Plus: Release 10.1.0.5.0 - Production on Thu Dec 12 10:57:24 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select name from v$database;
NAME
ORCL
Thank you -
ORA-12560 :TNS protocal adapter error
Hi everyone,
I'm using Oracle 11g Enterprise Edition Server in Windows 8.1. I'm getting the TNS protocal adapter error. My service is not up(I checked in the services using services.msc).
Until Yesterday It worked well for me, I got this error after I updated from Windows 8 to Windows 8.1.
Here is my tnsnames.ora file data,
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Andrew)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
Here is my listener.ora file data,
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = Andrew)(PORT = 1521))
I have tried this to start the server, It throws the following error.
F:\app\alex\product\11.1.0\db_1\NETWORK\ADMIN>lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-JAN-2014 22:42
:32
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
Please guide me how to resolve this issue.
Regards,
FelixThanks for all your reply, I thought whether It was my fault and I tried a lot of commands which I found in this Oracle Forum for more than 3hours, just now I found a link(The problem is because when I moved Windows 8 to 8.1), I found this link fortunately.
Re: Windows 8.1 upgrade: All Oracle DB services are deleted!
Regards,
Felix -
Getting error while connect ucm through JAX-WS protocal
HI All ,
please help me to come out form this problem.
I have written the following code in my servlet and when I am trying to call the servlet I am getting following error.
I tried to access 'http://localhost:16200/cs/idcnativews/IdcWebRequestPort?WSDL' urs but I am unable to access it through browser.
Even I went to weblogic console deployment where these webservicess are deployed in mystem when tired to chage the ws plocy for ws I am getting messeg like*This page lists the policy files that are attached to the endpoints and operations of this Web service. The operations are listed below the endpoint; click on the + sign to view them. Click on the endpoint or operation name to attach a policy file. For example, you can specify that the policy file applies only for inbound (request) SOAP messages, and so on.*
You must start the Web Service to be able to view its associated WS-Policy file.
my servlet code is :+
// create the manager
IdcClientManager manager = new IdcClientManager();
// build a client that will communicate using the JAXWS protocol
JaxWSClient jaxwsClient = (JaxWSClient)manager.createClient("http://localhost:16200/cs/idcnativews");
JaxWSClientConfig jaxwsConfig = jaxwsClient.getConfig();
/// set the property
jaxwsConfig.setServerInstanceName("http://localhost:16200/cs/");
jaxwsConfig.setJpsConfigFile("config/fmwconfig/jps-config.xml");
IdcContext userContext = new IdcContext("weblogic");
// create an identity with a password
IdcContext userPasswordContext = new IdcContext("weblogic", "Accenture123");
// get the binder
DataBinder serverBinder = jaxwsClient.createBinder();
// populate the binder with the parameters
serverBinder.putLocal ("IdcService", "GET_SEARCH_RESULTS");
serverBinder.putLocal ("QueryText", "");
serverBinder.putLocal ("ResultCount", "20");
// execute the request
ServiceResponse cmsResponse = jaxwsClient.sendRequest(userContext, serverBinder);
// get the binder
serverBinder = cmsResponse.getResponseAsBinder();
DataResultSet resultSet = serverBinder.getResultSet ("SearchResults");
**Erorr:**
<Dec 29, 2010 10:46:22 AM IST> <Error> <Default> <BEA-000000> <Error while readi
ng from WSDL
java.io.FileNotFoundException: Response: '404: Not Found' for url: 'http://local
host:16200/cs/idcnativews/IdcWebRequestPort?WSDL'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
java:474)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLCon
nection.java:37)
at java.net.URL.openStream(URL.java:1010)
at oracle.stellent.ridc.protocol.jaxws.JaxWSClient.initialize(JaxWSClien
t.java:68)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:135)
at com.nbn.ucm.poc.ConnectingToUCM.doPost(ConnectingToUCM.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
java.lang.IllegalArgumentException: local part cannot be "null" when creating a
QName
at javax.xml.namespace.QName.<init>(QName.java:246)
at javax.xml.namespace.QName.<init>(QName.java:190)
at oracle.stellent.ridc.protocol.jaxws.JaxWSProtocol.authenticateUser(Ja
xWSProtocol.java:189)
at oracle.stellent.ridc.protocol.jaxws.JaxWSProtocol.writeRequest(JaxWSP
rotocol.java:106)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:149)
at com.nbn.ucm.poc.ConnectingToUCM.doPost(ConnectingToUCM.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Thanks in advance,
KishoreThe Site Studio designer that you are using to connect to content sever is not compatible with the SiteStudio component that you have installed.
Install the designer that is inside the site studio component zip and try.
regards,
deepak -
TNS-12560 TNS:protocal adapter error
Hi,
I installed vmware 5.5.3 in my desktop and installed RHEL 4 and Oracle 10.2.0.1 on RHEL 4.Created a database and is working fine.But when I tried to start the listener ,i'm getting the following error and the listener did not start.
TNS-12537: TNS: connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error:29:Illegal seek
I searched for this error in our forums ,but could not find the exact resolution .
I felt Dale's answer in the below old post is little relevant but I could not understand the exact change that is to be done.
TNS-12560: TNS:protocol adapter error
can somebody please help me how to resolve this error...
Regards,
Bharath.bharathDBA wrote:
Hi,
I installed vmware 5.5.3 in my desktop and installed RHEL 4 and Oracle 10.2.0.1 on RHEL 4.Created a database and is working fine.But when I tried to start the listener ,i'm getting the following error and the listener did not start.
TNS-12537: TNS: connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error:29:Illegal seek
I searched for this error in our forums ,but could not find the exact resolution .
I felt Dale's answer in the below old post is little relevant but I could not understand the exact change that is to be done.
TNS-12560: TNS:protocol adapter error
can somebody please help me how to resolve this error...
Regards,
Bharath.TNS-12560 is symptomatic of OS/Networking mis-configuration
Oracle is the victim; not the culprit.
Both problem & fix are external to Oracle RDBMS -
It also said I need to load software to allow it to play the netflix movies. What do I need to do.
Please update to Firefox 21 [[Update Firefox to the latest version]]
You most likely need to install Silverlight (Click the Silverlight Plugin) http://www.microsoft.com/silverlight/ -
Receiver Proxy (SOAP) adpater Error in SAP PI 7.1
Hi Experts
I am working on a File to Proxy Scenario, where I am getting the data frm File is absolutely fine and while sending to Proxy I am getting the following error in proxy CC
I have defined a Proxy CC on the recievr side I used adapter type as SOAP
Transport Protocal :HTTP
Message protocal XI3.0
Adapter ENgine : Central Adapter Engine
I gave the connection parameters (Target URL)
Authentication Code: USE Logon data for SAP
User ID & Pwd
I checked the RFC connections on PI side on SM59 and did test run, It looks good
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized
Please give an idea how to resolve this issue
Thanks
PRAre you using SSL? If yes, please ensure evrything from help page below has been applied
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/9ab5d73e6d062be10000000a42189d/content.htm
- Please check the SOAP FAQ note under question "Q: I get an authorization error "401 Unauthorized" from the
adapter's servlet. What went wrong?"
[Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856597]
- Last, try with both users below PIAPPLUSER and PIAFUSER. Should still not work, ensure the role SAP_XI_APPL_SERV_USER has been assigned to currently used user on the destination.
EDIT: Too late for me. -
Editable Alv: ERROR in er_data_changed- display_protocol
I have one fields "Emp_dept" in the record of the ALV Grid which can be edited, but when I edit this field with enter event it will generate a error in display protocal, I want it to save in database , I debuged the program it reflect the in internal table but failed to reflect the in change in data base, as i Just started dveelopment in abap programing i searched the whole web for this problem but couldnot sucessfull please help me in this regarrd
Here is my code:
I am using module pool programing and I am following abap slandered program Bcalv_edit_03.
FUNCTION-POOL Z_EMPLOYEE. "MESSAGE-ID ..
* INCLUDE LZ_EMPLOYEED... " Local class definition
TABLES:ZEMPLOYEE, ZEMP_COMM.
DATA: zemploye TYPE TABLE OF zemployee WITH HEADER LINE,
WA TYPE zemployee .
DATA: ZEMP_COM TYPE TABLE OF ZEMP_COMM WITH HEADER LINE.
DATA : WACOMM TYPE ZEMP_COMM.
DATA: ZEMP_ADR TYPE TABLE OF ZEMP_ADRESS WITH HEADER LINE,
WA_ADR TYPE ZEMP_ADRESS.
DATA: ZEMP_EDU TYPE TABLE OF ZEMP_EDUCATION1 WITH HEADER LINE,
WA_EDU1 TYPE ZEMP_EDUCATION1.
DATA EMPD TYPE ZEMP_ID.
*data empd LIKE zemployee-emp_id.
data: O_DOCKING TYPE REF TO CL_GUI_DOCKING_CONTAINER,
O_GRID TYPE REF TO CL_GUI_ALV_GRID,"Grid
i_selected_rows TYPE lvc_t_row,"Selected Rows
w_selected_rows TYPE lvc_s_row,
WA_LAYOUT TYPE LVC_S_LAYO,
class lcl_event_receiver definition deferred.
data: g_event_receiver type ref to lcl_event_receiver.
types:BEGIN OF i_zemployee ,
emp_id type zemployee-emp_id,
emp_name type zemployee-emp_name,
D_O_BIRTH TYPE ZEMPLOYEE-D_O_BIRTH,
D_o_jOIN TYPE ZEMPLOYEE-D_o_jOIN,
EMP_DEPT TYPE ZEMPLOYEE-EMP_DEPT,
EMP_NO type ZEMP_COMM-EMP_NO,
eemp_id type zemp_comm-emp_id,
EMP_ADRESS TYPE ZEMP_ADRESS-EMP_ADRESS,
EMP_RES_ADDR TYPE ZEMP_ADRESS-EMP_RES_ADDR,
EMP_EDU1 TYPE ZEMP_EDUCATION1-EMP_EDU1,
END OF i_zemployee.
Data:
i_tb type i_zemployee,
emp_itb like table of i_tb.
data:t_fcat TYPE lvc_t_fcat,
wa_fcat TYPE lvc_s_fcat.
DATA:
screen TYPE n LENGTH 4 VALUE 0100,
screen1 TYPE n LENGTH 4 VALUE 0110,
screen2 TYPE n LENGTH 4 VALUE 0120,
screen3 TYPE n LENGTH 4 VALUE 0130,
ok_code LIKE sy-ucomm.
FORM FREE_OBJECTS .
CALL METHOD O_GRID->FREE
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FREE O_GRID.
CALL METHOD O_DOCKING->FREE
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FREE O_DOCKING.
ENDFORM.
form sol using emp_idd .
data l_num(5) type n.
l_num = emp_idd.
* CALL FUNCTION 'NUMBER_GET_NEXT'
* EXPORTING
* nr_range_nr = '01'
* object = 'ZEMP_AUTO'
* IMPORTING
* number = l_num
* EXCEPTIONS
* interval_not_found = 1
* number_range_not_intern = 2
* object_not_found = 3
* quantity_is_0 = 4
* quantity_is_not_1 = 5
* interval_overflow = 6
* buffer_overflow = 7
* OTHERS = 8.
l_num = l_num + 1.
EMP_IDD = L_NUM.
endform.
class lcl_event_receiver definition.
public section.
methods:
handle_data_changed
for event data_changed of cl_gui_alv_grid
importing er_data_changed.
private section.
* This flag is set if any error occured in one of the
* following methods:
data: error_in_data type c.
* Methods to modularize event handler method HANDLE_DATA_CHANGED:
methods: check_planetype
importing
ps_good_planetype type lvc_s_modi
pr_data_changed type ref to cl_alv_changed_data_protocol.
* methods: ch_new_plane_v_new_seatsocc
* importing
* psg_plane type lvc_s_modi
* psg_socc type lvc_s_modi
* ps_saplane type saplane
* pr_data_changed type ref to cl_alv_changed_data_protocol.
* methods: ch_new_plane_v_old_seatsocc
* importing
* psg_plane type lvc_s_modi
* ps_saplane type saplane
* pr_data_changed type ref to cl_alv_changed_data_protocol.
* methods: check_seatsocc
* importing
* ps_good type lvc_s_modi
* pr_data_changed type ref to cl_alv_changed_data_protocol.
* This is a suggestion how you could comment your checks in each method:
* CHECK: fieldname(old/new value) !<comp> fieldname(old/new value)
* IF NOT: (What to tell the user is wrong about the input)
* Remarks:
* fieldname: fieldname of table for the corresponding column
* (old/new value): ckeck with value of GT_OUTTAB or MT_GOOD_CELLS.
* !<comp> : the value is valid if the condition <comp> holds.
* Example:
* CHECK seatsocc(new) !>= seatsmax(old)
* IF NOT: There are not enough number of seats according to this
* planetype.
endclass.
class lcl_event_receiver implementation.
method handle_data_changed.
data: ls_good type lvc_s_modi.
error_in_data = space.
loop at er_data_changed->mt_good_cells into ls_good.
case ls_good-fieldname.
* check if column PLANETYPE of this row was changed
when 'EMP_DEPT'.
call method check_planetype
exporting
ps_good_planetype = ls_good
pr_data_changed = er_data_changed.
endcase.
endloop.
*§7.Display application log if an error has occured.
if error_in_data eq 'X'.
call method er_data_changed->display_protocol. ( Error line) <-------------------------------
endif.
endmethod.
method check_planetype.
data: l_planetype type zemp_dept,
ls_saplane type zemployee,
ls_good_seatsocc type lvc_s_modi.
call method pr_data_changed->get_cell_value
exporting i_row_id = ps_good_planetype-row_id
i_fieldname = ps_good_planetype-fieldname
importing e_value = l_planetype.
MODIFY ZEMPLOYEE FROM TABLE emp_itb.
select single * from zemployee into ls_saplane where
emp_dept = l_planetype.
if sy-subrc ne 0.
call method pr_data_changed->add_protocol_entry
exporting
i_msgid = '0K' i_msgno = '000' i_msgty = 'E'
i_msgv1 = text-m03 "Flugzeugtyp
i_msgv2 = l_planetype
i_msgv3 = text-m05 "exitstiert nicht
i_fieldname = ps_good_planetype-fieldname
i_row_id = ps_good_planetype-row_id.
error_in_data = 'X'.
exit. "plane does not exit, so we're finished here!
endif.
endmethod.
endclass.
**********************************************Module output****************
MODULE STATUS_0120 OUTPUT.
SET PF-STATUS 'START'.
SET TITLEBAR 'STARTT'.
IF O_DOCKING IS INITIAL.
* Creating Docking Container
data: lt_exclude type ui_functions.
CREATE OBJECT O_DOCKING
EXPORTING
RATIO = '95'.
IF SY-SUBRC EQ 0.
* Creating Grid
CREATE OBJECT O_GRID
EXPORTING
I_PARENT = O_DOCKING.
ENDIF.
endif.
* Filling the fieldcatalog table
* CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
* EXPORTING
* I_STRUCTURE_NAME = 'i_tb'
* CHANGING
* CT_FIELDCAT = t_fcat
* EXCEPTIONS
* INCONSISTENT_INTERFACE = 1
* PROGRAM_ERROR = 2
* OTHERS = 3.
WA_LAYOUT-GRID_TITLE = 'EMPLOYEE TABLE DETAILS'.
WA_LAYOUT-ZEBRA = 'X'.
WA_LAYOUT-EDIT = 'X'.
IF T_FCAT is initial.
* wa_fcat-fieldname = 'EMP_ID'.
* wa_fcat-ref_table = 'ZEMPLOYEE'.
* wa_fcat-ref_field = 'EMP_ID'.
* wa_fcat-col_pos = 2.
* APPEND wa_fcat TO t_fcat.
* CLEAR wa_fcat.
wa_fcat-fieldname = 'EMP_NAME'.
wa_fcat-ref_table = 'ZEMPLOYEE'.
wa_fcat-ref_field = 'EMP_NAME'.
wa_fcat-col_pos = 3.
APPEND wa_fcat TO t_fcat.
CLEAR wa_fcat.
wa_fcat-fieldname = 'EMP_DEPT'.
wa_fcat-ref_table = 'ZEMPLOYEE'.
wa_fcat-ref_field = 'EMP_DEPT'.
wa_fcat-col_pos = 4.
APPEND wa_fcat TO t_fcat.
CLEAR wa_fcat.
wa_fcat-fieldname = 'D_O_BIRTH'.
wa_fcat-ref_table = 'ZEMPLOYEE'.
wa_fcat-ref_field = 'D_O_BIRTH'.
wa_fcat-col_pos = 5.
APPEND wa_fcat TO t_fcat.
CLEAR wa_fcat.
wa_fcat-fieldname = 'D_O_JOIN'.
wa_fcat-ref_table = 'ZEMPLOYEE'.
wa_fcat-ref_field = 'D_O_JOIN'.
wa_fcat-col_pos = 6.
APPEND wa_fcat TO t_fcat.
CLEAR wa_fcat.
wa_fcat-fieldname = 'EMP_NO'.
wa_fcat-ref_table = 'ZEMP_COMM'.
wa_fcat-ref_field = 'EMP_NO'.
wa_fcat-col_pos = 7.
APPEND wa_fcat TO t_fcat.
CLEAR wa_fcat.
wa_fcat-fieldname = 'EMP_ADRESS'.
wa_fcat-ref_table = 'ZEMP_ADRESS'.
wa_fcat-ref_field = 'EMP_ADRESS'.
wa_fcat-col_pos = 7.
APPEND wa_fcat TO t_fcat.
CLEAR wa_fcat.
wa_fcat-fieldname = 'EMP_RES_ADDR'.
wa_fcat-ref_table = 'ZEMP_ADRESS'.
wa_fcat-ref_field = 'EMP_RES_ADDR'.
wa_fcat-col_pos = 8.
APPEND wa_fcat TO t_fcat.
CLEAR wa_fcat.
wa_fcat-fieldname = 'EMP_EDU1'.
wa_fcat-ref_table = 'ZEMP_EDUCATION1'.
wa_fcat-ref_field = 'EMP_EDU1'.
wa_fcat-col_pos = 9.
APPEND wa_fcat TO t_fcat.
CLEAR wa_fcat.
ENDIF.
* CALL METHOD o_grid->register_edit_event
* EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified.
* W_VARIANT-REPORT = SY-REPID.
* Displaying the output
CALL METHOD O_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
* IS_VARIANT = VARIANT
I_SAVE = 'A'
I_STRUCTURE_NAME = 'i_tb'
IS_LAYOUT = WA_LAYOUT
it_toolbar_excluding = lt_exclude
CHANGING
IT_OUTTAB = emp_itb
IT_FIELDCATALOG = t_fcat
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*call method cl_gui_control=>set_focus exporting control = O_GRID.
* call method cl_gui_cfw=>flush.
CALL METHOD o_grid->set_ready_for_input
EXPORTING
I_READY_FOR_INPUT = 1.
CALL METHOD O_GRID->REGISTER_EDIT_EVENT
EXPORTING
I_EVENT_ID = CL_GUI_ALV_GRID=>mc_evt_enter.
* EXCEPTIONS
* ERROR = 1
* OTHERS = 2.
**** UPDATE zemployee FROM TABLE emp_itb.
create object g_event_receiver.
set handler g_event_receiver->handle_data_changed for o_grid.
* IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
* ENDIF.
ENDMODULE. " STATUS_0120 OUTPUT
*& Module USER_COMMAND_0120 INPUT
* text
MODULE USER_COMMAND_0120 INPUT.
DATA LV_UCOMM TYPE SY-UCOMM.
* data: ok_code like sy-ucomm .
LV_UCOMM = SY-UCOMM.
CASE LV_UCOMM.
WHEN 'CANCEL' OR 'EXIT'.
PERFORM FREE_OBJECTS.
LEAVE PROGRAM.
WHEN 'BACK'.
CALL METHOD o_grid->set_frontend_fieldcatalog
EXPORTING
it_fieldcatalog = t_fcat[].
if o_grid is not initial.
CALL METHOD o_grid->refresh_table_display
EXCEPTIONS
finished = 1
OTHERS = 2.
endif.
PERFORM FREE_OBJECTS.
CALL SCREEN 110.
* SET SCREEN '0'.
* LEAVE SCREEN.
ENDCASE.
ENDMODULE.
Please help me to solve this porblem..Hi suhas,
my issue is not the lack of data .....
my issue is about the error handling in data_changed event in alv oops application....am able to display the error log using display_protocol method..,.. but after displaying the error log am still able to save the changes which should not happen....the thing is we should not be able to save the changes...... am having the same issue as the following thread
Re: CL_ALV_CHANGED_DATA_PROTOCOL - Protocol Popup is not modal
if u still require any clarifications...pls let me know ur mail-id ill post my code to u ..
thanks
suresh -
NWDS - Error deploying .par file to portal (EP 7)
I am unable to deploy a par file to our portal (EP7 SP12) using NWDS (7.0.06).
I can use the Administration Console to upload par files, but when using the deployment option in NWDS it gives me the following error message:
Operation failed: Please make sure the server 'ALIAS' (SERVER:PORT) is running or check the log (sap-plugin.log) for more detail.
My user id has the "super_admin_role", the "ContentManager" role, and the "Administrator" role assigned.
The log file shows that the upload is getting an HTML 401 error (Unauthorized), but if I paste the link below into my web browser, it takes me to the file upload page.
sap-plugin.log
[04.02.08 / 15:13] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
java.io.IOException: Server returned HTTP response code: 401 for URL: http://SERVER:PORT/irj/servlet/prt/portal/prteventname/upload/prtroot/com.sap.portal.runtime.system.console.ArchiveUploader?login_submit=on&j_user=***********&j_password=********&j_authscheme=default&uidPasswordLogon=Log%20on
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:814)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:361)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:433)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:220)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:404)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:338)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:519)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:112)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)Dhruv...
Thanks for your response. I checked the settings for the Server Message Port. I have the default values enabled. "SAP J2EE engine is installed on remote host" is selected with "Message Server Host" set to "localhost" and the "Message Server Port" set to 3601.
When I change the Message Server Port to 3901, I get an additional error regarding HTTPS protocal not being supported. When I change the proxy settings, I still get the same error message that I was receiving before.
I have verified that my account is not locked, and I have already re-installed NWDS twice, which did not fix the problem.
Thanks...
Bill -
PROXY to SOAP ; HTTP403 error in PI 7.1
Hi team,
it was proxy to HTTP scenario. Receiver : webportal . We have chnged it to Proxy to SOAP ,due to HTTP does not support multi message generation . I have checked Do NOT USE SOAP Envelope in SOAP rcv channel. Pls find the config details.
Adapter Type: SOAP
Trans.protocal: HTTP
Mess.Protocal: SOAP1.1
Do not use SOAP envelope : Checked
Now Im getting error in RWB .
"Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 403 Access denied"
I checked with the basis people- they confirmed - some request hitting the site. but unable to read the content . they specified HTTP header should contain the content type : text/xml . If I checked "Do not use SOAP envelope " , I guess the content type is application/xml etc.
so how can I change the HTTP content type to text/xml. OR any other reason tfor this error.
thnaks
Drumi.Hello,
I checked with the basis people- they confirmed - some request hitting the site. but unable to read the content . they specified HTTP header should contain the content type : text/xml . If I checked "Do not use SOAP envelope " , I guess the content type is application/xml etc.
so how can I change the HTTP content type to text/xml. OR any other reason tfor this error.
The content type when Do Not Use SOAP Envelope is checked defaults to application/xml. To change it to the correct content type, use the MessageTransformBean for your requirement.
ProcessingSequence ModuleName Type ModuleKey
1 localejbs/AF_Modules/MessageTransformBean LEB 0
2 sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean LEB soap
Module Configuration
ModuleKey ParameterName ParameterValue
0 Transform.ContentType text/xml
For more info, see http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm
Check also if you are passing credentials in your Receiver.
Hope this helps
Mark -
I am getting an error in the Sender File adapter as "Configured source directory does not exist". Any idea?
FYI..
@source structure path is
IP address\Orders
@File Name is orders12122006.xml
@Transport protocal is File System and MP is File,processing mode is delete.
@I can't see any messages in SXMB_MONI and Message monitoring
@I got the above error message in File comm channel of Adapter monitoring.
@I tried the source structure as D:\Orders, \Orders, D:/Orders but no luck
@I am in the LAN and able to map the XI server to my PC.I can read and write to the specified folder of the server
@My System OS and server OS are both running on Windows.
Thanks in advance
RajuHI sridhar,
for making your system as FTP Location:
Follow weblog: /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
Then you can use ipaddress of your system.
Put your file in C:\ftproot folder. and give source path as '/'.
It should work.
=>If you want to use NFS only, Give ipadress of XI Sytem and place file at particular location D:\ORDERS.
Cheers,
Vijay Raheja
Maybe you are looking for
-
Maximum HDD size for Satellite Pro 6000?
Hi, I am trying to install a 60 GB HD, but it formats, and it stops at Windows XP Pro instalation. Is there a limit to HD size? Thanx, Ronaldo
-
Help decoding ByteArray from file
Hi guys, I was wondering if anybody could help me. I have a file that I am trying to parse, it is produced by an external piece of software that I have no control over, and the company that creates the software aren't been very helpful with giving me
-
Import script to remove zeros in Account field
Dear FDM Experts, The problem is our source system always extracts 10 characters but we use 7 characters in HFM. Example, Account 0001201010 (10 characters) must be 1201010 (7 characters). I want to write an Import Script to remove, if any, all zeros
-
How to create sharepoint Group with read only permissions using powershell for entire site ?
How to create sharepoint Group with read only permissions using powershell for entire site (including subsites and top level site)
-
Problem in displaying key figures in Bex
User sees everything in Bex multiplied by exactly thousand in key figures Query is fine and other users also do not have any such problems.