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

ale outbound process

Former Member
0 Likes
469

Hi,

Added custom fields to idoc zdebmas02

and assign to message type debmas

now i want to populate values for this custom field, Please explain the process what function module should i do enhancement.

thhanks

2 REPLIES 2
Read only

Former Member
0 Likes
434

In function MASTERIDOC_CREATE_DEBMAS you will find customer-function 001 after each segment is added to T_IDOC_DATA. Add your code in this exit.

Read only

eswar_reddy9
Discoverer
0 Likes
434

i thought you copy DEBMAS02 into ZDEBMAS02 and add your segment. if did so, you can use standared functions.

use the customer exit '001' in MASTERIDOC_CREATE_DEBMAS.

this exit calls after each segment filled. example u add your Zsegment after E1KNBKM segment.

in your exit find out current processing segment, if it is E1KNBKM segmet add fill Zsegment and append t_idoc_data internal table.

if you donot use standard debmas02 idoc structure in ZDEBMAS02, you have to develop your own program.