LSMW direct input method
Hi
What is the procedure to include a specific program / report in the drop down box of program name of Direct Input method in LSMW?
What is the diff. between Physical path and Logical path?
How can we give our input data using logical path when we execute some standard batch or direct input programs?
Ex. RMDATIND.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/87/f3ae63e68111d1b3ff006094b944c8/frameset.htm
Regards,
Amit
Similar Messages
-
Material Master upload - LSMW direct input method - Internal Number problem
Dear friends,
I am uploading material masters with LSMW - Direct Input Method.
The materials have internal numbers.
I have four plants and I want to extend the same material in all plants.
But LSMW is creating a new material for each row.
Is there any way out or any indication I put in file to repeat the internal numbers created for all other plants?
I can create another LSMW for material extension. But I want to know whether the problem can be solved in the current LSMW?
Regards,
Avinashhttp://www.sap123.com/a/98/
Check the internal number range once.... before extending mateial... -
LSMW Direct input method: 0150 Characteristics with Values
I am trying to upload several characteristics with Values using LSMW Direct Input method 0150.I have defined 2 level structure for Characetristic header and values. Have set the relevant indicators as 1 for characterisitc data and 2 for Values. I have set the T-code to CT04.I am trying to upload the data but only Characteristic data is getting generated and not the values. Can anyone help me out as to what may be the reason.
The fields I have in my uploading template is as below:
LINK NAME DESCRIPT STATUS FORMAT LENGTH DECIMALS UNIT WERT
1 TON WEIGHT LIFT CAPACITY 1 NUM 8 0 ton
2 20
2 50
2 60
2 70
2 100
The Fields I have mapped in Source structre are:
Source Fields
CHARACTERISTIC PM Characteristics
LINK C(001) Identify Field Content:1
Identifing Field Content: 1
NAME C(030) Characteristic Name
DESCRIPT C(030) Characteristic description
STATUS C(001) Status of a characteristic
FORMAT C(004) Data Type
LENGTH C(002) Number of Characters
DECIMALS C(002) Number of Decimal Places
UNIT C(006) Unit of Measure, Language-
CHARACTVALUE Characterisitc Values
LINK C(001) Identify field content
Identifing Field Content: 2
BLANK1 C(001) Blank1
BLANK3 C(001) Blank3
BLANK2 C(001) Blank2
BLANK4 C(001) Blank4
BLANK5 C(001) Blank5
BLANK7 C(001) Blank7
BLANK6 C(001) Blank6
WERT C(030) Characteristic Value
Source Structure is:
Source Structures
CHARACTERISTIC PM Characteristics
CHARACTVALUE Characterisitc Values
Structure relation is as below:
Structure Relations
BGR00 Batch Input Structure for Session Data <<<< CHARACTERISTIC PM Characteristics
Select Target Structure BGR00 .
BIMST Batch input for characteristics <<<< CHARACTERISTIC PM Characteristics
Select Target Structure BIMST .
BIMZW Batch Input: Allowed Characteristic Values <<<< CHARACTVALUE Characterisitc Values
Can anyone help me resolve this issue.....
Thanks in advance
MuradHi,
Go through this links its might helpfull to you.
Re: Porblem during characteristics LSMW
Assigning Characteristics to a class using LSMW
Issues Uploading Characteristics Data into SAP Using LSMW
LSMW: CHaracteristics Load
Thank you, -
LSMW - DIrect Input Method --PO
HI All,
I am using LSMW Direct input method to upload Purchase orders.But my probelm is i am using Two files for header and items. In my case i have to upload so many Purchase orders with multiple item data at a time.
Example.
Header file
H1 ......
H2 .......
H3 ......
H4 ......
Item File
I1 ....
I1 ....
I2 ....
I2 ....
I3 ....
I3 ....
I3....
I4....
But my question is How the program will identify Which items are related to particular Header.
Please help me on this.
What will be the identification for header and item.
Thanks in advance,
Bhanu P R Gattu.I usually use a single file for both header and item:
When you specify your source file, contents must be "Data for Multiple Source Structures (Seq. File)", and header record must precede item(s) record(s):
H1
I1-1
H2
I2-1
I2-2...
Regards,
Guillermo. -
LSMW direct input method - Equipment BOM
Hi Experts,
We have already written program for equipment BOM master in LSMW direct input method. I do not know about this direct input method.
Here they have maintained 2 source structures and relavant source fields. one for BOM header and other for BOM items. The first field they maintained is LINK in both the source fields. I really do not know what that field is all about. I checked in step specify files and found that they have previously mentioned two files, one for BOM header and other for BOM items. but when I tried to save in this step it gives me error that " No logical path specified". Can anybody tell me what is this error is all about.Please heip me to get out of this problem.
Thanks and best regards,
PraveenHi praveen,
LSMW does not accept two files.
In the step create source strcture
crte one structure with BOM header like with ZBOM_H.
Under that create another structure for item ZBOM_I.
ZBOM_H
ZBOM_I like this structure will will be.
In the step source fields.
crate onne variable with indicatoe header.While creating the variable we have field 'identify field content ' field in pop up screen 'H'.
assign all header files under identifier 'H'.
then under ZBOM_I create identifier with 'I'.
Assign all the item fields to this.
then map the fields.
In the file should be H header fields.
I item fields.
I
I.
Then Header .It should be like this.
in saptechnical u will get the examples go though them once.
Thanks -
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..
-
LSMW - Direct Input Method - AS91 - RAALTD11
Hi All,
I am trying to master data upload of assets into SAP. I am doing it using LSMW - Direct Input method.
I am getting a lot of errors:
- No valid cost center was entered --- Whereas the cost center entered is valid.
- Unexpected record type: B --- whereas I have not specified any record type.
- Company code 0315 already contains assets in the number range T4 --- Whereas I have run the LSMW only for company code 0312 and with just a single record.
- And many more such errors.
Please advise if I am doing something wrong.
Also I want to know to which field shall I pass the Cumm Acquis Val and the Net Book Value.
I want to know the corresponding fields in the BALTD and BALTB structures for these fields.
My flat file contains the below fields:
- ANLKL Asset Class
- BUKRS Company Code
- TXT50 Description
- AKTIV Capitalized On
- KOSTL Cost Center
- ORD42 Allowed Capital Allowances?
- EAUFN Investment Order
- NDJAR Planned Useful Life in Years
- NDPER Planned Useful Life in Periods (months)
- NDABJ Expired Useful Life in Years
- NDABP Expired Useful Life in Periods (months)
- ?? Cumm Acquis Value
- ?? Net Book Value
I don't know how to map the last two fields. Although I could find another field ANBTR01 in BALTB structure. But then which field tomap to this structure and to which field shall I map the remaining one.
Please advise.
Thanks & Regards,
NamrataHi All,
I have now removed the BALTB structure and am filling only teh BALTD structure. I am not getting any errors and the asset is getting created.
But when I go and check for the asset in AS93 / AS92, the depr areas (planned and expired life in years and planned and expired life in periods) are not getting populated in SAP. Also in the Takeover Values tab, ***.acquis.val and the Net book value fields are not getting populated.
Below is the mapping of all the fields:
BALTD-MANDT = 600 (GETTING POPULATED ITSELF)
BALTD-BUKRS = SOURCE-BUKRS
BALTD-ANLKL = SOURCE-ANLKL
BALTD-TCODE = AS91 (HARDCODING IN LSMW)
BALTD-RCTYP = A (GETTINGPOPULATED ITSELF)
BALTD-AKTIV = SOURCE-AKTIV
BALTD-ORD42 = SOURCE-ORD42 (ALWD)
BALTD-EAUFN = SOURCE-EAUFN
BALTD-TXT50 = SOURCE-TXT50
BALTD-KOSTL = SOURCE-KOSTL
Below are the dep areas fields values and the takeover values.
BALTD-NDJAR01 = SOURCE-NDJAR01 (PLANNED LIFE IN YEARS)
BALTD-NDPER01 = SOURCE-NDPER01 (PLANNED LIFE IN PERIODS)
BALTD-NDABJ01 = SOURCE-NDABJ01 (EXPIRED LIFE IN YEARS)
BALTD-NDABP01 = SOURCE-NDABP01 (EXPIRED LIFE IN PERIODS)
BALTD-KANSW01 = SOURCE-KANSW01 (CM.ACQUIS.VALUE - IN TAKEOVER VALUES TAB)
BALTD-KANSW02 = NET BOOK VALUE IN TAKEOVER VALUES TAB.
BALTD-WRTMA = SOURCE-WRTMA (SUGGESTED BY SOMEONE ON SDN FOR NET BOOK VALUE)
None of the above dep areas and takeover values fields (fields in bold) are getting populated in SAP.
Please help and advise how to proceed with this.
Regards,
Namrata -
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 -
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 method error
Hi experts,
I created the LSMW using direct input method (PR Creation).
In the create batch input session step (executed) i am getting below
message and follwed bt processing terminated message and going out
Transaction 0: transaction code / not supported
what could be the problem ? any problem in specifying logical path .
pls let me know the solution.
Thanks
saiHi chenna,
Thanks for reply, I added the tcode and now getting the message like the session was created
but when i see in sm35 there is no seesion created and there is no log also.
what could be the reason? pls explain
thanks
sai -
LSMW Direct Input Method RMDATIND tax classification material
Hi folks,
I am loading material master data throught LSMW using direct input method. In MM01 for a particular sales org we have tax classifcation for three different countries US, CA and GB. Could anyone tell me how do I post the tax classification Material data in the table control for these three different countries.
COUNTRY COUNTRY TAX CATG. TAX CATEG. TAX CLASSIF
CA Canada CTX1 GST (Canada) ...........
CA Canada CTX2 PST (Canada) ...........
CA Canada CTX3 PST (Base+GST) Cdn...........
GB United Kingdom MWST Output Tax...........
US USA UTXJ Tax Jurisdict.Code ...........
US USA UTX2 County Sales Tax ...............
US USA UTX3 City Sales Tax .............
Points will be rewarded for the answers.
Thanks,
RajHi,
Not sure about the same requirement of countries & tax codes for all the materials for your upload.
If this is the case,
enable the
Extras->DisplayVariant
from the menu of the LSMW & check all the check boxes. Now you see the
__END_OF_RECORD__
for the structure
BMMH2
which has to be mapped with the input structure in the Maintain structure relations step.
double click on the
__END_OF_RECORD__
which will lead to ABAP editor & then put the following code:
* Canada
bmmh2-stype = '3'.
bmmh2-aland = 'CA'.
bmmh2-taty1 = 'CTX1'.
bmmh2-taxm1 = '1'.
transfer_record.
bmmh2-stype = '3'.
bmmh2-aland = 'CA'.
bmmh2-taty1 = 'CTX2'.
bmmh2-taxm1 = '1'.
transfer_record.
else if you have a different set of countries with different tax codes for the set of materials,
You need to have a separate file for this & map the fields to the structure fields of
BMMH2
Hope this helps.
Best Regards, Murugesh AS
Message was edited by:
Murugesh Arcot -
LSMW - DIRECT INPUT METHOD FOR UPLOADING PP MASTER DATA
Dear Gurus,
A LSMW project (DIRECT INPUT METHOD)has been created for PP master.
But Now They have Lost Previous File which they have prepared Earlier.
Now to Create a file for the Same Project wat fields need to be taken.
By taking only Source structure fields it is giving error.
In project some constant fields are also there.
pls guide me.
With Regards,
GMPhave 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 method for mm01
Hi...!!!!
What are the fields required for FERT material in Direct input method..
And also what are the views to be select for FERT material....hi soumya..!!!!
i find ur link it work only for ur data..
then when i try for my data.... it show tax error msg..
the error msg shown below..
transaction: 0000000001 Matl no.: 7FDUMMY001
E MG 172: You have not fully maintained the tax classifications
transaction: 0000000002 Matl no.: 7FDUMMY002
E MG 172: You have not fully maintained the tax classifications
transaction: 0000000003 Matl no.: 7FDUMMY003
E MG 172: You have not fully maintained the tax classifications
transaction: 0000000004 Matl no.: 7FDUMMY004
E MG 172: You have not fully maintained the tax classifications
transaction: 0000000005 Matl no.: 7FDUMMY005
E MG 172: You have not fully maintained the tax classifications -
LSMW-direct Input Method for Vendor-XK01.(Urgent)
Hi Experts,
When we are uploading vendor master details thru lsmw using Direct Input we are encountering an error message in the step Create Batch Input Session and the error is Special character for empty field is /.
Beacuse of this the session is not getting created.
We are passing only mandatory fields not the entire fields specified in the program RFBIKR00 Method : 0001 ,Object 0040.Hence its taking nly / for the empty fields.
Please advice how can we rectify it.check whether you are passing all the fields mentioned in the structure difined by you. if u delcared some fields in your passing structure and you mapped all these fields with standrd structure you have to pass compulosry those fields otherwise you have to put a validation at the field mapping.
double click on the mapped field. insert the validation.
( suppose u have a field qsskz in your structure and for some records you are not passing any value to this field then you have to add following validation)
if itab-qsskz is initial.
blbf1-qsskz = '/'.
else.
blfb1-qsskz = itab-qsskz.
endif. -
Problem while writing the data (LSMW direct input method for Creating BOM )
Hi all ,
I am unable to create a BOM using LSMW standard dirrect input mehtod .
While i going through the *Read data * step , it is reading the data but unable to write the data .
My input text files are correct , Is it a problem with respect to the Logical Path or Logical File ......
Please let me know the Possibilities of arising this problem .
Regards,
RajHi,
Check this document:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d90895-68dd-2a10-f096-bf8cf2e2f65b
cheers
Aveek
Maybe you are looking for
-
HP will not print to my printer on my network
I was using Motoprint until i upgraded my droid 4 phone. i downloaded HP eprint. It see my printer but will not print to it. the printer is a officejet 6310 all-in-one. It is connected to my wirerless router and has its own IP address. the app see it
-
Hello. First time using this. Still trying to figure out how to post my questions. I seem to have lost some of my settings and now I cannot configure my airport connection. How do I get my settings back?
-
SCCM 2012 CU2 OSD forest trust: ReleaseRequest failed with error code 0x87d00317
Hello, Actually i have a difficult Problem with my SCCM 2012 R2 CU2 Windows 7 x64 SP1 Tasksequence: I get the folowing error in smsts.log: ::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscor
-
When I try to attach a file on a web site my only option is to open file.
-
Hi all I have a requirement(EP 7.0) where i am displaying a page in content area with 2columns and 2rows when clicked on "Reports" link under Detailed Navigation, this works fine. But in each cell i need to give couple of links(report links