Consolidating IDocs generated through RFFOEDI1 program

Dear experts,
We are trying to use IDocs to send payment information to our bank for further processing. Currently, the program RFFOEDI1 generates individual Idocs for each payment i.e. for each vendor.
However, we would like to see one IDoc for each payment method which in turn should have the payment details of each vendor.
Does anyone know how we can achieve this? OR is it even possible.
Thanks for your help.
Regards,
Vishal Thakur

Hi,
Payment IDOC is generated at vendor level. You have the option to generate the payment IDOC at invoice level, but not possible for aggregating at payment method level for all vendors.
You can instead create your own custom program, where you can read the data from various IDOC and can aggregrate into single IDOC. But standard does not support it.
Regards,
Gaurav

Similar Messages

  • Send INVCON02 IODC display 0 IDOC generate through T-code "poit"

    Dear Gurus,
    when I send inventory data from SAP ERP to SAP ME via MII,I use the sap T-code "poit". In "poit", In "selection parameters:warehouse stock", I fulfill "storage location" , and send, but sap returns "0 IDoc generated".
    we tested the basic type "INVCON02" using "we19", it can send IDoc to MII, but could not sucess in POIT.
    Anybody can tell me what's the problem, and Is there anybody know other tcode to send INVCON02 to Mii or other system?
    It is very appreciate for your help. Thank you advance.

    POIT is for the generation of Production (Order) related IDocs.  POIM is for the generation of Production (Order) related master data downloads.  I think there are two ways of downloading Material Master IDocs, but BD10 is the one I remember.
    You will probably be amused, but the fastest way to find INVCON t-code is to google it.  Here is the one I use most frequently:
    [IDoc T-codes|http://www.sap-img.com/basis/important-idoc-transaction-codes.htm]
    But remember you have to set up the two sections in ECC or the IDocs will not be either generated or distributed.  Go back to the listener configuration document to see where (which t-codes) the modifications need to be made.
    I suspect, but don't know for sure, that the instructions are also in the installation/configuration guide for ME. 
    Good luck,
    Mike
    Edited by: Michael Appleby on Feb 17, 2011 3:32 PM

  • Get IDoc number for IDoc generated through RBDMIDOC

    Hi All,
    I have a requirement where in I need to send Vendor master information through CREMAS to PI system. I am using change pointer and batch job to trigger RBDMIDOC and send IDocs.
    In case the IDoc fails a mail needs to be triggered to concerned person giving vendor number, Idoc number and date. Can anyone suggest any user exit/BADI where this can be done ??
    Note: system is 4.7C.

    Hi Chinmay
    I didn't knew you were in 4.7. Since you mentioned about the details of the workflow getting triggered, here are the options i can think of.
    In case of error it is triggering the standard task 00007989 which you can check in PFTC. This task calls the method ERRORPROCESS from Business Object IDOCAPPL. My suggestion here would be to create a subtype of BO IDOCAPPL in SWO1 transaction and add additional logic in method ERROR_PROCESS to send the mail. The details of the IDOC number and other things are available in the task container of TS00007989. But make sure you do it specific for your message type, as this will be triggered for all message types. And then change the BO and method reference in task 00007989 to point to your new BO method.
    Other options would be to delegate the BO IDOCAPPL to a new Z BO, and then modify the method IDOCAPPL. This way you don't have to change the task BO assignment, as it will implicitly use the Z BO method. May be you can get in touch with your Workflow consultant who can help you more on this.
    Regards
    Ranganath

  • Creation of IDOC through abap program.

    hello all,
    I hav created idoc through abap program. I hav used FM 'Master_idoc _distrribute'.this program creates an idoc but giving status 30. can any one tell me how to get status 03. I hav already created port, Logical sys,partner no.,distribution model.
    My Program is as follows:
    ABLES : CRMD_ORDERADM_I,CRMD_ORDERADM_H,CRMD_SCHEDLIN.
    DATA : S_CTRL_REC LIKE EDIDC OCCURS 0 WITH HEADER LINE,"Idoc Control Record
           ORDER_NO TYPE CRMT_OBJECT_ID VALUE '5000000032'," SEGMENT ORDER DATA
           PRODUCT TYPE CRMT_ORDERED_PROD VALUE 'SRV_01',
           QUANTITY TYPE CRMT_SCHEDLIN_QUAN VALUE '1.000'.
    DATA : ZORDER LIKE ZORDER_NUM OCCURS 0 WITH HEADER LINE.
    DATA :  T_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE.     "Data Records
    DATA :  T_COMM_IDOC LIKE EDIDC OCCURS 0 WITH HEADER LINE. "Generated Communication IDOc
    CONSTANTS :
    C_ZRZSEG1 LIKE EDIDD-SEGNAM VALUE 'ZORDER_NUM'.
    PARAMETERS :  C_MESTYP LIKE EDIDC-MESTYP DEFAULT 'ZORDER_IDOC2', "Message Type
                  C_RCVPRT LIKE EDIDC-RCVPRT DEFAULT 'LS',          "Partner type of receiver
                  C_LOGSYS LIKE EDIDC-RCVPRN DEFAULT 'BSNL_OUT',
                  C_RCVPOR LIKE EDIDC-RCVPOR DEFAULT 'A000000006',
                  C_SNDPOR LIKE EDIDC-SNDPOR DEFAULT 'SAPBCD0000',
                  C_SNDPRN LIKE EDIDC-SNDPRN DEFAULT 'BCDCLNT100',
                  C_IDOCTP LIKE EDIDC-IDOCTP DEFAULT 'ZORDER2',
                  C_SNDPRT LIKE EDIDC-SNDPRT DEFAULT 'LS'.          "Destination System
    ***START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM GENERATE_CONTROL_RECORD.
      PERFORM SEND_IDOC.
    *&      Form  generate_control_record
    FORM GENERATE_CONTROL_RECORD .
      S_CTRL_REC-RCVPOR = C_RCVPOR. "Receiver Port
      S_CTRL_REC-MESTYP = C_MESTYP. "Message type
      S_CTRL_REC-IDOCTP = C_IDOCTP. "Basic IDOC type
      S_CTRL_REC-RCVPRT = C_RCVPRT. "Partner type of receiver
      S_CTRL_REC-SNDPOR = C_SNDPOR. "SENDER PORT
      S_CTRL_REC-RCVPRN = C_LOGSYS. "Partner number of receiver
      S_CTRL_REC-SNDPRT = C_SNDPRT. "Sender Partner type
      S_CTRL_REC-SNDPRN = C_SNDPRN. "Sender Partner Number
    APPEND S_CTRL_REC.
    ENDFORM.                    " generate_control_record
    *&      Form  send_idoc
    FORM SEND_IDOC.
    ZORDER-ORDER_NO = ORDER_NO.
    ZORDER-PRODUCT = PRODUCT.
    ZORDER-QUANTITY = QUANTITY.
    APPEND ZORDER.
    T_EDIDD-SEGNAM = C_ZRZSEG1.
    T_EDIDD-SDATA = ZORDER.
    APPEND T_EDIDD.
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
        EXPORTING
          MASTER_IDOC_CONTROL            = S_CTRL_REC
        TABLES
          COMMUNICATION_IDOC_CONTROL     = T_COMM_IDOC
          MASTER_IDOC_DATA               = T_EDIDD
        EXCEPTIONS
          ERROR_IN_IDOC_CONTROL          = 1
          ERROR_WRITING_IDOC_STATUS      = 2
          ERROR_IN_IDOC_DATA             = 3
          SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
          OTHERS                         = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        COMMIT WORK.
        LOOP AT T_COMM_IDOC.
          WRITE:/ 'IDoc Generated - ', T_COMM_IDOC-DOCNUM.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " send_idoc
    I hav created segment , basic type,message typealso and release also .I also linked them.
    Plz help me.
    Hemlata

    Hi Hemalatha,
    Just call this Progream RSEOUT00 from your Zprogram and pass the basic parameters like IDOC number, Basic type,Partner number etc.
    You can check the parameters by executing the Program RSEOUT00.
    This Program will change the status of your IDOC 30 to 03.
    Thanks.
    Note:Reward Points if you find useful.

  • How to send sap generated invoice numbers using rffoedi1 program

    Hi all
    we are generating PEXR2002 IDocs using RFFOEDI1 program . The program is populating the invoice number field in IDoc with the value from reference number field in MIRO screen. Is there any way that we can populate the SAP generated invoice number also in the IDoc.

    Hi Steve,
    Have you tried the user-exits or BADi available.
    Regards,
    Atish

  • Message should get generated in outbound program  when idoc is posted in ot

    Dear All,
    Can anyone please tell me,how i can send response back to the idoc program.
    Requirement: Outbound program will generate an idoc and when it gets posted in the other server a message should appear that idoc was posted in other server...
    Now can anyone tell me how i can do this,i mean message should get generated in outbound program when idoc is posted in other server..
    warm regards
    Sajid

    hi,
    Go through the following thread
    iDoc - XI - iDoc with Acknowledgement
    Regards
    Mudit

  • To Update the IDOC segment values through report program

    My requirement is to update the Idoc segment through the report program. Any SAP provided standard function module is available to update the Idoc segment values. Please help needed.

    DATA: LT_EDIDD TYPE STANDARD TABLE OF EDIDD."Local Table to Hold EDIDD
        LT_EDIDD = I_EDIDD. "table should have the data
    *-- Opening the IDoc for Edit
        CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
          EXPORTING
            DOCUMENT_NUMBER               = X_EDIDC-DOCNUM
          TABLES
            IDOC_DATA                     = IT_EDIDD
          EXCEPTIONS
            DOCUMENT_FOREIGN_LOCK         = 1
            DOCUMENT_NOT_EXIST            = 2
            DOCUMENT_NOT_OPEN             = 3
            STATUS_IS_UNABLE_FOR_CHANGING = 4
            OTHERS                        = 5.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *-- Editing the IDoc
        CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
          TABLES
            IDOC_CHANGED_DATA_RANGE = LT_EDIDD
          EXCEPTIONS
            IDOC_NOT_OPEN           = 1
            DATA_RECORD_NOT_EXIST   = 2
            OTHERS                  = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *-- Closing the IDoc after Edit
        CALL FUNCTION 'EDI_DOCUMENT_CLOSE_EDIT'
          EXPORTING
            DOCUMENT_NUMBER  = X_EDIDC-DOCNUM
            DO_COMMIT        = 'X'
            DO_UPDATE        = 'X'
            WRITE_ALL_STATUS = 'X'
          EXCEPTIONS
            IDOC_NOT_OPEN    = 1
            DB_ERROR         = 2
            OTHERS           = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    thanks
    vijay

  • How to generate an OUTBOUND INVOICE IDOC from the ABAP Program?

    How to generate an OUTBOUND INVOICE IDOC from the ABAP Program? Any Function Module that can be used for this?

    Hi
    This is more of configuration
    (1) Create a Output type with Medium 6 ( Check with your functional consultant)
    (2) Maintain Partner Profiles using WE20 transaction
           Idoc type - INVOIC02
           Message type - INVOIC
           Process Code - SD09
    Regards
    Madhan D

  • How to relate IDOC generated in sap through ALE from legacy system

    Hi all,
    can any one tell me how can relate an idoc generated in SAP with the new idoc generated in a legacy system. I mean how could I identify, which idoc is generated for a particular idoc in legacy system and vice versa.
    Thanks,
    Nilanjana

    Thanks Suhas but when i am getting error message related to partnr profile when pressing this 'TRACE IDOC' button even with idoc in status 53.
    Edited by: nilanjana sinha on Nov 11, 2011 8:20 AM

  • Payment documents / Payment orders were not updated in RFFOEDI1 Program

    Hi,
    With F110 transaction i'm  printing Payment summary and Remittance form by using YDFI_RFFOEDI1 ( Copy of RFFOEDI1)
    Program variant.
    Spool is generating Payment summary and Remittance form along with Error log as below.
    Program YDFI_RFFOEDI1: No records selected
    The following payment documents/payment orders were not updated
    (Result of the payment document update)
        CoCd Payment document/Payment order
        1019 F110000001
    The accompanying payment media have not been generated
    YDFI_RFFOEDI1 Program variant is having Generate SAP Idoc check box as unchecked under Print control tab.
    Thanks
    Bhuvana

    Please help me on this issue

  • Does the RFFOEDI1 program has any implication on the ACH direct deposit?

    Hi all,
    Can any one please explain the use of RFFOEDI1 program. Is this
    program used just to generate I-Doc?
    Scenario: For Check payment method(C)
    Once F110 run is successful, then we have to run RFFOUS_C program to
    generate checks. Once this program is complete, checks will be
    generated and the check info will be available in PAYR table.
    Scenario: For ACH-CCD payment method (D)
    Once F110 run is successful with payment method D, The payment details
    will hit BSAK table.
    Now, I don't want to generate the SAP standard I-Doc with RFFOEDI1, do
    I still need to run RFFOEDI1 program???
    For the check payment, RFFOUS_C program triggers the generation of
    checks after which the check info will be available in PAYR table
    Likewise, does the RFFOEDI1 program has any implication on the ACH
    direct deposit?
    To my understanding, If you do a payment using payment method, ACH
    direct deposit in SAP, we don't generate any check numbers ???!!!
    Do we get any reference number or anything when the direct deposit is
    done??? This reference number could be used to trace the invoice
    against which this ACH payment was done!
    If it is the case, where do we get/ when do we generate the reference
    number to trace the invoice????.....any inputs?
    If we are not going to run RFFOEDI1 program, (if we are not interested
    in generating IDoc) then are we DONE with the ACH direct deposit, once
    we are done with payment run(F110)???
    Where do we get the reference number which specifies the ACH payment?
    Sorry, I have poured in lot of question at one place!
    Any inputs/ solutions/ suggestions are greatly appreciated!
    Thanks a lot!

    RFFOEDI1 is typically used when payments to vendors are to be sent by an EDI 820 file to the bank. This program generates the PEXR2002 idoc. The idocs are sent to the EDI translator where these are mapped to an EDI 820 file format and sent to the bank.
    Scenario ACH-CCD payments method (D)
    If you do not want to send EDI 820 payments, you would typically not generate the idoc - in which case - you dont have to use RFFOEDI1. This probably means that (a) you are using the RFFOUS_T program for generating the payment medium or (b) you are using the payment medium workbench to generate the ACH file (NACHA format) for your house bank.
    You do have to send an ACH file to the bank for paying your vendors - which means - you are probably using one of the above methods to generate the file.
    ACH Direct Deposit
    I am assuming that you are probably referring to ACH-PPD type payments here. You would still have to send the payment medium using one of the methods mentioned above.
    In all ACH scenarios, your payment document number, is your reference number that was used to clear the open item.
    Hope this helps.

  • RFFOEDI1 program issues

    We use RFFOEDI1 program to generate payment Idocs. we have a requirement to run this program seperate from the f110 payment run. When I do that, if I leave the payment run identification field blank on the selection screen, the program is not slecting any records even if I fill all the other fields in the selection screen. I tried with putting an asterisk in the payment ID field, still no records. Is there a way to run this program by leaving payment ID fields blank?
    Thanks
    Paul

    Hi,
    You need to give a payment run ID in RFFOEDI1 execution, if you are executing it outside F110.
    However check if you can change the setting of the partner profile in WE20 as "Collect IDOCs" and then can trigger the program RSEOUT00 to push the IDOCs to interface.
    Regards,
    Gaurav

  • Usage of ALE - idocs generated for BAPIs

    Hi
      I need to use - the std idocs generated for BUS2032 object - CREATEFROMDAT2 method to store the BAPI call  ( BAPI_SALESORDER_CREATEFROMDAT2 )data for those sales orders that could not be created.
    If I want to use the SAP delivered BAPI ( BAPI_SALESORDER_CREATEFROMDAT2 ) to call as it within an ABAP program - and then if the call did not go through - then log the data for BAPI into the corresponding idoc with the message type SALESORDER_CREATEFROMDAT2 ( idoc type SALESORDER_CREATEFROMDAT202 )  do I need to move the values from the BAPI structures to the idoc segments programatically ?  Or since the idoc is linked to the BAPI - by definition, is there an implicit way to move data to the corresponding idoc segments and save the idoc .
    Can anyone out there give me a code sample to do - what I have asked above ?

    Hi,
    I guess you can use function module ALE_SALESORDER_CREATEFROMDAT2 to create idoc from bapi data. You can pass the entire data in internal tables that you are passing to BAPI into above mentioned function module and then it will create an Idoc for the same. Also populate the receivers in the internal table receiver.
    KR Jaideep,

  • How to compile dunamically genrated java files through java program?

    Hi, I have a requirement where i generate java files from WSDL dynamically using wsdl2java jaxbri. I need to compile these files dynamically on the fly and jar it. Everything should happen through java program. Bcos everything is dynamic here, no information is known (like dir, file names ...) until the runtime. Everything is user fed.
    the directories may contain other directories with java files. its recursive
    i tried com.sun.tools.javac.Main.. but either its not scaling to my needs or i donno how to wok with this.
    is there any option to compile the java files as they are created thru JAXBRI (wsdl2java)?
    any help is appreciated..
    -s

    my requirement is :
    i create java files from wsdl2java (axis).. i need to compile all the java files.. directories with in the directories (recursive)...
    as bcos the the java files have inter-dependencies they have to be compiled as a bunch something like (java *.java). I donno how to do this in javac.Main tool
    Once all these files are compiled i need to create a jar out of them
    Any help is appreciated!

  • No request Idoc generated in BI

    Hi Experts,
    I'm trying to load transaction data into infoprovider but it's not getting through when i check in Moniters it's shows 'No request Idoc generated in BI'.
    To resolve this issue then load data, what are the things need to be done.
    Please drop your comments.
    Thanks in advance.
    Siri

    Hello Siri ,
              what is the source of the data flat file ,R/3 ?can you check whether data is reaching to PSA?is there any routine between?what you can do is go to the monitor click on the details and then go to the data package and simulate the data .then you will know where you got the problem.
    Assigng Points  = Thanks in SDN
    Thankyou & Regards
         Jai

Maybe you are looking for