Update Parked Non PO invoice - FBV2 functionality via BAPI or FM not BDC

Good day all,
after searching many days, I have found many threads similar to this request but none have been properly answers.  My scenario: I need to change a header field (ZUONR) and account assignment related fields (KOSTL, AUFNR, etc) in the document items.
I have tried many FM for this but can't seem to overcome the fact that parked, non-po invoices have no entry in the BSEG table.  I have progressed a long ways with the BAPI
PP_CHANGE_DOCUMENT_FBV2_ENJ
But I get an error message:
No item information transferred into Accounting
Message no. RW002
Diagnosis
The interface into Accounting requires:
Header data
Item data
Currency data
The item data is missing.
System Response
Processing of the data in the Accounting interface is not possible.
Procedure
This is a system error of the application which was called up.
This message seems to derive from a missing set of field what should be coming from the FM
AC_DOCUMENT_CREATE
I can't seem to debug there the internal table T_ACCIT should be getting it's values
Please help troubleshoot this.
Cheers
M

SG- Thank you for the reply.
I have been playing with BAPI_INCOMINGINVOICE_PARK and I'm not sure if it is doing exactly what we want, but it is something that I have considered in the past. I plan on looking into BAPI_ACC_INVOICE_RECEIPT_POST this morning, hopefully that will provide some more for us.
If possible I'd like to avoid BDC sessions because this program could hypothetically interface with multiple SAP systems with different configurations.
I will check into those FM's and thank you very much.

