07-20-2009 8:14 AM
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.
07-20-2009 8:30 AM
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.
07-20-2009 9:53 AM
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