How can i take an excel sheet record as input into my report
Hi
I am having one object.I need to develop code for this.I can take excel sheet record as input.I thought it is some kind of BDC.But my TL told me that it is an enhancement.How can I start this object.
1.If it is a BDC : I am very new to BDC.I need total description how to start and populate.
2.If it is an enhancement : How can I take excel sheet record to input in to my object.
Thanks & Regards,
Aruna.
It seems neither BDC nor Enhancement.
See it could be some awkward process but definately would be Handy.
First create one dummy program in that code you just Take Excel data by simple Upload FM for Excel,Than from this program Use Submit <report> via selection screen.
Here <report> is your actual program.so you may need simultaneously control two program.
But my TL told me
...But what is TL stands for?
TL True Love
TL Total Loss
TL Turn Left
TL Team Liquid ??
Cheers,
Amit.
Similar Messages
-
How can i take an excel sheet input into my report
Hi
I am having one report.In this the program should take an excel file as input.How can I implement logic for this.
Ex: It will take external customer number u201CABCu201D as input from excel sheet and give as output as SAP customer number u201C1000000"
Please let me know.hi use GUI_UPLOAD with filename frm parameters
DATA:
lv_tabix LIKE sy-tabix,
lv_filet TYPE string.
* LV_FILET LIKE rlgrap-filename.
lv_filet = p_file.
* Upload data file into internal table
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lv_filet
filetype = 'ASC'
has_field_separator = 'X'
read_by_line = 'X'
dat_mode = ' '
TABLES
data_tab = gi_upload
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
* Data in P_FILE could not be uploaded.
MESSAGE i010 WITH p_file.
LEAVE LIST-PROCESSING.
ENDIF. -
How can we take backup of all the RDL'S existing at Report server dynamically at one time
How can we take backup of all the RDL'S existing at Report server dynamically at one time ? I want to take backup of all the reports existing at the report server dynamically at one time only. currently I'm able to take backup of the reports folder wise
using VBScript. and I have to pass the folder names again and again. I want this to be happened for all the reports of all the folders at single shot only using VBScript.Hi DineshRemash,
Based on my research, we can store the following VB Script to a text file, then modify the file name extension from .txt to .rss.
Dim rootPath As String = "C:\Reports"
Sub Main()
Dim items As CatalogItem() = _
rs.ListChildren("/", true)
For Each item As CatalogItem in items
If item.Type = ItemTypeEnum.Folder Then
CreateDirectory(item.Path)
Else If item.Type = ItemTypeEnum.Report Then
SaveReport(item.Path)
End If
Next
End Sub
Sub CreateDirectory(path As String)
path = GetLocalPath(path)
System.IO.Directory.CreateDirectory(path)
End Sub
Sub SaveReport(reportName As String)
Dim reportDefinition As Byte()
Dim document As New System.Xml.XmlDocument()
reportDefinition = rs.GetReportDefinition(reportName)
Dim stream As New MemoryStream(reportDefinition)
document.Load(stream)
document.Save(GetLocalPath(reportName) + ".rdl")
End Sub
Function GetLocalPath(rsPath As String) As String
Return rootPath + rsPath.Replace("/", "\")
End Function
Then navigate to the folder contains the script, we can directly run the below command from the run menu:
rs -s
http://aa/ ReportServer -i download.rss
We can modify the rootpath to point at whaterver fold you’d like to download the RDL files.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How can I make an Excel Sheet where I can tally my daily activities and make a graph of it?
I want a simple excel sheet where in the columns I can have dates and in the rows I can have my activities and in the spaces between I can put a number like 1 or 2 or 5 indicating the number of hours spent that day on that activity. Finally, I would
want to be able to, using the hours data for the entire month for each activity, be able to create a pie chart breaking down how much time I spent on each activity.
The issue is I do not know to rename rows and columns and I do not know how to format it all to ensure I can make a pie chart at the end comparing all of my activities.
Any help would be appreciated.Hi,
Do you mind sharing us a sample file here? It'll help us understand your request more cleanly.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How to loop through Multiple Excel sheets and load them into a SQL Table?
Hi ,
I am having 1 excel sheet with 3 worksheet.
I have configured using For each loop container and ADO.net rowset enumerator.
Every thing is fine, but after running my package I am getting below error
[Excel Source [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may
be error messages posted before this with more information on why the AcquireConnection method call failed.
Warning: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (5) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified
in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
[Connection manager "Excel Connection Manager"] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by
another user, or you need permission to view and write its data.".
Pleas suggest me the correct way of solving above issues.
Thanks in advance :)
regards,
Vipin jha
Thankx & regards, Vipin jha MCPHi ,
Please refer the below link for Looping multiple worksheet in a single SQL Table.
http://www.singhvikash.in/2012/11/ssis-how-to-loop-through-multiple-excel.html
Note:-If you using excel 2010 then you have to use EXCEL 12.0 .
Above link explaining step by step of Looping multiple worksheet in a single SQL Table.
regards,
Vipin jha
Thankx & regards, Vipin jha MCP -
How can I import an excel sheet and have it be functional in iOS Numbers?
Pretty much exactly as title. To summarize, I'm a kinesiologist and I've developed a pretty complex spreadsheet that enables me to program exercise prescriptions on the fly but I want to be able to take it with me more portably on my ipad air. Unfortunately when I load the spreadsheet into numbers it wont recognize any of the drop down menus that are coded into the excel spreadsheet on my macbook. Help? Thanks,
PaulMy apologies. Data Validation Tool didn't click at first. There isn't a data validation tool in numbers per se, but you can limit input in many cases using the cell formatting tool: http://help.apple.com/numbers/ipad/2.2/#/tan23393f3a
Cells set up using Data Validation may very well not retain the Data Validation settings when converted to Numbers for iOS. The two formats seem to use different mechanisms to achieve this. Meaning that 1) you would likely need to re-format these cells once you have the spreadsheet in number, 2) if you export the spreadsheet to EXCEL, the drip downs may likely not work, leading to 3) if you intended process is move the file back and forth between Numbers and Excel, you may be in for a bit of grief.
If you intent to simply leave the file in Numbers, you the link above to see how you may wish to format those cells. I think you will be able to achieve what you are looking to do. -
How can I download from digital voice recorder (DS-2000) into itunes?
I would like to download recordings from my Olympus DS-2000 into itunes so I can then burn a cd for use elsewhere. However, when I connect the DS-2000 to my G5 the recorder goes into remote mode and doesn't show up on the desktop as an unidentified icon. It seems the only way I am able to download from the recorder is to open the Olympus software and download into it. When I do that I can't seem to move the files to itunes or the desktop. Olympus support told me they don't support the "pro" digital recorders, but said their software is not compatible with Apple.
Has anybody experienced this problem? Any suggestions on how I would be able to accomplish this task? I'd appreciate all input. Thanks.
G5 Mac OS X (10.4.4)hello popfaux,
how is it set-up? perhaps you need to double check it's connected right? -
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 can I get my excel spreadsheet to work in numbers
How can I get this budget sheet to work in numbers when it's from excel.
I couldn't get the picture of the whole thing it wouldn't load but you see where it say like 700.00 then below that it say 175.00 well that part works telling me what I need to know but when it get to where it says the 850 it stops working? it won't sum it out or something I'm not great with excel and this was sent to me by a first and it's our budget plan and I really need to be able to use it
-
How can you create a contact sheet that you can email?
I see that you can print a contact sheet but how can you make a contact sheet that you can email where receiver can open the thumbnails and view?
Hi,
You can either use Bridge and the Output workspace, or grab optional plug-ins for CS5 and run Ps on OSX in the 32 bit mode. (Or grab the excellent 3rd party script, Contact Sheet X, and run that in Ps. http://ps-scripts.sourceforge.net/ContactSheetX/csx.html).
Here's a post with links to further info:
http://blogs.adobe.com/jkost/2011/09/the-contact-sheet-feature.html
regards,
steve -
How can i take out the glitches
the video i recorded has glitches. how can i take out the glitches. or minimize them.
example of a glitch....
Giltch. -
How can I take out all my HealthVault data?
As titled, how can I take out all my HealthVault data?
Hi,
I'm assuming by "take out" you mean you want to save copies of your data to keep outside of HealthVault.
In general, you want to use the Export feature. Find it by going to the Health Information page, then in the "More actions" menu, choose "Export information." If you're trying to send the data to another system, then you'll probably want to choose CCD or
CCR format. If you are keeping records for yourself, HTML would be the human-readable format. The different formats behave differently, so I'd recommend checking that the exported file contains the data you want.
After you export, then you'll want to go into the Files section of the Health Information page and download the files you want to keep. This will be especially important for files that came from a doctor, hospital, pharmacy, or lab.
If you want to close your HealthVault account, make sure you've got all the data you want before you close the account. By the way, if by "take out" the data you meant "delete" the data, when you close your account the data will be deleted from HealthVault
as per the Privacy Statement.
Hope this helps,
Kathy -
How can I take photo of fast objects with A3400?
in A3400 I didn't find any option to change shutter speed. or there is no proper photo scene in menu.
then how can I take a good photo of fast objects? in its catalog it says the speed of shutter is (1/2000 ~ 15 sec). when and how can I take a shut with 1/2000 sec ?
thank for your helpAccording to the spec sheet you can't control the shutter speed other than by using the modes available & none are for action. The camera's program might select a very high shutter speed in very bright light while shooting something very reflective like a white car or building etc.
"A skill is developed through constant practice with a passion to improve, not bought." -
I share an iTunes account with my siblings. So their contacts appear on my phone too. How can I take it off?
You can share the same Apple ID in
Settings > iTunes & App Store > Apple ID: here
But for all other Apple services like:
FaceTime, iMessage, iCloud, etc, one of you should use a different Apple ID. -
I accidently click on ''Import the list'' but now all the music have an exclamation point I think they are all in Musique.txt on the desk... How can i take back these music on my library? I tried : Import the list and take Music.txt , but it do not work
Ok, I had a glitch, forced to restart, and lost my train of thought.
Reinstalling iTunes should fix the major issue that might have gone wrong, perhaps your explaination points will disappear and everything will be peachy again.
But if they don't, you can open the XML file in iTunes Folder using a Text edit program to see what the common pathname is to the iTunes Music folder or where your content is located.
If you moved the itunes folder, it needs to go back.
I can't download iTunes to my Vista virtual machine to test it out right now because iTunes is down, so I can't verify the pathname, perhaps your issue and the iTunes being down are related somehow?
You don't want to import all your music again, but it's a option, but you lose all your playlists, that's what I'm trying to recover.
If oyu don't have a whole lot of playlists, then simply select all the explaimation point music and delete, select File from the menu and import your itunes folder again.
Maybe you are looking for
-
Dear all, I am uploading the bank statements using manual bank statements through Z transaction, Once uploaded system is generating the batch input session for the same. When i run the batch input session system not clearing outgoing payment automati
-
Conversion of logical system names in queries
hello, We have the following problem in our multisource model. Constant values have been assigned in queries in development : for instance, in line 1, the profit center is restricted to the constant value D3/9000/TTBC600 D3 : development source syste
-
Upgrade SAP 7.1 Process Integration
Hello to All. I have a question about Process Integration .Recently I upgrade to SAP PI 7.1 so I need test all components When I clicking in a BPM. I cannot edit because show a message :"Objects in commponent cannot be changed because the original i
-
Learning APEX, need sample objects
Hi, I've got the Oracle Database 2 Day+ Application Express Developer's Guide and I need the OEHR Sample Objects file. The guide says to goto http://www.oracle.com/technetwork/testcontent/oehr-sample-objects-131098.zip, then to OEHR Sample Objects, t
-
Hi All, Please help me in resolving this issue. ==================================================================== BugCheck Dump ===================================================================== This file is generated by Microsoft SQL Server