LSMW for PR Creation
Hi all,
I've created LSMW for PR using the following parameters:
Step 1 : Direct input:
Object 0080
Method 0000
Program Name RM06BBI0
Step 3 : Maintain Source Fields
i define source fields as following:
HEADER_STRUCTURE
-> ITEM_STRUCTURE
header_structure has item_structure as low level.
Step 5 :
TCODE = ME51N
Step 13 : Create Batch Input Session
I found the error message on this step as following:
Transaction 0: transaction code ME51N not supported
then,
Processing terminated
Please help me out. Thanks a million in advance.
Peerasit
Hi Mauro
Thanks for your advise. Please allow me to ask you for further information.
I try to create LSMW using BAPI and system returns message as following:
Maintain the default values for IDoc inbound processing
Do i have to maintain IDOC prior create LSMW using BAPI for data conversion?
Thanks in advance.
Peerasit
Similar Messages
-
LSMW for Asset Creation not creating Transaction
Hi,
I am using standard LSMW for creating Asset into the SAP system and passing transaction code as AS91.
Object: 0160
Method: 0001
Program Name: RAALTD01
Program Type: B
The asset is getting created, but even after passing the Transaction Data (Structure BALTB), with T-Code AS91, it is not creating the transaction record into Asset.
Any solution / work around for this?
Thanks & Regards,
Sandip kamdartry with recording method, i had done this for same tcode and sucessfully completed the job.
-
LSMW for equipment creation-Standard Batch/Direct Input
Hi,
We developed an LSMW with standard batch / direct input method for creating equipment masters.
We used Object =0400 ( equipment ) and method = 0001 ( batch input)
We maintained source structures and source fileds. In the source field , we maintained only those fields that we need from table IBIPEQUI but in the order given in this structure.
Also we maintained filed mapping and field convertion rules for the above source fields.
When we run LSMW step - Display converted data , we see that
Transactions Read: 1
Records Read: 1
Transactions Written: 0
Records Written: 0
Not sure what could have gone wrong?
Please provide some clues to the following questions.
1) Should the source structure be same as fields from stuc. IBIPEQUI and should it include all the fields in the source structure?
2) Is field mapping required or not ?
3) We are getting an error - transaction is not supported in direct input mode.
Thanks in advance
Rgds,
Rajesh1. Source fields are( same as IBIPEQUI structure ; the tab delimited file matches with these fields)
TCODE C(020) Transaction Code
RECORDNAME C(008) Record name
EQUNR C(018) Equipment
DATSL C(008) Valid On
EQTYP C(001) Equipment category
EQKTX C(040) EQKTX
BEGRU C(004) Authorization Group
EQART C(010) Technical obj. type
GROES C(018) Size/dimensions
INVNR C(025) Inventory number
BRGEW C(017) Gross Weight
GEWEI C(003) Weight unit
ELIEF C(010) Vendor
ANSDT C(008)
ANSWT C(017) Acquisition Value
WAERS C(005) Currency
HERST C(030) Manufacturer
HERLD C(003) Country of manufact.
BAUJJ C(004) Construction year
BAUMM C(002) Construction month
TYPBZ C(020) Model number
SERGE C(030) ManufSerialNumber
MAPAR C(030) ManufactPartNo.
GERNR C(018) Serial number
GWLEN C(008) Warranty end date
KUND1 C(010) Customer
KUND2 C(010) End customer
KUND3 C(010) Operator
SWERK C(004) Maintenance plant
STORT C(010) Location
MSGRP C(008) MSGRP
BEBER C(003) Plant section
ARBPL C(008) Work center
ABCKZ C(001) ABC indicator
EQFNR C(030) Sort field
BUKRS C(004) Company Code
ANLNR C(012) Asset Number
ANLUN C(004) ANLUN
GSBER C(004) Business Area
KOSTL C(010) Cost Center
PROID C(024) PROID
DAUFN C(012) Standing order
AUFNR C(012) Order
TIDNR C(025) Technical IdentNo.
SUBMT C(018) Construction type
HEQUI C(018) Superord. Equipment
HEQNR C(004) Position
EINZL C(001) Single installation
IWERK C(004) Planning plant
INGRP C(003) Planner group
GEWRK C(008) Main work center
WERGW C(004) Plant for WorkCenter
RBNR C(009) Catalog profile
TPLNR C(030) Functional Location
DISMANTLE C(001) DismIndic.
VKORG C(004) Sales Organization
VTWEG C(002) Distribution Channel
SPART C(002) Division
MATNR C(018) Material
SERNR C(018) BOM explosion number
WERK C(004) WERK
LAGER C(004) LAGER
CHARGE C(010) CHARGE
KUNDE C(010)
KZKBL C(001) Load records
PLANV C(003) PLANV
FGRU1 C(004) FGRU1
FGRU2 C(004) FGRU2
STEUF C(004) Control key
STEUF_REF C(001) STEUF_REF
KTSCH C(007) Standard text key
KTSCH_REF C(001) Std text referenced
EWFORM C(006) EWFORM
EWFORM_REF C(001) EWFORM_REF
BZOFFB C(002) Ref. date for start
BZOFFB_REF C(001) BZOFFB_REF
OFFSTB C(007) Offset to start
EHOFFB C(003) Unit
OFFSTB_REF C(001) OFFSTB_REF
BZOFFE C(002) Ref. date for finish
BZOFFE_REF C(001) BZOFFE_REF
OFFSTE C(007) Offset to finish
EHOFFE C(003) Unit
OFFSTE_REF C(001) OFFSTE_REF
WARPL C(012) Maintenance Plan
IMRC_POINT C(012) Measuring point
INDAT C(008) Inverse date
INTIM C(006) Processing time OC Workbe
INBDT C(008) Start-up date
GWLDT C(008) Guarantee
AULDT C(008) Delivery date
LIZNR C(020) License number
MGANR C(020) Master warranty
REFMA C(018) REFMA
VKBUR C(004) Sales Office
VKGRP C(003) Sales Group
WARR_INBD C(001) Inbound warranty
WAGET C(001) Warranty inheritance poss
GAERB C(001) Indicator: Pass on warran
ACT_CHANGE_AA C(001) ACT_CHANGE_AA
STRNO C(040) STRNO
DATLWB C(008) Date Last Goods Movmnt
UII C(072) UII
IUID_TYPE C(010) IUID Type
UII_PLANT C(004) Plant Responsible for UII
2, source structure is assigned to target structure IBIPEQUI
3. In the assign files step - all settings given above are correctly maintained.
4. Field mapping
TCODE Transaction Code
Rule : Default Settings
Code: IBIPEQUI-TCODE = 'IE01'.
RECORDNAME IBIP: Name of the Data Transfer Record
Rule : Default Settings
Code: IBIPEQUI-RECORDNAME = 'IBIPEQUI'.
EQUNR Equipment Number
Source: ZIE01_002_SOURCE-EQUNR (Equipment)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-EQUNR is initial.
IBIPEQUI-EQUNR = ZIE01_002_SOURCE-EQUNR.
endif.
DATSL Date valid from
Source: ZIE01_002_SOURCE-DATSL (Valid On)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-DATSL is initial.
IBIPEQUI-DATSL = ZIE01_002_SOURCE-DATSL.
endif.
EQTYP Equipment category
Source: ZIE01_002_SOURCE-EQTYP (Equipment category)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-EQTYP is initial.
IBIPEQUI-EQTYP = ZIE01_002_SOURCE-EQTYP.
endif
When I read data with 1 record uploaded ( in the assign fields step , I did not choose "fields names at start of file" and also saved the file with tab delimited text format without field names), it shows as
Transactions Read: 2
Records Read: 2
Transactions Written: 2
Records Written: 2
I uploaded only one record but it reads as 2 records and can not figure out why 2 records?
Also when I checked display converted data , it shows 2 records .
First record shows
TCODE Transaction Code IE01
RECORDNAME IBIP: Name of the Data Transfer Record IBIPEQUI
EQUNR Equipment Number
DATSL Date valid from 05072010
EQTYP Equipment category H
EQKTX Description of technical object PNEUMATIC PIPE BENDER
BEGRU Technical object authorization group
EQART Type of Technical Object MECH-PRESS
GROES Size/dimension 1000X500X1500MM
INVNR Inventory number
BRGEW Gross Weight : IBIP Character Structure 50
GEWEI Weight Unit KG
ELIEF Vendor number
ANSDT Acquisition date
ANSWT Acquisition Value: IBIP Character Structure
All the fields following this , are blank.
2nd record shows
TCODE Transaction Code IE01
RECORDNAME IBIP: Name of the Data Transfer Record IBIPEQUI
EQUNR Equipment Number 2009
DATSL Date valid from
EQTYP Equipment category S
EQKTX Description of technical object 1006324
BEGRU Technical object authorization group
EQART Type of Technical Object
GROES Size/dimension 20100406
uploaded values are jumbled in 1st and 2nd record.
Hope to receive your valuable ideas for finding out the reason and corrective action required.
Rgds,
Rajesh
I
Edited by: Rajesh63 on Jul 6, 2010 10:37 PM -
Classification view creation via LSMW for Material master
Hi,
We are planning to have an LSMW for creation of material master along with classification view for configurable materials.
Though we see a flag to indicate classification view - XEIC1 Indicator: take Classification view into account
We do not see a structure where in we can pass all the characteristics and the corresponding values.
Is this something possible only with BAPIs such as -> BAPI_OBJCL_CREATE after creation of other view for that material.
Regards,
HRHi,
Thanks for the response. This is helpful.
However, we were intending to use a single LSMW for creation of all views of material master including classification view. Right now we are using Program RMDATIND as direct input method in LSMW.
Please let me know if there is a way to use single LSMW for creation of all views of material master.
Thanks
HR
Edited by: Hema Rao on Jan 8, 2009 7:58 AM -
How to DELETE a TARGET FIELD in a structure of LSMW for GL accts creation?
Hi Experts,
I developed a LSMW for GL accts creation.
I used DIRECT INPUT method, below are the details,
Prog. - RFBISA00
Object- 0010
Method - 0002
Prog. type is "B" - Batch input.
Issue: we r getting ther BSKX structure, its for GL Creation.
But, here we r getting the field STYPE in this strucure, its making issue for us.(we dont hv any SOURCE STRUCURE for it, so, nothing is assigning for it?
Pls. let me know that,
How to DELETE this STYPE field in this LSMW under field mapping radio button?
thanq
Edited by: SAP ABAPer on Nov 18, 2008 3:34 PMWell Carlos, that would destroy the process, as STYPE is a necessary, technical field. Please care and read previous replies before suggesting potentially dangerous action.
Thomas -
Dear ALL
Recorded an LSMW for PA40 hiring actions which includes infogroup - [ IT 0000, 0001, 0002, 0105-ZVEN (Sub type)]
This is for external vendor employees hiring actions.
While recording or manually running the process, it is working fine.
When in foregroud or background process, the alternate pernr is getting generated. Say for 1st record , pernr generated is 80023, then for next it is 80025, 80027so on.
Kindly suggest me in this issue.
Thanks
MJHi,
1-you keep no range as external and assign PERNR sequentially so that it remains same as you want it
2-kindly go through the LSMW abain to see what have you assigned in field mapping & conversion rules
3- check one record created thru LSMW and see if next (alternate number gets assigned to Ref PERNR in IT0000)
Check the alternate number to see if anything gets assigned to it.
salil -
Creation of lsmw for updation of position and pers area
Hi friends,
I am tried many time to update position and personnel area through lsmw for all employees ,at time of recording its coming.But once compltion of lsmw preparation i am uploaded my inputs through tabfile that time its updating only personnel number and infotype and its asking the save the action screen (At the same time its showing one popup below screen like there is no recording for mp000000).Can you tell any one there whats the problem.At the same time is it possible to upload the position and personnel area through lsmw.
Thanks,
arjun.Hi Arjun
Are you performing a hiring actions, if you are performing a hiring action, when you start with LSMW, the recording should be correct with hire date or start date, personnel number, reason for hire, position number, personal area, employee group and subgroup.
The source field you specific should contain the required field name, type, length and field discription. The field mapping should be done perfectly and assign the specified file in txt format and try to upload.
If you are facing any problem, let me know. I think I can help you
Regards
Santhosh.S -
Error in the LSMW for vendor master using standard batch/direct input
I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
Batch Input Interface for Vendors
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VNDR_CREATE_ was opened
FB104 Trans. 2 XK01 : Acct already exists; general area not being processed
FB125 ... Data in table BLFA1 cannot be processed
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE XK01
FB014 ... BLF00-LIFNR 300951
FB014 ... BLF00-BUKRS 402
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK VEND
FB017 ... Last data record ...
FB014 ... BLFA1-STYPE 2
FB014 ... BLFA1-TBNAM BLFA1
FB014 ... BLFA1-ANRED /
FB014 ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
This is because when we use XK01 to create the vendor by using thePlease check this answered link:
Re: LSMW for Vendor Master
LSMW Upload vendor master data
Edited by: Afshad Irani on May 5, 2010 12:42 PM -
Is it possible to create LSMW for PQ10, PQ13?
Hi Fridz,
I have created the OM actions, now I'm trying to create LSMW for the actions PQ10 (creation of org unit), PQ13 (Creation of Position) but while recording LSMW relationships are not creating under - Maintain Field Mapping and Conversion Rules in LSMW. Please advice on this whether these transactions are possible to create LSMW with fore & backgroung.
$NarayanaHi Narayana,
Use BDC's for better maintainance of relationship. which worked fine for me.
thanks,
vasu. -
Hi,
I am not able to find an LSMW for creating GR for outbound delivery. I tried using recording in MIGO but it did not work. Also MB1C is not working for outbound delivery. Please help.
Regards,
AnubhavHi
I think it is better to write a Z program/ BDC to have a mass GR creation of an outbound delivery.
or
You have an Auto Goods receipt using confimations. If we activate Auto GR in customizing for Confirmation control key. Once confirmations(ASN) is created a GR will be created automatically.
Hope this helps
Regards,
Sasi -
Hi
I have managed to create a LSMW model, that wil create (CA01) a routing.
My problem is that components (from the BOM) is not assigned to operations.
When I display converted data, just before I create a batch input session, I can can see selected components is assigned to an operation.
When I use transaction CA03 afterwards, behind the TAB " CompAlloc" there is no materials that has been assigned to operations.
Has anyone any experience on this issue?Dear,
As said by Bala,get the help from ABAP programmer and go for a BDC for
creation of routing.
I have not worked or used LSMW for routing,so could not give a reply for your
question.
Regards
Mangal -
LSMW for material master upload
Hi gurus
i have one problem while uploading material master with LSMW.
I have murged 2 company codes in one so while creating material master system is asking me tax classification data in sales view for 2 country sales org and distrubition channel. I am using sap std LSMW for material master creation.
system is giving me error as " tax classification data not maintained completely".
need your valuable help to solve this problemTax classification data is mandatory field in Sales view of MM01.
Check out you mapping for the tax classification fields. usually classification value is 0 OR 1.
You can first test the values in MM01 Sales View with the legacy data you have and this way you will able to find the mandatory fields also and can see the valid values for the fields.
Remember you may have more than one Tax Classification values depending on the country code.
For that you can add those many columns in legacy data file and map them.
Hope it helps. -
Dear experts,
We are trying to upload asset master (T-Code AS01)thru LSMW.We tried to upload data thru BDC which is working fine. But in LSMW we are getting error at the time of conversion of data. LSMW is working fine for all others like material master upload, vendor master upload etc.
We can not use T Code AS91, because actual legacy date has been frozen in the system.
I want to know whether AS01 creation is possible thru LSMW or not? If yes, what could be the reason that its working for other master data and not for asset? Could it be because for Asset creation, internal number is generated and for other master data, external numbering is there?
I will be extremely grateful to receive any input from you.
expecting a quick reply,
VijayaDear all,
Thanks a lot for reply. In my case I am getting the error that transaction code is not set. In step 5, maintain field mapping and conversion rule, I select the field TCODE, then I click on rule, then click on constant.There when i drill down , the transaction AS01 is not appearing but other transactions AS91, AS92 etc. is appearing.
Even then when I am typing tcode AS01, then the above mentioned error is coming at the time of conversion.
For material master and all, this drill down option is not coming. so whichever tcode I am giving , system is taking that.
Can u let me know, where should I maintain Tcode AS01.
Thanx,
Vijaya -
LSMW for Asset Data (Tcode-AS01)
Hello All,
I am working on LSMW for Asset master data creation for transaction AS01. When i go to tcode AS01 there is a field with description called "NUMBER OF SIMILAR ASSETS". The LSMW program for the asset data uses two structures BALTD and BALTB. But the field description field is not available in these stuctures. So i am not able to create asset data through t code AS01.
Can anybody help me out. I will reward you with points.
Thanks,Hi,
The number of similar assets
enables you to create multiple similar assets in one master transaction. These assets initially differ from each other only by their main and/or sub-number. When you save, you can also enter a description and inventory number for each individual master record.
This function does not allow you to create multiple assets that automatically have the same long text.
In order to work with lsmw you are creating asset in reference to old asset number/subnumber. i think the default number of assets are 1. in case you require more assets to be created of same type you may have to pass different long texts.
Reward if find useful. -
Hi,
I need to create article master using LSMW.
I found a direct input prpgram : RMDATIND.
Could you let me know if i can create data in the below views of Article master: using this direct input program?
Basic data
Listing
Logistics DC
Logistics Store
In addition to above can i create data in the views:
1. Basic data text
2. PO text:
Thanks
ShivaHi,
There is no detailed message indicating the cause of the error in your query. So you could check the following:
1. Authorization for MM41manually and loading the Article manually for one sample transaction.
2. check the usage of change number.
3. Check whether the flags for View creation viz., BASIC_VIEW, SALES_VIEW as filled with 'X' as per your reqmt.
Hope this helps,
Best Regards, Murugesh
Maybe you are looking for
-
How print a page to the printer with String variable
I my name is Alexandre Lefebvre. Im in big trouble. All my program is finished. I must print only the String elements on a JTextArea to the printer (Hewllett-Packard 842c). Please help me.
-
Need to update list page using a pop up dialog page (Please its URGENT)
Hi, I have master page with list of employees. Using a pop up dialog I'am trying to insert a new record but the record is not appearing in the list. Possible solutions tried but no hope: 1. Using managed bean I tried with refreshing (re-execute) the
-
Forms in Numbers always on same record
I have an IOS Numbers file I use to track daily, weekly, monthly and quarterly activities. Each on a different tab/sheet. I have created forms for each of the 4 sheets. When entering data for say day 30, the forms for the weekly, monthly and quart
-
Hi Everyone , I have downloaded db2driver for jdbc. Its a zip file but i dont have any idea as what to do next. Please suggest me the next step.
-
Recently got my iPhone4, so now can integrate all my apple apps, etc. To date have been using Palm Desktop 4.2.1 for calendar (covers many years). I'm happy to leave old data on this program as a sort of archive. But need to transfer current and futu