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: 

Posting Idocs within the system

Former Member
0 Kudos

Hi All,

My requirement is like,

When GR is done for a material(in plant A,storage location B,WBS C and valuation type u2018Repairedu2019),an output type will be triggered immediately, which will generate an Idoc in system which transfers posting from valuation type u2018repairedu2019 to u2018cust_ownedu2019 .

Ie the idoc posting within the system

For this I have developed inbound and outbound function modules. When GR is done, an outbound idoc is created and the status is u201803u2019.Now My problem is an inbound idoc is not getting created. Ideally when the GR is done ,it should create a inbound only. Have done configuration for inbound, but still the inbound FM is not called and idoc is not created. Should we change the outbound status from 03 to 12??

Please help.

1 ACCEPTED SOLUTION

jitendra_it
Active Contributor
0 Kudos

Hi anju321,

We also have similar scenario of IDOC in own system. What I have done is, I have populated the IDOc structure and call the FM

"IDOC_INBOUND_SINGLE" . Have a look at Its documentation.

Thanks

Jitendra

3 REPLIES 3

jitendra_it
Active Contributor
0 Kudos

Hi anju321,

We also have similar scenario of IDOC in own system. What I have done is, I have populated the IDOc structure and call the FM

"IDOC_INBOUND_SINGLE" . Have a look at Its documentation.

Thanks

Jitendra

0 Kudos

Hi,

thanks very much for your reply.

one question?

Your inbound idocs were created in the system at what point?what should be status of outbound idoc to create an inbound in the same system?(03 or 12).

now in my case outbound idoc status is 03.shoud I process it to '12' ???

0 Kudos

Hi anju321 ,

Actually we are using a report which reads data from app server and formats them and call that FM to post data in the same

system.

There is NO NEED to create a outbound IDOC for that. In partner profile make an entry in the Inbound. It will work.

Thanks

Jitendra