Import Transactions as Journal Voucher from Excel
Hi,
Customer would like to import transactions into Journal Voucher from Excel using the Administration > Data Import > Import Transactions from SAP Business One option. Please note that customer does not want to use DTW for data import.
Is there any documentation which I can refer to for importing transactions into JV in B1? Please provide the link if any.
Thanks and regards,
Priscilla
Hey Ramzi ,
I tried the code so many times and every time there is a sign error in this line :
If lRetCode <> 0 Then
sErrMsg = oCompany.GetLastErrorDescription
MsgBox sErrMsg & " - Ligne entete n°: " & j - 10, vbCritical, " ERREUR"
Worksheets("entete").Cells(j, 1).Font.Color = vbRed
can you help me to understand why i have msg error ?
Thanks in advance
Similar Messages
-
How to import more than 2k items from Excel(2010) to SharePoint 2010 List?
Hi,
I am getting error while importing more than 2k items from Excel to SharePoint List.
Need solution!!Hi.
Try to use the Import Spreadsheet list template to import your data.
http://www.dummies.com/how-to/content/import-a-spreadsheet-as-a-list-in-sharepoint-2010.html
Regards,
Bubu
http://zsvipullo.blogspot.it
Please mark my answer if it helped you, I would greatly appreciate it. -
Import Review Cycle of Submittal from Excel (Urgent)
Hi Everyone,
Is it possible to import review cycle of submittal from excel, I'd tried to make a it by infomaker but the cycle is not created?
Thanks
Alireza NoordoustThe following is XML used to create a single revision for a specific submittal with the master_key identified. You must first log in to get your session ID and then set the Group and project. (Be aware that there are several actions which which may not work with the SUT type. In particular the Get Initial Data does not work.) Again if you do not have the programmer help or would like some limited help I can give you a hand.
<?xml version="1.0" encoding="UTF-8"?>
<request xmlns="http://app.expedition.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://app.expedition.com/ http://127.0.0.1/exponline/xml-schemas/request.xsd">
<header requestType="DETAIL" sysitemtype="SUT">
<sessionId>9bbb52d040874ea79a1145958e</sessionId>
<action>INSERT</action>
<SUT>
<project_name>YourProject</project_name>
<parent_key>000ATSYBJ6309710000000BURN</parent_key>
<sys_item_type>SUT</sys_item_type>
<description>Proposed XXX</description>
<revision_number>001</revision_number>
<item_type>SUT</item_type>
<review_set>1</review_set>
<revision_status>UNS</revision_status>
</SUT>
</header>
</request> -
Import to journal entry from Excel
I would like to know how user can create journal entry by importing data from excel.
in our site we have a payroll system and when we want to create journal voucher for related transaction it takes too long , if we had aforementioned facility it would be easy to do this task.Hi
When you go to DTW log in
<p> Put your user name and password .Enter your server name and click option
and put the necessary information and click refresh.
You should see the list of company </p>
Hope this solves your issue
Thank you
Bishal -
BDC for Transaction IA01 including recording from excel (sample Code)
Dear Experts,
Can anyone give me a sample BDC code for transaction IA01 from excel
Thanks in advance
Regards
SayandeepHi,
Try This Code
report Y_P_GB01
no standard page heading line-size 255.
R O H M A N D H A A S C O M P A N Y *
======================================================================
Development ID : mqhpkl *
Creation Date : 24-11-2008 *
Developer Name : Paramesh Kalluri *
Program Title : Upload the Special Ledger data from Excel to SAP *
Description : *
Constants *
CONSTANTS: c_begcol TYPE i VALUE 1,
c_begrow TYPE i VALUE 1,
c_endcol TYPE i VALUE 10,
c_endrow TYPE i VALUE 10.
Types Declaration *
TYPES : begin of d_itab,
data element: BUKRS
BUKRS_001(004),
data element: DOCTY
DOCTY_002(002),
data element: RVERS
RVERS_003(003),
data element: BUDAT
DATE_004(010),
data element: RTCUR
RTCUR_005(005),
data element: GCURR_A
GCURR_006(005),
data element:
GD_USE_TARGET_LEDGER_007(001),
data element:
TARGET_LEDGER_008(002),
data element: UTAB_D
UTAB_009(030),
data element: VTCUR12
TSL_010(019),
end of d_itab.
Data Declarations *
DATA: it_bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE,
it_bdcmsgcoll LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
XL_itab type alsmex_tabline occurs 0 with header line,
msg_disp TYPE string.
data : it_itab type standard table of d_itab,
wa_itab type d_itab.
Selection Screen *
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_file LIKE rlgrap-filename.
SELECTION-SCREEN: END OF BLOCK b1.
At Selection Screen for File *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
perform f4_filename.
Start-of-selection *
start-of-selection.
*Uploading the data from excel to internal table
perform excel_upload.
*Uploading to SAP
perform chek_data.
if sy-subrc ne 0.
perform format_message.
endif.
end-of-selection.
*& Form F4_FILENAME
Find the file
--> p1 text
<-- p2 text
FORM F4_FILENAME .
CALL FUNCTION 'F4_FILENAME'
IMPORTING
FILE_NAME = p_file.
ENDFORM. " F4_FILENAME
*& Form CHEK_DATA
text
--> p1 text
<-- p2 text
FORM CHEK_DATA .
loop at it_itab into wa_itab.
perform bdc_dynpro using 'SAPMGBUK' '0102'.
perform bdc_field using 'BDC_CURSOR'
'GLU1-BUKRS'.
perform bdc_field using 'BDC_OKCODE'
'=ERF'.
perform bdc_field using 'GLU1-BUKRS'
wa_itab-bukrs_001.
perform bdc_field using 'GLU1-DOCTY'
wa_itab-docty_002.
perform bdc_field using 'GLU1-RVERS'
wa_itab-RVERS_003.
perform bdc_field using 'RGBUK-DATE'
wa_itab-DATE_004.
perform bdc_field using 'GLU1-RTCUR'
wa_itab-RTCUR_005.
perform bdc_field using 'RGBUK-GCURR'
wa_itab-GCURR_006.
perform bdc_field using 'GD_USE_TARGET_LEDGER'
wa_itab-GD_USE_TARGET_LEDGER_007.
perform bdc_field using 'TARGET_LEDGER'
wa_itab-TARGET_LEDGER_008.
perform bdc_field using 'T883S-UTAB'
wa_itab-UTAB_009.
perform bdc_dynpro using 'SAPMGBUK' '0110'.
perform bdc_field using 'BDC_CURSOR'
'GLU1-TSL'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'GLU1-TSL'
wa_itab-TSL_010.
perform bdc_dynpro using 'SAPMGBUK' '0110'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'BDC_CURSOR'
'GLU1-TSL'.
perform bdc_dynpro using 'SAPLSPO1' '0200'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
perform bdc_dynpro using 'SAPMGBUK' '0102'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'BDC_CURSOR'
'GLU1-BUKRS'.
CALL TRANSACTION 'GB01' USING IT_BDCDATA MODE 'A' UPDATE 'A' MESSAGES
INTO IT_BDCMSGCOLL.
CLEAR WA_ITAB.
refresh it_bdcdata.
ENDLOOP.
ENDFORM. " CHEK_DATA
*& Form EXCEL_UPLOAD
text
--> p1 text
<-- p2 text
FORM EXCEL_UPLOAD .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = p_file
I_BEGIN_COL = c_begcol
I_BEGIN_ROW = c_begrow
I_END_COL = c_endcol
I_END_ROW = c_endrow
TABLES
INTERN = xl_itab.
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.
loop at xl_itab.
case xl_itab-col.
when '1'.
wa_itab-bukrs_001 = xl_itab-value.
when '2'.
wa_itab-docty_002 = xl_itab-value.
when '3'.
wa_itab-RVERS_003 = xl_itab-value.
when '4'.
wa_itab-DATE_004 = xl_itab-value.
when '5'.
wa_itab-RTCUR_005 = xl_itab-value.
when '6'.
wa_itab-GCURR_006 = xl_itab-value.
when '7'.
wa_itab-GD_USE_TARGET_LEDGER_007 = xl_itab-value.
when '8'.
wa_itab-TARGET_LEDGER_008 = xl_itab-value.
when '9'.
wa_itab-UTAB_009 = xl_itab-value.
when '10'.
wa_itab-TSL_010 = xl_itab-value.
*at end of row.
append wa_itab to it_itab.
*endat.
endcase.
at end of row.
append wa_itab to it_itab.
endat.
endloop.
ENDFORM. " EXCEL_UPLOAD
*& Form BDC_DYNPRO
text
-->P_0169 text
-->P_0170 text
FORM BDC_DYNPRO USING A B.
clear it_bdcdata.
it_bdcdata-PROGRAM = A.
it_bdcdata-DYNPRO = B.
it_bdcdata-DYNBEGIN = 'X'.
APPEND it_bdcdata.
ENDFORM. " BDC_DYNPRO
*& Form BDC_FIELD
text
-->P_0174 text
-->P_0175 text
FORM BDC_FIELD USING C D.
clear
it_bdcdata.
it_bdcdata-FNAM = C.
it_bdcdata-FVAL = D.
APPEND it_bdcdata.
ENDFORM. " BDC_FIELD
*& Form FORMAT_MESSAGE
text
--> p1 text
<-- p2 text
FORM FORMAT_MESSAGE .
LOOP AT IT_BDCMSGCOLL.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = IT_BDCMSGCOLL-MSGID
LANG = '-D'
NO = it_bdcmsgcoll-msgnr
V1 = IT_BDCMSGCOLL-MSGV1
V2 = IT_BDCMSGCOLL-MSGV2
V3 = IT_BDCMSGCOLL-MSGV3
V4 = IT_BDCMSGCOLL-MSGV4
IMPORTING
MSG = MSG_DISP
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.
WRITE:/ MSG_DISP.
ENDLOOP.
ENDFORM. " FORMAT_MESSAGE
******************End of the Program**********
All the best -
Create key mapping using import manager for lookup table FROM EXCEL file
hello,
i would like create key mapping while importing the values via excel file.
the source file containing the key, but how do i map it to the lookup table?
the properties of the table has enable the creation of mapping key. but during the mapping in import manager, i cant find any way to map the key mapping..
eg
lookup table contains:
Material Group
Code
excel file contain
MatGroup1 Code System
Thanks!
ShantiHi Shanti,
Assuming you have already defined below listed points
1) Key Mapping "Yes" to your lookup table in MDM Console
2) Created a New Remote System in MDM console
3) proper rights for your account for updating the remote key values in to data manager through import manager.
Your sample file can have Material Group and Code alone which can be exported from Data Manager by File-> Export To -> Excel, if you have data already in Data Manager.
Open your sample file through Import Manager by selecting the remote system for which you want to import the Key mapping.
(Do Not select MDM as Remote System, which do not allows you to maintain key mapping values) and also the file type as Excel
Now select your Soruce and Destination tables, under the destination fields you will be seeing a new field called [Remote Key]
Map you source and destination fields correspondingly and Clone your source field code by right clicking on code in the source hierarchy and map it to Remote Key if you want the code to be in the remote key values.
And in the matching criteria select destination field code as a Matching field and change the default import action to Update NULL fields or UPDATED MAPPED FIELDS as required,
After sucessfull import you can check the Remote Key values in Data Manager.
Hope this helps
Thanks
Sowseel -
Import Serial numbers into MIGO from Excel
Hi there
We would like to be able to import serial numbers from a spreadsheet into MIGO.
We purchase from vendors and they ship directly to the customer and provide us with a spreadsheet of serial numbers. These then are manually imput into SAP by copying them six at a time. Is there a way we can import the serial numbers directly into MIGO?
Thank you
TiriHi
I am experiencing the same issue. I need to create up to 3000 serial numbers in MIGO at a time. In IQ04 I am able to create a numeric list. However our serial numbers are alpha numeric or numeric ending in a test figure. Copy and past only allows 28 entries. I do have the serial numbers in electronic format.
You are referring to upload functionality, but don't seem to find the "button" or function to upload from text or excel.
Anybody able to assist?
Regards -
I have been given a series of assignments to referee high school and college soccer games from several different assignors.
I have all of the information in an Excel workbook.
How do I format the data so I can Import into Lightning calendar?
I believe Lightning will import some data forms, but there is No definition what those forms should be.I have been given a series of assignments to referee high school and college soccer games from several different assignors.
I have all of the information in an Excel workbook.
How do I format the data so I can Import into Lightning calendar?
I believe Lightning will import some data forms, but there is No definition what those forms should be. -
Importing Data into Sql Server 2012 from Excel Data
Hi,
I got errors like this when i am doing import data into sql server from excel Data. Can you please help us?
- Executing (Error)
Messages
Error 0xc020901c: Data Flow Task 1: There was an error with Source - demotable$.Outputs[Excel Source Output].Columns[Comment] on Source - demotable$.Outputs[Excel Source Output]. The column status returned was: "Text was truncated or one
or more characters had no match in the target code page.".
(SQL Server Import and Export Wizard)
Error 0xc020902a: Data Flow Task 1: The "Source - demotable$.Outputs[Excel Source Output].Columns[Comment]" failed because truncation occurred, and the truncation row disposition on "Source - demotable$.Outputs[Excel Source Output].Columns[Comment]"
specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
(SQL Server Import and Export Wizard)
Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Source - demotable$ returned error code 0xC020902A. The component returned a failure code when the pipeline engine called PrimeOutput().
The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)Are you attempting to import into a newly made table or into an existing table? It looks like it's trying to insert data where it cannot be inserted (invalid column or lack of data size in your column).
Try the following:
1). In your excel sheet, highlight the whole sheet and make sure the cells are in 'text' form and try re-importing
2). save the document as ms dos TEXT and import as a text document.
3). double check your columns are correct for the data, for example if you have a column that has a string of 100 characters and your column is 'NvarChar(90)' - that might cause the error? Or just correct data type in your column
3). If that doesn't work and you're inserting into a new table, try importing it as string first and writing a query to insert columns that should be float/integer or whatever. You may want to convert float texts to a 'bigint' first rather than string
> float as that can cause problems if I remember correctly. -
Possible to Import a Chart from Excel?
I beleive you can import a chart to XCelsius from Excel but can you do so to Crystal Reports?
This would solve my current chart problems.Hi Philky,
Try the following to insert charts into your CR.
Go in Insertu2014OLE Objectu2014and select Microsoft Excel 97-2003 Wookbooku2014It will open a excel sheet. You can open your chart and insert as OLE Object.
Or
You create a chart in excel and copy the chart and past in your Crystal Report. If you double click on your chart it will take you to excel sheet again.
Thanks,
Sastry -
Upload Sales order item from excel to SAP in VA01 thru frontend
Hi,
I am a front end user.
SAP version 710.
we enter sales order thru frontend in VA01 in SAP. The data is stored in excel.
Currently the following is performed.
Open VA01. In transaction entry screen ,
Copy from Excel & Paste In SAP the following
SAPID of the Customer
PO No.
PO Date
Then copy and paste the line items from excel block by block i.e. depending on no. of line items seen in SAP per screen, copy that many lines from excel and Paste in SAP.
Then select next block and
SAVE the order.
In excel there are many orders of different customers.
I know litte bit of VBA.
Can this be automated somehow.
Pl. help.
ThanksHi Suhas,
to automate the work in the SAP, it requires e.g. SAP GUI Scripting.
1. Please check whether your client is allowed to SAP GUI Scripting. (ALT / F12 -> Options -> Scripting -> Enable Scripting)
2. There should be only an indicator for Enable Scripting.
3.The other two indicators by Notify When ... should be inactive.
4.You would then be able to record a SAP GUI script. (ALT / F12 -> Script Recording and Playback... -> red dot)
5.Please record all that to what you have to do it manually for first record in Excel.
6.Stop recording (record and playback -> yellow dot)
7.Please then present the results here in the forum for your script.
8.Present us also your Excel sheet with some rows.
Unfortunately I have no access to the VA01 transaction. But you can already read a lot in advance on the following link.:
Re: Transferring data from Excel to SAP
Regards,
ScriptMan -
DSUM equivalent required for 3 condition eq' (just converted from Excel)
Hi, I have just imported a basic accounting spreadsheet from Excel and wish to see if iWork 08 Numbers is up to the task! My issue is that my DSUM calcs for creating the basis for VAT returns is not recognised in Numbers - Can anyone assist with an alternative?
Column A Column B Column C
{date range} {expense category range} {expense amount}
In Excel I used to be able to extract the expenses for a given category between 2 dates using something like this in function DSUM (date range >= Col A, expense category exists in Col B, date <= Col A, resultant expense amount from Col C)
I have tried constructing SUMPRODUCT equations instead to no avail.
In summary I need to return the sum of the expenses in Col C that meet 3 conditions within date range conditions 1 & 2 and meeting expense category condition 3.
Any advice greatly appreciated - I can revert back to Excel, but would prefer the much more economical deployment of numbers, it's basic but provided I can overcome this hurdle, adequate for my needs.
Thanks for reading,
RossRoss,
Excel seems to have a function to fit every concievalbe situation but this is certainly not true of Numbers. Your problem can be handled, but it's certainly not as slick as DSUM in Excel.
First of all, an auxiliary column may be added to your table which identifies those rows which meet the three conditions you list (plus eliminates blank situations). Actually, since this is an auxiliary column which may be hidden, I should think that you could eliminate the first part of the the formula where blanks are weeded out if you're willing to live with red and blue triangles.
"In Range":
=IF(OR(ISBLANK(Date),ISBLANK(Table 2::A$2),ISBLANK(Table 2::B$2)),"",IF(AND(Date>=Table 2::A$2,Date<=Table 2::B$2,Category<>""),"yes",""))
Then in the "Range Sum" column of the the second table,
=SUMIF(Table 1 :: In Range,“yes”,Table 1 :: D)
Note that this sum also includes a zero for Oct 8 where no amount was entered, If this is an error that must noted, Table 1 will have to be modified to flag the error.
pw -
3D Pie chart from Excel to labview
Hi every one,
How can I Import a 3D pie chart from Excel to labview ?
ThxThere is no direct import mechanism for that. You would need to re-create the pie chart in LabVIEW, as LabVIEW has different 3D graphs than Excel. You would need to get the data out of Excel and use the 3D graphs to draw it. As for getting the data out of Excel, there have been numerous posts on reading data from Excel using ActiveX - just search for "read excel labview". You can also find many links to lots of other examples in the Excel thread. Please note: the Excel thread is a repository of links. Do not post a question in that thread.
-
Is any standard transaction to upload data from excel to a z table?
i mean, to avoid to make a zreport using gui_upload fm and then make the insert into the ztable?hi.....
upload the excel file in your internal table and then use BDC to updated the database table.
FM's to upload Excel:
GUI_UPLOAD
KCD_EXCEL_OLE_TO_INT_CONVERT
ALSM_EXCEL_TO_INTERNALTABLE
refer to the link:
http://diocio.wordpress.com/2007/02/12/sap-upload-excel-document-into-internal-table-2/
http://www.sap-img.com/abap/learning-bdc-programming.htm
thanks
nikita -
Error from Microsoft Visual C++ while importing a Journal Voucher
Hi Experts:
We are requesting your Help because we getting the following error from Microsoft Visual C++ Runtime Library while importing a Journal Voucher throught DTW:
Runtime Error!
Program: This application has requested the Runtime to terminate it in an unusual way. Please contact the application support team for more information
We are working with SAP Busines One 8.8 SP00 PL18
Thanks Very Much in advanced
ClaudiaHi Claudia,
Your question belongs to SAP Add-on forum.
Based on the error message, you may have to log a support message.
Thanks,
Gordon
Maybe you are looking for
-
DDIC Password fails in middle of Solution Manager Installation
I'm performing a new install of Solution Manager 7.0 (4.0) on HPUX IA64 11.23. This is a brand new Landscape. The installation has halted at phase 29/47 "Check DDIC password", and reports the error: Test login to SAP System SMA failed. SOLUTION:
-
Agent message code 20084. The process could not connect to Distributor
Hello all We are using Sql server 2012 I am getting the following error message while running a replication subscriber side server(server02): Agent message code 20084. The process could not connect to Distributor (server01) Both Publisher and Dist
-
OK, So my itunes use to work fine until yesterday when I went to open it. It wont start and I tried many different things. Unistalled, re-installed, removed everything apple related (one of the apple support articles told me to try that) and that did
-
I am now starting to get a "certificate error" signal when logging into my comcast email account. How can this be fixed ? This just started last week.
-
Is 3d max rendering possible in macbook pro md102