Problem with call to BAPI when the data contains spaces
Hi everyone,
I've a table in R3 that has 2 fields which is consulted via BAPI from XI. The Bapi call run correctly while the data don't contain spaces preffixed but when for example the data is ' A31' the BAPI call doesn't return nothing.
The table structure is:
CODE DESCRIPTION
values:
' A31' 'Desc A'
'A30' 'Desc B'
When I call the bapi with A30 value the Bapi return me Desc B, but when I try it with the value ' A31' the Bapi doesn't return any value.
Could anyone help me?
Thanks in advance
>>The problem isn't the trim, because the bapi call must contain the spaces.
Are you able to get expected results while testing the BAPI with data containing spaces?
I have seen some cases where you get correct results when you test the RFC in SE 37, but the same data when passed from XI does not get the desired results. It was coz. when testing the RFC in R/3 some user exits are called and the data fets populated in the correct way. Check this.
Regards,
Jaishankar
Similar Messages
-
Problems in Master-Detail forms when the detail contains LOVs
I am having problems with master detail forms when the detail contains and lov.
In my detail form I have a messageLovInput field that returns 2 values (code and description). When the lov window returns both values the messageLovInput disappear from the form.
This problem happens only when I iterate in the master view and I try to add a record in the detail form.
If I add a new record without navigation for the master view there is no problem.Jode,
which technology are you using, ADF JClient ? If yes, please provide a step by step description of how to setup a testcase to reproduce the problem.
Frank -
Vertical Elasticity on Field is not working when the data contains - in it.
Hi,
I have a report which has to print a large invoice number(around 30 characters) per invoice line, but I got only space for 12-14 characters, so I have set the vertical elasticity property of the field to Expand which makes the data to wrap to the next line.
But if the data contains any '-' character in it, the data wraps to the next line even though there is enough space on the current line.
Sample outputs:
When the vertical elasticity is set to Expand
<p>
Invoice Number Invoice Description
123456789023 First Invoice on first line
345678957694
347634763476
12345678- Second Invoice but the number gets wrapped because of the hyphen
345734573476
569456573456
When the vertical elasticity is set to Fixed
Invoice Number Invoice Description
123456789023 First Invoice on first line
12345678-345 Second Invoice but the number does not get wrapped after hyphen
</p>
Is it a bug on reports editor, how do I avoid this?
I would like to see the output like the following,
Invoice Number Invoice Description
123456789023 First Invoice on first line
345678957694
347634763476
12345678-345 Second Invoice number with correct format.
734573476569
456573456
PS: The version of the Report Builder is 10.1.2.0.2
Thanks in Advance,
SenthilIt looks as if the logic that Oracle Reports uses to determine where to break the line is interpreting the "-" character differently from other characters. This is probably because it is used (at least in English) to break words at the end of a line (see http://en.wikipedia.org/wiki/Hyphen#Justification_and_line-wrapping).
One workaround might be to replace "-" character with another character (or more) that looks the same (or similar), but that Oracle Reports does not interpret differently from other characters. For me (on Windows), CHR(173) seems to work. However, whether or not it works for you will depend on whatever character set(s) you're using. The same goes for the Unicode characters like U+2010 (hyphen), U+2011 (non-breaking hyphen), and U+2212 (minus).
For example, in your data model, you might try replacing your current invoice number column with an expression that looks something like this:
REPLACE(YOUR_INVOICE_NUMBER_COLUMN, '-', CHR(173))
Hope this helps. -
How to make jar with from java code for the filenames containing spaces
I tried to make jar file using Runtime.exec method . The filenames have spaces in it .So i gave the filenames in double quotes.It works fine with windows and also from the command prompt.But when i run the same code in unix box , it creates a jar file with no content.Pls give some solution. I used the jdk1.2.2
Pls give some solution. Pls post your code
-
Problems with a Business Object when using data RAW.
Hi,
I've created a Z bapi with parameter tables as
FILE_BIN like SDOKCNTBIN
The structure SDOKCNTBIN has one RAW field.
When I go to SWO1 and implement a new Bapi, the following error occurs:
"Field SDOKCNTBIN -LINE is too large to be included in container"
Does anyone knows why when I declare an structure with a field RAW, gives that error?
Thanks in advance!Does this occur when using Immediate Mode?
Here's a blurb from my ADF Toy Store paper about Batch Mode and immediate mode.
http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adftoystore/readme.html#batchmode -
Problems with OC4J EJB deployment and the data-sources.xml file
I am running 2 Windows 2000 Machines one with the 8.1.7 database another with iAS 1.0.2.2.1 and OC4J.
I am trying to deploy a 3rd party EJB-based application whic seems to have deployed successfully except when I try to test the EJB deployment via a jsp it can't connect to the database, giving the error:
1/16/02 4:52 PM VerySimple: Servlet error
java.lang.NoClassDefFoundError: com.netexp.user.UserManagerHome
at com.netexp.beans.BeanHelper.class$(Unknown Source)
at com.netexp.beans.BeanHelper.getUserManagerBean(Unknown Source)
at /very_simple.jsp._jspService(/very_simple.jsp.java:48) (JSP page line 27)
at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
I try to update the file using the installdatasource switch thus:
C:\Oracle\iSuites\j2ee\home>java -jar admin.jar ormi://localhost admin adm_pwd -application apptricityII -installDataSource -jar %ORACLE_HOME%\jdbc\lib\classes12.zip -url jdbc:oracle:thin:@db_host.unitas.com:1521:db_name -connectionDriver oracle.jdbc.driver.OracleDriver -location jdbc/pool/OracleDataSource -username scott -password tiger
And get the following error:
Exception passing by from remote server: java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
<<no stack trace available>>
Error adding source: No class specified for jdbc/pool/OracleDataSource
Please advise.
I have followed the instructions in 'EJB Primer' and 'Using Oracle9iAS Containers for J2EE' to no avail. And I can't find any meaningfull data-sources.xml samples. I have been struggling with this for some time.
Is there any other file, do I need to bind anything?
I'd appreciate your assistance.
Thank you
LouizaHi Louiza,
Show us your web.xml and ejb-jar.xml files as well as your
data-source.xml file.
Thanks,
Avi. -
Problem with decode function while dispaly the data ( urgent )
Hi friends ,
I want the output like this.
sample:
CLIENT CODE: 00027
PLAN CODE: 01
SSN Last Name First Name TYPE Frequency Amount
123-45-6036 Perrault Julia D M 250.00
123-45-6036 Perrault Julia D Q 400.00
CLIENT CODE: 00027
PLAN CODE: 02
SSN Last Name First Name TYPE Frequency Amount
123-45-6036 Perrault Julia D S 1000.00
123-45-7042 Testaverde Alexander D B 50.00
this is my query:
SELECT distinct pln.plan_code,
ind.ssn,
ind.last_name,
ind.first_name,
pln.clt_client_id,
DECODE(rp.account_code,'AMNT',rp.userid,NULL) amount,
DECODE(rp.account_code,'FREQ',rp.userid,NULL) frequence,
DECODE(rp.account_code,'TYPE',rp.userid,NULL) type
FROM rp_extract_recon rp,
plan pln,
indicative ind
where ind.indicative_id in ( select distinct
rp1.ind_indicative_id
from rp_extract_recon rp1
where rp1.rp_extract_recon_id =
rp.rp_extract_recon_id )
and ind.clt_client_id = pln.clt_client_id
and pln.plan_id = rp.pln_plan_id
and rp.bat_batch_info_id = 14078
and rp.rp_report_type_code = 'TEST'
output for above query:
PLAN_C SSN LAST_NAME FIRST_NAME CLT_C AMOUNT
FREQUENCE TYPE
01 123456036 Perrault Julia 00027 250.00
01 123456036 Perrault Julia 00027 400.00
01 123456036 Perrault Julia 00027 M
01 123456036 Perrault Julia 00027 Q
01 123456036 Perrault Julia
00027 D
02 123456036 Perrault Julia 00027 1000.00
02 123456036 Perrault Julia 00027 S
02 123456036 Perrault Julia
00027 D
02 123457042 Testaverde Alexander 00027 50.00
02 123457042 Testaverde Alexander 00027 B
02 123457042 Testaverde Alexander
00027 D
11 rows selected.
11 rows selected.
how can i get the above ouput .
i want the type,frequency,amount values in one line.
thanks for u r kind help
sriniHi Srini,
Add Max in the begining and group by at the end of statement.
Please let me know in both cases if it works or not.
thanks
for example
SELECT distinct pln.plan_code,
ind.ssn,
ind.last_name,
ind.first_name,
pln.clt_client_id,
MAX(DECODE(rp.account_code,'AMNT',rp.userid,NULL) amount,
DECODE(rp.account_code,'FREQ',rp.userid,NULL) frequence,
DECODE(rp.account_code,'TYPE',rp.userid,NULL) type )
FROM rp_extract_recon rp,
plan pln,
indicative ind
where ind.indicative_id in ( select distinct
rp1.ind_indicative_id
from rp_extract_recon rp1
where rp1.rp_extract_recon_id =
rp.rp_extract_recon_id )
and ind.clt_client_id = pln.clt_client_id
and pln.plan_id = rp.pln_plan_id
and rp.bat_batch_info_id = 14078
and rp.rp_report_type_code = 'TEST'
GROUP BY
pln.plan_code,
ind.ssn,
ind.last_name,
ind.first_name,
pln.clt_client_id, -
Problem with decode function while dispaly the data
Hi friends ,
I want the output like this.
sample:
CLIENT CODE: 00027
PLAN CODE: 01
SSN Last Name First Name TYPE Frequency Amount
123-45-6036 Perrault Julia D M 250.00
123-45-6036 Perrault Julia D Q 400.00
CLIENT CODE: 00027
PLAN CODE: 02
SSN Last Name First Name TYPE Frequency Amount
123-45-6036 Perrault Julia D S 1000.00
123-45-7042 Testaverde Alexander D B 50.00
this is my query:
SELECT distinct pln.plan_code,
ind.ssn,
ind.last_name,
ind.first_name,
pln.clt_client_id,
DECODE(rp.account_code,'AMNT',rp.userid,NULL) amount,
DECODE(rp.account_code,'FREQ',rp.userid,NULL) frequence,
DECODE(rp.account_code,'TYPE',rp.userid,NULL) type
FROM rp_extract_recon rp,
plan pln,
indicative ind
where ind.indicative_id in ( select distinct
rp1.ind_indicative_id
from rp_extract_recon rp1
where rp1.rp_extract_recon_id =
rp.rp_extract_recon_id )
and ind.clt_client_id = pln.clt_client_id
and pln.plan_id = rp.pln_plan_id
and rp.bat_batch_info_id = 14078
and rp.rp_report_type_code = 'TEST'
output for above query:
PLAN_C SSN LAST_NAME FIRST_NAME CLT_C AMOUNT
FREQUENCE TYPE
01 123456036 Perrault Julia 00027 250.00
01 123456036 Perrault Julia 00027 400.00
01 123456036 Perrault Julia 00027 M
01 123456036 Perrault Julia 00027 Q
01 123456036 Perrault Julia
00027 D
02 123456036 Perrault Julia 00027 1000.00
02 123456036 Perrault Julia 00027 S
02 123456036 Perrault Julia
00027 D
02 123457042 Testaverde Alexander 00027 50.00
02 123457042 Testaverde Alexander 00027 B
02 123457042 Testaverde Alexander
00027 D
11 rows selected.
11 rows selected.
how can i get the above ouput .
i want the type,frequency,amount values in one line.
please help me.
thanks for u r kind help.
sriniHi.
I have not tested this my self, byt tryit.
SELECT pln.plan_code,
ind.ssn,
ind.last_name,
ind.first_name,
pln.clt_client_id,
MAX(DECODE(rp.account_code,'AMNT',rp.userid,NULL)) amount,
MAX(DECODE(rp.account_code,'FREQ',rp.userid,NULL)) frequence,
MAX(DECODE(rp.account_code,'TYPE',rp.userid,NULL)) type
FROM rp_extract_recon rp,
plan pln,
indicative ind
where ind.indicative_id in ( select distinct
rp1.ind_indicative_id
from rp_extract_recon rp1
where rp1.rp_extract_recon_id =
rp.rp_extract_recon_id )
and ind.clt_client_id = pln.clt_client_id
and pln.plan_id = rp.pln_plan_id
and rp.bat_batch_info_id = 14078
and rp.rp_report_type_code = 'TEST'
GROUP BY pln.plan_code,
ind.ssn,
ind.last_name,
ind.first_name
/Uffe -
Hi,
I have a problem with calling by FaceTime when me and my friend are in the different networks.
When i call to another device I see this call on that device and tap to the answer button after that i see a message "connecting" but the first device is trying to call in during about 1 minute and finish the call.
But if both of the devices have connected to the one network (wifi) it works correct.Actually, it started working fine when I told it to capture
sound at 11kHz.. I should have tried that first, before making a
fuss here, sorry. Looks like some weird glitch, a driver problem
maybe, but anyway, switching to 11kHz seems to have solved
it. -
IS ANY ONE HAVING PROBLEM WITH LIGHTROOM CC BRUSH WHEN THE GPU IS TURN ON
F. McLion wrote:
Update your graphic card driver to the latest version.
btw.: Rule number 2 - Do not use all caps - Netiquette Wiki
And for a very practical reason from your point of view: using all caps looks like SHOUTING, and people will concentrate more on the SHOUTING than on answering your question. Some will just ignore you for this reason.
If updated drivers don't fix the problem, perhaps you can tell us what is the "PROBLEM WITH LIGHTROOM CC BRUSH WHEN THE GPU IS TURN ON" that you are having. -
I have iphone 4 and the software is ios 7.0.2. I am facing problems with my phone. Since the last software update my phone has started giving problems. like it hangs sometime when i recieve an incoming call. The carrier status bar shifts down a bit and sometimes it vanishes automatically. I,m confused.
Secondly i have an update IOS 7.0.4 waiting in my Software Update menu. I have tried so many times to update my iphone but it always fails to update the IOS 7.0.4. Any body suggest anything regarding thisWow. Lots of help. Thanks apple
-
Just recently, I have encountered a problem with my iPhone. When someone calls, I can clearly hear the caller, but the caller cannot hear me speak. Sometimes the problem is nt there and works properly, but most of the times, I am facing this problem. I have tried plugging in the earphone and speak, but its the same.... can anyone advse what may be the problem?
iphone 4g have this problem
first solution :change the flex micro
second solution : ic audio must reballed
also watch video
http://www.youtube.com/watch?v=C-n1LJEK3PM
http://www.youtube.com/watch?v=prSZ9yJnofY
http://www.youtube.com/watch?v=tkEiR6OPhhc -
My sister had a problem with call volume being too low on the iPhone 5S. Is the iPhone 6 louder? Is anyone else feeling that call volume on iPhone 5S isn't loud enough?
I personally haven't experienced much of the "reverberation/feedback" when using a headset on the i4S...
Yes, I have near-perfect hearing too (for scope, squeaky brakes hurt my ears) I come from many conversations on many phones and types and first off, CDMA technology is great for coverage, terrible for voice quality. HD Voice in Europe made for some of the best phone conversations I've ever had.
Back on track, feedback is most noticable (similar to the landline phone) when using the iPhone without a headset, but for me it's not an absolute criticality mainly because I use VoIP apps alot, so maybe it has desensitized me some over the past year.
But whenever I'm on a call, and the other person has me on speakerphone, I have alot of trouble talking because of the feedback loop caused. So the less of my voice I hear the better I can talk.
Have you tried a bluetooth headset yet? -
HI
I have a strange problem concerning group call pickup in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having about 5-7 second
Anybody out there having similar problems with call pickup Groups?Hi,
Did you meet any other call delay when you using Lync?
As the issue happen for Lync desktop client, it can be performance issue. Please check if there is any error message from FE Server when the issue happen.
Also please check if you have updated Lync Server to the latest version, if not, update it and then test again.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
I have problem with my Iphone 5, when I talk my ear allways tuch the screen and get it on no sound, the screen are not lock, is ti possible to lock the screen when incomming an outgoing call going on
Hello Mogulman46,
So what that means is when you have Do Not Disturb turned on, you may have an alert depending on the setting and how you are using your iPhone. So if it is set to Always, then that means that no matter what, your iPhone will not be notified. If it set to Only while the iPhone is locked, then that means that you will not get notification when your iPhone is locked but you will get notifications if your iPhone is being used. Also keep in mind the settings All Calls From can be set to certain contacts like Favorites, Everyone or no one. If you are using Do Not Disturb and you do not need it, then turn it off.
Use Do Not Disturb on your iPhone, iPad, or iPod touch
http://support.apple.com/kb/ht5463
Regards,
-Norm G.
Maybe you are looking for
-
"Edit" Functions Grayed Out and No Longer Work
I have CS5 and have used it for several years now and it has served me well but suddenly, I find that many options (such as most "Edit" options within it are noy grayed-out and non-functional. I've uninstalled it and re-installed but the problem is s
-
In the name of all that's holy
I have a 12" PowerBook G4. It had been behaving erratically, starting with not being able to start it up (hangs at apple both with and without the spinner). So, I tried to back-up my data using target disk mode, but it repeatedly locked up when tryin
-
CS5 / Windows 7: Plugin conflict - Class xyz installed twice
Hi If I start Indesign I get the following assertions: Both assertions are from my plugin. As you see on the second assertion, Indesign means that the same plugin is installed 2 times. But it isn't. - I didn't use an installer to install it. I copied
-
Returns sales document for cancelled invoice
Dear SAP Gurus, User has created a normal invoice with certain finished goods. Due to some reasons he cancelled this invoice with T code VF11. And then he tried to create a returns order wrt original invoice and created returns sales document without
-
Can I watch anything purchased in HD?
I read earlier that there was no way to watch HD movies or HD episodes of tv shows on an iPod Touch. if this is true, then why sell HD content? the whole point is to watch things on the go!