Dates Imported Are Backwards
I imported a home movie and was getting ready to burn it but the dates are backwards so if you watch the DVD, it starts from the last day and ends up with the first day.
Is there an easy way to reverse this?
be careful in the order that's imported. that's it.
Similar Messages
-
I somehow erased everything (all important dates) off my ical on my mac and I'm afraid that if I connect my iphone that it will do the same there. Will my iphone sync the dates that are on the phone and add them to the ical? Or will it delete everything
Contacts are designed to be synced to a supported application on the computer or a cloud service.
Pictures taken with the device are designed to regularly be copied off the device to a computer as would be done with any digital camera.
If you have failed to use the device as designed it may be too late to recovery anything.
Is the device regularly backed up to a computer via iTunes? If so, the most recent backup (when restored to a replacement iOS device) should contain all contacts and pictures as of when the backup was created. -
My imports are not showing up in Photos or Events
My imports are not showing up in Photos or Events. The only place I can see them is in the "Last Import" folder. When I try to re-import them it pops up the Duplicate warning which means they are in the library but not showing up. Any ideas?
If they are in last import then they should be there - check the date on one of the photos in last import and look for that date in your library - last import, photos and events are simply different ways of viewing the same photos - if they are there in one view they are there in all views - somewhere
Select a pic in Last Import and Right-Click on it. Choose 'Show Event' from the menu. This will bring you to the Event containing the photo.
If the photo is in Last Import, then the photo is in the Library somewhere, just not where you expect it to be. Usual causes: the date on your camera is wrong, and so the date on the photo is wrong, or the sorting of the Events has changed (View Menu -> Sort Events)
LN -
Data Import error - Valuation Method (ODBC -1029)
Hello all, first post on the SCN. I did some search for similar problems, but nothing seemed to help here.
We are using Business One, two different companies and databases. We were at the time of the year to update the price list, so we used the Administration -> Data Import/Export -> Data Import -> Import from Excel.
One company (US only) imports perfectly, but the other database (Canada + US) gives me the following error message on 91 / 1036 entries.
Row Number xxx : [Items - Valuation Method] , 'Field cannot be updated (ODBC -1029)
Since the errors only appears on one of the two databases, I ruled out that the excel sheet we used to be the problem.
The excel sheet only has 4 columns : The item identification, the price list that it needs to update, the price, and the currency (USD or $ for us).
Neither of the two companies use any valuation method. In fact, neither companies have the field at all in Item Master Data, and its grayed out in the Company Details.
We also made a dump of the entire item database, and compared what items were imported successfully and those that generated the error, and while the column Valuation Method either had nothing or A, there was no pattern to it. Some errors had nothing, some had A in it.
I checked for any other differences between items that were imported and the ones with error, and cannot see any visible differences, so all I can think here is that its either an invisible setting when the item was created, or there's some character that is creating a fault somewhere (like an empty space).
One of the topics found on this error message (ODBC -1029) said that we might need to request a script to fix the database, but that topic was back in 2006, I'm not sure if it still applies, 8 years later.
Essentially I ran out of things to try on my end. Now I can only ask to the experts.
Thank you for your time!The company that has troubles importing does not allow us to change the Valuation Method for each item. The field is missing entirely from the Item Master Data. I included a screenshot.
The field is grayed out in the Company Details, but its set as Moving Average. The other company uses Moving Average by default as well, from the looks of it (the field does appear in Item Master Data, but its grayed out).
We used the same excel sheet to import data in both companies, just need to figure out why its 100% on one side and not on the other side.
Just to be a bit more clear, we cannot select or visualize the Valuation Method on the items that are not getting imported. Its invisible.
When we exported the full list of items, there was no pattern between the items that are not imported and those that are imported properly.
To be clear, the Valuation Method for :
Items that are imported properly are A or blank.
Items that are not imported and generate an error are A or blank.
There is no logic between those that work and those that do not, which is why I can't figure it out on my own.
Thank you! -
Use of ODI in Data Import scenario
Hi,
We are contemplating to use ODI for a Data Import scenario. The flow goes something like this:
1.A user specified flat file or xml with a mapping between the file columns and base table columns serves as the input.
(Note that the file column names could be anything and that is why we use mapping).
2. This file data is stored in a stager table and certain validations are run on this data.
3. This data is then imported into the base tables.
I assume we cannot use ODI for step 1 as the file columns are not fixed and can vary. We need to programmatically interpret the data from the mappings. (Is there a way to do this in ODI?).
If we use ODI for step 3 to import data from stager to base tables:
- If we have a million records to be imported, then how performant is ODI? Do we need to invoke ODI in batches of (a few thousands) to improve performance?
- Thanks in Advance,
RaghuHi Jont,
Thanks for your reply..
Here is an example of the mapping that we use:
Flat File columns:
AccName
AccLoc
Mapping (Specified by the user at run time):
AccName -->(Maps to) Account.Name
AccLoc --> (Maps to) Account.Location
The user would map the file columns to the final target entity fields (like Account.Name) as above.
Since, we have to store this data in a intermediate staging table, we would have a mapping internally (which is fixed), like
Account.Name -->(maps to) AccStager.Name
Account.Location -->(Maps to) AccStager.Location
where AccStager.Name is the staging table field name.
Thus, by using these two sets of mapping, we store the file data into staging table.
Hope this is clear...
Thanks,
Raghuveer -
Data import for users of forms created with Livecycle Designer
Hello,
I have seen several posts regarding data import for forms created by Livecycle Designer but nothing that helps with something I am trying to accomplish. I can create a data connection and import information in a form but what I would like to do is import data, then send the pdf for completion to a user. There are a few data elements that I have available and the rest of the information comes from from the user. The problem I run into is once I create a data connection, the pdf is ALWAYS looking for the source file for that data. I simply want to prepopulate some fields and send to the various users for completion. Any help would be greatly appreciated.
Thanks!Which type of Data Connection are you trying to create?
XML Schema, Sample Data File or WSDL?
Creating any one of first two types(mentioned above) will only create schema and will never import any data into PDF.
If you create the WSDL connection, you can surely import data (i.e. prepopulate data) into your PDF and forward it for users review/fill.
If I misunderstood your question, please get me clarified.
Nith -
Reset sequence after data import
Hi all,
I've got a problem where we import data into a table with an auto-incremented field for a primary key. After the data import, I can drop the sequence, check the max(primary key), and re-create it to start at the max value + 1. My problem is that I need to do this for a large number of tables and don't know how to write a script to do it. In the Create Sequence command, whenever I try to use a variable in the "START WITH" clause, I get an error.
Thanks in advance,
RaymondSpool sequence creation scipt result in a file and then run it.
Or use dynamic sql.
Or You can "drive" sequence forward issuing select myseq.nextval from dual; apropriate times. If You need "drive" sequence backwards alter it with increment -1, issue select myseq.nextval from dual; apropriate times and alter it with previous increment. -
Data Import Wizard from Excel on DATE column
I have exported data to a csv in Oracle SQL Developer and one of the columns are of an Oracle Date datatype. In opening up Excel I see the Date column represented as 15-MAY-01 12.00.00.000000000 AM.
I am now going through the Data Import Wizard to create a new table and import the data. When I get to Step 3 of 4 it reads the data and assigns it a VARCHAR2. I want the column to be Date or Timestamp. In this case I choose timestamp and for format entered DD-MON-YY hh.mi.ss.fffffffff AM.
When I go to Step 4 of 4 to and click the Verify button I get:
"Verifying if the Date columns have date formats" Date columns DOT_LOGN_EFDT, have invalid or null date formats.
I am using Oracle SQL Developer 2.1.0.63 Build 63.73.
Any idea what I put in the format window to read the excel value of 15-MAY-01 12.00.00.000000000 AM correctly?I am not able to reproduce your problem. When I export a date column, I do not get the time portion. This is the expected behavior. When re-importing the date, I therefore have no problem. I have tried manipulating the tools->preferences->database->nls->date format mask to include the time (and fractional seconds), but export still only exports the date portion. The fractional seconds is not valid for a date field, which explains the import error you are getting. The question remains as to why the exported data has the time. Can you describe your exact steps for doing the export?
-
Whenever I import an album off of iTunes, the songs are uploaded into my library in the reverse order, therefore when I burn it into a disc, all the songs are backwards! It irritates me and I was wondering if there was any way to change/fix this without having to move around the song manually myself. Thank you!
Welcome to the forums flandrea
What is the Sort order of your Library? How do you import a CD - all at once? If you sort by Album, do they change to the correct order?
On the other hand, if you are looking at the Recently Added playlist after you import, then they WILL be in reverse order, but in the main Library they should be in the correct order, and when you create a Burn playlist. -
Error Message in Data IMport from Excel
Hi All
Please can you help - I am trying to import some BP data using the option in the menu Administration - Data Import/Export - Data Import from Excel.
I have created my import file as a text file and provided the relevant mappings. Having located my text file, I then get the following error message:
Row Number 1:Internal error (-2007) occurred.
Has anyone got any ideas as to what this means I've done wrong?
ThanksDear,
Kindly refer to note 1296487 below:
Symptom
In attempt to import a Business Partner from an Excel file to SAP
Business One, the following error messages are displayed and the
Business Partner is not imported:
o When there are no House Banks in the company, the following error
messages are displayed:
Row Number 1: Internal error 'House Bank Accounts' occurred,
and,0 Records imported successfully.
o When there are no Payment Methods in the company, the following
error messages are displayed:
Internal error 'Payment Methods for Payment Wizard' (OPYM)
(-2007) occurred, and, 0 Records imported successfully.
o When Payment Methods and House Bank are defined in the company,
the following error messages are displayed:
Row Number 1: Internal error (-2007) occurred, and,
0 Records imported successfully.
Other terms
DB, export, BP
Reason and Prerequisites
Application error
Solution
SAP intends to provide patches in order to solve described problem.
The section Reference to related Notes below will list the specific
Patches when available.
The corresponding Info file of Patches on SAP Service Marketplace will
show the correction / SAP Note number also.
Be aware that these references can only be set at Patch release date.
SAP will deliver Patches only for selected Releases at its own
discretion, based on the business impact and the complexity of the
implementation.
If it is your case, We would like to inform you that we plan to fix the problem you raised,
in patch 05 for SAP Business One 2007 A FP01 / SP01 Release.
For SAP Business One Patch Delivery Schedule please look at:
http://service.sap.com/smb/sbo/patches
Best regards,
Apple -
Data Import from Excel - Users Logged on
Hello all,
I am new the forums and am learning SAP from a user and administrator perspective so please excuse if some of my questions seem obvious. I appreciate everyone's help very help
I have the task of setting up two new company profiles in addition to our current one.
I am at the stage of importing Item Master and Business Partner data.
1) What is the preferred method? DTW vs. Import from Excel? Is one more suitable then the other for this purpose?
2) The help file for importing via excel states "If SAP Business One is running on a network, you have ensured that other users will be logged off the system during the import." Could someone please explain:
- What are the risks of running DTW or imports while users are logged in?
- If users are logged into the live version of our company but I am testing DTW/excel imports from a TEST copy of that company are there still risks or is this okay?
- If users are logged into one database but I am performing data imports on a different company database (for example I would be the only one logged into the companies currently being set up - is this okay even though users are logged into SAP server but accessing a different company?)
Thanks very much!
RichardHi Kiwi,
Referring to the Rules of enagement you have to post one thread per question. Please adhere to the rules from your next post.
DTW is the very much Preferred method you have simulation to see if you record are find to be imported before importing to the DB, using DTW Import from Excel will only help importing BP and Item master data. If you have to make any updates then it will be a task again. In DTW you can save the template and keep adding data and changes can be updated from the template and re-imported
Please refer to the link below to "Differences between the Import From Excel and Data Transfer Workbench templates" the screen shots for DTW are from version before 2007A SP01 PL09.
[http://wiki.sdn.sap.com/wiki/display/B1/DifferencesbetweentheImportFromExcelandDataTransferWorkbenchtemplatesandwhathappenswhentheyare+interchanged.]
1. When users are logged on It can cause some inconsistency, ensure no user is logged on the live DB before performing any major DTW import
2. It will be ok if you are Test importing data to test DB on the same SQL server.
Regards,
Rakesh N -
Data Import from Excel for Items
I have used the data import for items, in the past , to import the prices for existing item. I am using this for the first time in SAP version 9.0. There are new fields due to the additional currencies. In an running a test with two items and two price list codes, code 1 and code 10. When I run the import gets stuck in a loop and keeps giving me errors on line 1 with invalid price code.
I want to import two price lists Price List 1 and Price List 10. For example I want price list 1 to be $10.00 and price lit 10 to be $5.00
In the import from excel I have the following fields
A Item Number
B Price List Code
C Unit Price - Primary Currency
D Primary Currency
E Unit Price - Additional Currency 1
F Additional Currency 1
G Unit Price - Additional Currency 2
H Additional Currency 2
I UoM Code
J Price List Code
K Unit Price - Primary Currency
L Primary Currency
M Unit Price - Additional Currency 1
N Additional Currency 1
O Unit Price - Additional Currency 2
P Additional Currency 2
Q UoM Code
I am using the following columns
A item number
B 1
C 10.00
J 10
K 5.00
This is the way I use this function in SAP versions 2007 and 8.8
Any suggestions
DennisHi Gordon,
I tried what you suggested, but does not work. I tried with two items, when I run the import SAP gets stuck in a loop displaying error lines. The only way to stop is to restrt SAP.
I attched a screen shot of the error -
CJ20N - project structure and data import
Hello dear SAP specialists,
Does anybody ever created a ABAP program to import project structure and populate it with data?
I'm trying to start with something or get a working program to import some projects with data.
Actually the program should use BAPI_PROJECT_MAINTAIN to create WBS and GUI_UPLOAD to read a text (cvs) file (LSMW can not be used:)
Sincerely,
MeHi,
Exactly!
See you have so many tables in that BAPI, now all the data you have in your flat file you have to map to these tables.
Below is a code...similarly you'll have to do
TYPE-POOLS: truxs.
* T Y P E S
TYPES: BEGIN OF t_master_data,
MATERIAL Type MATNR ,
IND_SECTOR Type MBRSH ,
MATL_TYPE Type MTART ,
PLANT Type WERKS ,
STGE_LOC Type LGORT_D ,
MATL_DESC Type MAKTX ,
BASE_UOM Type MEINS ,
MATL_GROUP Type MATKL ,
DIVISION Type SPART ,
ITEM_CAT Type MTPOS_MARA ,
GROSS_WT Type BRGEW ,
UNIT_OF_WT Type GEWEI ,
NET_WEIGHT Type NTGEW ,
VOLUME Type VOLUM ,
SIZE_DIM Type GROES ,
BASIC_MATL Type WRKST ,
DOCUMENT Type DZEINR ,
DOC_VERS Type DZEIVR ,
PO_UNIT Type BSTME ,
PUR_GROUP Type EKGRP ,
AUTO_P_ORD Type KAUTB ,
"BATCH_MGMT Type XCHPF ,
PUR_VALKEY Type EKWSL ,
"GR_PR_TIME Type WEBAZ ,
COMM_CODE Type STAWN ,
COUNTRYORI Type HERKL ,
MRP_TYPE Type DISMM ,
REORDER_PT Type MINBE ,
MRP_CTRLER Type DISPO ,
LOTSIZEKEY Type DISLS ,
MINLOTSIZE Type BSTMI ,
MAXLOTSIZE Type BSTMA ,
FIXED_LOT Type BSTFE ,
MAX_STOCK Type MABST ,
ROUND_VAL Type BSTRF ,
PROC_TYPE Type BESKZ ,
SPPROCTYPE Type SOBSL ,
ISS_ST_LOC Type LGPRO ,
SLOC_EXPRC Type LGFSB ,
PLND_DELRY Type PLIFZ ,
GR_PR_TIME Type WEBAZ ,
SM_KEY Type FHORI ,
SAFETY_STK Type EISBE ,
PLNG_PLANT Type PRWRK ,
AVAILCHECK Type MTVFP ,
DEP_REQ_ID Type SBDKZ ,
ISSUE_UNIT Type AUSME ,
STGE_BIN Type LGPBE ,
BATCH_MGMT Type XCHPF ,
STGEPERIOD Type MAXLZ ,
STGE_PD_UN Type LZEIH ,
MINREMLIFE Type MHDRZ ,
SHELF_LIFE Type MHDHB ,
PERIOD_IND_EXPIRATION_DATE Type DATTP ,
ROUND_UP_RULE_EXPIRATION_DATE Type RDMHD ,
STOR_PCT Type MHDLP ,
QM_AUTHGRP Type QMATAUTH ,
QM_PROCMNT Type QMPUR ,
CTRL_KEY Type SSQSS ,
* Type ART ,
* Type AKTIV ,
VAL_CAT Type BWTTY_D ,
VAL_CLASS Type BKLAS ,
PRICE_CTRL Type VPRSV ,
* NEW ADDITION
STD_PRICE Type STPRS,
PRICE_UNIT Type PEINH ,
MOVING_PR Type VERPR ,
QTY_STRUCT Type CK_EKALREL ,
ORIG_GROUP Type HRKFT ,
ORIG_MAT Type HKMAT ,
VARIANCE_KEY Type AWSLS ,
PROFIT_CTR Type PRCTR ,
LANGU Type SPRAS,
END OF t_master_data.
* I N T E R N A L T A B L E S
DATA:
* Internal table of type t_master_data
ist_master_data TYPE TABLE OF t_master_data,
* Internal table of type BAPIMATHEAD
ist_headdata TYPE TABLE OF BAPIMATHEAD,
* Internal table of type BAPI_MAKT
ist_mat_desc TYPE TABLE OF BAPI_MAKT,
* Internal table of type BAPI_MAKT
ist_uom TYPE TABLE OF BAPI_MARM,
* Internal table of type BAPI_MAKTX
ist_uom_x TYPE TABLE OF BAPI_MARMX.
* G L O B A L V A R I A B L E S
DATA:
it_num TYPE num10,
* Global variable of type truxs_t_text_data
it_raw TYPE truxs_t_text_data.
* W O R K A R E A S
DATA:
* Work area of type t_master_data
wa_master_data TYPE t_master_data,
* Work area of type bapimathead
wa_bapimathead TYPE BAPIMATHEAD,
* Work area of type bapi_mara
wa_client_data TYPE BAPI_MARA,
* Work area of type bapi_marax
wa_client_data_x TYPE BAPI_MARAX,
* Work area of type bapi_marc
wa_plant_data TYPE BAPI_MARC,
* Work area of type bapi_marcx
wa_plant_data_x TYPE BAPI_MARCX,
* Work area of type bapi_mard
wa_storage_location_data TYPE BAPI_MARD,
* Work area of type bapi_mardx
wa_storage_location_data_x TYPE BAPI_MARDX,
* Work area of type bapi_mbew
wa_valuation_data TYPE BAPI_MBEW,
* Work area of type bapi_mbewx
wa_valuation_data_x TYPE BAPI_MBEWX,
* Work area of type bapi_mard
wa_mat_desc TYPE BAPI_MAKT,
* Work area of type bapi_marm
wa_uom TYPE BAPI_MARM,
* Work area of type bapi_marmx
wa_uom_x TYPE BAPI_MARMX,
* Work area of type mbapi_mpgd
wa_planning_data TYPE BAPI_MPGD,
* Work area of type mbapi_mpgdx
wa_planning_data_x TYPE BAPI_MPGDX,
* Work area of type mbapi_mpgd
wa_return TYPE BAPIRET2.
* P A R A M E T E R S
PARAMETERS:
* Parameter of type rlgrap-filename
p_file TYPE rlgrap-filename.
* A T S E L E C T I O N S C R E E N
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
* S T A R T - O F - S E L E C T I O N.
START-OF-SELECTION.
* To upload data from flat file
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_line_header = 'X'
i_tab_raw_data = it_raw " WORK TABLE
i_filename = p_file
TABLES
i_tab_converted_data = ist_master_data[] "ACTUAL DATA
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc = 0.
LOOP AT ist_master_data INTO wa_master_data.
it_num = wa_master_data-PROFIT_CTR.
wa_master_data-PROFIT_CTR = it_num.
MOVE-CORRESPONDING wa_master_data to wa_bapimathead.
MOVE-CORRESPONDING wa_master_data to wa_client_data.
wa_client_data_x-MATL_GROUP = 'X'.
wa_client_data_x-BASE_UOM = 'X'.
wa_client_data_x-PO_UNIT = 'X'.
wa_client_data_x-DOCUMENT = 'X'.
wa_client_data_x-SIZE_DIM = 'X'.
wa_client_data_x-BASIC_MATL = 'X'.
wa_client_data_x-PUR_VALKEY = 'X'.
wa_client_data_x-NET_WEIGHT = 'X'.
wa_client_data_x-UNIT_OF_WT = 'X'.
wa_client_data_x-DIVISION = 'X'.
wa_client_data_x-BATCH_MGMT = 'X'.
wa_client_data_x-QM_PROCMNT = 'X'.
wa_client_data_x-MINREMLIFE = 'X'.
wa_client_data_x-SHELF_LIFE = 'X'.
wa_client_data_x-STOR_PCT = 'X'.
wa_client_data_x-ROUND_UP_RULE_EXPIRATION_DATE = 'X'.
wa_client_data_x-PERIOD_IND_EXPIRATION_DATE = 'X'.
wa_client_data_x-ITEM_CAT = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_plant_data.
wa_plant_data_x-PLANT = wa_master_data-plant.
wa_plant_data_x-PUR_GROUP = 'X'.
wa_plant_data_x-ISSUE_UNIT = 'X'.
wa_plant_data_x-MRP_TYPE = 'X'.
wa_plant_data_x-MRP_CTRLER = 'X'.
wa_plant_data_x-PLND_DELRY = 'X'.
wa_plant_data_x-GR_PR_TIME = 'X'.
wa_plant_data_x-LOTSIZEKEY = 'X'.
wa_plant_data_x-PROC_TYPE = 'X'.
wa_plant_data_x-SPPROCTYPE = 'X'.
wa_plant_data_x-SAFETY_STK = 'X'.
wa_plant_data_x-MINLOTSIZE = 'X'.
wa_plant_data_x-MAXLOTSIZE = 'X'.
wa_plant_data_x-FIXED_LOT = 'X'.
wa_plant_data_x-ROUND_VAL = 'X'.
wa_plant_data_x-MAX_STOCK = 'X'.
wa_plant_data_x-DEP_REQ_ID = 'X'.
wa_plant_data_x-SM_KEY = 'X'.
wa_plant_data_x-STGEPERIOD = 'X'.
wa_plant_data_x-STGE_PD_UN = 'X'.
wa_plant_data_x-CTRL_KEY = 'X'.
wa_plant_data_x-BATCH_MGMT = 'X'.
wa_plant_data_x-AVAILCHECK = 'X'.
wa_plant_data_x-AUTO_P_ORD = 'X'.
wa_plant_data_x-COMM_CODE = 'X'.
wa_plant_data_x-COUNTRYORI = 'X'.
wa_plant_data_x-PROFIT_CTR = 'X'.
wa_plant_data_x-ISS_ST_LOC = 'X'.
wa_plant_data_x-VARIANCE_KEY = 'X'.
wa_plant_data_x-SLOC_EXPRC = 'X'.
wa_plant_data_x-QM_AUTHGRP = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_planning_data.
wa_planning_data_x-PLANT = wa_master_data-plant.
wa_planning_data_x-PLNG_PLANT = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_storage_location_data.
wa_storage_location_data_X-PLANT = wa_master_data-plant.
wa_storage_location_data_X-STGE_LOC = wa_master_data-stge_loc.
wa_storage_location_data_X-STGE_BIN = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_valuation_data.
wa_valuation_data-VAL_AREA = '1000'.
wa_valuation_data_X-VAL_AREA = '1000'.
wa_valuation_data_X-PRICE_CTRL = 'X'.
wa_valuation_data_X-MOVING_PR = 'X'.
wa_valuation_data_X-PRICE_UNIT = 'X'.
wa_valuation_data_X-STD_PRICE = 'X'.
wa_valuation_data_X-VAL_CLASS = 'X'.
wa_valuation_data_X-ORIG_GROUP = 'X'.
wa_valuation_data_X-QTY_STRUCT = 'X'.
wa_valuation_data_X-ORIG_MAT = 'X'.
MOVE-CORRESPONDING wa_master_data to wa_mat_desc.
APPEND wa_mat_desc to ist_mat_desc.
IF wa_master_data-PRICE_CTRL = 'S' AND wa_master_data-STD_PRICE IS INITIAL.
WRITE:/ 'Standard Price not maintained for material ',wa_master_data-MATERIAL.
ELSE.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = wa_bapimathead
CLIENTDATA = wa_client_data
CLIENTDATAX = wa_client_data_x
PLANTDATA = wa_plant_data
PLANTDATAX = wa_plant_data_X
PLANNINGDATA = wa_planning_data
PLANNINGDATAX = wa_planning_data_x
STORAGELOCATIONDATA = wa_storage_location_data
STORAGELOCATIONDATAX = wa_storage_location_data_x
VALUATIONDATA = wa_valuation_data
VALUATIONDATAX = wa_valuation_data_x
IMPORTING
RETURN = wa_return
TABLES
MATERIALDESCRIPTION = ist_mat_desc.
Write:/ wa_return-message.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Clear: wa_bapimathead
,wa_client_data
,wa_client_data_x
,wa_plant_data
,wa_plant_data_X
,wa_planning_data
,wa_planning_data_x
,wa_storage_location_data
,wa_storage_location_data_x
,wa_valuation_data
,wa_valuation_data_x.
ENDIF.
REFRESH ist_mat_desc.
ENDLOOP.
ELSE.
Write:/ text-001.
ENDIF.
In the above code note how i have taken the same names for the fields in internal table as they are in the BAPI so that the mapping of data becomes easier, since i use MOVE CORRESPONDING.
Regards,
Shraddha
Edited by: shraddha85 on Jan 31, 2011 9:49 AM -
Help with data imports and identifying correct contact
Hi Guys,
I am looking to import some data from a csv into a table called 'interactions'
This table is linked to contact via a 1-to-many relationship.
when I am importing data often I get errors saying that it cant determine which contact to use because we have contacts with the same name.
Is there anyway I can import data into the 'interaction' table and not only say which contact this is attached to but also provide some more information such as the contacts parent account so that it can identify the correct contact more often and leave
me less that I need to add manually?
Many thanks in advanceThe data import wizard is built into CRM. You can now place csv files of different entities into a single zipped file to do a sort of pseudo batch import.
It may be helpful to download a template of the import file for the entity that you want to import. This can be downloaded within CRM. The benefit is that you are given the column headings. And when you hover over a column heading, it tells
you the data type it will expect. I will use the template and just copy and paste the data in from another spreadsheet if I get the data from a user. The import runs smoother then.
If you have the resources, there are 3rd party tools such as Scribe that can import data from different sources into CRM. A bit costly but you can get a trial version to test. The trial may only be good for 2 weeks. But it offers the ability
to transform data if necessary for the import.
Jason Peterson -
Has anyone had issues with Administration\Data Import/Export\Data Import???
I have a client who has recently upgraded from V2007 to V8.81. They were succesfuly using this standard function to import supplier prices to their master price list, but now it has failed?
I have looked at the file they are importing and it appears to be fine.
On closer inspection, it did contain approx 46,000 entries, so I took the first 1,000 and created a test file, which imported fine.
The only issue I found was Speed, with the test file of 1,000 records taking about 30 Mins to import. This appeared to get slower and slower the further through the file it got!
Based on this, I have estimated that the whole file would takle about 13 hours to import. The client say that when they used to run it on version 2007 it was far quicker?
In practice, it does appear to run, but the speed is the issue. Having said this, I set the whole file to run last night (over night)and this morning it had appeared to hang after about 2,307 rows, with nothing else being updated.
Has anyone any ideas or is aware of performance issues like this?
Thanks,
IanAlways an option, but would you give your clients access to this tool?
Not sure really.
I have uploaded a copy of their database onto my test system and run the same routine. Its equally as SLOW
I can't gauage if its an issue with 8.81 that 2007 didn't have, as I only have the client's word on it, however I have no reason to disbelieve them.
Kind regards,
Ian
Maybe you are looking for
-
Vista can not detect my graphic card ATI HD2600 on Satellite A210-128
Hallo, Can someone help me with this issue? I have a Toshiba Satellite A210-128 laptop with vista separately on DVD, but it seems that the dvd is damaged and I can not use it any more. I have installed on my laptop a brand new Vista from the original
-
updating a photoshop/tif file in InDesign. I usually keep my photo images as RGB layered files and place them in InDesign . . . on m y final steps in Indesign I go to update my images in Photoshop - convert them to CMYK as well as any final touches n
-
How to convert time from (hh:mm:ss) to (hhmmss) in CSV file
Hi Experts, I have a CSV file where there is time column which displays time like hh:mm:ss But the input I should give for loading the data is hhmmss The amount of records that I have is more than 2 lakhs. I tried many ways to convert the time but I'
-
Firefox sync password reset 12?
I reset my password within sync and see a message "12". i tried that as my new password; no luck. what is the 12? == This happened == Just once or twice
-
Import songs including rates of songs
Hello I had to reinstall my PC. I restored all the music files. But when I import my music in iTunes with the command: File\folder to mediathek I get all my music back but the ratings of the songs are lost. How can I import my songs including the rat