Using IDOCS or LSMW can we achieve
HI Experts,
I have a Excel with material data as below
Material_Number Material_Group_Num amount
111111111 33333333333 11111.00
222222222 44444444444 22222.00
444444444 55555555555 33333.00
I have to update in the SAP Tables, for a particular material_Number the material_group_num has to be updated
Any idea or Suggesion
Thanks
Madhu
The below is my actual requirement
From the business Users i will get a XL Sheet with all the data, the xl sheet contains
Material_Number Material_Group_Num amount
111111111 33333333333 11111.00
222222222 44444444444 22222.00
444444444 55555555555 33333.00
Based on the master Number i have to update only the master group fields in SAP tables
I need a data service job to do this, i know what option need to be given in idocs to update a particular field, i need the whole flow of the job
Please let me know
Thanks
Madhu
Similar Messages
-
when iam using idocs in lsmw, for custom defined message type iam getting an error saying that 'Event code for the specified message type could not be determined. Create partner definition for the specified message type manually'.
How to solve this. How and where to create partner definition manually.Hai Lavanya
Check This Link
LSMW
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Thanks & regards
Sreeni -
Upload material using idoc in lsmw
hi ,
i m trying to upload material using idoc inbound processing in lsmw. but whnever i m giving partner name as lsmw & port name as lsmw (even i tried with different name also ). it gives error like port does not exits.
regards,
swapnilHi ,
Please foloow Link:[Check|http://****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm]
Regrads
Jana -
How to upload data using idoc in lsmw
plz let me know how to upload material using idoc using lsmw. urgent
Hi Vrishali,
refer to the link below:
http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
Hope this helps.
Reward if helpful.
Regards,
Sipra -
Update the "remark" field in general data of a BP (using IDOC in LSMW)
Hi,
I have to create and udpate BP with comments in the general data. I have no problem to manage this field in creation mode. I only use the segment "E101BAPIAD_REM" from the "CRMXIF_PARTNER_SAVE_M02" Idoc basic type. I fill the following fields: "LANGU, LANGU_ISO, ADR_NOTES".
However in update mode I don't success to update the value for the field "REMARK". I use the second segment "E101BAPIAD_REX" and i fill only field "ADR_NOTES" with value "X" and "UPDATEFLAG" with value "U".
I tried several value and several cases but i failed each time. If anybody has already managed this data with IDOC I would be very interesting...
regards,
Fabrice Mouyebe.Hi Thirumala,
thank you for your answer but you speak about the field "AddressGUID" of E101BUS_EI_ADDRESSREMARK but I haven't this field at this level. This field is linked to the segment "E101BUS_EI_BUPA_ADDRESS_KEY", isnt'it ?
Effectively i have certainly a problem with the Address GUID. I have to test it because it doesn't work with only UPDATEFLAG at 'X' and CURRENT_TASK too.
Thanks,
fabrice. -
I tried to to use IDoc in lsmw.In 13th step i got an error "Partner profile not generated for message type ........".In Inbound Idoc processing what to do?pls give the steps to proceed
hI
Settings for IDoc inbound processing
This can be obtained from the initial LSMW screen Menu: Settings  Idoc Inbound Processing
Specify the following:
File/tRFC port
Partner Type
Partner Number
These can be maintained by clicking on the respective buttons on the right.
Click on the Activate IDoc Inbound Processing button after entering all the
details above. -
i want to use firefox to login a website ,in the same window and different tags can user the same session
but when i open other window and login the same website use different account .
how can i achieve it ? thinksYour problem has nothing to do with the faults or limitations of a web browser.
''There can be only ONE active user logged in on a specific website during a whole Browsing Session. Even if you try to log-in using a new window it will sign-out the earlier User ID from that website. It will keep the most recent logged-in User ID active.''
This is the general policy on which all websites are built. Even if you try to login the same website from another web browser, you won't be able to login from the second platform either. I just check it. Tried on Mozilla and Internet Explorer. -
Hi Using IDOCs with LSM Workbench????
Hello,
I wanted to use IDOCs as one of the methods with the LSM Workbench. I am going to load the data from flat file to a transaction in CRM. I am just curious to know that how do I go forward with it. The first step of LSM Workbench is asking Message Type, Basic Type, Enhancement and structure assignment for EDIDC40. I have used other methods such as Direct input and Batch input. I have not used IDOCs with LSMW. Is it possible that you can give me the steps what we have to follow in order to set up the IDOCs and then use it with LSMW.
I will really appreciate if you can give me the steps or give a link which shows steps of LSMW with IDOCs..
Thanks much.
Warrenhi warren,
first u have to configure the partner profile in lsmw
lsmw->settings->idoc inbound processing.
then u have to choose the basic type message type all those stuffs.if u have any enhacement u can use it or else leave it blank.
lsmw->settings->idoc inbound processing.
partner profile..
File port IDOC_TEST
tRFC port
Partn.type KU
Partn.number 106
Message type ORDERS Purchase order / or
Basic type ORDERS05 Purchasing/Sales
enhancement blank
tick it. Enable structure relation for EDIDC40
steps are:
Maintain object attributes
Maintain source structures
Maintain source fields
Maintain structure relations
Maintain field mapping and conversion rules
Maintain fixed values, translations, user-define
Specify files
Assign files
Read data
Display read data
Convert data
Display converted data
Start IDoc creation
Start IDoc processing
Create IDoc overview
Start IDoc post-processing
please don't forget to reward points....
regards,
murali. -
LSMW - Sales Order creation using IDoc
Hello,
I'm receiving a file containing different category of products and need to create a sales order (using IDoc or BAPI) per category. The input file contains UPC code, I use a SELECT statement to check the category and append the UPC code to the specific internal table .(one internal table per category). The issue I have is to do loop in all internal table and then to create a sales order. I have some difficulties to update item segment. Only one UPC is populated to the required segment. Please let me know if this could be done using LSMW.
Thanks ! Thanks ! Thanks ! Thanks !
MehdiYou can use program RVINVB10 ( Direct Input ) to create Sales Order , Before you run this program you will have to create a file with data in specific format.
Read the documenatation of the program.
LSMw can help in formatting the data but beetr write your own progarm to format data and then run above program as LSMW has limitations and I am not sure what type of file you are getting. In you custom program you will have more control.
Cheers. -
Creating a BP in CRM through LSMW using IDOC
I am trying to create a buss partner in crm through LSMW using IDOC:
Message Type: CRMXIF_PARTNER_SAVE_M
Basic Type: CRMXIF_PARTNER_SAVE_M02
I get an error: "No update is defined for BP role 000000".
I am also filling
IDENTIFICATIONCATEGORY: CRM001
IDENTIFICATIONNUMBER: 12345678
However i get this error only if the external ID does not exist in table BUT0ID.
otherwise if the external ID is present in table BUT0ID and the object task is "U"pdate, the BP is saved.
Has anybody worked on BP creation using IDOCs? If yes please guide me.Hi,
This Check Box is required for Archiving Business Partners from the System. You can have a full idea about the same from the link below [Archiving Business Partners|http://help.sap.com/saphelp_crm60/helpdata/en/52/cff837a9aae651e10000009b38f8cf/frameset.htm]
Also have a look at the following [Introduction to Data Archiving (CA-ARC)|http://help.sap.com/saphelp_crm60/helpdata/en/8d/3e4c11462a11d189000000e8323d3a/frameset.htm]
Hope this helps.
Thanks,
Samantak. -
Steps to migrate lsmw using Idocs
hello i need to migrate lsmw using idocs ?can anybody please tell me the ateps in idoc method
It's very urgent , help plz.
Thanks in Advance
jdkumargoto--> lsmw.
settings--->idoc inbound processing
here enter file port, trfc port, partner name.
then follow below steps(as suggested above by a frnd)
Project : 060_BUS_TRANS
Subproject : SERVICE_TICKET
Object : SRV_TICKET_ZSVT
click on the execute button .you will reach the screen :
The screen shows the 15 steps to Run the lsmw
Step 2) select the first step ( Maintain object attributes) and click the execute button.After clicking on the execute button you will reach at. the screen
Here you have to specify ( Message type and basic type)
click on the BACK button
Step 3) select the 2nd step ( Maintain source structures) and click the execute button
Here you have to specify the source structures.
Step 4) Select the 3rd step ( Maintain source fields) and click on the execute button :
Here you have to specify the fields present in the source structure
Step 5) select the 4th step ( Maintain structure relationship ) and click on the execute button :
Here you have to specify relationship between source and target structures
Step 6) select the 5th step ( Maintain field mapping ) and click on the exécute button :
Here you have to map the fields between source and target structure. Also you have to apply conversion rules here if any
STEP 7) select the 6th step and click on the exécute button
Here you can define any fixed value or user define routines
Step 8) select the 7th step ( Specify files) and click on the exécute button :
At This screen we have to specify the files for This we should be in change mode .So please click on the button shown in the above screen. After clicking on This button you will be in change mode and will be able to specify the files :
Step 9) select the 8th step ( Assign files) and click on the exécute button
For assigning files yoy should be in change mode do the same thing click on the button as shown in the above screen :
Then assign the files to different structures.
Step 10 ) select the 9th step ( Read Data) and click on the exécute button :
After clicking on the exécute button you will reach to the screen
Again click on the exécute button . After clicking on the exécute button you will reach to the next screen
Here you will see data is read.
Step 11) select the 10th step ( Display read data) and click on the exécute button :
Here you can see your test data present in test files assign to source sturcture
Step 12 ) select the 11th step ( Convert data) and click on the exécute button :
After clicking on the exécute button you will reach to the screen
Click on the exécute button as shown on the : After click on the exécute button you will reach to the next screen
Data is converted
Step 12th ( Display converted data is same as Display read data )
Step 13 ) select the 13th step ( Start idoc generation) and click on the exécute
button :
At this step Idoc is generated using converted data
Step 14) select the 14th step ( Start idoc processing ) and click on the exécute button :
After clicking on the exécute button you will reach to the screen :
And then click on the exécute button : After clicking on the exécute button you will reach to the final processive screen
If data is processed correctly you will see ( 53 Status message with green sign -
Difference between lsmw using BAPI & lsmw using IDOC?
HI everybody
can anybody tell me difference between lsmw using BAPI & lsmw using IDOC?IDocs and BAPI are very different, so it should be easy to choose between them depending on your requirements.
IDOCS
Advantages
System can work even if target system not always online. The IDoc will be created and sending will just continue once you get connected to the other system.
No additional programming required. You just need to set up the configuration.
Disadvantages
Receipt/processing on the target system may not be immediate.
The sending system has no way to know whether the target system actually received what you sent (unless you use ALE).
If there is no SAP standard IDoc available for your requirement, it's harder to create a customized IDoc than a customized BAPI.
BAPIS
Advantages
You can tell if your sending was successful or not
Sending to/processing on the other side is immediate
Easier to create your own BAPI than your own IDoc
Disadvantages
Will only work if you have an active online connection.
Some programming required to call the BAPI.
Others interface methods you might also want to consider are ALE and RFCs. -
Urgent : LSMW using Idocs
Hi Friends...kindly send me step by step procedure on how to do LSMW using Idocs only. I know how to do LSMW using all other methods other than Idocs. So
Kindly send me procedure or any good document on LSMW using Idocs. Thanks in advance.Hi Satyesh T
Go through the following Steps for LSMW Using IDoc
Inbound Processing of LSMW Via IDOC's
Step1) Create the Partner Profiles & Port for Inbound Process and Ctivate the Inbound Process for LSMW.
a) Goto Tcode SALE
1) Create Logical System for Receiver Save & Come Back
2) assign Logical to Client for LSMW inbound Process
b) Goto Tcode SM59
1) Create RFC Destinations for ALE
c) Goto Tcode WE21
1) Create a file port which can read the data from the specified path.
Here select "FILE" Node --> Click on Create Button(F5)
Give the following Information
Port : FILE
Desc : File Port for Inbound Processing of LSMW Via IDOC's
Goto Outbound File Tab.
Select Logical Directory Radio Button.
Give LOCAL_TEMPORARY_FILES as Logical Path.
If it is Physical Pthat : C:\TEMP\Filename.
Goto Tcode LSMW
===============
Give Project : ZPROJECT
SubProject : ZPROJECT
Object : ZPROJECT
Click on Create Button
then goto Settings Mwnu
Click on IDoc Inbound Process.
Here you need to Pass File Port : File
Partner Type : LS
Partner No. : Port Name (Just Created from WE21 Tcode)
Save And Click on ACTIVATE IDOC INBOUND PROCESS
Save and Come Back.
1) Click on Execute(F8) 1 Maintain Object Attributes
Select IDoc(Intermediate Document)
Message Type : MATMAS
Basic Type : MATMAS05
Save & Come Back
Then Your Getting the following Steps need to Do
2 Maintain Source Structures
3 Maintain Source Fields
4 Maintain Structure Relations
5 Maintain Field Mapping and Conversion Rules
6 Maintain Fixed Values, Translations, User-Defi
7 Specify Files
8 Assign Files
9 Read Data
10 Display Read Data
11 Convert Data
12 Display Converted Data
13 Start IDoc Generation
14 Start IDoc Processing
15 Create IDoc Overview
16 Start IDoc Follow-Up
2) Select the 2nd Radio Button & Execute.
Click on Create Button.
Source Structure : ZE1MARAM
Description : XXXXXXXXXX
Click on Continu Button
Select Just Created "Source Structure : ZE1MARAM"
Again Click on Create Button this is your Second Source Structure.
Source Structure : ZE1MAKTM
Description : XXXXXXXXXX
It Asks the Same Level or Lowerlavel of Source Structure : ZE1MARAM
select Lower Level Radio Button.
Click on Continue Button
Save & Come Back.
3) Select the 3rd Radio Button and click on Execute Button
Select the first Source Structure
Click on Copy Button
Select the Third Radio Button
Click on Copy Button
Give the Tab Name is E1MARAM
Click on Continue Button.
Save this
Go bottom
Select the 2nd Source Structure " ZE1MAKTM"
Click on Copy Button
Select the Third Radio Button
Click on Copy Button
Give the Tab Name is E1MAKTM
Click on Continue Button.
Save & Come Back.
4) Select the 4TH Radio Button and click on Execute Button
Select E1MARAM -->Click on Relationship Button
Here A Small window comes then Select ZE1MARAM
Click on Continue Button.
Select E1MAKTM -->Click on Relationship Button
Here A Small window comes then Select ZE1MAKTM
Click on Continue Button.
The Above two Structure are appears in Blue Color
Save & Come Back.
5) Select the 5TH Radio Button and click on Execute Button
First Structure : EDI_DC40 this is Control Record of your IDoc.
after this you will find a Structure "E1MARAM" this is in Orange Color Remember
Select MSGFN Field and Click on Source Field
a New window will comes here select the ZE1MARAM-->MSGFN field and double Click on it.
Select MATNR Field and Click on Source Field
a New window will comes here select the ZE1MARAM-->MATNR field and double Click on it.
Select MTART Field and Click on Source Field
a New window will comes here select the ZE1MARAM-->MTART field and double Click on it.
Select MBRSH Field and Click on Source Field
a New window will comes here select the ZE1MARAM-->MBRSH field and double Click on it.
Select MATKL Field and Click on Source Field
a New window will comes here select the ZE1MARAM-->MATKL field and double Click on it.
Select MEINS Field and Click on Source Field
a New window will comes here select the ZE1MARAM-->MEINS field and double Click on it.
Select GEWEI Field and Click on Source Field
a New window will comes here select the ZE1MARAM-->GEWEI field and double Click on it.
Save This.
Go Bottom.
you will find a Structure "E1MAKTM" this is in Orange Color Remember
Select MSGFN Field and Click on Source Field
a New window will comes here select the ZE1MAKTM-->MSGFN field and double Click on it.
Select SPRAS Field and Click on Source Field
a New window will comes here select the ZE1MAKTM-->SPARS field and double Click on it.
Select MAKTX Field and Click on Source Field
a New window will comes here select the ZE1MAKTM-->MAKTX field and double Click on it.
Save and Comeback.
Create Your Flat Files Like he following Format. and save it in C:\TEMP folder Only
1st File : MARA.TXT
001 MAT001 COUP C 15 KG 01
2nd File : MAKT.TXT
001 EN New Material For Inbound Processing of LSMW Via IDOC's
6) Select the 6TH Radio Button and click on Execute Button
We don't do any process here Just Come Back.
7) Select the 7TH Radio Button and click on Execute Button
Click on Legacy data : Click on F5 Button.
Add Two Files 1) C:\TEMP\MARA.TXT
2) C:\TEMP\MAKT.TXT
Select Tablator Radio Button as Delimiter
Save & Come Back.
8) Select the 8TH Radio Button and click on Execute Button
Select ZE1MARAM Structure and Click on Assignment Button
Save this
Select ZE1maktm Structure and Click on Assignment Button
Save and Come Back.
9) Select the 9TH Radio Button and click on Execute Button
Click F8 Button.
Check the Read Dada
10) Select the 10TH Radio Button and click on Execute Button
Click F8 Button.
Check the Display Read Data.
11) Select the 11TH Radio Button and click on Execute Button
Click F8 Button.
Check the Convert Data.
12) Select the 12TH Radio Button and click on Execute Button
Click F8 Button.
Check the Display Convert Data.
13) Select the 13TH Radio Button and click on Execute Button
Click F8 Button.
14) Select the 14TH Radio Button and click on Execute Button
This is WE05 Tcode Screen Start IDoc Process.
15) Select the 15TH Radio Button and click on Execute Button
This is WE05 Tcode Screen Creating IDoc Here
16) Select the 16TH Radio Button and click on Execute Button
Select Posting Radio Button(that is 5th Button)
then Click on F8 or Execute Button.
After this your will check your Material exist in receving Side or Not.
Thanks & Regards
Sreeni -
Hi All,
I am new to LSMW and want a simple tutorial for using LSMW using Idocs and BAPIs. I have found many useful tutorials for Direct Input and Batch Recording. If anyone can give me link or a tutorial for using lsmw with idocs and bapis it will be of great help.
Thanks in advance.
archishHi,
is step by step process .
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
Lets 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 BUS2012 and select Obj.type(Technical Object Name
4. Press ENTER
5. Following screen appears:
6. On the left side of the screen, Expand the PurchaseOrder.
7. Select PurchaseOrder 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. IDoc Inbound Processing screen appears. Enter the required details as shown below:
6. Click on Activate IDoc Inbound Processing.
7. Click on Yes when prompted for Activate IDoc Inbound?
8. Hit on Back to return to the main screen.
9. Click on Continue (F8). Following Screen appears:
10. Select the Step 1 Maintain Object Attributes and select Execute.
11. Select the radio button Business Object Method 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 Maintain Source Structures and click Execute.
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 Create again to create the child structure. Following popup appears:
Select Lower Level 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 Maintain Source Fields and hit execute.
16. Enter the fields as shown below:
17. Click SAVE and return to main screen.
18. Select step 4 Maintain Structure Relations 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 Maintain Field Mapping and Conversion Rules and click on execute. Maintain the Field Mapping as seen below:
20. Select step 7 Maintain Source Files 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 Assign Files 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 Read Data and click on Execute.
Click on Execute.
Return to the main screen.
23. Select the step Display read data and click on execute.
Click on the structure name to get the field level values.
24. Return to main screen and now select Convert Data.
25. Return to the main screen and select Display Converted data.
26. Return to main screen and select Start IDoc generation.
27. Now select the step Start IDoc Processing on the main screen.
28. Return to main screen and click on Create IDoc overview. Here the data record and status records of the IDoc could be viewed:
Please Go through these Links ,
BAPI with LSMW
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
For document on using BAPI with LSMW, I suggest you to visit:
http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
http://myweb.dal.ca/hchinni/sap/lsmw_home.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
lsmw-idoc method:
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Regards -
hi,
can any body give me step by step procedure for implementing lsmw tool using idocs.something which srinivas gave regardind lsmw using direct method is very useful but i need lsmw using idocs.
thanx in advance.....
Praveen.NekkantiHi Praveen,
I have made a presentation on this topic which is very straight forward and step by step.
Could you please provide me with your email id. I will forward the presentation to you.
Also, please reward some points if it helps you.
Regards,
Amit M. Mishra
Maybe you are looking for
-
How to reflect auto-rebranding of Sales Order in SNP Planning?
Hi Experts, We have a scenario wherein we have branded product and unbranded product. -Customers are billed for branded product -Demand Planning forecast for the branded product -Invetory will be on unbranded product and I can say that we plan for t
-
Is there an application that will allow me to control my iphone from my macbook?
i'd like to use my macbook to do all the setup and what not vs the small keyboard on screen. Maybe im a few years ahead of my self here but i've been a mac user since my apple se with 2 YES TWO FLOPPY DRIVES!!!! i'll admit after we left OS9 i began
-
As a user of Chrome in linux, there are still some things that are broken. For example, whenever I load a PDF, most of the time the Docs PDF Viewer extension will display it properly. However, there are still times where the PDF doesn't load properly
-
Sales volum for extended rebate agreement
HI All, i made an extended rebate agreement and asales order accordein to this agreement, dleivery and billing then i returned back to the agreement to make settlement but i found this massage (( The sales volume for agreement 131 is not current)) i
-
Hi I always had problems with DW layout using CSS with DIV tags. In the old day, layout with tables, I can put images and text anywhere I want. But with DIV tags I have no choice, Images will be float left or right of page and creating 2 columns or