Material upload LSMW..etc??
Hii experts
Can somebody explain me about the material stocks upload ..etc like cut over strategies with technical module help.
Like earlier LSMW , now its got changed .. what is that like BAPI , BADI..? what it mean , how it will work . what adavantages are there if we compare with LSMW.
Some body explain me about that ???
Thanks
Step-by-Step Guide for using BAPI in LSMW
Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
Introduction:
This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
Pre-requisites:
It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
Step-by-Step Procedure:
Details of the BAPI used in this scenario:
Business Object: BUS2012
Method: CreateFromData
Details of Message Type and Basic IDoc Type:
Message Type: PORDCR
Basic IDoc Type: PORDCR02
Letu2019s have a look at the BAPI first, before proceeding to the LSMW:
1. Go to Transaction BAPI
2. Click on Search Button
3. Enter the value u201CBUS2012u201D and select u201CObj.type(Technical Object Nameu201D
4. Press ENTER
5. Following screen appears:
6. On the left side of the screen, Expand the u201CPurchaseOrderu201D.
7. Select u201CPurchaseOrderu201D and double-click on the same for details.
Building LSMW using BAPI:
1. Go to Transaction LSMW.
2. Enter the Project, Subproject and Object information and click on CREATE.
3. Enter the descriptions for Project, Subproject and Object as prompted.
4. Now select Settings à IDoc Inbound Processing
5. u201CIDoc Inbound Processingu201D screen appears. Enter the required details as shown below:
6. Click on u201CActivate IDoc Inbound Processingu201D.
7. Click on u201CYesu201D when prompted for u201CActivate IDoc Inbound?u201D
8. Hit on u201CBacku201D to return to the main screen.
9. Click on Continue (F8). Following Screen appears:
10. Select the Step 1 u201CMaintain Object Attributesu201D and select u201CExecuteu201D.
11. Select the radio button u201CBusiness Object Methodu201D and enter the following details:
Business Object: BUS2012
Method: CreateFromData
Hit ENTER
12. Save and click on BACK button. Following information message is displayed.
13. Now select step 2 u201CMaintain Source Structuresu201D and click u201CExecuteu201D.
14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on u201CCreateu201D again to create the child structure. Following popup appears:
Select u201CLower Levelu201D and click on Continue. Enter the Item data structure name.
Click Save and hit BACK button to go to the main screen.
15. Select step 3 u201CMaintain Source Fieldsu201D and hit execute.
16. Enter the fields as shown below:
17. Click SAVE and return to main screen.
18. Select step 4 u201CMaintain Structure Relationsu201D and click Execute.
Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
Select HEADERDATA and hit ENTER
Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
Click Save and return to main screen.
19. Select the step u201CMaintain Field Mapping and Conversion Rulesu201D and click on execute. Maintain the Field Mapping as seen below:
20. Select step 7 u201CMaintain Source Filesu201D and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
Save and return to main screen.
21. Select the step u201CAssign Filesu201D and click on Execute.
Assign the file provided to the source structure. Here the same file is provided for both the structures.
Save and return to the main screen.
22. Select the step u201CRead Datau201D and click on Execute.
Click on Execute.
Return to the main screen.
23. Select the step u201CDisplay read datau201D and click on execute.
Click on the structure name to get the field level values.
24. Return to main screen and now select u201CConvert Datau201D.
25. Return to the main screen and select u201CDisplay Converted datau201D.
26. Return to main screen and select u201CStart IDoc generationu201D.
27. Now select the step u201CStart IDoc Processingu201D on the main screen.
28. Return to main screen and click on u201CCreate IDoc overviewu201D. Here the data record and status records of the IDoc could be viewed:
Similar Messages
-
Hi experts
When I run the LSMW for materials upload I am getting this error
"Idoc included in idoc packet containing an error : transfer it separately"
But when I run the LSMW for each material separately it works fine.
Please help me to sort this out.
Thanks
Regardswhat I usually do is run lsmw steps up to 'Display Converted Data', then use sxda to schedule and run a background job, If in ECC 6.0 system, see logs in MM90
-
Hai guys,
I want to upload material using lsmw for material master.i am following all the steps in the lsmw. i am using the batch input method for uploading.If the sales unit is different from the unit of measure..i will be getting the conversions data like numerator and denominator fields.
i am getting the same fields if the issue unit is also different.so i couldnt able to map it correctly with the conversion fields..this repeating fields are not captured in the recording for the target fields.
so i couldnt able to map it.please help me to solve this problem..
with regards,
sathish..Hi,
Please close this duplicate thread..
Thanks,
Naren -
hi friends,
if we use idoc or bapi for material upload.will it create internal material number by itself has it does in bdc
and also plz suggest me which is best method for data upload.
regards
rajits beteer to go uploading with LSMW
for uploading
and in LSME with direct input pethod its the easiest way to upload the data -
Shopping cart created for a MDM material uploaded from MARA
Hello,
I need to create an interfase from ECC6 material master (MARA) to MDM1.0
I can not test the creation of a shopping cart for a catalogue material at the moment.
My question is.
Someone know can confirm me if is possible
. to upload to MDM the "MARA" table
. and the SRM shopping cart will be created for a catalogue material (uploaded from MARA, ECC6.0.
AND the purchase requisition created in the back-end (ECC6) will take the MARA material number not a free text.
I think that this is possible, but what do I have to define in MDM? How MDM will reconize the material number to transfer that information from the shopping cart to the purchase requisition?
Thank for your help.
Cheers,
Marta
Message was edited by:
Marta Canabal MazorraHi Marta,
Check for details under "Loading Master Data"
<u>http://help.sap.com/saphelp_mdmgds55/helpdata/en/ae/82b24265e8b211e10000000a155106/frameset.htm</u>
Regards
Rehman -
I have tried to order a photo book. Both times it uploaded images etc and then after payment details a message pops up saying this album couldn't be processed. Please try again. Has anyone else experienced this? Can the photo books be printed in store?
Your screenshot is not visible.
Anyhow, try a different browser. What were you using?
Firefox is known to work well with the download manager when other browers fail. -
Problem with Addition of z field in Standard Material master LSMW
Hi All,
We have added couple of zfields in material master MARC table also in BMMH1 Structure for lsmw and it is working fine if we go into MM01/MM02 transaction and enter value in Zfields it is getting updated into Marc table.But it is not working when we load through Standard material master lsmw RMDATIND.
We ran RMDATING program also we regenerated the RMDATIND program.Still it is not working.
Anything else need to be done?Any input would be greatful.
Thanks
Raj.Any input on this?
Thanks
Raj. -
Basic Data Upload to MATERIAL Using LSMW is not working
HI All,
we are using LSMW /SAPDMC/SAP_LSMW_IMPORT_TEXTS program to upload the basic text of the material, all steps are executed correctly and shows records are transfered correctly , but the in MM03 the text is not uploading..
EPROC_PILOT - MASTER - TEXT_UPLOAD Basic long text 1line
Field Mapping and Rule
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MATERIAL'.
NAME Name
Source: LONGTEXT-NAME (Name)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = LONGTEXT-NAME.
ID Text ID
Source: LONGTEXT-ID (Text ID)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-ID = LONGTEXT-ID.
SPRAS Language Key
Source: LONGTEXT-SPRAS (Language Key)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-SPRAS = LONGTEXT-SPRAS.
* Caution: Source field is longer than target field
/SAPDMC/LTXTL Long Texts: Row
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = 'L'.
TEXTLINE Text Line
Source: LONGTEXT-TEXTLINE (Text Line)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = LONGTEXT-TEXTLINE.
and at last it displaying as follws
LSM Workbench: Convert Data For EPROC_PILOT, MASTER, TEXT_UPLOAD
2010/02/01 - 10:14:25
File Read: EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.read
File Written: EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
can any one tell us what could be problem
Regards
Channappa SajjanarHi , thanks for your reply,
i run the all the steps .
when i run the program it gives message as follows
Legacy System Migration Workbench
Project: EPROC_PILOT eProcurement Pilot
Subproject: MASTER Master data Upload / Change
Object: TEXT_UPLOAD Basic long text 1line
File : EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0 -
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 - RMDATIND - Material Upload
Dear Experts,
I am trying to us Direct Input Method - 'RMDATIND' for article data uploading but stuck with below error message.
Error Message :
The activity category is not defined
Message no. MG036
Please share your experience to deal with above error.
Thks,Sapahd,
No, this is part of the update function, it is internal to SAP MMprograms. It would generally mean that your data cannot perform the 'change' transaction that you have specified. To give an example, if you were trying to change a material, but the material did not exist, it might give this type of error.
Again, with very little experience, i have a hard time helping. Generically, you should be able to take the data from your file, and manually execute one transaction, with no errors, and no warnings.
Lets wait for the other experts to weigh in.
Best Regards,
DB49 -
Sales view / Tax classification upload in material master - LSMW
Hi All,
While Creating in LSMW using RMDATIND Batch input method for material mater creation . I am getting an error of "you have not fully maintained tax classification" (M172 error message).
LSMW details are as follows:
Project, sub-proj, object : SCIMM,SCIMM,SCI_MM_CREATE
Please suggest the field value mapping section of LSMW and suggest me how to fix the problem.
When I create masters manually, in sales view/tax classification 4 tax categories (3 for CA CTX1,CTX2,CTX3 and one for US UTXJ) are getting populated automatically and I need to key-in only 0 or 1 for tax values (ex material :KCC9800MEKIT for sales org 2000, dc 70, dv 70).
Please sugget me how to fix this issue.
thanks
PRadeepHi Murugesh,
Thanks for your response on this query. I read the link contents.
LSMW TAX classification for materials
In the above thread, you have specified
1. If you have a separate file for tax codes to be applied for different materials then you need to map the records of this file to BMMH2 ( multiple records for a material possible for different countries). Then you need to map BGR00, BMM00 & BMMH1 with another header file with one record for material for the corresponding records on file which correcponds to BMMH2.
I require your help to implement the above step. As mentioned by you, I have 3 tax codes for CA and one for US (2 diff countries) for each material to be maintained in Tax classification.
I have created a main source structure SS which has fields for all views (basic view, sales view, purchasing, plant/sloc and warehouse). I have created a substructure SSTAX for main source structure SS for Tax fields (Aland, taxty,taxm1) and assigned to BMMH2. Will this work or we need to create two source structure (at same level) for this requirement.
I am bit confused on how to link these two input files. I created one record for material xyz in header file and 4 records in tax file (4 tax categories ctx1,ctx2,ctx3 and utxj). How to create one to one relationship working between header and tax file. How the tax file structure will be for 10 material records?
LSMW Direct Input Method RMDATIND tax classification material
In the above thread, I find difficulty to follow your steps for same tax data applicable for all materials.
1.enable the
Extras->DisplayVariant
In LSMW transaction, I find diffculty to locate the above option.
from the menu of the LSMW & check all the check boxes. Now you see the
__END_OF_RECORD__
for the structure
BMMH2which has to be mapped with the input structure in the Maintain structure relations step.
double click on the __END_OF_RECORD__
Again I find difficulty to follow the above step. Please explain me step by step to reach below abap editor step.
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.
Thank you very much for your help and time. I am sure this will be helpful for Pradeep as well.
Thanks and regrads
Varadharajan -
Hi everyone,
In LSMW to create material master, we got another .txt file to create alternate unit of measures. In our example we want to create just one alternate unit of measure, so there are two lines. First line is for base unit of measure, second is for the alternate unit.
The problem is about gross weight of alternate unit of measure. When the gross weights in the first line and in the second line are different, LSMW doesn't read the second line and doesn't create the alternate unit of measure record.
Best regards,
Kaan ÖzdökerText content 1:
154490008 ADT 1 1 3,5 KG
154490008 KL 3 1 3,5 KG
When i "display read data", there exists two BMMH6 structures.
Text content 2:
154490008 ADT 1 1 3,5 KG
154490008 KL 3 1 12 KG
When i "display read data", there exists one BMMH6 structure.
Thanks.
Kaan -
Hello,
we are working on a process to download longtexts from one system and to upload into another system to add missing long text there for different objects.
We are using SAVE_TEXT and it is working fine for documents in DRAW/DRAT.
Here we got what we expected. Long texts are uploaded and can be edited in the
transaction CV02N.
But then we started with material and with BOMs (bill of material).
Result of upload:
STXH is filled with entries but in MM02 and CS02 we cannot see the added long texts.
Seems that the connection between material and bom and their texts is missing.
For BOM we are not totally wrong. If there is a longtext in the BOM we can add longtext (we READ_TEXT the existing longtext and add our text. Then we do a update) and can see the added longtext in CSxx transactions.
But if there is only a short text, our insert via SAVE_TEXT is not working.
Is there something we are doing wrong or don´t we understand something?
Any help is appreciated.
Best regard
DirkHello Naren,
oh, this answer was bringing light into my confusion.
My problem is that there will be some import files with any long text for any object in R/3 like
material with x textids , bom, equipment etc...
Is there any chance to find out easily which text object combination with textid belongs to a specific long text. The TTXID table is only a listing w/o any explanantion???????
Update longtext in BOM header -> set STZU-LTXSP
Update longtext alternative in BOM header -> set STKO-LTXSP
Update longtext in BOM position -> set STPO-LTXSP
And what is the text ID DPO for?
My other problem now is with Material long text import.
I checked the SDN threats but could not find the answer.
This is my abap that is not running for material.
I can see the long text entries from READ_TEXT, but not in STXH and STXL.
zs_textline_c [ ] = zs_textline_b [ ] .
CALL FUNCTION 'INIT_TEXT'
EXPORTING
id = wa_header-tdid
language = wa_header-tdspras
name = wa_header-tdname
object = wa_header-tdobject
IMPORTING
header = wa_header_b
TABLES
lines = zs_textline_c
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = wa_header_b
insert = 'X'
savemode_direct = 'X'
owner_specified = 'X'
local_cat = ' '
IMPORTING
function = l_result
NEWHEADER =
TABLES
lines = zs_textline_b
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'COMMIT_TEXT'.
COMMIT WORK.
Your help is welcome!
Best regards
Dirk
Edited by: Dirk Meinhard on Mar 31, 2009 4:33 PM -
Upload LSMW for Grant Master and Business Partner
Hi,
Does anyone have LSMW' for uploading business partners and Grants
A basic one can be shared. I will build up on that in terms of adding fields etc...
Regards
AnishHi,
As both the Grant master and the business partner have tables in several screens, using LSMW is not recommended.
For the grant master record I'd use BAPI_0035_CREATE - Works better and faster.
LSMW cannot support complicated scenarios, such as adding an alternating number of sponsored classes per grant (for example - one grant has 3 classes and another has 4 classes). The BAPI can solve such problems.
Best regards,
Shahaf Yaari -
Hello LSMW experts,
I want to upload material master from flat file with some Plant and Sales Organization views in single load. But I am not sure how to map the header data (basic data), sales organization and plant data to the tool. Do I need to have separate files for basic data, sales org, and plant?
Is there anybody can help me on this? Thanks in advance.
Zamrihi,
Check this link for uploading material master in LSMW using RMDATIND direct input program..
http://help.sap.com/bp_blv1500/BL_US/documentation/LSMW_EN_US.doc
~~Guduri
Maybe you are looking for
-
How to make the bank clearing entry in SAP without uploading the Bank statement
Hi All I am working on a project where we use SAP FSCD for making payment out for Claims . Now when we make the claims payout we clear the open items in FSCD using the FPYI run ( Payment run) and produce an output file. Now the payment run creates th
-
I have had my iPod Touch 5th generation for over a year, and recently I have began to experience issues when trying to charge it. I would have to wiggle to cable, or position it, to get it to charge. It has gotten progressively worse, and now it wont
-
Placing music in a slideshow - can't move it where I want it
I'm so frustrated...I'm doing a wedding slideshow; first time with the new version of iMovie. I am trying to place a second song in the slideshow, and I want it to start in the middle of one of my "fade out" transitions. But when I try to drag it, it
-
hi sir am using FCP 7 on Mac Pro. I Want export more than 2 hrs file like 2.30 min Movie. But my My FCP is allow only 2 hr video to export can u help me how can i do.
-
Can Xpath be used in LiveCycle Designer ES?
Is it possible to use xpath in LiveCycle Designer ES? Thanks.