Table is not filling with the RFC data

Hi,
   I am new to WDJ. I have a created a wdj application by importing adaptive RFC model. deployment is sucessful but at runtime the table is not getting filled up with the RFC data. RFC is executing find from the backend. JCO is maintained correctly in the webdynpro, mapping and  binding is done.
Could someone guide where could be the problem?
I am giving the code below for doinit and service controller method.
public void wdDoInit()
    //@@begin wdDoInit()
    //$$begin Service Controller(-222509821)
    wdContext.nodeZsalesheader_Data_Input().bind(new Zsalesheader_Data_Input());
//     wdComponentAPI.getMessageManager().reportSuccess("Node value " + wdContext.currentContextElement().getAttributeAsText("auart"));
    //$$end
    //@@end
public void executeZsalesheader_Data_Input( )
    //@@begin executeZsalesheader_Data_Input()
    //$$begin Service Controller(-1232218854)
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
    try
     wdContext.nodeOutput().invalidate();
      wdContext.currentZsalesheader_Data_InputElement().modelObject().execute();
    catch(WDDynamicRFCExecuteException e)
      manager.reportException(e.getMessage(), false);
    //$$end
    //@@end
Can anybody guide if am missing something?
Regards
Sireesha.

Anup and all,
Can anyone please identify whats the mistake in the below code?
OnLeadSelect Event
    wdContext.nodeZsalesheader_Data_Input().getElementAt(wdContext.getLeadSelection()).getAttributeValue("Vbeln"));
I am getting a runtime exception that "unknown attribute Vbeln".
Here is my Context Node.
---Zsalesheader_Data_Input
Output
T_Salesheader
Vbeln
Auart
Vbtyp
Trvog
As per the above Context structure is my code correct? If not how do i read the value vbeln from the above context?
Can anyone pls advice?
Regards
Sireesha.

