Invoice Does not Created in R/3

Dear All,
I am sending data from Oracle Application to SAP R/3 through XI .
XI is picking up data from Oracle and send it to RFC of SAP R/3 in RFC it calls function module(Z) in which i am calling BDC.It executes fine in R/3
But when i send it thriough XI it gives
After finishing the polling it gives all successfully finished.
Message successfully received by messaging system. Profile: XI URL: http://aipid:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
Success Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
Success Message successfully put into the queue.
Success The message was successfully retrieved from the request queue.
Success The message status set to DLNG.
Success Delivering to channel: CC_COPA_AED_RFC
Success RFC adapter received a synchronous message. Attempting to send sRFC for ZXI_INTF_INVOICE
Success BAPI response was a table of type BAPIRET2 with 0 rows
Success BAPI executed successfully
Success Commit transaction with BAPI_TRANSACTION_COMMIT
BUT WHEN I CHECK THE INVOICE IN sap r/3 THENIT DOES NOT SHOW
WHAT COULD BE PROBLEM
THANKS,
rp

Hey,
The Problem most probably is with COMMIT. Though the data is being transferred to the target system BDC program with you are calling in ZRFC doesn't commit.
In the RFC adapter -> Advance Mode -> Commit Control for Single BAPI Calls -> Set the indicator
If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
<b>Cheers,
*RAJ*
**REWARD POINTS IF FOUND USEFULL <b>

Similar Messages

  • A JE created from the AP Invoice does not include the project # on all trx

    A JE created from the AP Invoice does not
    include the project # for the amounts entered in the freight box. To
    duplicate, do the following:
    1. Open an AP Invoice
    2. Enter BP Code
    3. Select Service type
    4. Enter a Project Code in drop down box on Accounting tab
    5. Enter a line in the Contents; specify GL Account, amount and Tax
    Code Open Freight box
    6. Enter an amount in one of the lines
    7. Click ADD
    8. Go back to the invoice and go to the Accounting tab Click on the GL
    journal note and you can see that the line corresponding to the
    contents line has a project, but the line corresponding to the Freight
    box item does not.
    My customer users these projects when printing GL agings and the
    information is very important. Shouldn't this information be carried
    forward on all transactions on the Journal entry? Is there a way to get this information to post?

    Hi Pat,
    the project code (PC) on the marketing document may only be applied to the business partner (BP), hence the only row in the associated journal entry (JE) with this project code is that of the BP.
    You can link project codes to specific accounts (CoA -> select account -> account details -> project code) & this project code will then be assigned every time the account is found in a JE.
    If you require the project code to be applied to the freight, you may assign this project code to the account you have defined for this freight. The drawback is naturally that the project code will then  be pulled every time this freight is used, regardless of whether or not the PC is associated with the BP or not.
    It is possible to manually assign project codes to every row in a journal entry, hence this should also be possible with SDK. You might explore the possibility whether it might be possible to automatically assign the BP PC to all rows in the JE using a script.
    All the best,
    Kerstin

  • Expense Report Export does not create Invoice in AP

    Hello,
    I have created several expense reports in AP (Running EBS R12, I am not using iExpenses), but when I use the Expense Report Export request, the invoices are not created. I have looked online and found some plausible solutions. None of them have worked: I've made sure the Employee payment method is set up; the Usage rules for payables are also set up for Employee Expenses in the payment processing transaction type. In the Payables Option screen, I have selected the Automatic Employee as a Supplier option.
    Here's the Expense Report Export log:
    Payables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    APXEXPER module: Expense Report Export
    Current system time is 29-APR-2013 11:09:53
    **Starts**29-APR-2013 11:09:54
    **Ends**29-APR-2013 11:09:55
    Start of log messages from FND_FILE
    Begin Receipts Management - Holds
    Process Hold Each Scenario
    Determine whether to place Holds
    Process Hold All Scenario
    Determine whether to place Holds
    Process Hold BothPay Scenario
    Determine whether to place Holds
    Process Obsolete Holds
    Obsolete Holds
    Obsolete Both Pay Holds
    Begin Processing Individual expense reports
    Fetching expense report...
    Expense Report Number : **110**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Expense Report Number : **REEMBOLSO 25ABR2013**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Expense Report Number : **TEST_ASTRID_EXPENSE**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Expense Report Number : **TEST_EXPENSE_AGSV**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Expense Report Number : **101**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Credit Card Expenses Fetched = 0
    Credit Card Invoices Created = 0
    Call Payables Open Interface
    Expenses Fetched = 5
    Invoices Created = 0
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 4105067      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-APR-2013 11:09:55
    What else do I need to do? Am I missing something?
    Thanks in advance,
    Astrid

    I found the answer and I am posting it here in case someone else needs it:
    You need to run the Expense Report Export with the Debug Switch on (you can find this under the request's parameters). When the output is ready, just select "View Log..." and search for the "REJECT CODE"; it will let you know what went wrong with your expense report. In my case, the suppliers I was using had invalid liability accounts. As soon as I updated them, the invoices were generated.
    Regards,
    Astrid

  • Excise invoice does not excist

    Dear SAP Gurus,
    While depot to depot stock transfer process @ the time for MIGO error came that EXcise invoice does not excist for suppying plant.Is we miss any configuration.
    With Regards
    Mukul Kumar

    if you are trying to enter the excise invoice number created in the sending plant using J1is, if you dont enter the leading zeros system may not recognize the invoice

  • Excise invoice does not exist in supplying plant

    Dear all,
    We are having a scenario where in we are doing stock transfer from one plant to other the system gives an error message that the excise invoice does not exist in supplying plant.
    Created a PO for stock transfer, posted GI against it, created excise invoice in J1IS with transaction type other. We are having separate excise registeration for the two plants.
    Secondly request to kinldy let me know what account enteries should be generated when we post excise invoice for the supplying plant.
    Regards,
    mahesh.

    Hi,
    In case of STO process using SD the process flow is like
    1. Create a PR against the supplying Plant (ME51N)
    2. Create a STO (PO) with ref to the PR (ME21N)
    3. Create a Outbound Delivery with ref to the STO. (VL10B/VL10D)
    4. Create a Proforma Inv (VF01) No Acc docs gets generated.
    5. Create a Excise Inv for the supplying Plant (J1IIN) Accounting Doc gets Generated.
    The Accounting Entries at the time of Excise Inv creation for the supplying Plant is:
    Excise Duty Expenses on  Sale                               Dr
    Excise Duty  Payable                                    Cr                    
    Sec.& Higher Edu Cess Payable on Excise               Cr                                            
    Edu .Cess Payable on Excise                    Cr
    At the time of Goods Receipt at plant
    1.Good Receipt at Receiving Plant (MIGO) - No Accounting docs get generated only Qty update takesplace.
    2. Capture & post the excise @ the Receiving Plant during MIGO by entering the Supplying Plant excise inv as reference.
    Hope it is Clear.
    Revert incase of any queries.
    Regards,

  • Payment Wizard Does not create the File

    Hi I am trying to run the payment wizard and in the final step it says it ran successful and create the outgoing payments but it does not create the payment file for the bank.
    Step 1
                Start a new Payment run
    Step 2
               payment type : out going
               payment method : bank transfer
               File Path : Go to Desktop and file name is test
    Step3
              Select the business partner
    Step 4
             Select the date range
    Step 5
            Select the payment method
    Step 6
            Select the Invoices
    Step 7
            Execute
    It says successfully Executed the payment and create outgoing payment for the business partner.
    But it does not create the payment file (test in the Desktop)
    Please help me!!!
    Thanks
    Sanjaya

    Hi Sanjaya,
    Check the link
    Payment Wizard
    Payment Wizard Run does not create Payment/Check
    Payment Wizard/Engine - creation of Bank File
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • Save as does not Create PDF Compatible File even when the creare pdf compatible files is on, Illustrator CC 2014

    save as does not Create PDF Compatible File even when the creare pdf compatible files is on, Illustrator CC 2014

    When I open is adobe acrobat I get this message.
    "This is an Adobe® Illustrator® File that was
    saved without PDF Content.
    To Place or open this  le in other
    applications, it should be re-saved from
    Adobe Illustrator with the "Create PDF
    Compatible File" option turned on. This
    option is in the Illustrator Native Format
    Options dialog box, which appears when
    saving an Adobe Illustrator  le using the
    Save As command."

  • MRP does not creates Shcedule Line

    I have a valid scheduling agreement LPA in place. Scheduling Agreement is approved and released status.
    I have source list also maintained for same scheduling agreement with long validity and MRP indicator as 2 - Create Schedule line automatically. 
    I am running MRP using following parameters in MD02.
    Processing key          NETCH               Net Change in Total Horizon
    Create purchase req.    3                   Planned orders
    Delivery schedules      3                   Schedule lines
    Create MRP list         1                   MRP list
    Planning mode           3                   Delete and recreate planning data
    Scheduling              2                   Lead Time Scheduling and Capacity Planni
    Even schedule line and other parameters maintained properly, MRP creates planned order and does not creates Schedule Line automatically. Material Master is maintained MRP Type PD, Lot Size as Replenishment to maximum stock level, Safety stock, No strategy and availability on.
    What I am doing wrong? With same setting in other system it is working perfectly fine.
    Any feedback appreciated.
    Thanks
    PP

    Hi
    Check whether the Agreement Open Target value .
    If the target quantity was completed . so system will not create the Schedule lines for the material
    2. If you mainatian the open period in the smk.
    so system will create the planned order instead of schedule agreement. check

  • Mail does not create new emails based on the highlighted mailbox, but rather the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part?

    Mail does not create new emails based on the highlighted mailbox, but rather according the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part? (I do have the setting for creating new emails from the highlighted mailbox checked.)

    The questions about time was not only because of thinking about the Time Machine, but also possible impact on recognizing which messages remaining on a POP server (doesn't apply to IMAP) have been already downloaded. In the Mail folder, at its root level, in Mail 3.x there is a file named MessageUidsAlreadyDownloaded3 that should prevent duplicate downloading -- some servers may not communicate the best with respect to that, and the universal index must certainly be involved in updating that index file. If it corrupts, it can inhibit proper downloading. However, setting the account up in a New User Account and having the same problem does not point that way, unless your POP3 server is very different from most.
    That universal index is also typically involved when messages are meant to be moved from the Inbox to another mailbox -- in Mail 3.x the message does not move, but rather is copied, and then erased from the origin mailbox. That requires updating the Envelope Index to keep track of where the message is, and should keep track of where it is supposed to have been removed after the "Move".
    Ernie

  • Adobe After Effects CC 2014 Multi-machine rendering does not create RCF after Collect-File

    This was working in the previous release.  After going through all of the steps to perform a multi-machine render, not only does it say it is limiting it to 5 machines instead of the usual 99 (and I have over 100 cores on the render farm) but "Collect Files" (File/Dependencies/Collect Files) does not create the Render Control File (RCF) that kicks off the process on the other machines, like it did before and is supposed to do.
    This release was supposed to fix the 32 core limitation on render nodes (my server has 48), but now does nothing at all.
    Anyway, I assume there is a check box somewhere that says "do something" that hasn't been checked and another that says "Maybe my machine has more than 5 cores", and I would appreciate being steered in the direction of these new mis-features.
    Just as background, the 48 core server does show the little TV screen that monitors the watch folder, and I know for a fact that process looks for the "RCF" file.  Looking at the directory specified for "collect files", I can see that no RCF file is created, only 1 file, a report.txt file which contains this information is produced:
    Report created:
      7/9/2014 1:54:12 AM
    Project name: highup.aep
    Source files collected to:
      P:\temp\highup folder
    Source files collected: All
    Collected comps: 
      Thomas Falke - High Again High On Emotion)
    Number of collected files:  1
    Size of collected files:  63.4 MB
    Collected source files:
      C:\Users\Jeff K\Videos\Down\2014-2015\Thomas Falke - High Again High On Emotion).mp4
    Rendering plug-ins:
      Classic 3D
    Effects used:  1
    Effect:  Detail-preserving Upscale

    The dialog box has been slightly refactored.  You must click "Allow watch folder rendering" and then all is good.  Hope this helps anyone else.  Thanks to Rafil at customer support chat for this.

  • MS Outlook 2010 Add in Create pdf - does not create pdf of draft emails- Adobe Acrobat Pro X

    In MS Outlook 2010 Add in Create pdf- does not create pdf of draft emails- this maybe the case, but just wanted to make sure this is normal for the program- though I guess one can print as an Adobe pdf but it does not maintain the hyperlinks of email addresses etc. the functionality is compromised in a print vs create a pdf.

    Here's a workaround by the team:
    Right click on the message from Explorer list view or folder view and chose the option to convert to PDF.

  • SQLJ Translation does not create profile file

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

  • Payable Invoice has not created for internal requisition. ( R12.1.3)

    HI,
    This is an issue where i am facing for which the invoice has not created for the internal requisition, whereas the Receivables Transaction has created automatically for the same internal SO.
    Is there any way to find out the invoice, because i have again ran the Report "Create Inetrcompany AP invoice" and when i mchecked in the log it says 0 fetched invoice....
    Kindly help me out to solve this issue,
    Thanks in advance.
    Vijay

    Hi Vijay,
    Did you check in AP_INVOICES_INTERFACE table if there are some records with INVOICE_NUM like '%AR invoice number%'?
    If no records in the interface table - can you please, check by submitting the program without giving any input parameters?
    Regards,
    G V Ranjith

  • Need to create a sales order that does not create demand

    Hi,
    We need to create a no cost sales order - that does not create demand
    In our current set-up when we try to create a no cost sales order with a material ( It Cat = Norm) we see demand being created in MD04
    What configuration settings will allow us a deliverable order - that does not create demand (no MRP run?)
    Thanks,
    SM

    Hello,
    For this set of requirement i think the best option would be to configure a New Sales Order Type and a new Schedule Line Category. In VOV6, While you are defining a new Schedule line category in the transaction flow make sure to switch off the three check box.
    Transfer of requirements / Begin assembly order from SD
    Availability check for sales
    Product allocation active
    Then when we are assigning this newly defined Schedule line Category to Item category, make sure to leave the field of MRP Type as blank in VOV5.
    Regards,
    Sarthak

  • Server does not create ois ?

    Hi folks !
    At first I wanted to send some Strings via the Client to the Server and print them onto the screen. On a specific String "antwort" I would like to send an Object k from the Server to the Client and prove on the Client the correctness of the object by reading the attribute set on the serverside before sending.
    But somehow the server does not create the ObjectInputStreams and I don�t know why.
    That�s the code:
    // Server:
    public class Server {
    public Server() {
    try{
    String input = new String();
    ServerSocket sock = new ServerSocket(16348);
    Socket socket = sock.accept();
    System.out.println("socket"); // this line is printed on connection
    ObjectInputStream sockin = new ObjectInputStream(socket.getInputStream());
    System.out.println("objectinputstream"); // but this one never appears
    ObjectOutputStream sockout = new ObjectOutputStream(socket.getOutputStream());
    Kunde k = new Kunde();
    k.setNummer(13);
    while(!input.equals("Ende")){
    input = sockin.readObject().toString();
    if(input.equals("antwort")){
    sockout.writeObject(k);
    sockout.flush();
    sockout.reset();
    System.out.println(input);
    socket.close();
    catch(Exception e){
    public static void main(String[] args) {
    // TODO code application logic here
    new Server();
    // The Client
    public class Client {
    public Client() {
    try{
    Socket sock = new Socket("localhost",16348);
    // System.out.println(sock.isOutputShutdown());
    sock.setSoTimeout(5000);
    System.out.println("socket hergestellt");
    ObjectInputStream sockin = new ObjectInputStream(sock.getInputStream());
    System.out.println("sockin");
    ObjectOutputStream sockout = new ObjectOutputStream(sock.getOutputStream());
    System.out.println("sockout");
    String eing = "";
    System.out.println("vor while");
    while(!eing.equals("close")){
    eing = erwarteEingabe();
    System.out.println("Sende:"+eing);
    if(eing.equals("antwort")){
    sockout.writeObject(eing);
    Kunde k = (Kunde)sockin.readObject();
    System.out.println("Nummer des Kunden: "+k.getNr());
    else{
    sockout.writeObject(eing);
    sockout.flush();
    sockout.reset();
    catch(Exception e){
    System.out.println(e);
    public static void main(String[] args) {
    // TODO code application logic here
    new Client();
    private String erwarteEingabe(){
    String eing = "";
    System.out.println("nehme Eing entgegen");
    try{
    BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
    return b.readLine();
    catch(Exception e){
    System.out.println(e);
    return "";
    }

    When you create an ObjectInputStream it tries to read the object stream header from the underlaying stream. In this case both your server and client are waiting for the other one to send the header before they can continue. This problem can be avoided by simply creating the object output streams first:ObjectOutputStream sockout = new ObjectOutputStream(socket.getOutputStream());
    ObjectInputStream sockin = new ObjectInputStream(socket.getInputStream());

Maybe you are looking for

  • Macbook pro 15-inch, Mid 2010 crashing very bad after mavericks update

    Hello Community, I updated my 15-inch, Mid 2010 macbook pro from snow leopard to mavericks with the gratis update that appeared one day in march i believe. Since then its been crashing sporadically with the simplest of actions like creating a new fol

  • Logical Expression

    Hi, I have an internal table contains field for logical expression EQ, GE, GT etc. I would like to use this logical expression in my ABAP code. For example READ TABLE INTAB INDEX 1. Comparing the value of a and b based on the logical expression from

  • Why Not i OS 8 for iPhone 4 . Are we supposed to stuck in iOS 7.1.2 ?

    Please let us know when you are going to bring iOS 8 for Iphone 4 ?

  • Error while starting JRun 3.1

    Hi, My JRun 3.1sever is suddenly throwing the following errors on startup: I have a web based Java application that runs with JDK 1.3. This application is deployed as a server in JRun 3.1. Another thing that I've noted is that if I start my server fr

  • Multisim and Ultiboard 10.1.1 Take Forever to Load

    I use TrendMicro Internet Security and when it is running MS and UB take almost a minute to load.  If I kill TrendMicro both programs start up quickly (relatively speaking). Both programs are in the trusted programs list.  I tried changing all sorts