FM for outbound payment idoc

Hi,
How do we find out the FM for outbound payment idoc?.Here are the details
Message type-PAYEXT
Idoc type-PEXR2002
Thanks,

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.

Similar Messages

  • Why dont we need process code for outbound master idoc?

    For inbound master idoc we need a process code (EX. matmas03-MATM) but for <b>outbound master idoc</b> why dont we need process code?can anybody clarify me on that.
    thanx in advance....

    plz clarify me on that...its urgent...

  • Custom dynamic names for outbound payment files in R12

    I have asked this on a couple of forums, but somehow missed this one.
    We are upgrading from 11i to R12 and require custom dynamic file names for the Payments output files (cheques, advices, efts). I see that you can create a custom prefix and extension through payment profiles, but the functionality is very limited (i.e. no date stamp). I am thinking that others must have come across this before, and am wondering how you have handled such a requirement. Is it possible to add custom steps to the seeded payment process? Can the payment process be run as part of a request set and then a custom step added which grabs the output file and renames it based on information obtained from the batch and the process profile. Our goal is a fully automated payment process where batches are scheduled, processed and files renamed and sent out to banks and a 3rd party printer with no user interventation.
    Any advice/tips would be appreciated.
    Thanks.
    Tam.

    Hi Tam,
    Could you please let me know if you got the solution as we have a similar requirement of renaming the output file as perthe business needs fro which we need custom program.
    Thanks,
    Manas

  • Segment mising in IDOC for outbound with status 3

    Hi ,
    Segment mising for IDOC for outbound and IDOC status in 03 . What could be the possible reason for segment missing ?
    Edited by: Raghavendra Balegar on Jan 11, 2010 8:26 AM

    how do you create the IDOC?
    which IDOC?
    what segment?

  • Split outbound ORDERS idoc to different ports

    Hi All,
               I was wondering whether it is possible to split an outbound ORDERS idoc and have it directed to two different ports based on document type? Client requires normal PO's to be written to one XML while STO's be written to a seperate file. Look forward to your responses.
    Regards,
    John

    Hi,
    These are the exits available for Outbound ORDERS idoc.
    1. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_001 Customer enhancements
    for control
    record: purchasing
    document, outbound
    2. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_002 Customer enhancements
    to data segments,
    purchasing
    document, outbound
    3.ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_011 Final customer enhancement
    EDI purchase
    order outbound
    You should create the project before implementing the exits. So that the break point is going to stop over there.
    Check this link to know how to find BADI -
    http://www.sap-img.com/abap/how-to-find-bapi-for-particular-transaction-in-sap.htm
    In your case this BADI is there for the given program.

  • Userexit: Outbound matmas idoc

    Hi Guys,
    I am looking for a suitable userexit for Outbound matmas idoc.
    The requirement is once the idoc number has been generated with idoc status AFTER that only i need a userexit for my own .
    I am using BD10 transaction code to create the MATMAS idoc.
    Will appriciate your help..!
    Thanks,
    Biswajit.

    Hi,
    The flow is like this in BD10....
    CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS'
       CALL FUNCTION 'MASTERIDOC_CREATE_MATMAS'
          CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'        " it return the control record with idoc no after execution
              CALL FUNCTION 'IDOC_CREATE_ON_DATABASE'    " it return the control record with idoc no after execution
                  CALL FUNCTION 'EDI_DOCUMENT_CLOSE_CREATE_TAB'     " it return the control record with idoc no after execution
                          PERFORM F09_IDOC_INSERT_WITH_NUMBER USING IDENTIFIER    " idoc no generates here in control record
                                                DOCNUM
                                                IDOC_CONTROL
                                                SYNTAX_RETURN
                                                FREE_RETURN
                                                SYN_ACTIVE.
    So i need a userexit / enhancement point after that with control record data.......

  • USEREXIT for Outbound MATMAS

    Hi Guys,
    I am looking for  a  suitable userexit for Outbound matmas idoc.
    The requirement is once the idoc number has been generated with idoc status AFTER that only i need a userexit for my own .
    I am using BD10 transaction code to create the MATMAS idoc.
    Will appriciate your help..!
    Thanks,
    Biswajit.

    Hi,
    The flow is like this in BD10....
    CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS'
       CALL FUNCTION 'MASTERIDOC_CREATE_MATMAS'
          CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'        " it return the control record with idoc no after execution
              CALL FUNCTION 'IDOC_CREATE_ON_DATABASE'    " it return the control record with idoc no after execution
                  CALL FUNCTION 'EDI_DOCUMENT_CLOSE_CREATE_TAB'     " it return the control record with idoc no after execution
                          PERFORM F09_IDOC_INSERT_WITH_NUMBER USING IDENTIFIER    " idoc no generates here in control record
                                                DOCNUM
                                                IDOC_CONTROL
                                                SYNTAX_RETURN
                                                FREE_RETURN
                                                SYN_ACTIVE.
    So i need a userexit / enhancement point after that with control record data.......

  • Userexit or Badi to change Outbound ORDERS Idoc

    Hi all,
                 As per my requirement, I want user exit or Badi which can change Outbound Idoc for ORDERS. I am aware of enhancement MM06E001 with user exit EXIT_SAPLEINM_011. Here in our old system 4.6 we implemented same. But for our new system ECC 6.0 control is not going inside after changing PO, it is creating new Idoc & posting but not going inside same user exit. Is there any Badi available?
    Is it because of version change?
    Please its kind of urgent.
    Point will be rewarded for helpful answers.
    Thanks,
    neo

    Hi,
    These are the exits available for Outbound ORDERS idoc.
    1. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_001 Customer enhancements
    for control
    record: purchasing
    document, outbound
    2. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_002 Customer enhancements
    to data segments,
    purchasing
    document, outbound
    3.ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_011 Final customer enhancement
    EDI purchase
    order outbound
    You should create the project before implementing the exits. So that the break point is going to stop over there.
    Check this link to know how to find BADI -
    http://www.sap-img.com/abap/how-to-find-bapi-for-particular-transaction-in-sap.htm
    In your case this BADI is there for the given program.

  • EDI Vendor outbound payment advice, idoc do not contain RE in the header

    Hi,
        I am facing a critical issue on EDI vendor outbound payment advice idoc. Actually the IDOCs which i created do not contain the “RE” in the header record. This mandatory qualifier is located just before the SAP ID. The IDOCs which i created got error out and not translate.
    Example -    LIRE0001000922
    Can anybody tell me that how can we get this RE mentioned in the above idoc no. I want this RE to be come when the idoc is created.
    Point will be awarded.

    Hi Rajesh,
    If everything is maintianed, i think the problem is with the file that your are uploading.  Please check the file.
    And also check whether the data record is maintained.  For Field Name "PARTNER_Q" youa have to assign the :QualPart" RE (biil-to-party) in the data record.
    Check these things and i hope it solves your problem.
    And you can contact me at [email protected]
    Thanks
    ~Rajesh

  • Outbound Delivery IDOC not updating values from MKPF for goods receipt

    hi all,
    I have a question say I am generating an outbound delivery IDOC. which  has fields Goods Issues & Goods Receipt date retrieve from MKPF(BUDAT).
    say when i post goods issues, MKPF is updated and  IDOC is gernerated with issues date taken from MKPF.
    and when i tried to goods receipt, MKPf is updated and IDOC is generated but no receipt date taken from MKPF. then i check in MKPF, date is there and then once again I triggered the IDOC, receipt date comes......so my doubt is the time issues say when IDOC is triggeres, no value in MKPF...but when i check the time it is 4 mins difference from the MKPF time and the IDOC time...
    and also 1 more thing for doing goods receipt, we do in different transaction and for good issue we do in Vl02n.
    so bit confused.
    kindly help

    True , but in BKPF only Issues date are stored not the receipt date say if the document type = WE.
    Please let me know is there any other options to fetch rather than MKPF.
    because at the time of IDOC generation, there is not entries in MKPF. I tried to do using WAIT UP TO 50 seconds , even that didnt work.
    Please guide me
    thanks

  • Consolidate IDOCs for vendor payments

    Hi AP Experts,
    When using PEXR2002 to create IDOCs for outgoing payments, there is a single IDOC create for each vendor payment. Can you advise if it is possible to produce just one consolidated IDOC (per payment method) for these payments rather than a single IDOC for each one? Is there a way to achieve that is standard SAP or perhaps a user exit that can allow it? If a user exit is there any general advice on how that can be achieved?
    Thnaks and regards
    Mike

    Hi,
    The reason for the requirement is that each IDOC get's its won generated payment file in the shared middleware site. The bank then will charge by payment file. Therefore the goal is to minimize the number of IDOCs generated.
    Is it possible to do this?
    Thanks

  • F110 creates payment IDocs for all payments except the largest payment

    When executing a payment run, all payments are listed as successful.  However, one of the payments does not generate an IDoc to be sent to the bank.  (All other IDocs are successfully created)  No error message of any kind is generated and the payment run successfully posts a payment document for the missing IDoc.  The missing IDoc should pay for 1845 invoices all within a single ACH payment to the vendor.  How can I find out what happened and how to fix it?

    Hi,
    Please clarify:
    1) Are you using a separate payment method for this vendor?
    2) Is the payment method used for the first time?
    3) Are you using the same house bank for this vendor, that is used for other vendors in this payment method?
    In case you are using a separate payment method for this vendor, and this payment method is used for the first time, please check the forms assigned to the payment method at country level (it should be RFFOEDI1) and also the forms at company code level should be compatible for EDI paments (F110_EDI_01). Also check whether the payment method is assigned in EDI comaptibel payment method in house bank (for the partner profile)
    Finally check, whether the payment method used for this vendor is included in the print variant.
    Let me know in case any further clarification is needed

  • How to trigger FIDCCP02 idoc for outbound vendor invoices?

    Hi
    1. How can i trigger the idoc FIDCCP02 for outbound processing? I am trying to use this idoc to send the vendor invoice data to another system.
    2. How do i send existing data from sap to another system thru idocs?
    pls give me the steps.
    Regards
    Sujai

    Hi Sujai,
    First you have to fill the your data into a table which is like the structure of EDIDD.Here you have to fill the all segmetns in the sequence which defined in the idoc type only other wise you will get error 26.
    Then pass the control record data in the structure like EDIDC here you have to fill the sender,receiver,partner profile,idoc type message type like stuff.
    Then pass these table and structure to the function module MASTER_IDOC_DISTRIBUTE.
    Then idoc will created by above funciton module.
    If you want pass data in xml format then you have to create xml port in we21 and pass this port name in the EDIDC structure.
    Thanks,
    radha.

  • Dynamic outbound payment file directory for  in Payment Profile in R12?

    Hi All,
    Is it possible to have the "outbound payment file directory" setup in R12 Payment Process Profile dynamically?
    Ideally we would like to store the value in a profile and refer the lookup in this field, rather than giving it hard coded, like /net/common/CM_UTL_DIR/EBSTST
    Please let us know of workarounds also, if any.
    Thanks!
    Manu

    Manu,
    I do not think it is possible -- You may log a SR and confirm this with Oracle support.
    Where Can Be Found The Output File For The Transfer To The Bank [ID 730548.1]
    How To Change Nacha Payament Output Directory And Name [ID 786007.1]
    Thanks,
    Hussein

  • Idoc for check payment method

    Hi,
    When I use payment program RFFOEDI_1 for Payment Method CHECK, program is generating an idoc but not the check number. I have maintained the check lot but I could see check register is not getting updated.
    What could be the possible reason for check number not generating when using an Idoc option?
    Thanks,
    Thameem

    If you are on a release higher than 46C then the coding corrections of note
    437942 must be available in your system. Hence please follow the
    guidelines mentioned in this note.
    Note contents of 437942 for your reference:
      Adjustments in Customizing as of Release 4.6C:
        o  Exactly one check lot (with its next lots) has to be allowed for
           the respective IDoc payment method. To do this, enter the paymen
           method into the check lot in Transaction FCHI. In this case, the
           system determines the check lot automatically using the payment
           method to generate the check numbers from it.
        o  Use IDoc type PEXR2002. The check number is placed into field
           BELNR in segment E1EDK12 with qualifier 026.
    I hope I could be of assistance.
    Kind Regards,
    Fernando Evangelista

