Application Development and Automation 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: 
Read only

Extracting data from IDocs

Former Member
0 Likes
1,074

Hello ,

I need to move the data from inbound IDocs into z-tables in my system. The inbound idoc is type whsord, basic type delvry01. Can anyone explain the steps that are needed to do this. I will be populating only some of the fields from the idoc into the z-table.

Thanks,

A.P

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
706

hi abap,

check this thread..

Hello ,

I need to move the data from inbound IDocs into z-tables in my system. The inbound idoc is type whsord, basic type delvry01. Can anyone explain the steps that are needed to do this. I will be populating only some of the fields from the idoc into the z-table.

Thanks,

A.P

4 REPLIES 4
Read only

Former Member
0 Likes
707

hi abap,

check this thread..

Read only

Former Member
0 Likes
706

Hi,

For Inbound procesing you need to perform several steps like

Create a inbound process code.

Create a inbound processing function module and attach it to the process code.

Go to WEDI and configure the node Development- Inbound process settings

Also refer the link http://help.sap.com/saphelp_47x200/helpdata/en/78/2174d751ce11d189570000e829fbbd/frameset.htm

-Kiran

Message was edited by: Kiran Raorane

Read only

0 Likes
706

Hello Kiran,

Thank you for the reply. Do you have any custom function module code for updating ztables.

A.P.

Read only

0 Likes
706

Sample function.

FUNCTION TEST_FUNCTION.

  • Refresh all the variables

*Read data from IDoc into Internal Tables

*Insert data from Custom table into Database table

*Add success or Error message to the Status table

*Do not use explicit COMMIT work.

ENDFUNCTION.

Link to sample program http://help.sap.com/saphelp_47x200/helpdata/en/78/21758d51ce11d189570000e829fbbd/frameset.htm

-Kiran

*Please reward useful answers