2006 May 03 12:13 PM
Hi All,
I want to generate an inbound IDOC from a text file, how do i go about this? The text file is NOT in the idoc format. I can't use master_idoc_distribute since its for outbound idocs. What other function module can i use to generate inbound idocs? Please provide codes if you have.
thanks,
kenny
2006 May 03 1:22 PM
Hi Kenny,
You can use LSMW IDOC method.
I have a ppt on this, that uses the LSMW to covert a text file into IDOC and process it.
Please give me ur Email Id, I will forward the same to you.
Also, please reward points if it helps you.
Regards,
Amit Mishra
Hi All,
I want to generate an inbound IDOC from a text file, how do i go about this? The text file is NOT in the idoc format. I can't use master_idoc_distribute since its for outbound idocs. What other function module can i use to generate inbound idocs? Please provide codes if you have.
thanks,
kenny
2006 May 03 1:12 PM
You can use LSMW for inbound idoc generation from text file.
With Regards,
nelson
2006 May 03 1:22 PM
Hi Kenny,
You can use LSMW IDOC method.
I have a ppt on this, that uses the LSMW to covert a text file into IDOC and process it.
Please give me ur Email Id, I will forward the same to you.
Also, please reward points if it helps you.
Regards,
Amit Mishra
2006 May 03 1:36 PM
Hi Amit,
Thanks for the reply. please send it to [email protected]. Also can you tell me how to do this by custom abap? please give me codes if you have.
thanks,
kenny
2006 May 03 1:41 PM
Hi Kenny,
I have already sent you the doc. Please check and revert back incase you have any query.
Also, reward some points if it helps.
Regards,
Amit Mishra
2006 May 03 1:51 PM
Hi Amit,
Can you please send it to me the ppt and my email adress is [email protected] in advance and I appreciate your help.
SE
2006 May 03 1:56 PM
2006 May 03 1:58 PM
Hi Reddy,
I have sent it to you, please check and revert back.
Regards,
Amit Mishra
2006 May 03 2:01 PM
Hi Kenny,
I have already sent you the ppt, Incase you did not receive it provide me with your alternate email id I will send the same to your alternate email id.
Regards,
Amit Mishra
2006 May 03 2:09 PM
2006 May 03 2:11 PM
2006 May 03 2:39 PM
Hi Kenny ,
I have sent you a document illustrating the steps to create the inboud idoc generation on your email id .
And Priya I have forwarded the docs to you too.
Regards,
Kunal.
Message was edited by: Kunal Kumar
2006 May 03 2:49 PM
hi kunal and amit,
canu forward the same docs to me at [email protected]
sorry kunal but i didnt receive ur mail canu resend it.
OR KENNY CAN U FORWARD THE SAME DOCS TO THE ABOVE ID.
thanks,
priya.
Message was edited by: Priya
2006 May 03 4:00 PM
To Priya and all,
I haven't received anything either from Kunal or from Amit. Kindly resend it to [email protected] or [email protected].
thanks so much.
best regards,
kenny
2006 May 03 4:09 PM
Hi Amit,
Im so sorry but I haven't received anything from you yet. I already received the code from ferry though.
Thanks,
Kenny
2006 May 03 4:10 PM
Hi Kunal,
I haven't received anything from you. Please resend it.
Thanks so much,
kenny
2006 May 03 4:12 PM
Hi Kenny,
I have already sent it to you, I don't know why you did not receive it.
Ok, I will try to send it again.
Regards,
Amit Mishra
2006 May 08 11:41 AM
hi Kunal,
I now have the same requirement....pls could you also forward the document illustrating the steps to create the inboud idoc generation....
Email: [email protected]
thanks & regards,
SubbaKrishna
2006 May 08 12:01 PM
Hello Mr.Amit,
The solution suggested by you is very interesting, can u please send that ppt to my ID also.
My ID : [email protected]
Thanks,
Bharadwaja R
2006 May 08 12:08 PM
Hello Amit,
Your suggestion for the solution is very interesting.
Can you please send that ppt to my ID also.
My ID : [email protected]
Thanks in advance.
Regards,
Bharadwaj
2006 May 03 1:26 PM
Hi Kenny,
For IDoc inbound interface, they usually have a middelware to transform the input data into IDoc format.
For example, SAP has XI (Exchange Interface) as middleware system.
For your case, you can use LSMW as mentioned earlier by Nelson for IDoc data mapping and processing. Other alternative, you can write custom ABAP program to map and generate IDoc file. Once the IDoc file is available then you can use standard SAP program <b>RSEINB00</b> to upload the file and generate IDoc(s).
Please use IDoc testing tool (WE19) to simulate the mapping process. It is an excellent tool.
Hope this will give you an idea.
Regards,
Ferry Lianto
2006 May 03 1:37 PM
Hi Ferry,
If I choose to do it by writing custom abap, how do i go about it? what FM should i use? Please provide codes if you have.
thanks,
kenny
2006 May 03 2:57 PM
Hi Kenny,
Please check your email for sample codes.
Regards,
Ferry Lianto
Please reward point if helpful.
2006 May 03 3:05 PM
hi Keeny,
Please forward that PPT to my mail ID [email protected].
It seems very useful and ur help will b appriciated.
Thank u in advance.
Rgds
giri
2006 May 08 12:22 PM
Hai Kenny
Go through the following Steps
Try with the follwoing steps
Sending System(Outbound ALE Process)
Tcode SALE ³ for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ¡V Create Model View
Tcode BD82 ¡V Generate partner Profiles & Create Ports
Tcode BD64 ¡V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ³ for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ¡V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ¡V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 ¡V Send Material Data
Tcode WE05 ¡V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Thanks & regards
Sreenivas
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Thanks & Regards
Sreenivasulu P
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |