How to fetch the amounts /460,/4MT,/4ME,/4MH and /470 in custmoized report
Deae Experts,
we are developing a customized report on TDS for a particular month.
For this we need to extract the amounts of /460,/4MT,/4ME,/4MH and /470 wagetypes.
How and where we have to extract/fetch the amounts to have these values in the customized report.
Please advice.
Regards,
Vi Sai
Hi Experts,
I want to extract the above details after payroll posting to accounts.
I have tried to have the details form PCP0,there i can only view the /460 details.But the rest of details i can able to see.
Where shall and from which trasaction code(Any Finance trasaction code) we extract the amounts of /460,/4MT,/4ME,/4MH and /470 for the employees.
Please advice.
Regards,
V sai.
Similar Messages
-
How to fetch the junk values of a column and the column name in oracle
Hello,
Can anyone help me in writing a procedure/dynamic SQL to fetch the column where the junk values appears and its value. Eg: If emp table contains ID and Name columns, and ID column contains junk values, the result should be the Id column and the junk value/s. It should be dynamic because next time if the other column contains junk values(like $,%...), the query should display the other column too..
Thanks in advance..Try this, I'm not sure if it'll help... and get some idea...
try to modify it as per your requirement -
select * from junk_vals;
1 ranit1
2# ranit2
3 ranit3
4$ ranit@4
5 ranit5
6 r^anit6
select 'ID', id, val from junk_vals
where regexp_like(id,'[^a-zA-Z0-9]')
UNION
select 'VALUE', id, val from junk_vals
where regexp_like(val,'[^a-zA-Z0-9]');
-- "Output :"
ID 2# ranit2
ID 4$ ranit@4
VALUE 4$ ranit@4
VALUE 6 r^anit6
NOTE - I've considered anything other than Alphabets and Numbers as a Junk Value
Edited by: ranit B on Jan 4, 2013 5:07 PM
-- o/p added -
How to fetch the image file from oracle database and display it.
hi... i've inserted the image file into the oracle database... now i want to retreive it and want to display it... can anybody help me... pls
not a big deal dude... i fetched the image from database and saved it into my local hard disk.. but when tried to open it,ends up with no preview... dont know what d prob is... any idea... i've inserted the image as bytes n trying to fetch it as binary stream.. is that the problem... here im giving my insertion and retireving code.. jus go through it...
Insertion code:_
* To change this template, choose Tools | Templates
* and open the template in the editor.
package PMS;
import java.io.File;
import java.io.FileInputStream;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class Browse_java
static Connection con=null;
public static void main(String args[])
try{
System.out.println("(browse.java) just entered in to the class");
con = new PMS.DbConnection().getConnection();
System.out.println("(browse.java) connection string is"+con);
PreparedStatement ps = con.prepareStatement("INSERT INTO img_exp VALUES(?,?)");
System.out.println("(browse.java) prepare statement object is"+ps);
File file =new File("E:/vanabojanalu-/DSC02095.JPG");
FileInputStream fs = new FileInputStream(file);
System.out.println("lenth of file"+file.length());
byte blob[]=new byte[(byte)file.length()];
System.out.println("lenth of file"+blob.length);
fs.read(blob);
ps.setString(1,"E:/vanabojanalu-/DSC02095.JPG");
ps.setBytes(2, blob);
// ps.setBinaryStream(2, fs,(int)file.length());
System.out.println("(browse.java)length of picture is"+fs.available());
int i = ps.executeUpdate();
System.out.println("image inserted successfully"+i);
catch(Exception e)
e.printStackTrace();
finally
try {
con.close();
} catch (SQLException ex) {
ex.printStackTrace();
and Retrieving code is:
* To change this template, choose Tools | Templates
* and open the template in the editor.
package PMS;
import java.beans.Statement;
import java.io.*;
import java.net.*;
import java.sql.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import javax.servlet.*;
import javax.servlet.http.*;
import oracle.jdbc.OracleResultSet;
* @author Administrator
public class view_image2 extends HttpServlet {
* Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("image/jpeg");
//PrintWriter out = response.getWriter();
try
javax.servlet.http.HttpServletResponse res=null;;
int returnValue = 0;
Connection con = null;
PreparedStatement stmt = null;
ResultSet rs = null;
InputStream in = null;
OutputStream os = null;
Blob blob = null;
//String text;
//text=request.getParameter("text");
//Class.forName("com.mysql.jdbc.Driver");
con=new PMS.DbConnection().getConnection();
System.out.println("jus entered the class");
//String query = "SELECT B_IMAGE FROM img_exp where VC_IMG_PATH=?";
//conn.setAutoCommit(false);
PreparedStatement pst = con.prepareStatement("select b_image from img_exp where vc_img_path=?");
System.out.println("before executing the query");
pst.setString(1,"C:/Documents and Settings/Administrator/Desktop/Leader.jpg");
rs = pst.executeQuery();
//System.out.println("status of result set is"+rs.next());
System.out.println("finished writing the query");
int i=1;
if(rs.next())
System.out.println("in rs") ;
byte[] byte_image=rs.getBytes(1);
// byte blob_byte[]= new byte[(byte)blob.length()];
//System.out.println("length of byte is"+blob_byte);
//String len1 = (Oracle.sql.blob)rs.getString(1);
//System.out.println("value of string is"+len1);
//int len = len1.length();
//byte [] b = new byte[len];
//in = rs.getBinaryStream(1);
int index = in.read(byte_image, 0, byte_image.length);
System.out.println("value of in and index are"+in+" "+index);
FileOutputStream outImej = new FileOutputStream("C://"+i+".JPG");
//FileOutputStream fos = new FileOutputStream (imgFileName);
BufferedOutputStream bos = new BufferedOutputStream (outImej);
//byte [] byte_array = new byte [blob_byte.length]; //assuming 512k size; you can vary
//this size depending upon avlBytes
//int bytes_read = in.read(blob_byte);
bos.write(index);
/*while (index != -1)
outImej.write(blob_byte, 0, index);
index = in.read(blob_byte, 0, blob_byte.length);
//System.out.println("==========================");
//System.out.println(index);
//System.out.println(outImej);
//System.out.println("==========================");
/*ServletOutputStream sout = response.getOutputStream(outImej);
for(int n = 0; n < blob_byte.length; n++) {
sout.write(blob_byte[n]);
sout.flush();
sout.close();*/
outImej.close();
//i++;
else
returnValue = 1;
catch(Exception e)
System.out.println("SQLEXCEPTION : " +e);
finally {
//out.close();
// <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
* Handles the HTTP <code>GET</code> method.
* @param request servlet request
* @param response servlet response
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
* Handles the HTTP <code>POST</code> method.
* @param request servlet request
* @param response servlet response
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
* Returns a short description of the servlet.
public String getServletInfo() {
return "Short description";
// </editor-fold>
} -
i have downloaded the new itunes on to my computer, but cant find where it says how many songs you have and how much data they will take up on my phone. thanks
Just a comment that the playlist size only shows in List View (not Grid or Artist view).
varjak paw wrote:
If I understand correctly what you're referring to, View menu -> Show Status Bar.
For some peculiar reason this option does not show up for me (11.0.1). I do see the "status bar" (i.e. size) of playlists at the bottom of each, and I know that I've seen this setting, but this View option seems to have vanished! -
How to divide the amount invoice in 10% tax and 90 in liability in credit
Hi all
I am using AP, GL and CE. My customer has this problem. When he registers a new invoice for some specific suppliers, he wants to do this accounting:
Credit 10% of invoice amount in a tax account
Credit 90% of invoice amount in liability account which defaults from the supplier site
Debit 100% expense account
I did not find any solution for this, so please help me because my customer is stuck at this point.
Thank you and best regards
ErnestHi Octavio,
I have followed the steps in AP guide section you advised.
I have set up a new withholding tax.
After I register a new invoice, on distribution screen I wanted to specify the new tax on "Tax Code" field and after clicking on "Calculate Tax" button the system was supposed to calculate the withholding tax. But on the invoice distribution, on "Tax Code" field it does not display the tax I have added.
Please give me a hint, am I missing any step on configuration of withholding tax, so that it may be displayed on this field?
Thank you. -
How to fetch the data & display the data if fields got the same name in alv
hi frnds, i need ur help.
how to fetch the data & display the data if fields got the same name in alv grid format.
thanks in advance,
Regards,
mahesh
9321043028Refer the url :
http://abapexpert.blogspot.com/2007/07/sap-list-viewer-alv.html
Go thru the guide for OOPs based ALV.
Use SET_TABLE_FOR_FIRST_DISPLAY to display the table:
CALL METHOD grid->set_table_for_first_display
EXPORTING
I_STRUCTURE_NAME = 'SFLIGHT' Structure data
CHANGING
IT_OUTTAB = gt_sflight. Output table
You can also implement
Full Screen ALV, its quite easy. Just pass the output table to FM REUSE_ALV_GRID_DISPLAY.
For controlling and implementing the FS-ALV we have to concentrate on few of the components as follows :
1. Selection of data.
2. Prepare Layout of display list.
3. Event handling.
4. Export all the prepared data to REUSE_ALV_GRID_DISPLAY.
Regd,
Vishal -
How to get the amount of free physical memory?
How to get the amount of free physical memory?
(without sudo or root)vmstat will give it to you.
Although the question depends a bit on what you mean by free memory.
The figure vmstat labels free (in any reasonably recent version of solaris) actually represents memory mostly filled with cached file contents. So it represents memory that can be easily released if needed by something more important.
Like most unix versions, solaris will use any free memory to cache files thats have been read/written previously just in case they are needed again -
how to find the amount of free disk space on my pc
http://onesearch.sun.com/search/onesearch/index.jsp?qt=free+disk+space&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
-
How to fetch the payment details in to report
Hi,
I have the MIRo number, How to find the payment document number and check number so and so.
What are the transactions like: F053,FB03.
Let me know the process of payment after MIRO.
What are the documents we need to raise, how to find those documents, what is the link.
How to find the accounting document for payment and check details (from which tables).
What are the table names and field names. What we can get from PAYR table.
I want to create a report for MIRO with payment details.
How to fetch the business area field value in to report.
What is the table name. I verified it is storing in structure. Which is the right table for fetching that value with reference to MIRO.
With regards
Lakki
With regards
LakkiHi,
For Creating MIRO Document,
We have to create PO Me21n,
then Do GR - MIGO using PO Reference,
then we have to do MIRO Using then same PO. so the link is basically the PO. Then the Payment for the MIRO document is done in F-53/F-58 refering the MIRO document. the check number will be generated once we do the Check Print in
FBZ5.
You can assign the check number to the F-53 document either in Assignment Field or the Reference field Using FCHU.
Once you do this you can view all the Vendor Bill using Doc Type RE, KR & Vendor Payments Doc Type KZ.
You can use the Std Report FBL1N / FK110N
Hope its useful. Assign points if found use ful
Regards,
R.Ramakrishnaraj -
How to know the amount of ora 11g page-out memory (sga and pga)?
How to know the amount of oracle 11g page-out memory ( sga and pga) in the SunSolaris 10 Unix and Linux.
I need to know how many oracle memory are being page-out ( all and for a one oracle server process).
thanksYou can monitor the paging with vmstat or sar commands.
http://download.oracle.com/docs/cd/B28359_01/server.111/b32009/tuning.htm#sthref500
You can also get the paging information on OEM home page if configured for your database.
But I don't know if there exists a method with which one can find out how much memory per session/server process is getting paged out. -
How to fetch the VAT registration number of the ship to party from billing
Dear SDN Team
How to fetch the VAT registration number of the ship to party from the billing document. Can you proide some information for fetching the VAT registration number of the ship to party.
Normally only the payer VAT registration number will be displayed in the Invoice. But in my case the Ship to party VAT number is displayed.
I have resolved this problem by doing the customizing setting in order to have the payer vat registration number. But for the Old Billing documents it is more than 30,000 documents where it was printed with the ship to party VAT number. So i need to identify those documents.
Can you please help to resolve this problem.
With Regards,
JaiHi,
To get VAT from the ship to from Billing, You have to first fetch the BILLING NUMBER from the VBRK and then goto the Document flow in VBFA to get the SALES DOCUMENT NUMBER and with sales document you will get the SHIP TO number from the VBPA with the PARVW = SH
Once you got the SHIP TO , then goto the KNA1 and get the VAT ID in the field STCEG
so the logic will be as follows
VBRK---VBELN and then
VBFA--VBELN with the document Category as C
VBPA-VBELN and get the KUNNR with PARVW =SH
Now with KUNNR ( ship to ) get the VAT ID from KNA1-STCEG
regards,
santosh -
How to fetch the query string in BW?
Hi Gurus,
How can fetch the query string from BW Server to implement Bex web application Iview.
*Now to get the information "BEx Web Application Query String". open the SAP Log on and open the BW Browser, double click any of the queries available, this will open a window and select the Query String ( it should be between & to end &).*
Explain the above point with more detail like how will open the bw browser what is the step for that?where the query string will available in BW browser.
Higher points will be rewarded for valuable inputs.
Thanks in Advance,
Dharanihi ,
What krishna suggested is right ... Another method can be like :
&CMD=LDOC&infocube=0D_DECU&query=SALES_DEMO_2
Get this information from your BI consultant.
Please close thread if you got ur answer!!!
Regards
Parth -
How to fetch the query by a report
Post Author: gionnyDeep
CA Forum: Data Connectivity and SQL
How to fetch the query by a report.I need to manipulate it and pass it again to the report.
Any idea?Post Author: gionnyDeep
CA Forum: Data Connectivity and SQL
I just need to get the query of a report.
You know that a report is buld up on a sql query.I just want to know how to get that query starting by a java ReportClientDocument.
And I found reportClientDoc.getDatabaseController().getDatabase() to fetch DataBase object .After that I do not know the exact sequence of methods for fetch the query
Sorry for my english -
Hi Experts,
Pls. let me know that,
How to fetch the SAP Standard Prog. built internal table into my_z_prog.?
For more explannation, pls. see my other thread with name of yestrday,
SUBMIT RFGLBALANCE WITH selection criteria, then How to get resulted itab?
thanqHi
Suppose RFGLBALANCE is your standard program and you have an internal table named I_RFGLBALANCE.
And lets say your Z program name is Z_SRINIVAS.
First find out the type of the internal table you want in your Z-program in the standard program. And declare an internal table of similar type in your Z-program.
I hope you can do this much.
Later wherever you are putting the below mentioned code.
SUBMIT RFGLBALANCE WITH selection criteria
Write the code which i have written.Obviously modify it to suit your requirement.
Please show what is not working fine so that even anyone else can help you with the problem you are facing.
Regards,
Mayank -
How to fetch the Business area field value from MIRo into report
Hi,
I want to create a report for MIRO with payment details.
How to fetch the business area field value in to report.
What is the table name. I verified it is storing in structure. Which is the right table for fetching that value with reference to MIRO.
After that, how to find the accounting document for payment and check details.
What are the table names and field names. What we can get from PAYR table.
With regards
LakkiDear,
For Bussiness area
RKPF-GSBER
Maybe you are looking for
-
DVD drive cannot read some of my data dvd's
When I put in some of my data dvd, it reads it as a blank media. It is strange. I can read data of the exact same DVD in another mac computer. The problem is I can read some, but some I cannot read. Burning is no problem / no errors. Any thoughts wou
-
Acrobat 9 pro crashes when trying to distribute
win xp sp3 acrobat 9 pro new-ish to acrobat I have an interactive form, created in acrobat 9 pro. Every time I try to distribute it (forms > distribute form > manually collect responses in my email inbox > save a local copy and manualy send it later
-
How to use customer_update_sales_area
Hi Friendz Could anybody tell me How I would use this function module to upload partner function. I can find documentation for this. Warm regards Manisha
-
Assigning the role to user - not getting the page and tabs showing.
I have a role with a page that contains 2 demo iviews. They preview ok. but when I assign the role to user, it does not come up. Could some one send me a help document for SP2?
-
How to get substring from string using index?
hi, here i am having string , i want the pullareddy from below line , i know how to get from substring. but i want to get the above using "index", can any help how to do it? String str1="janapana,pullareddy, in malaysia"; jpullareddy