How to develop an idoc related lsmw
hi all,
my name is t.balaji and i belong to sap sd and i dont know how to develop and i doc related lsmw.
hi balaji,
1. TCode: LSMW.
2. Enter Project name, sub project name and object name.
Execute.
3. Maintain object attributes.
Execute
select Batch Input recording
go to->recording overview
create
recording name.
Enter transaction code.
Start recording
do recording as per ur choice.
Save + back.
Enter recording name in lsmw screen.
Save + back
Now there will be 14 steps.
2. MAINTAIN SOURCE STRUCTURES.
Here you have to enter the name of internal table.
Display change
create
save + back
3. MAINTAIN SOURCE FIELDS.
Display change
select structure
source_fields->copy fields.
A dialogue window will come.
Select -> from data file
apply source fields
enter No. of fields
length of fields
attach file
save + back
4. MAINTAIN STRUCTURE RELATIONS
display change
save + back
5. MAINTAN FIELD MAPPING & CONVERSION RULE
display change
click on source field, select exact field from structure and enter
repeat these steps for all fields.
Save+back
6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
execute
save + back
7. SPECIFY FILES.
Display change
click on legacy data
attach flat file
give description
select tabulator
enter
save + back
8. ASSIGN FILE
execute
display change
save + back
9. IMPORT DATA.
Execute
display change
save + back
10. DISPLAY IMPORTED DATA
enter ok, it will show records only.
Back
11. CONVERT DATA
execute
display change
save + back
12. DISPLAY CONVERTED DATA
execute
display change
save + back
13. CREATE BATCH INPUT SESSION
tick keep batch input folder
F8
back
14. RUN BATCH INPUT SESSION.
SM35 will come
Object name will be shown here
select object & process
"Reward points if it helps"
Rajesh
Similar Messages
-
Hi,
I'm a beginner to ALE/Idoc.Can Someone explain with an example How to Send an IDOC Using LSMW transaction for materials.hi
please go through the following links.
http://www.****************/Tutorials/LSMW/LSMWMainPage.htm
http://www.****************/Tutorials/LSMW/Routines/Page1.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/178ac72d3011d3bc3500105a6588b2/frameset.htm
http://****************/Tips/LSMW/LSMWMain.htm
Thanks and regards. -
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 -
How to send vendor IDOC data from SAP R/3 to XI.
Hi experts,
I have developed the IDOC to FILE scenario for Vendor Master Upload. I want to place flat file in local folder with in XI or Outside of XI. (Using NFS or FTP protocol in FILE adapter). My First quesstion is How to setup Folder with in XI ro Out side XI?
And also I want to push the IDOC from SAP r/3 to test the scenario. Both XI and R/3 systems are configured to exchange data.
How to Push Vendor IDOC from SAP R/3 to XI? (we can send XML directly to XI; but the R/3 kernal should be moe than 6.20).
Thanks in Advance.....Hi,
>>My First quesstion is How to setup Folder with in XI ro Out side XI?
Its a normal way to creation of folders in Os level . u can create the folder in XI Server or on the FTP Server.
ALE Settings
Steps
SAP XI
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (IDX1)
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Load Meta Data for IDOC (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
SAP R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
In SLD System Landscape Directory
TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
Ts for Third Party (Logical system):-
BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
BS for Third Party (Logical system):-Enter the XI logical system name.
In Transaction SALE
Define and Assign the logical system name.
IDoc-XI-File scenario
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
Posting the IDOC from R/3 to XI
/people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
REgards
Seshagiri -
Regarding how to create custom IDOC?
hi experts:
thank you all in advance for all your answers . .
I am studying Idoc, Would you please give me an example about how to create custom IDOC , and the basic idea, what's more , give me some material I can refer to . couldn't thank you more
Best regards
FrankSteps To Create Custom IDOC
1.Create Segment Type (WE31)
Go to Transaction code WE31
Enter Segment type, click on Create
Give Description
Enter the Necessary Fields & Data Elements for those Fields.
Save the Changes.
2.Create Idoc Type (WE30)
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
3.Create Message Type (WE81)
Go to transaction code WE81
Change the details from Display mode to Change modenAfter selection, the system will give this message The table is cross-client (see Help for further info). Press EnternClick New Entries to create new Message Type
Fill details
Save it and go back
4.Assign Idoc Type to Message Type (WE82)
Go to transaction code WE82
Change the details from Display mode to Change moden After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
You will get step by step process.
ABAP Development
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
http://help.sap.com/saphelp_45b/helpdata/en/35/b0ea5187a62488e10000009b38f9b7/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c4/6bc368fef411d28d0900104b56737d/frameset.htm
ABAP Development
Follow below steps to create custom IDOC.
1.Create segments through transaction WE31.
2.Create IDoc Type through transaction WE30 by attaching created segments.
3.Message type through transaction WE81.
4.Link Idoc and message type in WE82 transaction.
Check the transaction WEDI for ALE settings
Check these links for more details on IDoc's:
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
ALE/ IDOC/ XML
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
IDOC Convertion
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
i need a sample code regarding to create a custom IDOC...
Reward points... -
How to find table having relation between opportunity and activity
Hi All,
I need to develop an ABAP report where when the user logged in runs the report. The report finds all opportunities to which the logged in user is the sales representative and find out the number of activities attached to the opportunity.
Only completed activities should be counted. Show the count of the activities based on their category.
The output should be in form of an ALV where the columns are:
1) Sales representative
2) opportunity number
3) count of call tasks
4) count of quote tasks etc.
I need to cross check as to what categories are available to follow up tasks(BUS2000125) to an opportunity(BUS2000111) and based on that add or remove the columns specifying the count.
Here
1. How can I find out opportunity data associated to logged in user?
2. How to get activity data related to opportunity?
Thanks,
Anup Gargdone
-
Dear all,
I have some problem in idoc related issuses.i preparing technical documents from FS.
There are some filds coming from the client system to sap systmm,.there r nearly 7 field(parent).
And 9 fields (childs).this is from cls to WBI . I have to conclude TO fileds fromWBI to sap.
How can I pick the fields , shall I send all the fields or some paticuler fields only.. can any one
regars
vcHi Libin,
As for finding your needed idoc.
1. Choose the transaction WE09 (SAP Menu ® Tools ® IDoc Interface/ALE ® Administration ® Services ® IDoc Search by Contents ® WE09).
2. Choose the Data Source button to specify whether you want to search for IDocs from the database or the archive (or both) .
3. If you have set the u201AArchiveu2019 flag, you can select files in the archive information system, or manually.
Regarding to the steps to trigger an idoc , search SDN. But before that you will need to do ALE settings.
http://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b815e43d711d1893e0000e8323c4f/frameset.htm
Rgds
joel
Edited by: joel trinidade on Feb 23, 2009 5:46 PM -
How to create Inbound Idoc from XML file-Need help urgently
Hi,
can any one tell how to create inbound Idoc from XML file.
we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml' we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
Please let me know the process to trigger inbound Idoc with out using XI and any other components.
Thanks in advance
Dora ReddyHi .. Did either of you get a result on this?
My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
I see lots of mention of using a Function Module.
Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
Or is there something tht can be done with Standard SAP?
Thanks
Lee -
How to import the IDOC into Seeburger BIC mapping designer
Hi All,
Can u please tell me how to import the IDOC into Seeburger BIC mapping desginer.
I have scenario My scenario is SAP GTS 7.0.....>Seeburger BIS.....>Atlas customs system for Germany
Idoc coming from SAP GTS to Seeburger BIS and then convert to EDIFACT send
to Atlas systeam.
Regards,
Ramesh.Hi Ramesh
BIC is a tool from Seeburger to transmit the XML data to EDI and EDI to XML.
Seeburger mapping programs for transferring the XML data to EDI data and EDI data to XML data, but not for the structure changing, in the IR your mapping program is same.
Receiver side you need AS2 Adapter for converting data to EDI target structure. we have many EDI versions are available, for converting the EDI to XML or vice versa AS2 gives some default mapping programs, xml to EDI or EDI to XML convertion done through this mapping programs.
Seeburger AS adapter provider provides some mapping programs(for example EDI4010 version or other), if you are using the same EDI version(4010) then you can use that mapping programs, if the version is different then we can manually generate the Seeburger X2E and E2X mappings for the corresponding version and signal(850 or 810 or ..), for this seeburger provides the mapping designer tool (BIC), there we can develope the X2E and E2X mapping programs and configure this in the Seeburger work bench.
Regards
Ramesh -
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 -
How to develop Dreameaver CC2014 CEP 5 extensions?
Hi,
I am reading about the new CEP for CC 2014, and oh it's very exciting. To think that i can write extensions in InDesign and Photoshop using the most up to date HTML5 methods...that's crazy. angular, jQuery...all the goodies.
I'm struggling with understanding how to make this work for DreamWeaver 2014 CEP. seems like anything that i place under %AppData%\Roaming\Adobe\CEP\extensions
does not become visible in DW. what's more, it seems like the customizations available for DW - changing menus, adding items, inspectors, don't have all these gold, still using the old engine.
Anyone can tell how to develop CEP 5 extensions for DW? is html5/node available? where do i place them? can i affect the DW menus/items/inspectors using this method?
pointers?
Thanks,
Gal.Hi Preran,
Thanks for the info, however it is not exactly what i am looking for. I would like to know how to develop using CEP5 (with nodeJS and HTML5).
The CS5/CS5.5 help file is very good on extending DW, however it does not refer to the CEP additions...and just placing html5 or node js instructs in the various customization options does not seem to work.
The CC_Extension_SDK provides info on extending via CEP, only it's CEP4. It includes DreamWeaver, however it refers only to flash extensions (when it comes to DW) which are about to be deprecated and in their DW CC method.
The info that i don't have here is how to create extensions in HTML5/NodeJS for Dreamweaver CC 2014. namely - where to place the exertions code (placing in the common CEP does not seem to work). or how does this relate to the move from extensions to add-ons in DW, etc.
Thanks,
Gal. -
Creating Inbound IDoc Using LSMW
How to create the inbound IDoc using LSMWu2026
For example
Input is Flat filesu2026.
I created custom IDoc with header and items
Structure looks
Header 1
Item 1
Item 2
Header 2
Item 3
Item 4
Header 3
Item 4
Item 5
u2026u2026.
u2026u2026.
u2026u2026..
Do I need to create different flat files (item level & Header level) as input while creating IDoc using LSMW ??
Can some one guide me on thisu2026with best way to create IDoc using LSMW with flat fileu2026.
Rameshcan you please help me ... how input file to LSMS looks ..Sample file is helpful...
My Structure
E1EDK01 < Header Data
E1EDK14 < Header Data
E1EDK14 < Header Data
E1J3K03 < Header Data
E1EDK05 < Header Data
E1EDK05 < Header Data
E1EDKA1 < Header Data
E1EDKA1 < Header Data
E1J3P01 < Header Data
E1J3AIM < Item Data
E1EDP20 < Item Data
E1J3P01 < Header Data
E1J3AIM < Item Data
E1EDP20 < Item Data
Header had 3 segement E1EDK14 E1EDK05 & E1EDKA1 repeating twice.... i am facing prolem with this
What Structure format i used for above segement in LSMW and what file format i should use..for input to LSMW...
Edited by: Ramesh on Mar 25, 2009 1:26 AM
Edited by: Ramesh on Mar 25, 2009 1:41 AM
Edited by: Ramesh on Mar 25, 2009 1:44 AM -
How to findout whether IDOC is about to enter XI- Pipeline
Hi Experts,
Can anyone of you brief me on how to findout whether IDOC is about to enter XI- Pipeline.
In other words, after IDOC enters into XI server. How we will come to know IDOC is entering the XI pipe-line.
Please help in this issue asap.
Thanks in advanceDear All,
For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks. -
How to chng the IDOC 1 package to other
Hi Friends,
How to change the IDOC SEGMENT from one package to other package.
Thanks & Regards,
Vallamuthu.MHi,
use Tcode - WE31 --developement segments..!
give your segment name and in change mode goto MENU->EDIT->Object Directory Entry..
U can able to change to already assigned package suppose say Z001 to Z111 here...!
hope try out this...!
Sasi Kanth. -
How to mark an IDOC for deletion?
Hello,
How can I mark an IDOC for deletion?
Thank you for sharing your experience.
Kind regards,
Linda1st way:-
IDOC Related programs
1. Archive RSEXARCA and RSEXARCB
2. Delete RSEXARCD
3. Read archiveRSEXARCR
4. Restore RSEXARCL
2nd way:-
use FM EDI_DOCUMENT_DELETE .
pass the IDoc Number to it and delete the one which you want.
3rd way:-
use the tcode WE11 or program RSETESTD to delete an IDOC
but iDocs don't actually get deleted, just flagged with a deleted status (68). Transaction BD87 can do it, it does depend though on the existing Status of the iDoc though.
Maybe you are looking for
-
Ipod Nano 6th Generation will not turn on.
My brother bought my mother the new Ipod Nano 6th Gen as a gift yesterday. We plugged in to charge (like the instruction booklet says) and found the Ipod wasn't turning on. Everything on the computer and syncing side works. We managed to register the
-
Install iTunes 8.2.1 on my PowerPC G5
I wish to install iTunes 8.2.1 on my PowerPC G5. I know it's an old version. However, I'm wary to install iTunes 9 or 10 for various reason: compatibility with an iPhone 3 and problems syncing old music with iStore. I've upgraded iTunes before and ha
-
Has Lr 5 fixed the Export memory leak?
Has anyone confirmed that the memory leak in Lr 5 Beta when exporting images has been fixed in the Lr 5 release? In the Beta all 16Gb of my machine's RAM could be quickly consumed if I exported a large number of images. I could release the memory by
-
Oracle Service Bus 10gR3 - sbconsole missing
Hi, I just installed Oracle Service Bus in an existing BEA home, containing just WebLogic Server 10gR3. When I start Weblogic and go to http://localhost:7001/sbconsole, I get an Error 404--Notfound. Also, in the Start menu there is no shortcut for "S
-
help