PCUI Installed base -- measuring point exception
Hi,
Application: COMM_IBASE ( installed base)
Path:
Search for installed base > Select one Installed base> In the tree select one of the attached individual object
Now Measuring points tab displays.
Select Measuring point tab -
> In the drop down select Measuring point - Ind. Object
Gives error message
500 SAP Internal Server Error
Error message: Basic Customizing in table COMC_IL_UI for structure CRMT_BSP_IL_IOBMP_S_FCAT is missing ( type of termination: ABORT_MESSAGE_STATE )
Please help me to resolve the same.
Thanks and Regards,
Abdul Raheem .S
Hi Tiest,
Even I expected the dump.But unforunately there is no dump.
Vijay,
I already raised oss message,but most of the times we get quick response in forum.that's what this try.
Thanks,
Abdul Raheem .S
Similar Messages
-
Maintenance Order through Measuring Point
Dear all,
I want to know whether it is possible to create the maintenance order on the basis measuring point .
I know how to create the order on the basis of measuring counter.
Is there any procedure to create the maintenance Order through measuring point as done in case of counter?
kindly provide the solution for Creation of Maintenance Order using Measuring Point..Really very thanks for the solution.
I have one more query, we can create the measuring point using the t.code IK01.As you told we have to create the measuring point with upper and lower range.
Is that we have to create 2 measuring point for upper as well as lower range or in one measuring point it is possible to accumulate both the upper and lower range.
If it is possible to accumulate both the upper and lower range in one measuring point then kindly provide the procedure.
Thanks in advance. -
Measuring Point Description Change-MassChange
I have several (hundreds of ) Measuring points which i need to change .The fields to be changed include the Measuring position and measuring descriptions. Since its a time consuming process to change individual record, can some one suggest any mass change transaction in PM with which i can achieve this changes without much time as in case of individual changes.
Please suggest some direct method in order to avoid any BDC or LSMW.
Thanks
Murad ShaikhHI Murad
As such there is no standard T code for carrying out mass changes for measuring points except list editing (IK08) through which you can do it by selecting one by one. Since the fields you wants to change are free text type & will vary from one measuring points to other its not logical also. Better to do it through LSMW using recording IK02 its very easy & will take 10min to create one LSMW.
Shakti -
Import data external system in PCUI SAP CRM install base Object fact sheet
I want to import data from third party system to Object fact sheet of install base. Please let me know the possible way to do so. Do I need to import data in BI and then to Object fact sheet?
Hi Pankaj,
If you have seperate BI server also alongwith the CRM system as back end.Then IU can create two seperate iviews of the two fact sheets hitting different servers e.g.if this is telecom perspective then In one pcui screen you can give two iviews one will fetch data from CRM server and populate 360 degree view of the customer whereas the BI iview will have multiple line level display of the last bills generated which we can see in detail also by hitting the same iview.
Regards,
Priyadarshan -
XI Business scenario Null pointer exception
Hi SDN,
I am on NW2004s, with PI_Basis sp10, I am getting a Java.lang null pointer
exception.
Please guide me Step by step process on which service pack I have to be and what all patches of java should I apply / upgrade to fix this problem.
Thanks in Advance,
Regards,
Sai.k.kHi Konchada,
Is this PI System newly installed?
Let me know!
Moreover have you imported <b>XI BASIS Component?</b>
If it is newly installed, this problem is because you have not imported <b>XI BASIS Componen</b>t. You import the component through Integration Repository Environment.
I think this will solve your issue
Regards,
Ramesh P
Message was edited by:
Ramesh P -
Usage of Measuring Point : Counter for Generating Bills
Case : Client has a Power Generation Unit, from which it supplies power to customers. Meters installed at the customers premises are recorded by Client personnel. Bill is generated on the basis of meter reading.
Requirement : Can Plant Maintenance : Counters be used for bill generation? How should the process be mapped?Hi Raju,
You can do this through,
IMG - Maintenance Plan,work center, task list & PRTS - Maintenance Plan - Set maintenance plan catagories.
Here in call object column you can define which type of call object you want for your maintenance order based on this you will get the order or notification as a call object.
And rest of the things measuring point & counter that already defined in this thread.
Regards,
Rip -
Why am I receiving Null pointer Exception Error.
why am I receiving Null pointer Exception Error.
Hi I am developing a code for login screen. There is no syntex error as such ut I am receving the aove mentioned error. Can some one please help me ??
------------ Main.java------------------
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Main implements ActionListener
Frame mainf;
MenuBar mb;
MenuItem List,admitform,inquiry,exit,helpn;
Menu newm,update,help;
Inquiry iq;
Admit ad;
// HosHelp hp;
Howuse hu;
Register reg;
Main()
mainf=new Frame(" Engg College V/S Mumbai University ");
mb=new MenuBar();
newm=new Menu(" New ");
update=new Menu(" Update ");
help=new Menu(" Help ");
List=new MenuItem("List");
admitform=new MenuItem("Admit");
inquiry=new MenuItem("Inquiry");
exit=new MenuItem("Exit");
helpn=new MenuItem("How to Use?");
newm.add(List);
newm.add(admitform);
newm.add(inquiry);
newm.add(exit);
help.add(helpn);
mb.add(newm);
mb.add(update);
mb.add(help);
mainf.setMenuBar(mb);
exit.addActionListener(this);
List.addActionListener(this);
inquiry.addActionListener(this);
admitform.addActionListener(this);
helpn.addActionListener(this);
mainf.setSize(400,300);
mainf.setVisible(true);
public void actionPerformed(ActionEvent ae)
if (ae.getSource()==List)
reg=new Register();
if(ae.getSource()==inquiry)
iq=new Inquiry();
if(ae.getSource()==admitform)
ad=new Admit();
if(ae.getSource()==helpn)
hu=new Howuse();
if(ae.getSource()==exit)
mainf.setVisible(false);
public static void main(String args[])
new Main();
-------------Register.java---------------------------
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Register implements ActionListener//,ItemListener
Label id,name,login,pass,repass;
Button ok,newu,cancel,check;
Button vok,iok,lok,mok,sok; //buttons for dialog boxes
TextField idf,namef,loginf,passf,repassf;
Dialog valid,invlog,less,mismat,acucreat;
Frame regis;
Checkbox admin,limit;
CheckboxGroup type;
DBconnect db;
Register()
db=new DBconnect();
regis=new Frame("Registeration Form");
type=new CheckboxGroup();
admin=new Checkbox("Administrator",type,true);
limit=new Checkbox("Limited",type,false);
id=new Label("ID :");
name=new Label("Name :");
login=new Label("Login :");
pass=new Label("Password :");
repass=new Label("Retype :");
idf =new TextField(20); idf.setEnabled(false);
namef=new TextField(30); namef.setEnabled(false);
loginf=new TextField(30); loginf.setEnabled(false);
passf=new TextField(30); passf.setEnabled(false);
repassf=new TextField(30); repassf.setEnabled(false);
ok=new Button("OK"); ok.setEnabled(false);
newu=new Button("NEW");
cancel=new Button("Cancel");
check=new Button("Check Login"); check.setEnabled(false);
vok=new Button("OK");
iok=new Button("OK");
lok=new Button("OK");
mok=new Button("OK");
sok=new Button("OK");
valid=new Dialog(regis,"Login name is valid !");
invlog=new Dialog(regis,"Login name already exist!");
less=new Dialog(regis,"Password is less than six characters !");
mismat=new Dialog(regis,"password & retyped are not matching !");
acucreat=new Dialog(regis,"You have registered successfully !");
regis.setLayout(null);
// regis.setBackground(Color.orange);
valid.setLayout(new FlowLayout());
invlog.setLayout(new FlowLayout());
less.setLayout(new FlowLayout());
mismat.setLayout(new FlowLayout());
acucreat.setLayout(new FlowLayout());
id.setBounds(35,50,80,25); //(left,top,width,hight)
idf.setBounds(125,50,40,25);
name.setBounds(35,85,70,25);
namef.setBounds(125,85,150,25);
login.setBounds(35,120,80,25);
loginf.setBounds(125,120,80,25);
check.setBounds(215,120,85,25);
pass.setBounds(35,155,80,25);
passf.setBounds(125,155,80,25);
repass.setBounds(35,190,80,25);
repassf.setBounds(125,190,80,25);
admin.setBounds(35,225,100,25);
limit.setBounds(145,225,100,25);
ok.setBounds(45,265,70,25);
newu.setBounds(135,265,70,25);
cancel.setBounds(225,265,70,25);
passf.setEchoChar('*');
repassf.setEchoChar('*');
regis.add(id);
regis.add(idf);
regis.add(name);
regis.add(namef);
regis.add(login);
regis.add(loginf);
regis.add(check);
regis.add(pass);
regis.add(passf);
regis.add(repass);
regis.add(repassf);
regis.add(ok);
regis.add(newu);
regis.add(cancel);
regis.add(admin);
regis.add(limit);
valid.add(vok);
invlog.add(iok);
less.add(lok);
mismat.add(mok);
acucreat.add(sok);
ok.addActionListener(this);
newu.addActionListener(this);
check.addActionListener(this);
cancel.addActionListener(this);
// limit.addItemListener(this);
//admin.addItemListener(this);
vok.addActionListener(this);
iok.addActionListener(this);
lok.addActionListener(this);
mok.addActionListener(this);
sok.addActionListener(this);
regis.setLocation(250,150);
regis.setSize(310,300);
regis.setVisible(true);
public void actionPerformed(ActionEvent ae)
if(ae.getSource()==check)
try{
String s2=loginf.getText();
ResultSet rs=db.s.executeQuery("select* from List");
while(rs.next())
if(s2.equals(rs.getString(2).trim()))
// invlog.setBackground(Color.orange);
invlog.setLocation(250,150);
invlog.setSize(300,100);
cancel.setEnabled(false);
ok.setEnabled(false);
check.setEnabled(false);
invlog.setVisible(true);
break;
else
// valid.setBackground(Color.orange);
valid.setLocation(250,150);
valid.setSize(300,100);
cancel.setEnabled(false);
ok.setEnabled(false);
check.setEnabled(false);
valid.setVisible(true);
}catch(Exception e)
e.printStackTrace();
if(ae.getSource()==newu)
try{
ResultSet rs=db.s.executeQuery("select max(ID) from List");
while(rs.next())
String s1=rs.getString(1).trim();
int i=Integer.parseInt(s1);
i++;
String s2=""+i;
idf.setText(s2);
newu.setEnabled(false);
namef.setText(""); namef.setEnabled(true);
loginf.setText(""); loginf.setEnabled(true);
passf.setText(""); passf.setEnabled(true);
repassf.setText(""); repassf.setEnabled(true);
ok.setEnabled(true);
check.setEnabled(true);
}catch(Exception e)
e.printStackTrace();
if(ae.getSource()==ok)
try
String s1=idf.getText();
String s2=loginf.getText();
String s3=passf.getText();
String s4=repassf.getText();
int x=Integer.parseInt(s1);
int t;
if(type.getSelectedCheckbox()==admin)
t=1;
else
t=0;
ResultSet rs=db.s1.executeQuery("select* from List");
while(rs.next())
if(s2.equals(rs.getString(2).trim()))
invlog.setBackground(Color.orange);
invlog.setLocation(250,150);
invlog.setSize(300,100);
cancel.setEnabled(false);
ok.setEnabled(false);
check.setEnabled(false);
invlog.setVisible(true);
break;
else
if (s3.length()<6)
less.setBackground(Color.orange);
less.setLocation(250,150);
less.setSize(300,100);
ok.setEnabled(false);
cancel.setEnabled(false);
check.setEnabled(false);
less.setVisible(true);
else if(!(s3.equals(s4)))
mismat.setBackground(Color.orange);
mismat.setLocation(250,150);
mismat.setSize(300,100);
ok.setEnabled(false);
cancel.setEnabled(false);
check.setEnabled(false);
mismat.setVisible(true);
else
db.s1.execute("insert into User values("+x+",'"+s2+"','"+s3+"',"+t+")");
acucreat.setBackground(Color.orange);
acucreat.setLocation(250,150);
acucreat.setSize(300,100);
regis.setVisible(false);
acucreat.setVisible(true);
}//else
}//while
} //try
catch(Exception e1)
// e1.printStackTrace();
if (ae.getSource()==cancel)
regis.setVisible(false);
if (ae.getSource()==vok)
ok.setEnabled(true);
cancel.setEnabled(true);
check.setEnabled(true);
valid.setVisible(false);
if (ae.getSource()==iok)
ok.setEnabled(true);
cancel.setEnabled(true);
check.setEnabled(true);
invlog.setVisible(false);
if (ae.getSource()==lok)
less.setVisible(false);
cancel.setEnabled(true);
ok.setEnabled(true);
check.setEnabled(true);
if (ae.getSource()==mok)
mismat.setVisible(false);
cancel.setEnabled(true);
ok.setEnabled(true);
check.setEnabled(true);
if (ae.getSource()==sok)
acucreat.setVisible(false);
ok.setEnabled(false);
newu.setEnabled(true);
regis.setVisible(true);
public static void main(String args[])
new Register();
-----------DBConnect.java------------------------------------
import java.sql.*;
public class DBconnect
Statement s,s1;
Connection c;
public DBconnect()
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
c=DriverManager.getConnection("jdbc:odbc:Sonal");
s=c.createStatement();
s1=c.createStatement();
catch(Exception e)
e.printStackTrace();
----------Login.java----------------
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Login implements ActionListener
Frame log;
Label login,pass;
TextField loginf,passf;
Button ok,cancel;
Dialog invalid;
Button iok;
Register reg;
DBconnect db;
Main m;
Login()
db=new DBconnect();
log=new Frame();
log.setLocation(250,210);
login=new Label("Login :");
pass=new Label("Password :");
loginf=new TextField(20);
passf=new TextField(20);
passf.setEchoChar('*');
ok=new Button("OK");
// newu=new Button("New User");
cancel=new Button("CANCEL");
iok=new Button(" OK ");
invalid=new Dialog(log,"Invalid User!");
//log.setBackground(Color.cyan);
//log.setForeground(Color.black);
log.setLayout(null);
// iok.setBackground(Color.gray);
invalid.setLayout(new FlowLayout());
login.setBounds(35,50,70,25); //(left,top,width,hight)
loginf.setBounds(105,50,100,25);
pass.setBounds(35,85,70,25);
passf.setBounds(105,85,70,25);
ok.setBounds(55,130,70,25);
// newu.setBounds(85,120,80,25);
cancel.setBounds(145,130,70,25);
log.add(login);
log.add(loginf);
log.add(pass);
log.add(passf);
log.add(ok);
// log.add(newu);
log.add(cancel);
invalid.add(iok);//,BorderLayout.CENTER);
ok.addActionListener(this);
// newu.addActionListener(this);
cancel.addActionListener(this);
iok.addActionListener(this);
log.setSize(300,170);
log.setVisible(true);
public void actionPerformed(ActionEvent a)
if(a.getSource()==ok)
try{
String l=loginf.getText();
String p=passf.getText();
ResultSet rs=db.s.executeQuery("select * from List");
while(rs.next())
if(l.equals(rs.getString(2).trim())&& p.equals(rs.getString(3).trim()))
String tp=rs.getString(4).trim();
int tp1=Integer.parseInt(tp);
log.setVisible(false);
if(tp1==1)
m=new Main();
// m.List.setEnabled(true);
else
m=new Main();
m.List.setEnabled(false);
break;
else
invalid.setBackground(Color.orange);
invalid.setSize(300,100);
invalid.setLocation(250,210);
cancel.setEnabled(false);
ok.setEnabled(false);
invalid.setVisible(true);
}catch(Exception e1)
e1.printStackTrace();
if (a.getSource()==cancel)
log.setVisible(false);
if (a.getSource()==iok)
invalid.setVisible(false);
loginf.setText("");
passf.setText("");
cancel.setEnabled(true);
ok.setEnabled(true);
public static void main(String[] args)
new Login();
-------------inquiry.java---------------------------------
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.util.Date;
import java.text.*;
import java.sql.*;
public class Inquiry implements ActionListener
Frame inqry;
Label name,addr;
TextField namef,addrf;
Button ok,cancel,dok;
Dialog invalid;
Frame result; //Result of the inquiry....
Label lrname,lraddr,lward,lrdate,lcdate;
TextField rname,raddr,ward,rdate,cdate;
Date d;
DateFormat df;
Button rok,rcancel;
Dialog success;
Button rdok;
DBconnect db;
Inquiry()
db=new DBconnect();
inqry=new Frame("Inquiry Form");
inqry.setLayout(null);
inqry.setBackground(Color.cyan);
name=new Label(" NAME ");
addr=new Label("ADDRESS");
namef=new TextField(20);
addrf=new TextField(20);
ok=new Button("OK");
cancel=new Button("CANCEL");
dok=new Button("OK");
invalid=new Dialog(inqry,"Invalid Name or Address !");
invalid.setSize(300,100);
invalid.setLocation(300,180);
invalid.setBackground(Color.orange);
invalid.setLayout(new FlowLayout());
result=new Frame(" INQUIRY RESULT "); //Result Window......
result.setLayout(null);
result.setBackground(Color.cyan);
lcdate=new Label(" DATE ");
lrname=new Label(" NAME ");
lraddr=new Label(" ADDRESS ");
lward=new Label(" WARD ");
lrdate=new Label(" ADMIT-DATE ");
cdate=new TextField(10);
rname=new TextField(20);
rname.setEnabled(false);
raddr=new TextField(20);
raddr.setEnabled(false);
ward=new TextField(20);
ward.setEnabled(false);
rdate=new TextField(10);
rdate.setEnabled(false);
cdate=new TextField(20);
d=new Date();
df=DateFormat.getDateInstance(DateFormat.MEDIUM,Locale.KOREA);
cdate.setText(df.format(d));
cdate.setEnabled(false);
rok=new Button(" OK ");
rcancel=new Button("CANCEL");
name.setBounds(40,50,50,25);
namef.setBounds(120,50,130,25);
addr.setBounds(40,100,60,25);
addrf.setBounds(120,100,80,25);
ok.setBounds(60,145,70,25);
cancel.setBounds(140,145,70,25);
lcdate.setBounds(200,50,60,25); //Result Window......
cdate.setBounds(270,50,80,25);
lrname.setBounds(35,85,70,25);
rname.setBounds(140,85,180,25);
lraddr.setBounds(35,120,80,25);
raddr.setBounds(140,120,100,25);
lward.setBounds(35,155,80,25);
ward.setBounds(140,155,100,25);
lrdate.setBounds(30,190,80,25);
rdate.setBounds(140,190,80,25);
rok.setBounds(70,240,70,25);
rcancel.setBounds(170,240,70,25);
inqry.add(name);
inqry.add(namef);
inqry.add(addr);
inqry.add(addrf);
inqry.add(ok);
inqry.add(cancel);
invalid.add(dok);
result.add(lcdate); //Result Window......
result.add(cdate);
result.add(lrname);
result.add(rname);
result.add(lraddr);
result.add(raddr);
result.add(lward);
result.add(ward);
result.add(lrdate);
result.add(rdate);
result.add(rok);
result.add(rcancel);
ok.addActionListener(this);
cancel.addActionListener(this);
dok.addActionListener(this);
rok.addActionListener(this); //Result Window......
rcancel.addActionListener(this);
inqry.setSize(280,180);
inqry.setLocation(300,180);
inqry.setVisible(true);
result.setSize(400,280); //Result Window......
result.setLocation(200,150);
result.setVisible(false);
public void actionPerformed(ActionEvent ae)
if(ae.getSource()==ok)
try
String nm=namef.getText();
String ad=addrf.getText();
inqry.setVisible(false);
ResultSet rs=db.s.executeQuery("select * from Billinformation");
while(rs.next())
String nm1=rs.getString(2).trim();
String ad1=rs.getString(3).trim();
int k=0;
if((nm1.equals(nm))&&(ad1.equals(ad)))
String adm=rs.getString(5).trim();
String wr=rs.getString(6).trim();
String bd=rs.getString(8).trim();
String wrb=wr+"-"+bd;
result.setVisible(true);
rname.setText(nm1);
raddr.setText(ad1);
ward.setText(wrb);
rdate.setText(adm);
k=1;
break;
}//if
else if(k==1)
invalid.setVisible(true);
}//while
}//try
catch(Exception e)
e.printStackTrace();
} //getsource ==ok
if(ae.getSource()==cancel)
inqry.setVisible(false);
if(ae.getSource()==rok) //Result Window......
namef.setText("");
addrf.setText("");
result.setVisible(false);
inqry.setVisible(true);
if(ae.getSource()==rcancel)
result.setVisible(false);
if(ae.getSource()==dok)
namef.setText("");
addrf.setText("");
invalid.setVisible(false);
inqry.setVisible(true);
public static void main(String args[])
new Inquiry();
PLease Help me !!
I need this urgently.can you explain what your program tries to do... and
at where it went wrong..Sir,
We are trying to make an project where we can make a person register in our data base & after which he/she can search for other user.
The logged in user can modify his/her own data but can view other ppl's data.
We are in a phase of registering the user & that's where we are stuck. The problem is that after the login screen when we hit register (OK- button) the data are not getting entered in the data base.
Can u please help me??
I am using "jdk1.3' - studnet's edition.
I am waiting for your reply.
Thanks in advance & yr interest. -
Error while updating Instances in Install Base
Hi Experts,
I am using the "csi_item_instance_pub.update_item_instance" API to update the
instance details. when i change the owner party and it's contacts(transfer ownership), I am getting following errors.
1)Owner account for external parties is mandatory. Please provide a valid Account for the Owner Party - 1221238 for some instance.
Eventhough i verified the correct party id and it's account id, it shows the same errror.
2)For some cases, I am getting the error like "The Object Version Number passed does not match with the one existing in Installed Base tables" .
Any suggestions for the above will be a great help for me .
Thanks in advance,
Ravi.
Edited by: user11291639 on Oct 28, 2009 9:45 PMThanks you,
By this Note id:395136.1
Iam unable to find this Set profile 'HZ: Generate Events for DQM Real-Time Synchronization' to No
with this Note id:278422.1
We are unable to find this proifle option : HZ: Data Sharing and Security Enabled profile
we are using applications 11i.
please help to find this Profile option.
But with this note id:ID 395136.1
This is Working.
Query for HZ: DQM Synchronization Method profile. Set the value to Disable.
But iam facing proble while uploding data to DFF ,Error--SQL exception occurred during PL/SQL upload.
Thanks for the Support-
Sowmya.
Edited by: user13419037 on Aug 11, 2011 11:53 PM
Edited by: user13419037 on Aug 12, 2011 12:03 AM
Edited by: user13419037 on Aug 12, 2011 3:45 AM -
Automatic creation of installed base?
Dear all,
We are using CRM 5.0
We are creating BOM for material in R3.
Line :10 --> Header level item
Line : 20 --> Parent item 1
Line : 30 --> Parent item 2.
Now as per standard When we are doing the delivery of any item in R3, A Installed base is created in CRM (Based on Delivery).
But we are using BOM so line item 20 and 30 is attached to header item 10.
and when we are creating delivery, three different installed base are creating.
Actually i want One Installed base of item 10 and Attached item 20 & 30 becomes a component
How can i do?
Pls reply. I will reward the points
Regards
JayeshHi Jayesh,
Use any of the following FM:
IB_COM1_CHANGE_IBASE_ONLY
IB_COM2_CHANGE_IBASE_ONLY
IB_COM2_CREATE_IBASE
IB_COM_CREATE_IBASE_INITIAL
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
Auto Update of measuring point/document
Dear all,
I have one issue over here.Measuring point/document is not updating automatically after productiuon order confirmation . I tried with following steps
1) Created the equipment as test equipment -->created measuring point as a counter ---> maintain the usage value formula SAPF02 in the PRT tab . Unit of measurement for the characteristics and base unit of measure of material are same
2) Then i have assigned this eqipment as a PRT in the routing of material .
Which steps i am missing
ThanksHi
I had faced the same problem when I used SAPF02 then I did following changes.
Created formula like SAP_09 * PRTSTD / SAP_08
SAP_09 : Operation Qty
PRTSTD : PRT Standard Value
SAP_08: Base Qty.
Also make sure the measuring point category should me T in IK02( PRT life counter)
Regards,
Raj -
Issue in updating Install Base Owner account
Hi,
I'm using csi_item_instance_pub.update_item_instance API to update ownership and installed at details in Install Base. When I run my script, I do not get any error, but the party account details do not get updated. The owner party gets updated successfully. Even the installation details and operating unit details get updated, but the owner party account and Bill-to and Ship-to do not get updated. I'm posting my code here for details. If anyone could let me know what am I doing wrong, I would really appreciate that.
TIA,
Alka.
DECLARE
ln_order_num NUMBER;
lc_p_sno VARCHAR2(30); -- Variable for printer serial no.
CURSOR ib_cur IS
SELECT cii.instance_id
,cii.serial_number
,cii.inventory_item_id
,cii.object_version_number
FROM csi_item_instances cii
WHERE cii.instance_id = &instance_id
ORDER BY 1;
TYPE ib_rec_tbl_type IS TABLE OF ib_cur%ROWTYPE;
ib_rec_tbl ib_rec_tbl_type;
-- Variables needed to call the Item Instance update API
l_api_version CONSTANT NUMBER := 1.0;
l_msg_count NUMBER;
l_msg_data VARCHAR2(2000);
l_msg_index NUMBER;
l_instance_id_lst csi_datastructures_pub.id_tbl;
l_instance_header_rec csi_datastructures_pub.instance_header_rec;
l_party_header_tbl csi_datastructures_pub.party_header_tbl;
l_party_acct_header_tbl csi_datastructures_pub.party_account_header_tbl;
l_org_unit_header_tbl csi_datastructures_pub.org_units_header_tbl;
l_instance_rec csi_datastructures_pub.instance_rec;
l_party_tbl csi_datastructures_pub.party_tbl;
l_account_tbl csi_datastructures_pub.party_account_tbl;
l_pricing_attrib_tbl csi_datastructures_pub.pricing_attribs_tbl;
l_org_assignments_tbl csi_datastructures_pub.organization_units_tbl;
l_asset_assignment_tbl csi_datastructures_pub.instance_asset_tbl;
l_ext_attrib_values_tbl csi_datastructures_pub.extend_attrib_values_tbl;
l_pricing_attribs_tbl csi_datastructures_pub.pricing_attribs_tbl;
l_ext_attrib_tbl csi_datastructures_pub.extend_attrib_values_tbl;
l_ext_attrib_def_tbl csi_datastructures_pub.extend_attrib_tbl;
l_asset_header_tbl csi_datastructures_pub.instance_asset_header_tbl;
l_txn_rec csi_datastructures_pub.transaction_rec;
l_install_location_id NUMBER;
l_return_status VARCHAR2(5);
lc_init_msg_lst VARCHAR2(1) := 'T';
ln_validation_level NUMBER;
lc_error_text VARCHAR2(4000);
l_install_location_type_code csi_item_instances.install_location_type_code%TYPE;
j BINARY_INTEGER := 0;
l_party_tbl_idx BINARY_INTEGER;
BEGIN
--Create a savepoint
-- SAVEPOINT dcrd_csi_upd_ib_snm;
OPEN ib_cur;
FETCH ib_cur BULK COLLECT
INTO ib_rec_tbl;
CLOSE ib_cur;
IF ib_rec_tbl.COUNT > 0
THEN
--fnd_file.put_line(fnd_file.log, 'Begin loop');
dbms_output.put_line('Begin loop');
FOR i IN ib_rec_tbl.FIRST .. ib_rec_tbl.LAST
LOOP
--Set savepoint before processing record.
--SAVEPOINT dcrd_csi_upd_ib_snm;
l_instance_header_rec.instance_id := ib_rec_tbl(i).instance_id;
csi_item_instance_pub.get_item_instance_details(p_api_version => l_api_version
,p_commit => fnd_api.g_false
,p_init_msg_list => fnd_api.g_false
,p_validation_level => fnd_api.g_valid_level_full
,p_instance_rec => l_instance_header_rec
,p_get_parties => fnd_api.g_true
,p_party_header_tbl => l_party_header_tbl
,p_get_accounts => fnd_api.g_true
,p_account_header_tbl => l_party_acct_header_tbl
,p_get_org_assignments => fnd_api.g_true
,p_org_header_tbl => l_org_unit_header_tbl
,p_get_pricing_attribs => fnd_api.g_false
,p_pricing_attrib_tbl =>l_pricing_attribs_tbl
,p_get_ext_attribs => fnd_api.g_false
,p_ext_attrib_tbl => l_ext_attrib_tbl
,p_ext_attrib_def_tbl => l_ext_attrib_def_tbl
,p_get_asset_assignments => fnd_api.g_false
,p_asset_header_tbl => l_asset_header_tbl
,p_resolve_id_columns => fnd_api.g_false
,p_time_stamp => SYSDATE
,x_return_status => l_return_status
,x_msg_count => l_msg_count
,x_msg_data => l_msg_data
lc_error_text := NULL;
l_instance_rec.instance_id := l_instance_header_rec.instance_id;
l_instance_rec.install_date := '12-MAR-2008';
l_instance_rec.install_location_type_code := 'HZ_PARTY_SITES';
l_instance_rec.install_location_id := 97918;
l_instance_rec.location_id := 97918;
l_instance_rec.location_type_code := 'HZ_PARTY_SITES';
l_instance_rec.object_version_number := l_instance_header_rec.object_version_number;
l_txn_rec.transaction_id := fnd_api.g_miss_num;
l_txn_rec.transaction_date := SYSDATE;
l_txn_rec.source_transaction_date := SYSDATE;
l_txn_rec.transaction_type_id := 8; --Id for DATA_CORRECTION transaction type
--Change Owner party details
FOR i IN l_party_header_tbl.FIRST..l_party_header_tbl.LAST
LOOP
IF l_party_header_tbl(i).relationship_type_code = 'OWNER'
THEN
l_party_tbl(j).instance_party_id := l_party_header_tbl(i).instance_party_id;
l_party_tbl(j).relationship_type_code := l_party_header_tbl(i).relationship_type_code;
l_party_tbl(j).party_id := 210617;
l_party_tbl(j).contact_flag := 'N';
l_party_tbl(j).object_version_number := l_party_header_tbl(i).object_version_number;
l_party_tbl_idx := j;
j := j + 1;
END IF;
END LOOP;
dbms_output.put_line('l_party_tbl count is '||l_party_tbl.COUNT);
j := 0;
dbms_output.put_line('l_party_acct_header_tbl count is '||l_party_acct_header_tbl.COUNT);
--Change Owner party account details
FOR i IN l_party_acct_header_tbl.FIRST..l_party_acct_header_tbl.LAST
LOOP
IF l_party_acct_header_tbl(i).relationship_type_code = 'OWNER'
THEN
l_account_tbl(j).ip_account_id := l_party_acct_header_tbl(i).ip_account_id;
l_account_tbl(j).instance_party_id := l_party_acct_header_tbl(i).instance_party_id;
l_account_tbl(j).party_account_id := 61217;
l_account_tbl(j).object_version_number := l_party_acct_header_tbl(i).object_version_number;
l_account_tbl(j).bill_to_address := 77370;
l_account_tbl(j).ship_to_address := 77648;
l_account_tbl(j).parent_tbl_index := l_party_tbl_idx;
j := j + 1;
END IF;
END LOOP;
dbms_output.put_line('l_account_tbl count is '||l_account_tbl.COUNT);
j := 0;
--Change Operating Unit details
FOR i IN l_org_unit_header_tbl.FIRST..l_org_unit_header_tbl.LAST
LOOP
IF l_org_unit_header_tbl(i).relationship_type_code = 'SOLD_FROM'
THEN
l_org_assignments_tbl(j).instance_ou_id := l_org_unit_header_tbl(i).instance_ou_id;
l_org_assignments_tbl(j).instance_id := l_org_unit_header_tbl(i).instance_id;
l_org_assignments_tbl(j).relationship_type_code := l_org_unit_header_tbl(i).relationship_type_code;
l_org_assignments_tbl(j).active_start_date := '12-MAR-2008';
l_org_assignments_tbl(j).operating_unit_id := 86;
l_org_assignments_tbl(j).object_version_number := l_org_unit_header_tbl(i).object_version_number;
END IF;
END LOOP;
-- Call instance update API if a serial no. is to be updated
/*fnd_file.put_line(fnd_file.log
,'Updating IB record for IB# ' || ib_rec_tbl(i).instance_id);*/
dbms_output.put_line('Updating IB record for IB# ' || ib_rec_tbl(i).instance_id);
csi_item_instance_pub.update_item_instance(p_api_version => l_api_version
,p_commit => 'F' --Handled outside API
,p_init_msg_list => lc_init_msg_lst
,p_validation_level => ln_validation_level
,p_instance_rec => l_instance_rec
,p_ext_attrib_values_tbl => l_ext_attrib_values_tbl --Null
,p_party_tbl => l_party_tbl --Null
,p_account_tbl => l_account_tbl --Null
,p_pricing_attrib_tbl => l_pricing_attrib_tbl --Null
,p_org_assignments_tbl => l_org_assignments_tbl --Null
,p_asset_assignment_tbl => l_asset_assignment_tbl --Null
,p_txn_rec => l_txn_rec
,x_instance_id_lst => l_instance_id_lst
,x_return_status => l_return_status
,x_msg_count => l_msg_count
,x_msg_data => l_msg_data);
IF l_return_status <> 'S'
THEN
/*fnd_file.put_line(fnd_file.log
, 'Error updating the install base for IB# ' || ib_rec_tbl(i)
.instance_id);*/
dbms_output.put_line('Error updating the install base for IB# ' || ib_rec_tbl(i)
.instance_id);
FOR i IN 1 .. l_msg_count
LOOP
fnd_msg_pub.get(p_msg_index => -1
,p_encoded => 'F'
,p_data => l_msg_data
,p_msg_index_out => l_msg_index);
lc_error_text := lc_error_text || (substr(l_msg_data, 1, 255));
END LOOP;
dbms_output.put_line(lc_error_text);
--Rollback the transaction if error occured.
--ROLLBACK TO dcrd_csi_upd_ib_snm;
ELSE
/*fnd_file.put_line(fnd_file.log
, 'Install base update successful for IB# ' || ib_rec_tbl(i)
.instance_id);*/
dbms_output.put_line('Install base update successful for IB# ' || ib_rec_tbl(i)
.instance_id);
lc_error_text := 'SUCCESS!';
END IF;
--Update the temporary table record status
--update_status(ib_rec_tbl(i).snm_id, l_return_status, lc_error_text);
END LOOP;
--Commit transactions.
--COMMIT;
END IF;
EXCEPTION
WHEN no_data_found THEN
--fnd_file.put_line(fnd_file.log, 'No records to process');
dbms_output.put_line('No records to process');
WHEN OTHERS THEN
/* fnd_file.put_line(fnd_file.log, 'Error in update_ib procedure');
fnd_file.put_line(fnd_file.log, to_char(SQLCODE) || ' - ' || SQLERRM);
dbms_output.put_line('Error in update_ib procedure');
dbms_output.put_line(to_char(SQLCODE) || ' - ' || SQLERRM);
END;I will try the mass edit. Here is my code.
Thanks,
Alka.
DECLARE
ln_order_num NUMBER;
lc_p_sno VARCHAR2(30); -- Variable for printer serial no.
CURSOR ib_cur IS
SELECT cii.instance_id
,cii.serial_number
,cii.inventory_item_id
,cii.object_version_number
FROM csi_item_instances cii
WHERE cii.instance_id = &instance_id
ORDER BY 1;
TYPE ib_rec_tbl_type IS TABLE OF ib_cur%ROWTYPE;
ib_rec_tbl ib_rec_tbl_type;
-- Variables needed to call the Item Instance update API
l_api_version CONSTANT NUMBER := 1.0;
l_msg_count NUMBER;
l_msg_data VARCHAR2(2000);
l_msg_index NUMBER;
l_instance_id_lst csi_datastructures_pub.id_tbl;
l_instance_header_rec csi_datastructures_pub.instance_header_rec;
l_party_header_tbl csi_datastructures_pub.party_header_tbl;
l_party_acct_header_tbl csi_datastructures_pub.party_account_header_tbl;
l_org_unit_header_tbl csi_datastructures_pub.org_units_header_tbl;
l_instance_rec csi_datastructures_pub.instance_rec;
l_party_tbl csi_datastructures_pub.party_tbl;
l_account_tbl csi_datastructures_pub.party_account_tbl;
l_pricing_attrib_tbl csi_datastructures_pub.pricing_attribs_tbl;
l_org_assignments_tbl csi_datastructures_pub.organization_units_tbl;
l_asset_assignment_tbl csi_datastructures_pub.instance_asset_tbl;
l_ext_attrib_values_tbl csi_datastructures_pub.extend_attrib_values_tbl;
l_pricing_attribs_tbl csi_datastructures_pub.pricing_attribs_tbl;
l_ext_attrib_tbl csi_datastructures_pub.extend_attrib_values_tbl;
l_ext_attrib_def_tbl csi_datastructures_pub.extend_attrib_tbl;
l_asset_header_tbl csi_datastructures_pub.instance_asset_header_tbl;
l_txn_rec csi_datastructures_pub.transaction_rec;
l_install_location_id NUMBER;
l_return_status VARCHAR2(5);
lc_init_msg_lst VARCHAR2(1) := 'T';
ln_validation_level NUMBER;
lc_error_text VARCHAR2(4000);
l_install_location_type_code csi_item_instances.install_location_type_code%TYPE;
j BINARY_INTEGER := 0;
l_party_tbl_idx BINARY_INTEGER := 0;
l_ce_exists BOOLEAN := FALSE;
ln_contact_ip_id NUMBER; --contact_ip_id for preferred CE record in csi_i_parties table.
BEGIN
--Create a savepoint
-- SAVEPOINT dcrd_csi_upd_ib_snm;
OPEN ib_cur;
FETCH ib_cur BULK COLLECT
INTO ib_rec_tbl;
CLOSE ib_cur;
IF ib_rec_tbl.COUNT > 0
THEN
--fnd_file.put_line(fnd_file.log, 'Begin loop');
dbms_output.put_line('Begin loop');
FOR ib IN ib_rec_tbl.FIRST .. ib_rec_tbl.LAST
LOOP
--Set savepoint before processing record.
--SAVEPOINT dcrd_csi_upd_ib_snm;
l_instance_header_rec.instance_id := ib_rec_tbl(ib).instance_id;
csi_item_instance_pub.get_item_instance_details(p_api_version => l_api_version
,p_commit => fnd_api.g_false
,p_init_msg_list => fnd_api.g_false
,p_validation_level => fnd_api.g_valid_level_full
,p_instance_rec => l_instance_header_rec
,p_get_parties => fnd_api.g_true
,p_party_header_tbl => l_party_header_tbl
,p_get_accounts => fnd_api.g_true
,p_account_header_tbl => l_party_acct_header_tbl
,p_get_org_assignments => fnd_api.g_true
,p_org_header_tbl => l_org_unit_header_tbl
,p_get_pricing_attribs => fnd_api.g_false
,p_pricing_attrib_tbl =>l_pricing_attribs_tbl
,p_get_ext_attribs => fnd_api.g_false
,p_ext_attrib_tbl => l_ext_attrib_tbl
,p_ext_attrib_def_tbl => l_ext_attrib_def_tbl
,p_get_asset_assignments => fnd_api.g_false
,p_asset_header_tbl => l_asset_header_tbl
,p_resolve_id_columns => fnd_api.g_false
,p_time_stamp => SYSDATE
,x_return_status => l_return_status
,x_msg_count => l_msg_count
,x_msg_data => l_msg_data
lc_error_text := NULL;
l_instance_rec.instance_id := l_instance_header_rec.instance_id;
l_instance_rec.install_date := '12-MAR-2008';
l_instance_rec.install_location_type_code := 'HZ_PARTY_SITES';
l_instance_rec.install_location_id := 97918;
l_instance_rec.location_id := 97918;
l_instance_rec.location_type_code := 'HZ_PARTY_SITES';
l_instance_rec.object_version_number := l_instance_header_rec.object_version_number;
l_txn_rec.transaction_id := fnd_api.g_miss_num;
l_txn_rec.transaction_date := SYSDATE;
l_txn_rec.source_transaction_date := SYSDATE;
l_txn_rec.transaction_type_id := 8; --Id for DATA_CORRECTION transaction type
--Change Owner party details
j := 0;
FOR i IN l_party_header_tbl.FIRST..l_party_header_tbl.LAST
LOOP
IF l_party_header_tbl(i).relationship_type_code = 'OWNER'
THEN
l_party_tbl(j).instance_party_id := l_party_header_tbl(i).instance_party_id;
l_party_tbl(j).instance_id := l_party_header_tbl(i).instance_id;
l_party_tbl(j).relationship_type_code := l_party_header_tbl(i).relationship_type_code;
l_party_tbl(j).party_source_table := l_party_header_tbl(i).party_source_table;
l_party_tbl(j).party_id := 210617;
l_party_tbl(j).contact_flag := 'N';
l_party_tbl(j).preferred_flag := NULL;
l_party_tbl(j).primary_flag := NULL;
l_party_tbl(j).contact_flag := 'N';
l_party_tbl(j).object_version_number := l_party_header_tbl(i).object_version_number;
l_party_tbl_idx := j;
dbms_output.put_line('index is '||j);
ln_contact_ip_id := l_party_header_tbl(i).instance_party_id;
j := j + 1;
ELSIF l_party_header_tbl(i).relationship_type_code = 'CUSTOMER ENGINEER'
THEN
l_ce_exists := TRUE;
l_party_tbl(j).instance_party_id := l_party_header_tbl(i).instance_party_id;
l_party_tbl(j).instance_id := l_party_header_tbl(i).instance_id;
l_party_tbl(j).relationship_type_code := l_party_header_tbl(i).relationship_type_code;
l_party_tbl(j).party_source_table := 'EMPLOYEE';
l_party_tbl(j).party_id := 9115;
l_party_tbl(j).contact_flag := 'N';
l_party_tbl(j).preferred_flag := 'Y';
l_party_tbl(j).primary_flag := 'Y';
l_party_tbl(j).contact_flag := 'Y';
l_party_tbl(j).contact_ip_id := ln_contact_ip_id;
l_party_tbl(j).object_version_number := l_party_header_tbl(i).object_version_number;
l_party_tbl(j).contact_parent_tbl_index := l_party_tbl_idx;
END IF;
END LOOP;
dbms_output.put_line('l_party_tbl count is '||l_party_tbl.COUNT);
IF NOT l_ce_exists
THEN
FOR i IN l_party_header_tbl.FIRST..l_party_header_tbl.LAST
LOOP
IF l_party_header_tbl(i).relationship_type_code = 'OWNER'
THEN
l_party_tbl(j).instance_party_id := fnd_api.G_MISS_NUM;
l_party_tbl(j).instance_id := l_party_header_tbl(i).instance_id;
l_party_tbl(j).party_source_table := 'EMPLOYEE';
l_party_tbl(j).relationship_type_code := 'CUSTOMER ENGINEER';
l_party_tbl(j).party_id := 9115;
l_party_tbl(j).contact_flag := 'N';
l_party_tbl(j).preferred_flag := 'Y';
l_party_tbl(j).primary_flag := 'Y';
l_party_tbl(j).contact_flag := 'Y';
l_party_tbl(j).contact_ip_id := ln_contact_ip_id;
l_party_tbl(j).object_version_number := l_party_header_tbl(i).object_version_number;
l_party_tbl(j).contact_parent_tbl_index := l_party_tbl_idx;
END IF;
END LOOP;
END IF;
j := 0;
dbms_output.put_line('l_party_acct_header_tbl count is '||l_party_acct_header_tbl.COUNT);
--Change Owner party account details
FOR i IN l_party_acct_header_tbl.FIRST..l_party_acct_header_tbl.LAST
LOOP
IF l_party_acct_header_tbl(i).relationship_type_code = 'OWNER'
THEN
dbms_output.put_line('Adding account details for ip_account_id '||l_party_acct_header_tbl(i).ip_account_id);
l_account_tbl(j).ip_account_id := l_party_acct_header_tbl(i).ip_account_id;
l_account_tbl(j).instance_party_id := l_party_acct_header_tbl(i).instance_party_id;
l_account_tbl(j).party_account_id := 61217;
l_account_tbl(j).object_version_number := l_party_acct_header_tbl(i).object_version_number;
l_account_tbl(j).bill_to_address := 77370;
l_account_tbl(j).ship_to_address := 77648;
l_account_tbl(j).parent_tbl_index := 1;--l_party_tbl_idx;
j := j + 1;
END IF;
END LOOP;
dbms_output.put_line('l_account_tbl count is '||l_account_tbl.COUNT);
j := 0;
--Change Operating Unit details
FOR i IN l_org_unit_header_tbl.FIRST..l_org_unit_header_tbl.LAST
LOOP
IF l_org_unit_header_tbl(i).relationship_type_code = 'SOLD_FROM'
THEN
l_org_assignments_tbl(j).instance_ou_id := l_org_unit_header_tbl(i).instance_ou_id;
l_org_assignments_tbl(j).instance_id := l_org_unit_header_tbl(i).instance_id;
l_org_assignments_tbl(j).relationship_type_code := l_org_unit_header_tbl(i).relationship_type_code;
l_org_assignments_tbl(j).active_start_date := '12-MAR-2008';
l_org_assignments_tbl(j).operating_unit_id := 86;
l_org_assignments_tbl(j).object_version_number := l_org_unit_header_tbl(i).object_version_number;
END IF;
END LOOP;
-- Call instance update API if a serial no. is to be updated
/*fnd_file.put_line(fnd_file.log
,'Updating IB record for IB# ' || ib_rec_tbl(ib).instance_id);*/
dbms_output.put_line('Updating IB record for IB# ' || ib_rec_tbl(ib).instance_id);
csi_item_instance_pub.update_item_instance(p_api_version => l_api_version
,p_commit => 'F' --Handled outside API
,p_init_msg_list => lc_init_msg_lst
,p_validation_level => ln_validation_level
,p_instance_rec => l_instance_rec
,p_ext_attrib_values_tbl => l_ext_attrib_values_tbl --Null
,p_party_tbl => l_party_tbl --Null
,p_account_tbl => l_account_tbl --Null
,p_pricing_attrib_tbl => l_pricing_attrib_tbl --Null
,p_org_assignments_tbl => l_org_assignments_tbl --Null
,p_asset_assignment_tbl => l_asset_assignment_tbl --Null
,p_txn_rec => l_txn_rec
,x_instance_id_lst => l_instance_id_lst
,x_return_status => l_return_status
,x_msg_count => l_msg_count
,x_msg_data => l_msg_data);
IF l_return_status <> 'S'
THEN
/*fnd_file.put_line(fnd_file.log
, 'Error updating the install base for IB# ' || ib_rec_tbl(ib)
.instance_id);*/
dbms_output.put_line('Error updating the install base for IB# ' || ib_rec_tbl(ib)
.instance_id);
FOR i IN 1 .. l_msg_count
LOOP
fnd_msg_pub.get(p_msg_index => -1
,p_encoded => 'F'
,p_data => l_msg_data
,p_msg_index_out => l_msg_index);
lc_error_text := lc_error_text || (substr(l_msg_data, 1, 255));
END LOOP;
dbms_output.put_line(lc_error_text);
--Rollback the transaction if error occured.
--ROLLBACK TO dcrd_csi_upd_ib_snm;
ELSE
/*fnd_file.put_line(fnd_file.log
, 'Install base update successful for IB# ' || ib_rec_tbl(ib)
.instance_id);*/
dbms_output.put_line('Install base update successful for IB# ' || ib_rec_tbl(ib)
.instance_id);
lc_error_text := 'SUCCESS!';
END IF;
--Update the temporary table record status
--update_status(ib_rec_tbl(i).snm_id, l_return_status, lc_error_text);
END LOOP;
--Commit transactions.
--COMMIT;
END IF;
EXCEPTION
WHEN no_data_found THEN
--fnd_file.put_line(fnd_file.log, 'No records to process');
dbms_output.put_line('No records to process');
WHEN OTHERS THEN
/* fnd_file.put_line(fnd_file.log, 'Error in update_ib procedure');
fnd_file.put_line(fnd_file.log, to_char(SQLCODE) || ' - ' || SQLERRM);
dbms_output.put_line('Error in update_ib procedure');
dbms_output.put_line(to_char(SQLCODE) || ' - ' || SQLERRM);
END; -
Null Pointer Exception in Message Area
Hi!
I just want to get some inputs. I have this Message Area to display errors in Web Dynpro, but from time to time I get this Null Pointer Exception when an event takes place. Don't know why this happens, but the trace is not found my code.
Here's the Stack Trace:
+"java.lang.NullPointerException+
++ at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter._getConnectedControlId(MessageAreaAdapter.java:3684)++
++ at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter.access$900(MessageAreaAdapter.java:67)++
++ at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter$Rows.doNext(MessageAreaAdapter.java:2188)++
++ at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.IndexedItemsIterator.next(IndexedItemsIterator.java:54)++
++ at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter.getSelection(MessageAreaAdapter.java:3653)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:424)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
++ at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.renderSingleColumnLayoutCellFragment(SingleColumnLayoutRenderer.java:679)++
++ at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.renderSingleColumnLayoutFragment(SingleColumnLayoutRenderer.java:253)++
++ at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.render(SingleColumnLayoutRenderer.java:74)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
++ at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)++
++ at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
++ at com.sap.tc.ur.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1799)++
++ at com.sap.tc.ur.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:879)++
++ at com.sap.tc.ur.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
++ at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:790)++
++ at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:376)++
++ at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:326)++
++ at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:79)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
++ at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)++
++ at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
++ at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
++ at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1058)++
++ at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:458)++
++ at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1245)++
++ at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:253)++
++ at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)++
++ at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)++
++ at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)++
++ at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)++
++ at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)++
++ at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)++
++ at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)++
++ at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)++
++ at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)++
++ at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)++
++ at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)++
++ at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)++
++ at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)++
++ at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)++
++ at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)++
++ at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)++
++ at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)++
++ at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)++
++ at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)++
++ at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)++
++ at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)++
++ at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)++
++ at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)++
++ at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)++
++ at java.security.AccessController.doPrivileged(Native Method)++
++ at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)++
++ at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)"++
Just wondering if this can be solved on my end or is this a glitch? Would really appreciate some inputs!
Thanks!Hi,
Here two possibility
1. This is the case when we get something as return form the BAPI/RFC and want to display in our message area but return message itself is null like this statement
wdComponentAPI.getMessageManager().reportException(wdContext.nodeOutput_Salesorder_Create().currentOutput_Salesorder_CreateElement().getSalesdocument());
2.And this is when
try
executableClazz.execute();
nodeToinvalidate.invalidate();
} catch (WDDynamicRFCExecuteException ree)
wdComponentAPI.getMessageManager().reportException(ree);
or
wdComponentAPI.getMessageManager().reportException(ree.getMessage);
3. Message Area is simple UI element which ensure only the place where we have to so the message
So Check your code again it might solve your problem
Best Regards
Satish Kumar -
Null pointer Exception in findusersfiltered method
Hi,
I am using Findusersfiltered method to fetch the userkey . But it is throwing a null pointer exception, Findusersfiltered(Unknown source). Please let me know the workaround to solve this issue. Will changing the method to findallusers or any other method to fetch the user key will solve this?
Thanks.Still getting this error after using findallusers method... Any possible solution?
java.lang.NullPointerException
at Thor.API.Operations.tcUserOperationsClient.findAllUsers(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy59.findAllUsers(Unknown Source)
at com.bofa.email.RequestKeyGenerator.getRequestKey(RequestKeyGenerator.java:201)
at com.bofa.email.ExcelReader.printDatabase(ExcelReader.java:303)
at com.bofa.email.ExcelReader.showExelData(ExcelReader.java:279)
at com.bofa.email.ExcelReader.Parser(ExcelReader.java:137)
at com.bofa.email.FilenameReader.getPath(FilenameReader.java:53)
at com.bofa.email.InboxReader.retrieveUnreadMails(InboxReader.java:183)
at com.bofa.email.AutoRequestGenerator.executed(AutoRequestGenerator.java:77)
at com.bofa.email.AutoRequestGenerator.setup(AutoRequestGenerator.java:56)
at com.bofa.email.AutoRequestGenerator.execute(AutoRequestGenerator.java:29)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477) -
Install Base Accounting Class code
Hi,
Iam using api csi_item_instance_pub.update_item_instance for updating Install base instance.
Iam able to update the partyid, account id but not accounting class code.
Can anyone please help me how to update accounting class code along with party information.
Any help is highly appreciated.
Here is my code which Iam using to update Item instance..
CREATE OR REPLACE PROCEDURE updateib_load_test
IS
g_instance_id_lst csi_datastructures_pub.id_tbl;
l_instance_rec apps.csi_datastructures_pub.instance_rec;
p_ext_attrib_values apps.csi_datastructures_pub.extend_attrib_values_tbl;
p_party_tbl apps.csi_datastructures_pub.party_tbl;
p_account_tbl apps.csi_datastructures_pub.party_account_tbl;
l_pricing_attrib_tbl apps.csi_datastructures_pub.pricing_attribs_tbl;
l_org_assignments_tbl apps.csi_datastructures_pub.organization_units_tbl;
l_asset_assignment_tbl apps.csi_datastructures_pub.instance_asset_tbl;
l_txn_rec apps.csi_datastructures_pub.transaction_rec;
x2_txn_rec apps.csi_datastructures_pub.transaction_rec;
l_return_status VARCHAR2 (100);
l_msg_count NUMBER;
l_msg_data VARCHAR2 (2000);
l_created_manually_flag VARCHAR2 (100);
----l_org_id NUMBER := 204;
n NUMBER := 1;
v_instance_id NUMBER;
p_commit VARCHAR2 (5);
p2_commit VARCHAR2 (5);
p_validation_level NUMBER;
p_init_msg_lst VARCHAR2 (500);
v_instance_party_id NUMBER;
v_ip_account_id NUMBER;
l_relationship_tbl apps.csi_datastructures_pub.ii_relationship_tbl;
v_relationship_id NUMBER;
v_success VARCHAR2 (1) := 'T';
x2_return_status VARCHAR2 (100);
x2_msg_count NUMBER;
x2_msg_data VARCHAR2 (2000);
p2_validation_level NUMBER;
p2_init_msg_lst VARCHAR2 (500);
a NUMBER;
t1_msg_dummy VARCHAR2 (1000);
t1_output VARCHAR2 (1000);
l_not_created NUMBER;
l_buffer VARCHAR2 (32767);
l_problem EXCEPTION;
l_message VARCHAR2 (2000);
CURSOR updateib_cur
IS
SELECT *
FROM ib_conv_stg
WHERE updateib = 'Y'
AND status_stg = 'V'
AND new_instance_number IS NOT NULL
AND transaction_id_stg = 8077;
BEGIN
-- DBMS_OUTPUT.put_line ('AFTER BEGIN');
apps.fnd_file.put_line (apps.fnd_file.LOG, 'AFTER BEGIN');
FOR updateib_rec IN updateib_cur
LOOP
BEGIN
l_instance_rec.accounting_class_code := fnd_api.g_miss_char;
IF p_party_tbl.EXISTS (1) IS NOT NULL
THEN
p_party_tbl.DELETE;
END IF;
IF p_account_tbl.EXISTS (1) IS NOT NULL
THEN
p_account_tbl.DELETE;
END IF;
IF p_ext_attrib_values.EXISTS (1) IS NOT NULL
THEN
p_ext_attrib_values.DELETE;
END IF;
/* SELECT apps.csi_item_instances_s.NEXTVAL
INTO v_instance_id
FROM SYS.DUAL;*/
l_instance_rec.instance_id :=
TO_NUMBER (updateib_rec.new_instance_number);
l_instance_rec.instance_number := updateib_rec.new_instance_number;
apps.fnd_file.put_line (apps.fnd_file.LOG,
l_instance_rec.instance_id);
l_instance_rec.object_version_number := updateib_rec.object_version;
apps.fnd_file.put_line (apps.fnd_file.LOG,
l_instance_rec.object_version_number
--l_instance_rec.inventory_item_id := updateib_rec.inventory_item_id;
l_instance_rec.inv_master_organization_id :=
updateib_rec.inv_master_organization_id;
--189;
l_instance_rec.mfg_serial_number_flag :=
updateib_rec.mfg_serial_number_flag;
--'Y';
--l_instance_rec.serial_number := updateib_rec.ls_serial_number;
---'LOG0005';
l_instance_rec.quantity := updateib_rec.quantity; --1;
l_instance_rec.unit_of_measure := updateib_rec.unit_of_measure;
--'EA';
l_instance_rec.accounting_class_code :=
updateib_rec.accounting_class_code;
apps.fnd_file.put_line (apps.fnd_file.LOG,
updateib_rec.new_instance_number
|| 'instance_rec'
|| l_instance_rec.accounting_class_code
|| 'updateib'
|| updateib_rec.accounting_class_code
--'CUST_PROD'; --'INV';
l_instance_rec.instance_status_id := updateib_rec.instance_status_id;
--510;
l_instance_rec.customer_view_flag := updateib_rec.customer_view_flag;
--'N'; --N
l_instance_rec.merchant_view_flag := updateib_rec.merchant_view_flag;
--'Y'; --Y
l_instance_rec.sellable_flag := updateib_rec.sellable_flag;
--'Y'; --N
--l_instance_rec.active_start_date := updateib_rec.active_start_date;
--SYSDATE;
l_instance_rec.location_type_code := updateib_rec.location_type_code;
--'HZ_PARTY_SITES';
l_instance_rec.location_id := updateib_rec.location_id; --375885;
l_instance_rec.install_date := updateib_rec.install_date;
--SYSDATE;
l_instance_rec.install_location_type_code :=
updateib_rec.install_location_type_code;
--'HZ_PARTY_SITES';
l_instance_rec.install_location_id :=
updateib_rec.install_location_id;
--375885;
--l_instance_rec.vld_organization_id :=
--updateib_rec.last_vld_organization_id;
--2104;
l_instance_rec.creation_complete_flag :=
updateib_rec.creation_complete_flag;
--'Y';
--l_instance_rec.object_version_number :=
--updateib_rec.object_version_number;
-- 1;
l_instance_rec.external_reference :=
updateib_rec.ls_external_reference;
l_instance_rec.instance_usage_code :=
updateib_rec.instance_usage_code;
l_instance_rec.inv_organization_id :=
updateib_rec.inv_organization_id;
l_instance_rec.inv_subinventory_name :=
updateib_rec.inv_subinventory_name;
l_instance_rec.inv_locator_id := updateib_rec.inv_locator_id;
l_instance_rec.manually_created_flag :=
updateib_rec.manually_created_flag;
l_instance_rec.last_oe_po_number := updateib_rec.last_oe_po_number;
l_instance_rec.instance_type_code :=
updateib_rec.ls_instance_type_code;
l_instance_rec.attribute3 := updateib_rec.ls_warranty_expiration_date;
--l_instance_rec.UPDATE_ORACLE:= updateib_rec.UPDATE_ORACLE;
-- ************* FOR PARTIES **********************************************************
/* SELECT apps.csi_i_parties_s.NEXTVAL
INTO v_instance_party_id
FROM SYS.DUAL;*/
p_party_tbl (1).instance_party_id := updateib_rec.instance_party_id;
p_party_tbl (1).instance_id :=
TO_NUMBER (updateib_rec.new_instance_number);
p_party_tbl (1).party_source_table :=
updateib_rec.owner_party_source_table;
--'HZ_PARTIES'; --
p_party_tbl (1).party_id := updateib_rec.owner_party_id;
--442143; --13478;
p_party_tbl (1).relationship_type_code := 'OWNER';
p_party_tbl (1).contact_flag := 'N';
-- l_party_tbl (1).active_start_date := updateib_rec.active_start_date;
--SYSDATE;
p_party_tbl (1).object_version_number :=
updateib_rec.object_version_p;
apps.fnd_file.put_line (apps.fnd_file.LOG,
p_party_tbl (1).object_version_number
-- *********** FOR PARTY ACCOUNT *****************************************************
/* SELECT apps.csi_ip_accounts_s.NEXTVAL
INTO v_ip_account_id
FROM SYS.DUAL;*/
p_account_tbl (1).ip_account_id := updateib_rec.ip_account_id;
p_account_tbl (1).instance_party_id := updateib_rec.instance_party_id;
p_account_tbl (1).party_account_id :=
updateib_rec.owner_party_account_id;
--755865;
p_account_tbl (1).relationship_type_code := 'OWNER';
--l_account_tbl (1).active_start_date := updateib_rec.active_start_date;
--SYSDATE;
p_account_tbl (1).object_version_number :=
updateib_rec.object_version_a;
apps.fnd_file.put_line (apps.fnd_file.LOG,
p_account_tbl (1).object_version_number
-- 1;
p_account_tbl (1).parent_tbl_index := 1;
p_account_tbl (1).call_contracts := 'Y';
-- ************************** TRANSACTION REC *****************************************
l_txn_rec.transaction_date := SYSDATE;
l_txn_rec.source_transaction_date := SYSDATE;
l_txn_rec.transaction_type_id := 1;
l_txn_rec.object_version_number := 1;
-- *************** API CALL *******************************************************
-- DBMS_OUTPUT.put_line ('BEFORE CREATE ITEM INSTANCE');
apps.fnd_file.put_line (apps.fnd_file.LOG,
'BEFORE UPDATE ITEM INSTANCE'
END;
BEGIN
fnd_msg_pub.initialize;
csi_item_instance_pub.update_item_instance
(p_api_version => 1.0,
p_commit => apps.fnd_api.g_true
--Defaults assigned in the package
p_init_msg_list => apps.fnd_api.g_true
--Defaults assigned in the package
p_validation_level => apps.fnd_api.g_valid_level_full
--Defaults assigned in the package
p_instance_rec => l_instance_rec,
p_ext_attrib_values_tbl => p_ext_attrib_values,
p_party_tbl => p_party_tbl,
p_account_tbl => p_account_tbl,
p_pricing_attrib_tbl => l_pricing_attrib_tbl,
p_org_assignments_tbl => l_org_assignments_tbl,
p_asset_assignment_tbl => l_asset_assignment_tbl,
p_txn_rec => l_txn_rec,
x_instance_id_lst => g_instance_id_lst,
x_return_status => l_return_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data
COMMIT;
apps.fnd_file.put_line (apps.fnd_file.LOG,
'AFTER UPDATE ITEM INSTANCE'
apps.fnd_file.put_line (apps.fnd_file.LOG, 'test' || l_msg_data);
/* apps.fnd_file.put_line (apps.fnd_file.LOG,
'test1'
|| apps.fnd_msg_pub.get
(l_lcv,
apps.fnd_api.g_false
IF l_return_status != apps.fnd_api.g_ret_sts_success
THEN
l_not_created := l_not_created + 1;
ROLLBACK;
RAISE l_problem;
END IF;
updating STATUS in stg table
BEGIN
IF l_return_status = 'S'
THEN
dbms_output.put_line('satus :'||l_return_status);
COMMIT;
END IF;
COMMIT;
END;
-------------exception l_problem
EXCEPTION
WHEN l_problem
THEN
IF (l_msg_count > 0)
THEN
l_buffer := '';
FOR l_lcv IN 1 .. l_msg_count
LOOP
l_message :=
apps.fnd_msg_pub.get (l_lcv, apps.fnd_api.g_false);
END LOOP;
END IF;
COMMIT;
END;
END LOOP;
END updateib_load_test;Hi Nagamohan,
Thanks for your reply.
Iam using the Location type code 'HZ_PARTY_SITES'.
Actually Iam updating existing instance to update party information.
The existing instance has the accounting_class_code as 'CUST_PROD'.
I want to update accounting class code to 'INV' while updating party information.
Iam able to update party information but not able to update accounting class code.
When I digged into the api, csi_item_instance_pub.update_item_instance I found some code which was updating the accounting_class_code to null if there is party information to be updated. I think this is the reason Iam not able to update accounting class.
Please help me if there is any chance of updating accounting class code along with party information.
Thanks in advance -
Creating SC dependencies result in null pointer exception
Hi
I have installed JDI landscape and am nearly finished but I encounter a null pointer exception when I tried to adjust dependencies for my newly created SC and as a result I cannot create a track (no SCs could be added to it).
The exception is as follows:
java.lang.NullPointerException
at com.sap.sld.wd.softwarecatalog.CreateNewDependency.supplyFilteredSoftwareComponentVersions(CreateNewDependency.java:231)
at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.supplyFilteredSoftwareComponentVersions(InternalCreateNewDependency.java:378)
at com.sap.sld.wd.softwarecatalog.wdp.IPrivateCreateNewDependency$IFilteredSoftwareComponentVersionsNode.doSupplyElements(IPrivateCreateNewDependency.java:1693)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:406)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
at com.sap.tc.webdynpro.progmodel.context.Node.getElements(Node.java:333)
at com.sap.tc.webdynpro.progmodel.context.Node.size(Node.java:721)
at com.sap.sld.wd.softwarecatalog.CreateNewDependency.onActionSort(CreateNewDependency.java:588)
at com.sap.sld.wd.softwarecatalog.CreateNewDependency.onActionAutoSort(CreateNewDependency.java:578)
at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.onActionAutoSort(InternalCreateNewDependency.java:522)
at com.sap.sld.wd.softwarecatalog.CreateNewDependency.wdDoModifyView(CreateNewDependency.java:157)
at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.wdDoModifyView(InternalCreateNewDependency.java:830)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
PLEASE help me out
ThanksHi,
Did you create Product/Software Components in SLD? And did you define dependencies(the three standard SAP SCs) for the SC in SLD? Did you update CMS after you've created SCs/dependencies in SLD?
Thanks,
Rajit Srinivas
Maybe you are looking for
-
J2ME Wireless Toolkit 2.5
Hi all, I would like to ask if this new veresion (J2ME Wireless toolkit 2.5) supports ArrayList. I have developed a program with ArrayList , is it possible to run it in this new version without problems. Thanks
-
Hi all We have been designing resource management system and want to provide flexible way to extend resource properties at runtime. So we are storing resource properties in a single table, e.g. select * from _kv ID K V 1 name Bob 1 age 30 1
-
Hi in our scenario,we have data like BP number,address,email,phone....of multiple businesspartners being sent in a single xml file. When sent and checked in the target system the email addsress of only the first BP is being updated where all the oth
-
Testversion Premiere CS3: Encore kann nicht genutzt werden
Hallo Zusammen Ich habe mir gestern die Testversion von Premiere CS3 heruntergeladen. Nach längerem Suchen nach einer Möglichkeit, mein Projekt auf eine DVD zu brennen, welche auf DVD-Playern wiedergegeben werden kann, habe ich google kontaktiert. Da
-
Hi all I'm wondering if someone can give me some advice on configuring an XServe. I'm a Mac admin, but I don't have a lot of experience with setting up Servers from scratch, only with configuring them. I recently installed a PCI hardware RAID control