Error in generating accounting document

All,
I have error in VFX3 when try to release billing document to accounting,"Prof.segment for prim.cost elements not advisable for costing-based CO-PA.",I took a display of billing document Environment->Account determination Analysis->Revenue Accounts.
I see the GL account is being determined from the access sequence? Where else do I need to look.
Regards
Shaun

HI,
the cost element category in cost element master is wrong, guess its 1. Change it to 11 and try again.
If change is not allowed (Message: transaction data already exist) decide wheter a change in a rough way can be done (se16(n) debug CSKB-KATYP... ask ABAP-er for help if you are not familiar with things like that) or assign a new cost element with cost element category 11 in VKOA.
Best regards, Christian

Similar Messages

  • Generate accounting document for cancel of credit memo

    Hii Guy,
    Need your help to solve this problem.
    My user have perform VK11 to cancel of credit memo. in the sales order document flow, the status is OPEN.
    my user cannot perform creating of accounting document for this cance of credit memo. what are the tcode to generate accounting document ?

    Nizamkz wrote:Hi,
    >
    > Hii Guy,
    >
    > Need your help to solve this problem.
    >
    > My user have perform VK11 to cancel of credit memo. in the sales order document flow, the status is OPEN.
    Are you sure its VK11???? I guess for the cancellation if billing document its VF11......
    Try to do the manual release to accounitng....by going to VF02 and pressing the Green Flag button after entering the cancellation document number. Or Else Try to reverse the posting with FB08.
    Thanks,
    Raja

  • Bursting Program errors with "Error while generating the Document"

    Hello Folks
    Here is my bursting control file
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/XMLEXCEL1/LIST_G_Q0">
    <xapi:delivery>
    <xapi:email server="mycompany.com" port="25" from="[email protected]"
    reply-to ="[email protected]">
    <xapi:message id="1234" to="[email protected]"
    attachment="true" content-type="html/text"
    subject="Employee Report for Empno"> Dear
    Please review the attached document</xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document key="123" output-type="XLS" delivery="1234"
    output="XMLEXCEL1" >
    <xapi:template type="RTF" location="xdo://AR.XMLEXCEL1.en.00/?getSource=true">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    this is the output of bursting status report:
    <?xml version="1.0" encoding="UTF-8"?>
    <BURS_REPORT><REQUESTID>40403415</REQUESTID>
    <PARENT_REQUESTID>40403339</PARENT_REQUESTID>
    <REPORT_DESC>XMLEXCEL1</REPORT_DESC>
    <OUTPUT_FILE>/opt/local/application/orafin/applmgr/out/outfaud/S1759.zip
    </OUTPUT_FILE>
    <DOCUMENT_STATUS>
    <KEY>123</KEY>
    <OUTPUT_TYPE>XLS</OUTPUT_TYPE>
    <DELIVERY></DELIVERY>
    <OUTPUT>
    </OUTPUT>
    <STATUS>fail</STATUS>
    <LOG>Error while generating the Document...</LOG>
    </DOCUMENT_STATUS>
    </BURS_REPORT>
    Can anyone help on this please.

    can anyone help me?

  • Error while generating the Document...  Bursting Status Report

    Hey all,
    I am getting some errors in a production environment when trying to burst out some invoice data.
    This process has been pretty robust and out of 1000+ invoices a day, I can only find 4 that are failing regularily.
    Why am I mentioning?, just to show that I am thinking this is a data issue, but just cannot see anything that stands out.
    I can take the xml output and run it through my development suite on my local machine and all runs fine.
    Just when it is running live through the db is when it fails.
    Here is the Bursting output that shows the error....
    <?xml version="1.0" encoding="UTF-8"?>
    <BURS_REPORT>
    <REQUESTID>27044820</REQUESTID>
    <PARENT_REQUESTID>27044726</PARENT_REQUESTID>
    <REPORT_DESC>Invoice Print Selected Invoices</REPORT_DESC>
    <OUTPUT_FILE>[$OUT_DIR]/o27044820.zip</OUTPUT_FILE>
    <DOCUMENT_STATUS>
    <KEY></KEY>
    <OUTPUT_TYPE>pdf</OUTPUT_TYPE>
    <DELIVERY></DELIVERY>
    <OUTPUT></OUTPUT>
    <STATUS>fail</STATUS>
    <LOG>Error while generating the Document...</LOG>
    </DOCUMENT_STATUS>
    </BURS_REPORT>
    The problem is that this output doesn't necessarily help, nor can I find any hints in the OPP logs.
    So... the question becomes...
    Any ideas on where I can look to resolve this issue?+
    Or where I can find any clues at, that would possible point at the issue?+
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    BI Publisher 5.6.3
    Thanks
    Hayden,

    Tim,
    Thanks for the suggestion, always seems to slip my mind that the Bursting Report has debug on it.
    As far as what is generating the XML, it is oracle's standard, only slightly modified ... ;), invoice generating report, RAXINV_SEL.
    Well RAXINV_SEL, or RAXINV_NEW, doesn't matter, same code, that is the executable.
    I have turned on the debug, for both the source xml and the burst request, and unfortunately, still nothing stands out to me.
    I was really expecting to see something in the burst log, pasted at the bottom...
    but, it yet avoids me.
    If I had to guess, I would bet the user went, in our terminology, "slashwit crazy", or example "model /w options", in some description.
    But can't seem to find which field it is blowing up on, since we are catching these special characters in several places already, and slashwit is littered throughout the output.
    I was also looking in the bursting control file for the special xml tags identified there, as those would require no slashes. But those are all clean.
    Hayden,
    XML Publisher: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 21-SEP-2009 10:43:12
    XML/BI Publisher Version : 5.6.3
    Request ID: 27048106
    All Parameters: ReportRequestID=27044726:DebugFlag=Y
    Report Req ID: 27044726
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:{node}
    Preparing parameters
    null output =/u007/app/applmgr/{instance}/out/{instance}/o27048106.out
    inputfilename =/u007/app/applmgr/{instance}/out/{instance}/o27044726.out
    Data XML File:/u007/app/applmgr/{instance}/out/{instance}/o27044726.out
    Set Bursting parameters..
    Temp. Directory:/u007/app/applmgr/{instance}/temp
    [092109_104315337][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    [092109_104315340][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {burstng-source=EBS, font.Free 3 of 9.normal.normal=truetype./usr/java/jre/lib/fonts/FREE3OF9.TTF, font.Times New Roman.normal.normal=truetype./usr/java/jre/lib/fonts/TIMES.TTF, system-temp-dir=/u007/app/applmgr/{instance}/temp, font.Arial.italic.normal=truetype./usr/java/jre/lib/fonts/ARIALI.TTF, user-variable:cp:parent_request_id=27044726, user-variable:cp:application_short_name=XDO, font.Courier New.normal.bold=truetype./usr/java/jre/lib/fonts/COURBD.TTF, font.Times New Roman.normal.bold=truetype./usr/java/jre/lib/fonts/TIMESBD.TTF, user-variable:cp:request_id=27048106, font.Arial.normal.normal=truetype./usr/java/jre/lib/fonts/ARIAL.TTF, font.Courier New.normal.normal=truetype./usr/java/jre/lib/fonts/COUR.TTF, user-variable.OA_MEDIA=http://diierp.corio.com:8002/OA_MEDIA, font.Courier New.italic.bold=truetype./usr/java/jre/lib/fonts/COURBI.TTF, user-variable:cp:org_id=83, user-variable:cp:DebugFlag=Y, font.Times New Roman.italic.bold=truetype./usr/java/jre/lib/fonts/TIMESBI.TTF, user-variable:cp:responsibility=51270, font.Arial.italic.bold=truetype./usr/java/jre/lib/fonts/ARIALBI.TTF, font.Courier New.italic.normal=truetype./usr/java/jre/lib/fonts/COURI.TTF, user-variable:cp:user=HAYDEN, user-variable:cp:reportdescription=Invoice Print Selected Invoices, user-variable:cp:language=en, font.Times New Roman.italic.normal=truetype./usr/java/jre/lib/fonts/TIMESI.TTF, user-variable:cp:ReportRequestID=27044726, user-variable:cp:locale=en-US, user-variable:cp:territory=US, font.Arial.normal.bold=truetype./usr/java/jre/lib/fonts/ARIALBD.TTF}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    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 27048106 on node {node} at 21-SEP-2009 10:43:19.
    Post-processing of request 27048106 completed at 21-SEP-2009 10:43:20.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 21-SEP-2009 10:43:20
    ---------------------------------------------------------------------------

  • Error in Posting Accounting Document from invoice

    Hi,
    When i create invoice, the system gives error while creating accounting document as,
    "Tax code Y1 does not appear in any G/L account item".
    In my pricing procedure. i have two tax condition types. MWST and ZSED (copy of mwst). when i delete ZSED from my pricing procedure and then i create a sales order/delivery & finally invoice...then it works fine (Accuonting document is created successfully).
    i have assigned the gl accounts in vkoa. and MWST & ZSED goes to same gl account via MWS accounting key.
    although i have searched the forum for this issue, but that didnt resolved my issue.
    seeking your guidance.

    Dear Robert,
    I'm having same issue as yours.
    The requirement for us is if return sales in some order reason codes, then tax should be posted to different G/L other than the G/L defined in OB40(transaction MWS).
    After several test, found the system only recognize the G/L in OB40, won't touch setting in VKOA. As if I delete the GL in table T030R, SAP will issue an error requesting GL assignment.
    Please let me know if you have solved your issue! If yes, please share your solution! 
    Thanks in advance!

  • VF01-- Billing not generate accounting document

    Hi, experts.
    I have one sale order using billing plan. the plan include three down payment request and one closing invoice.for the first and second down payment request,using transaction 'VF01' generate accounting document, but for the third down payment request ,but using transaction 'VF01' to create billing ,there isn't accounting document to generate?
    Thanks
    Fanny.

    UP!

  • Materail document is not generating accounting documents

    friends,
    some materail documents are not generating fi documents, because of this materiel values are not matching with finance values,
    what could be the reason, all are capital items.
    regards,

    If the material is a not valuated material, then it might not generate accounting document. Compare this material with any other material with which you were able to generate financial documents.

  • Generate accounting document by reference to Controlling Doc

    Hi Experts,
    Please share any enchancement (BAPI, exit) to generate accounting document (doc type ST) by reference to CO document?
    example:
    -CO-
    Dr. Material Operations(Cost Center)    12
    Cr. Material Operations(Order)              12
    -FI- generated by enhancement
    Dr. Material Operations(Cost Center)      12
    Cr. Material Operations           12
    Please help.
    Rgds,

    Hi Stephanie ,
    I worked on a project where such concept was used.. (*very large FMCG  company and backposting was the name of the concept )but the same was to make FI Document from COPA document .
    I dont have the user exit with me .. will try to arrange for you .
    Meanwhile i suggest you to post it in ABAP .. and mention the concept in a bit more details and you may mention backposting also .
    I think developers will be able to reply your query..
    Regards
    Sarada

  • Error While Releasing Accounting Document & Proforma Invoice--URGENT

    Dear Gurus,
    I am facing problem in below cases.
      -- Proforma Invoice canot be cancelled ....If i need to cancel then wht needs to do
    -- I created New Material Master again old material and made sale getting Acc determinatin error while releasing accouting document.. But in old cases( old material) no problem like this. Y like this.
    Pls guide me.
    Regards,
    Venkat

    Dear All,
    Thanx your kind replies. I analysis and foud following:
    Access       Message                    Description
    05       123                    Access ZKOF not carried out
    Access     Complete     
    Field Condition Table          Value in Doc
    Chart of Accts          CAIN
    Sale Org                          1000
    Plant                           F201
    AccAssg Grp          01
    Acct Assgn. Grp          05
    Account Key          !! ( Showing Yellow Indicator)
    Above things showing Against Condition TYpe JEXT.
    I checked in Pricing procedure and condition Type JEXT....against this no Accounting key assigned.
    No problem faced earlier...now showing like this........y.
    Regards,
    Venkat

  • Billing Document error while releasing accounting document VF02

    Sir, i have an issue regarding billing.
    We created a sale order having base price , Central sales tax and CST surcharge.
    base amount 408,791.21
    JIN1 :Central sales tax 51,098.90
    JIN4:CST surcharge 5,109.89
           total 465,000.00
    then delivery (vl01n) is also done. it is showing base amount.
    when created billing vf01, it is showing base amount ,Central sales tax and CST surcharge.
    it is showing 408,791.21 .
    Central sales tax 51,098.90
    CST surcharge 5,109.89
    Problem : While releasing accounting document in vf02,  system  does not show Central sales tax and CST surcharge only shows base price.
    Actually we have 2 company code 1000 and 2000 but in  1000 cc system calculates CSt and CST surcharge correctly but in 2000 CC , system does not calculate system calculates CSt and CST . while releasing accounting document in vf02.
    what did we wrong ?
    Thanks

    Problem : While releasing accounting document in vf02, system does
         not show Central sales tax and CST surcharge only shows base price.
    got ans.customer amd material was not created correctly
    It seems there is some contradiction to your first statement above.  Unless you create a material and customer correctly, how come you could generate billing document ??  Either you have not explained the issue properly or not closed the thread with correct solution.
    thanks
    G. Lakshmipathi

  • Bursting Program in error 'error while generating the document'

    Hi All,
    We have a requirement to place EXCEL output generated through BI XML report, in EBS path. ex: /usr/tmp
    Parent Concurrent program is generating output file and program got completed normal and Bursting program got submitted.
    But, Bursting program completing in error, saying 'Error While Generating Document'
    Other programs which use Bursting are working normal and they are using same path (/usr/tmp)
    Anyone faced similar issue ? Any sample bursting control file that sends .xls file will also be helpful.
    Below is the bursting file that we created:
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
      <xapi:request select="/XXPREDICT/G_DATA_GROUP">
        <xapi:delivery/>
        <xapi:document output="/usr/tmp/XXYYZZ_${RUN_DATE}_${RUN_TIME}.xls" output-type="excel">
          <xapi:template type="xsl-fo" location="xdo://<APPLSHORTNAME>.<TEMPLATECODE>.en.US/?getSource=true" />
        </xapi:document>
      </xapi:request>
    </xapi:requestset>
    P.S: When we give template type as 'rtf', then we are getting a different error i.e., "No such file or directory"
    Regards,
    Rupa

    You should use:
    <xapi:template type="rtf" location="CUSTOME_TOP_PATH/US/REPORT_RTF_NAME.rtf"/>
    You need to check that there should rtf file present with the same name as you mentioned in above code. Also verify the port number.
    Example:
    <?xml version="1.0" encoding="US-ASCII"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/DEBIT_MEMO/LIST_G_1/G_1">
    <xapi:delivery>
    <xapi:email id="123" server="localhost" port="1028" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="123" to="[email protected] ${EMAIL}" attachment="true" subject="Invoices for VENDOR_NO:${SEGMENT1} and Period ${CF_4}">
    Please ignore this report.It is for Testing,For INVOICES of vendor ${VENDOR_NAME} for the Period ${CF_4}</xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="${SEGMENT1}||TSRL HM||${CF_4}" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="/ebiz/app01/appldev/DEV/apps/apps_st/appl/xxabrl/12.0.0/reports/US/XXTSRL_DEBIT_CREDIT_MEMO_PRINT_LATEST_TSRL_HM.rtf">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    HOP! it will help you.

  • How posting key is taken up when we generate accounting document

    hi ,
    i am trying to bill a customer using billing type RE which is credit for returns. but when i generate posting document instead of crediting the customer account its getting debited  ie) it is taking up the posting key 01 instead of 11 .
    how this posting key is determined when we generate accounting documnet .
    if u have any questiin or clarification kindly ask me.
    thanks

    hi,
    start with checking OBXW, here you check the customer item outgoing invoice, where you will find posting keys assigned for debit and credit. Might be its configured wrongly here.
    Second, Check T.code OB40 this is where we tell what type of accounts are affected with this posing key and is the effect a debit or credit. You have radio buttons for it.
    But remember these are all standard SAP config settings and i guess there would really be a need to change them here if not while practising.... Make the settings as required and do consult an FI guy on this.
    regards
    sadhu kishore

  • Cancellation document does not generate Accounting document

    Hi Experts,
        I am facing an issue that when a Billing document is getting cancelled through workflow ,the billing document does not generate a accounting document .I tried debugging the issue to check it but could not find the root cause of the issue.
    In the code we are using 'BAPI_BILLINGDOC_CANCEL1 to cancel the billing document.
        How to find that the accounting documents are getting  generated from the corresponding billing documents correctly.
    Thanks&Regards,
    Praveen

    First of all, are you able to create S1 type cancellation document after you call the BAPI? If you are not even able to generate the cancel document, perhaps you are missing committing the BAPI after calling it by using BAPT_TRANSACTION_COMMIT.
    Also are you able to create cancellation and accounting document by calling the BAPI through a test ABAP program? First check it out before using it in your workflow.

  • Purchase order haven't generate accounting document

    Dear Experts,
    I was created subcontracting PO and I forget to make check on invoice receipt,  gr base IV or Final invoice in INVOICE TAB.
    When I going to create invoice with reference of PO its shows no suitable item was found.
    Please provide the solution.
    Thanks,
    Farrukh khan

    Hello,
    How  system will alllow you to create the PO without GR based Invoice, if yes. then check is their material used in Subcontracting PO is Non valued  (check in OMS2). if material is non valued then system will not generate anu A/C document
    --Check GR. is their any accounting documents genearted or not?
    -If then delete the PO and create one more PO with same combination and confirm the entries.
    Regards
    Mahesh Naik.

  • BAPI_ACC_DOCUMENT_POST not generating accounting document

    HI All
    I'm calling function module 'BAPI_ACC_DOCUMENT_POST'
    to upload accounting dcoument data and passing below parameters for header section. I'm getting 605 success message in RETURN table, but accounting document is not being generated.
    obj_type = FKKSU
    obj_KEY = '$'
    obj_sys = t000-logsys.
    Message is here:
    S   |RW                  |605   |Document posted successfully: FKKSU $ PRO
    Kindly suggest me what could be the problem.
    Thanks in advance,
    Vijaya

    Hi ,
    You need to execute BAPI_TRANSACTION_COMMIT after this Function module.
    otherwise go to before executing BAPI BAPI_ACC_DOCUMENT_POST
    go to 'Function Modules ->other Function module -> ( enter BAPI_TRANSACTION_COMMIT) and then choose SAVE.
    now execute your test variant BAPI_ACC_DOCUMENT_POST.
    Hope this helps you.
    Thanking You.
    Kind Regards,
    Ravi Sankar.Z

Maybe you are looking for

  • How to copy your Voice memos to computer

    The best one i discoverd 1- connect the iphone to iTunes 2- go to Voice memos app in your iphone . 3- get the menu of your memos 4- select the one you want to copy 5- click the arrow button on the right 6- click  " Tirm memo " and term the memo 7- go

  • Macbook Pro to Old TV

    I'm still in the stone age and have just a regular CRT Toshiba TV. How can I hook my Macbook Pro to my TV? Do I need a couple of cables? Is there a mini-dvi to RCA/S video?

  • GR/IR migr. within system

    we want to migrate one company code GR/IR to another company code within the same SAP client, can any expert show the steps to do GR/IR migration within the same SAP client, I already migrate vendor open item.

  • Where is the quicktime plugins folder in 10.6.7

    I bought a new MacBook Pro running 10.6.7 and updated it from a backup from my old MacBook Time Capsule backup and now a lot of videos won't play in iTunes or Quicktime. I had a search around and people said it was probably because Apple has moved th

  • Some Fonts Not Compatible with Intel Macs?

    ID CS3. I have an Intel Mac running Tiger, and opened a ID CS3 file and installed the PostScript fonts that travelled along with it. Or tried to anyway! :) The fonts would make FAP3 quit when I'd try to import them. And they wouldn't work properly if