Log For LSMW Direct Input
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
Sh
hi,
use option extended log (e.g. in rfbibl00) and after run goto sm37 - Job-log
A.
Similar Messages
-
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,
Nageshfor 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.
-
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 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 -
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. -
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 -
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 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 -
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 -
Problem while Creating BOM using LSMW Direct Input
Hi all ,
I am trying to create the BOM Using LSMW Direct Input Method .
I am getting problem at step 9 that is Read Data.
It is able to read the values from header and item files .
but it is not able to write , so the Written is 0 always .
I put the field names first in the flat file and correcponding values below it with tab delimited.
Please let me know where the Problem would be.... I am trying this from long time ..
Regards ,
Rajhi ,
Yes i am specify files i am attaching 2 files .
ones is header and the other is line item data .
my strucure is :
Hi ,
I am still getting problem while for writing the records after reading the data .....
my header structure :
STYPE
MATNR
WERKS
SELAL
STLAN
DATUV
ZTEXT
my item structure :
STYPE
MATNR
WERKS
SELAL
POSTP
MENGE
my header data :
STYPE MATNR WERKS SELAL STLAN DATUV ZTEXT
1 388 0110 20 1 06.01.2009 SAMPLE ZTEXT
my item data :
STYPE MATNR1 WERKS SELAL POSTP MENGE
1 388 0110 20 N 1234
1 382 0110 20 N 12345
Above text files are delimited by tabulator.
Please guide me . The files are reading but unable to write .....
Regards,
Raj -
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. -
Reg:lsmw(direct input)
hi friends,
i need your help in lsmw direct input method.
my problem in my flat file one header and multiple header lines.
how to handle in direct input method.Hi,
At "Maintain Source Structures" you need to define two structures. One for header and one for item.
HEADER_STRUCTURE
|___
ITEM_STRUCTURE
At "Maintain Source Fields" you need to define one field as identifier at first field of the structure. Double click at the field and fill "Identifying Field Content".
Then the source file could be specified as below.
H 100965
I 1 Test 1
I 2 Test 2
I 3 Test 3
I 4 Test 4
H is the identifying field content for header and I for item.
Regards,
Teddy
Maybe you are looking for
-
Extension Manager corrupted my programs
I used Extension Manager for the first time today and downloaded about 20 extensions for Flash CS5. After installing them, I tried to open my Flash program and got an error that reads: Runtime Error! Program: C:\Program Files\Adobe\Adobe Flash CS5\F
-
Why does iTunes 12.1 does not sync new calendar appointments with Outlook 2013?
After updating iTunes to 12.1 64 bit for windows my NEW appointments, contacts and notes are not syncing from Outlook 2013 to my iPhone 5 and iPad Air. Syncing was working fine before I updated to iTunes 12.1. I have disabled all add-ins in Outlook
-
Hi all, I need to create a small database manually. What are the mandatory fields for DB creation. What are the steps to be followed? If anyone have the script please send me. Thanks in advance. regards, prem
-
HI! I've got this code in my as class: [Embed(source="../../assets/test.swf")] [Bindable] public var myClass:Class; This is copy paste from the manual (Except for the path to the swf). When I compile this I've got an error that says something like "U
-
No gpu acceleration in youtube
Hi everyone, I have problems with youtube videos, i seems that my cpu takes all the load although i have latest flash player 10.1 and Ati Radeon 5830 HD, hardware acceleration is enabled. In WinXP all was good but from 2 days i have installed Win7 32