Which method to use?
I want two statements to be repeated in a code everytime the user chooses 'y' .how to do it?
(both these statements print something on console)
cheers
Krithee.K wrote:
while( inputString.equals('y') || inputString.equals('Y'))
statements to be executed
}this loop will eliminate the overhead involved in calling a method since you are telling that you already have a lengthy code writtenWhich will never work, because a String will never ever be equal to a character
Similar Messages
-
Which method is used for event creation
Dear All,
My client has more then one Purchase Organization. Workflow for Purchase order release very from pur org to pur org. For example - workflow WS92000030 is trigger when PO is created for India pur org where as workflow WS92000021 is trigger when PO is created for US pur org.
I checked and found that same Object Type - BUS2012 & event - RELEASESTEPCREATED is used in all Pur. Org PO release workflow. Also I found in Transaction code - SWETYP that Type linkage activate for BUS2012, RELEASESTEPCREATED in all the PO workflow - WS92000030 & WS92000021.
As per my knowledge, event can be created in various way such as Function module, Change document, General status management, Business Transaction Events etc.
Can some one guide me, how can I found that which method is used for event creation in different pur org?
How can I fould what is the fuctional module used for event creation if Fuctional module used for event creation.
For your information, I can see in T. Code - SWUO that 'Result dependent on a check function module' for all the workflow - WS92000030, WS92000021 etc.
Thanks inHi Sahu,
I dont think they have used the Function module or change document or any other kind of methods to trigger the workflow. This is because RELEASESTEPCREATED method is a standard method and it will be triggered by standard SAP. They can not make changes in standard sap saying RELEASESTEPCREATED should be triggered for this Purchase Org .
Istead what i think is, they might have given the Event Condition for each workflow.
In SWDD>> basic settings>> Start Events, we can give condition on triggering the workflow.
Please check this.
Regards,
Gautham -
Which method should use? Call Transaction or Session Method?
I need to upload 1,00,000 records then which method i need to use? Either session or call transaction?
Hi.....
A (asynchronous updating) The called transaction does not wait until the database has been
updated, it simply forward the updates to the SAP update service. This usually speeds up the CT
program. This processing mode is NOT recommended for large data sets as the called transaction
does not receive a completion message from the update module.
The calling CT program therefore cannot tell if the transaction has been successfully completed. You
should use the updating administration function (transaction SM13) to determine whether updating
was terminated early. The error analysis /correction functions for are less helpful than with
synchronous updating.
S (synchronous updating) With synchronous updating the called transaction waits until all the
updates have been completed. So processing is slower than with synchronous updating. The called
transaction can however report any updating errors to the program, which makes error
analysis/correction easier.
And
Unlike the classical batch input processing with sessions CALL TRANSACTION does not offer any
special processing procedures for transactions containing errors. There are no restart functions for
transactions that contain errors or that cause updating terminations.
Now you decide which one is best...
For large amount of data Sessions method is the better.
Thanks,
Naveen.I -
Which method to use to separate out invoices from one large xml file
I will generate one massive invoice file , say , containgoin aout 200 invoices.
However, I would like them to be produced as separate .pdf files instead of a singular pdf
Th eintention is to take each pdf and email it out to customers.
Is there another approach?Thank you Dominic,
I found the chapter on bursting in another User Guide .
But since I have not worked with java ( classes), I am not sure where to place the separate code units.
From user guide I understand that the following need to be done:-
1. Write up a control file
2. Write up another little class , which will use DocumenTProcessor class and registerListener method.
example
public BurstingTest()
try
DocumentProcessor dp = new DocumentProcessor
("\burst\burstCtrl.xml", "\\burst\\empData.xml","\\burst");
dp.registerListener(this);
dp.process();
catch (Exception e)
{ System.out.println(e);
Where should this new code be placed on the server ? Will it be JAVA_TOP ?
Will the bursting be a stand-alone process , called from the server ? And how to call it ? -
Which method to use internal table?
Should I declare a type and then internal table of that type with a field symbol
OR should I go for a work area ( using DATA ) and OR should I use STANDARD table with a header line.
Also what is better using Field Symbols or Work Area.
AmolHi amol,
you should consider a few things when deciding how to declare an internal table.
1. statement "WITH HEADER LINE" is deprecated in object oriented context and in new SAP R/3 releases. You should avoid it
2. accessing a table via work area is slower than Field-symbol ( but in some cases using a work area is a must ).
Examples:
loop at table assigning <fs>.
<fs>-field1 = 'X'.
endloop.
is more fast then
loop at table into wa.
wa-field1 = 'X'.
modify table from wa.
endloop.
It is not a good idea to use field-symbols with at statement inside a loop.
loop at table assigning <fs>.
at new field1.
... do something ...
endat.
endloop.
It changes your internal table with some dirty data (***)
3. Use sorted/hashed tables when possible
Regards, Manuel
Please remember to reward points for useful answers and to close the post if your problem is solved -
Which methods are used to rewrite the ALV layout in CL_SALV_HIERSEQ_TABLE
Hi my friends,
When using CL_SALV_HIERSEQ_TABLE to create a a hierarchical sequential ALV with aggregation function, the total includes two lines(orange and yellow). the first line is stored the value from header fields(main) and the second line is stored the value from item fields(slave).
in fact, i don't calculate the header fields, so i don't want to display the first line. how to do it?
i am looking forward to your reply.
Thanks a million.continue to wait for your answers
-
Which method ???
Hi
Planning a upgrade of a 4.6C system to 6.40, i have to decide which method to use concerning zero interactive CPW model 590. Which method are the most common or which method do you prefer?
1: Carry out the upgrade in the background as described in Note 86557
2: Use the Upgrade Assistant; both the upgrade in server mode and the UaServer can be started as background jobs. It is important that you correctly set the environment variables as they are set for the interactive operation and the CPYENVVAR(*YES) parameter for SBMJOB.
3: Start the upgrade from the Upgrade Assistant GUI.
I'm not a big fan of JAVA performance on system i !!!!!
Mfg Mads HammerHi Mads,
I always use option 1 )
btw: I would never go for 6.40 but for 7.00 now !
Regards
Volker Gueldenpfennig, consolut.gmbh
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de -
hi,
when uploading data into sap,which method is to be used,either session method r call transaction method? how i can analyse which method is useful? explain briefly abt analying data?Hi,
Better to use session method than other methods -
I have an iphone 5 and i would like to connect it to a radio or speakers to play music but i dont know which cable is used and where can i get it.
Depends on the home radio. You can connect a 3.5mm jack to the iPhone and, if your radio has a 3.5mm input, connect that to your radio. If your radio only has RCA style connectors, you can buy an adapter like the one pictured.
Regardless of which method you use, make sure to select the correct input on your radio. You'll also need to turn the volume on your iPhone all the way up.
I hope that makes sense. If not, what's the model of your radio? -
Which extraction methods are used for extracting AR , AP, GL , cost centre
which extraction methods are used for extracting AR , AP, GL, cost centre account data from R/3 system.
please let me know what type of extraction we use...generic or FISL.... OR COPA
ON WHAT SCENARIOS WE USE THIS EXTRACTIONS..
if any have documents on it please email...please send an email documents ..
to [email protected]
iam bit confused with sap help...
will reward full points
please replyHi,
For general ledger :
http://help.sap.com/saphelp_nw70/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
This is the best how-to guide on AP,AR,GL and TAX.
http://help.sap.com/saphelp_nw04/helpdata/en/af/16533bbb15b762e10000000a114084/frameset.htm
Hope it helps.
Regards,
Srikanth. -
Which http method to use- get or post???
hi all.........
i m trying 2 proceed URLs using httpclient with GetMethod & PostMethod. But i m confuse about that at which time which method i hav 2 use- getor post??
The whole implementation of my code is done using j2se.
It's so important part of my project. So plz help me...Random question to ask in these forums, you can do a simple google seach to find the difference between Get and Post.
Basically Get will parse information at the end of your address, such data will be made public to see.
e.g. www.mel.com?name=mel
Post on the other hand stores the data inside the body of the html document, upon more things.
Mel -
Which method is easiest for uploading data using LSMW?
which method is easiest for uploading data using LSMW (Direct method or batch input method) bcs I am facing lot of problem using batch input method while recording.Even I cannot use direct method using standard program.can anyone tell me some other easiest way for uploading MM01.?
I personally used the direct input way 6 years ago and it was a little bit of a struggle cause I was very new to SAP at the time. But it worked out to be ok in the end. You just have to keep messing with it till the errors are clear and then you can upload for real. The test mode is a nice touch, you can get rid of all of the errors before actually uploading the data.
Regards,
Rich Heilman -
How can i pass array as argument in magento api method calling using sudzc API in iphone Native APP
0down votefavorite
I am implementing magento standard api method in native iphone app. I use webservice generated by sudzc. To call method I use:
[service call:self action:@selector(callHandler:) sessionId:@" " resourcePath:@" " args:@""];
When I used methods e.g. cart.info or product.info in which I have to pass one parameter; it gives valid response. But when I used method e.g. cart_product.add in which I have to pass an argument as value of array it gives error
SQLSTATE[42000]: Syntax error or access violation:
1064 You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
I have tested in SOAP UI also. There also it gives me same error. But same method works in PHP file. Even I tried by creating same soap request which I created using JavaScript but still it doesn't work.
Can anyone help me to pass array as a parameter using sudzc api to call magento web services?There is an error in your SQL.
-
How to invoke a jsp page from java which does not use Servlets?
Hello,
I am working in Documentum. I am trying to invoke a jsp page from another java page which does not use Servlets.
I tried doing this by just instantiating the java class related to the jsp page from my present java class.In my java class related to the jsp page, I have defined onInit() and onRender() methods.
Now, I am trying to call the jsp page from my present java class by just instantiating the java class related to the jsp page. This throws a java.lang.NullPointerException.
Any comments or suggestions on this.Any help would be appreciated.
Thanks,
Ranjith M.VRanjithM.V wrote:
Hello,
Thanks for the reply. One important thing I forgot to mention. I am also using xml component.And?
As this is the standard way used for coding in Documentum, I do not want to use Beans.Well, JSP's should, in and of themselves, contain no functional code. It should all be only display.
Without that is it not possible?What did I say? I said,
masijade wrote:
It is possible, but I very, very, very, much doubt, that it would be worth the effort.And, if you don't know how, a forum is not truely going to be able to help you implement it (at least not in less than a few years time, at which point it would be outdated).
>
Appreciate your understanding and help.
Thanks,
Ranjith M.V -
How to find out which feed is used by iTunes
Hi!
I've tested several feeding methods before i made submitted my podcast to itunes store, now i don't know which feed is used by itunes..
Is there a way to determine this?
Thank you!The image which appears in the Store is referenced in the feed, but the images which appear when you select each episode after subscribing are not - they have to be actually embedded in the media files. Please see this page:
http://www.wilmut.webspace.virginmedia.com/notes/coverart.html
I'm not sure there is anything you can do about the text display in the Store if it isn't recognizing the characters. Are you using the actual characters in the feed or the html code equivalents? (although I don't see code for what you have, only for o and u with umlauts, e.g. ö = ö ). I rather suspect that the Store isn't using a font setting which will allow this.
Maybe you are looking for
-
While applying the patch getting an error Failed:xdoloader.class on worker
Hi, While applying the patch getting an error Failed:xdoloader.class on worker
-
What types of external batteries can be used with the iPhone 4S?
I need external rechargeable batteries for my iPhone 4S and my iPad for travel to an electricity challenged country. what are my options?
-
Transferring apps to a new mac
I've had a macbook for about 3 years now and I have accumulated a large quantity of applications on it. I am thinking about upgrading to a MacBook Pro. My question is this: How do I move my applications over to the new computer. The two biggies are A
-
Easier way to get an email server running?
This is probably going to sound noobish and ranty, and I apologize in advance for that, but I really am looking for an answer. Google has not been very helpful so far. I currently have a VPS which I use for misc stuff, including hosting some websites
-
Hii guyzz i want to know about read table
guyzz, i have to delete a value from the table eg: despatch date but after i delete the the date i want the date in the remaining field (the fields i doesnt delete the date ) to add into hte space in deleted(now it contins 00000) and it al