7KEX Flexible Excel Upload
I need to upload an Excel file with the transaction 7KEX, but i do not know how to do it. How to configure the input file.
If you have ever come across with "flexible excel upload" transactions, could you please provide a sample code of the Z program which you have witten to interpret the values from excel and for posting those values?
Hi!
Here some more information about the report S_ALR_87013336
. This report belongs to the group of drill-down/interactive reports.
This means that those reports are always aggregating/cumulating account
values in the following way:
'From'-Period: 0 (this is hard-coded in the system and cannot be
influenced by the selection criteria in the field
'From period')
'To'- Period: selected period in the selection criteria.
This is because the drill-down reports like S_ALR_87013336 should
provide the ability to show the stock values of the BALANCE SHEET
accounts ands so it has to accumulate the values from period 0 to the
selected period. Furthermore, report S_ALR_87013336 shows only values
for balance sheet accounts.
Please also consider the attached note 180906 which explains the
different update logic for the periodic data transfer programs, namely,
1KEH, 1KEK, 1KEI and 1KEJ. I am sure your postings you mentioned have
been made by any of these periodical transfer programs.
So please consider the described update logic of the tables GLPCA (line
items) and GLPCT (totals table). So if you want to see the balance over
the periods 1 - 12 in TN KE5Z you only have to inout in the period
field in TN KE5Z 12 - 12 and NOT 0 - 12.
BR
Werner
Similar Messages
-
7KEX PCA Excel Upload - plan values not splitting between period
Hi All
I am using 7KEX to upload a csv file for PCA plan figures, on the layout I have created there is 1 column for each period however the only figure getting upload is period 1, the remaining periods are not getting any data. I have checked the CO upload program and this is working, compared the column for periods using the characterics "period"
Has anyone had this issue?
thanks for you help
IftyHi!
Here some more information about the report S_ALR_87013336
. This report belongs to the group of drill-down/interactive reports.
This means that those reports are always aggregating/cumulating account
values in the following way:
'From'-Period: 0 (this is hard-coded in the system and cannot be
influenced by the selection criteria in the field
'From period')
'To'- Period: selected period in the selection criteria.
This is because the drill-down reports like S_ALR_87013336 should
provide the ability to show the stock values of the BALANCE SHEET
accounts ands so it has to accumulate the values from period 0 to the
selected period. Furthermore, report S_ALR_87013336 shows only values
for balance sheet accounts.
Please also consider the attached note 180906 which explains the
different update logic for the periodic data transfer programs, namely,
1KEH, 1KEK, 1KEI and 1KEJ. I am sure your postings you mentioned have
been made by any of these periodical transfer programs.
So please consider the described update logic of the tables GLPCA (line
items) and GLPCT (totals table). So if you want to see the balance over
the periods 1 - 12 in TN KE5Z you only have to inout in the period
field in TN KE5Z 12 - 12 and NOT 0 - 12.
BR
Werner -
Hi,
I have enabled excel upload with the listener, and it actually works fine. I get the data into a collection.
Now what if I want to store the file in the database? It seems that the file is NOT inserted into wwv_flow_files. Also the item that contains the file has no value when the page is submitted with the XLS2COLLECTION button. (If I create another button that also submits the filename is there)..
So it seems that when this feature is enabled the file is deleted from www_flow_files when page processing starts.Hi Martin,
the feature is undocumented and not officially supported for 1.1, but known to work for Excel files up to the 2003 format. XLSX (2007 onwards) is not implemented.
Perhaps going through the discussion and examples in {thread:id=2342792} helps you solve your issue.
-Udo -
ADFDi Excel upload failed in a new session
ADFDi Excel upload failed when a change was made in a locally saved ADFDi Excel file. This should be a very common disconnected scenario. I must miss something. Here are high-level steps that I have done.
1. Open a ADFDi Excel from a ADF page.
2. Download data to Excel
3. Modify a row in ADF table component in the Excel, then save the Excel file locally. (If I clicked the 'Save' button instead of saving the file locally, the change was uploaded to the server correctly).
4. Open the locally saved Excel, and accept the option to connect to the server and login. A new session should be created in the ADF web application.
5. Click 'No' in the popup window of "Do you want to discard the pending change?"
6. The 'changed' indicator is shown on the changed row in the Excel. Click 'Save' button, which has two actions - Upsync and ADFTable.upload
7. On the server, a 'Row not found' exception is thrown from DCJboDataControl.setCurrentRowInRSI(). In this method, it tries to find the row in the ViewObject instance using the uploaded row's key. The code is rsi.findByKey(key, 1). I checked the value of key. It looks correct. But no row is return from findByKey() call. Then 'No row found' exception is thrown.
My JDev version 11.1.1.7
Greatly appreciate any suggestion on what could be wrong?HI
I am facing the same issue. Are you able to resolve this issue or any solution around ?
Thanks -
How to import 300 purchase order into SAP using excel upload
Hi Everyone,
I am trying to close all the existing purchase orders in the system (about 300) and create similarly 300 new ones under new accounts.
My questions is can I do that using an excel upload, or it will have to be done manually? If I can, any help in that regard would be highly appreciated.
Regards,
Abubakr AsifHi
Welcome to SDN World!
You can use LSMW to create 300 Purchase Orders.
please check this link for guidance
http://www.ficoexpertonline.com/downloads/0703.doc
To close existig POs, you can use Mass update (Tr code MEMASSPO).
hope it helps.
regards
Srinivas
Reward if it helps -
Excel Upload via Web dynpro ABAP
Hi All,
Could any one please explain how to upload MS Excel file in Web Dynpro ABAP?
Regards,
SuryaHi Surya,
Ya Excel upload is not supported some times.
You can save your excel sheet as "Tab Limited" file. Then you can easily upload the file contents to your WebDynpro.
Thanks. -
Preceeding zeroes while excel upload and download
Hi,
I am uploading some data from excel into an internal table,processing it and then downloading it again in excel.
For Excel Upload I am using CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
For Excel Download I am using GUI_DOWNLOAD.
But the problems is when the data is like 01 it is downloading it as 1 in the excel.The user don't want to do any changes after downloading it to the excel and want the data 01 to be dowloaded as 01 itself and not as 1.
We can format it in excel but the user is not willing for that.Any possibility that we can handle it in the program.
Thanks,
K.Kiran.You have to use OLE technique for the same....that will solve your case.
supposae i want to make the 5th , 6th and 7th coloumn , as character format.
The below scenario will help.
collect the contents of the excel in it[] ,
DESCRIBE TABLE it[] LINES wf_it_line.
wf_it_line = wf_it_line + 8.
CLEAR : wf_cellx, wf_celly, wf_cellr.
CALL METHOD OF wf_excel 'Cells' = wf_cellx
EXPORTING
#1 = 8
#2 = 5.
CALL METHOD OF wf_excel 'Cells' = wf_celly
EXPORTING
#1 = wf_it_line
#2 = 7.
CALL METHOD OF wf_excel 'Range' = wf_cellr
EXPORTING
#1 = wf_cellx
#2 = wf_celly.
SET PROPERTY OF wf_cellr 'NumberFormat' = '@' .
this will change the format of the excel.
then call the below method
CALL METHOD cl_gui_frontend_services=>clipboard_export
IMPORTING
data = it[]
CHANGING
rc = l_rc
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
OTHERS = 4.
CALL METHOD OF wf_excel 'Cells' = wf_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF wf_excel 'Cells' = wf_cell2
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF wf_excel 'Range' = wf_range
EXPORTING
#1 = wf_cell1
#2 = wf_cell2.
CALL METHOD OF wf_range 'Select'.
CALL METHOD OF wf_worksheet 'Paste'.
then call the method 'SAVEAS' to save the excel.
Edited by: Rudra Prasanna Mohapatra on Jan 22, 2009 5:47 AM -
Hi All,
I am using SCM 5.0 DP module.
I am facing some problem while uploading Historical Sales data from excel file to Planning book.
Steps
1. I download the planning book data by clicking on "Save Locally" at that time I select "Prepare file for upload at later time" and select "Save Additionla information in file"
Use comma as separator.
file saved in desktop as csv file.
2. I opend the saved file in notepad and modify the data.
3. Go to Planning Book, click on "Upload data"
Select file name and check it and then click on "Upload File".
Upload is successful..but interestingly : System doesn't show modified data or even old data.
All data are deleted and Planning book is blank.
Any thought on this issue?
Thanks,
Vipul ShahHi
There is the same problem in SCM 5.1 and there is a note fix for it:
[1131260 - Excel Upload not Working Properly|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1131260&nlang=EN&smpsrv=https%3a%2f%2fwebsmp103%2esap-ag%2ede]
However this is down as relevant only for 5.1 but I am sure it will fix 5.0 as well. It may be worth opening an OSS Message on this point.
Regards
Ian -
In KP26 excel uploading not happening with +new values+
Kp26 the users is doing thorugh EXCEL upload
wants to update NEW activity values even if Costs already posted ?
But manually we are able to delete the values and update, but for large employee turnovers
we cannt do it manually, so they are looking for update option which will
erase the current data and update the fresh ones?
the following error message appears when we try with delete button?
The following is the error message
Costs already posted under cost element SEC_ACT_CO. No deletion possible
Message no. K8098
Diagnosis
You want to delete business process or cost center/activity type 5000010114/LE6047.
However, you have already posted actual costs in version 0 in fiscal year 2011 under cost element SEC_ACT_CO.
System Response
The deletion may therefore not be executed.
Procedure
First reverse the posted record under cost element SEC_ACT_CO.
Alternatively you can set all fields to zero in the plan record you have just selected. This corresponds to a deletion of the activity types/business process quantity planning on object 5000010114/LE6047.
If the message appears several times in the error log, it could be that the actual records were posted under different transaction currencies. In this case, you must delete them all.
Edited by: melgibson on Feb 1, 2012 4:08 PMthankx for the reply
But in our case the while we checked periodwise values are not the difference which are getting posting
rather 100 is getting multiplied with the old values.
the Acvtivity price was 10 for 01 to 12 periods we changed to 100
New value old value posted amounts
100 7.37 73.7
100 7.36 73.6
100 7.31 73.1
100 9.5 95
100 9.9 99
100 11.23 112.3
100 11.22 112.2
100 11.22 112.2
100 11.22 112.2
100 11.23 112.3
100 11.22 112.2
100 11.22 112.2
the user changes period values some times thats the reason above table shows different figlures
But as per the delta logic it should be as follows
New value old value User rquires
100 7.37 100
100 7.31 100
100 9.5 100
100 9.9 100
100 11.23 100
100 11.22 100
100 11.22 100
100 11.22 100
100 11.23 100
100 11.78 100
100 11.22 100
But here the requirement is little peculiar,
The user wants to update plan data , irrespective whether it is existing or not, with fresh
figures which should equally distribute periodwise (not according to delta logic) as shown above
all should become 100?
How that can be achieved?
Edited by: melgibson on Feb 3, 2012 11:59 AM
Edited by: melgibson on Feb 6, 2012 1:09 PM
Edited by: melgibson on Feb 15, 2012 8:43 AM
Edited by: melgibson on Feb 15, 2012 8:47 AM -
Excel uploading does not open excel file
Hi!
On customer site users try to upload tables of docs and reports via standart MS Excel upload functionality, B1 saves data in txt file but does not open MS Excel with auto_open macro - what could be the reason?Dear ,
For your issue, kindly check Note-542663 below:
Symptom
When exporting a file to Excel the program opens, but the exported file
itself doesn't open automatically although an "AutoOpen" file exists.
Other terms
export, Excel, tools, options, auto open, file, document, office, macro,
ignore, application, Office97, Office2000
Reason and Prerequisites
In Excel the options "Ignore Other Applications" and "Protection from
Macro Viruses" are set.
Solution
To remedy this problem you should deselect the following :
"Ignore Other Applications" and "Protection from Macro Viruses" options
in the Excel program.
For Microsoft Office 2000
in order to de-select the tick-box "Ignore Other Application" :
1. On your desktop go To: "Start -> Programs -> Microsoft Office ->
Microsof Excel
2. In Excel go to:"Tools->Options-> General" Tab.
3. De-select the tick-box "Ignore Other Applications"
In order to de-select the "Portection from Macro Viruses"
1. In Excel go to:"Tools-> Macro->Security"
2. Set the security level to "Medium".
For Microsoft Office97:
1. In Excel go to:"Tools->Options->General" tab.
2. De-select the tick-box "Protection from Macro Viruses".
You could also refer to note 941266 & 540054 for reference.
Wish the information above is helpful for you.
Regard
Apple -
Field merge via Excel upload?
I decided to create a new string for this question, though I had found a related article where I initially made a posting (I can't now edit or delete my original posting - "actions" menu doesn't open for me, PC and Mac, Chrome and FF):
Using Field Merge to Dynamically Display an Image
The post above outlines pretty much exactly what I want to do, but I'm missing something -
Here is what I'd like to do: I have some customer information that I want to merge to an email; the information is not something I want to necessarily retain with my contacts.
We're using Excel to upload lists, as these are contacts not currently in our database. I created a new field merge, and inserted the merge into my email. Creating the field merge requires linking the merge to either Contacts, Accounts, Events/Event Sessions, or CDOs. My original assumption was that I'd need to create a CDO, which I did. So I created the field merge, tied it to my CDO, and inserted the field into the email.
When I then go to test the email, I upload my test segment. In matching fields, I can't match the additional customer data fields from Excel to fields in Eloqua - I had thought maybe the CDO fields would appear as options for matching.
So, my question is, how do I get the Excel data to match up to my merge field in Eloqua?
Thanks for any help you can give!
ColinHere was the outcome:
You can't perform a merge via Excel upload (ie - trying to create a new segment via upload that contains data to be merged) - I was on the right track, that this needs to be done via CDO.
1. Create your CDO, upload your Excel file, and map contacts to the data card
- Create a new CDO, adding the extra fields you want to capture
- Specify "Email Address" in the Display name, Unique ID and Email Address fields. I also set the Group By field to Email Address, and the Entity type as Contacts with field again set to Email Address.
- When uploading your Excel file with the records you want to merge, make sure to map the uploaded contacts to the data card (Custom Object > Upload Custom Object Records). In the resulting wizard, in step 4 - Upload Actions, be sure that the Map data card checkbox is checked. Not real sure why you'd ever not want this - it seems to me you can't do much without it.
2. Create your field merges Email Field Merges
- map these to your CDO fields
3. Insert the field merges into your email
That's about it - if anyone has additional info or corrections on the above, let me know. Hope this helps -
Colin -
KP06 excel upload, KP66 report painter error.
Hello everyone,
I am attempting to upload our budget planning into KP06 via the excel flexible upload function.
I have created a new user profile via KP34.
I have created a new layout via KP65.
I have saved the "Generic File" and the excel file created when assigning the layout to the planner profile in KP34.
I enetered the needed information into the excel spreadsheet created above, and saved it as a .txt file.
When I go in to KP06 and attempt to upload the .txt file through KP06, I am getting the following Message:
"The row inserted cannot be processed manually"
When I select this message for mare detail, here is what I see:
The row inserted cannot be processed manually
Message no. K9 072
Diagnosis
You have entered a new row.
The characteristic entered in the lead column or the combinations of characteristics entered in the lead columns cannot be processed manually.
System Response
The entered row is not accepted.
Procedure
Analyze the cause of the error in the corresponding transaction.
I believe that has to do something with the file format or how I setup the layout in KP65. However, I can figure out what the issue is.
I am very new to using SAP Report writer/painter.
Does anyone have any suggestions in resolving this issue?
Thanks in advance for your help,
RhondaHello,
Thank you for the replies. I did resolve the issue above (K9 072), the account group gave me a cost center and cost element that was blocked for use. Once I usees a valid cost center and cost element, the error went away.
We are using SAP version 4.6
With that said... I did receive another error, "Enter a numeric value"
Enter a numeric value
Message no. 00 052
The valid cost centers are alphanumeric, not just numeric. For instance: IT1 is a cost center.
Can alphanumeric values be used? If so, how to I go about making them work with the upload in KP06?
I have looked at the layout in report writer (KP66) and I see no options on allowing alphanumeric values. However, I am very new to this and just may be missing it.
Any suggestions would be greatly appreciated.
Thank you very much!
Rhonda -
Excel upload with header in the first line
Hi ,
I have to upload a Excel sheet with data where the first line will be the Header .
I am using the FM
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_LINE_HEADER = 'X'
I_TAB_RAW_DATA = IT_TAB_RAW_DATA
I_FILENAME = P_FILE
TABLES
I_TAB_CONVERTED_DATA = IT_FS00_C
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2.
But the data is not getting uploaded in the IT_FS00_c table.
is there any other way to do it.
thanks and regards,
Vikki.Use the folllowing coding.....
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = p_file
i_begin_col = 1
i_begin_row = 2
i_end_col = 7
i_end_row = 9999
TABLES
intern = t_alsm_tab
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT t_alsm_tab BY row col.
LOOP AT t_alsm_tab INTO r_alsm_tab.
AT END OF row.
l_append = 'X'.
ENDAT.
IF r_alsm_tab-col = 1.
r_input_tab-kokrs = r_alsm_tab-value.
ELSEIF r_alsm_tab-col = 2.
r_input_tab-bukrs = r_alsm_tab-value.
ELSEIF r_alsm_tab-col = 3.
r_input_tab-rprctr = r_alsm_tab-value.
ELSEIF r_alsm_tab-col = 4.
r_input_tab-pline = r_alsm_tab-value.
ELSEIF r_alsm_tab-col = 5.
r_input_tab-sdatst = r_alsm_tab-value.
ELSEIF r_alsm_tab-col = 6.
r_input_tab-sdated = r_alsm_tab-value.
ELSEIF r_alsm_tab-col = 7.
r_input_tab-kostl = r_alsm_tab-value.
ENDIF.
IF l_append = 'X'.
APPEND r_input_tab TO t_input_tab.
CLEAR : l_append , r_input_tab.
ENDIF.
ENDLOOP.
ENDIF. -
Excel Upload with Hidden Column
Hi Gurus-
Can you upload Excel file with hidden column and get the function to read values in hidden column? If yes, could you please guide me how?
I am using ALSM_EXCEL_TO_INTERNAL_TABLE
Any help will be highly appreciated.
Thanks in advance!Hi,
Have a look at program RSDEMO01 (available in the controls examples of the workbench). It demonstrates an OLE connection to Excel.
To know which excel objects, methods and properties to use it is a good idea to use the excel macro recorder - just do what you want your program to do and then translate the resulting VB code to ABAP OLE.
For the import of the clipboard data you can use CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_IMPORT. In the result table, iirc, there is one line for each imported line and within the line the cell values are separated by tab. So there is some work left - it might be a good idea t import the data column by column.
It has been some time when I did this for a former client of me - so unfortunately I do not have the code any more.
Regards, Gerd Rother -
Excel upload data to planning book not working
Hello Gurus,
i have checked the online resources first before posting this thread here as this is most old topic relating to upload of excel data to planning book key figures.
Here is what i have done so far
1) from the planning book, i chose a view and downloaded the file to desktop and saved it as CSV. i populated the key figure values and saved the csv file as-is back to desktop
2) i had to remove the hdeader from the file as APO threw back an error that it could not interpret the period (header) as the number
3) when i took out the header i simply pasted the values and the file was ok
4) i went to planning book, loaded the file, checked the file and it said that the data was read and i clicked on upload the file
5) everything was green, then but i do not see the values in the grid of the planning book
what else i'm missing.
can someone please help me
thanks
RaviHello DB and Ada. Thank you for your valuable suggestions. I know i might be missing something silly here. If i keep the header that i downloaded from the planning book into csv file, i get an error while uploading the file back to planning book that unable to interpret 11/2014 as a number.
P11/2014 is the header, Period 11/2014 is the fiscal period. we plan in fiscal periods.
if i take out the header from the csv file and just populate the key figure values, then i do not get any error when i load the file back to planning book, but then the values do not show up in the planning book grid.
i'm keeping the planning book in the change mode while uploading the file as i got that error saying that i need to keep the planning book in change mode for the file to load data properly to planning book.
Thanks
Ravi
Maybe you are looking for
-
Mid 2010 MacBook Pro no backlight following keyboard spill.
I am new here. Can I get help with a mid 2010 MacBook Pro? It appears to have a LED backlit screen. A keyboard spill left me with a display problem. In bright light at the right angle you can see that the display is still working, but there is ze
-
WindowServer port death causes instant logout
Hi, I've just had my computer instant-logout twice now. Poking around, it seems to be a problem that's been noted on these forums before, the WindowServer crashing. Both times, the event happened when I was on YouTube; it does not happen consistently
-
Non additive aggregation - custom defined aggregation possible in BW?
I have the following problem: there is a key figure that is non-additive relative to one characteristic, e.g we need the third minimum as an aggregation for a time characteristic (there a 250 values for that characteristic). Is there a way to create
-
Transfer video files from a DVD to Final Cut
Hi- I have a couple of personal DVD's that has content I want to capture and edit into a timeline. I would like to capture only portions of each. Can anyone suggest best method of doing so? Also, can video files from a DVD playing from a computer be
-
Is anyone else having issues with google images on iPhone 4 s? I can search and it will load up a page of images but I cannot bring up the full size pic or move to the next page. However google search is fine and if image results show in a web search