Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding IDOC creation

Former Member
0 Kudos

HI guys,

I have an requirement, i have to create an idoc(Inbound) in the sap system, which is coming in the ASCII format,kept at the application layer. for this i need to write a program and pick up the File form application layer, after this i want to use

IDOC_INBOUND_SINGLE ,FM to create idoc on the layer.before this can anyone suggest how i should do mapping ie, the external data i got from server, and to the the idoc structure...pls suggest..

if any examples programs are there, i will be helpful...

3 REPLIES 3

Former Member
0 Kudos

Hi,

Since it's in ascii format, you could probably assign it to some local variable & then assign it directly to idoc segments (in the correct order).

Regards

0 Kudos

HI ,

Thanks for ur answer.But could u give me an example how to map the segments....

T&R

Srini

Former Member
0 Kudos

hi

good

IDOC Mapping->

http://help.sap.com/saphelp_crm40/helpdata/en/6b/c4ca7dbeaf2743bf7efc61d7e677ef/content.htm

IDOC_INBOUND_SINGLE ->

IDOC_INBOUND_SINGLE (4.x mode) single IDoc per call

http://www.erpgenie.com/sapedi/idoc_abap.htm

thanks

mrutyun^