Application Development and Automation 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: 
Read only

Interface pgm doubt

Former Member
0 Likes
595

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

5 REPLIES 5
Read only

Former Member
0 Likes
558

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.

Read only

0 Likes
558

Hi Raghu

Thanks ..But my doubt is whether the value will be mapped automatically.. Whether we need to wirte the code .Pls suggest..

Regards

Read only

Former Member
0 Likes
558

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.

Read only

0 Likes
558

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..

Read only

Former Member
0 Likes
558

Answered