Similar Messages

  • Pl/sql Procedure is Not Creating With the CLOB data Type

    Hi,
    I am Using Oracle 10g Express Edition Release2.... My Doubt is While creating a table With CLOB Data Type the table is created successfully,but while Creating a Procedure With the CLOB Data type i am getting an Error Message
    2667/5 PL/SQL: Statement ignored
    2667/24 PLS-00382: expression is of wrong type
    then i tried With the Varchar2(30000) the Procedure is Created Successfully note i have not changed any thing in my code except the data type.
    I am Just Confused ......Why the Procedure is not Created with CLOB Data type?
    Please advice ...
    Thank U
    SHAN

    hi,
    Thanks for reply....Another Example
    CREATE TABLE USER_MAS (USER_ID     VARCHAR2 (20 Byte),MAIL_ID     VARCHAR2 (255 Byte));
    set serveroutput on
    declare
    atable varchar2(64) := 'USER_MAS';
    acolumn varchar2(64) := 'MAIL_ID';
    avalue varchar2(64) := 'NEWYORK' ;
    dyn_sql clob;
    begin
    dyn_sql := 'update '||atable||' set '||acolumn||' = '''||avalue|| '''' ;
    dbms_output.put_line(dyn_sql);
    execute immediate dyn_sql;
    end;
    commit ;
    Error at line 2
    ORA-06550: line 9, column 23:
    PLS-00382: expression is of wrong type
    ORA-06550: line 9, column 5:
    PL/SQL: Statement ignored
    When i Changed the Data type to varchar2(64)
    update USER_MAS set MAIL_ID = 'NEWYORK'
    PL/SQL procedure successfully completed.
    Commit complete.
    I like to Know the Reason Why the Procedure is Not Created in Oracle 10g XE DB
    Note :the Same Script i used in 11g DB the Procedure is Created Successfully....
    Why you need use CLOB or VARCHAR2 in your temp_num variable as you sending parameters as number?
    In the Procedure we are create some run time queries while executing the procedure. There are around 10 run time queries created.
    The size of each query is more than 4000 characters . We then add all the queries using union all after each query  to the clob variable as the normal varchar will not support.
    Please Advice
    Thank U
    SHAN

  • Importing  Parameter (/1BCDWB/FORMOUTPUT) Not filled  - Inside the RFC

    Dear All,
    I am Calling the Adobe form Inside the RFC Function Module, problem i am facing this Importing Parameter  /1BCDWB/FORMOUTPUT not filled.
    Based on the Importing I need the XSTRING Data
    CALL FUNCTION  <Function Module name>
             EXPORTING
                      /1BCDWB/DOCPARAMS = fp_docparams
                      <> = <>
             IMPORTING
                     /1BCDWB/FORMOUTPUT = fp_formoutput
    Note:Other Tables are filling in the Function Module.
    Please help me on this.
    Thanks,
    Kanagaraja L

    Hi,
    Pls refer :
    Re: how to call the adobe form from se38

  • BAdI /SAPAPO/DM_PO_MNTN - CT_ORDKEY is not populated with the order data for PO Memo

    Dear All,
    I have done enhancement in the ERP system by adding the customer specific field ZZ_RESWK in structure CIFPUORCUS. This field is filled in the ERP user exit EXIT_SAPLMEAP_001, for the Purchase order (category BF & BG) and PO Memo (Category AH).
    Now, in APO I have implemented the BAdI /sapapo/dm_po_mntn, and in the method "Change" I am passing the field zz_reswk to ct_ordkey table field reswk, so to write the field in livecache.
    This set up is working for order category BF and BG. However, when I am transferring the PO memo (Category AH) from ERP to APO, the the BAdI internal table ct_ordkey is having no records. Hence I am not able to write field reswk for the PO memo in the live cache.
    Any one have any idea, why there is not data in ct_ordkey for PO memo ?
    Note: The data transfer from ERP to APO is using IDOC.
    Please Help.
    Regards,
    SC

    Hi,
    If you don't do what I told you, I can not do anything more....
    Your code should look like this:
    loop at it_item into ls_item.
    ls_cust-refobject = 'POITEM'.
    ls_cust-fieldname = 'CATALOGID'.
    ls_cust-REFFIELD1 = 'PO_ITEM'. <b>and not 'POITEM'</b>
    ls_cust-REFVAL1 = ls_item-number_int. <b>and not a fixed value</b>
    ls_cust-container = ls_item-catalogid.
    append ls_cust to ct_bapi_customer_fields.
    endloop.
    For R/3 mapping table BBP_CUFMAP:
    DOC_TYPE = PO
    KEY_TYPE = Z
    CUF_FIELD = CATALOGID
    R3_FIELD = ZSRMCATALOGID
    Rgds
    Christophe

  • Page is not refreshing with the correct data.

    Hello experts,
    I have an unusual situation and I'm not sure why it is happening. We have 3 instances and the error is occurring in one of them.
    So here is the issue:
    1) I created a custom extended controller for a customer site form to check the character length of address lines 1 and 2.
    2) User creates a new contact under customer site. On the contact creation page, the contact information is entered and click Apply.
    After the contact has been created, the application directs you back to the customer site page.
    3) On the customer site page, the user clicks Apply again. The custom extended controller runs and then it takes you back to the customer site page.
    4) Now the page has some other address that is not in anyway related to the customer.
    5) I checked in the back end and the address is associated to hz_parties.party_id = -1.
    If I remove the custom controller the page refreshes with the correct address information. What I am baffled is that it is only happening in 1 of the 3 instances (all using Release 12.1.3).
    I already asked the dba to bounce middle tier/apache, cleared the cache and it is still having the same issue.
    Anyone have any idea why this is happening?

    Here's the custom controller code:
    package xbol.oracle.apps.ar.cusstd.acctSite.webui;
    import java.io.PrintStream;
    import oracle.apps.ar.cusstd.acctSite.webui.ArAcctSiteOverviewCO;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.Row;
    public class XXF5ArAcctSiteOverviewCO extends ArAcctSiteOverviewCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    System.out.println("Running extended controller processRequest......");
    super.processRequest(oapagecontext, oawebbean);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    System.out.println("Running extended controller processFormRequest......");
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    String s = oapagecontext.getParameter("event");
    System.out.println((new StringBuilder()).append("Event: ").append(s).toString());
    System.out.println((new StringBuilder()).append("OkButton: ").append(oapagecontext.getParameter("OkButton")).toString());
    if(oapagecontext.getParameter("Save") != null || oapagecontext.getParameter("Apply") != null)
    System.out.println("Start of validation");
    OAApplicationModule AddressAM = (OAApplicationModule)oaapplicationmodule.findApplicationModule("HzPuiAddressAM");
    if(AddressAM == null)
    throw new OAException("Error: Stale Data - The requested page contains stale data. This error could hav" +
    "e been caused through the use of the browser's navigation buttons (the browser B" +
    "ack button, for example)."
    , (byte)0);
    System.out.println((new StringBuilder()).append("HzPuiAddressAM: ").append(AddressAM).toString());
    OAViewObject AddressVO = (OAViewObject)AddressAM.findViewObject("HzPuiLocationVO");
    System.out.println((new StringBuilder()).append("HzPuiLocationVO: ").append(AddressVO).toString());
    if(AddressVO == null)
    throw new OAException("Error: Stale Data - The requested page contains stale data. This error could hav" +
    "e been caused through the use of the browser's navigation buttons (the browser B" +
    "ack button, for example)."
    , (byte)0);
    Row AddressRow = AddressVO.getCurrentRow();
    System.out.println((new StringBuilder()).append("AddressRow1: ").append(AddressRow).toString());
    if(AddressRow == null)
    AddressRow = AddressVO.last();
    System.out.println((new StringBuilder()).append("AddressRow2: ").append(AddressRow).toString());
    String Address1 = (String)AddressRow.getAttribute("Address1");
    String Address2 = (String)AddressRow.getAttribute("Address2");
    System.out.println((new StringBuilder()).append("Address1: ").append(Address1).toString());
    System.out.println((new StringBuilder()).append("Address2: ").append(Address2).toString());
    int length1 = 0;
    if(Address1 != null)
    length1 = Address1.length();
    int length2 = 0;
    if(Address2 != null)
    length2 = Address2.length();
    System.out.println((new StringBuilder()).append("Address length1: ").append(length1).toString());
    System.out.println((new StringBuilder()).append("Address length2: ").append(length2).toString());
    if(length1 > 35 || length2 > 35)
    OAApplicationModule PurposeAM = (OAApplicationModule)oaapplicationmodule.findApplicationModule("HzPuiAccountSiteAM");
    OAViewObject PurposeVO = (OAViewObject)PurposeAM.findViewObject("HzPuiCustSiteUsesVO");
    int BPcount = PurposeVO.getRowCount();
    System.out.println((new StringBuilder()).append("Business Purpose Row Count: ").append(BPcount).toString());
    Row PurposeRow1 = PurposeVO.getFirstFilteredRow("SiteUseCode", "SHIP_TO");
    System.out.println((new StringBuilder()).append("Ship_to row: ").append(PurposeRow1).toString());
    System.out.println((new StringBuilder()).append("Length1: ").append(length1).append(" Length2: ").append(length2).append(" Ship_to row: ").append(PurposeRow1).toString());
    if(PurposeRow1 != null)
    System.out.println("Throwing exception.");
    System.out.println("Before SuperPFR2");
    super.processFormRequest(oapagecontext, oawebbean);
    System.out.println("After SuperPFR2");
    OAException ErrorMessage = new OAException("WARNING: Ship_To sites address lines 1 and/or 2 have more than 35 characters.", (byte)3);
    OADialogPage dialogPage = new OADialogPage((byte)1, ErrorMessage, null, "", null);
    dialogPage.setOkButtonItemName("OkButton");
    dialogPage.setOkButtonToPost(true);
    dialogPage.setPostToCallingPage(true);
    dialogPage.setOkButtonLabel("OK");
    oapagecontext.redirectToDialogPage(dialogPage);
    } else
    System.out.println("SuperPFR3");
    super.processFormRequest(oapagecontext, oawebbean);
    } else
    System.out.println("SuperPFR4");
    super.processFormRequest(oapagecontext, oawebbean);
    System.out.println("End of validation");
    } else
    System.out.println("SuperPFR5");
    super.processFormRequest(oapagecontext, oawebbean);
    public XXF5ArAcctSiteOverviewCO()
    }

  • Solved af:table is not refreshed with updated MBean data from list even

    Hi,
    I have a af:table which gets its data from a Managed Bean List type varaiable.
    My table hav one lov as a row item.
    When i change the lov in each row... a new row should get added to the table.
    So in the value change listener of the selectOneChoice i added one element to the list.
    Enabled PPR on table.
    But table is not getting refreshed until i click on some button or link.
    Thanks
    Murali
    Message was edited by:
    Murali Chepuri

    Solved after adding partialtarget in ValueChangeListener.
    Thanks
    Murali

  • Why will my web form submit but my fillable form not submit with the same data in both?

    i have developed a form in formscentral. When I trest it as a web form, it submits all the data to my attached fromscentral response form. I copy and paste the same data into tjhe fillable pdf form I generate from the distribute forms option with a submit buttion, and the form will not submit. It gives an "unable to connect to server" error.
    When I try an empty form. it will submit. When I delete data from text fields. I will eventually reach a pint where the form will submit.
    Is there a file size limit on the fillable pdf for submission to the formscentral response form?

    Hi Mark,
    Sorry for not being clear.
    There is a system limit of 10000 characters in a multiline text field. Say you designed a form where a multiline text field has a limit of 20 characters. The following text will submit without error in the HTML form but will fail in the PDF form:
    1234567890
    123456789
    In the HTML form there is a total of 20 characters in the field value, 19 digits and a linefeed character representing the newline. In the PDF form there is a total of 21 characters in the field value, 19 digits, a carriage return, and a linefeed.
    Regards,
    Brian

  • Accounting doc entries not matching with the the entries from j_1ipart2 entries

    Hi,
    After creating PO, I have done MIGO and J1IEX. Now, posted MIRO. The end screen shows a number stating accounting document created.
    I checked the accounting doc in fb03 and the document is displayed over there. I also checked the table for values captured in PART2 of excise. The value displayed in table is not matching with the value displayed in accounting document. Can anyone help?

    Hello Tejas,
    Here is the updated version of the situation.
    After the transaction J1IEX, I got a message saying an 'Accounting Document' has been created. But the accounting document number does not match with the original values. I checked all the tables and found out that the accounting document is not created.
    In this case, I thought of creating an accounting document manually and adding them directly to the table.
    Here are my questions,
    -Can I manually create an accounting document for multiple line items?
    -Few tax values should be split and should go to 2 different GL accounts. so how to do this if I am creating it manually
    -Or can I delete the values captured during 'J1IEX' in the table and reopen the GR so that the t-code j1iex can be processed again?

  • Nokia 6124 classic wont work with the USB Data Cab...

    Hi all,
    I'm trying to connett Nokia 6124 classic but its not working with the USB Data Cable. Is there a way to fixing it yourself?
    Thanks
    Jonathan 'Jonnie'

    You should install the drivers first before connecting your phone. Drivers are bundled in with pcsuite/ovi suite which can be downloaded from here.

  • In sm30, when save, how to fill the table with the system data in the table

    Hi all, in SM30, we have user name and time fields, when we create record, after we click the SAVE button, it will automatically fill the fields with the system data, how can we realize it?

    Hi ,
    Do like this.
    1. Go to SE11 -> give your table name and press on change button .
    2.Go to Menu->Utilities-> Table Maintainance Generator , then it will take you another screen .
    3.Assign Functin group if already have one , other wise create function group and assign
    4.Go to Menu->Environment->Modification->Events , again it will take you to another screen
    5.Click on new entries
    ->Now press F4 in T column . Select<u> "01" - Before saving the data in the database</u> and in form routinue give any name of the routinue like "SAVE_USER_DATA" and press enter then u can see an editor symbol in next column click on that it will take you ABAP editor there type this code .
    ztable-username = sy-uname.
    ztable-createtime = sy-uziet.
    check and activate the code .
    With this your job will be complete . Now while entering data just leave columns blank , they will insert corresponding username and time
    Don't forget award points if it helps you.
    Regards,
    Raghav

  • System error: Default TXJCD is not filled in the table T001

    Hi friends,
    Can anyone help me out in this scenario? We are facing a peculiar problem.
    We are in a upgrade project from 4.5b to ECC 6.0.Client is not maintaining any tax codes i.e they are maintaining it outside SAP.The problem is when ever the billing document is released to accounting(VF02) in ECC 6.0 it is showing  this error “System error: Default TXJCD is not filled in the table T001”.But this is working fine in 4.5b.
    Are there any basic changes regarding TAX JURISDICTION CODE is concerned from upgrade. Please provide.
    Thanks in advance,
    Yoga

    Hi Yoga,
    Probably, the program is showing error message FF799, please maintain transaction OBCL with a default tax jurisdiction code.
    The tax jurisdiction code should be maintained at state level only and
    corresponds to the tax jurisdiction code structure maintained in table
    TTXD. For example, if your structure is 2-3-4-1. Then your default
    code should be XX00000000. I suspect that the settings in transaction
    OBCL are incorrect and hence the FF799 error, when shipping from a US
    plant to a foreign ship-to customer (non-US).
    Addional info concerning the Tax Interface for standard methods for
    US taxes you can find at  -   http://www.saplabs.com/projects/tax/
    Documentation: Tax Interface Configuration Guide for release 4.6x
    Please have a look at attached notes 112609 and 385127.
    Here is the explaination that the process for tax-exempt transactions
    has been changed.
    Other notes you may need for OBCL :
    -> 0627091   Message FF749 with billing data transfer
    -> 0608159   Error FS791 during billing data transfer
    -> 0380158   Jurisdiction code for export business transaction
    -> 0419124   Export billing document with tax jurisdictions
    I hope this information helps you,.
    Regards,
    Paulo

  • Data in table control not seen for the Standard Transaction Iview

    Hi
    I am creating one Standard Transaction Iview for CATS .
    While doing print preview in IE 6 , I am not able to see data in Table control(Data Entry Area ).
    Can you please provide me the solution for how I can see the data in Table Control
    Regards
    Ruturaj

    Hi David,
    I too struggled a lot to find the solution ....atlast got it....It possible by exporting and importing the table control values to Database Index.
    1. AT SELECTION SCREEN OUTPUT event  triggers when you SAVE and GET the variant.
    2. So write the logic in AT SELECTION-SCREEN OUTPUT event.
    CONSTANTS: c_vari TYPE char30 VALUE
                             '(SAPLSVAR)RSVAR-VARIANT'.
      FIELD-SYMBOLS: <lfs_vari> TYPE ANY.
      ASSIGN: (c_vari) TO <lfs_vari>.
      IF sy-subrc = 0.
        IF <lfs_vari> IS NOT INITIAL.
          IF ok_code = 'SPOS'.
            EXPORT gt_chars[] TO DATABASE vari(tc) ID <lfs_vari>.
          ELSEIF ok_code = space.
            IMPORT gt_chars[] FROM DATABASE vari(tc) ID <lfs_vari>.
          ENDIF.
        ENDIF.
      ENDIF.
    In the above logic if OK_CODE is 'SPOS', that is for saving the variant with the name <lfs_vari>.
    Similarly if the OK_CODE is other than, 'GET'....that is for retrieving the variant. But in case of getting the variant OK_CODE is not filled with 'GET', but variant will be filled. We should take variant filling as base and do as done above.
    It worked for me.....

  • Table are not prefixed with Schema in  SQL request - Unable to get Data

    I began this new thread because I closed the [previous one|Unable to get data (DSN connection); a little bit early, I believed it was OK but no the problem still here.
    First my architecture :
    Oracle 9g
    +500 Reports made under CR developper 8.5 or 9.0
    Report opened in VB .net application, framework 2.0 using CR runtime 8.5 and 9.0
    We want to upgrade CR version to 2008, so modification of reports will be done with CR 2008 Developper, and we want to
    use only CR 2008 runtime.
    The problem :
    Everything works fine in CR Developer, but the same report with the same parameters failed when called inside .net.
    The error is "Unable to get data", the database connection is OK but the queries mades from inside the report are wrong :
    The tables/views in the from statement are not prefixed with the Schema, so Oracle don't find them.
    Example (SQL monitoring done with TOAD)
    Execution of postes.rpt report directly in CR :
    Timestamp: 10:30:03.881
    Successful logon attempt (session tag: 0x6464CB8)
    username: 'APPLI_HUET'; database: 'DEV'
    SELECT ...
    FROM  "COMMUN"."ETAB" "ETAB" INNER JOIN "GESTION_DES_TEMPS"."POSTES" "POSTES"
    ON "ETAB"."N_ETAB"="POSTES"."N_ETAB"
    WHERE  "POSTES"."N_ETAB"=2 ORDER BY "POSTES"."N_POSTE"
    Timestamp: 10:50:29.178
    Logoff (session tag: 0x6464CB8).
    Same report, same authentication but throught .net program :
    Timestamp: 11:01:24.569
    Successful logon attempt (session tag: 0xA93FC38)
    username: 'APPLI_HUET'; database: 'DEV'
    SELECT ...
    FROM   "ETAB" "ETAB" INNER JOIN "POSTES" "POSTES"
    ON "ETAB"."N_ETAB"="POSTES"."N_ETAB" WHERE  "POSTES"."N_ETAB"=2 ORDER
    BY "POSTES"."N_POSTE"
    Runtime error occurred: 942 (ORA-00942: Table ou vue inexistante)
    The .net code :
    Dim _report As New ReportDocument()
    _report.Load("report.rpt", OpenReportMethod.OpenReportByDefault)
    Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
    myConnectionInfo.ServerName = "DSN_file"
    myConnectionInfo.UserID = p_Userid
    myConnectionInfo.Password = p_Password
    ' to see code in this method se my original post
    SetDBLogonForReport(myConnectionInfo, _report)
    SetDBLogonForSubreports(myConnectionInfo, _report)
    Dim frmViewer As New CrystalReportViewer
    frmViewer.CrystalReportViewer1.ReportSource = _report
    frmViewer.Show()
    Any ideas ?

    Thanks for the and sorry but I don't understand.
    I've made a research of Location on this forum the more intersting thread I've found is rpt-files do not function anymore after deploying to a different database, but I still don't understand.
    I take a look at all code sample and I can't found anything.
    You say that .Location need to be set, indeed Location property of CrystalDecisions.CrystalReports.Engine.Table object only contains table name.
    I tried to overrides this value by the fully qualified table name (ie Schema.Table, for example GESTION_DES_TEMPS.POSTES), and it work  BUT it wouldn't be the solution, my code is designed to be generic, I can't have a database to know wich schema add before differents table name.
    Why when we execute the report directly in CR 2008 developper we don't have to redefine the table location ?
    Another test :
    I've made a new report directly in CR 2008 with a DSN, launch it in .net with the same DSN (server) : OK
    Then I launch it in .net with another DSN, it work also.
    Why report done with Crystal 8.5 or 9.0 have this problem ?
    I'me gonna be mad....
    Edited by: Yoann DAVID on Jan 8, 2010 3:32 PM

  • AP PAYABLES- Not getting all the DUE DATE's in with split schedule payments

    Hello All,
    We have some issues with AP Data loading's into our DW from EBS 11.5.10 AP - PAYABLES.
    One of our customer is using split schedule and share payment into few payment. Our
    sql is not reading all the due dates for PAYABLES.
    We are using PAYMENT_NUM=1 from ap_payment_schedules_all table as condition to load the Data to avoid duplicate rows coming for Payables.
    Some hints: removing the "PAYMENT_NUM=1" from the where clause gives all the due_dates but then we have duplicate rows for Payables.
    Please help to modify our query so that it will work for split schedule payment.
    select
    inv.invoice_num,
    inv.doc_sequence_value,
    sob.currency_code,
    inv.invoice_date,
    'EH'||inv.vendor_id vendor_id,
    'EH'||inv.vendor_site_id vendor_site_id,
    ael.ae_line_number distribution_line_number,
    inv.invoice_currency_code,
    aeh.accounting_date,
    'EH'||ael.code_combination_id code_combination_id,
    nvl(ael.entered_dr,0)-nvl(ael.entered_cr,0) accounted,
    nvl(ael.accounted_dr,0)-nvl(ael.accounted_cr,0) amount,
    fuser.user_name,
    fuser2.user_name user_name2,
    inv.payment_status_flag,
    'PAYABLES' rowtype,
    inv.discount_amount_taken,
    inv.invoice_type_lookup_code invoice_type,
    inv.exchange_rate,
    inv.exchange_date,
    tax.name,
    inv.source,
    inv.attribute6 eflow_doc_id,
    sysdate transfer_date,
    sch.hold_flag,
    inv.cancelled_date,
    sch.due_date
    from
    ap.ap_invoices_all inv,
    apps.ap_ae_headers_all aeh,
    apps.ap_ae_lines_all ael,
    ap.ap_tax_codes_all tax,
    ap.ap_payment_schedules_all sch,
    gl.gl_sets_of_books sob,
    applsys.fnd_user fuser,
    applsys.fnd_user fuser2
    where
    aeh.ae_header_id=ael.ae_header_id and
    inv.set_of_books_id=sob.set_of_books_id and
    inv.invoice_id=sch.invoice_id and
    sch.payment_num*1=1 and ---------------------------------------------- *
    fuser.user_id=inv.last_updated_by and
    fuser2.user_id=inv.created_by and
    ael.tax_code_id=tax.tax_id(+) and
    ael.ae_line_type_code='LIABILITY' and
    inv.invoice_id=ael.source_id and
    ael.source_table='AP_INVOICES' and
    aeh.gl_transfer_flag='Y'
    Thanks,
    Aman

    Hello All,
    We have some issues with AP Data loading's into our DW from EBS 11.5.10 AP - PAYABLES.
    One of our customer is using split schedule and share payment into few payment. Our
    sql is not reading all the due dates for PAYABLES.
    We are using PAYMENT_NUM=1 from ap_payment_schedules_all table as condition to load the Data to avoid duplicate rows coming for Payables.
    Some hints: removing the "PAYMENT_NUM=1" from the where clause gives all the due_dates but then we have duplicate rows for Payables.
    Please help to modify our query so that it will work for split schedule payment.
    select
    inv.invoice_num,
    inv.doc_sequence_value,
    sob.currency_code,
    inv.invoice_date,
    'EH'||inv.vendor_id vendor_id,
    'EH'||inv.vendor_site_id vendor_site_id,
    ael.ae_line_number distribution_line_number,
    inv.invoice_currency_code,
    aeh.accounting_date,
    'EH'||ael.code_combination_id code_combination_id,
    nvl(ael.entered_dr,0)-nvl(ael.entered_cr,0) accounted,
    nvl(ael.accounted_dr,0)-nvl(ael.accounted_cr,0) amount,
    fuser.user_name,
    fuser2.user_name user_name2,
    inv.payment_status_flag,
    'PAYABLES' rowtype,
    inv.discount_amount_taken,
    inv.invoice_type_lookup_code invoice_type,
    inv.exchange_rate,
    inv.exchange_date,
    tax.name,
    inv.source,
    inv.attribute6 eflow_doc_id,
    sysdate transfer_date,
    sch.hold_flag,
    inv.cancelled_date,
    sch.due_date
    from
    ap.ap_invoices_all inv,
    apps.ap_ae_headers_all aeh,
    apps.ap_ae_lines_all ael,
    ap.ap_tax_codes_all tax,
    ap.ap_payment_schedules_all sch,
    gl.gl_sets_of_books sob,
    applsys.fnd_user fuser,
    applsys.fnd_user fuser2
    where
    aeh.ae_header_id=ael.ae_header_id and
    inv.set_of_books_id=sob.set_of_books_id and
    inv.invoice_id=sch.invoice_id and
    sch.payment_num*1=1 and ---------------------------------------------- *
    fuser.user_id=inv.last_updated_by and
    fuser2.user_id=inv.created_by and
    ael.tax_code_id=tax.tax_id(+) and
    ael.ae_line_type_code='LIABILITY' and
    inv.invoice_id=ael.source_id and
    ael.source_table='AP_INVOICES' and
    aeh.gl_transfer_flag='Y'
    Thanks,
    Aman

  • Clean-up all data that did not match with the selection.

    Hi Everyone,
    In my requirement I need to  Clean-up all data that did not match with the selection from my internal table lt_cdpos.....in this case wat can i use like.'Refresh' or ' Clear' or 'DELETE ADJACENT DUPLICATES FROM lt_cdpos'.
    Pls suggest me...

    Hi Meenakshi
    Try  delete lt_cdpos where kunnr  NE KUNNR (from selection screen) .
    Before Checking <condition> make sure both comparing field type match with each other.
    You can use FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' for append leading zeros in compare condition before comparing kunnr from selection screen
    Regards
    Parveen

Maybe you are looking for

  • Problems witht the new ios 8 update

    I recently updated to the new ios 8.1.2 and now my ipad will not charge or stay charged.  It was working perfectly fine before the update!

  • Webdyn pro abap

    hi all, I am having a doubt in web dynpro. As far as netweaver 2004 sr2 as concern , is there anything(basis) have to configure for web dynpro environment.If it so , please clear it to me. please send the steps also regards senthil

  • System fonts failing to load/enable correctly

    On start up my mac doesn't fully enable all the system fonts. Arial 9/10 times fails to load regular and bold weights and Verdana is problematic too. My current work around is to manually enable them in Font Book which is beginning to annoy me – anyo

  • The new Mac Pro's and the new iMacs

    Greetings, I'm in the market to finally replace my G5 Mac tower for a more contemporary model. I see that Apple has finally refreshed the Mac Pro line. I was hoping for some CPU clarifications. The iMacs all say they use i5's and i7 processors. But a

  • Is it true Creative Cloud is only needed if renting Adobe software?

    I do not rent any Adobe programs. I own a copy of Adobe Acrobat Pro IX, and Elements. Since these programs are not rented; then is it correct Creative Cloud is useless here? The Apple computer I use has Creative Cloud always coming up at start up. Is