Problem while Lookup Import
Hello,
I am trying to import some data (from excel scheet) from Import Manager in a flat lookup table, but after completing the filed mapping and value mapping, I am unable to add the fields as matching key criteria. They are greyed out in Matching criteria step. Why is this happening and how can this be solved ?
Thanks
in lookup table field i think you have set both the field as a disply field for e.g Code and Name this both
field are set display field under lookup table to over come this problem
1. just set only one field as display field this will resolved your problem or
2. select both fields together and add as matching fields for e.g Code & Name select both fields by pressing Ctrl ( Code + Name)
Thanks,
Jignesh Patel
Edited by: jignesh patel on Jul 6, 2010 10:54 AM
Similar Messages
-
Presenter 9 problem while video importing
I have a problem with Presenter 9 and I don't know if it is my misunderstanding or I understood something wrong.
I work with videos so I need to import videos/animations with Presenter.
- When I insert a .swf I have no problems and all works properly.
- If I try to insert any other video I can´t (.flv. H.264, MPG.....) As far as I understood, not having Quicktime could be only problematic in case of being necessary a preview. I don't set "preview" and when I try to insert the video it appears always the same fail problem about QuickTime.
Is there no way to insert a video (any format different to .swf animations) without having QuickTime? Is there the same problem with Presenter 10?
Thanks a lot for your support once moreI can import FLV videos but once that I try to see the presentation, none video is reproduced in the slide (image attached). However, I have no chance to import videos like .mpeg or h.264. It appears the message about the necessity of having Quicktime.
It seems that the video is not load so the only way that I have to import videos is using a .swf file with video bar.
Thanks in advance for your support. -
Problem while importing a Crystal Report in SAP Business One
Hi Experts,
I am facing a problem while importing a Crystal Report in SAP Business One, it displaying an error "No matching records found 'Queries' (OUQR) (ODBC -2028) [Message 131-183]" , and there is no use of this table OUQR in the Query.
Kindly let me know the solution.
Regards
Rahul SinghHi Rhaul,
i don't exactly know why this is a problem, but if your not on latest (881 p10) then upgrade and try again.
Or as a workaround,
try saveing from CR to SAP with the CR add-on. That usualy works better then the import.
Regards,
D -
Problem while import u201CSAPKU60003 & SAPKNA7013u201D into SAP CRM 2007
Gentlemen,
I have a problem while import u201CSAPKU60003 & SAPKNA7013u201D into SAP CRM 2007,
My current Support Package Level is:
SAP_ABA 700 0015
SAP_BASIS 700 0015
PI_BASIS 2006_1_700 0006
ST-PI 2005_1_700 0006
CRMUIF 600 0003
SAP_BW 700 0017
SAP_AP 700 0012
BBPCRM 600 0002
First I had the following error:
Syslog: k CQ3 : UMGSETTING& rscpexcc 12
GetDBMigrateCodePagesLangs uses TCP0D, TCPDB, TCP0C.
0 entries from FUNCT (%/SAPCND/CNF_GET_RECORD_FROM_DB%) deleted.
0 d / 0 i / 0 u / 6 = 100% ucf FUPARAREF
6 entries for FUPARAREF imported (/SAPCND/CNF_GET_RECORD_FROM_DBA*).
0 entries from RODIR (FUNC/SAPCND/CNF_GET_RECORD_FROM_DB) deleted.
0 entries from RODIR (FUNC/SAPCND/CNF_GET_RECORD_FROM_DB) deleted.
0 d / 0 i / 0 u / 1 = 100% ucf TFTIT
1 entry for TFTIT imported (D/SAPCND/CNF_GET_RECORD_FROM_DB*).
successfully set a temporary lock on table REPOSRC
REPOS /SAPCND/LDETERMINATION$14 A replaced.
REPOS /SAPCND/LDETERMINATIONU14 A replaced.
[dev trc ,00000] Wed Nov 26 16:33:14 2008 1315447 8.171484
[dbdsoci. ,00000] *** ERROR => invalid offset 0 for placeholder 16
71 8.171555
unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
dsql_open returned with unexpected error code 2
Please contact the SAP support.
End of Transport (0016).
date&time: 26.11.2008 - 16:33:14
5 warnings occured.
3 errors occured.
Main import
End date and time : 20081126163314
Ended with return code: ===> 16 <===
After I got this error I upgraded the Kernel from patch level 159 to 179,
After that I restarted the update again but the system is still running on u201CIMPORT_PROPERu201D and dose not given any update,
From Import logs of the queue I can see the following,
Summary:
24 DOCUT imported.
16 DYNPS imported.
30 DYNPT imported.
387 REPOS imported.
43 REPOT imported.
Totally 505 Objects imported.
Totally 3636 tabentries deleted.
Totally 14 objects activated.
Totally 12229 tabentries imported.
62066888 bytes modified in database.
[dev trc ,00000] Wed Nov 26 18:14:19 2008 20996974 40.917838
[dev trc ,00000] Disconnecting from ALL connections: 30 40.917868
[dev trc ,00000] Disconnecting from connection 0 ... 287 40.918155
[dev trc ,00000] Closing user session (con_hdl=0,svchp=00000000003005B8,usrhp=00000000002FB748)
5759 40.923914
[dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=00000000003005B8,srvhp=00000000061530E8)
921 40.924835
[dev trc ,00000] Now I'm disconnected from ORACLE 8230 40.933065
[dev trc ,00000] Disconnected from connection 0 90 40.933155
[dev trc ,00000] statistics db_con_commit (com_total=527, com_tx=307)
59 40.933214
[dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_tx=0)
52 40.933266
Disconnected from database.
End of Transport (0004).
date&time: 26.11.2008 - 18:14:19
2 warnings occured.
Main import
End date and time : 20081126181419
Ended with return code: ===> 4 <===
Please advice me.
Regards,
AhmedI have similar problem while updating support packages in SAP R/3 4.6C environment.
000 unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,
000 dsql_open returned with unexpected error code 1
000 unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,
000 dsql_open returned with unexpected error code 1
Here is an outline of series of events that happened:-
We are applying in support packages in SAP R/3 4.6C HR Development
(TFI) environment. We planned with installing all the SP stacks
starting from 1 to 9.
-Updated kernel, tp , r3trans and SPAM level to latest level.
We received the following error in Import_Proper step of Support
package upgrade. Though the step has been repeated after making sure
that we have all the required files at OS level, we go this error
repeatedly.
Main import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.25 46D
check-sum error in datafile after 9374854 bytes.
Main import
End date and time : 20081205192603
Ended with return code: ===> 16 <===
When we renamed Co-File & data_file at OS level to see if the files are
created again and reran we got the following error.
Main import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.24 46D
Main import
End date and time : 20081205185117
Ended with return code: ===> 12 <===
We tried importing the individual support package SAPKB46C52 from STMS
and the transport cancelled at an earlier step with the same error.
Dictionary import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.25 46D
check-sum error in datafile after 9374854 bytes.
Dictionary import
End date and time : 20081205195929
Ended with return code: ===> 16 <===
While playing around I have deleted the transport from the tp buffer
and added manually, before doing so I made a backup of tp buffer at OS
level and I got following error though I reverted back to backed-up
copy.
- Error in phase: IMPORT_PROPER
- Reason for error: TP_BUFFER_INCONSISTENCY
- Return code: 0008
- Error message: Wrong sequence of Packages in the tp buffer (e.g.
SAPKB46C52 )
I then tried to disassemble the package separately and reran the
import queue. Now I have RC 8 on that support package.
When I did R3trans -l on the datafile it completed successfully.
D:\>R3trans -l \usr\sap\trans\data\RB46C52.SAP
This is R3trans version 6.05 (release 46D - 27.10.08 - 16:32:00).
R3trans finished (0000).
I verified the size of file "CSR0120031469_0023301.PAT" and it is the
same as mentioned in SSP.
Let us know is there is a workaround. -
hi experts,
i am facing the problem while importing DC. here is the msg i am getting .
Problems were encountered during import:
Failed to read the project description file (.project) for LocalDevelopmentpapermtcs.com. The file has been changed on disk, and it now contains invalid information. The project will not function properly until the description file is restored to a valid state.
can anybody help me on this issue.
thank you ,
vijaihi Sumit ,
how do i resync the dc.
can u help me step by step.
vijai -
Problem while importing data schema not found
Hi,
I'm facing problem while importing data through system to a schema and impdp gives me error that schema XYZ was not found but when I query dba_users schema exist there what could be the reason of this.
Regards,
AbbasiHi,
Here is complete listing
bash-3.2$ impdp system/abc schemas=XYZ DIRECTORY=data_dir DUMPFILE=Today_dump.dmp LOGFILE=Today_log.log PARALLEL=8
Import: Release 11.1.0.7.0 - 64bit Production on Friday, 07 January, 2011 11:18:57
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39165: Schema XYZ was not found.
Regards,
Abbasi -
Problem while importing NWDI components in CRM5.0.
Hi All,
I'm facing problem while importing NWDI components in CRM5.0. Imports are running for long time and failing.
Could anyone please help me out.
Thanks in advance.
Regards,
Deepthi.Thanks for your replies.
Can any one guide me Is there any need to deploy once again into production after or before importing into production through NWDI?
From development i released activities and able to see them in NWDI(CMS). I was able to successfully import in consolidation and even approved it without any errors. But when I tried to import in production tab , I am facing above problem.
Can any one explain me do I need to deploy directly into production (through NWDS) in WebDynpro perspective before importing into production from NWDI?
As far as my understanding if I import successfully into production I may need not to deploy it again. -
A web developer problem while running a web application
Hi all,
I'm novice to J2EE.
I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
when i access my web application by specifying the proper server and port no and context root it is showing
either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
Now let me elaborate what i've done till now.
My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
My servlet is ServExamp.java
I created a folder called "Suresh". In that folder created another folder called "WEB-INF". In WEB-INF created a folder called "Classes".
Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
The source code is :
package Sai;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class ServExamp extends HttpServlet
public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
PrintWriter out=res.getWriter();
java.util.Date today=new java.util.Date();
out.println("<html>"+"<body>"+
"<h1 align=center>HF\'s Chapter1 Servlet </h1>"
+"<br>"+today+"</body>"+"</html>");
Now i'm almost done creating a web application. Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to the servlet. I constructed web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
The web.xml file source is :
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Hello World Web Application</display-name>
<description>Test Servlet</description>
<servlet>
<servlet-name>ServExamp</servlet-name>
<servlet-class>Sai.ServExamp</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServExamp</servlet-name>
<url-pattern>/Suresh</url-pattern>
</servlet-mapping>
</web-app>
Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
1) clicked on deployments, then navigated to "Web Application Modules" .
2) Clicked "Deploy new Web Application Module"
3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a valid web application.
4) I Clicked that radio button and clicked "Target Module".
5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"
I clicked Deploy.
6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.
I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
It was not showing my servlet (showed a 403 error)
Error - 403
This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
I think so it came b'coz I don't have an index.html or index.jsp page.
7)Instead,I added my servlet on to the URL it provided.
http://localhost:7001/Suresh-2/Suresh
It is showing these error code: Http: 505 resource not allowed
The page cannot be displayed
The page you are looking for cannot be displayed because the address is incorrect.
Please try the following:
If you typed the page address in the Address bar, check that it is entered correctly.
Open the localhost:7001 home page and then look for links to the information you want.
Click Search to look for information on the Internet.
when i just type : http://localhost:7001/ -> Error 404 not found error
it's showing
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
I want to run my web application & any help would be appreciated.
Thanks in advance.
with regards,
S.SayeeNarayanan.
Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
Then executed my webapplication it is showing
error-505 resource not allowed.
--------------------------------------------------------------------------------------------try a fully qualified path to the pem file
-
A small problem while running my webapplication
Hi all,
I'm novice to J2EE.
I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
when i access my web application by specifying the proper server and port no and context root it is showing
either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
Now let me elaborate what i've done till now.
My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
My servlet is ServExamp.java
I created a folder called "Suresh". In that folder created another folder called "WEB-INF". In WEB-INF created a folder called "Classes".
Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
The source code is :
package Sai;
import javax.servlet.;*
import javax.servlet.http.;*
import java.io.;*
public class ServExamp extends HttpServlet
public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
PrintWriter out=res.getWriter();
java.util.Date today=new java.util.Date();
out.println("<html>"+"<body>"+
*"<h1 align=center>HF\'s Chapter1 Servlet </h1>"*
+"<br>"+today+"</body>"+"</html>");
Now i'm almost done creating a web application. Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to
the servlet. I constructed web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
The web.xml file source is :
*<!DOCTYPE web-app*
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
*"http://java.sun.com/dtd/web-app_2_3.dtd">*
*<web-app>*
*<display-name>Hello World Web Application</display-name>*
*<description>Test Servlet</description>*
*<servlet>*
*<servlet-name>ServExamp</servlet-name>*
*<servlet-class>Sai.ServExamp</servlet-class>*
*</servlet>*
*<servlet-mapping>*
*<servlet-name>ServExamp</servlet-name>*
*<url-pattern>/Suresh</url-pattern>*
*</servlet-mapping>*
*</web-app>*
Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
*1) clicked on deployments, then navigated to "Web Application Modules" .*
*2) Clicked "Deploy new Web Application Module"*
*3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a*
valid web application.
*4) I Clicked that radio button and clicked "Target Module".*
*5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"*
I clicked Deploy.
*6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.*
I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
It was not showing my servlet (showed a 403 error)
Error - 403
This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
I think so it came b'coz I don't have an index.html or index.jsp page.
*7)Instead,I added my servlet on to the URL it provided.*
http://localhost:7001/Suresh-2/Suresh
It is showing these error code: Http: 505 resource not allowed
The page cannot be displayed
The page you are looking for cannot be displayed because the address is incorrect.
Please try the following:
If you typed the page address in the Address bar, check that it is entered correctly.
Open the localhost:7001 home page and then look for links to the information you want.
Click Search to look for information on the Internet.
when i just type : http://localhost:7001/ -> Error 404 not found error
it's showing
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
*10.4.5 404 Not Found*
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code
SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding
address.
I want to run my web application & any help would be appreciated.
Thanks in advance.
with regards,
S.SayeeNarayanan.
Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
Then executed my webapplication it is showing
error-505 resource not allowed.
--------------------------------------------------------------------------------------------cross posted (amazingly dukes offered in both)
-
Problem While Activating Transformation
Hi BW Gurus,
I am currently working on BW 7.0 on Purchasing Area, I found some problem while modifying the transformation or activating the transformation. I have mapped the data source 2LIS_02_SCL Purchasing Data (Schedule Line Level). I have written a routine for mapping rules of 0ORDER_VAL base on the source field of BWVORG, BWAPPLNM, BWEFFWR, BEDAT, WAERS, HWAER, WKURS. And it shows no error while syntax check. But while activating the Transformation it leads to dump. And after that if I try to change the routine, it leads me to the same dump.
Please advice.
For reference, find the code what I wrote in the routine below,
IF ( SOURCE_FIELDS-BWVORG = '001' or SOURCE_FIELDS-BWVORG = '011'
or SOURCE_FIELDS-BWVORG = '021' or SOURCE_FIELDS-BWVORG = '004'
or SOURCE_FIELDS-BWVORG = '014' or SOURCE_FIELDS-BWVORG = '024' )
AND SOURCE_FIELDS-BWAPPLNM EQ 'MM'
AND SOURCE_FIELDS-BWEFFWR 0.
PERFORM LOC_CURR_CONVERT
USING SOURCE_FIELDS-BWEFFWR
SOURCE_FIELDS-BEDAT
SOURCE_FIELDS-WAERS
SOURCE_FIELDS-HWAER
SOURCE_FIELDS-WKURS
CHANGING RESULT.
ENDIF.
where the LOC_CURR_CONVERT is given below
FORM LOC_CURR_CONVERT *
--> LC_DOCUMENT_VALUE *
--> LC_DATE *
--> LC_DOCUMENT_CURRENCY *
--> LC_LOCAL_CURRENCYY *
--> LC_RATE *
LC_LOCAL_VALUE *
FORM loc_curr_convert
USING lc_document_value
lc_date
lc_document_currency
value(lc_local_currency)
lc_rate
CHANGING lc_local_value.
conversion of lc_rate from floating-point to decimal. Necessary for *
call of CONVERT_TO_LOCAL_CURRENCY.
data lc_rate_dec type p decimals 5.
lc_rate_dec = lc_rate.
IF lc_document_currency = lc_local_currency
no conversion necessary -> Main case 1
AND NOT ( lc_document_currency IS INITIAL
OR lc_local_currency IS INITIAL ) .
lc_local_value = lc_document_value.
ELSEIF NOT ( lc_document_currency IS INITIAL
OR lc_local_currency IS INITIAL OR lc_date IS INITIAL ) .
conversion necessary with lc_date -> Normally not possible
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
date = lc_date
foreign_amount = lc_document_value
foreign_currency = lc_document_currency
local_currency = lc_local_currency
rate = lc_rate_dec
IMPORTING
EXCHANGE_RATE =
local_amount = lc_local_value
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5.
IF sy-subrc NE 0.
message a802 with lc_date lc_document_currency lc_local_currency
sy-subrc.
ENDIF.
ELSE.
if conversion not possible -> assign target values
lc_local_value = lc_document_value.
lc_local_currency = lc_document_currency.
ENDIF.
ENDFORM.
Thnaks
Regards,
Deep.Hi,
Please check routine if any for 0CO_REPLINE and also expert routine.
Regards,
Rema. -
Problem while postings a MIRO for partial deliveries.
Hi,
We ar facing a problem
while posting a Miro for the Planned delivery costs for the import orders.
when we receive an item in partial consignment of the same order.
The system will allow for the first time to post the deliver cost, after this the MIGO and MIRO will be done and cycle will be completed.
For the second remaining consignment, the system is not allowing to post the Miro itself for the delivery costs.
IT is giving an error message."Quantity invoiced greater than goods receipt quantity."
We have disable GR based IV in PO
Provide me the solution.
Sunilhi,
i hope you have done the following steps
1) for import do MIRO first for the custom duties ( CVD, Edu Cess, S& H Cess on CVD) by selecting planned delivery cost.
2) J1IEX ( capture) referencing material document number of MIRO.
3) MIGO of the qty received.
4) J1IEX ( post).
follow the same steps for the next consignment.
what I see is that you have mentioned the full qty against the value in MIRO.
say ur PO qty is 10 and your partial shipment is of qty 5.
then in first MIRO entry enter qty as 5 not 10.
pl check your material documents of MIRO and MIGO and see what qty you have entered.
Thanks and regard
Rajesh -
Problem while accessing a complex data type
hi,
I am getting a problem while accessing a complex data type
I have a wsdl as:
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="OutlookReminderService" targetNamespace="http://ws.aftek.com/outlook-reminder" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://ws.aftek.com/outlook-reminder/schemas" xmlns:ns3="http://java.sun.com/jax-rpc-ri/internal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.aftek.com/outlook-reminder" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <types>
- <schema targetNamespace="http://ws.aftek.com/outlook-reminder/schemas" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://ws.aftek.com/outlook-reminder/schemas" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<import namespace="http://java.sun.com/jax-rpc-ri/internal" />
- <complexType name="TaskVO">
- <sequence>
<element name="dueDate" type="long" />
<element name="percentageComplete" type="int" />
<element name="priorty" type="int" />
<element name="reminderDate" type="long" />
<element name="reminderSet" type="boolean" />
<element name="startDate" type="long" />
<element name="status" type="int" />
<element name="subject" type="string" />
<element name="taskId" type="string" />
</sequence>
</complexType>
- <complexType name="NoSuchUserException">
- <sequence>
<element name="message" type="string" />
</sequence>
</complexType>
- <complexType name="ArrayOfContactVO">
- <complexContent>
- <restriction base="soap11-enc:Array">
<attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:ContactVO[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ContactVO">
- <sequence>
<element name="birthDate" type="long" />
<element name="companyAddress" type="string" />
<element name="companyName" type="string" />
<element name="emailID1" type="string" />
<element name="emailID2" type="string" />
<element name="emailID3" type="string" />
<element name="faxNumber" type="string" />
<element name="firstName" type="string" />
<element name="homeAddress" type="string" />
<element name="lastName" type="string" />
<element name="middleName" type="string" />
<element name="mobileNumber" type="string" />
<element name="phoneNumber" type="string" />
<element name="workContactNumber" type="string" />
</sequence>
</complexType>
</schema>
- <schema targetNamespace="http://java.sun.com/jax-rpc-ri/internal" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://java.sun.com/jax-rpc-ri/internal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<import namespace="http://ws.aftek.com/outlook-reminder/schemas" />
- <complexType name="arrayList">
- <complexContent>
- <extension base="tns:list">
<sequence />
</extension>
</complexContent>
</complexType>
- <complexType name="list">
- <complexContent>
- <extension base="tns:collection">
<sequence />
</extension>
</complexContent>
</complexType>
- <complexType name="collection">
- <complexContent>
- <restriction base="soap11-enc:Array">
<attribute ref="soap11-enc:arrayType" wsdl:arrayType="anyType[]" />
</restriction>
</complexContent>
</complexType>
</schema>
</types>
<message name="OutlookServer_addTaskResponse" />
- <message name="OutlookServer_getListResponse">
<part name="result" type="ns3:arrayList" />
</message>
- <message name="OutlookServer_getContactListResponse">
<part name="result" type="ns2:ArrayOfContactVO" />
</message>
- <message name="NoSuchUserException">
<part name="NoSuchUserException" type="ns2:NoSuchUserException" />
</message>
- <message name="OutlookServer_getContactList">
<part name="String_1" type="xsd:string" />
</message>
- <message name="OutlookServer_getList">
<part name="String_1" type="xsd:string" />
</message>
- <message name="OutlookServer_addTask">
<part name="String_1" type="xsd:string" />
<part name="TaskVO_2" type="ns2:TaskVO" />
</message>
- <message name="OutlookServer_reminderOccurredResponse">
<part name="result" type="xsd:boolean" />
</message>
- <message name="OutlookServer_reminderOccurred">
<part name="String_1" type="xsd:string" />
<part name="TaskVO_2" type="ns2:TaskVO" />
</message>
- <portType name="OutlookServer">
- <operation name="addTask" parameterOrder="String_1 TaskVO_2">
<input message="tns:OutlookServer_addTask" />
<output message="tns:OutlookServer_addTaskResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="getContactList" parameterOrder="String_1">
<input message="tns:OutlookServer_getContactList" />
<output message="tns:OutlookServer_getContactListResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="getList" parameterOrder="String_1">
<input message="tns:OutlookServer_getList" />
<output message="tns:OutlookServer_getListResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="reminderOccurred" parameterOrder="String_1 TaskVO_2">
<input message="tns:OutlookServer_reminderOccurred" />
<output message="tns:OutlookServer_reminderOccurredResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
</portType>
- <binding name="OutlookServerBinding" type="tns:OutlookServer">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="addTask">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="getContactList">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="getList">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="reminderOccurred">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
</binding>
- <service name="OutlookReminderService">
- <port binding="tns:OutlookServerBinding" name="OutlookServerPort">
<soap:address location="http://truptid:8080/outlook-reminder-service/outlook" />
</port>
</service>
</definitions>
My client is :
private static String BODY_NAMESPACE_VALUE = "http://ws.abc.com/outlook-reminder";
private static String ENCODING_STYLE_PROPERTY = "javax.xml.rpc.encodingstyle.namespace.uri";
private static String NS_XSD = "http://www.w3.org/2001/XMLSchema";
private static String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
try{
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService(new QName("OutlookReminderService"));
QName port =new QName("OutlookReminderService","OutlookServerPort");
Call call =service.createCall(port);
call.setTargetEndpointAddress("http://localhost:8080/outlook-reminder-service/outlook?wsdl");
call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
call.setProperty(Call.SOAPACTION_URI_PROPERTY, "");
call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING);
call.getReturnType();
call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "getList"));
QName QNAME_TYPE_STRING = new QName(NS_XSD, "string");
call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN);
//http://ws.aftek.com/outlook-reminder/schemas
QName QNAME_TYPE_VO = new QName("http://schemas.xmlsoap.org/soap/encoding/", "Array");
System.out.println("Before Add Parameter");
// call.addParameter("result", QNAME_TYPE_VO, ParameterMode.OUT);
call.setReturnType(QNAME_TYPE_VO,ArrayList.class);
System.out.println("After Add Parameter");
Object[] params ={oUserVO.getUserName()};
oArrayList =(ArrayList)call.invoke(params);
System.out.println("After Invoked");
//System.out.println("invoked"+ arrayList);
catch(SOAPFaultException faultException)
moLogger.debug("SOAPFaultException : ", faultException);
catch(RemoteException oremoteException)
moLogger.debug("RemoteException", oremoteException);
catch(ServiceException oServiceException)
moLogger.debug("ServiceException", oServiceException); }
Error got is :
trailing block elements must have an id attribute
at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:81)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:239)
at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
at com.ail.dhg.poc.business.dao.ContactDAO.getList(ContactDAO.java:255)
at com.ail.dhg.poc.business.facade.ContactFacade.getList(ContactFacade.java:189)
at com.ail.dhg.poc.business.AcceptInput.main(AcceptInput.java:72)
java.lang.NullPointerException
at com.ail.dhg.poc.business.dao.ContactDAO.getList(ContactDAO.java:277)
at com.ail.dhg.poc.business.facade.ContactFacade.getList(ContactFacade.java:189)
at com.ail.dhg.poc.business.AcceptInput.main(AcceptInput.java:72)
Message was edited by:
trupti_dUse lower case letters for your variable names (name, pwd). The code works then.
package com.bluenile.bean;
import java.io.*;
public class Bean1 implements Serializable
private String name="Uname";
private String pwd="Pword";
public String getName()
return name;
public String getPwd()
return pwd;
void setName(String name)
this.name = name;
void setPwd(String pwd)
this.pwd = pwd;
<HTML>
<BODY BGCOLOR="#FFFFFF">
<%@ page language="java" contentType="text/html" %>
<jsp:useBean id="b1" class="com.bluenile.bean.Bean1" />
<ul>
<li>Name : <jsp:getProperty name="b1" property="name" />
<li>Pwd : <jsp:getProperty name="b1" property="pwd" />
</ul>
</BODY>
</HTML> -
Problem while inserting a record to infotype 416
Iam facing a problem while inserting a record to the infotype 416 for a personnel no using the FM 'HR_INFOTYPE_OPERATION'.I have created a FM to insert a record to the infotype 416.In that FM iam using the FM 'HR_INFOTYPE_OPERATION' to create a record for infotype 416.while executing my FM the FM 'HR_INFOTYPE_OPERATION' is returning the return value 0.But when i check in PA30 for the infotype 416,there is no record created for that personnel no.Also in the table PA0416 the record is not get created.SO what might be the problem.can anyone please provide me help on this.
I have attached the code of my FM for ur reference.
FUNCTION Y_ESS_FL_ENCASH.
DATA: G_COMPENSATION_AMOUNT LIKE PA0416-AMONT,
G_RETURN TYPE BAPIRETURN1.
DATA T_PA0416 LIKE P0416 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
TCLAS = 'A'
PERNR = '00000014'
INFTY = '0416'
BEGDA = sy-datum
ENDDA = sy-datum
BYPASS_BUFFER = 'X'
LEGACY_MODE = ' '
IMPORTING
SUBRC =
TABLES
INFTY_TAB = T_PA0416
EXCEPTIONS
INFTY_NOT_FOUND = 1
OTHERS = 2
LOOP AT T_PA0416
WHERE SUBTY = '1002'.
ENDLOOP.
IF SY-SUBRC <> 0.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = '00000014'
IMPORTING
RETURN = G_RETURN.
IF SY-SUBRC <> 0.
MESSAGE I016(RP) WITH ' RECORD IS ALREADY LOCKED'.
ENDIF.
T_PA0416-PERNR = '00000014'.
T_PA0416-SUBTY = '1002'.
T_PA0416-INFTY = '0416'.
T_PA0416-OBJPS = ''.
T_PA0416-SPRPS = ''.
T_PA0416-SEQNR = ''.
T_PA0416-AEDTM = SY-DATUM.
T_PA0416-UNAME = SY-UNAME.
T_PA0416-ENDDA = SY-DATUM.
T_PA0416-BEGDA = SY-DATUM.
T_PA0416-NUMBR = '10'.
T_PA0416-WGTYP = '1530'.
T_PA0416-AMONT = '15000'.
T_PA0416-WAERS = 'INR'.
T_PA0416-QUONR = '1'.
APPEND T_PA0416.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0416'
NUMBER = '00000014'
SUBTYPE = '1002'
OBJECTID =
LOCKINDICATOR =
VALIDITYEND = '31129999'
VALIDITYBEGIN = SY-DATUM
RECORDNUMBER = ''
RECORD = T_PA0416
OPERATION = 'INS'
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT = 'X'
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = G_RETURN.
KEY =
IF G_RETURN+0(1) EQ 'E'.
MESSAGE I086(ZHR) WITH 'Record is not inserted in IT416'.
ELSE.
COMMIT WORK.
ENDIF.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = '00000014'
IMPORTING
RETURN = G_RETURN.
ENDIF.
ENDFUNCTION.Hi Murthy
With a first glance, I think you have given a wrong parameter value to "validityend". It should be '99991231' not '31129999' .
If your problem still persists, try inserting the data online from PA30. If your input causes no errors, then please state what the return parameter contains.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a> -
Messy code problem while translating XString to String in OfficeControl
Hi Expert,
I have messy code problem while translating XString to String in XML-Format Word Doc in OfficeControl.
I upload an XML-Format template Word Doc to server as a MIME Object.
When OfficeControl is started in Web Dynpro, OfficeControl automatically open the XML-Format template.
For the first time, I get the XString-type Context attribute bind to the content of the Word Doc,
then translate it to string, I got the XML-format content, it's great!
However, after the first time, when I input any new contents in MS Word in Web Dynpro,
no matter I execute "Ctrl + S" or click the "savedocument" button,
when I translate the XString Context attribute to String, I got messy code. (but the first time, it is good plain text)
I use the function module: ECATT_CONV_XSTRING_TO_STRING (good for first time, dump after first time),
SCMS_XSTRING_TO_BINARY, SCMS_BINARY_TO_STRING (good for first time, messy code after first time).
My Demo source code is in: (system) SMV --> (local object) zhaode --> (Dynpro Component) ztest_office_control
core source code is as:
clear itab.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = lv_datas
IMPORTING
OUTPUT_LENGTH = lv_length
TABLES
binary_tab = itab.
CALL FUNCTION 'SCMS_BINARY_TO_STRING'
EXPORTING
input_length = lv_length
mimetype = 'text/plain; charset=utf-8'
IMPORTING
text_buffer = lv_datas_string
output_length = lv_data_len
TABLES
binary_tab = itab.
Can you give me some advice?
Many thanks in advance.
Best Regards,You have already posted this same question several times (and some very similiar questions) within the forum. Please do NOT multiple post your questions. This is against the forum rules of engagement. SAP employee or not, you will find yourself banned from the forums if you don't follow the rules.
-
Problem while saving date field in custom table
Hi,
Iam facing the following problem while saving a date field in custome table
i have a date field zdate in which the value is 02082010.
now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
How can i correct it..
Regards
Kumarjust before saving u might have to use a string reverse FM and then save it..
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
STRING = p_string
LANG = sy-langu
IMPORTING
RSTRING = r_string
EXCEPTIONS
TOO_SMALL = 1
OTHERS = 2
Maybe you are looking for
-
I have 4 apple products, an iMac, an iphone4, and 2 iPads. The apple apps and some others backup on iCloud and sync just fine. Others, Scribble Tasks in particular, do not. I use scribble tasks a lot and just bought my new iPad. I want to put all
-
I have the following situation: I have a page named "notes" and I want to call this page from an item in a content area. So, I created an Item type "url" and completed the url field as: http://hostname/DAD/url/page/notes It works fine. My problem is
-
Where are the firefox icon files located on a Windows XP PC?
I have already looked in Program Files-Mozilla Firefox. There appear to be no icon files! I just need to know the file location.
-
Issue with RWB Communication Channel Monitoring
Hi All, I am getting a error in RWB >> Communication Channel Monitoring. I deactivated the receiver JDBC adapter, and now when I activate it, in the RWB it shows <i><b>'Channel started but Inactive'</b></i> I tried to start and stop the cha
-
When will CS4 Trial downloads be available?
Yeah, I know. They'll be available when Adobe makes them available. Just kinda curious should those of you in the know and flow of things have something to offer up to my self-interested curiosity. I'm awaiting fulfillment of my upgrade to CS Master