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

custom idoc [ related to function module]

Former Member
0 Likes
703

HI ALL,

sorry for repeating the question

i had an requirement to create a custom idoc for catsdb table with 4 fields

1. pernr

2. workdate

3. lstar ......

and to transfer it from one application server to another.i had created it n transfered it to another application server. now my problem is in receiver side the data in idoc is not posted into database of catsdb [ at receiver side].

can any one give the code for Custom function module at receiver side so that when idoc is received [from sender] it must be updated to databse tables via this FM.

its very urgent . help me ........................

any suggestions are highly appreciated.

with regards,

Suresh Aluri.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
675

Hi,

How does the partner profile look at the receiving end. As far as I understand, if it is a complete Z IDOC< then u need a to create a process code and assign to an FM which will basically read the idoc and do a BDC or BAPI and update the table.

Thanks

Ganesh.S

Hi,

How does the partner profile look at the receiving end. As far as I understand, if it is a complete Z IDOC< then u need a to create a process code and assign to an FM which will basically read the idoc and do a BDC or BAPI and update the table.

Thanks

Ganesh.S

4 REPLIES 4
Read only

Former Member
0 Likes
676

Hi,

How does the partner profile look at the receiving end. As far as I understand, if it is a complete Z IDOC< then u need a to create a process code and assign to an FM which will basically read the idoc and do a BDC or BAPI and update the table.

Thanks

Ganesh.S

Read only

0 Likes
675

Suresh,

Please refer to idoc type HRKK1PERS. This seems to address your requirement.

Thanks

Ganesh.S

Read only

Former Member
0 Likes
675

Hi Suresh,

In the receiver system you have to :

1. Create a process code and link with message type using WE42

2. Create an inbound function module using SE37.

For example: BAPI_IDOC_INPUT1

3. Link function module with basic type and message type using WE57

Regards,

Hendy

Read only

Former Member
0 Likes
675

answered