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

FM for outbound IDOC with IDOC type pexr2002 and message type PAYEXT

Hi,

I need FM name which is used for outbound IDOC based on std IDOC TYPE PEXR2002 and Message TYPE PAYEXT or DIRDEB.

If anyone is aware of this FM pls let me know.

Kind Regards,

vtest

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Posted on Feb 10, 2006 at 03:52 AM

    Did you try to find by the pattern IDOCPAYEXT

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2006 at 04:07 AM

    BKK_IDOC_PAYEXT_INPUT IS THE FN MODULE

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 10, 2006 at 04:25 AM

    Hi,

    There is as such no FM. But you can find the exits under enhancment <b>FEDI0003</b>.

    <b>EXIT_SAPLIEDP_001 - FI-EDI: Outgoing Pmnt Advice - Save PEXR Segments

    EXIT_SAPLIEDP_002 - FI-EDI Outgoing Payments: Save PEXR Segments PAYEXT

    EXIT_SAPLIEDP_003 - FI-EDI Outgoing Payments: Save PEXR Segments DIRDEB</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 10, 2006 at 04:31 AM

    Hi,

    you can either use <b>BKK_IDOC_PAYEXT_INPUT</b> or

    <b>IHC_PI_APPL_PAYEXT_INPUT_FI</b>

    depending on your requirement.

    regards

    vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2006 at 06:09 AM

    Hi,

    I hope the requirement should be generating the payment file from SAP R/3.There is no outbound function module availble for this message type.Because SAP does not use message control for FI module.Function module is been linked with outbound process code which in turn associated with message control components which are widely used in MM and SD modules.

    For your requirement SAP has given the program RFFOEDI1 to generarate the payment file using this standard report.

    This report uses master_idoc_distribute function module to distribute the IDOCs to ALE/EDI layer.

    I hope this clarifies your query.

    Thank you.

    Regards,

    Karun M

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      This thread is was last replied more than a year ago, but I'll add a little just to contribute.

      WE60 documentation for the IDocs don't really give much except field / segment

      information, but don't talk about where the fields come from.

      FI_EDI_PAYEXT_PEXR2001_OUT seems to be the right FM, not sure how it relates to IDoc type pexr2002 as 2001 is the older version, but perhaps it handles the difference somewhere inside.

      As to where certain segment fields come from (i.e. the mapping to master data fields...) , I've been debugging and still in progress.

      I have not been able to find any straight forward mapping, and my comments at the moment are:

      For any particular segment field of PEXR2002, take a look at FM :

      FI_EDI_PAYEXT_PEXR2001_OUT

      to see how it populates the field. Chances are, the values come from the tables REGUH/REGUP/REGUV.

      The payment run process as far as my knowledge is concerned is as follows:

      1) Payroll Run -> Stores to table BT

      2) Pre DME (e.g. trx PC00_M08_CDTA) picks data frm BT and creates payment data in REGUH / REGUP / and REGUV tables. This gives you an identification feature ID for the next step.

      3) RFFOEDI2 changes status field in REGUH for particular payment data record based on ID from step 2.. this enables it to be picked up in the next step.

      4) RFFOEDI1 converts the record in REGUH into an IDoc which can be processed in BD87.

      I have debugged from step 4 backwards to step 3, i.e. I know that segment field X comes from REGUH field Y. Now I have to debug step 2 to find out how it populates REGUH field Y. If this comes directly from master data, then that makes life easier. But if this REGUH field Y comes from table BT of step 1, then perhaps I have to debug the payroll run somewhere. (Nightmare?

      Anyway, if anyone knows better, please advise.

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2012 at 04:25 AM

    Can anyone tell me FM for outbound IDOC with IDOC type pexr2002 and message type DIRDEB.

    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.