DI API howto set Correction invoices.

Hi all.
I`m trying to add a correction invoices but i don`t know how.
what properities of document are needed.
Can anyone  help me pls .
Thanks

Hi Michal,
when you look in the DIAPI - Reference in the SDK Help Direcotry you will under
Document Object the following vb6 sample
ok - i changed it a bit
    Dim RetVal As Long
    Dim ErrCode As Long
    Dim ErrMsg As String
    'Create the Documents object
    Dim vDoc As SAPbobsCOM.Documents
    Set vDoc = vCmp.GetBusinessObject(oCorrectionInvoice)
    'Set values to the fields
    vDoc.CardCode = "BP234"
    vDoc.HandWritten = tNO
    vDoc.DocDate = "21/8/2003"
    vDoc.DocTotal = 264.6
    'Lines - Set values to the first line
    vDoc.Lines.ItemCode = "A00023"
    vDoc.Lines.ItemDescription = "Banana"
    vDoc.Lines.Quantity = 50
    'Invoice Lines - Set values to the second line
    vDoc.Lines.Add
    vDoc.Lines.SetCurrentLine(1)
    vDoc.Lines.ItemCode = " A00033"
    vDoc.Lines.ItemDescription = "Orange"
    vDoc.Lines.Quantity = 1
    'Add the Invoice
    RetVal = vDoc.Add
   'Check the result
    If RetVal <> 0 Then
        vCmp.GetLastError ErrCode, ErrMsg
        MsgBox ErrCode & " " & ErrMsg
    End If
regards
David