Maybe you are looking for

  • Using if the else logic in regards to a select statement for a report

    Hi all, I've a question regarding if then else logic in Oracle. I'm developing a report application which contains 3 selectlists - ProductGroup - SubGroup - Manufacturer Each one containing several values. And are based on eachother, meaning if you s

  • Problem with radio in Nokia5800 52.0.007 .

    Hello, I have installed firmware 52.0.007.  when I am switching radio stations radio application freezes  and I am unable to turn radio off with taskmanager. I must turn off and turn on my phone. What should I do with this?

  • CD2 of Metadata Repository Creation Assistant (10.1.2.0.3) bad

    Top Url of Page reads: http://www.oracle.com/technology/software/products/ias/htdocs/101202.html CD2 of the Metadata Repository Creation Assistant (10.1.2.0.3) downloads fine and my cksumm of the file matches what I see on the download site of: 68888

  • Calls disconnect on first try but works on second

    Some of my calls disconnects first time(receiver can't listen my voice) But the second call connects.and works fine I don't understand why ?any one help please Topic edited by Rickard

  • Need more information regarding RAW JPEG pairs

    I understand the importing of RAW+JPEG pair options. What I am having difficulty finding in any forum or user manual is the workflow using such pairs after the import. If I import a R+J pair with RAW as original, there is an "R" icon in the viewer on