LSMW-Info record
Hi,
I have a created a LSMW for info record using SAP standard program. I have created 2 structures.I want to change the planned delivery time in IR.
I have given vendor as common field in both excel sheets. There are 200 records to changed. When I assign the file & read the data. The system says it has read some 1 lakh data. I feel some where there is an issue.
Source fields
LIFNR C(010) Vendor
MATNR C(018) Material
EKORG C(004) Purch. Organization
WERKS C(004) Plant
INFNR C(015) Purchasing Info Rec.
Second is
LIFNR C(010) Vendor
APLFZ C(003) Planned delivery time
there is too few information about your source file and your LSMW object in this thread to give a reliable answer.
Looking at the description of your 2 files, the LIFNR would be the correct field as common field.
However, it is not understandable why your files are in this way. If you change existing info records, then you usually analyse the data in SAP or offline by downloading the relevant field from table EINA and EINE.
But your file1 has fields from both info records table, and it is unclear why you have a second file just for this one field that shall be changed. Why is not everything in one file? I find it just cumbersome to do it this way.
However, the problem with that many read records is probably caused by something different.
When SAP reads data from multiple files, then it joins those files by a common field, which is LIFNR in your case.
If LIFNR is 1234 in file 1, then it jons this record with all record that have LIFNR 1234 in file 2.
I just guess that you have empty lines at the end of your 2 text files. Hence SAP joins each empty line of file 1 with each empty line of file 2.
which means if you have 10 empty lines infile 1 and 10 empty in file 2, it joins the first empty line of file 1 with all 10 empty lines from file 2, and then again for the second empty line in file 1 with all 10 empty lines from file 2. result 100 read records.
if you have 60000 empty lines in both files, then it is 60000*60000 read records
Similar Messages
-
Upload Purchase info Records using LSMW
Hi,
Im uploading purchase info records using LSMW - direct method
Object 0060 Purchasing info rec.
Method 0000
Program Name RM06IBI0
i need step by step process for this. any one have done this using this program help me out.
Regards,
VimalHello Jürgen
and thank you!
One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
Thanks again
Alicia -
I am using standard batch input LSMW for creating info records with obj 0060 and program RM06IBI0. In the last step while running session I am getting error as 'Field EINE-EVERS. (shipping instructions ) is not an input field.' Does anybody know why? Is this field not there in ME11 transaction?
resolved
-
Determining Source Structure u0096 for LSMW to upload Purchasing Info records?
I am trying to use program RM06IBI0 through LSMW to upload Purchasing Info records. While configuring LSMW, how do I determine the source structure? Can anybody please help me with an example?
Thanks,
Ketanhi dear
first of all record all the fields which you require through shdb including your vendor code and esokz.
now
generate a structure for mapping the fields through table maintainence generator option.you can add any number of fields there.
actully this must include all the fields which are being fetched from the your flat file.
please revert back if u find problem.
reward points if it find useful
regards
amit singla -
Extended Purchase Info Record using with LSMW
HI guru's,
How to extend purchase infor record using with LSMW programm.. what is the T.Code and important fields.
regards
JKHi,
You will need to create an LSMW programme for this, the source fields will be as below
LIFNR Account Number of the Vendor
MATNR Material Number
EKORG Purchasing Organization
WERKS Plant
MAHN1 Number of days for first reminder/urging letter (expediter)
MAHN2 Number of days for second reminder/urging letter (expediter)
MAHN3 Number of days for third reminder/urging letter (expediter)
APLFZ Planned delivery time in days
UNTTO Underdelivery tolerance limit
EKGRP Purchasing group
NORBM Standard purchase order quantity
MWSKZ Tax on Sales/Purchases Code
NETPR Net price in purchasing info record
WAERS Currency Key
LTEX1_02 Long Text
LTEX2-02 Long Text
LTEX3-02 Long Text
LTEX4-02 Long Text
LTEX5-02 Long Text
LTEX6-02 Long Text
LTEX7-02 Long Text
Regards
Merwyn -
Validity date of condition records (creation of info records using LSMW)
Hello gurus,
we would like to create info records using LSMW with one condition record (PB00). This works fine, we just are not able to influence the validity of the condition record, it's always "creation date until 31.12.9999".
We tried to maintain the fields BKONP-DATAB and BKONP-DATBI, but that did not change anything.
Any ideas on this?
Thanks
AliciaHello Jürgen
and thank you!
One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
Thanks again
Alicia -
Creating info records ME11 LSMW
I am using standard batch input LSMW for creating info records with obj 0060 and program RM06IBI0. In the last step while running session I am getting error as 'Field EINE-EVERS. (shipping instructions ) is not an input field.' Does anybody know why? Is this field not there in ME11 transaction?
resolved
-
IDoc status 51 - LSMW for Creating Purchasing Info Records
Dear All,
My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
Request you guys to resolve the issue....
Solution will b rewarded.. Thanks in advance....I shouldnot use basic type INFREC01 instead of NFRECMASS01.
'coz Within the FM there is a check for basic type like:
check idoc type
if f_idoc_control-idoctp c_idoctp_infrec01. " INFREC01
raise wrong_function_called.
endif.
Even one can go to WE57 and see the basic Type INFREC01 assigned to the FM IDOC_INPUT_INFREC, hence one shud use this basic type... -
IDoc status 51 - LSMW for Creating Purchasing Info Records using IDoc meth
Dear All,
My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
Request you guys to resolve the issue....
Solution will b rewarded.. Thanks in advance....U should use basic type INFREC01 instead of NFRECMASS01.
Within the FM there is a check for basic type like:
check idoc type
if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
raise wrong_function_called.
endif.
Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM -
Create Purchase info record using LSMW idoc method
Hello Friends,
I am trying to update Purchase Info records using LSMW Standard program RM06IBI0.
But it is not updating the condition price details and scale Quantity.
For that the form suggessted LSMW IDOC method. with : Message Type COND_A / COND_A02.
But i dont know is the info record created earlier to this step or else we can create both using this method
at a time ? Does anybody please suggest.
( Actually Purchase Info record created using transaction ME11 ).
Regards,
Phaneendrayou first create the info record and subsequently you load the conditions.
become familiar with the condition tables and its key first. Check How table A017 and A018 are maintained.
Intresting is the field VAKEY which is actually the link to your info record.
This is a combination of vendor, material, purchasing org, plant , and info record indicator.
data: begin of ZZVARKEYA,
ZLIFNR like LFM1-LIFNR,
ZMATNR like MARc-MATNR,
ZEKORG like LFM1-EKORG,
ZWERKS like MARC-WERKS,
ZINFTYP like EINE-ESOKZ,
end of zzvarkeyA. -
LSMW FOR UPLOADING INFO RECORD-ME11 USING RECODING METHOD
Hi Guys,
I am uploading inforecords using LSMW recording method.
While recording I entered net price and other things properly.
When I am running the lsmw, net price filed becoming gray(Non editable) filed and system shows error as "it is not an input filed". But if i try to execute the t-code sepeartely this filed is in editable mode.
Please let me know what is the priblem.
Thanks
DhanuHi Dhanu,
there is the easiest method to do that you can follow the Direct input method the object for info record id 0060 and program is RM06IBI0,
With this method you will not get any problems. it is SAP recommended method.
Bhima -
Hi all,
I need to use LSMW to change infor records, they are standard, consignment and subcontracting info records.
How can I make the system to choose the right info record type? Do I need a recording with these three fields?
NORMB Indicator: Standard info record
LOHNB Indicator: Subcontractor purchasing info record
KONSI Indicator: Consignment info record
Thanks!How do you know which info record you need to change?
Based on what field do you do this decision?
I recommend not to use recordings, SAP has developed LSMW import methods for info records that really work well.
Recordings are only needed if SAP has not given anything in standard, mainly to load data into Z-tables.
I recommend to have a look into the info record tables EINA and EINE
EINE table has only field ESOKZ that determines which type of info record it is. -
Creation of purchase info record
Hi any body pls let me know how we can create purchase info record(me11)
i am an abaper i want to know the functionality in that
let me know the mandatory fields because i have an requirement to create it using
lsmw
thanks in advancehi,
try abap RM06IBI0
A. -
Mass Creation of Material Group Purchase info record
Dear All
Currently we are developing a custom transaction in SAP to mass upload Purchase Info records from a flat file (excel)
We are using the standard Function Module ME_POST_INFORECORD to create the PIR s
We use two different number ranges for Material and Material Group PIR s. This is set up already in SPRO>MM>PIR>Define Number Ranges
Purchasing info record for stock material (Group - IL ) have a number range X
Purchasing info record for material group (non-stock mat.)(Grpup -IN) have number range Y
So when we create a Material PIR manually in SAP it picks X number range and Y number range for Material Group PIR
But when we create Material Groups PIR via the new custom transaction it creates PIR s with Number range X.
Upon checking understood that the standard FM ME_POST_INFORECORD is always defaulting the Number Range Group as IL internally . Seems like a harcoding done by SAP
Wanted to know
- Is there any another FM we should consider while creating Material Group PIR s. Any other Function module provided by SAP for that ?
- Or what can be other way to resolve this ?
Please let me know your views on this.
Regards
ShyamHi,
For mass upload from flat files you can consider LSMW with different options e.g. IDoc:
Message Type INFREC
Basic Type INFRECMASS01
or simply via recording of transaction (this should be using exactly the same NR as you have when doing this manually).
Regards,
Tomek -
Hi,
As the supplier for one of the material type is changed, user wants to create a info records for all the materials of this type against this vendor. Is there any transaction available to create info records for all the materials against a single vendor at one go?
MEMASSIN is not useful as it is only to update or change existing info records.
Regards,
KrutikaHi Krutika,
You can create mass info record through LSMW.
Regards..
Trupti
Maybe you are looking for
-
Fan speed problem Power Mac G5 Dual 1.8 GHz PowerPC - please help
Please HELP, I have a fan speed problem with my Power Mac G5 Dual 1.8 GHz PowerPC This is a NOT an Intel machine. I am running Mac OS X v10.5.8 Power Mac G5 - PowerMac 7,2 - Power PC 970 (2.2) - 1.8 GHz with 2 CPUs - L2 Cache (per CPU) 512 KB - Memor
-
Font book problems 10.9
Hi guys, Can anyone help with this issue of Font Book not loading fonts? They've all gone hideaway since upgrading, and as a graphic designer it's a nightmare as I only have a handful to choose from. I'm on 10.9.2 I use the Adobe CC apps. Help or a l
-
Error Installation Data Provider for Net
When I am installing to the moment of the configuration this mistake happens and Net Manager does not allow to initiate Line parameters of incorrect commands parts from the software based on the work of independent JPEG Group
-
Hi, I hope someone can help. There was something wrong with my Ipad so I had to reset it back to the factory settings. Now the Ipad won't sync to Itunes and only factory installed apps will open. Does this mean that this Ipad is DOA and it is time fo
-
Hello. I rented Photoshop by the month on my old computer, but then the computer died. I have now updated billing info on my new computer to rent it again. Where do I download it?