Similar Messages

  • Adding payment through DI API referring to Correction Invoice/Down Payment

    Dear All,
    In SBO 2004C (PL 72) I have to add incoming payment referring to correction invoices and down payment invoices.
    In Payments_Invoices Object there is and InvoiceType Property which should be set to the object type of the referred document. Having set this to it_Invoice, it_CredItnote and it_JournalEntry it works fine, but I cannot find a working value for  Correction invoices and Downpayments.
    In BoRcptInvTypes Enumeration there is a it_CorrectionInvoice member, but it does not work. DownPayment member does not exist at all.
    Instead of Enumerations members DI API acepts numeric object type values 13, 14, 30 which works just as the above it_Invoice etc. does, but Correction invoice's object type 165  just does not work
    Has anyone experience with this?
    Is is really not possible to add invoice type payments referring to these documents through DI?
    Any ideas are welcome.
    Thanks a lot.
    Regards.
    Bálint

    Hi
    It is possible in 2005 Clusters But i am not sure in 2004 C.
    In 2005 DI API accepts Enumerations members ,In Which Both it_CorrectionInvoice,DownPayment  Exists and i hope these works fine 2005.

  • Correction Invoice and "invalid document structure" problem

    Hello!
    Can anybody explain what properties are obligatory for correction invoices? I'm trying to add() one and it always say -5002: invalid document structure.
    In the CSI1 table I see linenum has to be unique, every baseline is twice. Do I make any stupid mistake? If so - where? What's wrong? Something is ommitted?...
                                                                                    Thanks in advance!
                                                                                    This is a snippet (two loops are unnecessary, I was looking for other ways). I'm trying just to zero the invoice. Should quantity in was lines be negative? It does not matter - everytime -5002...
         @Test
         public void testSAPCorrectionInvoice() throws SBOCOMException {
              ICompany company = sapConnector.getCompany();
              // Integer srcDocEntry = 6457;
              Integer srcDocEntry = 7084;// this one has no batches
              logger.debug("Creating correction to: " + srcDocEntry);
              // source doc
              IDocuments srcDoc = SBOCOMUtil.getDocuments(company,
                        SBOCOMConstants.BoObjectTypes_Document_oInvoices, srcDocEntry);
              logger.debug("srcDoc: " + srcDoc.getDocObjectCode() + ", "
                        + srcDoc.getDocNum());
              IDocuments sapDoc = SBOCOMUtil.newDocuments(company,
                        SBOCOMConstants.BoObjectTypes_Document_oCorrectionInvoice);
              // header:
              sapDoc.setHandWritten(SBOCOMConstants.BoYesNoEnum_tNO);
              sapDoc.setSeries(317);
              sapDoc.setDocType(SBOCOMConstants.BoDocumentTypes_dDocument_Items);
              sapDoc.setCardCode(srcDoc.getCardCode());
              sapDoc.setCardName(srcDoc.getCardName());
              sapDoc.setAddress(srcDoc.getAddress());
              String federalTaxID = srcDoc.getFederalTaxID();
              if (federalTaxID.length() > 0)
                   sapDoc.setFederalTaxID(federalTaxID);
              sapDoc.setDocDate(new Date());
              sapDoc.setDocDueDate(new Date());
              sapDoc.setSalesPersonCode(srcDoc.getSalesPersonCode());
              sapDoc.setDocCurrency(srcDoc.getDocCurrency());
              sapDoc.setPaymentGroupCode(srcDoc.getPaymentGroupCode());
              sapDoc.setTransportationCode(srcDoc.getTransportationCode());
              sapDoc.setContactPersonCode(srcDoc.getContactPersonCode());
              // sapDoc.setDiscountPercent(0.0);
              sapDoc.setComments("zwrot towaru");
              // sapDoc.setDocTotal(0.0);
              sapDoc.setVatDate(srcDoc.getVatDate());
              // items
              IDocument_Lines lines = sapDoc.getLines();
              int lineno = 0;
              IDocument_Lines srcLines = srcDoc.getLines();
              for (int i = 0; i < srcLines.getCount(); i++) {
                   srcLines.setCurrentLine(i);
                   logger.debug("line " + i + ", item: " + srcLines.getItemCode());
                   if (lineno > 0)
                        lines.add();
                   lines.setCurrentLine(lineno++);
                   lines.setItemCode(srcLines.getItemCode());
                   lines.setItemDescription(srcLines.getItemDescription());
                   lines.setWarehouseCode(srcLines.getWarehouseCode());
                   lines.setPrice(srcLines.getPrice());
                   lines.setDiscountPercent(srcLines.getDiscountPercent());
                   lines.setTaxCode(srcLines.getTaxCode());
                   lines.setBaseEntry(srcDocEntry);
                   lines.setBaseType(srcDoc.getDocObjectCode());
                   lines.setBaseLine(i);
                   lines.setVatGroup(srcLines.getVatGroup());
                   lines
                             .setCorrectionInvoiceItem(SBOCOMConstants.BoCorInvItemStatus_ciis_Was);
                   double quantity_was = srcLines.getQuantity();
                   lines.setQuantity(quantity_was);
              for (int i = 0; i < srcLines.getCount(); i++) {
                   srcLines.setCurrentLine(i);
                   logger.debug("line " + i + ", item: " + srcLines.getItemCode());
                   if (lineno > 0)
                        lines.add();
                   lines.setCurrentLine(lineno++);
                   double quantity_diff = 0;
                   lines.setItemCode(srcLines.getItemCode());
                   lines.setWarehouseCode(srcLines.getWarehouseCode());
                   lines.setPrice(srcLines.getPrice());
                   lines.setDiscountPercent(srcLines.getDiscountPercent());
                   lines.setTaxCode(srcLines.getTaxCode());
                   lines.setBaseEntry(srcDocEntry);
                   lines.setBaseType(srcDoc.getDocObjectCode());
                   lines.setBaseLine(i);
                   lines.setVatGroup(srcLines.getVatGroup());
                   lines
                             .setCorrectionInvoiceItem(SBOCOMConstants.BoCorInvItemStatus_ciis_ShouldBe);
                   double quantity_was = srcLines.getQuantity();
                   double quantity_is = 0; //quantity_was - quantity_diff;
                   lines.setQuantity(quantity_is);
              int result = sapDoc.add();
              String info = company.getLastErrorDescription();
              logger.debug("res = " + result + ", info: " + info);
              if (result != 0)
                   throw new EBladKorektyNrPartii(
                             "Cannot create document: " + info);
    Edited by: WodzGalopujacySkleroz on Jul 4, 2011 5:03 PM

    Hello,
      Maybe it's an old thread, and you might have the solution or workaround for this. Nonetheless i try to answer, it might be useful for those trying to find a solution for the same problem.
      The two loops are necessary indeed. DI API expects only this structure: Start with all the "ShouldBe" lines, and follow them with all the "Was" lines. So your code is almost good, but you should have swap the two loops with each other.

  • Correction Invoice with Items TreeType != iNotATree

    Hi,
    I want to create Correction Invoice document with Items which TreeType = SAPbobsCOM.BoItemTreeTypes.iSalesTree
    When I'm adding Correction with reference to some document (BaseType = 13 or 165, BaseEntry=... and BaseLine = ...) then everything is OK,
    But when I try add Correction without ref.  (no set BaseType,BaseEntry and BaseLine) then I get error:
    "Wystąpił błąd wewnętrzny (-5002)"
    "Internal error (exception) occurred (-5002)"
    When all Items on Correction has TreeType = iNotATree then I can add this Correction without any reference.
    The property correction.Lines.TreeType default value is iNotATree, but this property is ReadOnly.
    How can I add this document?
    Edited by: Dariusz Maron on Jun 4, 2009 12:07 PM

    Hello Wolf
    1) This was an issue in older releases but has been corrected  (supposedly) since 4.5 B
    Take a look at OSS note: 146091 - Invoice correction: new pricing not possible
    But I am sure you are in a much higher release.  Review it any ways.
    2) Did you try with 'B" or ""C" for the second pricing type? The help says 'You should give a new pricing type to the debit memo item'.
    3) Also is the invoice type you are copying from- does it have a 'M" in the SD document category.? T code VOFA. I believe this is prerequisite
    4) Check how the item cats are set up (G2N/L2N): The Returns field in Business data should be selected for credit items but not for debit items.
    5)  Finally the culprit could be the way you set up PR00 (V/06). Check what changes can be done: Are you allowing manual entries? Just a thought.

  • How do I post a Poland SD Correction Invoice for zero amount

    Hi,
    Our setup for creation of Correction Invoices for Poland is as follows:
    1) Create a correction Sales Order with reference to the original Customer invoice - this is a custom-designed document showing the current and 'to be' lines that will eventually appear on the correction invoice.
    2) Create the correction invoice with reference to this correction sales order.
    One of our business users has a situation where all the goods from a delivery were damaged, and a credit is needed as a result. The goods are not being returned, as the quantity is small.  Therefore this should in theory be a correction invoice, to amend the amount invoiced to zero.
    How can this be processed?  I can't create and bill a Correction Sales Order for it, as the 'to be' line item needs to be set to zero, and SAP therefore treats the Order as incomplete - and you can't bill an incomplete document.
    Of course we could just process a Return and then mark the stock as scrapped, but if possible we would prefer to find a solution using Correction Invoices.
    Can anyone advise?
    Val

    Hi,
    You need to use Returns scenario for this purpose and reutnr whole quanitites and created Corrective Invoice for the whole quantity where 'was' section should present the data from original invoice and 'to-be' section should present all items with qty zero. You need to get the 'was' section from original invoice and play with the 'to-be' section on the printout. Pelase remember also to put the correction reason 'Goods returned by customer', as it is Polish law requirement as well.
    Regards,
    Marcin

  • API To set PayLocation in HRMS

    Hi All,
    I am new to HRMS..
    can anybody tell me the api to set PAYLOCATION value for an assignment??
    Thanks,
    Raghava.

    Hi VB,
    I tried with following code... API executes successfully...
    per_all_assignments_f table populated with last_updated_date.
    But PAY_PEOPLE_GROUPS not got updated where i want to update the People group KFF segment.
    DECLARE
    l_datetrack_update_mod VARCHAR2 (30) := 'CORRECTION';
    l_effective_date DATE := SYSDATE;
    l_assignment_id NUMBER := 8277;
    l_grade_id NUMBER := 877;
    l_position_id NUMBER := 66887;
    l_job_id NUMBER := 174;
    l_payroll_id NUMBER := 64;
    l_location_id NUMBER := 889;
    l_organization_id NUMBER := 8795;
    l_pay_basis_id NUMBER := 64;
    l_segment2 VARCHAR2 (10) := 'H';
    l_old_obj_ver_number NUMBER := 33;
    l_special_ceiling_step_id NUMBER;
    l_people_group_id NUMBER := 128;
    l_soft_coding_keyflex_id NUMBER;
    l_group_name VARCHAR2 (100);
    l_effective_start_date DATE;
    l_effective_end_date DATE;
    l_org_now_no_manager_warning BOOLEAN;
    l_other_manager_warning BOOLEAN;
    l_spp_delete_warning BOOLEAN;
    l_entries_changed VARCHAR2 (100);
    l_tax_district_changed_warning BOOLEAN;
    l_concatenated_segments VARCHAR2 (100);
    l_gsp_post_process_warning VARCHAR2 (100);
    l_validate BOOLEAN := FALSE;
    BEGIN
    hr_assignment_api.update_emp_asg_criteria
    (p_effective_date => l_effective_date,
    p_validate => l_validate,
    p_datetrack_update_mode => l_datetrack_update_mod,
    p_assignment_id => l_assignment_id,
    p_called_from_mass_update => NULL,
    p_grade_id => l_grade_id,
    p_position_id => l_position_id,
    p_job_id => l_job_id,
    p_payroll_id => l_payroll_id,
    p_location_id => l_location_id,
    p_organization_id => l_organization_id,
    p_pay_basis_id => l_pay_basis_id
    --,p_segment1 => l_segment1
    p_segment2 => l_segment2
    --,p_segment3 => l_segment3
    p_employment_category => NULL,
    p_concat_segments => NULL,
    p_contract_id => NULL,
    p_establishment_id => NULL,
    p_scl_segment1 => NULL,
    p_grade_ladder_pgm_id => NULL,
    p_supervisor_assignment_id => NULL,
    p_object_version_number => l_old_obj_ver_number,
    p_special_ceiling_step_id => l_special_ceiling_step_id,
    p_people_group_id => l_people_group_id,
    p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
    p_group_name => l_group_name,
    p_effective_start_date => l_effective_start_date,
    p_effective_end_date => l_effective_end_date,
    p_org_now_no_manager_warning => l_org_now_no_manager_warning,
    p_other_manager_warning => l_other_manager_warning,
    p_spp_delete_warning => l_spp_delete_warning,
    p_entries_changed_warning => l_entries_changed,
    p_tax_district_changed_warning => l_tax_district_changed_warning,
    p_concatenated_segments => l_concatenated_segments,
    p_gsp_post_process_warning => l_gsp_post_process_warning
    END;
    Please Help
    Thanks
    Raghav

  • BKI0008E: The environment variable BI_CALLER is not set correctely. The cur

    Hi All,
    I have configured backint for backup of maxdb for content server 640. I configured it as per the documents available, created the configuration fiale and the parameter file. Created the backup medium in dbmgui.
    Now when i try to run the backup using the pipe am getting the above mentioned error.
    Please find below the dbm.ebp log for the same...
    more dbm.ebp
    2009-10-22 02:06:08
    Setting environment variable 'TEMP' for the directory for temporary files and pi
    pes to default ''.
    Setting environment variable 'TMP' for the directory for temporary files and pip
    es to default ''.
    Using connection to Backint for MaxDB Interface.
    2009-10-22 02:06:08
    Checking existence and configuration of Backint for MaxDB.
        Using configuration variable 'BSI_ENV' = '/sapdb/CFC/lcbackup/apoatlas.env'
    as path of the configuration file of Backint for MaxDB.
        Setting environment variable 'BSI_ENV' for the path of the configuration fil
    e of Backint for MaxDB to configuration value '/sapdb/CFC/lcbackup/apoatlas.env'
        Reading the Backint for MaxDB configuration file '/sapdb/CFC/lcbackup/apoatl
    as.env'.
            Found keyword 'BACKINT' with value '/sapdb/CFC/db/bin/backint'.
            Found keyword 'INPUT' with value '/tmp/backint4sapdbCFC.in'.
            Found keyword 'OUTPUT' with value '/tmp/backint4sapdbCFC.out'.
            Found keyword 'ERROROUTPUT' with value '/tmp/backint4sapdbCFC.err'.
            Found keyword 'PARAMETERFILE' with value '/sapdb/CFC/lcbackup/param.cfg'
            Found keyword 'TIMEOUT_SUCCESS' with value '1800'.
            Found keyword 'TIMEOUT_FAILURE' with value '1800'.
        Finished reading of the Backint for MaxDB configuration file.
        Using '/sapdb/CFC/db/bin/backint' as Backint for MaxDB program.
        Using '/tmp/backint4sapdbCFC.in' as input file for Backint for MaxDB.
        Using '/tmp/backint4sapdbCFC.out' as output file for Backint for MaxDB.
        Using '/tmp/backint4sapdbCFC.err' as error output file for Backint for MaxDB
        Using '/sapdb/CFC/lcbackup/param.cfg' as parameter file for Backint for MaxD
    B.
        Using '1800' seconds as timeout for Backint for MaxDB in the case of success
        Using '1800' seconds as timeout for Backint for MaxDB in the case of failure
        Using '/sapdb/data/wrk/CFC/dbm.knl' as backup history of a database to migra
    te.
        Using '/sapdb/data/wrk/CFC/dbm.ebf' as external backup history of a database
    to migrate.
        Checking availability of backups using backint's inquire function.
    Check passed successful.
    2009-10-22 02:06:08
    Checking medium.
    Check passed successfully.
    2009-10-22 02:06:08
    Preparing backup.
        Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
        Setting environment variable 'BI_REQUEST' to value 'NEW'.
        Setting environment variable 'BI_BACKUP' to value 'FULL'.
        Constructed Backint for MaxDB call '/sapdb/CFC/db/bin/backint -u CFC -f back
    up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c'.
        Created temporary file '/tmp/backint4sapdbCFC.out' as output for Backint for
    MaxDB.
        Created temporary file '/tmp/backint4sapdbCFC.err' as error output for Backi
    nt for MaxDB.
        Writing '/sapdb/CFC/lcbackup/pipe1 #PIPE' to the input file.
        Writing '/sapdb/CFC/lcbackup/pipe2 #PIPE' to the input file.
    Prepare passed successfully.
    2009-10-22 02:06:08
    Creating pipes for data transfer.
        Creating pipe '/sapdb/CFC/lcbackup/pipe1' ... Done.
        Creating pipe '/sapdb/CFC/lcbackup/pipe2' ... Done.
    All data transfer pipes have been created.
    2009-10-22 02:06:08
    Starting database action for the backup.
        Requesting 'SAVE DATA QUICK TO '/sapdb/CFC/lcbackup/pipe1' PIPE,'/sapdb/CFC/
    lcbackup/pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKINT_ONLINE1'' from
    db-kernel.
    The database is working on the request.
    2009-10-22 02:06:09
    Waiting until database has prepared the backup.
        Asking for state of database.
        2009-10-22 02:06:09 Database is still preparing the backup.
        Waiting 1 second ... Done.
        Asking for state of database.
        2009-10-22 02:06:10 Database is still preparing the backup.
        Waiting 2 seconds ... Done.
        Asking for state of database.
        2009-10-22 02:06:12 Database has finished preparation of the backup.
    The database has prepared the backup successfully.
    2009-10-22 02:06:12
    Starting Backint for MaxDB.
        Starting Backint for MaxDB process '/sapdb/CFC/db/bin/backint -u CFC -f back
    up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c >>/tm
    p/backint4sapdbCFC.out 2>>/tmp/backint4sapdbCFC.err'.
        Process was started successfully.
    Backint for MaxDB has been started successfully.
    2009-10-22 02:06:12
    Waiting for end of the backup operation.
        2009-10-22 02:06:12 The backup tool is running.
        2009-10-22 02:06:12 The database is working on the request.
        2009-10-22 02:06:14 The backup tool process has finished work with return co
    de 2.
        2009-10-22 02:06:17 The database is working on the request.
        2009-10-22 02:06:27 The database is working on the request.
        2009-10-22 02:06:42 The database is working on the request.
        2009-10-22 02:07:02 The database is working on the request.
        2009-10-22 02:07:15 Canceling Utility-task after a timeout of 60 seconds ela
    psed ... OK.
        2009-10-22 02:07:17 The database has finished work on the request.
        Receiving a reply from the database kernel.
        Got the following reply from db-kernel:
            SQL-Code              :-903
    The backup operation has ended.
    2009-10-22 02:07:17
    Filling reply buffer.
        Have encountered error -24920:
            The backup tool failed with 2 as sum of exit codes. The database request
    was canceled and ended with error -903.
        Constructed the following reply:
            ERR
            -24920,ERR_BACKUPOP: backup operation was unsuccessful
            The backup tool failed with 2 as sum of exit codes. The database request
    was canceled and ended with error -903.
    Reply buffer filled.
    2009-10-22 02:07:17
    Cleaning up.
        Removing data transfer pipes.
            Removing data transfer pipe /sapdb/CFC/lcbackup/pipe2 ... Done.
            Removing data transfer pipe /sapdb/CFC/lcbackup/pipe1 ... Done.
        Removed data transfer pipes successfully.
        Copying output of Backint for MaxDB to this file.
    Begin of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)-
                                     Data Protection for mySAP(R)
                         Interface between BR*Tools and Tivoli Storage Manager
                         - Version 5, Release 4, Modification 0.0  for Linux x86_64
                               Build: 303  compiled on Nov 16 2006
                    (c) Copyright IBM Corporation, 1996, 2006, All Rights Reserved.
            BKI0008E: The environment variable BI_CALLER is not set correctely. The
    current value is "DBMSRV"
            usage:
             backint -p <par_file> [-u <user_id>] [-f <function>]
                    [-t <type>] [-i <in_file>] [-o <out_file>] [-c]
            where:
                   <user_id>    backint utility user
                   <function>   backup | restore | inquire | password | delete
                   <type>       file | file_online
                   <par_file>   parameter file for backup utility
                   <in_file>    name of a text file  that defines the objects
                                default: STDIN
                   <out_file>   Pool for processing messages and the results
                                of the executed function.
                                default: STOUT
            BKI0020I: End of program at: Thu 22 Oct 2009 02:06:14 AM EDT .
            BKI0021I: Elapsed time: 01 sec .
            BKI0024I: Return code is: 2.
    End of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)---
        Removed Backint for MaxDB's temporary output file '/tmp/backint4sapdbCFC.out
        Copying error output of Backint for MaxDB to this file.
    Begin of error output of Backint for MaxDB (/tmp/backint4sapdbCFC
    .err)----
    End of error output of Backint for MaxDB (/tmp/backint4sapdbCFC.e
    rr)----
        Removed Backint for MaxDB's temporary error output file '/tmp/backint4sapdbC
    FC.err'.
        Removed the Backint for MaxDB input file '/tmp/backint4sapdbCFC.in'.
    Have finished clean up successfully.

    Also, is there any specification about the user permissions and about how the backup should be run?

  • TS1368 I can not connect to the ITunes store. I have updated my apple ID and made sure that everything is set correctly. However, I can not purchase or update any apps no matter what I do. My partner has the same phone and hers works perfectly. I'm not su

    I can not connect to the ITunes store. I have updated my apple ID and made sure that everything is set correctly. However, I can not purchase or update any apps no matter what I do. My partner has the same phone and hers works perfectly. I'm not sure how to sort this out. Please help
    Thanks
    Andy

    I've been having this problem for weeks and have found no solution to it. There are lots of other people with this issue too if you look back on the boards. I even e-mailed AND called Apple and have had no luck. I tried all the suggestions they gave me and all the ones I found on here- nothing worked. I even uninstalled and re-installed iTunes (boy was that a pain!) and no difference.
    The weird part is that I have an old laptop that works and if I buy music with the laptop I can download it with my regular computer buy buying does not work on my regular computer. That tells me it's not a connection issue. I can't get to my account either.
    I can't figure out why an issue that has kept so many people from purchasing a product has been ignored!

  • ORABPEL-01005 class path is set correctly while deploying a BPEL composite.

    07:20:08 AM Received HTTP response from the server, response code=500
    07:20:08 AM Error deploying archive sca_HelloSoa1_rev1.0.jar to partition "default" on server soa_server1 http://slc01mrt.us.oracle.com:8001
    07:20:08 AM HTTP error code returned 500
    07:20:08 AM Error message from server:
    There was an error deploying the composite on soa_server1: Deployment Failed: Error occurred during deployment of component: HelloSoa1 to service engine: implementation.bpel, for composite: HelloSoa1: ORABPEL-01005
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "HelloSoa1" of composite "default/HelloSoa1!1.0*soa_3764b7a8-b2ca-43ba-a289-1f8e281a50bc"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    07:20:08 AM Check server log for more details.
    07:20:08 AM Error deploying archive sca_HelloSoa1_rev1.0.jar to partition "default" on server soa_server1 http://slc01mrt.us.oracle.com:8001
    07:20:08 AM #### Deployment incomplete. ####
    07:20:08 AM Error deploying archive file:/scratch/jdev11117/jdevuserhome/mywork/MMSOAHello/HelloSoa1/deploy/sca_HelloSoa1_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    My BPEL has a Java Embedding I have posted the entire BPEL below:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Thu Sep 12 22:41:52 PDT 2013
    Author: mmuppago
    Type: BPEL 1.1 Process
    Purpose: Synchronous BPEL Process
    -->
    <process name="HelloSoa1"
    targetNamespace="http://xmlns.oracle.com/MMSOAHello/HelloSoa1/HelloSoa1"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:client="http://xmlns.oracle.com/MMSOAHello/HelloSoa1/HelloSoa1"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpel2="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap">
    <bpelx:exec import="oracle.security.jps.*"/>
    <!--
    PARTNERLINKS 
    List of services participating in this BPEL process 
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="hellosoa1_client" partnerLinkType="client:HelloSoa1" myRole="HelloSoa1Provider"/>
    </partnerLinks>
    <!--
    VARIABLES 
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:HelloSoa1RequestMessage"/>
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="outputVariable" messageType="client:HelloSoa1ResponseMessage"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC 
    Set of activities coordinating the flow of messages across the 
    services integrated within this business process 
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in HelloSoa1.wsdl) -->
    <receive name="receiveInput" partnerLink="hellosoa1_client" portType="client:HelloSoa1" operation="process" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign1">
    <copy>
    <from expression="concat('Hello ', bpws:getVariableData('inputVariable','payload','/client:process/client:input'))"/>
    <to variable="outputVariable" part="payload"
    query="/client:processResponse/client:result"/>
    </copy>
    </assign>
    <bpelx:exec name="Java_Embedding1" version="1.5" language="java">
    <![CDATA[/*Write your java code below e.g.
    System.out.println("Hello, World");
    try {
    System.out.println("Hello from MM World");
    oracle.security.jps.util.SubjectUtil.getUserName(oracle.security.jps.util.SubjectUtil.getCurrentSubject());
    } catch(Exception ex) {
    System.out.println("Exception");
    ex.printStackTrace();
    }]]>
    </bpelx:exec>
    <!-- Generate reply to synchronous request -->
    <reply name="replyOutput" partnerLink="hellosoa1_client" portType="client:HelloSoa1" operation="process" variable="outputVariable"/>
    </sequence>
    </process>

    Hi,
    The problem you are referring above is definitely due to the java embedding you are using.
    This seems to be a simple Hello World example, and if you are looking for the same to work, you can simply use an assign activity to concat the input with the Hello world.
    If you are trying to use a java embedding activity which has some custom java coding in it, please refer to the following:
    Make sure all the dependent classes are explicitly mentioned with their packagename.ClassName.
    Also , make sure you make all the classes as jar and include it in sca-inf\lib directory of the code.
    a) See that your external / dependent Java applications dependent Jar files are copied in csa-inf/lib (e.g all jars like log4j, apache jars, wickets jar etc etc etc )
    b) also make sure u deploy the dependent java application as JAR using jdeveloper deploy wizard.... for example archive1.jar and then copy this jar as well in sca - inf / lib folder
    it will work ....
    Thanks,
    Deepak.

  • MFL: The dependency is not configured in schema resource. Possible reason one or more import/include is not set   correctly.

    HI Friends,
    I have a created a MFL to transform XML to Non XML format. When am generating a XSD out of this MFL am getting this Error:
    The dependency is not configured in schema resource. Possible reason one or more import/include is not set
    correctly.
    Here is the snippet of the XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl"/>........
    Later Part i have searched for mfl.xsd in com.bea.wli.core.mflengine_1.x.x.x.jar in my.........../Oracle_OSB1/modules  and imorted this XSD into my eclipse workspace.
    Then i added the schemalocation attribute to the Import element. which looks something like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl" schemaLocation="../../mfl.xsd" />......
    After doing these changes also am getting the same error... can anyone help me out of this????

    Hi Arun,
    Also in SB console we can refer xsds from other projects but again OEPE doesnt seem to support that we will have to make duplicate copies of the resources in each project.It is not like that if you are using OEPE then you can not refer resources from other projects. Just what you need to do is that give relative path of the resource which is there in the file system. It does not matter that to which project it belongs. Yes, now with OEPE, you have to do this manually.
    Regards,
    Anuj

  • I have CC and while attempting Light Effects, the Layer will appear in the layers panel, but the option bar will not appear and neither will the Properties panel. All my preferences are set correct, and my computer has a compatible video card and RAM. Ple

    I have CC and while attempting Light Effects, the Light Effects Layer will appear in the layers panel, but the option bar will not appear and neither will the Properties panel. All my preferences are set correct, and my computer has a compatible video card and RAM. Please help!
    I tried to delete the layer attempt again. I am in a Photoshop class, but the work is all online, so all my teacher is going to do is send me to this site. I am trying to edit a photo for this class, and without this working, i go to filter>render>light effects. the bar and panel will pop up for about 2 seconds, then disappear. How do i get the options bar and properties panel to display?

    I was about to suggest resetting LE from the Workspace drop-down top right corner, but if you can't see the Options Bar, I guess that is not going to happen.  The normal Tool reset is grey out for LE, so it might be a case of resetting Preferences.
    Reset Preferences
    Windows — Hold down Shift Ctrl Alt immediately after starting Photoshop
    Mac — Hold down Shift Cmd Opt immediately after starting Photoshop

  • AR correction invoice - other warehouse in "should be"

    Hi all!
    I've got a problem with adding correction invoice with changed warehouse.
    My client sells fruits to a coustomer from warehouse A (goods). Customer sends back part or all goods because they are perished.
    We need to do AR Correction invoice, but perished fruits should be received on warehouse B (perished fruits).
    When I'm trying to change warehouse in "should be" inn AR Correction invoice I get this message:
    "Warehouse code must be the same on corresponding "was" and "should be" rows.
    Did anyone got the same problem and solved it?
    Any ideas?
    Thanks in advance!

    I believe you need two transactions to reflect your business process.  First is the AR correction invoice to the same warehouse.  Then an Inventory Transaction to move them to the right warehouse.
    Thanks,
    Gordon

  • Error Code 88 with Pixma Pro9500, even when art margins are set correctly

    I'm getting error code 88 (from the CanonPro9500 series print monitor window) when attempting to print on an A3Plus art paper (Hahnemuehle William Turner), even though I have the paper size set correctly (in the Photoshop Print Dialog, Print Settings) to "Art A3+(Margin 35)". 
    (Furthermore – though most of the following options probably have nothing to do with the problem, and are probably the correct or allowable settings anyway – I'm using Canon Color Matching; MediaType: "Fine Art Museum Etching"; Paper Source: Front Tray; PrintQuality: High; and am printing in color, not grayscale.  Color Options are all left set at zero.)
    I’m printing from Photoshop CS5 Extended,Version 12.0 x64, using an iMac with MacOSX10.6.8.  The Canon Printer Driver is “Pro9500 Driver – CUPS Version10.51.2.0”, recently installed (or re-installed) just the other day when I wastrying to deal with this problem (I didn’t check the CUPS version beforereinstalling the driver, so I don’t know if this could be relevant).
    (I also attempted to print by setting, in Paper Handling, "Scale to fit paper size", with Destination PaperSize set also to the suggested Art A3+ (Margin 35), although I never had to do this in the past, and so I don't suppose it matters. Still, this did not help.)
    I had the same problem attempting to print on an A4 art paper, as one is supposed to do, using front loading and the paper size set to Art A4 (Margin 35), with Media Type set to "Fine Art PremiumMatte" (it was a matte art paper). No go; I got error 88.  Iwas able to print on the same sheet by setting "Matte Photo Paper"(while still using Front Loading), but this is not the media type one shoulduse for such a paper.
    In the past few years I have printed 8-bit files, in both AdobeRGB and sRGB, on A4 and A3Plus art papers, in both color and grayscale, always using the art margin settings, without any such difficulties.  Typically I use Color Management by Printer, or “Canon Color Matching” (though I experimented with the use of dedicated paper profiles and Color Management by Photoshop).  Lately I’m trying to print 16-bit files, generally Photoshop PSD or TIFF, with a document profiles of sRGB, AdobeRGB, or ProPhotoRGB. Of course I tried several times to print from an 8-bit file, and once using Color Management by Photoshop, but got error 88 just the same.
    Does anyone know how to resolve this problem?  Sure hope so!  Thanks in advance, AlienAl

    Remember that  you can set all your paddings in a single setting for a div. It's like a clock, starting in the 12:00 oClock setting, going clock wise.
    #myDiv     {
         padding:5px 0 5px 0;
    You don't specify a unit with 0 so the above would be the same as:
    #myDiv     {
         padding-top:5px;
         padding-right:0;
         padding-bottom:5px;
         padding-left:0;
    It works with margins also, etc...
    Jim

  • Error Code 88 with Pixma Pro9500 even with art margins set correctly

    I'm getting error code 88 (from the Canon Pro9500 series print monitor window) when attempting to print on an A3Plus art paper (Hahnemuehle William Turner), even though I have the paper size set correctly (in the Photoshop Print Dialog, Print Settings) to "Art A3+ (Margin 35)". 
    (Furthermore – though most of the following options probably have nothing to do with the problem, and are probably the correct or allowable settings anyway – I'm using Canon Color Matching; Media Type: "Fine Art Museum Etching"; Paper Source: Front Tray; Print Quality: High; and am printing in color, not grayscale.  Color Options are all left set at zero.)
    I’m printing from Photoshop CS5 Extended, Version 12.0 x64, using an iMac with MacOSX10.6.8.  The Canon Printer Driver is “Pro9500 Driver – CUPS Version 10.51.2.0”, recently installed (or re-installed) just the other day when I was trying to deal with this problem (I didn’t check the CUPS version before reinstalling the driver, so I don’t know if this could be relevant).
    (I also attempted to print by setting, in Paper Handling, "Scale to fit paper size", with Destination Paper Size set also to the suggested Art A3+ (Margin 35), although I never had to do this in the past, and so I don't suppose it matters. Still, this did not help.)
    I had the same problem attempting to print on an A4 art paper, as one is supposed to do, using front loading and the paper size set to Art A4 (Margin 35), with Media Type set to "Fine Art Premium Matte" (it was a matte art paper).  No go; I got error 88.  I was able to print on the same sheet by setting "Matte Photo Paper" (while still using Front Loading), but this is not the media type one should use for such a paper.
    In the past few years I have printed 8-bit files, in both AdobeRGB and sRGB, on A4 and A3Plus art papers, in both color and grayscale, always using the art margin settings, without any such difficulties.  Typically I use Color Management by Printer, or “Canon Color Matching” (though I experimented with the use of dedicated paper profiles and Color Management by Photoshop).  Lately I’m trying to print 16-bit files, generally Photoshop PSD or TIFF, with a document profiles of sRGB, AdobeRGB, or ProPhotoRGB.  Of course I tried several times to print from an 8-bit file, and once using Color Management by Photoshop, but got error 88 just the same.
    Does anyone know how to resolve this problem? 

    I'm getting error code 88 (from the Canon Pro9500 series print monitor window) when attempting to print on an A3Plus art paper (Hahnemuehle William Turner), even though I have the paper size set correctly (in the Photoshop Print Dialog, Print Settings) to "Art A3+ (Margin 35)". 
    (Furthermore – though most of the following options probably have nothing to do with the problem, and are probably the correct or allowable settings anyway – I'm using Canon Color Matching; Media Type: "Fine Art Museum Etching"; Paper Source: Front Tray; Print Quality: High; and am printing in color, not grayscale.  Color Options are all left set at zero.)
    I’m printing from Photoshop CS5 Extended, Version 12.0 x64, using an iMac with MacOSX10.6.8.  The Canon Printer Driver is “Pro9500 Driver – CUPS Version 10.51.2.0”, recently installed (or re-installed) just the other day when I was trying to deal with this problem (I didn’t check the CUPS version before reinstalling the driver, so I don’t know if this could be relevant).
    (I also attempted to print by setting, in Paper Handling, "Scale to fit paper size", with Destination Paper Size set also to the suggested Art A3+ (Margin 35), although I never had to do this in the past, and so I don't suppose it matters. Still, this did not help.)
    I had the same problem attempting to print on an A4 art paper, as one is supposed to do, using front loading and the paper size set to Art A4 (Margin 35), with Media Type set to "Fine Art Premium Matte" (it was a matte art paper).  No go; I got error 88.  I was able to print on the same sheet by setting "Matte Photo Paper" (while still using Front Loading), but this is not the media type one should use for such a paper.
    In the past few years I have printed 8-bit files, in both AdobeRGB and sRGB, on A4 and A3Plus art papers, in both color and grayscale, always using the art margin settings, without any such difficulties.  Typically I use Color Management by Printer, or “Canon Color Matching” (though I experimented with the use of dedicated paper profiles and Color Management by Photoshop).  Lately I’m trying to print 16-bit files, generally Photoshop PSD or TIFF, with a document profiles of sRGB, AdobeRGB, or ProPhotoRGB.  Of course I tried several times to print from an 8-bit file, and once using Color Management by Photoshop, but got error 88 just the same.
    Does anyone know how to resolve this problem? 

  • Profile parameter icm/host_name_full is not set correctly

    Hi All,
    I am  working on Solution Manager 4.0. When I execute TCODE "SOLUTION_MANAGER", it gives the following error:
    Profile parameter icm/host_name_full is not set correctly (see long text)
    When I click on "Long Text", it gives me the following message widow:
    Message Number: SOL_GRAPHIC002
    Diagnosis
    The graphic cannot be displayed, since the profile parameter icm/host_name_full is not set correctly.
    Procedure
    Set the profile parameter icm/host_name_full correctly.
    For more information, see SAP Notes 434918 and 677118.
    I have referred to both the notes above. In note# 434918, it says that I need latest kernel patch (which is 150).Also the icm/host_name_full parameter parameter was not there in Solution Manager, so I created in the following manner:
    Parameter Name =icm/host_name_full
    Parameter Value=smgdcs1s.example.com
    But however, the error continues to be the same.
    Kindly help me asap.
    Thanks in advance.
    Regards,
    Faisal

    Hi Markus,
    Earlier the profile was activated and server was also restarted. However, it was not efffective.
    Now once again i have activated the profile and restared the server. Now I am able to see the profile and it value in
    RZ10
    RZ11
    Thanks a alot for your valuable inputs
    Thanks and Regards,
    Faisal

Maybe you are looking for

  • Image Gallery

    Hi, i have a question about displaying images in a next and previous order. i have a Repeater like so <mx:Repeater id="photos" dataProvider="{photoData}"> <v:DisplayImage imageData="{photos.currentItem}" click="displayDetails(event.currentTarget.getR

  • Turning Off The Alert - Notebook PC Battery Replacement Program Alert in Health Check.

    I want to turn off the Notebook PC Battery Replacement Program Alert in Health Check. It continues to alert me for months now. This is driving me batty since I have checked it 3 times and it is not included in the recall! I have a HP Pavillion dv6000

  • Different views on computer and display

    Is it possible to watch a slideshow in presenter view on my laptop while the slide is being presented normally on a projector or display - like you can with Powerpoint?

  • Accessing Outlook Calendar & ToDo's on PC using Outlook Express Address Book

    How can I setup Outlook in the BB Desktop Manager so I can use it synch my calendar and To Do's?  I'm synching my address book from Outlook Express just fine.  But the system isn't seeing Outlook.  Why? Thanks much for your help.

  • Exporting back to Illustrator CC

    Hi, how is it possible to export an illustration from Flash Professional CC back to Illustrator CC, in vector format? I started the work in Illustrator and finalized the composition in Flash. And now I need to bring the same composition back to Illus