Create Intercompany AR Invoices Request Ends Completed Warning

Dear All
When trying to Run the Concurrent 'Create Intercompany AR Invoices' from the shipping OU, the concurrent ends Completed Warning and after Reviewing the Log File it shows,
Warning: Cannot retrieve price list from bill-to site information Internal Location or from Customer with Customer Number 3705 and Customer Name Internal Areen.
Action: Please use Define Customer Form to enter the price list information fo
     Returned warning from extra function
Return Warning from inilco.
     The global status is INVALID.
Warning: Cannot create invoice line
End Processing Transaction ID: 3538149
Transaction ID: 3538149      Status = FAILURE
Please help to resolve me this issue.
Thanks
Dinesh

Hello,
In customer definition you should have inter company price list or you do not have price for item in this price list.
Look also
11i INCIAR Warning: Cannot Retrieve Price List From Bill-To Site [ID 369274.1]
11i INCIAR Create Intercompany AR Invoice APP-INV-05706 Cannot Retrieve Transfer Price For The Item [ID 356315.1]
Cannot Retrieve Price List From Bill-To Site Information &Loc Or From Customer With Customer Number [ID 1097385.1]

Similar Messages

  • INCIAP Create Intercompany AP Invoices-Completes in Error

    Hi to all,
    We ran the following intercompany request:  "Create Intercompany AP Invoices".  In reviewing the logfile the tail end of the file has the following info:
    Get if OM is installed
    Getting the Sales Order Information
    Getting the Inventory Organization from Item Validation Organization.
    l_IC_INVENTORY_ORGANIZATION_ID is 1
    Call inv_workflow.call_generate_cogs
    l_gl_ccid is 132972
    global->invInfo.ap.ccid is 132972
        In inliap.lpc, inapcil()
    Creating invoice line    Last row processing.
        In inlico.lpc, inilcbk()
    End of Processing Inovice Line ID: 191190206.000000
    Invoice Line ID: 191190206.000000 Status: SUCCESS
    Loading global info structure
    Processing invoice line, ID = 68435560
    In inciap.opc, processInvoiceLine()
    Get if OM is installed
    Getting the Sales Order Information
    Getting the Inventory Organization from Item Validation Organization.
    l_IC_INVENTORY_ORGANIZATION_ID is 1
    Call inv_workflow.call_generate_cogs
    l_gl_ccid is 132994
    API inv_workflow.call_generate_cogs returned failure./PROD/shared/apps/apps_st/appl/inv/12.0.0/bin/INCIAP
    Program was terminated by signal 11
    We've located the sales order and reviewed the transaction type COGS.  The COGs is valid. Since the last lines state CCID: 132994 is this the root cause? We have checked the CCID and it is enabled.  How do we find which line is giving the issue?  And is the COGs the root cause or something else?
    Thanks

    Hi,
    This concurrent programs log is very limited to conclude the issue, please try to rerun the same program and get the FND log, steps pasted below:
    1) Go to the System Profile options and set the following parameters:   
        FND: Debug Log Enabled = YES
        FND: Debug Log Filename = NULL
        FND: Debug Log Level STATEMENT (most detailed log)
        FND: Debug Log Module %
    2) run your concurrent program
    3).
    SELECT LOG.LOG_SEQUENCE, LOG.message_text message
    FROM FND_LOG_MESSAGES LOG,
    FND_LOG_TRANSACTION_CONTEXT CON
    WHERE CON.TRANSACTION_ID = <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<Your Concurrent request ID>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    AND CON.TRANSACTION_TYPE = 'REQUEST'
    AND CON.TRANSACTION_CONTEXT_ID = LOG.TRANSACTION_CONTEXT_ID
    ORDER BY LOG.LOG_SEQUENCE ;
    Hope it helps!
    Regards,
    Yuvaraj

  • Spliting accounts while running the "Create Intercompany AP Invoices"

    Hi Guys,
    Need Urgent help if this customization is possible.
    While creating AP invoice(Intercompany), we want to spllit the account of a line into two,
    one for the original account and another for IP(Intellectual property), the ratio of splliting will be taken care.
    But I want two know if spliting into two accounts is possible even before inserting into inerface table.
    If possible please let me know how.
    Please guys need your help.
    Thanks Girish.

    Hi Girish
    If you want split the line during creation of IC AP Invoice, you need to customize the IC AP COGS workflow to accomodate the business requirement
    Thanks
    Krishna

  • How to avoid QM status for a newly created ODS Request be a Warning

    Hi Experts,
    I AM using 3.5
    When I Execute my infopackage lo load a complete load data for an ODS,  the QM status of the Request is a warning.
    The monitor says no problem or warn for the load.
    I can manually turn it into green and activate the data but i can not put it all in a process chain c'ause the activation can not be done without the manual turning into green.
    Is there any step in the chain that can turn ir into green or a way to set it created in green? In the IP i have the warnings threatment as judged to be succesful...
    Thanks!!!

    Hi,
    If you want to use an ODS object as a data source for another ODS object or InfoCube, you have to make sure that the data is of good quality, and that it is active in the system.
    If you choose the main menu path Environment ® Automatic Request Processing, the system automatically sets the quality status to OK after the data has been loaded into the ODS object. This option must be switched on. There is also the option of activating and updating ODS data automatically. Here, data that has been given the quality status OK is transferred from the activation queue into the active data table, and the change log is updated. The data is then updated into the connected data targets.
    http://help.sap.com/saphelp_nw04/helpdata/en/fb/0025391d4f000be10000000a114084/frameset.htm
    Please do the above , for more clarity please go through the link give .  it is nothing to do other than setting quality status ok
    Thanks
    BVR

  • XMLP Report Ends in Completed - Warning

    Hi Gurus..
    I ran the concurrent program and it ends in Completed - Warning.
    I checked the Log File and it shows the following message:
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 1559015 on node PROFIT9 at 20-MAY-2009 06:06:10.
    Post-processing of request 1559015 failed at 20-MAY-2009 06:06:11 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Then i checked concurrent Program > Diagnostics > View XML
    I get the following error message at the bottom:
    Missing equals sign between attribute and attribute value.
    <APPLICATIONS TEMPLATE REPORT></APPLICATIONS TEMPLATE REPORT>
    Can anyone tell me why this is happening...?
    Thanks in Advance,
    Raj

    Ooops
    <APPLICATIONS TEMPLATE REPORT></APPLICATIONS TEMPLATE REPORT>
    This is not a valid XML.
    When merging, the XML generated , and the RTF template the process causes failure due to that.
    can you merge the xml from this request and template you have and see, if its fine or not. it will fail.
    Solution could be :
    if you'r using the RDF , then for each filed you have to setup the XML element name without spaces.
    It should look like <APPLICATIONS_TEMPLATE_REPORT></APPLICATIONS_TEMPLATE_REPORT>
    What is the concurrent program doing ? RDF based, pl-sql based ? sql based ?

  • Creating a debit memo request with reference to an invoice

    Hi,
    An invoice shows wrong MWST value because of incorrect customer tax classification as Tax exempt. I corrected the cust tax classification to "Liable for Tax". Then I tried to create a debit memo request with reference to the incorrect invoice. Thats a requirement by the customer. Invoices with incorrect VAT are not to be cancelled. A specially created VAT only sales order (Debit memo request) is used to create a sales order with 0 net value and correct MWST . But while trying to create the debit memo request, the system picks up the same old condition record for the MWST. How to overcome this situation ?
    The copy control for the item category from billing doc to debit memo request is set to "B" that is  new pricing. I even tried to update pricing. But it does not work. Changing the Service rendered date or the pricing date to current date also does not help.
    Please help.
    Regards.

    This is working fine. What I did was
    1: create a new pricing procedure
    2: made the PR00 condition statistical
    3: using a routine calculate the MWST based on the PR00. But PR00 itself does not contribute to the net value. This part is working fine. I could create debit memos successfully.
    The problem is if we change either the customer or the material tax classification after creating the invoice, and then create a debit request with reference to the incorrect invoice, the system still considers the old tax classfication and therefore the old MWST rate. If I create a debit request without reference, the new rate is applicable.
    I hope I have made clear.
    Regards.

  • Creating Pivot Table in XML Publisher having Completed Warning Status

    Hi guys,
    I really need you expertise on this. please help :(
    - I created a Conc. Program that has XML ouput Named Sales Report.
    - Then I connect that to my sales.RTF template.
    this is always been what i'm doing and its fine but my case now is that.
    - Creating my .RTF template in ms word, I used PIVOT table. It is okay when I loaded the xml there then view ouput.
    but when I upload it in oracle and connect to my concurrent Program there report is 'Completed Warning Status'
    Does anyone have any idea why? or is there anyway I can produce Pivot report with xls output?
    Thanks in advance.
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.3
    regards,
    Randy

    Hi There,
    I am encountering the same and I wonder if you've ever got it resolved. If yes would you please share the solution?

  • Getting error while creating Customer Invoice Request via Web Service

    Hello,
    I am trying to create customer invoice request via web service.
    But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
    It is working fine in reference tenant. But using the same payload its giving error in another tenant.
    Can you please tell me what is the root cause for this error?
    I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
    Thanks and Regards,
    Sriram

    Hi,
    Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
    Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
    Regards,
    Sunitha

  • Acctg document not created for cancellation invoice

    Hi all,
    We have a vehicle sales order created with payment card. The SO contains one item for vehicle and one item for parts. The items were delivered and invoiced separately. Hence, SO has one vehicle sales invoice (VSI) and one parts sales invoice (PSI).
    The standard procedure was to post VSI first before the PSI. Accounting documents have been created when both invoices were posted. However, there was a need to cancel the PSI. When this was done, cancellation invoice was created but there was no accounting document posted for the cancellation.
    I tried simulating the scenario in our test server and cancelled VSI 90000081 first before cancelling PSI 90000082 to test if this can be an alternative solution. Cancellation for VSI was posted successfully but error persists for PSI cancellation.
    Order 67 06/19/06 Completed
    . Delivery 80000081 06/19/06 Being processed
    .. Picking request 20060619 06/19/06 Completed
    .. GD goods issue:delvy 4900000293 06/19/06 complete
    .. Invoice 90000081 06/19/06 Completed
    ... Accounting document 2000077 06/19/06 partly cleared
    .. Invoice cancellation 90000084 06/19/06 Completed
    ... Accounting document 2000079 06/19/06 partly cleared
    . Delivery 80000082 06/19/06 Completed
    .. Picking request 20060619 06/19/06 Completed
    .. GD goods issue:delvy 4900000294 06/19/06 complete
    .. Invoice 90000082 06/19/06 Completed
    ... Accounting document 2000078 06/19/06 Not cleared
    .. Invoice cancellation 90000083 06/19/06
    .. Invoice 90000085 06/20/06 Blocked
    Accounting status of 90000083 (where error occurs) in VF03->Header->Details is set to K or <b>Accounting document not created (authorization lacking)</b>.
    Any inputs? Thanks in advance.

    Hello Sheila,
    sorry - my first answer was in mistake - Status K means:
    "The transaction is processed using payment cards. The order, however, does not contain valid authorization.
    This problem occurs in billing documents for follow-up deliveries."
    Could you check this ? Last way would be to set a breakpoint into the FM 'RV_ACCOUNTING_DOCUMENT_CREATE'
    and trigger this via VF02 -> Release to accounting.
    Regards Wolfgang

  • Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?

    Dear All,
    I am trying to create Service AP Invoice through DI API.
    If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
    But if I change amount in above field then DI API throws error Unbalanced Transaction.
    If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
    Where I am doing wrong?
    please guide.
    Using:
    SAP B1 version 9 Patch Level 11
    Location : India.
    Thanks.

    Hi ,
    maybe you can find solution to these note 1812344
    1846344  - Overview Note for SAP Business One 8.82 PL12
    Symptom
    This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
    In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
    Solution
    Patch installation options:
    SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
    You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
    Patch content:
    SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
    For details about the contained corrections, please see the SAP Notes listed in the References section.
    Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
    Patch download:
    Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
    Header Data
    Released On
    02.05.2013 02:34:18  
    Release Status
    Released for Customer  
    Component
    SBO-BC-UPG Upgrade  
    Priority
      Recommendations/additional info  
    Category
      Upgrade information  
    References
    This document refers to:
      SAP Business One Notes
    1482452
    IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
    1650289
    Printing Inventory Posting List for huge amount of data
    1678528
    Withholding amount in the first row is zeroed.
    1754529
    Error Message When Running Pick and Pack Manager
    1756263
    Open Items List shuts down on out of memory
    1757641
    Year-end closing
    1757690
    SEPA File Formats - New Pain Versions
    1757898
    Incoming Bank File Format
    1757904
    Outgoing Bank File Format
    1762860
    Incorrect weight calculation when Automatic Availability Check is on
    1770690
    Pro Forma Invoice
    1776948
    Calendar columns are wrong when working with Group View
    1780460
    OINM column description is not translated
    1780486
    UI_System crash when you set extreme value of double type to DataTable column
    1788256
    Incorrect User-Defined Field displayed in a Stock Transfer Request
    1788372
    ZH: 'Unacceptable Field' when export document to word
    1788818
    RU loc: No freight in the Tax Invoice layout
    1790404
    Cash Flow Inconsistency when Canceling Payment
    1791295
    B1info property of UI API AddonsInstaller object returns NULL value
    1791416
    Adding a new item to BoM is slow
    1794111
    Text is overlapping in specific localization
    1795595
    Change log for item group shows current system date in all the "Created" fields
    1797292
    Queries in alerts should support more query results
    1800055
    B1if_ Line break issue in inbound retrieval using JDBC
    1802580
    Add Journal Voucher to General Ledger report
    1803586
    Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
    1803751
    Period indicator of document series can be changed although it has been used
    1804340
    LOC_BR_Cannot update Nota Fiscal Model
    1805554
    G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
    1806576
    Payment Cannot Be Reconciled Internally
    1807611
    Cannot update UDF in Distribution Rule used in transactions
    1807654
    Serial No./Batch inconsistency by canceled Inventory Transfer
    1808694
    BR: Business Partner Code cannot be updated with CNPJ CPF error
    1809398
    CR_Cannot Display Related Multi-Value Parameters
    1809758
    Arrow key not work for Batch/Serial Number Transactions Report
    1810099
    Tax Amount is Recalculated Even if Tax Code Is Not Changed
    1811270
    Upgrade fails on Serial And Batches object with error code -10
    1811846
    Cannot run Exchange Rate Differences when multi branch is activated
    1812344
    Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
    1812740
    DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
    1813029
    US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
    1813835
    Wrong amounts of Goods Return in Open Item List
    1814207
    Preliminary page prints setting does not keep after upgrade
    1814860
    Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
    1815535
    RFQ: Web front end not displayed in supplier language
    1815810
    GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
    1816191
    BR:System Crashes While Working with Tax Code Determination Window
    1816611
    CR_Crystal Report Displayed Incorrectly Afte

  • How do I modify invoice request xml file by adding posting date?

    Hi,
    We import customer invoice requests via xml files from an external data source. Currently the standard SAP xml file does not include the posting date, and invoices enter SAP with a blank posting date. When the invoice is released, the posting date is taken from the invoice date.
    Due to our month end processes, we have hundreds of invoice requests every month where we do not want posting date to equal the invoice date, and for each of those invoices the posting date is manually entered one invoice at a time during the release process. This is very time consuming.
    We would like to build functionality in our external system to create the posting date at the xml file generation stage. Could anyone let us know the following:
    - what is the name of the posting date field on invoice requests (invoice documents)?
    - where would we place the additional script in the xml file?
    I'm attaching one of our current xml files (which already contains one section that has been customized)
    Your suggestions would be appreciated.
    Thanks,
    Kerstin

    Kerstin,
    The closest i could find in the WSDL of the Manage Invoice Request Web Service that handles this integration is "<ProposedInvoiceDate>" or possibly even "<ProposedDeviatingPostingdate>", both of which sit directly under the <CustomerInvoiceRequest> element.
    For more information, go to the Service Explorer, find the ManageInvoiceRequestsIn Web Service, download the WSDL, and open it in SOAP-UI or something similar. This way you can see all the fields that you can write to, which is where i found these two elements.

  • Oracle Apps.XML reports ending with warning when the report output contains

    Hi I have XML reports. When we run these reports as concurrent program through Oracle Apps. window and if the report output contains special characters(like Chineese data) in between of English, then the concurrent program is ending with warning. If we remove special characters then it is working fine or when we run the report query directly from backend it is working fine.
    We are importing this data from legacy system into oracle apps. and we can't control these characters or decode them with some other charactes.
    Can any one guide me how to get the XML report output with special characters.
    Thanks in advance.
    Chandra Babu Lankipalli.

    Hi Hussein,
    The concurrent program is ending with Warning. It is unable to publish output file.
    For the same when we remove special characters and run the program it is completing and generating the
    output. The log fine is as follows when the data file contains special characters.
    Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXFA_AR_WIN_EXCEPTION module: XXFA AR Wintrack Customer Interface Exception Report
    Current system time is 23-MAR-2009 05:33:19
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_CUST_ERRORED='3'
    P_CUST_SUCCESS='0'
    P_CUST_TOTAL='3'
    P_REQUEST_ID='4661283'
    P_USER_NAME='SYSADMIN'
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /d01/oracle/fadevora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /d01/oracle/fadevora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Report Builder: Release 6.0.8.25.0 - Production on Mon Mar 23 05:33:19 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 4661284 on node FAHQSNA01SFTD03 at 23-MAR-2009 05:33:20.
    Post-processing of request 4661284 failed at 23-MAR-2009 05:33:21 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 23-MAR-2009 05:33:21
    Thanks in advance.
    Chandra

  • BAPI to create a credit memo request

    Is there a standard BAPI that can create a credit memo request?
    If not, then can we copy a standard BAPI to a Z-version and amend that?
    Sample code appreciated.
    Thanks,
    John

    The suggestion to use SD_SALESDOCUMENT_CREATE proved fruitful.
    For creating with reference to an invoice:
    Setting ref_doc and ref_doc_ca for each line-item in sales_item_in seems necessary for the creation of the document flow.  Maybe it also brought through other data from the invoice?
    Setting ref_doc and refdoc_cat for sales_header_in caused header text (and maybe other stuff?) to be brought through from the invoice.
    It looks like it will do bills of materials - there's hg_lv_item in sales_items_in - but I've yet to try that.
    Here's the code of a demo program for a one-line CMR.
    REPORT  YJNM_CREATE_CMR5                        .
    Uses SD_SALESDOCUMENT_CREATE
    parameters:
      p_vgbel like vbrk-vbeln  default '90175587', "reference invoice
      p_fkdat like vbkd-fkdat  default sy-datum,   "billing date
      p_auart like tvak-auart  default 'Z002',     "sales document type
      p_vkorg like tvko-vkorg  default '3',        "sales org.
      p_vtweg like tvtw-vtweg  default '01',       "distr. chan.
      p_spart like tspa-spart  default '06',       "division
      p_vkbur like tvbur-vkbur default '034',      "sales office
      p_kunnr like kna1-kunnr  default '16797',    "sold-to
      p_bstnk like vbak-bstnk  default 'pono00000017',
                                                   "PO number
      p_bname like vbak-bname  default 'Bartholomew Snodgrass',
                                                   "name of orderer
      p_augru like tvau-augru  default '002'.      "order reason
    selection-screen skip.
    selection-screen begin of block i1 with frame title text-001.
      parameters:
        p_matnr like mara-matnr default '27585',   "material number
        p_zmeng type dzmengc    default '65',      "target quantity
        p_netwr like vbap-netwr default '1.20',    "net amount
        p_arktx like vbap-arktx default 'Afternoon tea',
                                                   "short text
        p_fbuda like vbkd-fbuda default '20060109'."service-rendered date
    selection-screen end of block i1.
    data:
      return              like bapiret2,
      returns             like table of return,
      salesdocument_ex    like bapivbeln-vbeln,
      sales_header_in     like bapisdhd1,
      sales_item_in       like bapisditm,
      sales_items_in      like table of sales_item_in,
      sales_condition_in  like bapicond,
      sales_conditions_in like table of sales_condition_in,
      sales_partner       like bapiparnr,
      sales_partners      like table of sales_partner,
      incomplete_log      like bapiincomp,
      incomplete_logs     like table of incomplete_log.
    perform:
      fill_sales_header_in,
      fill_sales_items_in,
      fill_sales_partners,
      fill_sales_conditions_in,
      call_bapi.
    FORM call_bapi .
    CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
      EXPORTING
      SALESDOCUMENT                 =
        SALES_HEADER_IN               = sales_header_in
      SALES_HEADER_INX              =
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       = ' '
      INT_NUMBER_ASSIGNMENT         = ' '
      BEHAVE_WHEN_ERROR             = ' '
      LOGIC_SWITCH                  = ' '
        BUSINESS_OBJECT               = 'BUS2094' "cred. mem. req.
      TESTRUN                       =
      CONVERT_PARVW_AUART           = ' '
      STATUS_BUFFER_REFRESH         = 'X'
      IMPORTING
        SALESDOCUMENT_EX              = salesdocument_ex
      SALES_HEADER_OUT              =
      SALES_HEADER_STATUS           =
      TABLES
        RETURN                        = returns
        SALES_ITEMS_IN                = sales_items_in
      SALES_ITEMS_INX               =
        SALES_PARTNERS                = sales_partners
      SALES_SCHEDULES_IN            =
      SALES_SCHEDULES_INX           =
        SALES_CONDITIONS_IN           = sales_conditions_in
      SALES_CONDITIONS_INX          =
      SALES_CFGS_REF                =
      SALES_CFGS_INST               =
      SALES_CFGS_PART_OF            =
      SALES_CFGS_VALUE              =
      SALES_CFGS_BLOB               =
      SALES_CFGS_VK                 =
      SALES_CFGS_REFINST            =
      SALES_CCARD                   =
      SALES_TEXT                    =
      SALES_KEYS                    =
      SALES_CONTRACT_IN             =
      SALES_CONTRACT_INX            =
      EXTENSIONIN                   =
      PARTNERADDRESSES              =
      SALES_SCHED_CONF_IN           =
      ITEMS_EX                      =
      SCHEDULE_EX                   =
      BUSINESS_EX                   =
        INCOMPLETE_LOG                = incomplete_logs
      EXTENSIONEX                   =
      CONDITIONS_EX                 =
      PARTNERS_EX                   =
      TEXTHEADERS_EX                =
      TEXTLINES_EX                  =
      BATCH_CHARC                   =
    perform imcompletion_log.
    loop at returns into return where type ne 'S'.
      message id return-id type 'I' number return-number
        with
          return-message_v1
          return-message_v2
          return-message_v3
          return-message_v4.
      endloop.
    if salesdocument_ex is initial.
      write: / 'Document not created'.
    else.
      commit work.
      write: / 'Sales document number:', salesdocument_ex.
      endif.
    ENDFORM.                    " call_bapi
    FORM fill_sales_header_in .
    clear sales_header_in.
    move:
      p_fkdat to sales_header_in-bill_date,
      p_vgbel to sales_header_in-ref_doc,    "invoice number
      'M'     to sales_header_in-refdoc_cat, "invoice
      p_auart to sales_header_in-doc_type,
      p_vkorg to sales_header_in-sales_org,
      p_vtweg to sales_header_in-distr_chan,
      p_spart to sales_header_in-division,
      p_vkbur to sales_header_in-sales_off,
      p_bstnk to sales_header_in-purch_no_c,
      p_bname to sales_header_in-name,
      p_augru to sales_header_in-ord_reason.
    ENDFORM.                    " fill_sales_header_in
    FORM fill_sales_partners .
    clear sales_partner.
    sales_partner-partn_role = 'AG'.
    sales_partner-partn_numb = p_kunnr.
    append sales_partner to sales_partners.
    ENDFORM.                    " fill_sales_partners
    FORM fill_sales_items_in .
    perform one_item_in using:
      10
      p_matnr
      p_zmeng
      p_netwr
      'GBP'
      p_arktx
      p_fbuda.
    ENDFORM.                    " fill_sales_items_in
    FORM one_item_in  using    value(p_itm_number)
                               value(p_p_matnr)
                               value(p_p_zmeng)
                               value(p_p_netwr)
                               value(p_p_waerk)
                               value(p_p_arktx)
                               value(p_p_fbuda).
    clear sales_item_in.
    move:
      p_itm_number to sales_item_in-itm_number,
      p_fkdat      to sales_item_in-bill_date,
      p_vgbel      to sales_item_in-ref_doc,    "invoice number
      'M'          to sales_item_in-ref_doc_ca, "invoice
      p_p_matnr    to sales_item_in-material,
      p_p_zmeng    to sales_item_in-target_qty,
      p_p_netwr    to sales_item_in-target_val,
      p_p_waerk    to sales_item_in-currency,
      p_p_arktx    to sales_item_in-short_text,
      p_p_fbuda    to sales_item_in-serv_date.
    append sales_item_in to sales_items_in.
    ENDFORM.                    " one_item_in
    FORM fill_sales_conditions_in .
    refresh sales_conditions_in.
    perform one_sales_condition_in using:
      10
      p_netwr
      'GBP'.
    ENDFORM.                    " fill_sales_conditions_in
    FORM one_sales_condition_in  using    value(p_itm_number)
                                          value(p_p_netwr)
                                          value(p_p_waerk).
    clear sales_condition_in.
    move:
      p_itm_number to sales_condition_in-itm_number,
      'PR00'       to sales_condition_in-cond_type,
      p_p_netwr    to sales_condition_in-cond_value,
      p_p_waerk    to sales_condition_in-currency.
    append sales_condition_in to sales_conditions_in.
    ENDFORM.                    " one_sales_condition_in
    FORM imcompletion_log .
    loop at incomplete_logs into incomplete_log.
      write: / incomplete_log-itm_number,
               incomplete_log-field_text,
               incomplete_log-table_name,
               incomplete_log-field_name.
      endloop.
    ENDFORM.                    " imcompletion_log

  • Error when creating files for transport request SAPK-700BGINPLMWUI

    Hello experts,
    We're upgrading our 46c System to ERP 6.0 EHP4.
    In Phase  EHP_INCLUSION we get the following error Message: Disassembling package queue failed, rc = "2", reason = "Error when creating files for transport request SAPK-700BGINPLMWUI"
    We've already checked the SAINT version; Upgrade Fix, SAPCAR version. We've checked our TMS as well and everything seems  O.K.
    Any help would be really appreciated!!!
    Complete Error message:
    EhP component PLMWUI, 700                                                                               
    Looking for SAINT package for 'PLMWUI' ...                                                                               
    R3upReadNewPackages:                                                                               
    patchType='U', langVect='DEC'                                                                               
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "spda_read_new_packages" by RFC                                                                     
      ismovesVersion='0'                                                                               
    R3upReadNewPackages: exit: rc=0                                                                               
    ... No matching package found.                                                                               
    R3upReadNewPackages:                                                                               
    patchType='I', langVect='DEC'                                                                               
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "spda_read_new_packages" by RFC                                                                     
      ismovesVersion='0'                                                                               
    R3upReadNewPackages: exit: rc=0                                                                               
    Found: name = 'PLMWUI', release = '700', package = 'SAPK-700BGINPLMWUI', type = 'AOI'                                  
    ... Matching package found: 'PLMWUI','700','SAPK-700BGINPLMWUI'                                                             
    (trc) R3upPatchDisassembleQueue: 1 package queue entries                                                                    
    (trc) R3upPatchDisassembleQueue: force=YES                                                                               
    (trc) R3upPatchDisassembleQueue: 1 packages will be disassembled                                                            
    Starting disassembling package queue                                                                               
    Date & Time: 20100319133139                                                                               
    Starting RFC Login to: System = "X05", GwHost = "sxt ", GwService = "sapgw00"                                           
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "SPDA_DISASSEMBLE_QUEUE" by RFC                                                                     
    Input table IT_PATQ:                                                                               
    "SAPK-700BGINPLMWUI","000","AOI","PLMWUI","700","SAP PLM Web UI","00"                                                       
    Call of function module "SPDA_DISASSEMBLE_QUEUE" by RFC succeeded                                                           
    Logging off from SAP system                                                                               
    Date & Time: 20100319133139                                                                               
    Disassembling package queue failed, rc = "2", reason = "Error when creating files for transport request SAPK-700BGINPLMWUI"

    Hello Anthes,
    Please Check the things in following sequence :
    1.Use latest SAPehpi, R3trans and tp versions.
    2. users/group authorization issue and/or ownersip limitations (set 777) .Reboot the server to make sure, that the authorisations are updated and there is no lock on a file in the EHPI dir.Repeat the phase.
    Folders where permissions should be 777 are Upgrade directory, Data Directory, Cofile directory and .../EPS/in.
    3. Source file corruption can be ruled out by execution
    R3trans -l /usr/sap/<SID>/..../abap/data/R-700BGINPLMWUI.SAP (The data file corresponding to the Package which is giving error). Check if this ends fine.
    Note 2050
    4. Confirm that your transport tool is 'healthy' by testing it in STMS. In SPAM in client 000 use the function Disassemble package and enter the package <Package name>.
    5. Try to update the kernel if it not helps.
    Best Regards
    Niraj

  • Could RDF report end with warning status conditionally?

    Could I make the Oracle report concurrent program complete with warning status based on a condition?
    I know it is possible with PL/SQL concurrent requests, but with Oracle Reports how could I end the report with a status as warning indicating users to look into the log file.
    Thank you,
    Vinodh

    Hi DC,
    Thank you for quick feedback. But the report is not completing with warning status (still it completes as Normal). I want the concurrent program to end with warning status. So, by looking at the end status of the concurrent program the user would check the log by clicking the view log button.

Maybe you are looking for

  • CAN SOMEONE SOLVE THIS APPLICATION PROBLEM? URGENT!

    As per the installation instruction in the "Read Me for Installing Schema and Examples for the Tutorial " write-up, I executed all the scripts listed there. But when I try to add the application component portlet, I do not find the TUTORIAL30_APPLICA

  • 2012 RMBP HDMI to tv not working

    Bought in august. I connected it to my tv via HDMI cable to test it and it worked fine. I recently tried to plug it in and it goes to a black screen. it will occasionally show glitchey pieces of the desktop but most of the time i just get a black scr

  • G580 can't backup right out of the box. Not enough space

    I recently aquired a G580 with the i5 processer, 500gb hard drive and  Win8. I see the lenovo center is telling me to do a backup and since I just set it all up the way I wanted I figured it's a good idea anyway. I follow the instructions and it auto

  • Quantum Gateway

    Here's a question. Since I have fixed my issues that I was having with my Quantum service by getting the Quantum gateway. Why should I have to pay the 6.99 rental fee for the Quantum gateway. Since without it my service will not work as expected. I w

  • Appending new TextLine into existing file

    I tried to add new text lines into an existing txt file. The problem is my method add new Strings on the same line (to see it you need to open the output file with notepad). The method invoked is: public static void addText( String arg0, String path