How to add data in IT 184 through portal.
Hi Experts,
I want to add data in IT 184 .
I am adding the project description of an employee in this IT type.
I will provide the link on portal to add the data in this infotype by it is not possible for me to update the data.
Please guide me.
Thanks in Advance.
Ashish
Hi,
Are you implementing it in Singapore.
I think this Infotype is specific for Singapore.
Check in Table T582L.
Please reward points.
Regards
Venu
Similar Messages
-
How to upload datas in excel sheet through BDC
Hi,
I know how to upload datas in Text format through BDC...Suppose even when datas are in .xls format,I saved that file as Text(tab delimited) format...then file become text format and it can be easily uploaded....
So, I want to know How to upload datas in excel sheet through BDChi,
try this Example, hope useful to u, assign me point.
report ZMSV1_BDC_CALL
no standard page heading line-size 255.
*include bdcrecx1.
*parameters: dataset(132) lower case.
DO NOT CHANGE - the generated data section - DO NOT CHANGE ***
If it is nessesary to change the data section use the rules:
1.) Each definition of a field exists of two lines
2.) The first line shows exactly the comment
'* data element: ' followed with the data element
which describes the field.
If you don't have a data element use the
comment without a data element name
3.) The second line shows the fieldname of the
structure, the fieldname must consist of
a fieldname and optional the character '_' and
three numbers and the field length in brackets
4.) Each field must be type C.
Generated data section with specific formatting - DO NOT CHANGE ***
data: begin of record,
data element: BUKRS
BUKRS_001(004),
data element: KTOKK
KTOKK_002(004),
data element: NAME1_GP
NAME1_003(035),
data element: SORTL
SORTL_004(010),
data element: ORT01_GP
ORT01_005(035),
data element: LAND1_GP
LAND1_006(003),
data element: SPRAS
SPRAS_007(002),
data element: BANKS
BANKS_01_008(003),
data element: BANKK
BANKL_01_009(015),
data element: BANKN
BANKN_01_010(018),
end of record.
End generated data section ***
data: itab like record occurs 0 .
data: it_bdc type bdcdata occurs 0 with header line.
data: it_msg type bdcmsgcoll occurs 0 with header line.
parameter p_file type rlgrap-filename default 'c:\vendor.txt' obligatory
start-of-selection.
perform open_dataset using p_file.
perform open_group.
*perform close_group.
*perform close_dataset using dataset.
*& Form open_dataset
text
-->P_P_FILE text
form open_dataset using p_p_file.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = p_file
FILETYPE = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = itab
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " open_dataset
*& Form open_group
text
--> p1 text
<-- p2 text
form open_group .
loop at itab into record.
perform bdc_dynpro using 'SAPMF02K' '0105'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-BUKRS'
record-BUKRS_001.
perform bdc_field using 'RF02K-KTOKK'
record-KTOKK_002.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-ORT01'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFA1-NAME1'
record-NAME1_003.
perform bdc_field using 'LFA1-SORTL'
record-SORTL_004.
perform bdc_field using 'LFA1-ORT01'
record-ORT01_005.
perform bdc_field using 'LFA1-LAND1'
record-LAND1_006.
perform bdc_field using 'LFA1-SPRAS'
record-SPRAS_007.
perform bdc_dynpro using 'SAPMF02K' '0120'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-KOINH(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'LFBK-BANKS(01)'
record-BANKS_01_008.
perform bdc_field using 'LFBK-BANKL(01)'
record-BANKL_01_009.
perform bdc_field using 'LFBK-BANKN(01)'
record-BANKN_01_010.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-BANKS(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02K' '0210'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-AKONT'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0215'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-ZTERM'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0220'.
perform bdc_field using 'BDC_CURSOR'
'LFB5-MAHNA'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
call transaction 'FK01' using it_bdc mode 'A' update 'S'
messages into it_msg.
write:/ sy-subrc.
perform message_formatwrite.
refresh it_bdc.
clear it_bdc.
endloop.
endform. " open_group
*& Form message_formatwrite
text
--> p1 text
<-- p2 text
form message_formatwrite .
data:l_msg(10).
loop at it_msg.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = sy-langu
NO = SY-MSGNO
V1 = SY-MSGV1
V2 = SY-MSGV2
V3 = SY-MSGV3
V4 = SY-MSGV4
IMPORTING
MSG = l_msg
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endloop.
endform. " message_formatwrite
*& Form bdc_dynpro
text
-->P_0112 text
-->P_0113 text
form bdc_dynpro using value(p_0112)
value(p_0113).
it_bdc-program = p_0112.
it_bdc-dynpro = p_0113.
it_bdc-dynbegin = 'X'.
append it_bdc.
clear it_bdc.
endform. " bdc_dynpro
*& Form bdc_field
text
-->P_0117 text
-->P_0118 text
form bdc_field using value(p_0117)
value(p_0118).
it_bdc-fnam = p_0117.
it_bdc-fval = p_0118.
append it_bdc.
clear it_bdc.
endform. " bdc_field
Regards
fareedas -
How to add invitees to an event through code?
How to add invitees to an event through code? Attendees property in EKCalendarItem is readonly, is there any way to do it?
Sorry by email only iCloud: Share a calendar with others
-
How to add date with month after convert number to month?
How to add date with month after convert number to month?
Month Date Result
24 21/11/09 24*(21/11/09)
I want to add both the column and result should be 21/11/11
Thanks
NiharHmm,
Because, you are using YYYY for '09'.
SQL> ed
Wrote file afiedt.buf
1* select to_char(to_date('10/01/09','DD/MM/RRRR'),'DD/MM/YYYY') from dual
SQL> /
TO_CHAR(TO
10/01/2009
SQL> ed
Wrote file afiedt.buf
1* select to_char(to_date('10/01/09','DD/MM/YYYY'),'DD/MM/YYYY') from dual
SQL> /
TO_CHAR(TO
10/01/0009Or with Add_months
SQL> ed
Wrote file afiedt.buf
1* select to_char(add_months(to_date('10/01/09','DD/MM/YYYY'),36),'DD/MM/YYYY') from dual
SQL> /
TO_CHAR(AD
10/01/0012
SQL> ed
Wrote file afiedt.buf
1* select to_char(add_months(to_date('10/01/09','DD/MM/RRRR'),36),'DD/MM/YYYY') from dual
SQL> /
TO_CHAR(AD
10/01/2012-Arun -
How to add data through matrix from sales order row level to
user defined document type table ...
i created matrix in user defined form, i placed one edit text box on that form
when i entered docnum of sales order the data of sales order row level should have to
upload to matrix , after fill up the some data in matrix that data should have to add to the user defined document type table
any one have code pls post it
thanqHi rajeshwar
Here is a sample function related to ur senario. just check it out and use the concepts.
Here I have used a CFL to get the itemcode and I have used a query to add data to matrix.
This is a function used.
Private Sub AddValuesInMatrix(ByRef name As String)
Try
'Dim quantemp As Double
oForm = SBO_Application.Forms.Item("itemdts")
oMatrix = oForm.Items.Item("matrix").Specific
Dim rs As SAPbobsCOM.Recordset = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
'//gitemdesc = "SELECT T0.[ItemName] FROM OITM T0 WHERE T0.[ItemCode] ='" & name & "'"
oMatrix.Clear()
rs.DoQuery("SELECT T0.[DocEntry], T0.[ItemCode], T0.[Dscription], T0.[Quantity], T0.[Price], T0.[TaxCode] FROM dbo.[POR1] T0 WHERE T0.[ItemCode] ='" & name & "'")
rscount = rs.RecordCount
If (rscount < 1) Then
SBO_Application.StatusBar.SetText("No Items Found", SAPbouiCOM.BoMessageTime.bmt_Short)
Else
oForm.Freeze(True)
ITE = True
For i As Integer = 1 To rs.RecordCount
oMatrix.AddRow()
oMatrix.Columns.Item("V_5").Cells.Item(i).Specific.Value = rs.Fields.Item("DocEntry").Value
oMatrix.Columns.Item("V_4").Cells.Item(i).Specific.Value = rs.Fields.Item("ItemCode").Value
oMatrix.Columns.Item("V_3").Cells.Item(i).Specific.Value = rs.Fields.Item("Dscription").Value
oMatrix.Columns.Item("V_2").Cells.Item(i).Specific.Value = rs.Fields.Item("Quantity").Value
'quansum = quansum + rs.Fields.Item("Quantity").Value
oMatrix.Columns.Item("V_1").Cells.Item(i).Specific.Value = rs.Fields.Item("Price").Value
'pricesum = pricesum + rs.Fields.Item("Price").Value
oMatrix.Columns.Item("V_0").Cells.Item(i).Specific.Value = rs.Fields.Item("TaxCode").Value
SBO_Application.SetStatusBarMessage("Data Loading In Progress Please Wait.....>>> " & i & " / " & rs.RecordCount, SAPbouiCOM.BoMessageTime.bmt_Short, False)
rs.MoveNext()
Next
ITE = False
oMatrix.AutoResizeColumns()
SBO_Application.StatusBar.SetText("Data Loading Completed", SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
oForm.Freeze(False)
oForm.Refresh()
End If
Catch ex As Exception
SBO_Application.MessageBox("Matrix Load Function : " & ex.Message)
ITE = False
End Try
End Sub
-Anto -
How to insert data in to msaccess through jsp
i am doin a project in jsp, which i am new to. i have completed the design part in jsp now i am supposed to work with backend and stuffs.
yesterday i had asked how to connect jsp with msaccess and Mr sharma had helped me in that and now that part is up and running. i am able to retrieve data from the table
now my problem is how to insert data that i get from the user through the forms in to a table
i have a registration form in jsp that contains the username, password, age etc. how can i get add these informations in to access.pls help me
thanks in advanceHi....
Simply obtain a jdbc connection to your ms access database.
one u have a connection u can use , Statement Or PreparedStatement to
execute queries against database
Here is an example of mysql...
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
public class SqlAuthenticationHandler{
private Connection conn;
private PreparedStatement statement;
private ResultSet rs;
public SqlAuthenticationHandler(){
/** Load ur JDBC driver **/
try{
Class.forName("com.mysql.jdbc.Driver");
conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/JDrive","root","password");
}catch(Exception ex){
ex.printStackTrace();
public void insertUser(String name, String password){
try{
/** Create a statement **/
statement=conn.prepareStatement("INSERT into user values(?,?)");
statement.setString(1,name);
statement.setString(2,password);
statement.executeUpdate();
statement.close()
}catch(SQLException e){
e.printStackTrace();
Here replace "com.mysql.jdbc.Driver" with class name of your type 4 Ms Access Driver.
replace jdbc:mysql://localhost:3306/JDrive","root","password" with url of ur access database
check out this jdbc tutorial
http://java.sun.com/docs/books/tutorial/jdbc/overview/index.html
Sudhir Nimavat (Sudhir_nimavat at yahoo dot com) -
hi,
I have written following code.I have a file. i want to add data in this file.
When i add data then data is added but i donnot get the previous data. What`s the problem of my code? Is there anyone can help me? how i will add data with the previous data? Please help me.
String username=request.getParameter("UserName");
String userage=request.getParameter("UserAge");
String address=request.getParameter("UserAddress");
String sex=request.getParameter("sex");
FileWriter f = new FileWriter("d:\\download_dreamweaver\\Project_3\\WebContent\\SaveData.txt");
f.append(username);
f.close(); ith regards
binaLooks like you're creating a new file (which overwrites the old one) every time. You need to open the file first and then append to it.
-
Dear friends
i have created one report in that report jan_QUANTITY FEB_QUANTITY .........DEC_QUANTITY are there and below that fields i have to add material quantity...through vbak and vbap
kwmeng is the field for the material quantity...and that is total quantity which is devided in jan qty feb qty april qty......dec qty
what is the logic for that...following is my coding
REPORT ZMONTH_REPORT1.
TABLES: kna1,vbak,vbap.
SELECT-OPTIONS : date FOR vbak-erdat.
data: BEGIN OF it_itab OCCURS 0,
month(20) TYPE c ,
kunnr LIKE kna1-kunnr,
name1 LIKE kna1-name1,
vbeln LIKE vbak-vbeln,
erdat LIKE vbak-erdat,
meins LIKE vbap-meins,
kwmeng LIKE vbap-kwmeng,
END OF it_itab.
DATA : BEGIN OF ST_MONTH OCCURS 0,
JAN_QTY TYPE C,
FEB_QTY TYPE C,
MARCH_QTY TYPE C,
APRIL_QTY TYPE C,
MAY_QTY TYPE C,
JUN_QTY TYPE C,
JULLY_QTY TYPE C,
AUG_QTY TYPE C,
SEPT_QTY TYPE C,
OCT_QTY TYPE C,
NOV_QTY TYPE C,
DEC_QTY TYPE C,
END OF ST_MONTH.
*SELECT JAN_QTY FEB_QTY MARCH_QTY APRIL_QTY MAY_QTY JUN_QTY JULLY_QTY
AUG_QTY SEPT_QTY OCT_QTY NOV_QTY DEC_QTY INTO CORRESPONDING
FIELDS OF ST_MONTH UP TO 20 ROWS.
*PARAMETERS : pa RADIOBUTTON GROUP rad USER-COMMAND com MODIF ID mod,
pb RADIOBUTTON GROUP rad MODIF ID rad,
pc RADIOBUTTON GROUP rad MODIF ID cad.
*DATA : lv_dat TYPE TABLE OF it_itab,
*ls_vbak TYPE TABLE OF it_itab.
SELECT kna1kunnr kna1name1 vbakvbeln vbakerdat vbap~meins
vbap~kwmeng
INTO CORRESPONDING FIELDS OF TABLE it_itab UP TO 100 ROWS
FROM ( ( kna1 INNER JOIN
vbak ON kna1~kunnr =
vbak~kunnr )
INNER JOIN vbap ON vbakvbeln = vbapvbeln ) WHERE
vbak~erdat IN date.
wRITE :/1 'NUMBER' color 7 INTENSIFIED on, SY-VLINE,
7 'CUSTOMER NAME' COLOR 6 INTENSIFIED on,6 SY-VLINE,
39 'JAN_QTY' color 5 INTENSIFIED on ,27 sy-Vline,
47 'FEB_QTY' color 4 INTENSIFIED on , 46 SY-VLINE,
56 'MARCH_QTY' color 3 INTENSIFIED on, 55 SY-VLINE,
66 'APRIL_QTY' color 2 INTENSIFIED on, 65 SY-VLINE,
76 'MAY_QTY' color 1 INTENSIFIED on, 75 SY-VLINE,
83 'JUNE_QTY' color 5 INTENSIFIED on, 82 SY-VLINE,
91'JULLY_QTY' color 4 INTENSIFIED OFF, 90 SY-VLINE,
101 'AUG_QTY' color 6 INTENSIFIED OFF, 100 SY-VLINE,
109 'SEPT_QTY' color 7 INTENSIFIED OFF,108 SY-VLINE,
117 'OCT_QTY' color 2 INTENSIFIED OFF,116 SY-VLINE,
125 'NOV_QTY' color 6 INTENSIFIED OFF,124 SY-VLINE,
132 'DEC_QTY' color 7 INTENSIFIED OFF,131 SY-VLINE,
140 SY-VLINE.
LOOP AT it_itab.
WRITE :/1 it_itab-kunnr color 3 on, SY-VLINE,
7 it_itab-name1 color 2 on ,6 SY-VLINE,
28 IT_ITAB-KWMENG color 4 on,27 sy-vline.
LOOP AT ST_MONTH.
WRITE :/39 ST_MONTH-JAN_QTY color 1 on, 38 sy-vline,
47 ST_MONTH-FEB_QTY,46 SY-VLINE,
56 ST_MONTH-MARCH_QTY,55 SY-VLINE,
66 ST_MONTH-APRIL_QTY,65 SY-VLINE,
76 ST_MONTH-MAY_QTY,75 SY-VLINE,
83 ST_MONTH-JUN_QTY,82 SY-VLINE,
91 ST_MONTH-JULLY_QTY,90 SY-VLINE,
101 ST_MONTH-AUG_QTY,100 SY-VLINE,
109 ST_MONTH-SEPT_QTY,108 SY-VLINE,
117 ST_MONTH-OCT_QTY,116 SY-VLINE,
125 ST_MONTH-NOV_QTY,124 SY-VLINE,
132 ST_MONTH-DEC_QTY,131 SY-VLINE,
140 SY-VLINE.
ENDLOOP.
ENDLOOP.
LOOP AT ST_MONTH.
WRITE :/45 ST_MONTH-JAN_QTY,27 SY-VLINE,
55 ST_MONTH-FEB_QTY,54 SY-VLINE,
65 ST_MONTH-MARCH_QTY,64 SY-VLINE,
77 ST_MONTH-APRIL_QTY,76 SY-VLINE,
87 ST_MONTH-MAY_QTY,86 SY-VLINE,
98 ST_MONTH-JUN_QTY,97 SY-VLINE,
110 ST_MONTH-JULLY_QTY,109 SY-VLINE,
120 ST_MONTH-AUG_QTY,119 SY-VLINE,
131 ST_MONTH-SEPT_QTY,130 SY-VLINE,
117 ST_MONTH-OCT_QTY,140 SY-VLINE,
125 ST_MONTH-NOV_QTY,150 SY-VLINE,
132 ST_MONTH-DEC_QTY,160 SY-VLINE,
140 SY-VLINE.
ENDLOOP.
please help me out of this issue.hi,
based upon month in erdat field u need to collect the quantity and u need to display. -
How to add date in XSLT?
All,
soa version: 11.1.1.4
There is a requirement for me to add date to the current date in XSLT. I searched in 'Data functions', there I couldn't find any pre-defined functions. How do I achieve it in XSLT? Any help is appreciated.
thanks
senHi Sen,
You can do this using the below:
<xsl:value-of select="xp20:add-dayTimeDuration-to-dateTime(xp20:current-dateTime(),'P1D')"/>
You can change the P1D based on the number of days you want to add.
For example 3 days = P3D
Thanks,
Deepak. -
How to load data with carriage return through DRM action script ?
Hello,
We are using DRM to manage Essbase metadata. These metadata contain a field for member formula.
Currently it's a string data type property in DRM so we can't use carriage return and our formula are really hard to read.
But DRM support other data type property : memo or formatted memo where we can use carriage return.
Then in the export file, we have change the record delimiter to an other character than CRLF
Our issue : we are regularly using action script to load new metadata => How to load data properties with carriage return using action script ? There is no option to change the record delimiter.
Thanks!Hello Sandeep
here what I want to do through action script : loading a formula that use more on than one line:
Here, I write my formula using 4 lines but action script cannot load since one line = 1 record.
ChangeProp|Version_name|Hier_name|Node_name|Formula|@round(
qty*price
*m05*fy13 -
Hi ALL
I want to add new fields on seeded EBS page to store their values in hr_api_transaction table whoch contain information of other fields on that page which are seeded
but that table has one column which stores xml file and that xml file has all information about that page's fields
how can I store my custom fields values in that xml file ?Hi,
As Andy said, add data to an xml file is overwriting, if you mean append data to xml file, please look this article:
http://codesamplez.com/programming/linq-to-xml-tutorial, Since this issue is more related to ASP.net, you could also ask this issue in asp.net forum:
http://forums.asp.net/
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How can I add data into JTable, for instance ("Mike", "Gooler", 21).
How can I add data into JTable, for instance ("Mike",
"Gooler", 21).You will have very good results if you segregate out the table model as a seperate user class and provide a method to add a row there. In fact, if you use the table to reflect a database table you can add the row inplace using the existing cursor. I believe it's TableExample2 in the jdk\demo\jfc\TableExamples that has a very good example of this.
Walt -
hi everyone ! i have created a view object based on 2 entities objects (EMP and Departaments of hr schema)
but i have also modified the sql query of the view in this way :
SELECT Employees.EMPLOYEE_ID,
Employees.FIRST_NAME,
Employees.LAST_NAME,
Employees.DEPARTMENT_ID,
Departments.DEPARTMENT_NAME,
Departments.DEPARTMENT_ID AS DEPARTMENT_ID1
FROM EMPLOYEES Employees ,DEPARTMENTS Departments
where Employees.DEPARTMENT_ID(+) = Departments.DEPARTMENT_ID
and i have created a tables based on this view object..... in this table are shown those empl. that doesnt have departaments.... what i want to do is how can i add data to those rows wich doesnt have employess but have departaments???
Thanks in advance :)Hi,
I think you can resolve that problem using EL expression condition, try the following in your table:
<af:table ...>
<af:column headerText="#{bindings.EmployeeDepartment.labels.FirstName}"
binding="#{backing_EmployeeDepartment.column2}" id="column2">
<af:outputText value="#{row.FirstName!=null? row.FirstName: 'No Emp Found'}"
binding="#{backing_EmpDept.outputText2}"
id="outputText2"/>
</af:column>
</af:table>
Regards,
Ahmad Esbita -
How to add data in related issue field in issue tracking list sharepoint 2013
Hi,
I'm using out of box Issue Tracking List. In Related Issue I want to add some data like :- Business, Technical, HR, Contractor etc in right side so user can select one of them add it. Not sure how to add these data in Related Issue column. Please advice.Related Issues is a lookup column to the same list which is Issue Tracking List. so you can add new items where title is Business, Technical, HR, Contractor etc then you will get those under related issues.
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
Script task how to add date value
hi
i have following code i am trying to add date into script task
Public Overrides Sub CreateNewOutputRows()
Dim vars As IDTSVariables100
Dim vars1 As IDTSVariable100
Dim recordCount As Integer
Dim rdate As Date
' Dim recount As Integer
' Dim rcount As Integer = 0
'Get the record count
Me.VariableDispenser.LockOneForRead("RecordCount", vars)
recordCount = CType(vars("RecordCount").Value, Integer)
' rdate = CType(vars("CurentDate").Value, Date)
vars.Unlock()
Me.VariableDispenser.LockOneForRead("CurrentDate", vars)
rdate = CType(vars("CurrrentDate").Value, Date)
' rdate = CType(vars("CurentDate").Value, Date)
vars.Unlock()
'Me.VariableDispenser.LockOneForRead("rcount", vars)
'rcount = CType(vars("rcount").Value, Integer)
'vars.Unlock()
' rcount = rcount + 1
'Output one row with record count
Output0Buffer.AddRow()
Output0Buffer.FooterRow = String.Format("ABC" & recordCount & rdate)
Output0Buffer.SetEndOfRowset()
in SSIS i have declare CurrentDate in datetime and i need to use it here , but i am getting error.
how to append its value to Output0Buffer.FooterRow = String.Format("ABC" & recordCount & rdate)
its in vb ,i dotn know anything about VB ,please help me.
i havent put anything in readonly,readwrite in script task.ecordCount is working but i did same for rdate and its not workinghow to get that value in yyyymmddhhmmss format in ssis.
whats expression i need to use.
also how to give single space here between recordcount and variables.rdate
Output0Buffer.FooterRow = String.Format("ABC" & recordCount & Variables.rdate)
Maybe you are looking for
-
I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about
-
Error in Conversion of Planned Orders to AFS production Orders
Dear Mam/Sir, We are working in AFS Scenario.There are following observations during AFS BOM/Planned order conversion/Material availabilty as follows: 1) When Item category 'T'(Text Item) is used ,with 'witout fixed qty. indicator'in AFS BOM,then dur
-
I'd like to take my Micro to the gym, but I need an arm strap because I'm afraid of bumping the unit with a weight if I were to clip it to my waist. Could anyone recommend a good arm band/strap that will fit the player snugly? Anything specifically m
-
I don't see all option in Photoshop Elements and Camera Raw
e.g. Auto-Align Layers in Image menu or Adjustment brush in Camera Raw. Please tell me what I need to do.
-
How to remove tablespace?
I have a problem. I accidently deleted datafile for tablespace 'xxx'. Now I can't drop tablespace (datafile is not available) plus I can't re-create tablespace (it says that it's alreary exists). What can I do?