Table for PR04 weekly trips with individual dates
We have a couple of ABAPS we are having issues with. these are using tables like PTRV_HEAD & PTRV_SHDR to get trip data. The problem with these tables is they only have a single entry for the week with a Week commencing and week ending date - The data is entered in the weekly view using transaction PR04
What I'm looking for is being able to get the actual day of the week the trip(s) were made, but I can't find where/how SAP stores the data for each individual trip in the week
As an example, if an employee does 1000 miles on Tue 2/8, and 500 on Thurs 4/8. The tables show
Trip 1234, BEGDA 1/8, ENDDA 7/8, Miles 1500
Is there a table that shows something like....
Trip 1234/1, Date 2/8, Miles 1000
Trip 1234/2, Date 4/8, Miles 500
Any help or advice you can give on getting to the individual dates would be appreciated
Thanks
Graham
Hi Graham
I don't know if this can help you, because we don't use PR04.
"My" Abap programmer used a function called BAPI_TRIP_GET_DETAILS to get data of a concrete trip.
Best regards,
Paco M
Similar Messages
-
Creating Web service for PL/SQL Procedure with Complex Data Types
I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?
Hello,
When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
You can find more information in the:
- Developing Web Services that Expose Database Resources
chapter of the Web Service Developer's guide.
Regards
Tugdual Grall -
Table for WBS status change with date
Hi,
Please assist me with a table name which should have WBS status with date on which statis was changed.
Thanks,
Manish.Hi
You can use program (SE38) RBSVCDOC to track these changes. Else go manually in CJ20N to track these status changes.
Use JCDS and JEST table for any other reporting on it.
*Kindly mark your thread once your query is resolved.*
Regards
Saurabh -
Table for Billing Details(in Sales Area Data) in BP
Hi,
Can you let me know the table name for Billing Details(in Sales Area Data) in BP xn.
Please Help.
NeerajHi,
CRMD_BILLING Contains billing related information.
see these tables also..
CRMD_BILLPLAN
CRMD_BILLPLAN_D
CRMD_BILLPLAN_DA
Regards
Srinu -
Strategies for populating drop downs with external data
Hi,
I have a couple nice forms that call various array scripts that populate drop down boxes based on a selection. Everytime I need to update pricing, models, etc... I have to go in and manually edit the array. I am using just designer - we do not have the server version.
Is there a better way to do this ranther than edit the array and keep saving version? I have seen some expamples using anXML file to the form. This looks like a solution but I am not sure how to do it if this.
It would be nice to have seperate database that contained my widgets external, update it and then make the connection.
Any help would be apprecated!This is a similar thread....
http://forums.adobe.com/message/5538822#5538822
Maybe this is a taboo subject as it something adobe wants you to buy the server version for... I see this get asked many times but there never seems to be a direct answer.
In an effort to make my question more clear - If i have users out there with a form, and I want to update the form with a nightly updated file, that may contain pricing for example, how can one do this?
So the core form stays the same, but dropdowns can be populated with external data.
Thanks in advnace for any all help. -
Not showing up for 2 weeks then with original release date
I bought all of these today. Searched for all of them last Monday and did not find. Yet they claim to have old release dates. Last week I found on Christmas song actually there for the first time.
These are listed with the following release dates but none of them were there last week...
Warm Fuzzy Missing 06/01/2010
Andy Gibbard Colliding - Single 04/01/2010
Franco Nature's Warning 04/01/2010
Ratz The Ratz Smell 04/01/2010
Planet Love Sound Thirsty 04/01/2010
Theemu A Brand New Start 03/01/2010
Perfect Static Don't Go 03/01/2010
Six Volt Girl Next Door 03/01/2010
One Hit Tragedy Let Love Breathe 02/01/2010
Glass Pear Where Is My Home? - Single 02/01/2010
Mary Elise Moon and Stars - Single 31/12/2009
Tom McFadden & The Nervous System My Country Is Better Than Your Country - EP 31/12/2009
Dark Scarlett Three Tracks - EP 31/12/2009I also don't know why these forums don't have an "iTunes store" section.
You mean like this? -> Using iTunes Store with Windows
or this ? -> Using iTunes Store with iTunes for Mac
It is the same regardless of what operating system you run your client on.
The actual store is the same though iTunes is slightly different, such as some of the options and key presses.
If someone were having problems, the first question I would ask is what computer and OS is being used.
If a question is posted in the *Using iTunes Store with Windows forum*, I won't need to ask. -
MB5B Report table for Open and Closing stock on date wise
Hi Frds,
I am trying get values of Open and Closing stock on date wise form the Table MARD and MBEW -Material Valuation but it does not match with MB5B reports,
Could anyone suggest correct table to fetch the values Open and Closing stock on date wise for MB5B reports.
Thanks
Mohan MHi,
Please check the below links...
Query for Opening And Closing Stock
Inventory Opening and Closing Stock
open stock and closing stock
Kuber -
Writing a java program for generating .pdf file with the data of MS-Excel .
Hi all,
My object is write a java program so tht...it'll generate the .pdf file after retriving the data from MS-Excel file.
I used POI HSSF to read the data from MS-Excel and used iText to generate .pdf file:
My Program is:
* Created on Apr 13, 2005
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
package forums;
import java.io.*;
import java.awt.Color;
import com.lowagie.text.*;
import com.lowagie.text.pdf.*;
import com.lowagie.text.Font.*;
import com.lowagie.text.pdf.MultiColumnText;
import com.lowagie.text.Phrase.*;
import net.sf.hibernate.mapping.Array;
import org.apache.poi.hssf.*;
import org.apache.poi.poifs.filesystem.*;
import org.apache.poi.hssf.usermodel.*;
import com.lowagie.text.Phrase.*;
import java.util.Iterator;
* Generates a simple 'Hello World' PDF file.
* @author blowagie
public class pdfgenerator {
* Generates a PDF file with the text 'Hello World'
* @param args no arguments needed here
public static void main(String[] args) {
System.out.println("Hello World");
Rectangle pageSize = new Rectangle(916, 1592);
pageSize.setBackgroundColor(new java.awt.Color(0xFF, 0xFF, 0xDE));
// step 1: creation of a document-object
//Document document = new Document(pageSize);
Document document = new Document(pageSize, 132, 164, 108, 108);
try {
// step 2:
// we create a writer that listens to the document
// and directs a PDF-stream to a file
PdfWriter writer =PdfWriter.getInstance(document,new FileOutputStream("c:\\weeklystatus.pdf"));
writer.setEncryption(PdfWriter.STRENGTH128BITS, "Hello", "World", PdfWriter.AllowCopy | PdfWriter.AllowPrinting);
// step 3: we open the document
document.open();
Paragraph paragraph = new Paragraph("",new Font(Font.TIMES_ROMAN, 13, Font.BOLDITALIC, new Color(0, 0, 255)));
POIFSFileSystem pofilesystem=new POIFSFileSystem(new FileInputStream("D:\\ESM\\plans\\weekly report(31-01..04-02).xls"));
HSSFWorkbook hbook=new HSSFWorkbook(pofilesystem);
HSSFSheet hsheet=hbook.getSheetAt(0);//.createSheet();
Iterator rows = hsheet.rowIterator();
while( rows.hasNext() ) {
Phrase phrase=new Phrase();
HSSFRow row = (HSSFRow) rows.next();
//System.out.println( "Row #" + row.getRowNum());
// Iterate over each cell in the row and print out the cell's content
Iterator cells = row.cellIterator();
while( cells.hasNext() ) {
HSSFCell cell = (HSSFCell) cells.next();
//System.out.println( "Cell #" + cell.getCellNum() );
switch ( cell.getCellType() ) {
case HSSFCell.CELL_TYPE_STRING:
String stringcell=cell.getStringCellValue ()+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(stringcell);
// document.add(new Phrase(string));
System.out.print( cell.getStringCellValue () );
break;
case HSSFCell.CELL_TYPE_FORMULA:
String stringdate=cell.getCellFormula()+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(stringdate);
System.out.print( cell.getCellFormula() );
break;
case HSSFCell.CELL_TYPE_NUMERIC:
String string=String.valueOf(cell.getNumericCellValue())+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(string);
System.out.print( cell.getNumericCellValue() );
break;
default:
//System.out.println( "unsuported sell type" );
break;
document.add(new Paragraph(phrase));
document.add(new Paragraph("\n \n \n"));
// step 4: we add a paragraph to the document
} catch (DocumentException de) {
System.err.println(de.getMessage());
} catch (IOException ioe) {
System.err.println(ioe.getMessage());
// step 5: we close the document
document.close();
My Input from MS-Excel file is:
Planning and Tracking Template for Interns
Name of the Intern N.Kesavulu Reddy
Project Name Enterprise Sales and Marketing
Description Estimated Effort in Hrs Planned/Replanned Actual Actual Effort in Hrs Complexity Priority LOC written new & modified % work completion Status Rework Remarks
S.No Start Date End Date Start Date End Date
1 setup the configuration 31/01/2005 1/2/2005 31/01/2005 1/2/2005
2 Deploying an application through Tapestry, Spring, Hibernate 2/2/2005 2/2/2005 2/2/2005 2/2/2005
3 Gone through Componentization and Cxprice application 3/2/2005 3/2/2005 3/2/2005 3/2/2005
4 Attend the sessions(tapestry,spring, hibernate), QBA 4/2/2005 4/2/2005 4/2/2005 4/2/2005
The o/p I'm gettint in .pdf file is:
Planning and Tracking Template for Interns
N.Kesavulu Reddy Name of the Intern
Enterprise Sales and Marketing Project Name
Remarks Rework Status % work completion LOC written new & modified Priority
Complexity Actual Effort in Hrs Actual Planned/Replanned Estimated Effort in Hrs Description
End Date Start Date End Date Start Date S.No
38354.0 31/01/2005 38354.0 31/01/2005 setup the configuration 1.0
38385.0 38385.0 38385.0 38385.0 Deploying an application through Tapestry, Spring, Hibernate
2.0
38413.0 38413.0 38413.0 38413.0 Gone through Componentization and Cxprice application
3.0
38444.0 38444.0 38444.0 38444.0 Attend the sessions(tapestry,spring, hibernate), QBA 4.0
The issues i'm facing are:
When it is reading a row from MS-Excel it is writing to the .pdf file from last cell to first cell.( 2 cell in 1 place, 1 cell in 2 place like if the row has two cells with data as : Name of the Intern: Kesavulu Reddy then it is writing to the .pdf file as Kesavulu Reddy Name of Intern)
and the second issue is:
It is not recognizing the date format..it is recognizing the date in first row only......
Plz Tell me wht is the solution for this...
Regards
[email protected]Don't double post your question:
http://forum.java.sun.com/thread.jspa?threadID=617605&messageID=3450899#3450899
/Kaj -
How to get week starting with sunday date
Hi
I have a date column "start_date", i need to create a report for all the weeks starting from sunday , for eg:
i need to get week dates as :
mm/dd/yy - 01/23/11 , 01/16/11 , 01/09/11 and so on...
Please help
Thanks...Hi,
To find the last Sunday before or equal to start_date:
SELECT TRUNC ( start_date + 1
, 'IW'
) - 1 AS week_start_date
...You can use an expression like this in a GROUP BY clause, also.
This does not depend on you NLS settings. ISO weeks always start on Monday. Your week starts 1 day earlier, so that's why the expression above has the +1 and -1.
(Depending on you NLS settings,
SELECT TRUNC ( start_date
, 'D'
) AS week_start_date
...might do the same thing, but I still rocommend using 'IW'; a few extra keystrokes isn;t much to pay for a guarantee that it will always work.)
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data. -
Problem defining partition for storing value 0 with new data
Hi forumers,
I've a problem with partitioning and need some advices.
I've a table that will be partitioned by column Process_N which have values from 0 to 50000:
Process_N between 1 and 29999 represents old data;
Process_N >= 30000 represents new data;
Process_N = 0 means the row is not processed yet and so these value represents new data too.
Can I have a partition for old values (from 1 to 29999) and another partition to store new values (0 + values >= 30000) ? Hou can I define that ?
Thank you in advance.
Best Regards,
HelenaHelena,
What's your oracle version? I think it will be better to create 3 partitions usign RANGE partitions (< 1, 2-29999, >=30000 <=50000). Is there a specific reason you want to include 0 and values greater than 29000 in one partition? What the significant difference between 0 and 30000 specially as both represent new data?
CREATE TABLE my_part_table (
process_n NUMBER NULL,
my_data VARCHAR2 (1 BYTE) NULL,
my_other_data VARCHAR2 (30 BYTE) NULL,
data_state NUMBER NULL
TABLESPACE test_data
PARTITION BY RANGE (process_n)
(PARTITION partition_0
VALUES LESS THAN (1)
TABLESPACE test_data,
PARTITION partition_2_29999
VALUES LESS THAN (30000)
TABLESPACE test_data,
PARTITION partition_30000
VALUES LESS THAN (50001)
TABLESPACE test_data);Regards -
Table for Analysis authorization along with values for authorization fields
Hi,
I am looking for table that contains the Analysis Authorization name along with values for all the authorization fields within this Analysis Authorization. Individually i can go to PFCG or Rsecadmin but since i need all the Analysis auth objects, i need to get this info into excel, so need a table.Hi Prashanth
You can check RSECVAL that is appropriate for your requirement please let us know if any further help is needed.
Thanks & Regards
Santosh Varada -
Need help for storing time along with the date
Hi,
I have one procedure as follows, In last_update_column of the table job_data having date and time.But after execution of this procedure only date is inserting into the job_master.
If I queires the table job_master with to_char(Last_Update_Date, 'DD-MM-YYYY HH24:MI:SS') , then it is showing time as 12:00:00.
I tried to insert date with to_char,to_date format but it is not working.
Please provide me the solution.
Thanks in advance.
create or replace
PROCEDURE SP_LOAD_JOB
IS
CURSOR CUR_DATA IS
SELECT PARENT_ITEM,
` CHILD_ITEM_ID,
LAST_UPDATE_DATE
FROM job_data,
BEGIN
For Cursor_job In CUR_DATA
Loop
Exit When CUR_DATA%Notfound;
Insert Into job_master(parent_Code,
child_code,
last_update_date)
values(
Cursor_job.PARENT_ITEM,
Cursor_job.CHILD_ITEM_ID, ,
Cursor_job.Assembly_Item_Id,
Cursor_Bom.LAST_UPDATE_DATE)
commit;
end loop;
END;Hi,
I don't believe you
First to input time to job_master from job_data table first you have to store time in job_data.
execute
select LAST_UPDATE_DATE from job_data
and show result.
Second remark : your procedure will not compile success Because
Insert Into job_master(parent_Code,
child_code,
last_update_date) ---3columns
values(
Cursor_job.PARENT_ITEM,
Cursor_job.CHILD_ITEM_ID, ,
Cursor_job.Assembly_Item_Id,
Cursor_Bom.LAST_UPDATE_DATE) ----4columns
Third remark : why to insert into table from other you wrote procedure???! you need only type insert stmt like this
Insert Into job_master(parent_Code,
child_code,
last_update_date)
select .... from job_data
Ramin Hashimzade -
How to calculate correct week startdate with given date
import java.util.Date;
public class MyDate
public static void main(String args[]){
Date d1 = new Date();
System.out.println("The system date is "+d1.toString());
//enter some date and it should get starting date and ending date
//say for sample I enter 01/23/2006 and it should get
//start date as 12.00 AM 01/23/2006 and end date as 11.99 01/29/2006
//and it should automatically do whatever that gets for current
//date
Hi,
I have some date has current date and it should calculate starting date of the week and the
the next date that is 7 days old with one second less as described below
//enter some date and it should get starting date and ending date
//say for sample I enter 01/23/2006 and it should get
//start date as 12.00 AM 01/23/2006 and end date as 11.99 01/29/2006
//and it should automatically do whatever that gets for current
//date
Any help in this regard is appreciated.
Thanks
ChatfFor starters, you'll want to use the java.util.Calendar class.
-
Table for material doc reference with frieght miro
Dear experts,
I WANT TO DEVELOP A REPORT FOR FREIGHT MIRO WITH FOLLWING DETAIL :
GRN NO OR MAT DOC NO,GRN DATE , PO NO, PO DATE,MATNO, VENDOR, MIRO DOC NO,MIRO ITEM NO, MIRO DATE, REFERENCE NO, QTY IN UNIT OF ENTRY,QTY IN DELIVERY NOTE , INVOICE AMT,GROSS INVOICE AMT .
THEREFOR I NEED TO JOIN SOME TABLES . I HAVE TRIED REPORT WITH RSEG & MSEG BUT IN RSEG MAT DOCUMENT NO IS NOT AVAILABLE FOR FREIGHT . HOW & WHICH TABLE I HAVE TO JOIN FOR THE SAME ,SO THAT I GET ALL THE INFORMATION IN MY REPORT.IF U HAVE ANY READYMADE CODING FOR ABOVE REPORT, PL. SEND IT IN MY ID - rajrathi1at gmail. com
REGARDS
RAJESH RATHIHi,
You have to use following tables;
RBCO - Document Item, Incoming Invoice, Account Assignment
RBDIFFKO - Invoice Verification - Conditions
RBDIFFME - Batch Invoice Verification - Quantity Differences
RBDRSEG - Batch IV: Invoice Document Items
RBKP - Document Header: Invoice Receipt
RBKP_BLOCKED - Logistics Invoice Verification: Blocked Invoices
RBKPB - Invoice Document Header (Batch Invoice Verification)
RBMA - Document Item: Incoming Invoice for Material
RBSELBEST - Invoice Receipt, Purchasing Documents Selection
RBSELDELI - Incoming Invoice: Delivery Selection
RBSELERFB - Invoice Receipt, Service Entry Sheet Selection
RBSELFRBR - Invoice Receipt, Bills of Lading Selection
RBSELLBLN - Invoice Receipt, Bills of Lading Selection
RBSELLIFS - Invoice Receipt, Delivery Notes Selection
RBSELWERK - Invoice Receipt, Plants Selection
RBTX - Taxes: Incoming Invoice
RBVD - Invoice Document - Aggregation Data
RBVDMAT - Invoice Verification - Aggregation Data, Material
RBVS - Invoice Verification: Split Invoice Amount
RBWS - Withholding Tax Data, Incoming Invoice
RBWT - Withholding Tax Data, Incoming Invoice -
I installed V8.0.1 several weeks ago (or what I thought was V8.0.1) and got Awesome Screenshot (A.S.). Although it was stated that AS was not compatible with V8.0.1 I installed it any way and it worked. I have been using it every day until this morning. Another Firefox update came down this morning. Although I clicked the “Update Later” box, it updated at that time anyway. (This has happened every time I received an update in the past and clicked “Update Later” box, but that another problem; not the issue today.) After today’s update completed and I restarted Firefox. I check the version and it still was V8.0.1. All of my extensions were gone. I followed the instruction for re-enabling. All of the extensions were marked “disabled”. Only two of them had “enable” buttons (Garmin Communicator and InvisibleHand), both of which I didn’t load nor use. All extensions had “Remove” buttons. Is there any way for me to get A.S. working, I use it often. If not, how about “Screengrab”. That’s better than nothing.
I am using Windows XP Professional SP3.
Thanks for your help.
Andy Marino
[email protected]There is a known issue where multiple instances of plugin container open if history or cookies are cleared. Are you, or some utility clearing firefox cookies or history, that could be the reason. This problem continues even if plugins are disabled in Firefox.
*Are you opening multiple instances of Flash Player ?
* Is the problem reproducible ? <br/> for instance does it always crash the plugin or cause it to hang if you use a particular site ?
If you get the FlashPlayer plugin crashing use the option to submit the crash reports, it is then possible to follow them up. It is possible to stop the plugincontainer opening, but that could result in a firefox crash. Of course the firefox crash can also send crash reports out, and that could be useful.
* see [[plugin crash reports]]
* [[what is plugin-container]]
* [[firefox crashes]]
There are some problems with FlashPlayer currently under investigation, and there may be other threads in the forum about problems. (e.g. Bug 561019 - Plugin waveOutOpen hangs )
Sometimes using Firefox 3.6 is a workaround that helps with FlashPlayer problems, if you wish to experiment with that consider installing firefox Portable and using Firefox 3.6.23 (or soon 3.6.24) for tests with flash player, whilst keeping firefox 7 for day to day browsing.
* [[http://portableapps.com/apps/internet/firefox_portable/localization#legacy36]]
Maybe you are looking for
-
ORA-06562: type of out argument must match type of column or bind variab
Hi everybody I have this -6562 oracle error when running a procedure where ther's the dbms_sql package here is the code : PROCEDURE PROC_CREATE_CAT_FILES ( v_period in varchar2, v_cat_files_dir in varchar2 as v_detail varchar2(2000); cursor_name INTE
-
Order Type Group - CRM 7.0 B2B Ecommerce with ERP Sales Order Scenario
Hello Experts Scenario: CRM 7.0 with ERP Sales Order How can we use ORDER TYPE GROUP in CRM 7.0 B2B E-commerce with ERP sales order? With CRM as a back end this ORDER TYPE GROUP functionality is available as OOTB, but with ECC as a back end is this a
-
Cannot use isight camera with Windows 7 x32 on Macbook mid-2009
Very very weird, it worked until bootcamp was upgraded mid next year. I have been looking for a solution siunce then. Wife is using the notebook and she is mad every time she is answering call from Skype or MSN Messenger she needs to reboot into Lion
-
Hi....I want to capture the picture into a Blob column.I have a PC and a camera.What should I do.
-
Buenos dias, tengo un error con mi iPhone 4.
Ayer estaba usandolo normal, pero hoy cuando lo fui a prender no lo hizo, tampoco me lo reconoce iTunes, he tratado de hacerlo entrar en modo DFU y tampoco nada, no prende ni nada, me podrian ayudar, muchisimas gracias.