01-31-2008 4:26 PM
Hi all,
I have a idoc. In this Idoc i need to populate a segment which is not populated previously if it satisfies the selection criteria.
For this i have to write a function module and this function module should check theselction and populate this field in Idoc.
Can anyone help me in doing this.
<REMOVED BY MODERATOR>
Regards,
Saroja.
Edited by: Alvaro Tejada Galindo on Jan 31, 2008 11:28 AM
01-31-2008 4:35 PM
You can hook into a user exit in the IDOC and directly populate the segments at the time the IDOC is created or processed.
The process and user exit to use depends on:
- what IDOC are you using
- is it inbound or outbound
- what are the criteria for the population of the segment
Hope that helps,
Michael
01-31-2008 4:36 PM
In case you are using SAP standard FM to populate IDOC segments
then you've to write your code in userexit...
If you are already at this stage and ready to write code to populate extra segment depending up on selection criteria then let us know where you struck by that we can guide you further..
01-31-2008 4:38 PM
This is FI related.
and the function module I have created should be attached to a BTE process.
This is a outbound idoc