‎2011 Dec 19 1:20 PM
Hi,
I have a requirement to enhance orders05 with two zfields.I want to generate an outbound IDOC..Pls let me know how to fill this zfields.Automatically the value will be populated or need to find an exit .If so pls suggest exit name.This two fields has been already extended in EKKO Table.
Regrds
Arun.P
‎2011 Dec 19 1:29 PM
Hi
You need to write code to fill the data into Z-fields using exit.
For this first goto the message type.For message type you will have one process code(check using WE41 for outbound). Once you have the process code, double click on it. You will get the function module. In that particular function module you will have exits to fill the data.
Regards,
Raghu.
‎2011 Dec 19 1:36 PM
Hi Raghu
Thanks ..But my doubt is whether the value will be mapped automatically.. Whether we need to wirte the code .Pls suggest..
Regards
‎2011 Dec 19 1:43 PM
Hi
You are have added fields to EKKO.That means you are send PO idoc.
For PO process code is ME10 and function module assinged to this is IDOC_OUTPUT_ORDERS. This function module is used to fill that data to IDOC.
Now goto SE37 and provide this function module name & click on display.
In this function module at last you have PERFORM fuellen_idoc_inttab.Double click on this and in this search fot PERFORM customer_function. In this perform you will have the exit CALL CUSTOMER-FUNCTION '002'. In this exit you need to populate the data into Z-fields.
Regards,
Raghu.
‎2011 Dec 19 2:06 PM
Thank Raghu.I will check and let you know.This is for creating a stock order transfer..So in that exit and i have to fetch the data from EKKO and move in to extended segment .Pls clarify..
‎2011 Dec 22 6:21 AM