Skip to Content
0
Former Member
Jun 17, 2006 at 11:21 AM

IDOC function module

15 Views

Hi all,

I have copied the standard function module IDOC_INPUT_ORDERS as per some requirement. I want to set the billing block and delivery block at header level to the sales order that gets created using idoc.

For that, I have set the blocks in the structure xvbak.

just before the call to va01 transaction is made.

xvbak-faksk = 'z1' " block set

xvbak-lifsk = 'z1' " block set

How do I set blocks at header level in the sales order in the function module (based on some conditions) . Which structure corresponds to the header level VBAK information. Please suggest some way.

Thanks & Regards,

Vishnu Priya.