How enter the values in to table when create entries option is not working
hi everyone,
can u please tell me How enter the values in to table when create entries option is not working.
it's urgent.
thanking u all
Hi Shree,
how many entries u want to insert ,,
is it a ztable or custom table ..
just tell me ur clear requirement ..
clarify the same ..
if no options avaliable then if its less entries or some value u can do it through debugging ..
if its bulk entries then u can write a program ..
just let me know ..
regards,
VIjay
Similar Messages
-
I am trying to remove the backup encrypt for my Iphone 4 but the itunes ask for the password and basically I have not set any password before ...!!! Please note that I entered the password for my apple account and also it did not work, how i can reset it?
You can't reset it. If you don't konw the password then you can't use that backup
-
HT4623 how to update to ios 6.1 when my update software is not working
I have iPhone 4s how to update to ios 6.1 when my update software is not working when I click software updates the gear is turning and there is a message downloading and estimating time remaining but I stays like that for two days now nothing is happening what can I do?
MICHAEL MI IPOD ES 4 Y TAMBIEN QUIERO DESCARGAR IO7 PERO ME MARCA ITUNES QUE EL IO7 ES UN BETTA Y EL 21 DE SEP ITUNES BUSCARA UNA ACTUALIZACIO DE SOFTWARE DE IOS Y EL QUE SIGUE ES EL 6.1.3 Y LUEGO EL 7.0 DESPUES EL IOS X Y DESPUES EL IOS 7.1.2 MI DUDA ES CON CUAL SE VA ACTUALIZAR MI IPOD4 EL 21 DE SEPTIEMBRE
-
I created an application and in that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works fine in our side (Timezone,kolkata ,india even for Timezone,slvaniya,USA) but our USA client is telling that on changing the date it not starts from start-up sequence.Can anyone plz suggest the reason for it.
This is the code which we have used.
//////////Return if it is first time for the day or not//////////////
+ (BOOL)isFirstTimeToday {
BOOL result = YES;
NSDate *now = [[NSDate alloc] init]; /// represents the current time
NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: now];
NSDate *today = [gregorian dateFromComponents:components];
[now release];
[gregorian release];
NSDate *savedDate = [[NSUserDefaults standardUserDefaults] objectForKey:LAST_TIME_VISITED];
if (savedDate) {
if ([today earlierDate:savedDate] == today) {
result = NO;
return result;
////////Stores the date/////////////
+ (void)userDidVisitReenforceScreenToday {
[[NSUserDefaults standardUserDefaults] setObject:[NSDate todayAtMidnight] forKey:LAST_TIME_VISITED];
////////////What [NSDate todayAtMidnight] stores/////////////////////
+ (NSDate *)daysFromNowAtMidnight:(NSInteger)nOfDays {
NSDate *date = [NSDate dateWithTimeIntervalSinceNow: (86400*nOfDays)];
NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: date];
NSDate *dateAtMidnight = [gregorian dateFromComponents:components];
[gregorian release];
NSLog(@"dateAtMidnight : %@",dateAtMidnight);
return dateAtMidnight;
+ (NSDate *)todayAtMidnight {
return [self daysFromNowAtMidnight:0];
Please Suggest.. -
How can i display the values in a table when i press enter
hi,
I have three text boxes and a table with three columns in a jsp page.When i keyin some values in the text boxes and press Enter these values should be dispalyed in the three columns of the table.When once again if i key in the text boxes with some other values these values should also be displayed in the table columns in another row.Can it be done.Pls help me.Hoping for a reply.
Thanks
Naveenhi
just go through the Code below:
this helps you but this works in IE only.
<html>
<head>
<script language="javascript">
<!--
function show(frm) {
Show.innerText = frm.desc.value;
} // closing the function show()
//-->
</script>
</head>
<form name="testform">
<textarea name="desc" rows="3" cols="20"></textarea>
<input type="button" name="buttsub" value="Submit" onClick="javascript:show(this.form)">
<br>
<table width="500">
<tr><td bgcolor="#e6e6e6">
<div id="Show"> </div>
</td>
</tr>
</table>
</form>
</html>
Cheers
rambee -
How do I enable my Apple ID when several password resets did not work?
My Apple ID has been disabled and I have reset my password several times yet am unable to update my Apps because of a "Apple ID Disabled" message.
What othe steps can I take at this point?Try here > Apple ID: "This Apple ID has been disabled for security reasons" alert appears
-
How to retrieve the values from a table if they differ in Unit of Measure
How to retrieve the values from a table if they differ in Unit of Measure?
If no data is read
- Insure that you use internal code in SELECT statement, check via SE16 desactivating conversion exit on table T006A. ([ref|http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa0122493111d182b70000e829fbfe/frameset.htm])
If no quanity in result internal table
- There is no adqntp field in the internal table, so no quantity is copied in itab ([ref|http://help.sap.com /abapdocu_70/en/ABAPINTO_CLAUSE.htm#&ABAP_ALTERNATIVE_1@1@]).
- - Remove the CORRESPONDING, so quantity will fill the first field adqntp1. ([ref|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_WA.htm])
- - Then loop at the internal table and move the quantity when necessary to the 2 other fields.
* Fill the internal table
SELECT msehi adqntp
INTO TABLE internal table
FROM lipso2
WHERE vbeln = wrk_doc1
AND msehi IN ('KL','K15','MT').
* If required move the read quantity in the appropriate column.
LOOP AT internal_table ASSIGNING <fs>.
CASE <fs>-msehi.
WHEN 'K15'.
<fs>-adqnt2 = <fs>-adqnt1.
CLEAR <fs>-adqnt1.
WHEN 'MT'.
<fs>-adqnt3 = <fs>-adqnt1.
CLEAR <fs>-adqnt1.
ENDCASE.
ENDLOOP.
- You could also create another table with only fields msehi and adqntp and then collect ([ref|http://help.sap.com/abapdocu_70/en/ABAPCOLLECT.htm]) the data to another table.
Regards,
Raymond -
How to enter the values in JTable in runtime
how to enter the values in JTable in runtime
Basically you need a vector of vectors or an array of arrays. Example (off the top of my head):
With Arrays
String[] cols = { "colone", "coltwo", "colthree", "colfour", "colfive" };
String[] numbers = { "one", "two", "three", "four", "five" };
String[] letters = { "A", "B", "C", "D", "E" };
String[][] data = { numbers, letters };
//make sure that the table has a scroll pane wrapped around it otherwise the header is not displayed
JScrollPane scroll = new JScrollPane(new JTable(data, cols));
With Vectors
Vector cols = new Vector();
cols.addElement("colone");
cols.addElement("coltwo");
cols.addElement("colthree");
cols.addElement("colfour");
cols.addElement("colfive");
Vector numbers = new Vector();
numbers.addElement("one");
numbers.addElement("two");
numbers.addElement("three");
numbers.addElement("four");
numbers.addElement("five");
Vector letters = new Vector();
numbers.addElement("A");
numbers.addElement("B");
numbers.addElement("C");
numbers.addElement("E");
numbers.addElement("F");
Vector data = new Vector();
data.addElement(numbers);
data.addElement(letters);
//make sure that the table has a scroll pane wrapped around it otherwise the header is not displayed
JScrollPane scroll = new JScrollPane(new JTable(data, cols));The array or vector can be easily populated at runtime.
Regards
Riz -
How does the value filled in Appointment Date field reflect in IE_SHIPMENTSTATUS table?
Hi Team,
Just wanted to know : How does the value filled in Appointment Date field reflect in IE_SHIPMENTSTATUS table in OTM.
Please help.
Regards,
JohnSorry, wrong forum: created in ABAP forum instead.
-
What is the value of sy-ucomm when tab is pressed
Hi Experts,
what is the value of sy-ucomm when tab is pressed or is there any way to detect or capture the pressing of tab as we do for the enter. if so kindly help
please advance thanksHi Samraj,
Consider this sample code, here based on user commands the code calls the Tab's.
Define
Data : pressed_tab LIKE sy-ucomm VALUE c_ticket-tab1,
IN PBO
MODULE ticket_active_tab_set.
CALL SUBSCREEN ticket_sca
INCLUDING g_ticket-prog g_ticket-subscreen.
MODULE ticket_active_tab_set OUTPUT.
ticket-activetab = pressed_tab.
CASE pressed_tab.
WHEN c_ticket-tab1.
g_ticket-subscreen = '0204'.
WHEN c_ticket-tab2.
g_ticket-subscreen = '0205'.
WHEN c_ticket-tab3.
g_ticket-subscreen = '0206'.
WHEN OTHERS.
DO NOTHING
ENDCASE.
ENDMODULE. " TICKET_ACTIVE_TAB_SET OUTPUT
Thanks,
Reward If helpful. -
Fetch the values from internal table inside an internal table (urgent!!)
data : BEGIN OF PITB2_ZLINFO occurs 0,
BEGDA LIKE SY-DATUM,
ENDDA LIKE SY-DATUM,
PABRJ(4) TYPE N, "Payroll Year
PABRP(2) TYPE N, "Pay. Period
ZL LIKE PC2BF OCCURS 0,
END OF PITB2_ZLINFO.
I have a internal table like this,
How to Fetch the values from internal table inside an internal table.
Kindly Help me on this..
Regards,
Ram.Hi,
Try this....
Loop at PITB2_ZLINF0.
Loop at PITB2_ZLINF0-ZL.
endloop.
Endloop.
Thanks...
Preetham S -
How to add multiple table when creating add on using b1de
Hi all,
Plz help me
How to add multiple table when creating add on using b1de.
ThanksHi dns_sap,
Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
If so, you can use the following code
Add User Table
Try
Dim lRetCode As Long
Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUDT.TableName = TableName
oUDT.TableDescription = TableDescription
oUDT.TableType = TableType
lRetCode = oUDT.Add
'// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
oUDT = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Add User Field
Try
Dim lRetCode As Long
Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
oUDF.TableName = TableName
oUDF.Name = FieldName
oUDF.Description = FieldDescription
oUDF.Type = FieldType
lRetCode = oUDF.Add
'// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
oUDF = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Regards,
Vítor Vieira -
How to assign Values to nested table and pass as parameter to procedure?
How to assign Values to nested table and pass as parameter to procedure?
Below is the Object and its type
create or replace type test_object1 as object
val1 varchar2(50),
val2 varchar2(50),
val3 varchar2(50)
create or replace type test_type1 is table of test_object1;
create or replace type test_object2 as object
val1 varchar2(50),
val2 varchar2(50),
val3 varchar2(50)
create or replace type test_type2 is table of test_object2;
GRANT ALL ON test_object1 TO PUBLIC;
GRANT ALL ON test_type1 TO PUBLIC;
GRANT ALL ON test_object2 TO PUBLIC;
GRANT ALL ON test_type2 TO PUBLIC;
here is the table made of object type:
create table test_object_tpe
sl_num NUMBER,
description VARCHAR2(100),
main_val1 test_type1,
main_val2 test_type2
NESTED TABLE main_val1 STORE AS tot1
NESTED TABLE main_val2 STORE AS tot2;
here is the procedure which inserts values into nested table:
PROCEDURE INSERT_TEST_DATA(sl_num IN NUMBER,
description IN VARCHAR2,
p_main_val1 IN test_type1,
p_main_val2 IN test_type2
IS
BEGIN
FOR rec in p_main_val1.first..p_main_val1.last
LOOP
INSERT INTO xxdl.test_object_tpe
sl_num,
description,
main_val1,
main_val2
VALUES
sl_num
,description
,test_type1 (test_object1(
p_main_val1(rec).val1,
p_main_val1(rec).val2,
p_main_val1(rec).val3
,test_type2 (test_object2( p_main_val2(rec).val1,
p_main_val2(rec).val2,
p_main_val2(rec).val3
END LOOP;
commit;
END INSERT_TEST_DATA;
here is the anonymoys block which assigns values to the object type and pass values into the procedure:
set serveroutput on;
declare
p_sl_num NUMBER := 1001;
p_description VARCHAR2(50) := 'Testing Val1';
inval1 test_type1 := test_type1();
inval2 test_type2 := test_type2();
begin
inval1(1).val1 := 'testx1';
inval1(1).val2 := 'testx2';
inval1(1).val3 := 'testx3';
inval2(1).val1 := 'testy1';
inval2(1).val2 := 'testy2';
inval2(1).val3 := 'testy3';
CSI_PKG.INSERT_TEST_DATA(sl_num => p_sl_num,
description => p_description,
p_main_val1 => inval1,
p_main_val2 => inval2
end;
Can anybody correct me.
Thanks,
LavanThanks for posting the DDL and sample code but whenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
>
How to assign Values to nested table and pass as parameter to procedure?
>
Well you are doing almost everything wrong that could be done wrong.
Here is code that works to insert data into your table (the procedure isn't even needed).
declare
p_sl_num NUMBER := 1001;
p_description VARCHAR2(50) := 'Testing Val1';
inval1 test_type1 := test_type1();
inval2 test_type2 := test_type2();
begin
inval1.extend();
inval1(1) := test_object1('testx1', 'testx2', 'testx3');
inval2.extend();
inval2(1) := test_object2('testy1', 'testy2', 'testy3');
INSERT INTO test_object_tpe
sl_num,
description,
main_val1,
main_val2
VALUES
(p_sl_num, p_description, inval1, inval2);
commit;
end;
/See Example 5-15 Referencing a Nested Table Element in Chap 5 Using PL/SQL Collections and Records in the PL/SQL doc
http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/collections.htm#CJABEBEA
1. You don't even need the procedure since all it does is a simple INSERT into the table which you can do directly (see my code above)
inval1(1).val1 := 'testx1';There is no element one (1) of 'inval1' since you haven't created any elements yet. You need to EXTEND the collection to add an element
inval1.extend();And then there is an empty element but 'inval1' is a container for objects of type 'test_object1' not for scalars like 'val1', 'val2', and 'val3'.
So you can't do
inval1(1).val1 := 'testx1';You have to create an instance of 'test_object1'
inval1(1) := test_object1('testx1', 'testx2', 'testx3');And so on for the other collection
You don't need the procedure (as my sample code shows) but once you populate the variables properly it will work. -
Used CS6 for a year or more, now says it's not registered! I have 1 or 2 unused keys but do not want to use them. Can't get the CS6 applications to open to enter the codes I was given when I first registered them...
You'll need to use web chat. This file shows you links to Web Chat:
Adobe ID, sign in, and account help -
I cant enter the serial number i received when i bought the product from softwareking
i cant enter the serial number i received when i bought the product from softwareking
May I ask
1. What they charged?
2. What exact product and version?
3. What message you get?
Please don't post the serial number!
Maybe you are looking for
-
When I plug my iphone in to sync with itunes the summary screen does not come up. I only want to sync music. It starts synching everything.
-
Replication of tracks creating broken DC
Hi Experts, I am new to webdynpro java. I want to use a track from one server. But since i cannot directly use that track we have replicated the track in other server from where I can import it with the help of basis team. There were no broken DC in
-
Importing .sfk Sony Vegas files
Hello, My friends recently recorded at a studio at which they were using Sony Vegas 9. I have the .sfk files and I have all the .wav files from all the takes. Rather than try to puzzle together the takes from 14 songs, I was hoping there is a way to
-
ItemStateChanged function calling on page load - How to avaoid?
Hi, I have one combo box in my application. When i m going to select combo box value, the listener will be called. Now what my issue is i have to avoid to call itemStateChanged() function when the Frame is opening in first time. Pls anyone give solut
-
Is there a way to move only media used in Project to another hard drive
Is there any way to ove only the media files used in a project to a seperate hard drive and then work from that drive without all the other files? Thanks