2008 Feb 28 5:39 AM
Hi all,
I m doing LSMW for MM01, I have done validation for some fields.e.g. New material no. shud not exist in mara table.
If it exist , i m skipping that record.
But I want those skipped records to re-upload it.
How do i get those records?
Hi all,
I m doing LSMW for MM01, I have done validation for some fields.e.g. New material no. shud not exist in mara table.
If it exist , i m skipping that record.
But I want those skipped records to re-upload it.
How do i get those records?
2008 Feb 28 5:41 AM
You need to store them manually in some z table, or else instead of skip put it into error record by making matnr or any other key field blank or so....
Reward if useful
2008 Feb 28 5:44 AM
Hi,
Not clear about your query. How can you re-upload the skipped records which already exist on your SAP system. Means, can you create a material manually by MM01 which already exist on your SAP system?
Regards, Murugesh
2008 Feb 28 6:05 AM
No ,I mean those records shud be stored somewhere in internal table so that i wil know which records are skipped.
2008 Feb 28 6:11 AM
Hey,
Why dont u try like this.
Create an Internal table wich can hold all the Skipped records
Of the mara table. This u can write in Routine of the 5th Step
of LSMW.
Then Loop that Inetrnal table to upload the same to the table.
Try this.
Regards.
2008 Feb 28 6:29 AM
Hi,
In 5th step Field mapping and Rule:
1.__GLOBAL_DATA__: Global Data Definitions and Declarations
Declear the data object for file path.i.e
data: p_file type pathextern value <file path>(application server file path).
2.__BEGIN_OF_PROCESSING__ before Data Processing Starts
open dataset p_file in text mode encoding default for output.
3. __BEGIN_OF_TRANSACTION__ Before Transaction Processing Starts
check materisl If it exist
Concatenate <f1> <f2> into <wa> separated by 'field separator'.
transfer <wa> to p_file.
Skip that record.
Finally check the skipped records in application server file path.
Reward if useful
2008 May 05 12:36 PM
hi
In lsmw how to handle masterdata and item data ? What are the neccessary step have to follow?
2008 May 05 12:50 PM
hi guru's
IN LSMW how to make make an field as mandatory? how to provide validation ?
what are the possible validation have to provide? plz send me exact answer with required coding ? plz very urgent (don't provide any link )?
kiran
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |