Excel JV Upload without Interface
Hello All,
I have a requirement at my client to develop a JV upload program which takes in excel as an input file, post the FI documents (vendor invoice or credit memo), and also generate a summary of errors which can be referred back to excel, correct it, and repost it. Excel file will contain both vendor invoices and credit memo for multiple company codes, and requirement is to create one FI document per invoice. Invoice can contain multiple expense line items. And, we cannot build a direct interface with the legacy system. Please guide me on how to proceed on this requirement. If you have any questions or unclear on the requirement, please let me know. Thanks in advance!
Hi,
Here you have to design a excel macro sheet with parameters "Header Data" "Credit line Data" & "Debit Line Data"
Header Data columns : Invoice date, Invoice number, posting date, document currency.
Credit Line data Columns : Vendor Id, CoCd, amount of total invoice, posting key
Debit line data Columns : GL account, Cost center, Profit Center, WBS, Base line item amount, tax amount.
Based on useing the posting keys, SAP post the document as Invoice or Credit Note. Also, The total Credit amount ($ 300) have to match with Debit amount (Line item 1: 50$, Line Item 2: $ 100 & Line Item 3 : $ 150) so you can split the debit balance to various GL accounts/ Cost Centers as per requirement.
Regards,
Srinivas
Similar Messages
-
Access excel sheet uploaded in library on sharepoint using sharepoint development
Hi,
I have an excel sheet which i have uploaded on sharepoint site as a library.
now i want to access this excel sheet using sharepoint development(c#).
Is it possible?
I have one another query- I want to read excel sheet using sharepoint 2010 development.
Please help to solve both issues.
Thanks in advance!
Regards
rajniHi rajni,
According to your description, my understanding is that you want to access the excel files uploaded in a library and read the worksheet data by C#.
You can read excel file using Excel Services. The Excel Services REST API is a new feature of Excel Services that enables you to access Microsoft Excel workbook data by using a uniform resource locator (URL) address. Using the REST API, you can retrieve
resources such as ranges, charts, tables, and PivotTables from workbooks stored on SharePoint Server 2010. More inforamtion, please refer to the link below:
http://msdn.microsoft.com/en-us/library/hh124646(v=office.14).aspx
There are other useful links about accessing and reading excel file in library, please take a look at:
http://www.sharepointwithattitude.com/archives/61
http://www.c-sharpcorner.com/uploadfile/vivekbritish/how-to-downloadread-excel-file-from-sharepoint-library-using-excel-services/
http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
For iTunes Match, how come some songs "match" on an album and other songs on the same album "upload" without matching? All songs are available on iTunes. I don't get it! Any way to manually match songs that iTunes apparently can't match? I have hundreds in this unmatched state.
gsl wrote:
Shazam has NO problem determining what these songs are. Maybe Apple needs to consider licensing their technology as it seems MUCH more accurate than what they are doing.
You aren't comparing like with like.
The main task that Shazam has is to identify the name or a track and the artist. I believe that it suggests the album as well, but if it gets that wrong then it doesn't really matter too much.
With iTunes Match, getting the album (i.e. identifying which version it is) is much more important. If it gets that wrong then it breaks up the flow of an album. This makes the task that match has very much harder.
In fact, there is a strong argument to say that currently the problem iTunes has is that it is matching too many songs, resulting in matches from different albums.
I'm sure that match is not struggling to identify whether it has a song or not, but whether it has the correct version of a song. When you introduce different masterings into the process then, depending on the thresholds set, it is probably correct in concluding that it hasn't got a particular version, even if you think it has.
The solution would appear to me to be a tweaking of the matching thresholds along with the ability to force an upload, but we just don't know what restrictions they have (remember that if Shazam gets it wrong the it doesn't present you with a copy of a new track that you didn't have previously). It is almost certainly not just a case of improving their technology. -
Excel File Upload In Webdynpro For ABAP
Hi All,
I have a doubt regarding EXCEL file upload for Webdynpro for ABAP.
I am able to get the path of file using 'FILEUPLOAD' UI element.Now I need to upload the EXCEL file into ALV.I have tried out with GUI_UPLOAD and other excel upload function module.But these Function Module throws Dump.
Can you please suggest how to go about it.It will be a great help if u can suggest any function module or method.Hi Amita,
Insetad of using GUI_UPLOAD use 'HR_KR_XSTRING_TO_STRING'
Here is the sample code,
TYPES :BEGIN OF str_itab,
name(10) TYPE c,
age(10) TYPE c,
END OF str_itab.
DATA : t_table1 TYPE STANDARD TABLE OF str_itab,
i_data TYPE STANDARD TABLE OF string,
lo_nd_sflight TYPE REF TO if_wd_context_node,
lo_el_sflight TYPE REF TO if_wd_context_element,
l_string TYPE string,
fs_table TYPE str_itab,
l_xstring TYPE xstring,
fields TYPE string_table,
lv_field TYPE string.
DATA : t_table TYPE if_main=>elements_data_tab,
data_table TYPE if_main=>elements_data_tab.
* get single attribute
wd_context->get_attribute(EXPORTING name = `DATASOURCE`
IMPORTING value = l_xstring ).
CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
EXPORTING
in_xstring = l_xstring
IMPORTING
out_string = l_string.
SPLIT l_string AT
cl_abap_char_utilities=>newline INTO TABLE i_data.
* Bind With table Element.
LOOP AT i_data INTO l_string.
SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE
fields.
READ TABLE fields INTO lv_field INDEX 1.
fs_table-name = lv_field.
READ TABLE fields INTO lv_field INDEX 2.
fs_table-age = lv_field.
APPEND fs_table TO t_table1.
ENDLOOP.
lo_nd_sflight = wd_context->get_child_node( 'DATA_TAB' ).
lo_nd_sflight->bind_table( t_table1 ).
ENDMETHOD.
if correct give correct answer
Thanks & Regards,
Meenachi.R -
How to read and write data from Excel to TestStand without using LabVIEW VIs
Hi,
How can I read in columns of data from Excel into a TestStand array and write columns of data to Excel from TestStand without using LabVIEW VIs?
I don't think the Property Loader custom step type in TestStand will work because the data I would like to read in from Excel is in a column that is thousands of rows long and the data has to be in the proper format to use the Property Loader to load in an array from Excel.
Thanks for your help.That example does not use LabVIEW and it does about 40% of what you need to do by calling Excel through ActiveX. If you don't know how to use Excel through ActiveX then you'll need to brush up on that.
http://www.microsoft.com/en-us/download/details.aspx?id=16250
http://support.microsoft.com/kb/141759
http://support.microsoft.com/kb/302084
CTA, CLA, MTFBWY -
Can any one help how can I include junit in upload image interface?
I did upload image interface with jsp and servlet. I just need to know can I include this with junit? If so how? can anyone help?
Error Message:
Uploaded file should be of (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) type 1) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) other than this from the browse button with the 1st selection of the above test case
2) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) other than this from the browse button with the 3rd selection of the above test case
Shows uploaded image link with date and time. 1) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) from the browse button with the 1st selection of first test case.
2) Select a file of type
(.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) from the browse button with the 3rd selection of first test case.
3) Select a file of type
(.swf) from the browse button with the 5th selection of first test case.
Is this unit tests?
If so how to implement junit? -
Excel file upload in background
Hi
any one inform me how to Excel file will be Executed as a background job.
The Excel file will be executed as a background job.
This will eliminate issues related to network speed,
time-outs,user logging off,ect;
and the need for the user to remain logged in to the transaction till it finishes
execution. After the background job completes the output report will be sent to the
user via email as an attachment.
Regards
Gopal
Duplicate thread.
Edited by: kishan P on Aug 24, 2010 10:39 AMhi,
function module for email attachment -
function module SO_DOCUMENT_SEND_API1
function module for background schedule - u2018ALSM_EXCEL_TO_INTERNAL_TABLEu2019
When scheduling a job in the background the appropriate statement to read in your file is OPEN DATASET, and the file must be on the file system that the SAP server can see.
At anytime, a user can switch of the Personal Computers even though the job is still running in the background. Therefore GUI_* and WS_* function modules are not designed to work in that way, as they need to access your personal computer file.
To choose the correct download method to used, you can check the value of SY-BATCH in your code,
if it is 'X' use OPEN DATASET and if it is ' ' use WS_UPLOAD.
link for help -
Re: Excel file upload through BAPI in BACKGROUND
Rgds
Raj -
Excel Planning Upload - Values are equally distributed
Hello Gurus,
I am doing Excel planning upload using KP06 for Cost Center and Cost Element planning. The issue I am having is the upload is not taking individual values of each period during the upload. It is only taking one period value and spreading equally across all 12 periods. I used distribution keys 0 and 2. But no use. I see there are few questions on this issue. But I could not get the right answer. Can any of you please guide me as to how to upload values for each period?
Thanks in advance.
VenkatNot sure how you define your File Description. Try this:
One column per month, e.g. column C = month1; column D = month2;... etc.
One row per cost element -
ABAP Convert Internal Table values to Excel and Upload
Hi Friends,
I have a internal table with multiple columns along with values and i need to convert this into String-->Xstring and upload to system but before that i need to make the alignments in the Excel before uploading ex:Making the text bold,set border so how will i do this?
Regards,
Vinodkumar.HI Vinod,
Using OLE is better option to play with Excel.
You can refer below link for detailed information on how to use OLE to download to excel
Downloading report output to Excel using OLE
Thanks,
Lohit
http://www.****************/Tutorials/ABAP/OLE/Index.htm -
Ms Excel move automatically without pressing Enter or Tab to the next cell
Hi, I wonder if it is possible to make Ms Excel move automatically without pressing Enter or Tab to the next cell once a certain number of digits is entered, for example, I'm using a barcode scanner to scan a barcode of 13 digits, so I want Excel
to move to the next cell once the barcode is scanned.
example: I'm In cell A1, this code appeared after scanning "AABB1234567CC", I want Excel to move to A2 in order to scan the next barcode.Hi,
Excel has no direct feature or option to achieve your goal. We'd better try the macro via VBA code to test. Please see the thread:
http://excel.tips.net/T003923_Automatically_Moving_from_Cell_to_Cell_when_Entering_Data.html
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
If you have further question about code, I recommend you follow with thread which you posted in MSDN forum:
http://social.technet.microsoft.com/Forums/en-US/6f5344cf-c1b5-485d-982a-eeec45294f9b/ms-excel-move-automatically-without-pressing-enter-or-tab?forum=exceldev
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
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. -
Versioning for excel docs uploaded to workspace
I need info on how to apply versioning for Excel documents uploaded to Oracle Beehive Workspace.
I actually want to enable versioning for excel documents, which enable me to track the changes made to the documents and revert to previous versions if required.
Any help is appreciated.
Thanks,
SmitaHi Jereen,
Thanks For the information. But I did not understand if the versioning is getting applied to Excel documents uploaded to workspace.
My requirement is like.
I have a folder in my workspace. I upload an Excel document into the folder. Later When I modify the file and upload it back, I should be able to see what are the changes from previous file and if required I need to revert back to old version. Main thing required is I should be able to view the updates done.. just like the feature available for wiki pages, where I can compare the current version with the previous version and understand what was updated.
Please help me out on how to have such a feature enabled for Documents uploaded to workspace.
Thanks,
Smita -
Yet another cocoa without interface builder post
I am sure its been brought up before. I would like to know if its possible to write Cocoa apps without Xcode, Interface Builder, or NIB files in general; another words, write Cocoa programs programmatically using ONLY Objective C. Before you ask me why I would want to do such a thing and that I am crazy, please hear me out.
I come from a Win32 background, and my primary languages are C and C++. I am getting used to Objective C (though I wish I could use C++ to program in Cocoa). I picked up a copy of Cocoa(R) Programming for Mac(R) OS X (3rd Edition) by Aaron Hillegass, and have been trying to learn cocoa from it for the last few months. Basically, I am having big trouble wrapping my mind around cocoa via the very conceptual high level approach this book takes. I can not for the life of me begin to understand this whole making connections with interface builder.
I do NOT plan to write production applications in cocoa by hand, but if I could just write a few trivial applications in cocoa by hand without interface builder or nib files, perhaps when I do use interface builder, I won't have such a hard time understanding whats going on.
Thanks in advance for the help.__mikem wrote:
I am sure its been brought up before.
I don't care. Your question isn't about learning how to program and learning via the iPhone SDK. I'll do anything I can for you
I would like to know if its possible to write Cocoa apps without Xcode, Interface Builder, or NIB files in general; another words, write Cocoa programs programmatically using ONLY Objective C.
Certainly. You can write command-line Cocoa apps. Xcode is just an IDE like Visual Studio.
Before you ask me why I would want to do such a thing and that I am crazy, please hear me out.
I come from a Win32 background, and my primary languages are C and C++. I am getting used to Objective C (though I wish I could use C++ to program in Cocoa). I picked up a copy of Cocoa(R) Programming for Mac(R) OS X (3rd Edition) by Aaron Hillegass, and have been trying to learn cocoa from it for the last few months. Basically, I am having big trouble wrapping my mind around cocoa via the very conceptual high level approach this book takes. I can not for the life of me begin to understand this whole making connections with interface builder.
You specifically asked to avoid the topic, but I'm sure there are several of us who are really tired of iPhone questions who would be happy to try our hand at explaining the User Interface architecture in Cocoa - if you want to try.
I do NOT plan to write production applications in cocoa by hand, but if I could just write a few trivial applications in cocoa by hand without interface builder or nib files, perhaps when I do use interface builder, I won't have such a hard time understanding whats going on.
You can write Objective-C programs using whatever editor and IDE/makefile you want. You can even work with all the non-UI parts of Cocoa to get a feel of how it works. Technically, you could write code using only Carbon and never use Objective-C, but that is really a dead-end.
A good idea might be start looking at doing writing MacOS X kernel extensions. You should still use Xcode, but only as an IDE. The code would all be C++ (or a subset thereof) with no user interface or NIB files. Realistically, that is probably harder than learning Interface Builder, but it is probably the most productive path available to you for developing MacOS X and avoiding Interface Builder. -
Validating the Data in Excel before uploading
Hi all,
I have a requirement where i need to uplaod an excel file from the users local system to Server.
But before saving i want to do certain validation on the Excel file which the user is trying to upload.
1. Is the Excel file in the same format as expected . ie the coloumn order , all the required coloumns etc
2. is there a possibility for me to check if certain coloumn values are mandatory .
Can you please guide me providing some docs on coloumn validation of the Excel.
Thanks,
SwethaHi Swetha,
First you have create one Value Node that node having 5 attributes. For Example you excel having 5 Columns data So you can create 5 attributes under value Node.
Can u see below Code.
IPrivateASNFileUplaodView.IASNDetails_PopUpNode node = wdContext.nodeASNDetails_PopUp();
IPrivateASNFileUplaodView.IASNDetails_PopUpElement ele;
if(node.size() > 0)
for(int i =0;i <node.size();i++)
ele = node.getASNDetails_PopUpElementAt(i);
if(ele.getOpn_Quantity() != null )
flag = true; //wdComponentAPI.getMessageManager().reportException(ele.getQuantity()+"val",true);
else
flag = false;//wdComponentAPI.getMessageManager().reportException("else-c1",true);
break;
if(ele.getPo_Number() != null && ele.getPo_Number().length() != 0 )
flag = true; //wdComponentAPI.getMessageManager().reportException(ele.getPlant()+"val",true);
else
//wdComponentAPI.getMessageManager().reportException("else-c2",true);
flag = false;
break;
if(ele.getPo_Item() != null && ele.getPo_Item().length() != 0 )
flag = true; //wdComponentAPI.getMessageManager().reportException(ele.getMaterialNumber()+"val",true);
else
flag = false;//wdComponentAPI.getMessageManager().reportException("else-c3",true);
break;
if(flag)
wdThis.wdGetCO_ASNFileUplaodController().executeYmm_Sc_File_Upload_02_Input();
wdComponentAPI.getMessageManager().reportSuccess("File Upload Sucessfully");
else
wdComponentAPI.getMessageManager().raiseException("Please fill in all the values in Excel sheet and Upload Again.",true);
By using this code Validating the Data in Excel before uploading .
Hope this is help full for you Swetha,
Regards
Vijay Kalluri -
hi all,
i have a flat file which has to be uploaded into a ztable. i have to upload without any recording as there is no transaction for it. Pls let me know the steps.
regards,
karthikTo update the ZTables. You need to do four things
1.Define the internal table of type your Z table.
DATA: itab type standard table of Z table
2.1. Upload your text file into the internal table using
FM GUI_UPload
here the filetype is 'ASC' as it is a text file
3. Validate your data in the internal table with the validations in the Z table. This could be like primary key validations or some fields must be having some check table attached or even date validations.
Otherwise invalid data is going inside your table
loop at itab
Validations for all the fields
endloop.
4. After the validations Lock your table and then modify the table
call function ENQUEUE*TAble
MODIFY Z TABLE from itab
call function DEQUEUE TABLE
Hope this helps
Award Points for useful answers -
Custom TCode for Excel File Upload/Import - WebGUI Error
We get an ABAP runtime error when uploading an excel file with a custom tcode using WebGUI. It works ok with WinGUI. Any ideas what could be causing that error?
Runtime Errors RAISE_EXCEPTION
Date and Time 01/05/2011 17:27:16
Short text
Exception condition "JAVABEANNOTSUPPORTED" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "C_OI_CONTAINER_CONTROL_CREATORCP" raised the
exception
condition "JAVABEANNOTSUPPORTED".
Since the exception was not intercepted by a superior
program, processing was terminated.You can use the below code. One more thing while running make sure there is no unsaved excel sheet open in your system.
FORM sub_create_container .
Create Instance control for container
CALL METHOD c_oi_container_control_creator=>get_container_control
IMPORTING
control = iref_control
error = iref_error.
IF iref_error->has_failed = c_check.
CALL METHOD iref_error->raise_message
EXPORTING
type = 'E'.
ENDIF.
Create generic container linked to container in screen 100
CREATE OBJECT oref_container
EXPORTING
container_name = 'CONT'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Error while creating container'(012).
ENDIF.
Establish connection to GUI Control
CALL METHOD iref_control->init_control
EXPORTING
inplace_enabled = c_check
r3_application_name = 'EXCEL CONTAINER'
parent = oref_container
IMPORTING
error = iref_error
EXCEPTIONS
javabeannotsupported = 1
OTHERS = 2.
IF iref_error->has_failed = c_check.
CALL METHOD iref_error->raise_message
EXPORTING
type = 'E'.
ENDIF.
Create Document Proxy
CALL METHOD iref_control->get_document_proxy
EXPORTING
document_type = soi_doctype_excel_sheet
IMPORTING
document_proxy = iref_document
error = iref_error.
IF iref_error->has_failed = c_check.
CALL METHOD iref_error->raise_message
EXPORTING
type = 'E'.
ENDIF.
ENDFORM. " SUB_CREATE_CONTAINER
FORM sub_create_document USING p_sheet TYPE i.
DATA: l_title TYPE char40,
l_char TYPE char2,
l_time TYPE i,
l_sheet TYPE char12.
Calculate the number of sheets to be created
l_time = p_sheet - 1.
CONCATENATE 'Assembly Table'(015) v_char INTO l_title
SEPARATED BY space.
Create document
CALL METHOD iref_document->create_document " Open use Open_document method
EXPORTING
open_inplace = c_check
document_title = l_title
no_flush = c_check
IMPORTING
error = iref_error.
Open Spreadsheet interface
CALL METHOD iref_document->get_spreadsheet_interface
EXPORTING
no_flush = c_check
IMPORTING
sheet_interface = iref_spreadsheet
error = iref_error.
Get number of sheets
CALL METHOD iref_spreadsheet->get_sheets
EXPORTING
no_flush = c_check
IMPORTING
sheets = i_sheets
error = iref_error.
Reaname he sheet
READ TABLE i_sheets INTO wa_sheets INDEX 1.
l_char = p_sheet.
CONCATENATE 'Sheet' l_char INTO l_sheet.
CALL METHOD iref_spreadsheet->set_sheet_name
EXPORTING
newname = l_sheet
oldname = wa_sheets-sheet_name
no_flush = c_check
IMPORTING
error = iref_error.
REFRESH i_sheets.
CLEAR: l_char,
l_sheet.
Add sheets
DO l_time TIMES.
l_char = sy-index.
l_char = p_sheet - l_char.
CONCATENATE 'Sheet' l_char INTO l_sheet.
CALL METHOD iref_spreadsheet->add_sheet
EXPORTING
name = l_sheet
no_flush = c_check
IMPORTING
error = iref_error.
ENDDO.
Get number of sheets
CALL METHOD iref_spreadsheet->get_sheets
EXPORTING
no_flush = c_check
IMPORTING
sheets = i_sheets
error = iref_error.
SORT i_sheets BY sheet_name DESCENDING.
ENDFORM. " SUB_CREATE_DOCUMENT
FORM sub_save_document .
DATA: l_changed TYPE int4.
Save the document
CALL METHOD iref_document->save_as
EXPORTING
file_name = p_file
no_flush = c_check
IMPORTING
error = iref_error.
Close the document
CALL METHOD iref_document->close_document
EXPORTING
do_save = c_check
no_flush = ''
IMPORTING
has_changed = l_changed
error = iref_error.
ENDFORM. " SUB_SAVE_DOCUMENT
Thanks
Subhankar
Maybe you are looking for
-
Legacy flat file - XI - R/3 (IDocs)
Hi Liu, I was trying to have some hands-on with XI 3.0 demo. I tried with the following scenario- Legacy flat file -> XI -> R/3 (IDocs) e.g., say to create BOM data or material Master. I take the flat file - create my own External Data Type, message
-
I recently installed Oracle 9i and made a database with the database configuration asisstant.How do i make that database appear in enterprise manager console. A dialog pops up "add databases to tree". It asks for hostname,sid,port number. I enter tho
-
I have an iPhone 5S and I can't turn off the hotspot.
I have an iPhone 5S with IOS 8.1.1 and I can't turn off the hotspot. The button says it is off but it still shows up in the available wifi list on my other devices. I tried turning it to on and back off. I tried resetting it. Any ideas??
-
Computer wont find IPOD & Usb-problems
Hi all. I have an Ipod video 30gb (5.0th generation) And now when im trying to connect it to my computer its not working. I just saw that also the usb-port next to the port that im connecting stops working! I've tried all of my usb ports and even on
-
Asynchronous processing support
I can't find anything about asynchronous processing in the documentation for ODP.NET, am I missing something, or is this a future enhancement? OO4O documentation extract. =========================== Non-Blocking Mode In non-blocking mode, control is