FM to post IDOC
I have a scenario where i need to create scheduling agreement (VA31) from ORDERS INBOUND IDOC. I am planning to do BDC for VA31.
now the question is, in program flow i am getting all EDIDC, EDIDD, EDIDS data. Is there any FM which can take these 3 segments post INBOUND IDOC?
You can use any inbound function module and copy the paramters to your custom function module. Even for BDC of VA31 you can use function module and write the BDC in the function module.You can prepare / modify the data record and can set the status in the custom function module.