Want to retrieve values from TB028 and TB009
Hi Experts ,
I wanted to retrieve value of TB028-BEZ30 ( Description for occupation) depending upon field JOBGR in BUT000 , similarly in Table TB009-TEXTSHORT(Short name for Address type) wanted to get the value depeding upon ADR_KIND in BUT021.
But I am not able to retriev this value. I tried using some FMs too but they dont return either of these fields in their o/p parameters
FM used :
For retriving TB028 fields
BAPI_BUPA_CENTRAL_GETDETAIL
For retiving TB009 fields :
FSBP_READ_ADDRESS_DATA
BUP_TB009_SELECT_ALL
BUPA_ADDRESSES_READ_ALL
None of these returns the fields I want. Am I missing something here??
Regards,
Neel
Hello Anitha,
Since u have declared it as global variable there is no need to declare inside the routine.
If useful award the points.
Regards,
Vasanth
Similar Messages
-
ADF: Retrieve values from view and autofill in JSP
Hi,
I am using jdev 10.1.3 with ADF.
I have a jsp page, on which I have 10 fields. On filling one particular field, the other related fields should be retreived from a Synonym or view (That I have in my database.) and automatically filled in jsp page.
If I am not clear, I have a jsp page which has account number, bill to and ship to fields.
There is a Synonym table which has the account number, billto and ship to fields. when I fill in the account number field in my jsp, then it should be validated against the synonym and retrive the bill to and ship to information for that particular account number and displayed automatically in the JSP.
Can you give me any examples or URLs please?
Thanks,
PriyaHi
I hope you can solve your problem with one of following solutions.
1. Return the resultset to jsp program.
In this getrow() method in Viewtable.java will look like this
public void getrow() throws SQLException,IOException {
System.out.println("see what happen" );
String query = "SELECT PRODID,QUANTITY FROM INVENTORY";
st = con.createStatement();
rs = st.executeQuery(query);
return rs;
and your jsp program will be....
<% ResultSet rs = view.getrow();
while (rs.next()) {
qty = rs.getString("QUANTITY");
id = rs.getString("PRODID");
System.out.println(qty + " " );
%>
2. If you just want to print the details then pass the "out"
variable to getrow() method. ex:view.getrow(out)
3. Otherwise store all your values in an array and return it.
bye
Sridhar -
Retriev values from database and display in a ComboBox
hi all,
i think the subject explains it all. how? currently iam using vectors which is giving me lots of problems and errors, whenever it adds to the combobox it adds the square braces as well example if the value in database is asrar then it will display [asrar], what is causing that? does anybody now any easier way??
asrarplease can someone help me
asrar -
Retrieving values from a table
Hi all,
I need to retrieve values from CSKS-KOSTL for values containing the pattern entered by the user. For example, if the user enters 1, need to retrieve all the KOSTL values starting with 1. But when i write a SELECT statement mentioning where kostl in '1', it is ignoring all the values like (0000001, 00001034, 0012334, and others). Only values starting with 1 is only retrieved as this is a character field and due to conversion routine, zeroes are prefixed while storing in the database.
Could any one let me know how to retrieve the values from the database in this situation?If you want to use IN operator in your where clause then you should define a range variable(R_KOSTL) which refers to CSKS=KOSTL and populate the range as below
R_KOSTL-SIGN = 'I'.
R_KOSTL-OPTION = 'CP'.
R_KOSTL-LOW = '1*'.
APPEND R_KOSTL.
and then write your select statement as .... WHERE kostl IN r_kostl.
The approach suggested by Amit should also work fine.
Thanks
Kiran -
How to retrieve value from xml file
hi all,
can somebody pls tell me how to retrieve value from xml file using SAXParser.
I want to retrieve value of only one tag and have to perform some validation with that value.
it's urgent .
pls help me out
thnx in adv.
rituhi shanu,
the pbm is solved, now i m able to access XXX no. in action class & i m able to validate it. The only thing which i want to know is it ok to declare static ArrayList as i have done in this code. i mean will it affect the performance or functionality of the system.
pls have a look at the following code snippet.
public class XMLValidator {
static ArrayList strXXX = new ArrayList();
public void validate(){
factory.setValidating(true);
parser = factory.newSAXParser();
//all factory code is here only
parser.parse(xmlURI, new XMLErrorHandler());
public void setXXX(String pstrXXX){
strUpn.add(pstrXXX);
public ArrayList getXXX(){
return strXXX;
class XMLErrorHandler extends DefaultHandler {
String tagName = "";
String tagValue = "";
String applicationRefNo = "";
String XXXValue ="";
String XXXNo = "";
XMLValidator objXmlValidator = new XMLValidator();
public void startElement(String uri, String name, String qName, Attributes atts) {
tagName = qName;
public void characters(char ch[], int start, int length) {
if ("Reference".equals(tagName)) {
tagValue = new String(ch, start, length).trim();
if (tagValue.length() > 0) {
RefNo = new String(ch, start, length);
if ("XXX".equals(tagName)) {
XXXValue = new String(ch, start, length).trim();
if (XXXValue.length() > 0) {
XXXNo = new String(ch, start, length);
public void endElement(String uri, String localName, String qName) throws SAXException {
if(qName.equalsIgnoreCase("XXX")) {
objXmlValidator.setXXX(XXXNo);
thnx & Regards,
ritu -
How to get return value from java and read by other application?
i want to read return value from java and the other application read it.
for example:
public class test_return {
test_return(){
public int check(){
return 1;
public static void main(String args[]){
new test_return().check();
}from that class i make as jar file. How to read the return value (1) by other application?
thx..If your installer is requiring some process it invokes to return a particular value on failure, then the installer is seriously broken. There are a bazillion commands your installer could invoke, and any of them could fail, which in turn could invalidate the entire install process, and any of them could return any value on failure. The only value that's consistent (in my experience) is that zero means success and non-zero means failure, with specific non-zero values being different in different programs.
About the only control you have over the JVM's exit code is that if your main method completes without throwing an exception, the JVM will have an exit code of 0, and if main throws an exception (either explicitly or by not catching one thrown from below), it will be non-zero. I'm not even sure if that's guaranteed, but I would guess that's the case.
EDIT: I'm kind of full of crap here. If you're writing the Java code, you can call System.exit(whatever). But nonetheless, if your installer requires certain exit codes from any app--java or otherwise--you have a problem.
Edited by: jverd on Oct 29, 2009 1:27 AM -
Retrieve values from a HTML table !!!
Hi.
How can i retrieve values from a HTML table using javascript ?
I´m trying to use the command "document.getElementsByTagName" without success.
Thanks in advance.
EduardoHi, Deepu.
I´m still with trouble in retrieving the value in HTML.
In debug the C_CELL_ID seems to be correctly updated but
when using the command "document.getElementById" the value is always "null".
I implemented in the method DATA_CELL the code :
if i_x = 3 and i_y = 2.
C_CELL_ID = 'zs'.
C_CELL_CONTENT = 10.
endif.
And in HTML :
var ztest = document.getElementById('zs');
alert(ztest);
Could you help me please.
Many regards
Eduardo S.
Message was edited by: Eduardo Silberberg -
Retrieving values from Database in Excel Task Pane App
So far,
I created a website with a database on Azure, I then published my App to Azure. My problem is that I'm not sure how I retrieve values from the database (in SQL: SELECT * FROM EXAMPLE_TABLE WHERE date = str). If someone could provide me with sample code,
that would be amazing! :D
It would also be very helpful if anyone knew a method to automatically update the database using information from a xml stream on another website, once a day.
Thank you!Hi,
>> My problem is that I'm not sure how I retrieve values from the database
You can use jquery ajax call to call your webserivce or REST API, which will query the database and return a json result.
Sample:
Apps for Office: Create a web service using the ASP.NET Web API
>> It would also be very helpful if anyone knew a method to automatically update the database using information from a xml stream on another website
For the database sync-up question, I suggest you posting them on the forums like SQL Server Forum.
Thanks for your understanding.
Best Regards
Lan
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I want to retrieve data from p0001-PLANS based on the below condition,
Hi,
I want to retrieve data from p0001-PLANS
based on the below condition
select stext from hrp1000 where plvar = '01' and otype = 'S' and objid = p0001-plans and begda GE pn-begda and endda LE pn-endda.
Thanks,
Rama.Hi
Based on the Query you have specified thoise are stoerdin an Internal table- then
select stext from hrp1000 into table t_hrp where plvar = '01' and otype = 'S' and objid = p0001-plans and begda GE pn-begda and endda LE pn-endda.
The check table for this PLANS is T528B .
if t_hrp[] is not intitial.
select * from t528B intot table t_528 where plans eq t_hrp-plans.
endif.
Now you can get the PLANS data.
Refer to the Text tbale for PLANS - T528T
To get the TEXTS -
if t_hrp[] is not initial.
select * from T528T into table t_528T where plans eq t_hrp-plans.
endif.
Regards
Lekha -
Retrieving music from icloud and keeping it
I upgraded my phone and subsequently all my music went to the cloud. Can anyone tell me how to retrieve this for itunes and my iphone and stop it disappearing again. thanks
If you want to delete songs from iTunes and keep them on the iPod you need to change the update option of your iPod to "manually manage music and videos". The content of iTunes and the iPod are not syncronised in this mode so the two can be different, you can get details here:
Managing content manually on iPod
iPod - Syncing Music
One major word of caution. If you delete songs or videos from your computer and have no back up other than the iPod you will risk losing them permanently if your iPod fails or you find you have to restore it to solve a problem. You should consider investing in an additional internal or external hard drive to store/back up your music. Alternatively at the very least back up anything you can't replace such as iTunes downloads to CD or DVD: How to back up your media in iTunes
Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device. In that case use Safely Remove Hardware icon in the Windows system tray on your desktop or check this link: Safely Disconnect IPod -
Process and Code for writing an RFC to retrieve data from IT0006 and IT0655
Hi,
Can some body tell me the process and code for creating an RFC to retrieve data from IT0006 and IT0655.
Its very urgent........
Waiting for an early reply.....
Many thanksHello Krishna,
The process for creating an entry in infotype is as follows.
1.First you get the personal number lock for upating.You can use function
module ' BAPI_EMPLOYEE_ENQUEUE ' or ENQUEUE_EMPREL.
2.Pass the records to function module ' HR_INFOTYPE_OPERATION' with
OPERATION - 'INS'.
3.Unlock the Employee by using function moule 'BAPI_EMPLOYEET_DEQUEUE'.
Regards,
Manoj. -
I want to take image from Photos and open in Photoshop.
I want to take image from Photos and open in Photoshop. In iPhoto I was able to drag it into PS icon, but now can't do that.
File -> Export
There is a feature called extensions in Photos that allows developers to write a hook so that photoshop and similar apps might work with Photos, but none have doe that yet, -
I Want To Transmit Audio from Mic and Video from WebCam on Another Computer. I have used AVTransmit2.java file and AVReceive2.java file for Transmission and Receiving but They Transmit Only Video On Another Computer on a network without any error. Any One Help me How Can i Transmit both Audio & Video at the Same time ????????
i m using This Command for Transmittion
java AVTransmit2 vfw://0 192.168.0.1 192.168.0.2 10000
and this Command For Receiving
java AVReceive2 192.168.0.1/10000 192.168.0.2/ 10002Excuse me foro my bad English but I speak English like Tarzan.
To trasmit both video and audio I created a MergingDataSource wich incorporates video and audio data sources. Then I created a Processor with this DataSource and a RTPManager for each track of the processor. It works.
Stupendoman -
LoaderInfo get values from EMBED and OBject Tag (not FlashVars)
hi
i try get values from object and embed tags like bgColor and
allowFullScreen
but i cant find how i can it
loaderInfo.parameters return only flashVars
if some body know it please help
thank you
Sonettic Cinema
Project<forward name="success" path="/jsp/success.jsp" redirect="true" />
but when success.jsp page gets called its not displaying the username and usertype values on page.The request has been redirected to success.jsp(*redirect="true"*) and hence the attributes stored in request object will not be available in success.jsp. Use Session to store login user information instead. -
I found my old classic ipod after 5 years and I wanted all the music from it , and I plugged it onto my computer and it ended up deleting everything how can or can I retreve them ?
The Restore erases the iPod's hard drive, so the song files are gone.
It is like an external hard drive (if you set the iPod to Enable disk use), so standard data recovery utilities may (?) allow you to recover erased data, like you might from a regular external hard drive.
Maybe you are looking for
-
Forte 6.2 on sparc solaris 2.8.(c/c++)
i am going to install the forte 6.2 on sparc solaris 2.8.(c/c++) Is it different than sun compiler 4.1 installatino?. could i get the (major) steps to do this?. i am in a rush situation. Jim
-
Template problem - displaying css in Safari
Safari disables CSS after adding an Editable Region to a template. Safari seems to be choking on <!-- TemplateBeginEditable name="" --> <!-- TemplateEndEditable --> tags. When these tags are deleted the page shows up just fine in Safari. However if t
-
Which Part of windows 7 should I use for Playing games.
I have heard that Windows 7 Home Premium is best For playing games can you tell me which one should I install in my MacBook Pro & Please give me the link For it...
-
Why my iphone 4s update to ios 8.1.3 digi sim card cant check balance
why my iphone 4s update to ios 8.1.3 digi sim card cant check balance why my iphone 4s update to ios 8.1.3 digi sim card cant check balance why my iphone 4s update to ios 8.1.3 digi sim card cant check balancewhy my iphone 4s update to ios 8.1.3 digi
-
Issue with extractor 0BBP_TD_SC_1
Hi All, I have to add preferred vendor to the datasource 0BBP_TD_SC_1 in SRM 4.00. The two fields for preferred vendor are available in the extract structure but are marked with attribute value 'A' which is for hidden by SAP. There is an OSS note to