Similar Messages

  • Insert/Update/Delete Non-PO Invoice Line Item via FM/BAPI?

    Does anyone know of a way to insert/update/delete an Invoice Line item (Non-PO Accounting Invoice - Transaction FB60 or FV60) using a BAPI or Function Module (or set of function modules) using ABAP? I have been trying to find some code to accomplish this and am stuck on a couple of issues.
    I have found PRELIMINARY_POSTING_FB01 and PP_CHANGE_DOCUMENT_ENJ but both seem to submit the details to background processes. This is an issue because it gives the user a success message after execution but later delivers the error to Workflow. This is for an interfacing program so the results should be as real time as possible.
    Has anyone accomplished this via FM or BAPI and if so would you mind sharing your experiences?
    Thank you very much,
    Andy

    SG- Thank you for the reply.
    I have been playing with BAPI_INCOMINGINVOICE_PARK and I'm not sure if it is doing exactly what we want, but it is something that I have considered in the past. I plan on looking into BAPI_ACC_INVOICE_RECEIPT_POST this morning, hopefully that will provide some more for us.
    If possible I'd like to avoid BDC sessions because this program could hypothetically interface with multiple SAP systems with different configurations.
    I will check into those FM's and thank you very much.

  • Can I use my G5's DVD drive, to update my non-DVD iBook's OS via network?

    Okay, here is the thing, I recently erased my old iBook's HD for a clean start. And I want to update its OS back to what it was. The problem is, to get it back to speed I would need a DVD reader in it for it to work with my 10.4 updater disc. My iBook does not have DVD capability.
    I was wondering, how could I run the installer/updater from my Dual 2.7 Power PC G5's DVD ROM for it to update my iBook's OS via an ethernet network.
    I have very little experience setting up a network, but I have managed to get the basics down. Thanks to the help of some basic how-to websites, I was able to link my computers up to drop files into each others' drop boxes. So, I have that much basic knowledge. But how do I use one computers DVD-rom drive to update my non-DVD-ROM iBook's OS from the updater DVD? It seems possible to me; almost as if I were using an external DVD-rom. Any suggestions? Thanks!

    Hi Scroto Saggins;
    I think you will have much better luck with Target Disk Mode rather then using the network.
    Allan

  • I have to update but none of the merge functions is working for me

    Hi,
    I have a table PERSON with the columns ID, NAME and SALUTATION_ID and I have a second table SALUTATION with the columns ID and NAME.
    I have the following person in my PERSON table (ID=1, NAME=Tobias, SALUTATION_ID=1). Now what I want to do is change the SALUTATION_ID from 1 to 2.
    I am using JDeveloper 11 TP3. In my backing bean I have the following code.
    / DCBindingContainer dcBind = (DCBindingContainer)getBindings();
    / DCIteratorBinding personBinding = (DCIteratorBinding)dcBind.get("PersonIterator");
    / Salutation salutation = new Salutation();
    / salutation.setId(2);
    / bpBinding.getCurrentRow().setAttribute("salutation", salutation);
    / dcBind.getOperationBinding("mergePerson").execute();
    and in my SessionFacade is the following code which will be executed
    / UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    / Object workingCopy = uow.readObject(entity);
    / if (workingCopy == null)
    / throw new RuntimeException("Could not find entity to update");
    / uow.deepMergeClone(entity);
    / uow.commit();
    / return workingCopy;
    If I use uow.deepMergeClone I get an error, because it is trying to create a new salutation in the SALUTATION table with the ID=2. But I just want to change the SALUTATION_ID of PERSON to 2 and not create a new one. If I try mergeClone it doesn't make any changes at all to the SALUTATION_ID. I also tried mergeCloneWithReferences and shallowMergeClone, but they didn't work either.
    Thanks for any advice
    Tobias
    Edited by: huber on Sep 4, 2008 2:36 AM
    Edited by: huber on Sep 4, 2008 2:38 AM

    Hello,
    The existence check on the Salutation descriptor is likely check cache, as it is the default. Because of this, when you merge the Salutation with id=2, it will check the cache and not find it and so register it as a new object instead. You have 2 options, the first is to read it instead of creating it new. The second is to change your existence checking option so that it will either go tothe database or assume existence so that it is more appropriate for how you intend to use these types of objects in your mappings. For instance, if you never plan to create new ones, assume existence might be more appropriate.
    I suspect though that for most applications, reading the object first is the best option performance wise.
    Best Regards,
    Chris

  • HT201210 HOW CAN I UPDATE MY I POD TOUCH WITH iOS5 VIA COMPUTER as theres not the settings on i pod

    cant update i pod touch with iOS5 as not the settings as stated on apple web site on my i pod help.

    Connect to your computer and update via iTunes.
    The wifi update comes with iOS 5
    You need iTunes 10.7 or later on the computer
    iOS 4: Updating your device to iOS 5 or later

  • Need BAPI to update posting date for parked documents in transaction FBV2?

    Hi All,
    I am retrieving records from table VBKPF and I have to update the posting date for parked documents in transaction FBV2.
    I am doing it with BDC , working fine in foreground, but it is not workung fine in back ground.I want to do this with bapi.
    Can any one suggest me corrct BAPI?
    TYPES : BEGIN OF It_vbkpf,
             bukrs LIKE vbkpf-bukrs,            "Company Code
             belnr LIKE vbkpf-belnr,            "document number
             gjahr LIKE vbkpf-gjahr ,           "Fiscal year
             budat LIKE vbkpf-budat,            "Posting date
             bldat LIKE vbkpf-bldat,            "Document date
             blart LIKE vbkpf-blart,            "Document type
             xblnr LIKE vbkpf-xblnr,            "Reference
             tcode LIKE vbkpf-tcode,            "Transaction Code
             bktxt LIKE vbkpf-bktxt,            "Document header text
             usnam LIKE vbkpf-usnam,            "User Name
             xwffr LIKE vbkpf-xwffr,            "Release necessary
             xprfg LIKE vbkpf-xprfg,            "Document complete
             xfrge LIKE vbkpf-xfrge,            "Release takes place
            END  OF it_vbkpf.
    Thanks,
    Suresh.

    Hi ,
    Thanks for your response.
    PRELIMINARY_POSTING_UPDATE seems working good,But my requirement here , to update the posting date with last working day . how can i do this?
    thanks,
    Suresh.

  • Trigger WF  when user Parks document from FB60 non-po invoice

    Hi,
    I need to trigger an approval workflow when the user parks a document using FB60.
    Here is what i have tried and it does not seem to work!!! (I might be missing something  here ..  )
    In the Triggering tab of the workflow i entered the Buisness object BUS2081 and event as parked.
    Then tried to park via FB60 does not work.
    I have never really done triggering this way before so i dont know what to do...
    Am i using the correct buisness object , do i need to create some kind of linking here ?
    WHile i am here another question.. the user will park for the first time and the workflow will trigger , what happens when the user parks it again. Do we need to handle this situation again ? How do we handle this.
    Thanks for ur responses...  i am pretty deep in this so anyone who throws a rope to me will be thanked to the maximum...

    Once you complete the customizing are you sure you are creating the invoice more than the amount you have specified in the customizing? If yes then this should work.
    I am not sure as to why you are not being able to get it right.
    The last option for you would be to find for a BADI which is called before or after the document gets committed to the database.
    Following are the BADIs that the code <b>might</b> call... No gaurantess given
    BADI_FDCB_SUBBAS01
    BADI_FDCB_SUBBAS02
    PPA_CUST_BADI
    BADI_FDCB_SUBBAS03
    WRF_PREPAY_INVOICE
    BADI_FDCB_SUBBAS04
    AC_DOCUMENT
    FI_LIMIT_PROCESS
    BADI_PRKNG_NO_UPDATE
    FM_POP_CORE
    Create an implementation and then put a break point in each of them to find out if the code calls the BADI. This is pure luck if you find one. Then you can raise the event via the function module SWE_EVENT_CREATE. Do not put a commit in the BADI initially. Only if the event does not get raised even after running the Function module then you can put in a commit. The system usually does a commit.
    Hope this helps,
    Sudhi
    Message was edited by:
            Sudhindra Chandrashekar

  • Till my last software update on my MacBook Air I have been able to use my iPhone as a modem via USB. Now it's not working anymore. Other functions via USB are still fine. Any ideas???

    Till my last software update on my MacBook Air I have been able to use my iPhone as a modem via USB. Now it's not working anymore. Other functions via USB are still fine. Any ideas???

    The Mac was recently upgraded so it is the Mac, or is it?
    Looking for a common denominator:  I'l start with wi-fi as the common communication medium.
    Known:
    A) Broken: iPhone —> wi-fi —> Mac.
    B) Broken: iPhone —>USB—> Mac.
    C) Broken: iPhone —> Bluetooth —> Mac.
    D) Working: Mac —> USB —> other USB devices.
    Unknowns:
    E) Test Mac —> wi-fi —> a non-iPhone router.
    F) Test iPhone —> wi-fi —> another wi-fi device.
    Given not A, not B and not C either the Mac or the iPhone could be the culprit.
    1) E        |  F        : Non sequitur (deepens the mystery).
    2) not E  |  F        : The Mac is the common denominator.
    3) E        |  not F  : The iPhone is the common denominator.
    4) not E  |  not F  : All heck broke loose.
    For case 1:  It would be something on the Mac that prevents it talking to the iPhone through three media even though it can talk to other routers over wi-fi.  That would be weird indeed, given the iPhone is talking to other wi-fi devices with no trouble. 
    For case 2:  All of the Mac’s intranet media broken (wi-fi, Bluetooth, and wired-USB) and at least wi-fi works on the iPhone.  Something weird is going on in the Mac.
    For case 3:  The iPhone router function is broken.  Upgrade the iOS?  Test using another iPhone?
    For case 4:  Throw everything in the trash and start over.

  • BAPI or RFC function to delete a parked non-po document

    Hello,
    Does anybody know a BAPI or RFC function that can be used to delete a parked non-po (G/L) document? At the moment we delete those parked documents with batch input but we want that everything can run in the background with a RFC only user.
    For parking we will use PRELIMINARY_POSTING_FB01 and for posting BAPI_ACC_DOCUMENT (method "post") but I cannot find anything that allows me to delete a parked invoice. (ECC 6.0)
    Thanks for your help.
    Patric

    Hi,
    Please go through the below OSS note 971193:-
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=971193
    It provides a program for mass deletion of parked document.
    You can run that program in background with batch user.
    Regards,
    Gaurav

  • Bapi for vendor non po invoice parking

    Hello,
    We have a requirement to Create a Non PO Invoice and also parking invoice.
    I could able to create Vendor Invoice (Non PO) using BAPI: BAPI_ACC_DOCUMENT_POST.
    But i am unable to find a BAPI for Parking the Vendor Invoice (Non PO). When i try to use BDC on FB01 transaction for creating Parking Vendor Invoice, it is throwing an error that "Parking Invoice creation is not allowed in batch input".
    Can anybody help me for creating Parking Invoice (Non PO).
    Note: There is a BAPI: BAPI_INCOMINGINVOICE_PARK, which wont support for Non PO Invoice creation. It is PO based.
    Thanks in Advance for your support.
    Thanks & Regards,
    Sreedhar.

    Hi,
    Please see the given link, hope It will help you.
    Re: BAPI to Park the Invoice Document
    Regards,
    Shamma

  • Function Module/BAPI for posting of Parked Invoice/Documnet

    Dear all,
    Please provide me.
    Function Module/BAPI for posting of Parked Invoice/Documnet
    Regards
    Ricky

    Hi Ricky,
    What about MR_POST_PP_INVOICE?
    In my current project, though, we had to develop a function module for this.
    Regards,
    Eli

  • Invoice reference field automatically updated with 'V' via BAPI

    Dear Experts
    While we posting a document through "BAPI_ACC_DOCUMENT_POST "  getting invoice ref by default as ‘v’ as per below screen shot but
    in BAPI we are not getting any filed through which we can set it. Kindly guide me s a solution for this issue
    Reagrds
    Ajeesh.s

    Hi Ajeesh
    This is SAP recommendation that you when you are posting Cr Memo, this field must be populated as V
    Thats the best practice
    Br. Ajay M

  • BAPI for Vendor Non-PO Invoice processed through MIR7 Transaction

    Hi All,
    I have a requirement where i will get data from flat file. Using this data Vendor Non-PO Invoice
    will be processed through MIR7 transaction with Multiple line items - Invoice Upload Parking the document for vendor non-po invoices.
    The data is in below format in flat file:
    Header fields in 1st line
    Dr. Key related fields in 2nd line
    Cr. Key related fields in 3rd line
    Header fields in 4th line
    Dr. Key related fields in 5th line
    Cr. Key related fields in 6th line
    etc .... in flat file
    In these main fields coming in from flat file are: comp.code, doc.type, vendor no,
    Debit/Credit indicatorSHKZG, G/L a/c no, inv/post dates etc..
    My issues:
    1. I am planning to use F.M BAPI_INCOMINGINVOICE_PARK is it the correct F.M!
    But Here PO number seems to be mandatory for this F.M but it is not available as per our flat file,
    if so can anybody suggest a BAPI for Vendor Non-PO Invoice parking for MIR7 transaction!
    2. What are the parameters need to be used for from above flat file data especially for 2 line itemshttp://Dr./Cr. data other than header data. So as per Header & 2 Line items http://Dr. & Cr. Data which parameters will be updated with which data in above flat file! can anybody clarify!
    3. Also in flat file WorkflowNo is available in which parameter this fields will need to be filled & also by doing this will it trigger workflow automatically!
    Can anybody clarify about above points!
    Thanks in advance.
    Thanks,
    Deep.

    Hello Deep,
    I know it might be quite late for you for this answer, nevertheless I will write that, because there are lots of question like yours. bapi_incominginvoice_park is also a suitable bapi for you. All you need to do is call it this way:
    data: headerdata like bapi_incinv_create_header value is initial,
            table_item type table of bapi_incinv_create_item,
            gl_account like bapi_incinv_create_gl_account,
            table_gl type table of bapi_incinv_create_gl_account.
    * fill headerdata and table_gl, leaving table_item empty
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
        EXPORTING
          HEADERDATA                = HEADERDATA
    *   ADDRESSDATA               =
        IMPORTING
          INVOICEDOCNUMBER          = lv_docnr
          FISCALYEAR                = lv_year
        TABLES
          ITEMDATA                  = table_item
    *      ACCOUNTINGDATA            = table_acc
          GLACCOUNTDATA             = table_gl
    *   MATERIALDATA              =
    *      TAXDATA                   = table_tax
    *   WITHTAXDATA               =
    *   VENDORITEMSPLITDATA       =
          RETURN                    = lt_return.
    This works perfectly for me, creating a mir7 document without refering to a PO. The trick here is to fulfill the glaccountingdata importing table while leaving itemdata empty.

  • Non PO Invoice Workflow - Error while Posting Document

    Hi Experts
    Hope I am posting this in the right forum as I am new to SDN!
    We have customized a multi-level non PO invoice workflow which triggers at the time of clicking 'Save as Completed' in tcode FV60.
    It has been configured to automatically post the document once it is approved at all the required levels. However, the document cannot be posted even after it receives all levels of approval. The status shows as 'Complete' but the error message shown is 'No Amount Authorization for Customer/Vendor in Company Code' in the workflow screen (MSGID F5, MSGNO 155).
    Now as I understand, this is the error for maintenance of user ID in tolerance groups. However, all user IDs have already been maintained and no matter who parks the document, the same error appears in the workflow screen.
    We have no idea whether this is happening due to some missing config from FI side or WF side.
    Regards

    Hi
    Go to Tcode: OBA3 Assign tolerance group under your company code and give all limits for each group. If you done this one your properly your problem should solve.

  • Non PO invoice posting in ECC from SRM

    Hi,
      We are creating non-PO invoice in SRM and upon approval, its posting in ECC as a material document, but the problem is that it is created without any line items. All the header information is passing fine only line item info is missing and it is going to parking status. There are no errors in IDOC transmission.
    Thanks,
    Sreedhar

    Freinds,
      Any thoughts on this?
    Thanks,
    Sreedhar

Maybe you are looking for

  • Values not getting populated in the SMOPCCAPRO

    Hi, We had added a new field to CPGProduct in component CPGOE_ABLOCKS. But the extension field was not included to the BOL structure automatically. So ,we had used the SAP note 1472567 to add the include structure INCL_EEW_MKTPL_PRD to structure CRMS

  • Same session in different computers

    hi all, i have a web reporting package running in sun java application server. i am keeping user object in session scope with following code in all pages which need user information like user.name, user.message, etc. <jsp:useBean id="user" class="som

  • "There was an error downloading your purchased music. The disk could no..."

    I am trying to download a Video from the new iTunes 6 and I do have an iPod Video, but for some reason everytime I check for purchases to download it, I get this error message: "There was an error downloading your purchased music. The disk could not

  • Edit/Fill button not hightlighted

    I'm working on a doument with several layers and would like to remove some text from the background. Ideally I'd use Edit- Fill but the Fill button is not highlighted? Thanks

  • RE: Profit center hierarchy

    Hi Guru's Can any one explain to me about Profit Center hierarchy, Where to create that one, where i need to activate, I'm trying to create Tcode KCH1, KCH5N. -Please explain to me breifly, urgent. - Points will assing, thanks venkat.