Error log table for LSMW-Direct input
Can any one tell me , What is the table for storing the error messages in LSMW-Direct input?
Regards,
Nagesh
for LSMW-Direct input method you can use EXCUTE IN BACK GROUND. the job is running and see the job name in SM37 . after completion of your job , select you job name and press the SPOOL button there you can find the you job error log.
Similar Messages
-
How do i check the log for LSMW direct Input
Also When i run the LSMW program the LAST STEP has Start Direct Input
What all step do i need to select to make the program run Automatically
Now i tried doing that but had to press Enter key until the load was Over
Thankyou
Shhi,
use option extended log (e.g. in rfbibl00) and after run goto sm37 - Job-log
A. -
LSMW Direct Input Method - Change Documents
Hello experts,
Could anyone please tell me how to enable the change documents(not just runtime) for LSMW direct Input method? There is also one option "Change Documents" in the last step of the process, will this write into any table that I see the changes later If I run the last step with selected this option? If yes, What are the application (customer master data, vendor master data, material master data, etc) specific tables?
Is there anyway that I could populate this method changes into the CDHDR & CHPOS tables?
SAP documenation on this:
To enter the data into the *corresponding database tables directly*, the system calls a number of function modules that execute any necessary checks. In case of errors, the direct input technique provides a restart mechanism
http://help.sap.com/erp2005_ehp_04/helpdata/EN/fa/097174543b11d1898e0000e8322d00/content.htm
Since this tool writing data into database tables directly skips the CDHDR & CDPOS recording..
Is there any other possible way for the complete change logs (change pointers???)? ( Or only table logging?)
Please share your experience on this.
Thanks,
HimadamaNo response received..
-
Hi,
In Oracle 10g , maybe in older version too, there is the capability to create an error log table using the dbms_errlog package and create_error_log procedure...
For exaample:
exec dbms_errlog.create_error_log('EMP','EMP_ERROR')
How to find afterwards that the table EMP has a related table EMP_ERROR where errors during the inserts/updates on table EMP are registered...?????
Of course the column names in EMP_ERROR table are the same as in EMP .... but it's time consuming method to search like this way...!!!!!
SQL> exec dbms_errlog.create_error_log('EMP','EMP_ERROR');
PL/SQL procedure successfully completed
SQL> DESC EMP_ERROR;
Name Type Nullable Default Comments
ORA_ERR_NUMBER$ NUMBER Y
ORA_ERR_MESG$ VARCHAR2(2000) Y
ORA_ERR_ROWID$ UROWID(4000) Y
ORA_ERR_OPTYP$ VARCHAR2(2) Y
ORA_ERR_TAG$ VARCHAR2(2000) Y
EMPNO VARCHAR2(4000) Y
ENAME VARCHAR2(4000) Y
JOB VARCHAR2(4000) Y
MGR VARCHAR2(4000) Y
HIREDATE VARCHAR2(4000) Y
SAL VARCHAR2(4000) Y
COMM VARCHAR2(4000) Y
DEPTNO VARCHAR2(4000) Y
SQL> DESC EMP;
Name Type Nullable Default Comments
EMPNO NUMBER(4)
ENAME VARCHAR2(10) Y
JOB VARCHAR2(9) Y
MGR NUMBER(4) Y
HIREDATE DATE Y
SAL NUMBER(7,2) Y
COMM NUMBER(7,2) Y
DEPTNO NUMBER(2) Y Thanks...
Simexec dbms_errlog.create_error_log('EMP','EMP_ERROR')
How to find afterwards that the table EMP has a related table EMP_ERROR
System@Elic10> create table bla_bla (i int);
Table created.
System@Elic10> exec dbms_errlog.create_error_log('BLA_BLA', 'BLA_BLA_ERRS')
PL/SQL procedure successfully completed.
System@Elic10> select * from user_tab_comments where table_name = 'BLA_BLA_ERRS';
TABLE_NAME TABLE_TYPE COMMENTS
BLA_BLA_ERRS TABLE DML Error Logging table for "BLA_BLA" -
Hi All,
I m facing a problem in LSMW - direct input for XD01Transaction (Create Customer).
while testing the file from Application server using BATCH INPUT SESSION. At the end, my Session fails and it shows an error in the log "Function code cannot be selected" and under that line 1 more comment is there - "Transaction Error".
please help me in this issue.
Edited by: Rahul Gautam on Sep 17, 2008 1:53 PM
Edited by: Rahul Gautam on Sep 17, 2008 2:25 PMHi
I found the Solution
Thanks -
Net Price Calculation Error in LSMW(Direct Input)
Hi,
i am using LSMW-Direct Input method for Creating Purchase Order .i am facing Problem like Quantity Conversion error in Net Price Calculation.
Any one please help me out.
Regards,
Shobha HenryBest practice would be to use BAPI/ALE method instead of direct input but if you've already done with the mapping etc. try putting a break point in the generated LSMW program where the net price is calculated and transferred to SAP field and then run it to see in the debugger what's going on. I reckon its possibly a type compatibility error.
Hope this helps,
Cheers,
Sougata. -
LSMW --direct input for sales order
Hi frenz,
We are facing a problem in mapping the fields, sold-to-party and ship-to-party in structure BVBPAKOM.
I have already tried using partnerfunction(PARVW) and custno(KUNNR). Even then i got an error 'Specify ship-to-party or sold-to-party'. Can anyone help me regarding this problem.
Helpful answers will be rewarded with points and wishes.
---praveen.hi,
join this link dude
LSMW DIRECT INPUT FOR SALES ORDER
cheers,
sanjay. -
Hi
I am uploading BOM throuh LSMW direct input ..... in this procedure i have got an error at step 7 specify files
i have specify file then i try to sve that step sysytem has given below error... pls could any guide me this procedure.
Error message:
"No logical path has been specified"
Message no. /SAPDMC/LSMW_OBJ_060046
Regards
H GVD
Edited by: hemanth.gvd on Feb 11, 2012 1:19 PMDuring file assignment when it asks for logical path and logical file for ".conv" file to be saved on the server(Double click on .conv file name). Just enter a path name and file name ( eg: ZPATH and ZFILE) and hit enter if the path doesn't exist it will create one, same with logical file name.
Look at this [screen shot.|https://lh6.googleusercontent.com/-AoGzW-nBdNs/Tzafs1eEmuI/AAAAAAAAAAk/7OY27NE3ijA/s720/image001.png] -
Lsmw direct input method for ct04
Hello Friends,
Im using lsmw direct input method RCCTBI01 obj 0150 method 000 for creating characteristics value.
In lsmw im getting erro at "specify file" stage as "no logical path has been specified. I have come to conclusion tht i have to define some logical path in FILE transaction code but im not clear what needs to be done .
Pls let me know how to define logical file path for ct04 transaction.
Regards,
SunnyHi,
First choose or create a directory by selecting say TMP as the logical file path and then click the assignment of physical paths to logical paths.Double click your operating system eg. UNIX then specify the directory followed by a generic filename e.g. /tmp/<FILENAME>
Now click logical file name definition and create a new name, say ZCT04_FILE give the logical path as TMP and then specify the file name e.g. CT04.TXT and the format ASC.
The file will then be created as /tmp/CT04.TXT
Regards,
Darren -
Issue in LSMW(Direct Input) for FB01 with (RFBIBL00)
Hi All,
I am developing a LSMW-Direct input method for TCode-FB01 using program RFBIBL00.
I am using one file as input file. I have below fields in the file.
STYPE
BLART
BUKRS
BLDAT
BUDAT
MONAT
WAERS
KURSF
XBLNR
BKTXT
XMWST
NEWBS
NEWKO
NEWUM
WRBTR
KOSTL
PROJK
AUFNR
PRCTR
SEGMEN
MWSKZ
WMWST
ZFBDT
ZUONR
SGTXT
My Data is as below: (Single record) 1 - Header data, 2-Item data
1 SA 1123 01062009 01062009 6 USD Test1 Testing
2 40 100005 10 Test Test
2 50 100005 10 Test Test
After 'Converted data' step it is displaying 7 rows instead of 3 rows for BGR00, BBKPF, BBSEG.
Is there any condition(logic) i need to write to make it to 3 rows.
All the data displayed above is for single record.
Because of this issue i am not able to create document through FB01.
How to solve this issue!
Thanks,
Deep.you need to pass 2 strctures like below
1 is header and 1 is item
here INDENT is link between 2 files
in your case 1 record: BGR00,
1 record : BBKPF
2 records: BBSEG
its only 4 records, i think you file contains space for 3 more record you check that.
and also in the last step you have option for creating the batch input method, create BI and run in foreground ....
YFIC_HEADER Header
INDENT C(010) Identifier
BLDAT C(008) Document Date
BLART C(002) Document Type
BUKRS C(004) Company Code
BUDAT C(008) Posting Date
MONAT C(002) Posting Period
WAERS C(005) Currency
KURSF C(009) Exchange rate
BELNR C(010) Document Number
WWERT C(008) Translation Date
XBLNR C(016) Reference
BVORG C(016) Cross-co. code no.
BKTXT C(025) Document Header Text
PARGB C(004) Trading part.BA
XMWST C(001) Calculate Tax
LDGRP C(004) Ledger Group
YFIC_ITEM Item Data
INDENT C(010) Identifier
NEWBS C(002) Posting Key
NEWKO C(017) Account
NEWUM C(001) Special G/L ind.
NEWBW C(003) Transact. type
WRBTR C(015) Amount
MWSKZ C(002) Tax Code
XSKRL C(001) W/o cash disc.
KOSTL C(010) Cost Center
AUFNR C(012) Order
GSBER C(004) Business Area
PRCTR C(010) Profit Center
RASSC C(006) Trading Partner
FKBER C(004) Functional Area -
LSMW Direct Input for Roouting (CA01)
Hi,
I have a requirement for Routing .
I have to use Direct Input method for this Converstion.
How to do Routing ( CA01 ) in LSMW-Direct Input.
Thanks,
KumarHi
I found the Solution
Thanks -
LSMW direct input for creating a BOM
Hi all ,
I am trying to create a new BOM using LSMW (direct input method ) .
I have created a structure for the header, an other structure as its child for the item data .
Now , i got a doubt regarding specify files ......
Since i have only one text file , how i have to mention the sequence of the header and item data .....
since i dont have the sample data ....
or ( should i use two text files , though i use 2 text files i cant use these two in the specify files .since i can upload only one file )
pls let me know , i have lots of the other questions but i cant specify in this....
Pls guide me .....
Regards,
RajHi,
You need to define the two structure header and detail. Both files should have the key fields:
For example: Both file have Plant, Material Number, BOM Usage & Valid From.
Then BGR00 and BICSK should be mapped to BOM_HEADER and BICSP to BOM_DETAIL structure.
Then just do the mapping and should work.
Hope this helps.
Regards,
Bharati Singh -
Upload sales text for material master using LSMW direct input method
Hello Experts,
I was trying to upload sales text for a material master using LSMW direct input method.
I followed the following steps for the same
Tab dlimited Text file format
MATNR LONGTEXT LINE
MATERIAL1 LONGTEXT FOR MATERIAL MATERIAL1 1
Step1 -> Maintain object attributes
Object -> 0001
Method-> 0001
Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type -> D
Step2 -> Maintain Source Structure
Source structure -> LONG_TEXT Source structure for long text
Step 3-> Maintain souce file
Source Fields
ZLONG_TEXT Source structure for long text
MATNR C(018) MATNR
LTEXT C(132) LTEXT
Step 4-> Maintain structure relationship
Structure Relations
/SAPDMC/LTXTH Long Texts: Header <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTH .
/SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTL .
Step 5-> Maintain Field mapping and conversion rules
Here i have assigned constan rules to couple of them like
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME Name
Source: ZLONG_TEXT-MATNR (MATNR)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
ID Text ID
Rule : Constant
Code: /SAPDMC/LTXTH-ID = '0001'.
SPRAS Language Key
Rule : Constant
Code: /SAPDMC/LTXTH-SPRAS = 'E'.
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
TEXTLINE Text Line
Source: ZLONG_TEXT-LTEXT (LTEXT)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
Step6 -> Specify file
Legacy Data On the PC (Frontend)
Data D:\Sales_Longtext.txt
Step7 -> Assign File
ZLONG_TEXT Source structure for long text
Data D:\Sales_Longtext.txt
Step8 -> Read data
Output result
Source Structure Read Written Not Written
ZLONG_TEXT 1 1 0
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 1
Step 8 -> Display read data
Field Name Field Text Field Value
MATNR MATNR MATERIA1
LTEXT LTEXT SALES TEXT FOR Material MATERIAL1
Step 9 -> Convert data
File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
Step 10 -> Display converted data
1 /SAPDMC/LTXTH 1MVKE MATERIAL1 0001E
2 /SAPDMC/LTXTL 2/ SALES TEXT FOR Material MATERIAL1
Step 11 -> Start direct input program
Output result for the same
Legacy System Migration Workbench
Project: ZNRD_PRJ1 ORH
Subproject: ZNRD_SUBPRJ2 Upload long text
Object: ZNRD_LTEXT Long text tru direct input
File : ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Now when i check the material master sales view -> sales text it is empty.
Please help me with the same.
Regards,
Ranjith NHello Experts, I was trying to upload sales text for a material master using LSMW direct input method.
I followed the following steps for the same
Tab dlimited Text file format
MATNR LONGTEXT LINE
MATERIAL1 LONGTEXT FOR MATERIAL MATERIAL1 1 *************************************************************************************************************
Step1 -> Maintain object attributes
Object -> 0001
Method-> 0001
Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type -> D
Step2 -> Maintain Source Structure
Source structure -> LONG_TEXT Source structure for long text
Step 3-> Maintain souce file Source Fields
ZLONG_TEXT Source structure for long text
MATNR C(018) MATNR
LTEXT C(132) LTEXT
Step 4-> Maintain structure relationship
Structure Relations
/SAPDMC/LTXTH Long Texts: Header <<<< ZLONG_TEXT Source structure for long text
Select Target Structure
/SAPDMC/LTXTH . /SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTL .
Step 5-> Maintain Field mapping and conversion rules
Here i have assigned constan rules to couple of them like
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME Name
Source: ZLONG_TEXT-MATNR (MATNR)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
ID Text ID
Rule : Constant
Code: /SAPDMC/LTXTH-ID = '0001'.
SPRAS Language Key
Rule : Constant
Code: /SAPDMC/LTXTH-SPRAS = 'E'.
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
TEXTLINE Text Line
Source: ZLONG_TEXT-LTEXT (LTEXT)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
Step6 -> Specify file Legacy
Data On the PC (Frontend)
Data D:\Sales_Longtext.txt
Step7 -> Assign File ZLONG_TEXT
Source structure for long text
Data D:\Sales_Longtext.txt
Step8 -> Read data
Output result
Source Structure Read Written Not Written
ZLONG_TEXT 1 1 0
Transactions Read 1
Records Read: 1
Transactions Written: 1
Records Written: 1
Step 8 -> Display read data
Field Name Field Text Field Value
MATNR MATNR MATERIA1
LTEXT LTEXT SALES TEXT FOR Material MATERIAL1
Step 9 -> Convert data
File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
tep 10 -> Display converted data
1 /SAPDMC/LTXTH 1 MVKE MATERIAL1 0001 E
2 /SAPDMC/LTXTL 2/ SALES TEXT FOR Material MATERIAL1
Step 11 -> Start direct input program
Output result for the same
Legacy System Migration Workbench Project:
ZNRD_PRJ1 ORH
Subproject: ZNRD_SUBPRJ2 Upload long text
Object: ZNRD_LTEXT Long text tru direct input
File : ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Now when i check the material master sales view -> sales text it is empty. Please help me with the same.
Regards,
Ranjith N -
Create Inspection Plan -LSMW -Direct Input -Error with Control Indicators
Hi,
I am creating Inspection Plans using LSMW-DIRECT INPUT Method.
Although MIC's control indicator parameters are correct while creating a plan it is changing the control indicator parameters.
how can we suppress this?
I want to use MIC's default parameters.
Regards
Praveenhave Lost Previous File
what does that mean? did they lose the source that should be used to load the data from?
without source you cannot load data.
Had you ever got this source file? how? by mail, then check your old mails and take it from there, ask the sender to he/she checks the SENT folder in his mail system. Maybe someone has a local copy of this fille. -
LSMW(Direct Input) Material master issues
Hi,
I have few issues on Material master-LSMW(Direct Input-RMDATIND) data upload(creating materials).
1. Can i upload excel sheet for uploading data! What option i have to choose in 'specify files' for this!
2. I am using fields MBRSH, MTART, MAKTX, MEINS, BISMT, MATKL, MAGRV for mapping.
But when i tried to upload in last step-start direct input program with Lock Mode-'N' it is giving error as
'Plant data does not exist'. Because this is for 'Basic Data' i though no need to input plant.
3. MATNR field is not needed for creation right as it is auto generated!
4. I have to do seperate object for this project for 'Sales organization data' & Plant Data is there any checks needed for the same!
Can anybody give solutions for the above!
Thanks in advance.
Thanks,
Deep.1. Now i am trying to process 4 records it is creating 3 records.
It is always skipping 1st record in flat file.
Any check required!
2. Also i want to write a output file(log file) to my presentation/application server with all material no's created & material descriptions. Where can i do the same!
3. Can anybody tell me how to upload using excel sheet.
Thanks,
Deep.
Edited by: Deep on May 14, 2009 3:21 PM
Maybe you are looking for
-
Customer cancels purchase order
Hi alltogether, I have to give a recommendation for the following case: - user created a customer order with one item and item cat. TAB! - user created a po with ME57/ME21N and ordered the parts - user received the parts (with or w/o MIGO, doesn't ma
-
How can we give two name for a single material ??
Hi friends how can we give two name for a single material ?? e.g.. if single material is sold to different customer by different names then how can we do that ??
-
How to unzip temp.dbf.gz in solries? Please help me command
-
Before proceeding you must first launch Adobe Acrobat and accept EULA
Can someone please tell me why there is no fix for the error that pops up every time you open a pdf with the letters "CR" in the document name.
-
Dear all, Any jobs I create in ERM - apart from those I schedule manually with "immediate" start - remain in status "waiting" forever and do not get processed. This applies to periodic updates of transaction/object/activity data etc, as well as to au