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: 

Using VOFM Transaction can we generate an IDOC automatically

Former Member
0 Kudos

Hi

I have a requriement that when ever we change the sales order Rejection Status Field (ABSTA). An IDOC needs to be generated and the status should be sent to third party.

Once the IDOC is generated we use XI to transfer the message to third party.

My query here is can we configure in transaction VOFM by a condition(if field ABSTA = X) such that an IDOC is generated automatically.

or do we have to use change pointers to trace the change and manually create ZIDOC.

I have gone through the VOFM transaction and assume that IDOC is created automatically.

Can any one please help.

Thanks in advance.

Regards,

LRK.

2 REPLIES 2

Former Member
0 Kudos

Hi Ravi,

As far as I know, The VOFM is used to configure the setting like when and where certain operation should take place.

Even thoug you set the field ABSTA = X in VOFM still you need to have the ZIDOC that creates the IDOC and get the return status.

I feel, you can have a driver program that will be triggered after the transaction completion, in which you can create the IDOC and post it.

With Regards,

Aditya.

0 Kudos

Hi Aditya,

Thank you for your reply.

If the IDOC is created directly then ORDERS05 would be sufficient for me.only if the IDOC is not created then i will have to create an IDOC or a ZIDOC.

Are you sure that we need to create an IDOC manually. if so i could start on that work.

Thanks once again.

Regards,

LRK