How to see code for a datasource?
Dear Bwers,
i want to see the code written for the datasource 0MATERIAL_ATTR in R/3 where there was a zfield added earlier. How do i do it? Thanks for the help.
Raj
Hi,
Go to CMOD check for the project they have created.Then click to get into the standard exit:exit_saplrsap_0001 and double click it so that the include program screen appears.
double click it to see your code.
Hope this helps.
Asssign points if useful.
Venkat
Similar Messages
-
How to write code for font family using swing?
how to write code for font family using swing?
i tried this code.but i got only font styles.but i need font family.observ this code
import java.awt.*;
import java.awt.event.*;
public class fontSelect extends java.awt.Dialog implements AdjustmentListener, ItemListener, TextListener, ActionListener {
public Font selectedFont; //to get result
public boolean isSelected = false;
public Color selectedBackground, selectedForeground;
public fontSelect(Frame parent, boolean modal) {
super(parent, modal);
String fntName[] = getToolkit().getFontList();
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
String[] names = ge.getAvailableFontFamilyNames();
//{{INIT_CONTROLS
setLayout(null);
setVisible(false);
//setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setSize(insets().left + insets().right + 380,insets().top + insets().bottom + 282);
setBackground(java.awt.Color.lightGray);
fontList = new java.awt.Choice();
//fontList = new java.awt.List(0,false);
add(fontList);
fontList.setBounds(insets().left +25,insets().top + 50,137,144);
//label1 = new java.awt.Label("Example:-");
//label1.setBounds(insets().left + 220,insets().top + 36,84,30);
//add(label1);
exampleText = new java.awt.TextField();
//exampleText.setText("sample string ");
//exampleText.setBounds(insets().left + 40,insets().top + 50,84,21);
//add(exampleText);
label2 = new java.awt.Label("Font Family:-");
label2.setBounds(insets().left + 25,insets().top + 30,70,19);
add(label2);
isBold = new java.awt.Checkbox("Bold");
isBold.setBounds(insets().left + 320,insets().top + 90,60,18);
isBold.setFont(new Font("Times New Roman", Font.BOLD, 12));
add(isBold);
isItalic = new java.awt.Checkbox("Italic");
isItalic.setBounds(insets().left + 250,insets().top + 90,48,17);
isItalic.setFont(new Font("Times New Roman", Font.ITALIC, 12));
add(isItalic);
showFont = new java.awt.Label("samplestring ",Label.CENTER);
showFont.setBounds(insets().left + 240,insets().top +50,120,30);
showFont.setBackground(java.awt.Color.white);
add(showFont);
label11 = new java.awt.Label("Size:-");
label11.setBounds(insets().left + 290,insets().top + 120,70,19);
add(label11);
fontSize = new java.awt.Choice();
add(fontSize);
//label11 = new java.awt.Label("Example string");
fontSize.setBounds(insets().left + 290,insets().top + 140,60,23);
fontSize.setBackground(java.awt.Color.white);
btnSelect = new java.awt.Button();
btnSelect.setLabel("Select");
btnSelect.setBounds(insets().left + 280,insets().top + 190,87,24);
add(btnSelect);
btnCancel = new java.awt.Button();
btnCancel.setLabel("Cancel");
btnCancel.setBounds(insets().left + 280,insets().top + 230,91,24);
add(btnCancel);
label3 = new java.awt.Label("Background:-");
label3.setBounds(insets().left + 24,insets().top + 90,94,18);
add(label3);
rBackground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,255,0,0,255);
rBackground.setBounds(insets().left + 24,insets().top +110 ,197,21);
add(rBackground);
gBackground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,255,0,0,255);
gBackground.setBounds(insets().left + 24,insets().top + 135,197,21);
add(gBackground);
bBackground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,255,0,0,255);
bBackground.setBounds(insets().left + 24,insets().top + 160,197,21);
add(bBackground);
label4 = new java.awt.Label("R");
label4.setBounds(insets().left + 12,insets().top + 110,12,18);
label4.setFont(new Font("Times New Roman", Font.BOLD, 12));
label4.setForeground(java.awt.Color.red);
add(label4);
label5 = new java.awt.Label("G");
label5.setBounds(insets().left + 12,insets().top + 135,12,18);
label5.setFont(new Font("Times New Roman", Font.BOLD, 12));
label5.setForeground(new Color(-16744448));
add(label5);
label6 = new java.awt.Label("B");
label6.setBounds(insets().left + 12,insets().top + 160,12,18);
label6.setFont(new Font("Times New Roman", Font.BOLD, 12));
label6.setForeground(java.awt.Color.blue);
add(label6);
rBackValue = new java.awt.Label("255");
rBackValue.setBounds(insets().left + 225,insets().top + 110,24,12);
rBackValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
rBackValue.setForeground(java.awt.Color.red);
add(rBackValue);
gBackValue = new java.awt.Label("255");
gBackValue.setBounds(insets().left + 225,insets().top + 135,24,12);
gBackValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
gBackValue.setForeground(new Color(-16744384));
add(gBackValue);
bBackValue = new java.awt.Label("255");
bBackValue.setBounds(insets().left + 225,insets().top + 160,24,12);
bBackValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
bBackValue.setForeground(java.awt.Color.blue);
add(bBackValue);
label7 = new java.awt.Label("Foreground:-");
label7.setBounds(insets().left + 20,insets().top + 185,94,18);
add(label7);
rForeground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,0,0,0,255);
rForeground.setBounds(insets().left + 20,insets().top + 205,197,21);
add(rForeground);
gForeground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,0,0,0,255);
gForeground.setBounds(insets().left + 20,insets().top + 230,197,21);
add(gForeground);
bForeground = new java.awt.Scrollbar(Scrollbar.HORIZONTAL,0,0,0,255);
bForeground.setBounds(insets().left + 20,insets().top + 255,197,21);
add(bForeground);
label8 = new java.awt.Label("R");
label8.setBounds(insets().left + 10,insets().top + 205,12,18);
label8.setFont(new Font("Times New Roman", Font.BOLD, 12));
label8.setForeground(java.awt.Color.red);
add(label8);
label9 = new java.awt.Label("G");
label9.setBounds(insets().left + 10,insets().top + 230,12,18);
label9.setFont(new Font("Times New Roman", Font.BOLD, 12));
label9.setForeground(new Color(-16744448));
add(label9);
label10 = new java.awt.Label("B");
label10.setBounds(insets().left + 10,insets().top + 255,12,18);
label10.setFont(new Font("Times New Roman", Font.BOLD, 12));
label10.setForeground(java.awt.Color.blue);
add(label10);
rForeValue = new java.awt.Label("255");
rForeValue.setBounds(insets().left + 220,insets().top + 205,24,12);
rForeValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
rForeValue.setForeground(java.awt.Color.red);
add(rForeValue);
gForeValue = new java.awt.Label("255");
gForeValue.setBounds(insets().left + 220,insets().top + 230,24,12);
gForeValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
gForeValue.setForeground(new Color(-16744384));
add(gForeValue);
bForeValue = new java.awt.Label("255");
bForeValue.setBounds(insets().left + 220,insets().top + 255,24,12);
bForeValue.setFont(new Font("Times New Roman", Font.BOLD, 12));
bForeValue.setForeground(java.awt.Color.blue);
add(bForeValue);
setTitle("Choosing font");
//{{REGISTER_LISTENERS
exampleText.addTextListener(this);
btnSelect.addActionListener(this);
btnCancel.addActionListener(this);
isBold.addItemListener(this);
fontList.addItemListener(this);
isItalic.addItemListener(this);
fontSize.addItemListener(this);
rBackground.addAdjustmentListener(this);
gBackground.addAdjustmentListener(this);
bBackground.addAdjustmentListener(this);
rForeground.addAdjustmentListener(this);
gForeground.addAdjustmentListener(this);
bForeground.addAdjustmentListener(this);
for (int i = 0; i < (int)fntName.length; i++)
fontList.addItem(fntName);
showFont.setFont(new Font(fntName[0], Font.PLAIN, 12));
// GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
//String[] names = ge.getAvailableFontFamilyNames();
for ( int i=0; i<names.length; i++ )
System.out.println( names[i] );
selectedBackground = showFont.getBackground();
selectedForeground = showFont.getForeground();
int i = 8;
do {
fontSize.addItem(""+i);
if (i<=30) i+=2;
else if (i<=70) i+=4;
else i+=8;
} while (i<150);
try {
fontSize.select(2);
} catch (IllegalArgumentException e) { }
//{{DECLARE_CONTROLS
//java.awt.List fontList;
java.awt.Label label11;
java.awt.Label label1;
java.awt.TextField exampleText;
java.awt.Label label2;
java.awt.Checkbox isBold;
java.awt.Checkbox isItalic;
java.awt.Label showFont;
java.awt.Choice fontSize;
java.awt.Choice fontList;
java.awt.Button btnSelect;
java.awt.Button btnCancel;
java.awt.Label label3;
java.awt.Scrollbar rBackground;
java.awt.Scrollbar gBackground;
java.awt.Scrollbar bBackground;
java.awt.Label label4;
java.awt.Label label5;
java.awt.Label label6;
java.awt.Label rBackValue;
java.awt.Label gBackValue;
java.awt.Label bBackValue;
java.awt.Label label7;
java.awt.Scrollbar rForeground;
java.awt.Scrollbar gForeground;
java.awt.Scrollbar bForeground;
java.awt.Label label8;
java.awt.Label label9;
java.awt.Label label10;
java.awt.Label rForeValue;
java.awt.Label gForeValue;
java.awt.Label bForeValue;
private Font constructFont() {
int l;
try {
l = Integer.parseInt(fontSize.getSelectedItem());
} catch (NumberFormatException e) {l = 12;}
selectedFont = new Font(fontList.getItem(fontList.getSelectedIndex()>=0?fontList.getSelectedIndex():0 ), (isBold.getState()?Font.BOLD:0)+(isItalic.getState()?Font.ITALIC:0), l);
selectedBackground = new Color(rBackground.getValue(), gBackground.getValue(), bBackground.getValue());
selectedForeground = new Color(rForeground.getValue(), gForeground.getValue(), bForeground.getValue());
return (selectedFont);
public void textValueChanged(java.awt.event.TextEvent event) {
Object object = event.getSource();
if (object == exampleText) showFont.setText(exampleText.getText());
public void actionPerformed(java.awt.event.ActionEvent event) {
Object object = event.getSource();
if (object == btnSelect) {
isSelected = true;
selectedFont = constructFont();
dispose();
} else if (object == btnCancel) {
selectedFont = null;
selectedBackground = null;
selectedForeground = null;
dispose();
public void itemStateChanged(java.awt.event.ItemEvent event) {
Object object = event.getSource();
if (object == isBold) showFont.setFont(constructFont());
else if (object == fontList) showFont.setFont(constructFont());
else if (object == isItalic) showFont.setFont(constructFont());
else if (object == fontSize) showFont.setFont(constructFont());
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent event)
Object object = event.getSource();
constructFont();
showFont.setBackground(new Color(rBackground.getValue(), gBackground.getValue(), bBackground.getValue()));
showFont.setForeground(new Color(rForeground.getValue(), gForeground.getValue(), bForeground.getValue()));
if (object == rBackground) rBackValue.setText(""+rBackground.getValue());
else if (object == gBackground) gBackValue.setText(""+gBackground.getValue());
else if (object == bBackground) bBackValue.setText(""+bBackground.getValue());
else if (object == rForeground) rForeValue.setText(""+rForeground.getValue());
else if (object == gForeground) gForeValue.setText(""+gForeground.getValue());
else if (object == bForeground) bForeValue.setText(""+bForeground.getValue());Okay, that's better. It would have been nice if the code was formatted, and if there was about 20% of that code. (Your example could have been just one JLabel and nothing else, for example.)
Anyway, now that you've posted that code, what is your question about it? I see you are calling a "getAvailableFontFamilyNames" method; do you have a question about that? If so, what is the question? -
How to write code for page up and page down buttons on alv screen?
Hi,
Page up and page down buttons are not working in general alv report. Thease buttons are in disable mode. But is stnd. transactions (tcode : fbl5n) these are enabled and working properly, but we can't debug this with /h
How to write code for page up and page down buttons on alv screen?Poonam,
On doing the screen debugging it took me over to Include LSTXWFCC ,kindly check the below code.
module cc_display.
fcode = sy-ucomm(4).
case sy-ucomm(4).
when 'P--'.
perform cc_firstpage.
when 'P-'.
perform cc_prevpage.
when 'P+'.
perform cc_nextpage.
when 'P++'.
perform cc_lastpage.
when 'EX--'.
perform cc_firstcopy.
when 'EX-'.
perform cc_prevcopy.
when 'EX+'.
perform cc_nextcopy.
when 'EX++'.
perform cc_lastcopy.
I guess it can give you some lead.
K.Kiran. -
How to write code for totals and subtotals in alv programing?
how to write code for totals and subtotals in alv programing?
hi,
1. <u><b>TOTAL.</b></u>
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm
2. <u><b>How do I add subtotals</b></u>
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
Regards
Anver -
How to write code for save file directory?
how to write code for save file directory?
how to find usa timezone code using java swing?
i have some code help me
public class ItsInitializer {
private static boolean s_initialized = false;
private ItsInitializer() {
public static synchronized void initialize() {
if (!s_initialized) {
// Modifies default time zone, disables Daylight Saving Time.
TimeZone l_defaultTimeZone = TimeZone.getDefault();
int l_rawOffset = l_defaultTimeZone.getRawOffset();
String l_id = l_defaultTimeZone.getID();
SimpleTimeZone l_simpleTimeZone = new SimpleTimeZone(l_rawOffset,
l_id,
0,
0,
0,
0,
0,
0,
0,
0);
TimeZone.setDefault(l_simpleTimeZone);
s_initialized = true;
2.
long timeMillis = ...;
long time = timeMillis / 1000;
String seconds = Integer.toString((int)(time % 60));
String minutes = Integer.toString((int)((time % 3600) / 60));
String hours = Integer.toString((int)(time / 3600));
for (int i = 0; i < 2; i++) {
if (seconds.length() < 2) {
seconds = "0" + seconds;
if (minutes.length() < 2) {
minutes = "0" + minutes;
if (hours.length() < 2) {
hours = "0" + hours;
3.
import java.text.SimpleDateFormat;
import java.util.Date;
public class Convert {
public String getDateTime(String pattern){
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
return sdf.format(new Date());
* @param args
public static void main(String[] args) {
Convert con = new Convert();
System.out.println(con.getDateTime("hh:mm:ss"));
5.import java.text.SimpleDateFormat;
import java.util.Date;
public class Convert {
public String getDateTime(String pattern){
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
return sdf.format(new Date());
* @param args
public static void main(String[] args) {
Convert con = new Convert();
System.out.println(con.getDateTime("hh:mm:ss"));
[ November 23, 2005: Mess
private Locale locale = Locale.US;
private static final String[] tzStrings = {
"America/New_York",
"America/Chicago",
"America/Denver",
"America/Los_Angeles",
Date now = new Date();
for ( TimeZone z : zones) {
DateFormat df = new SimpleDateFormat("K:mm a,z", locale);
df.setTimeZone(z);
String result = df.format(now);
System.out.println(result);
String date="05/19/2008 04:30 AM (EST)";
SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy hh:mm aaa (z)");
TimeZone.setDefault(TimeZone.getTimeZone("PST"));
long millis = sdf.parse(date).getTime();
sdf.setTimeZone(TimeZone.getDefault());
System.out.println(sdf.format(new Date(millis)));
[ November 23, 2005: Mes -
How Delta mechanism works for the datasource 0CRM_SALES_ACT_1 in CRM .
Hi all,
How Delta mechanism works for the datasource 0CRM_SALES_ACT_1 in CRM .
I mean timestamp, date etc? And how I can check that
Appreciate u r response.
Thanks
PramodHi,
in your system, goto rsa1->tools->assign source system id....
regards
Siggi
PS: I strongly recommend to use the search functionality. This has been asked already a few times. -
How to Find Code for SAP Exit variables.....
Gurus:
The SAP Business Content Query "0FIAR_C03_Q0005" uses several BC variables of 'SAP Exit' type for determining "Date" values. I would like to see the code used in these variables. Can anyone please suggest how I can find it?
For examople, the variable on Posting Date is "0P_KEYD2". What is the ABAP code for this? Please give me the Steps..!
Thanks in Advance......PBGenerally SAP doesn't give access to the code behind SAP exit variables, but you can find what the variable is doing using help documentation. Here is some info i saw on SAP help for your variable
0CWD Current workday
0DAT Current calendar day
0P_KEYDT Key date of due date
0P_KEYD2 Key date of posting (from key date of due date)
0P_KEYD3 Key date of clearing (from key date of due date)
0P_KEYD4 Key date of posting (posting date)
0P_KEYD5 Key date of clearing (from key date of posting) -
How to get Tables for the datasource
Hi ,
When i have a datasource,How do i get to know..What are the table for that data source.
Thanks,
Kiran.Hi,
In ECC:
1. goto RSO2 and give datasource name and display, if it is SAP defined datasource it will display some warning message in Status bar, so again press Enter Button and then see teh datasource there you can fine FM, Table/VIiew, InfoSet like that, in this way you can fine, if it is build on Function Module then you need to see that FM and debug and find. For LO dataSources you can fine in LBWE.
https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
Thanks
Reddy -
How to see data for particular date from a alert log file
Hi Experts,
I would like to know how can i see data for a particular date from alert_db.log in unix environment. I'm suing 0racle 9i in unix
Right now i'm using tail -500 alert_db.log>alert.txt then view the whole thing. But is there any easier way to see for a partiicular date or time
Thanks
ShaanHi Jaffar,
Here i have to pass exactly date and time, is there any way to see records for let say Nov 23 2007. because when i used this
tail -500 alert_sid.log | grep " Nov 23 2007" > alert_date.txt
It's not working. Here is the sample log file
Mon Nov 26 21:42:43 2007
Thread 1 advanced to log sequence 138
Current log# 3 seq# 138 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo3.log
Mon Nov 26 21:42:43 2007
ARCH: Evaluating archive log 1 thread 1 sequence 137
Mon Nov 26 21:42:43 2007
ARC1: Evaluating archive log 1 thread 1 sequence 137
ARC1: Unable to archive log 1 thread 1 sequence 137
Log actively being archived by another process
Mon Nov 26 21:42:43 2007
ARCH: Beginning to archive log 1 thread 1 sequence 137
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_137
.dbf'
ARCH: Completed archiving log 1 thread 1 sequence 137
Mon Nov 26 21:42:44 2007
Thread 1 advanced to log sequence 139
Current log# 2 seq# 139 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo2.log
Mon Nov 26 21:42:44 2007
ARC0: Evaluating archive log 3 thread 1 sequence 138
ARC0: Beginning to archive log 3 thread 1 sequence 138
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_138
.dbf'
Mon Nov 26 21:42:44 2007
ARCH: Evaluating archive log 3 thread 1 sequence 138
ARCH: Unable to archive log 3 thread 1 sequence 138
Log actively being archived by another process
Mon Nov 26 21:42:45 2007
ARC0: Completed archiving log 3 thread 1 sequence 138
Mon Nov 26 21:45:12 2007
Starting control autobackup
Mon Nov 26 21:45:56 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0033'
handle 'c-2861328927-20071126-01'
Clearing standby activation ID 2873610446 (0xab47d0ce)
The primary database controlfile was created using the
'MAXLOGFILES 5' clause.
The resulting standby controlfile will not have enough
available logfile entries to support an adequate number
of standby redo logfiles. Consider re-creating the
primary controlfile using 'MAXLOGFILES 8' (or larger).
Use the following SQL commands on the standby database to create
standby redo logfiles that match the primary database:
ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 10485760;
Tue Nov 27 21:23:50 2007
Starting control autobackup
Tue Nov 27 21:30:49 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0280'
handle 'c-2861328927-20071127-00'
Tue Nov 27 21:30:57 2007
ARC1: Evaluating archive log 2 thread 1 sequence 139
ARC1: Beginning to archive log 2 thread 1 sequence 139
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_139
.dbf'
Tue Nov 27 21:30:57 2007
Thread 1 advanced to log sequence 140
Current log# 1 seq# 140 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo1.log
Tue Nov 27 21:30:57 2007
ARCH: Evaluating archive log 2 thread 1 sequence 139
ARCH: Unable to archive log 2 thread 1 sequence 139
Log actively being archived by another process
Tue Nov 27 21:30:58 2007
ARC1: Completed archiving log 2 thread 1 sequence 139
Tue Nov 27 21:30:58 2007
Thread 1 advanced to log sequence 141
Current log# 3 seq# 141 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo3.log
Tue Nov 27 21:30:58 2007
ARCH: Evaluating archive log 1 thread 1 sequence 140
ARCH: Beginning to archive log 1 thread 1 sequence 140
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_140
.dbf'
Tue Nov 27 21:30:58 2007
ARC1: Evaluating archive log 1 thread 1 sequence 140
ARC1: Unable to archive log 1 thread 1 sequence 140
Log actively being archived by another process
Tue Nov 27 21:30:58 2007
ARCH: Completed archiving log 1 thread 1 sequence 140
Tue Nov 27 21:33:16 2007
Starting control autobackup
Tue Nov 27 21:34:29 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0205'
handle 'c-2861328927-20071127-01'
Clearing standby activation ID 2873610446 (0xab47d0ce)
The primary database controlfile was created using the
'MAXLOGFILES 5' clause.
The resulting standby controlfile will not have enough
available logfile entries to support an adequate number
of standby redo logfiles. Consider re-creating the
primary controlfile using 'MAXLOGFILES 8' (or larger).
Use the following SQL commands on the standby database to create
standby redo logfiles that match the primary database:
ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 10485760;
Wed Nov 28 21:43:31 2007
Starting control autobackup
Wed Nov 28 21:43:59 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0202'
handle 'c-2861328927-20071128-00'
Wed Nov 28 21:44:08 2007
Thread 1 advanced to log sequence 142
Current log# 2 seq# 142 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo2.log
Wed Nov 28 21:44:08 2007
ARCH: Evaluating archive log 3 thread 1 sequence 141
ARCH: Beginning to archive log 3 thread 1 sequence 141
Wed Nov 28 21:44:08 2007
ARC1: Evaluating archive log 3 thread 1 sequence 141
ARC1: Unable to archive log 3 thread 1 sequence 141
Log actively being archived by another process
Wed Nov 28 21:44:08 2007
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_141
.dbf'
Wed Nov 28 21:44:08 2007
ARC0: Evaluating archive log 3 thread 1 sequence 141
ARC0: Unable to archive log 3 thread 1 sequence 141
Log actively being archived by another process
Wed Nov 28 21:44:08 2007
ARCH: Completed archiving log 3 thread 1 sequence 141
Wed Nov 28 21:44:09 2007
Thread 1 advanced to log sequence 143
Current log# 1 seq# 143 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo1.log
Wed Nov 28 21:44:09 2007
ARCH: Evaluating archive log 2 thread 1 sequence 142
ARCH: Beginning to archive log 2 thread 1 sequence 142
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_142
.dbf'
Wed Nov 28 21:44:09 2007
ARC0: Evaluating archive log 2 thread 1 sequence 142
ARC0: Unable to archive log 2 thread 1 sequence 142
Log actively being archived by another process
Wed Nov 28 21:44:09 2007
ARCH: Completed archiving log 2 thread 1 sequence 142
Wed Nov 28 21:44:36 2007
Starting control autobackup
Wed Nov 28 21:45:00 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0202'
handle 'c-2861328927-20071128-01'
Clearing standby activation ID 2873610446 (0xab47d0ce)
The primary database controlfile was created using the
'MAXLOGFILES 5' clause.
The resulting standby controlfile will not have enough
available logfile entries to support an adequate number
of standby redo logfiles. Consider re-creating the
primary controlfile using 'MAXLOGFILES 8' (or larger).
Use the following SQL commands on the standby database to create
standby redo logfiles that match the primary database:
ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 10485760;
Thu Nov 29 21:36:44 2007
Starting control autobackup
Thu Nov 29 21:42:53 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0206'
handle 'c-2861328927-20071129-00'
Thu Nov 29 21:43:01 2007
Thread 1 advanced to log sequence 144
Current log# 3 seq# 144 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo3.log
Thu Nov 29 21:43:01 2007
ARCH: Evaluating archive log 1 thread 1 sequence 143
ARCH: Beginning to archive log 1 thread 1 sequence 143
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_143
.dbf'
Thu Nov 29 21:43:01 2007
ARC1: Evaluating archive log 1 thread 1 sequence 143
ARC1: Unable to archive log 1 thread 1 sequence 143
Log actively being archived by another process
Thu Nov 29 21:43:02 2007
ARCH: Completed archiving log 1 thread 1 sequence 143
Thu Nov 29 21:43:03 2007
Thread 1 advanced to log sequence 145
Current log# 2 seq# 145 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo2.log
Thu Nov 29 21:43:03 2007
ARCH: Evaluating archive log 3 thread 1 sequence 144
ARCH: Beginning to archive log 3 thread 1 sequence 144
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_144
.dbf'
Thu Nov 29 21:43:03 2007
ARC0: Evaluating archive log 3 thread 1 sequence 144
ARC0: Unable to archive log 3 thread 1 sequence 144
Log actively being archived by another process
Thu Nov 29 21:43:03 2007
ARCH: Completed archiving log 3 thread 1 sequence 144
Thu Nov 29 21:49:00 2007
Starting control autobackup
Thu Nov 29 21:50:14 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0280'
handle 'c-2861328927-20071129-01'
Thanks
Shaan -
How to create code for an additional field in an info set
Hello,
I have an info set in tra SQ02 and the area is HCM with version ERP2004.
I need to create an additional field to show "Work permit" in ad hoc queries. I know that the infotype 0016 has a standard field P0016-ARBER which contains a date if that person has a work permit. System should select the latest record or the one which is valid during reporting period.
The requirement for this new field is that it should just has X if the field P0016-ARBER contains a date (i.e. that person has a work permit). If the field P0016-ARBER is empty, then the new field "Work permit" is also empty. So, the date itself is not enough.
I am not an abaper. I have tried to create a code for my field but there is always problems with the code. I have tried without the line<i>into</i> but checker says I need to. I have tried different places for statement ENDSELECT but without success. How should I do this?
What I have so far is (TYOLUPA = Work permit) is shown below:
select SINGLE ARBER
into TYOLUPA
from PA0016
where pernr = P0016-pernr
and ENDDA = '31129999'.
clear TYOLUPA.
if ARBER ne ''.
then TYOLUPA = 'X'.
endif.
Thanks for your advice!
Regards,
Pipsapia,
In extras tab create column "workpermit" in infoset and add that column to Field groups.
Then under record processing event...
DATA : TYOLUPA like PA0016-ARBER.
Under Record processing event.
select SINGLE ARBER
into TYOLUPA
from PA0016
where pernr = P0016-pernr
and ENDDA = '31129999'.
if TYOLUPA ne ' '.
WORKPERMIT = 'X'.
endif.
Don't forget to reward if useful... -
Very new to this: Cannot see code for a package in SQL Developer
I know I'm doing something wrong but I certainly don't know what. I'm looking for the code to go along with a package. I can see the procedures the package calls and I can see a list of procedures but I cannot see the code for those procedures. I have tried using describe on the pop up and I just don't see anything but a window showing me the parameters the procedure will use. I want to see the code it will use.
Can someone walk me through this or point me in the right direction?
TIAI can only assume you're on 2.1 or 2.1.1 since you don't even say. If you click on the tree showing the various objects after establishing your connection, when you get to packages and you click the package you want, you'll see the spec. Now click on the plus sign and there should be 'package name' body. If you click that body icon, you say you still can't see the code?
Evita
Edited by: Evita on Mar 30, 2010 2:59 PM -
How to see data for for deffirent customers with deffirent dunnings
Hi
i want to make BI report like this.
how can i see balance for deffirent dunning levels at ECC system
Customer Number (Payer) Description Dunning Level 0 Dunning Level 1 Dunning Level 2 Dunning Level 3 Dunning Level 4 Dunning Level 5 Total Balance
7019706 Carefour 82 38 92 82 17 5 316
8281554 Sheffield Central 22 48 88 57 87 92 394
8256558 Liverpool Ents 65 66 17 26 26 64 264
2920349 The SUA 52 95 40 3 99 98 387
9376822 Bar Central 1 96 43 52 40 66 298
4777091 Bar Local 62 78 0 68 9 79 296
1910859 Café Colombus 93 32 8 53 1 11 198
Total 377 453 288 341 279 415 2153In FBL5n, You need to sub total based on the customer number and dunning level and you will get the data required, however to have the output in the specific format required by you, you need to make the report using this data.
Regards,
Gaurav -
How to run setup for new datasources without breaking old datasources?
Hi,
I am wondering how to install some more data sources (2LIS_05_Q0NOTIF, 2LIS_17_10NOTIF and 2LIS_18_10NOTIF) without breaking the delta mechanism for other data sources when I start to use the new datasources.
I have installed some QM cubes (0QM_C04, -05, -08 and -11) and delta loads run every night. Now I want to add two more cubes (0QM_C02 and -03). The new cubes use datasources that are not yet available.
If I now activate the needed datasources, delete the content of the setup tables again and run 'Application-Specific Setup of Statistical Data' for 'Quality Management', 'Plant Maintenance' and 'Service Management', I am afraid that I will re-initialize the delta queue for the datasources that are already in use... In other words: I am afraid of breaking all datasources in application 05, 17 and 18...
I cannot find documentation addressing this problem. Any input, anyone?
Best regards,
Christian FrierHi all,
if I understand you all correctly, I can use the following plan:
0) Wait until no documents are posted on the R/3 side.
1) Run the delta loads and check that the queues are empty (RSA7 and LBWQ).
2) Delete the setup tables.
3) Run the 'Application-Specific Setup of Statistical Data'
4) Create and execute infopackages for initial dataload (for the new datasources).
5) Create and execute infopackages for delta loads (for the new datasources).
6) Run the infopackages for delta load from the 'old' datasources without running a new initial dataload.
So basically 6) is the step I worry about.
That is that I can start to use 2LIS_05_ITEM, 2LIS_17_ITEM and 2LIS_18_ITEM without breaking the delta sequence for 2LIS_05_TASK, 2LIS_17_TASK and 2LIS_18_TASK.
regards,
Christian -
How to check code for syntax errors
How do I check or validate my html code in dreamweaver. I wish to see if all the braces and tags are closed or not
please guide meHi There:
You can check to make sure the tags, parentheses (( )), braces ({ }), and square brackets ([ ]) in your page are balanced. Balanced means that every opening tag, parenthesis, brace, or bracket has a corresponding closing one, and vice versa.
Check for balanced tags
Open the document in Code view.
Place the insertion point in the nested code you want to check.
Select Edit > Select Parent Tag.
The enclosing matching tags (and their contents) are selected in your code. If you keep selecting Edit > Select Parent Tag, and your tags are balanced, eventually Dreamweaver will select the outermost html and /html tags.
Check for balanced parentheses, braces, or square brackets
Open the document in Code view.
Place the insertion point in the code you want to check.
Select Edit > Balance Braces.
All of the code between the enclosing parentheses, braces, or square brackets is selected. Choosing Edit > Balance Braces again selects all of the code inside the parentheses, braces, or square brackets that enclose the new selection.
And also make sure to validate your HTML code at - http://validator.w3.org/
Regards
Vinay -
How to see filename for Mavericks Calendar Open File alert?
How can you see the name / path of the file to be opened for a Mavericks Calendar Open File alert from the Calendar UI?
Before Mavericks, the file's name would be displayed in the item itself like this:
Now all I see is something more like this:
So I can longer see or verify exactly which file (if any) will be opened.The external image URL in my previous post isn't displaying, so here's a copy of the old iCal Open File image:
Maybe you are looking for
-
Installing Mavericks cause Kernel Panic and after installing too
Hi, I worked with Mountain Lion and all was good, but I thought that would be nice to update to Mavericks. And I'm not good in Mac OS, so I didn't prepare backup before, because believed that it have to work. But during installation I got kernel pani
-
How do I adjust contrast?
In PE I have imported a film from a camera mini disk which plays fine - right contrast before importing. But when I preview it in PE export from PE to an MPEG file for Youtube it is too dark. I try applying the image effect in PE but it only works
-
How to customize the search results window
hi, in my search results page, i need to add a link/button for every document searched. on click of this link/ button i need to capture the document/file url and insert it into a splist. is it possible to customize the search results window? belo
-
New mac 21.5, tried to upgrade to Yosemite get error, what's up
Just bought an iMac, tried to download Yosemite upgrade, get error, what to do.
-
Tomcat + FedoraCore5 can't find JDBC Library
Hi, I installed Fedora Core 5 + Tomcat5 and installed my old webapps. I added the oracle JDBC driver to the WEB-INF/lib directory but still the servlet can't find the jar file (???). It is a JAR file, not a ZIP file. Tomcat 5.5.9 didn't have this pro