Skip to Content
author's profile photo Former Member
Former Member

idoc function module problem

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 31, 2008 at 04: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 04: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..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.