How to add the error message into Delivery Error Log (VL10A,VL10X)
Hi,
I have a to add my custom message into Delivery creation error log (VBFS, VBSS)
This message should be shown in the Collective process log (VL10X, VL10A).
Please give me the soln to solve this problem.
I have searched in SDN, i didnt get the proper solution
Thanks
Shankar
HI,
Make use of the BADi "LE_SHP_DELIVERY_PROC"
Use the method DELIVERY_FINAL_CHECK.
Pass the error messages in table CT_FINCHDEL.
Regards,
Ankur Parab
Similar Messages
-
Help: How to add serial number data into Delivery Order document
Dear Gurus,
I am creating an interface program and I have problem in attaching the serial number data to the corresponding material code for a certain delivery order document in R/3 4.6C SP22 system.
The serial number can be attached either during the creation of the Delivery Order itself or in the subsequent step after creating the Delivery Order (i.e.: create the D/O document first, and then update the D/O data).
The BAPI_OUTB_DELIVERY_CONFIRM_DEC FM does not provide any input parameter to let me put the serial number in this R/3 version.
By tracing in SE30 the standard program VL02N --> Menu --> Extras --> Serial Number --> Continue (Enter) --> Save (Ctrl+S), I found out that the serial attachment 'might' be done during sub-routine SERIAL_LISTE_POST_LS in program SAPLIPW1. It will in turn executes FM SERIAL_LISTE_POST_LS. The commit to database table will be done in update task by FM OBJK_POST_UPDATE_N and SERIAL_POST_UPDATE_LS.
<b>My question:</b>
============
1. Is FM SERNR_ADD_TO_LS can be used to attach the serial number to D/O?
If yes, how to do it please because I already tried it I can not see the serial information in VL02N after that. There is no any insert or update to database in this function module. Should I call other FM after this? I want to try to call FM OBJK_POST_UPDATE_N and SERIAL_POST_UPDATE_LS but I do not know how I can retrieve the global object such as XOBJK_ALL that is necessary for the input parameter.
2. If SERNR_ADD_TO_LS can not be used, what other FM can I use? Can I call SERIAL_LISTE_POST_LS instead? Is there any reliable way to generate the import parameter for this FM, such as XSER00, XSER01, XOBJK_ALL and XEQUI?
Thank you in advanced for your kind assistance.
Best Regards,
HiroshiTry something similar to this below...
Afterwards you should do a call transaction to VL02N and immediately SAVE. This is sufficient to ensure the status on the serial numbers is updated correctly.
FUNCTION z_mob_serialnr_update_ls.
""Local interface:
*" IMPORTING
*" VALUE(VBELN_I) LIKE LIKP-VBELN
*" TABLES
*" SERNO_TAB STRUCTURE RISERLS
*" YSER00 STRUCTURE SER00 OPTIONAL
*" YSER01 STRUCTURE RSERXX OPTIONAL
*" YOBJK_ALL STRUCTURE RIPW0 OPTIONAL
*" YEQUI STRUCTURE RIEQUI OPTIONAL
*" YMASE STRUCTURE MASE OPTIONAL
*" EXCEPTIONS
*" NO_EQUIPMENT_FOUND
The modified/confirmed table of serial numbers is supplied in
SERNO_TAB.
These are updated in the SAP tables
YSER00 - General Header Table for Serial Number Management
YSER01 - Document Header for Serial Numbers for Delivery
YOBJK_ALL - Internal Table for Object List Editing/Serial Numbers
YEQUI - Internal Structure for IEQUI
local data
DATA: BEGIN OF del_wa,
vbeln LIKE likp-vbeln,
posnr LIKE lips-posnr,
matnr LIKE lips-matnr,
lfimg LIKE lips-lfimg.
DATA: END OF del_wa.
DATA: del_tab LIKE del_wa OCCURS 0.
DATA: _ct TYPE i.
DATA: lastobknr LIKE objk-obknr.
DATA: _debug.
CLEAR: yser00, yser01, yobjk_all, yequi, ymase.
REFRESH: yser00, yser01, yobjk_all, yequi, ymase.
GET PARAMETER ID 'ZEDI_DEBUG' FIELD _debug.
OBJECT KEYS
read the delivery items with serial numbers to be processed
SELECT * INTO CORRESPONDING FIELDS OF TABLE del_tab
FROM lips
WHERE vbeln = vbeln_i
AND serail NE space.
if nothing is relevant for serial numbers bailout
DESCRIBE TABLE del_tab LINES _ct.
IF _ct IS INITIAL.
EXIT.
ENDIF.
==== read the existing object keys for delivery items
SELECT * INTO CORRESPONDING FIELDS OF TABLE yser01
FROM ser01
WHERE lief_nr = vbeln_i.
IF sy-subrc = 0.
yser01-dbknz = 'X'. "entry exists in db
MODIFY yser01 TRANSPORTING dbknz WHERE dbknz = space.
ENDIF.
== check if there is a header entry for the delivery item
LOOP AT del_tab INTO del_wa.
READ TABLE yser01 WITH KEY lief_nr = del_wa-vbeln
posnr = del_wa-posnr.
IF sy-subrc NE 0.
create one
CALL FUNCTION 'OBJECTLIST_NUMBER'
IMPORTING
obknr = yser01-obknr.
yser00-mandt = sy-mandt.
yser00-obknr = yser01-obknr.
APPEND yser00.
SELECT SINGLE kunnr INTO (yser01-kunde)
FROM likp
WHERE vbeln = vbeln_i.
yser01-mandt = sy-mandt.
yser01-lief_nr = del_wa-vbeln.
yser01-posnr = del_wa-posnr.
yser01-vorgang = 'SDLS'.
yser01-vbtyp = 'J'.
yser01-bwart = '601'.
yser01-dbknz = space. "not in db
yser01-loknz = space. "do not delete
APPEND yser01.
ENDIF.
ENDLOOP.
check if any entries should be deleted
LOOP AT yser01.
READ TABLE serno_tab WITH KEY vbeln = yser01-lief_nr
posnr = yser01-posnr.
IF sy-subrc NE 0.
yser01-loknz = 'X'. "mark for delete
MODIFY yser01.
ENDIF.
ENDLOOP.
collect all the object keys for the delivery item with s/n's
LOOP AT yser01.
READ TABLE serno_tab WITH KEY vbeln = yser01-lief_nr
posnr = yser01-posnr.
IF sy-subrc = 0.
READ TABLE yser00 WITH KEY obknr = yser01-obknr.
IF sy-subrc NE 0.
yser00-mandt = yser01-mandt.
yser00-obknr = yser01-obknr.
APPEND yser00.
ENDIF.
ENDIF.
ENDLOOP.
IF NOT _debug IS INITIAL. BREAK-POINT. ENDIF.
SERIAL NO OBJECTS
==== read the existing serial numbers from the database
via object number into YOBJK_ALL
LOOP AT yser00.
SELECT * APPENDING CORRESPONDING FIELDS OF TABLE yobjk_all
FROM objk
WHERE obknr = yser00-obknr.
ENDLOOP.
yobjk_all-dbknz = 'X'.
MODIFY yobjk_all TRANSPORTING dbknz WHERE dbknz = space.
=== add any new serial numbers
LOOP AT serno_tab.
READ TABLE yser01 WITH KEY lief_nr = serno_tab-vbeln
posnr = serno_tab-posnr.
READ TABLE yobjk_all WITH KEY sernr = serno_tab-sernr
matnr = del_wa-matnr.
IF sy-subrc NE 0.
this is a new serial number
yobjk_all-mandt = sy-mandt.
yobjk_all-obknr = yser01-obknr.
yobjk_all-obzae = 0.
yobjk_all-equnr = yequi-equnr.
yobjk_all-objvw = 'S'.
yobjk_all-sernr = serno_tab-sernr.
yobjk_all-matnr = del_wa-matnr.
yobjk_all-datum = sy-datum.
yobjk_all-taser = 'SER01'.
yobjk_all-equpd = 'X'.
yobjk_all-objnr = yequi-objnr.
yobjk_all-dbknz = space.
yobjk_all-loknz = space.
APPEND yobjk_all.
ENDIF.
ENDLOOP.
=== mark any which are no longer confirmed as deleted
LOOP AT yobjk_all.
READ TABLE yser01 WITH KEY obknr = yobjk_all-obknr.
READ TABLE serno_tab WITH KEY vbeln = yser01-lief_nr
posnr = yser01-posnr
sernr = yobjk_all-sernr.
IF sy-subrc NE 0.
yobjk_all-loknz = 'X'.
MODIFY yobjk_all TRANSPORTING loknz.
ENDIF.
ENDLOOP.
EQUIPMENT RECORDS
== get the equipment records
LOOP AT yobjk_all.
SELECT SINGLE * INTO CORRESPONDING FIELDS OF yequi
FROM equi
WHERE sernr = yobjk_all-sernr
AND matnr = yobjk_all-matnr.
IF sy-subrc NE 0.
CONTINUE.
ENDIF.
IF yobjk_all-dbknz = space AND
yobjk_all-loknz = space.
yequi-dbknz = 'X'.
yequi-obknr = yobjk_all-obknr.
yequi-j_vorgang = 'PMS3'. "add to delivery
yequi-matnr_old = yequi-matnr.
APPEND yequi.
yobjk_all-equnr = yequi-equnr.
MODIFY yobjk_all TRANSPORTING equnr.
CONTINUE.
ENDIF.
IF yobjk_all-dbknz = 'X' AND
yobjk_all-loknz = 'X'.
yequi-dbknz = 'X'.
yequi-j_vorgang = 'PMSA'. "delete from delivery
yequi-matnr_old = yequi-matnr.
APPEND yequi.
CONTINUE.
ENDIF.
ENDLOOP.
remove any Equipment records that do not need to be processed
DELETE yequi WHERE j_vorgang IS initial.
IF NOT _debug IS INITIAL. BREAK-POINT. ENDIF.
fill the object counter
LOOP AT del_tab INTO del_wa.
READ TABLE yser01 WITH KEY lief_nr = del_wa-vbeln
posnr = del_wa-posnr.
DO del_wa-lfimg TIMES.
READ TABLE yobjk_all WITH KEY obknr = yser01-obknr
obzae = sy-index.
IF sy-subrc NE 0.
READ TABLE yobjk_all WITH KEY obknr = yser01-obknr
obzae = 0.
IF sy-subrc = 0.
yobjk_all-obzae = sy-index.
MODIFY yobjk_all INDEX sy-tabix TRANSPORTING obzae.
ENDIF.
ENDIF.
ENDDO.
ENDLOOP.
IF NOT _debug IS INITIAL. BREAK-POINT. ENDIF.
===========================================
update the delivery
===========================================
CALL FUNCTION 'SERIAL_LISTE_POST_LS'
TABLES
xser00 = yser00
xser01 = yser01
xobjk_all = yobjk_all
xequi = yequi
xmase = ymase.
TAB_CUOBJ =
XSER03 =
CALL FUNCTION 'STATUS_BUFFER_EXPORT_TO_MEMORY'
EXPORTING
i_memory_id = memid_status.
COMMIT WORK AND WAIT.
CALL FUNCTION 'Z_MOB_SERIALNR_REFRESH_LS'
EXPORTING
ctu = 'X'
mode = 'N'
UPDATE = 'L'
GROUP =
USER =
KEEP =
HOLDDATE =
NODATA = '/'
vbeln_i = vbeln_i.
IMPORTING
SUBRC =
TABLES
MESSTAB =
ENDFUNCTION.
FUNCTION z_mob_serialnr_refresh_ls.
""Local interface:
*" IMPORTING
*" VALUE(CTU) LIKE APQI-PUTACTIVE DEFAULT 'X'
*" VALUE(MODE) LIKE APQI-PUTACTIVE DEFAULT 'N'
*" VALUE(UPDATE) LIKE APQI-PUTACTIVE DEFAULT 'L'
*" VALUE(GROUP) LIKE APQI-GROUPID OPTIONAL
*" VALUE(USER) LIKE APQI-USERID OPTIONAL
*" VALUE(KEEP) LIKE APQI-QERASE OPTIONAL
*" VALUE(HOLDDATE) LIKE APQI-STARTDATE OPTIONAL
*" VALUE(NODATA) LIKE APQI-PUTACTIVE DEFAULT '/'
*" VALUE(VBELN_I) LIKE LIKP-VBELN
*" EXPORTING
*" VALUE(SUBRC) LIKE SYST-SUBRC
*" TABLES
*" MESSTAB STRUCTURE BDCMSGCOLL OPTIONAL
DATA: vbeln_001 LIKE bdcdata-fval.
vbeln_001 = vbeln_i.
subrc = 0.
PERFORM bdc_nodata USING nodata.
PERFORM open_group USING group user keep holddate ctu.
PERFORM bdc_dynpro USING 'SAPMV50A' '4004'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LIKP-VBELN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LIKP-VBELN'
vbeln_001.
PERFORM bdc_dynpro USING 'SAPMV50A' '1000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=PSER_T'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LIPS-POSNR(01)'.
PERFORM bdc_dynpro USING 'SAPLIPW1' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RIPW0-SERNR(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=RWS'.
PERFORM bdc_dynpro USING 'SAPMV50A' '1000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SICH_T'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LIPS-MATNR(02)'.
PERFORM bdc_transaction TABLES messtab
USING 'VL02N'
ctu
mode
update.
IF sy-subrc <> 0.
subrc = sy-subrc.
EXIT.
ENDIF.
PERFORM close_group USING ctu.
ENDFUNCTION.
INCLUDE bdcrecxy. -
How to Inscribe all the error messages into a single package ??
Hi,
I want to Inscribe all the error messages into a single package., and call the concern package from the exception block in every sp by passing the error code to that package, which will return the Concern error message to the calling Sp.,
Can any one help me out how to accomplish this ., ?
regards
RajaI want to Inscribe all the error messages into a single package., Why do you want to inscribe all the messages in a package?
I would suggest you to store them in a table instead and you can write a functin to retrive the error messages required.
But if your requirement is for 'Package' then assuming that you store all the error messages in a table 'error_table' (say) following code may help you .
CREATE TABLE Error_Table (
Error_Code VARCHAR2(10),
Error_Desc VARCHAR2(1024));Now insert your error codes and descriptions in this table.
CREATE OR REPLACE PACKAGE pkg_Error_Handler
AS
FUNCTION f_Get_Error_Message(p_Error_Code Error_Table.Error_Code%TYPE) RETURN VARCHAR2;
END pkg_Error_Handler;/
CREATE OR REPLACE PACKAGE BODY pkg_Error_Handler
AS
FUNCTION f_Get_Error_Message
(p_Error_Code Error_Table.Error_Code%TYPE)
RETURN VARCHAR2
IS
lv_Error_msg Error_Table.Error_desc%TYPE;
BEGIN
BEGIN
SELECT Error_desc
INTO lv_Error_msg
FROM Error_Table
WHERE Error_Code = p_Error_Code;
EXCEPTION
WHEN No_Data_Found THEN
lv_Error_msg := 'No such error code '
||p_Error_Code
||' defined in the system';
WHEN OTHERS THEN
lv_Error_msg := p_Error_Code;
END;
RETURN lv_Error_msg;
END f_Get_Error_Message;
END pkg_Error_Handler;
/and you can call this packaged funtion from any exception block to get the error description.
Regards,
Abhijit.
N.B.: Code not tested -
How can I put all output error message into a String Variable ??
Dear Sir:
I have following code, When I run it and I press overflow radio button, It outputs following message:
Caught RuntimeException: java.lang.NullPointerException
java.lang.NullPointerException
at ExceptionHandling.ExceptTest.actionPerformed(ExceptTest.java:72)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)Caught RuntimeException: java.lang.NullPointerException
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I hope to catch all these error message into a String Variable such as StrErrorMsg, then I can use System.out.println(StrErrorMsg) to print it out or store somewhere, not only display at runtime,
How can I do this??
Thanks a lot,
See code below.
import java.awt.Frame;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.FileInputStream;
import javax.swing.ButtonGroup;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
public class ExceptTest extends JFrame implements ActionListener {
private double[] a;
private JRadioButton divideByZeroButton;
private JRadioButton badCastButton;
private JRadioButton arrayBoundsButton;
private JRadioButton nullPointerButton;
private JRadioButton negSqrtButton;
private JRadioButton overflowButton;
private JRadioButton noSuchFileButton;
private JRadioButton throwUnknownButton;
public ExceptTest() {
JPanel p = new JPanel();
ButtonGroup g = new ButtonGroup();
p.setLayout(new GridLayout(8, 1));
divideByZeroButton = addRadioButton("Divide by zero", g, p);
badCastButton = addRadioButton("Bad cast", g, p);
arrayBoundsButton = addRadioButton("Array bounds", g, p);
nullPointerButton = addRadioButton("Null pointer", g, p);
negSqrtButton = addRadioButton("sqrt(-1)", g, p);
overflowButton = addRadioButton("Overflow", g, p);
noSuchFileButton = addRadioButton("No such file", g, p);
throwUnknownButton = addRadioButton("Throw unknown", g, p);
getContentPane().add(p);
private JRadioButton addRadioButton(String s, ButtonGroup g, JPanel p) {
JRadioButton button = new JRadioButton(s, false);
button.addActionListener(this);
g.add(button);
p.add(button);
return button;
public void actionPerformed(ActionEvent evt) {
try {
Object source = evt.getSource();
if (source == divideByZeroButton) {
a[1] = a[1] / a[1] - a[1];
} else if (source == badCastButton) {
Frame f = (Frame) evt.getSource();
} else if (source == arrayBoundsButton) {
a[1] = a[10];
} else if (source == nullPointerButton) {
Frame f = null;
f.setSize(200, 200);
} else if (source == negSqrtButton) {
a[1] = Math.sqrt(-1);
} else if (source == overflowButton) {
a[1] = 1000 * 1000 * 1000 * 1000;
int n = (int) a[1];
} else if (source == noSuchFileButton) {
FileInputStream is = new FileInputStream("Java Source and Support");
} else if (source == throwUnknownButton) {
throw new UnknownError();
} catch (RuntimeException e) {
System.out.println("Caught RuntimeException: " + e);
e.printStackTrace();
System.out.println("Caught RuntimeException: " + e);
} catch (Exception e) {
System.out.println("Caught Exception: " + e);
public static void main(String[] args) {
JFrame frame = new ExceptTest();
frame.setSize(150, 200);
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
frame.show();
}yes, I update as follows,
but not looks good.
import java.io.*;
public class UncaughtLogger implements Thread.UncaughtExceptionHandler {
private File file;
private static String errorMessage;
public UncaughtLogger(File file) {
this.file = file;
//Thread.setDefaultUncaughtExceptionHandler(this);
public UncaughtLogger(String str) {
this.errorMessage = str;
Thread.setDefaultUncaughtExceptionHandler(this);
//@Override()
public void uncaughtException(Thread t, Throwable e){
try {
log(e);
} catch (Throwable throwable) {
System.err.println("error in logging:");
throwable.printStackTrace();
private void log(Throwable e) throws IOException {
PrintWriter out = new PrintWriter(new FileWriter(file, true));
try {
e.printStackTrace(out);
} finally {
out.close();
private static UncaughtLogger logger = new UncaughtLogger(new File("C:/temp/log.txt"));
private static UncaughtLogger logger2 = new UncaughtLogger(errorMessage);
public static void main(String[] args) {
String s1 = "Hello World!";
s1 = null;
String s2 = s1.getClass().getName();
System.out.println(s1);
System.out.println(s2);
System.out.println("errorMessage =" + errorMessage);
} -
Why am I receiving the "Unfortunately, Messaging has stopped" error message and how do I fix it?
I am so upset. Please read my messages from my postings. This has nothing to do with SIM Card, Hard Reset, Apps, Google Gmail Account, nothing. I have gone thru all of this and NOTHING has fixed this. I went to the store today and spoke to the manager on duty. He said he had to try and duplicate the problem before he could help me. I showed him "screen captures" I did, told him it's out here on the board, etc. etc. Needless to say I ended up coming home with the same phone, "he" erased the phone and started over again. Well guess what, it's not a error with "MY" Gmail account being corrupted because if that is the case Mrs. Hayden14 has a bad Gmail account too. If you guessed it, the phone just crashed again! I was able this time to capture a report with ALL the history in it and saved screen captures to PROVE to him this is not a joke. Even the report says "Crash". This time it was something else I don't even or ever have used. I have also wasted over a day , yes a full work day on this without question.
I have had to get the run around for the last day. This is totally ridiculous, including them putting me on hold for 55 min. Oh, that's another funny story. Anyways, tomorrow morning I am going to the Verizon store one last and final time and I hope they decided to do the right thing and give me a phone that does not crash and works. It would be handy at work for me, especially where I work at. I hope hope hope someone listens to and helps me. I would love for them to see me walk in, take my phone and say to me were going to get you another phone, hand it to me, see if it works and prove it's the device. I don't hear anyone having this issue on other phone types so sounds like its the phone type.
I have had 3 phones now in the matter of 2 weeks. I am sure the FedEx charges will add up to a cost of a new phone at some point and start to outbalance your requirement to give me the same phone when it has the same problem.
Can't wait to see what happens tomorrow. -
How to add the library of linphone into existing project ?
How to add the library of linphone into existing project ?
How to add the library of linphone into existing project ?
-
i am trying to reinstall itunes 10.5 and am getting the following error message.
An error occurred during the installation of assembly “Microsoft.VC80.CRT.type=”win32”.version=”8.0.50727.6195”.publicKeyToken=”1fc8b 3b9a1e18e3b”.processorArchitecture=”x86””. Please refer to Help and Support for more information. HRESULT:0X800736B3.
Anyone know how to fix this?same problem. tried the ff fixes from microsoft but no joy
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/gett ing-error-message-an-error-occurred-during-the/10122022-2d88-4266-a695-6c6ddeafd 019?tab=AllReplies&page=1
http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/ windows-vista-unable-to-install-itunes-an-error/19b48df7-54c8-47f3-8854-d34118fa a79a
http://support.microsoft.com/mats/system_maintenance_for_windows/en-us
other ideas would be appreciated.
cheers -
How to Convert the Warning Message to Error Message in Standard Transaction
Hi,
I face one problem in Standard Transaction Code CS02. In that by entering the material Number, Plant, bomstatus press enter. it gives a warning message. How to convert the Warning message to Error. In abap how to do that. Please help me.Mohan,
It appears that there is some configuration you can do for BOM Message types to change the message type. The IMG link for this function is:
Production->Basic Data->Bill of Material->General Data->Change Message Type
However you need to read the IMG documentation to see if this will work for you. There are only certain messages that can be changed with this configuration step.
Also, please do not double post questions in the forums.
Best Regards,
Chris H. -
I keep getting an error message when I try logging into i_tunes, what can be the problem?
Can you say what the message is?
-
How to add the fields into combo ?
Hi,
I want to add the table fields into combo box. Now I am able to getting the columns from table but I don�t know how to add that columns in combo box.
My jsp getting the columns from table.
function metadata(){
try {
Connection con = null;
Class.forName("oracle.jdbc.driver.OracleDriver") ;
con = DriverManager.getConnection("jdbc:oracle:thin:@10.60.4.25:1521:clopaydb","scott","tiger");
String query = "SELECT * FROM emp";
DatabaseMetaData dma = con.getMetaData ();
Statement stmt = con.createStatement ();
ResultSet rs = stmt.executeQuery (query);
ResultSetMetaData rsmd = rs.getMetaData ();
int i;
int numCols = rsmd.getColumnCount ();
for (i=1; i<=numCols; i++) {
if (i > 1) System.out.print(",");
System.out.print("\nThe Table Column list "+rsmd.getColumnLabel(i));
rs.close();
stmt.close();
con.close();
catch (Exception ex) {
ex.printStackTrace ();
}Please give me a sample code for add these items into combo. (I need JSP sample code )
Thanks & Regards,
Merlin Roshinafunction metadata(){
try {??
Are you sure on this ? Dont mix javascript function with a java method.
Make a java bean and your method may return an ArrayList.
In your JSP ..
<select name="yourComboBox">
<%
// Make a For Loop for the arraylist
String columnLabel = (String ) arrayList.get(i);
<option value="<%=columnLabel%>"><%=columnLabel%></option>
<%
} // end bracing of for loop
%>
</select>
Post your code based on the directions above then we can help you more on this if reqd.
Probably you should look up into sample JSP ..JDBC sample codes on google.
-Rohit -
How to add a ChartOfAccounts object into the database.
how to add a ChartOfAccounts object into the database. please shows sample code
thanksDim CoA As SAPbobsCOM.ChartOfAccounts
CoA = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oChartOfAccounts)
CoA.Code = 11223344
CoA.ExternalCode = "a1234"
CoA.ForeignName = "f Test Account"
CoA.Name = "Test Account"
CoA.AccountType = SAPbobsCOM.BoAccountTypes.at_Other
CoA.ActiveAccount = SAPbobsCOM.BoYesNoEnum.tYES
CoA.FatherAccountKey = 100001
If CoA.Add <> 0 Then
MessageBox.Show(oCompany.GetLastErrorDescription)
Else
MessageBox.Show("Added Account")
End If
Remember the father account key must be a valid account number in the company where you are trying to add the new account. (The G/L Account code seen in the SBO client) -
How do I fix the following error message: HTTP Server Error 503?
I no longer can access the Internet by pressing the Internet button on my computer. I receive the following error message: HTTP Server Error 503. How do I fix that problem.
http://pcsupport.about.com/od/findbyerrormessage/a/503error.htm
-
Error message into warning message KO450
Hi,
There are unsettle RA value in project PAD-9114. Because of this unsettle RA value in the project we are not able to close the project and receiving error message like below:
1.There is still WIP for wbs
2.Balance of wbs is not zero.
There is still WIP for WBS PAD-9114
Message no. KO450
Diagnosis
The WIP for WBS PAD-9114 has not been cleared.
System Response
WBS PAD-9114 cannot be deleted.
Procedure
Calculate the WIP for WBS PAD-9114 so that it can be cleared. Then settle WBS PAD-9114, including the cleared WIP in the settlement.
How to change above error message into warning message so that it will allow us to close the project.
With regards,
V.krishnamoorthyHi,
Thanks for your answer. But still i am receiving the same error
There is still WIP for WBS PAD-9114
Message no. KO450
Diagnosis
The WIP for WBS PAD-9114 has not been cleared.
System Response
WBS PAD-9114 cannot be deleted.
Procedure
Calculate the WIP for WBS PAD-9114 so that it can be cleared. Then settle WBS PAD-9114, including the cleared WIP in the settlement.
With regards,
V.krishnamoorthy -
Error ,message into table
Hi all,
i am trying to put a error message into a table...any idea how i can get this without doing move 'matnr & is in error' into my table?
thanxHi,
There's a few ways you could do this;
Construct your message first (i.e. combine the message text and variables into one string, then move this into the table)
or
Don't store the text, instead store the message ID, number and variable parts of the message. This has the advantage if you're running a multi-language system the log can be used by users of different languages.
Regards,
Nick -
working in Work order report, this report has different level , for example
0 level transaction
1 level transaction
in subtotal don't want to add 0 level transaction,
when I did the sub total it added all the level , so in sub total amount double up because of that
how to add the expression so I can the level 0 take out from sub total , so it does not include in sub total
can some one please help me with this
thanks in advanceHi Simon_ Hou
I tried the expr the way you suggested , it did not work getting error message, the exp I added is below
this the expression I added on sub total where is highlighted in Yellow, under Cost amount column,
I really appreciate the help
=Sum(IIF(Fields!COLLECTREFLEVEL.Value=
"0",0,Fields!CostAMOUNT.Value),"DataSet1")
please see below my QUERY, can you please help and let me know what I did wrong in my exp
SELECT PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
PRODCALCTRANS.LINENUM
FROM PRODTABLE INNER JOIN
PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID
WHERE (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
(PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate)
Maybe you are looking for
-
Hi We are facing one issue that while write-up of depreciation system is posting the values in ordinary depreciation ZUSNA and Ordinary depreciation on transactions NAFAB and due to this some balance in the asset values left. Scenario : APC at FY 200
-
Crash at launch after removing USB drive during import
I was importing a large set of photos and yanked the USB drive out where the Photos library lives by mistake. Now the Photos app crashes a few seconds every time after launch with the following exception: Assertion failure in -[__RKMasterMetadataHelp
-
HT204380 Why won't my FaceTime connect with others?
Why won't my FaceTime connect with others?
-
Forex Revaluation for customers and vendors
Hi, I ran FAGL_FC_VAL for period end for forex valuation of customers and valuation. Following Entry is posted: Unrealised Loss A/c... Dr To Forex balancesheet adjustment A/c Forex balancsheet adjustment A/c is normal GL account. Now i want to see
-
Is there a method like (!isDefined) in JSP
Hello! I am a core java developer and am very new to JSP. I have 2 files A.jsp and B.jsp. A.jsp is including B.jsp. There is a variable defined in A.jsp which is being used in B.jsp. Now B.jsp should check that if the variable is not defined than it