How to Add table of values in BBP_CUF_BADI
I see many posts regarding adding single custom fields. Is it possible to add a table of custom data?
I've created an include with my new table fields. Then appended this new structure to the Structure INCL_EEW_PD_ITEM_CST_BID.
Then, I created code to read the custom data in the MODIFY_SCREEN implementation. I thought I needed to append the data to IT_CUF_TABLE, but I get compile error on the APPEND statement that this table may not be modified.
Thanks for your help!
Hello,
Table cuf are not transfered in this badi. Check the note 942611 to correct it (only SRM4, maybe have to ask for correct version in SRM5).
Rgds,
Pierre
Similar Messages
-
How to add table in SAP Non interactive forms in webdynpro java
Hi Experts,
I have a requirement in webdynpro java.I have a print button.On clicking print button a pdf will be opened.
This pdf will have data from the webdynpro view.I want to know how to add table in the adobe pdf.The webdynpro view will have many rows of table(rows will keep changing as per the size of the data output).How to send this data to adobe.How do we bind the node to the table in the adobe.How to automatically
Please suggest.
Thanks,
Rajani
Edited by: Rajani Nandagiri on Dec 26, 2008 8:58 AMRajani,
Take a look at below links, it will help you.
[Handling Dynamic Length Tables in Adobe Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669]
[Integrate tables & Images in Adobe Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/dynamic%20non-interactive%20pdf%20form.pdf]
[How to Handle Table Input and Output|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf]
[How Tou2026deal with Table input and display in Interactive Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0]
Chintan -
How to add a default value in a site column for every item in a document library
HI
i created a content type with some site columns ,
and included in a Document library.
Process ( content type)
-ProcessNo
-ProcessName
after that i uploaded 100 Documents but not added value in a site column process name.
now how i add a default value in a site column for every document in a document library
adilHI
i get below error when i change the script
PS C:\scripts> C:\Scripts\updatedefaultvalue.ps1
Cannot index into a null array.
At C:\Scripts\updatedefaultvalue.ps1:8 char:7
+ IF($i[ <<<< "Title"] -eq $null)
+ CategoryInfo : InvalidOperation: (Title:String) [], RuntimeExce
ption
+ FullyQualifiedErrorId : NullArray
$web = Get-SPWeb http://tspmcwfe:89/
$list = $web.Lists["test"]
$item = $list.Items | Where { $_["Name"] -eq "Emc" }
foreach($i in $items)
IF($i["Title"] -eq $null)
$i["Title"] = "test"
$i.Update()
adil
Why are you piping a where in the items? Do you only want to add the "test" to ones matching
a name?
If you have ISE installed on your server I recommend you put your code in there and debug it.
If this is helpful please mark it so. Also if this solved your problem mark as answer. -
How can add some suggested value to a propert on a Declarative Component,
how can add some suggested value to a propert on a Declarative Component?
kenyatta,
Where you want to add the value ?
If you want put some UIComponent(Value) to your declarative Component than follow my blog ( http://jneelmani.blogspot.com/2009/02/11g-how-to-create-declarative-component.html ) and add your value in STEP-5.
You can watch live-demo at http://www.oracle.com/technology/products/jdev/viewlets/viewlet.html
--Neelmani Jaiswal
Edited by: Neelmani Jaiswal on Mar 23, 2009 11:11 AM -
How to add a default value in a prompt list?
I have a prompt list that I'm getting from the database, I want to add a deafult value in the top of the list. Ei "ALL", my current list is:
"AMERICAS"
"EMEA"
"ASIA"
I want a list like:
"ALL"
"AMERICAS"
"EMEA"
"ASIA"
This is the code I have:
@Select(Country Region\Regionname)IN @Prompt('Enter the region','A',{'All'}distinct 'Country Region\Regionname',Multi,Constrained)
It is displaying only "All". Does someone know how to merge text with a database list in a promp variable?
Thank you!
Marcelaplease find this post
i've solved this problem with someone before
Optional User prompt
ok, lets get back to our problem
since you are in sybase databases i dont know weather there is a DUAL table like oracle or not,
anyway forget about it and follow those steps
1. import the universe to the desginer
2. Right Click any empty space on the Stage to Create a derived table.
3. Give The derived table any Dummy Name lets say "ALL_table"
4. write a small SQL statment in the derived table "Enter SQL Expression"
select 'ALL' from anytable you have in the database.
lets say the countries table itself
SELECT 'ALL' FROM USER.COUNTRIES
validate the SQL and Click ok.
5.you will have a derived table called "ALL_table" with field name "ALL"
6.Drag the Field Name ALL to the Same Class whicn you "Country Name" in.
7.Get back to your "Country Name" Dimension and Double Click it to get its properties, then go to the Properties tab.
8.in the peroperties tab. "Associate List of Values" ,, Click "Edit" Button.
9.you will find your "Country Name" Dimension, click "Combine Queies" icon in the bar, to have another queries union with the first one.
10. you will have another query with "U" beside itm Drag the "ALL" dimension in it, and remove the "Country Name"
so you will have 2 union queries one with the "Country Name" and another on with "ALL"
gooooooood.
11.Click "Save and Close"
12.Check Export with universe and "Automatically Refresh before use"
13.now you can hide the "ALL" dimension we have created before, to make it invisible for the users. (do you have problem hiding this dimension?)
14.export your universe
15.open WebI
16.Create Report on this universe.
17.put the "Country Name" Dimension on the filter and make it prompt,
18.Run the query,
19. tell me what you see?
good luck
Amr -
How to add one more values in Search Criteria,
Hi All,
OAF page Search Criteria :
Search By "name"only Available already have in the search criteria .we are need to add Description in search criteria .How to add one more filed “Description” in Search Criteria,
Please Help Me
Thanks
Rajavel"Set the Search Allowed property to True for any LOV result items you want to present to the user as searchable values. These items are listed in the search poplist the user sees in the LOV window.
At a minimum you must set the Search Allowed property to True for the the result table item corresponding to the LOV field on the base page.
This is from the devguide, I suggest you read it once at least if you have started work on the framework.
Tapash -
How to add Table element in PDF form in Webdynpro
Hello Everybody,
I am developing one application in Webdynpro using PDF form in it. I wantable control in PDF form. I read somewhere that we can add table control in PDF form. But i didnt find how to add the same. So if anybody knows then please help me.
Thanx in advance...
BhavikHi All,
Please follow these steps to create tables in adobe interactive forms.
Lets us take this example. We want to display employee information. The following fields are the one that we are going to display:
1. employeenumber
2. First name
3. last name.
First insert a "interactive form UI element" in the view. Create a value node and bind it to the data source of the UI element.
Create a subnode called "Employee".
Create 3 value attributes to display the 3 values.
Open the form designer. Insert a subform. change its type to "flow content"(default is position content) and in the next drop down, choose the value as type "table".
insert one more subform into this subform. change its type to "flow content" and from the dropdown, choose the value as "table row" and in the tab "binding", click the checkbox "min" and have its value as 1.
now drag the elements from the data hierarchy into the second subform.
save the form in the designer.
go to the view implementation and populate the nodes with the value. if this is within a loop, the content of the second subform is repeated giving the user a "table".
I hope the steps are clear.
Regards,
Chander -
How to add get Day value in a Date object?
Hi,
I am writing a sql statement that has two date values. One I am getting it from the database. The format in the database is MM/DD/YYYY. My first question is how do I convert the format into the java date format, YYYY-MM-DD. The second question is I need to find out what the day is and add 1 to it. How do I get Day value in a Date object?
Thanks.Look at "SimpleDateFormat" and "parse" in the archives.
-
How i pass table column value to string variable or return to java applete
Hi Master,
How do I pass a table column value into string variable. See my code below:
import java.sql.*;
public class Waheed {
public Waheed() {
public static void main (String args [])
String s = "9 23 45.4 56.7";
System.out.println ("going for connection");
// DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@fahim:1521:aamir","muhammad","mfa786");
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery("select accid from accbal");
System.out.println ("going for connection");
while (rset.next())
s= rset.getString("accid"); this line give me error
System.out.println (rset.getString("accid"));
System.out.println (s);
catch(Exception e){
e.printStackTrace();
This line give me an error:
s= rset.getString("accid");
s is string variable
Plese give me an idea how I can pass accid in s variable.
Thanks.
AamirSee the code sample in the following thread (try using upeercase).
JDBC connection
Kuassi -
How to add table actions to an Advanced Table programmatically
We have code in my CO which builds an advanced table dynamically and associates it with a VO. The table comes out looking good - the correct columns and data are displayed.
I now want to add Table Actions for that particular dynamically created table.
The code below builds the buttons correctly and they are built/rendered just fine.
After adding this code to build the FlowLayout bean, add the buttons and associate the it to the TableActions of the advanced table bean, none of the buttons on the page work anymore. Each time I click any button (even if it's a page level button like 'Save' or 'Cancel'), I get the following error:
+## Detail 0 ##+
java.lang.NullPointerException
+ at java.util.Hashtable.get(Hashtable.java:336)+
I have added debug statements in by CO, but it is never even getting into the ProcessFormRequest
Below is the code we are using. Can anyone suggest a way to have this flow layout created dynamically like this and not break all button functionality on the page?
//Create the advanced table
OAAdvancedTableBean tableBeanP1 = (OAAdvancedTableBean)createWebBean(pageContext, ADVANCED_TABLE_BEAN, null,"Proc1Tab");
tableBeanP1.setViewUsageName("P100DetailsVO1");
tableBeanP1.setNumberOfRowsDisplayed(10);
//Create a new flow layout to be used as the table actions
OAFlowLayoutBean tableActionBean = (OAFlowLayoutBean)createWebBean(pageContext, FLOW_LAYOUT_BEAN, null, "P1ButtonRegion");
//Create the "Add Control Group" button for this table:
OAButtonBean addButtonBean = (OAButtonBean)createWebBean(pageContext, BUTTON_BEAN, null, "P1AddCtrlGroup");
FireAction FireActionAddGroup = new FireAction();
FireActionAddGroup.setEvent("AddCtrlGroup");
Parameter param = new Parameter();
param.setKey("ProcedureIndex");
param.setValue("1");
Parameter[] params = {param};
FireActionAddGroup.setParameters(params);
addButtonBean.setPrimaryClientAction(FireActionAddGroup);
addButtonBean.setText("Add Control Group");
tableActionBean.addIndexedChild(addButtonBean);
//Add the table actions bean to the table:
tableBeanP1.setTableActions(tableActionBean);Hello Ashley,
you are already close to the solution. In BADI QISR1 you simply fill the
table SPECIAL_DATA e.g.like
fieldindex = 1
fieldname = 'FIELD1'
fieldvalue = 'Value1'
fieldindex = <n>
fieldname = 'FIELD1'
fieldvalue = 'VALUE<n>'
Then on the Adobe form layout (Adobe Designer), you have to use the table control XFO from the standard library. Here you have to bind then the corresponding column to FIELD1.
Best regards,
Simon -
How to add New status values in product
Hi,
In product master COMMPR01 presently system is shwoing only two vaues Blocked (ERROR), Blocked (Warning), even I have downaloded the sales staus from ECC to CRM using R3AS object 'DNL_CUST_PROD3' but on the screen system is not shwoing thos values.
How to add new values in staus field.
Regards,
zafarHi,
Refer these links
Re: GR for a production order
status profile
Regards,
Vishal -
How to format table column values to currency?
All,
I have bound a context attribute (type - string) to a table column (TextView) which is used to display currency.
It displays the value as 123456789.00
How do I format the value as 123,456,789.00?
Is there any FM available to format?
I don't want to change the above context attribute type to CURR.
Thanks
Thruna>I don't want to change the above context attribute type to CURR.
Why not? That is the correct thing to do. That way you get formatting, sorting, even the correct decimal position and notation for different currencies and user settings.
If you must go with string for the context attribute then I still assume your source data is type CURR. When you 'move' this content into the string of the context attribute use the WRITE statement. This will format the currency variable for output. -
How to add a profile value programmatically?
Anyone know how to add one? Is there an API?
I want to add a user level profile option value for 'POR_DEFAULT_DELIVER_TO_LOCATION_ID' so I can default the value. Thanks!
ThanksHi,
The LEVEL_VALUE column contains the value of the profile option (see eTRM for details).
The LEVEL_ID should tell you at what level this profile option is set as follows:
10001 --> Site
10002 --> Application
10003 --> Responsibility
10004 --> User
10005 --> Server
10007 --> SERVRESP
Note: 201945.1 - How to list E-Business Suite Profile Option values for all levels using SQLPlus
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=201945.1
Regards,
Hussein -
How to add the resultant value in a double
Hay guys
I am adding two vectors (each vector has 3000 values). I want to add them together and store in a double variable. But when i compile i have an error. (incompatible type found, Object required.)
How can i store the values of two vector in an object
here is my peice of code
public void result (){
double temp1;
for(int i=0; i<= 3000;i++){
temp1 = (double)v.elementAt(i) + (double)v1.elementAt(i);
NOTE: i already have 3000 values (or objects) in my vectors
Thanks alot in advanceOkay guss. i Used (Double) in my vectors as object because with lowercase (double) it throws error. Asbestos you said (What are the objects in the vectors? Are they Doubles (with a capital 'D')? If so, use the methods found in the Double API to change the Doubles into doubles, instead of trying to cast them.) i tried but i didnt able to findout how to use that API. Can anybody show me
Here is my full code.
public class Simple {
public long c=0;
public long a = 16807;
public long m = 2147483647;
public long XO = 238640;
public long XO1 = 248921;
public Vector v = new Vector();
public Vector v1 = new Vector();
public Vector vLast = new Vector();
public double x = 0, R = 0;
public double LCDx (){
for(int i=0; i<= 3000;i++){
x = (((a)*(XO))+c)%m;
R = x/m;
XO = (long)x;
v.addElement(new Double(R));
System.out.println(i+" Value: "+R);
return R;
public double LCDy (){
for(int i=0; i<= 3000;i++){
x = (((a)*(XO1))+c)%m;
R = x/m;
XO1 = (long)x;
v1.addElement(new Double(R));
return R;
public void result (){
double temp1;
for(int i=0; i<= 3000;i++){
// PROBLEM PART
double temp = (double)v.elementAt(i) + (double)v1.elementAt(i);
vLast.add(temp);
}Thanks alot in advnacee -
How to add new picklist value to states and countries to Address object
Hi,
I like to query and update picklists, state and country, in the address. What're the record type and filed name for them?
I tried record type, Address and field name, State and Country, with no luck.
ThanksHi,
As far as I know you cannot modify the address object at this point of time.
If you want to add values or modify the picklists for State & Country, you would need to use custom fields and add all required values and then use those fields. (You can remove the Addres Object completely from the layout and then substitue it with the custom picklists that you have designed - possibly cascading picklists with Country as parent and State as child )
Hope it helps.
Maybe you are looking for
-
HP G71-340us With Several Power Issues
My wife's HP G71-340us developed a problem with the power "brick" that came with the computer. The part that plugs directly into the side of the notebook cracked open, exposing the wires inside the cord. The cord itself began to fail, only supplyin
-
I can't get the Firefox clipboard to appear when i try to copy from Google Keep. Please help, thanks.
-
Problem use SQL query in coding report with SBO
Hi everyone! I have problem in execute query to delete and create a report with SQL 2000 in SAP. Try oForm.DataSources.DataTables.Item(0).ExecuteQuery("DELETE FROM rptReport") Catch ex As Exception End Try oForm.DataSources.DataTable
-
I'm writing a program in VB that calls on a JAR file. It has been working great for weeks. Last night, I moved the JAR file to a new location on my machine, and it suddenly stopped working at all. I know nothing about Java. Do I need to recompile the
-
Hi, I am new or know nothing about Mac Mini which I received from relative as gift along with few software including lion OS. I want to install lion after time machine backup of current files Mac OS X 10.6.8. MY question is that backup of Mac OS X 10