Send Customer Payment document to external application.

Dear All,
I am working on one of our customer requirement to send Customer Payment data from SAP ECC 6.0 to their application using SAP PI 7.0
I have created a customer Invoice (in Transaction Code FB70)  without any reference document .
Now I want to generate a Customer payment document on the top of Customer Invoice generated as mentioned above.
Can any one please suggest the following:
1) Can we generate Customer payment document in transaction FII0
2) What are the mandatory parameters to generate Customer payment document.
3) If I need to send this data to external application using IDOCs , so can i use Program RFFOEDI1 as suggested in other threads.
    what are the parameters needs to given to run the program?
4) How to configure the our output type so whenever we generate a Customer payment document, an IDOC should be genarated.
Also please confirm if I can use IDOC PAYEXT with basic type PEXR2001 or should I go for some other IDOC.
Best Regards
Honey
Edited by: Honey Gyanani on Jun 29, 2009 7:19 AM

I have posted the same Question in ERP Financials and got the answer.
Honey...

Similar Messages

  • DMS BAPI RFC Open DMS document from external application

    Hello,
    I want open a document stored in DMS through RFC BAPI, from an external application (for example .NET)
    EasyDNS run OK: I have included the bapi Z_EASYDMS_ECL_OPEN_DOCUMENT (code from a SAP note)  in the system and I can open ECL/EAI & local documents (pdf, word, ...)
    If I run Z_EASYDMS_ECL_OPEN_DOCUMENT from SE37 run OK: I can see every document, document is downloaded to local system and then open.
    But when I call bapi Z_EASYDMS_ECL_OPEN_DOCUMENT from my external application through RFC I don't receive any result: document is not download to local system.
    I have debugged the bapi (with SM50) and I have see that the calling entry in bapi, run and then ... crash.
    I have detected the fail in OLE_FLUSH_CALL: system has a dump.
    Summary:
    - EasyDMS run Ok
    - SE37 Z_EASYDMS_ECL_OPEN_DOCUMENT run ok
    - Z_EASYDMS_ECL_OPEN_DOCUMENT dump at OLE_FLUSH_CALL
    Any idea?
    thanks in advance,

    Hello,
    it is possible to extract DMS's file to application server directory:
    FUNCTION Z_DMS_VIEW.
    ""Interfase local
    *"  IMPORTING
    *"     VALUE(DOC_NUMBER) LIKE  BAPI_DOC_DRAW2-DOCUMENTNUMBER OPTIONAL
    *"     VALUE(DOC_PART) LIKE  BAPI_DOC_DRAW2-DOCUMENTPART OPTIONAL
    *"     VALUE(DOC_TYPE) LIKE  BAPI_DOC_DRAW2-DOCUMENTTYPE OPTIONAL
    *"     VALUE(DOC_VERS) LIKE  BAPI_DOC_DRAW2-DOCUMENTVERSION OPTIONAL
    *"     VALUE(ORIGINAL_PATH) LIKE  BAPI_DOC_AUX-FILENAME OPTIONAL
    *"  EXPORTING
    *"     VALUE(P_RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    *"  TABLES
    *"      DOC_FILES STRUCTURE  BAPI_DOC_FILES2 OPTIONAL
      CLEAR:   doc_files.
      REFRESH: doc_files.
      DATA: i_doc_files like bapi_doc_files2.
    DATA: i  type i.
    i = 2.
    while i = 2.
       i = 2.
    endwhile.
      CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2'
        EXPORTING
          DOCUMENTTYPE    = DOC_TYPE
          DOCUMENTNUMBER  = DOC_NUMBER
          DOCUMENTPART    = DOC_PART
          DOCUMENTVERSION = DOC_VERS
          DOCUMENTFILE    = i_doc_files
          GETSTRUCTURE    = '0'
          GETCOMPONENTS   = 'X'
          ORIGINALPATH    = ORIGINAL_PATH
          HOSTNAME        = ' '
          GETHEADER       = 'X'
          PF_HTTP_DEST    = 'SAPHTTPA'
          PF_FTP_DEST     = 'SAPFTPA'
        IMPORTING
          RETURN          = P_RETURN
        TABLES
          DOCUMENTFILES   = DOC_FILES.
    ENDFUNCTION.
    ORIGINAL_PATH must be a directory of application server.
    By background is not possible (I don't know how can we do that) download thsi file to PC.
    Then with the file in application server we can :
    - to map application server directory in a drive unit of Pc
    - to transfer with a ftp client from Pc
    - rfcexec
    But always the bapi can not download the file: it must be a process in Pc who transfer the file.

  • Sending class instance to an external application

    Hi,
    I was wondering if it is possible to send an instance of a class that has been initialized and instantiated to an external application as a parameter to the application?
    Thanks in advance.

    I dont thin that is posible since the java doc says
    Class Class is special cased within the Serialization Stream Protocol. A Class instance is written initially into an ObjectOutputStream in the following format:
    TC_CLASS ClassDescriptor
    A ClassDescriptor is a special cased serialization of
    a java.io.ObjectStreamClass instance.
    A new handle is generated for the initial time the class descriptor is written into the stream. Future references to the class descriptor are written as references to the initial class descriptor instance.
    So am not sure whether you can create new instances from the deserialized classes.

  • Creating a Custom Task for an external application

    Hi
    I want to create a custom task for our records management system, that just opens a particular file people use from within Incident Management every day. 
    The file is of extension .tr5 (which is our records management tool).  I can open the file on my desktop.  When I create the custom task, using the same file - I get a message ' The specified executable is not a valid Win32 application' 
    I can open the application fine using the custom task, but not the file. 
    Could it because there is no relationship from SCSM to the file type? 
    Any suggestions are appreciated. 

    Are you using the executable exe file and the filename as a parameter in the custom task?
    Andreas Baumgarten | H&D International Group

  • Send customer documents to different application

    Hello all,
    We have a need to send customer invoices to an external applocation via IDOCs. We need to send an invoice as soon as it is generated and also when a payment is recieved against a customer invoice for a particulat customer group. We genrate customer invoices through batch program. any idea how this can be done. I've ABAP experience but no IDOC experience whatsover. I would greatly appreciate if you can tell me how can this be acheived and what are the steps that are involved. Any pointers to  online documentation will also be much appreciated.
    Thanking you all in anticipation.
    Regards,
    Rajani

    Hi All,
    I was successfully able to send IDOCs to another system, but I would like to filter the IDOCs based on G/L account. Can anyone ple..............ase tell me how to create filter objects. We are on ECC6.
    Prompt responses will be greatly appreciated.
    Thanking you in anticipation.
    Regards,
    Rajani

  • Customer Payment outbound IDOC trigger

    Dear All,
    I am working on one of our customer requirement to send Customer Payment data from SAP ECC 6.0 to their application using SAP PI 7.0
    I have created a customer Invoice (in Transaction Code FB70) without any reference document .
    Now I want to generate a Customer payment document on the top of Customer Invoice generated as mentioned above.
    Can any one please suggest the following:
    1) Can we generate Customer payment document in transaction FII0
    2) What are the mandatory parameters to generate Customer payment document.
    3) If I need to send this data to external application using IDOCs , so can i use Program RFFOEDI1 as suggested in other threads.
    what are the parameters needs to given to run the program?
    4) How to configure the our output type so whenever we generate a Customer payment document, an IDOC should be genarated.
    Also please confirm if I can use IDOC PAYEXT with basic type PEXR2001 or should I go for some other IDOC.
    Best Regards
    Honey

    Hi...
    1.  First you need to create Invoice (TCode -- FB60)
          Document Number will get generated.
      2. For Automatic Payment Program (Tcode-F110)
        Fill all the details which are mandatory.
       Then go to WE02, check if idoc got genearted.
      And then you can trigger the idoc.
      You can use PAYEXT with basic type PEXR2002
    Regards,
    Leela

  • Custom XML Document over AS2

    Hi All,
    We are planning to send Custom XML Document over HTTP(AS2) to the Remote Trading Partner. The XML Document needs to be posted to a particular URL in the Remote Trading Partner Site.Here is the process flow:
    1. The input application format file having the messages will be transformed to an XML message in BPEL.
    2. Then as per the set-ups done in B2B, this particular XML message needs to be posted to a URL.
    I went through the B2B User's Guide but could not find any documentation on how to set up Custom XML Document over HTTP(AS2).
    Could you please share the documents/technical notes or link which I can refer to do the set-ups in B2B.
    Please let me know. Thanks In Advance.
    Regards,
    DIbya

    Hi Nandu, Ramesh,
    We have done the set-ups for transmitting a Custom XML Document over HTTP1.1 in B2B.
    Our Business Case is as follows:
    1. Read the Flat File using BPEL File Adapter
    2. Transform the Message in BPEL and send it to B2B
    2. Based on the set-ups in B2B, we need to post the XML message to the folliwng URL:-
    http://databridge.buy.datastream.net:5555/invoke/dsImport/receiveXML
    In the B2B Set-Ups, I have done the following:
    Business Protocol name: Custom Document over Internet
    Exchange Protocol: AS
    Document Protocol: Custom
    Transport Protocol: HTTP-1.1
    Host name : http://databridge.buy.datastream.net
    Port: 5555
    I have also deployed the agreement as well as the configuration. The issue that I am currently facing is when I select the configuration in WSIL browser in JDeveloper, I am getting the following error:
    "Unable to get schema information for target".
    Hence I am not able to map the message in BPEL and send it to B2B.
    Could you please let me know the possible causes and if I am missing anything in the set-ups in B2B.
    As always, your help and guidance is highly appreciated.
    Thanks,
    Dibya

  • Get HTML (Dynamic Converter) converted content from external application

    As per requirement, External (Other java application) application suppose to get dynamic converted (HTML version) content from UCM.
    I am trying to execute GET_DYNAMIC_CONVERSION service using RIDC and web service client call.
    I dont see HTML content is coming as the result of GET_DYNAMIC_CONVERSION service.
    Would you please guide me in getting HTML converted document from external application.
    Please let me know, if you need additional details.
    Thank you in advance
    Edited by: 958795 on Sep 12, 2012 3:29 PM

    Hi Srinath,
    I have tried your response. Still i am getting hda data only, not HTML content.
    GET_DYNAMIC_URL service with fileUrl attribute is returning HTML content from UCM GUI (browser) but not from RIDC.
    Code i tried is:
    DataBinder dataBinder = idcClient.createBinder();
              dataBinder.putLocal("IdcService", "GET_DYNAMIC_CONVERSION");
              //dataBinder.putLocal("dID","1832");
              dataBinder.putLocal("dDocName","ECMPS5_002024");
              dataBinder.putLocal("IsJava","0");
              dataBinder.putLocal("RevisionSelectionMethod","LatestReleased");
              dataBinder.putLocal("DCViewFormat","WebViewable");
              // execute the request
              ServiceResponse response = idcClient.sendRequest (userPasswordContext, dataBinder);
    InputStream istream=response.getResponseStream();
    InputStreamReader isr = new InputStreamReader(istream);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    }

  • Vendor/Customer Down Payment document parking

    Hi sirs,
    I want to park the Vendor down payment and customer down payment document with one user ID and afterwards I want to post the document with other user ID.  Is it possible in SAP. 
    What type of documents can be parked and posted in SAP through another user ID and with the same user ID.
    BSR

    Hi BSR,
    Down payment document can be park but  after parking that document will automatically flow to the respective authorized person for getting approval  and posting. As parking doc follow a predefined workflow path.
    In that workflow path if you have mention next approver is the same user id then u can but practically it is not correct(why a person will Park with same user id and post it with the same user id  itu2019s a wasting  of time ) but logically u can  make it possible by inserting same user id in workflow as approver.
    Thanks n Regards
    Prakash
    FI certified , AICWA

  • Payment document should be grossed up while sending payment file to bank

    Hi All Gurus
    I have a critical requirement which iam mentioning as below
    After the payment run system is generating the payment document as per business area wise for each vendor properly,
    and the same file has to be sent to the concerned bank and my client requires that , while sending the file to tha bank the payment documents should be only Vendor wise but not by the business area wise,
    since it is very expensive to the organization, if the payment documents are send by business area wise will be charged more comparing to the single document per vendor
    Can any body please suggest me what changes has to be made in configuration or Program as an earliest
    Regards
    Naaz
    *********Immediate responce will be highly appreciated
    Regards
    Edited by: tabassum naaz on Jul 2, 2010 2:24 PM
    Edited by: tabassum naaz on Jul 2, 2010 2:27 PM

    Yes Robert you are right,
    If you select the tick box the SAP system will generate a seperate line as per business area.
    But business requirement is :
    User wants both, after executing the APP,payament document should be generated in seperate lines for all the involvesd business areas, where as in DME file it must summerize the value of a particular Vendor,
    Regards
    Edited by: tabassum naaz on Jul 2, 2010 4:01 PM

  • Using session/cookies to send data to External Application

    How do I send data to an External Application using either the session store or cookies? I've tried both, but the data isn't visible to the External Application.
    I'm using the owa_cookie package to send a cookie from the "before page is displayed" section of a dynamic page.
    I'm also using the wwsto_api_session api to set attributes in the session store.
    Neither method allows data to be viewable in the External Application (iFS).

    Did you backup your data from that external disk using some other backup software before?
    I am also trying to figure out problems with external HD using time machine to back it up. Am not quite sure yet why it is not working right.

  • How to send delivery document from external system to ECC

    i have a business requirement to send a delivery and billing documents from external system ( MS access )  to ECC
    could any one light me how to do this ???
    Thank you in advance

    Hi Ahmed,
    Talk to your middleware team, They will upload the data through RFC.
    Basiclly RFC(Remote function call) works like it will call the function module and then upload the data.
    For more information, check the link given below.
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
    Hope this helps,
    Regards,
    MT

  • Can I send keyboard/mouse commands from a VI to an external application?

    I am launching an external application (BeamScan.exe by Photon) in Windows 95 from a LabVIEW 5.1 VI using Exec. I want to be able to configure the external application from its own menu bar, sending key commands or mouse clicks from the VI. I need to do it this way because the external application has only limited ActiveX capabilities which do not include the menu options I want to control.
    Is it possible to send keystrokes or mouse clicks through Windows 95 to the other application?

    Steve_rvk wrote:
    > I am launching an external application (BeamScan.exe by Photon) in
    > Windows 95 from a LabVIEW 5.1 VI using Exec. I want to be able to
    > configure the external application from its own menu bar, sending key
    > commands or mouse clicks from the VI. I need to do it this way
    > because the external application has only limited ActiveX capabilities
    > which do not include the menu options I want to control.
    >
    > Is it possible to send keystrokes or mouse clicks through Windows 95
    > to the other application?
    Download "Simulate Click" and "Simulate Key Event" from my web site.
    It's on G Toolbox page.
    George Zou
    http://gtoolbox.yeah.net
    http://go5.163.com/~georgezou

  • Is it possible to send data from an external application to a plug-in that executes a menu item?

    I want to pass some parameters from an external appliaction  to my own plug-in. The plug-in creates a menu item for adding electronic signature. The menu item is executed from my external application using MenuItemExecute("mymenutem").

    Since you control the application AND the plugin - you can define ANY method of communication you want.  Shared files, shared memory, IPC, named pipes, etc.

  • Trigger on Insert into a custom table from external application

    This is the problem I am facing.
    External Application using a different schema lets say extdb on a different server. This writes into a table in a schema called appscustom schema. Appscustom schema is under Oracle Apps.
    A trigger in Oracle Apps to be executed on insert into the appscustom schema table.
    This trigger inturn will run a concurrent job to create the invoice and gl interface tables.
    THe problem I am facing is, The trigger get executed but the concurrent job does not get triggered/run.
    Here is the trigger. Let me know, what might be wrong.
    THe values for vRESP_APPL_Id,vRESP_ID, vUSER_ID becomes null in the test_pims table.
    Whereas when I manually insert from backend into appscustom schema table the concurrent job gets submitted.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    -- Start of DDL Script for Trigger APPS.RWJF_PIMS_ORACLE_INT
    -- Generated 5/25/2005 22:10:52 from APPS@HENRY_DEVL
    CREATE OR REPLACE TRIGGER rwjf_pims_oracle_int
    AFTER
    INSERT
    ON rwjf_pimstxnbatch
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    WHEN (new.status = 'U' )
    Declare
    ReturnCode BOOLEAN;
    ConcReqID NUMBER := 0;
    vRESP_APPL_ID NUMBER;
    vRESP_ID NUMBER;
    vUSER_ID NUMBER;
    LoadToAp NUMBER :=0;
    LoadToGl NUMBER :=0;
    Begin
    -- vRESP_APPL_ID := apps.fnd_profile.value(200); -- AP --('RESP_APPL_ID');
    -- vRESP_ID := apps.fnd_profile.value(20639); -- 20639 for payables mgr. for rwjf_payables Mgr (50001); --('RESP_ID');
    -- vUSER_ID := apps.fnd_profile.value(1247); -- 1247 for sury 1065 for interface -- ('USER_ID');
    LoadToAp := 0;
    SELECT COUNT(*)
    INTO LoadToAp
    FROM rwjf.RWJF_PimsTxnBatchDtl
    WHERE GL_OR_AP = 'A'
    AND pims_txn_batch_id = :NEW.Pims_Txn_Batch_id;
    LoadToGl := 0;
    SELECT COUNT(*)
    INTO LoadToGl
    FROM rwjf.RWJF_PimsTxnBatchDtl
    WHERE GL_OR_AP = 'G'
    AND pims_txn_batch_id = :NEW.Pims_Txn_Batch_id;
    IF LoadToAp > 0 THEN
    vRESP_APPL_ID := 200; -- Application Id 200 Account payables
    vRESP_ID := 50001; -- RWJF_Payables Mgr for user interface
    vUSER_ID := 1065; -- user id for user name interface
    apps.fnd_global.apps_initialize(vUSER_ID,vRESP_ID,vRESP_APPL_ID);
    ConcReqID := 0;
    ReturnCode := FND_REQUEST.SET_MODE(TRUE);
    ConcReqID := FND_REQUEST.SUBMIT_REQUEST('RWJF',
    'RWJF_PIMS_INT',
    '', '', FALSE,
    :NEW.Pims_Txn_Batch_id,'AP', chr(0),
    END IF;
    IF LoadToGl > 0 THEN
    vRESP_APPL_ID := 20003;
    vRESP_ID := 50003;
    vUSER_ID := 1065;
    apps.fnd_global.apps_initialize(vUSER_ID,vRESP_ID,vRESP_APPL_ID);
    ConcReqID := 0;
    ReturnCode := FND_REQUEST.SET_MODE(TRUE);
    ConcReqID := FND_REQUEST.SUBMIT_REQUEST('RWJF',
    'RWJF_PIMS_INT',
    '', '', FALSE,
    :NEW.Pims_Txn_Batch_id,'GL',chr(0),
    END IF;
    insert into test_pims
    values
    ('Test3',:New.Pims_Txn_Batch_id,vUSER_ID,vRESP_ID,vRESP_APPL_ID);
    insert into test_pims
    values
    ('Test3',ConcReqID,vUSER_ID,vRESP_ID,vRESP_APPL_ID);
    IF ConcReqID = 0 THEN
    DBMS_OUTPUT.PUT_LINE('Problem Submitting Program to get pims txn batch'); /* Handle Error */
    END IF;
    End;
    -- End of DDL Script for Trigger APPS.RWJF_PIMS_ORACLE_INT

    don't quite understand the structure of your tables but it sounds similiar to a merge statement.
    (contiditonally insert, update records depending on whether or not corresponding records exist)
    create table custom_table
    (cust_no number,
    line_no number,
    party_id number
    create table hz_parties
    as (
    select 1 party_id, 'A' bill_to_location, 10 cust_no, 100 line_no from dual union
    select 2, 'B', 20, 200 from dual union
    select 3, 'C', 30, 300 from dual union
    select 4, 'D', 40, 400 from dual
    merge into custom_table t1
    using (select * from hz_parties) t2
    on (t1.party_id = t2.party_id)
    when not matched then insert (t1.cust_no, t1.line_no, t1.party_id)
    values (t2.cust_no, t2.line_no, t2.party_id);
    Edited by: pollywog on Mar 5, 2010 6:52 AM

Maybe you are looking for

  • Can not open a particular web site

    Hi, I always tried to open one web site and it used to open well in Firefox and IE. but since last few days it stopped opening both in FF and IE. It gives error as 1. The connection has timed out The server at www.eng-tips.com is taking too long to r

  • Problem with Assign reference document.

    Hi all, I defined transaction input parameter type Xml. I used Reference Document Loader to load document (structure.xml) below. <?xml version="1.0" encoding="UTF-8"?> <SO_VALIDATION>     <L4_SO_ID/>     <L4_SOI_NO/>     <PPC_STATUS/>     <PPC_INFO/>

  • IPod won't stay mounted to computer, can't load any content

    I've reset it, tried to repair it with disk utility, and it still won't stay mounted. Can't put any content on it. iPod classic 160 GB Mid-2010 MacBook Pro running 10.8.5 iTunes 11.1

  • Problems with sql developer and win 8 64 bit

    Hi there, It's my first time in this forum, I am a student programmer and I have many problems to install SQL Developer on Oracle Database 12c. I actually managed to install both, but I could not make them work. My question is SQL Developer works on

  • Query Perfomance

    Hi friends ,                   I have a report runnning in production , the performance of the query dramatically decreases when I apply a filter to one of my characteristics, is there any way I can get handle the performance ? thanks ,