Parking documents using PRELIMINARY_POSTING_FB01

Hi,
I am a writing a custom program to park documents through FBV1.  Here I using PRELIMINARY_POSTING_FB01.  But as it doesn't have a return table of type bapiret,  I am not able to catch the messages.  Once an error message comes, it is exiting from the program itself.  But I need to save the error messages.  How will I do this ?

Hi,
I think that FM PRELIMINARY_POSTING_FB01 is for internal use only and was created just to be called from transaction FB01. I do not thing there is some way how to get error messages and supress terminating a program, because there are error messages without raising any exceptions. I have not found a BAPI for parking documents. The best way to solve your issue is probably creating a batch input. It should be easy.  If You want still to use FM PRELIMINARY_POSTING_FB01 , the only idea I have is a little bit complicated. You can call FM in background task, wait until job finishes and than read a job jog to get messages. But I do not think it is a good looking solution, but by this You can achieve that You will be able to get messages of FM without terminating a program. There are some other threads about BAPIs for parking documents:
FM/BAPI for Parking a document ( FBV1 )
BAPI to PARK accounting document
FB01 and BAPI_ACC_DOCUMENT_POST
Regards,
Adrian

Similar Messages

  • Parking document Using Special GL ,

    While parking document using special GL Indicator 'A "
    ,system Giving Eroor"  You have selected posting key with special gl Indicator down payment or bill of exchange ...Document parking not allowed for speial gl transaction type " bill of excahge" or down payment .
    Can anyone provide the solution.

    Hi,
    would you please tell me which T-code you are using?
    I used F-29 to do downpayment, but there is no possibility to park the document. And I tried F-22, there is error information 'Posting key 01 does not permit specification of a special G/L indicator'.
    Kind Regards, Lawrence

  • Reg:how to post the parked documents using BDC

    Duplicate message in General deleted.  Please do not post the same question in more than one forum.
    Hi
    I am creating parked Documents using FV50. I am able to check them using FBV0, I am able to select and post the documents using the same transaction. Its working fine. However I want to post the selected parked documents using BDC. I am having problems as the output in FBV0 is in ALV report format. HAving problems selcting the parked documents to be posted. As there any way to post the selected parked documents using BDC.
    Please suggest me a solution for this.
    Thanks,
    Satish
    Edited by: Matt on Dec 3, 2008 7:40 PM

    Hi Rob,
    Thank you for ur reply, can u send that code how u post the parked documents using BDC for FBV0 transaction.  Please send the code.
    Thanks,
    Satish

  • Posting parked document using RFC

    hi all
    I want to post a parked document using bgjob. I am trying to use PRELIMINARY_POSTING_POST function module but it doesn't post the document.
    the same is possible with function PRELIMINARY_POSTING_POST_D as its dialog.
    My question is before doing any changes do i need to lock the document.
    thanks
    barin

    Hi,
    Please go through the below wiki:-
    [http://wiki.sdn.sap.com/wiki/display/Snippets/ConfiguringparkingdocumentsworkflowinSAPsystem]
    Regards,
    SDNer

  • Park documents using RFBIBL00

    Hi all,
    I am trying to park documents using the program RFBIBL00.
    To this program we need to pass the document date and posting date.
    These two fields are in structure bbkpf and each is of 8 characters.
    and therefore i am passing date in YYYYMMDD format.
    But the transaction needs the date in DD/MM/YYYY format(i have seen when i have run the session) which is of 10 characters.
    I cannot pass the date as DD/MM/YYYY because the date fields are of 8 characters in length .
    So because of this i am unable to run the trasaction.
    Any pointers to this problem is helpful.
    Thanks.

    dear Joshi,
    I also need same requirement, please can you suggest how to do Park documents using abap program, please if you have any example can you send it..
    your cooperation will be highly appreciated.

  • ABAP runtime error in FBV2 Change parked document using workflow

    Hi,
    When selecting screen template variant in tcode FBV2 change parked document, I get abap runtime error DYNPRO_NOT_FOUND
    Tcode- FBV2
    Program- SAPLF040
    Screen- SAPLF040  0310
    Main Program - SAPMF05V
    Information on were terminated.
    Program SAPLF040 - in " %_CTL_END "
    In the source code you have the termination point in line 50 of the (Include) program " <SYSINI> "
    How can we solve this error. We are on ECC6 with release 600.
    Thanks,
    Mark

    Hi Mark,
    We have this same issue in transaction F-65
    I believe that when a new screen template is configured, a new screen is generated within function group F040. A later action (applying a hotpack??) has removed this screen, but the config (in table T021D) still points the processing to the screen even though it has been removed.
    Did you find a solution? We want to get the screen back as it is still valid to use this screen template in the business
    Thanks
    Ben

  • Is not post parked document using workflow

    Hi friends!!!!
    Weu2019re using workflow for document parked through FIPP_FRAME_1 template and task Task WS10000051 delivered by SAP
    The system does not post parked document parked that are processed via the workflow although they have been released, but, when we try posting it through the menus u201CDocuments > Complete" in the Tcode FBV0 the document parked is not post.
    When checked in the Tcode SWIA, We´re having an endless loop
    the moment we choose workflow logs option. The items keep on
    repeating on a loop giving us a long scroolbar with repeated lines.
    Thanks!!!!

    In FBV0 use document list and the try and post it
    Cheers
    Prakash

  • Park document posting using FBV0

    Dear SAP Friends,
    Scenario is like this :
    First i have parked the document using FBV1, while parking the same i have given some Narration in REFERENCE field.
    After that i have posted the same parked document using FBV0, after posting the same system is deleting the narration from REFERENCE..
    Please let me know why it is deleting the same from reference field.
    help will be appreciated.
    Regards,
    Anand

    Dear Alok,
    My requirement is Reference field needs to be there with some text, for that reason we are using reference field. But system is deleting the text from reference field.
    Let me know in this regard

  • Withholding tax Amount not being displayed in the Invoice while posting a Parked Document

    Hi,
    I have created a parked document for the Vendor who has the Witholding tax code w9 - 15% . I created Parked Document using FBV1 and then tried posting the same using FBV0.Somehow I am not getting the Withholding tax Amount in the FI Document created. However the W/Tax Base Amount and the W/ Base LC are being displayed correctly.
    Say if the Line item Amount is 1,000$ then both the amounts mentioned above in the Additional tab "Withholding tax Data" are being displayed as 1,000 usd but the W/Tax Amount is 0,00 USD.
    2. Also We have the PI and the Interface is written to post the Parked document while the xml file. There is a Method Execute_Asynchronous which has two BDCs one  for FBV2 ( Change Parked Document ) followed by the Post Parked Document FBV0. Hence When I try to post the Parked Document using the SPROXY Interface which has two BDCs Viz FBV2 & FBV0 I still get the Invoice with the Same Amounts and at times with additional 2 zeros added to it in the Additionsal Tax Data Screen.
    I am not sure what is the reason for this. Can anybody help  me sort out this Issue.
    Can there be any Config issues. Please let me know what all config Settings we need to do to sort out this Issue.
    Also let me know why the 2 Zeros are getting added to the Base Amount e.g if the Vendor Line item is 12,000 USD it shows as 12,00000.00 in the Withholding tax Data  Tab in the Invoice.
    Regards,
    Deepak.

    Dear Praveen,
    please check into IMG if You defined the WT type You are using for Your Comapny code:
    IMG --> Assign Withholding Tax Types to Company Codes
    I hope this helps.
    Mauri

  • Posting Limits for Parked Documents

    In our office, user X is having a posting limit set in (using OBA4 and OB57 ) is Rs 1000 only and he is parking a document. Another user Y who is having authorisation to post the parked document using FBV0 has a posting limit of Rs 800 only. Whereas user Y is able to post user X's parked document.
    Why is the posting limit of Y is not restricting him to post the parked document of X since his posting limit is less when compared to that of X ?
    One more thing, while Y is trying to reverse the same document using FB08, system is giving a posting limit error.
    How to correct this situation ??
    Thank you all for your replies.
    Gemini

    But in the real world, the posting access is considered to be superior than the parking access. And person authorize to post the document is of higher rank in the organization than that of the parking person.
    So logically, the person posting the parked document should have the limit higher than the parking person limit.
    Yes, it is true that difference users can have different posting limit, and thus a posting access person might have HIGHER limit then that of the parking person limit.
    So your office need to increase the access of user Y to at least 1000 or reduce the access of X to 800.
    Regards,
    Gaurav

  • How to post a PARK document with Withholding Tax

    Hi All,
    I have parked a document using FB60.Vendor is subject to withholding tax.Now,when i am posting the document through FBV0,the error message displayed is :
    "Field BSEG-SECCO does not exist in the screen SAPMF05A 0303".
    The error message says that Section Code (Withholding Tax) is missing for Special G/L Indicator Line Item.I dont have provision to enter section code in the screen.
    My entries are :
    29J Vendor a/c  Dr.
    50   XYZ a/c
    If i using F-02 and not parking ;then it is getting posted.
    Note: Line Item is a special G/L Indicator
    Please advise how to post a park document using FBV0 with special g/L Indicator and vendor is subject to withholding tax.

    Hi Parag,
    Section code field doesnot exist in the special G/L indicator line item of the document.So,i cannot enter it.
    But,when posting the parked document ,it is asking for Section Code.
    The error message displayed is:
    "Field BSEG-SECCO. does not exist in the screen SAPMF05A 0303"

  • BAPI_ACC_GL_POSTING_POST is not posting a parked document

    Hi,
    I am trying to post a parked document using BAPI 'BAPI_ACC_GL_POSTING_POST' but its giving an error 'Balance in transaction currency'. I am providing the document number of the parked document in the header data of the BAPI and providing G/L details(Debit) where the document will be posted. The parked document already contains the credit entry i.e. vendor number and the amount of the invoice. So in the BAPI, I am just entering the Debit amount and the G/L. But its giving the error. Has any one posted a parked document using this BAPI or any BAPI. I want do the same thing as we are doing through transaction 'FBV0'.
    Your help will be appreciated.
    Thanks,
    Padman

    - Call transaction SM13 after calling your BAPI, to check if some update tasks are waiting or running.
    - Did you check BAPI BAPI_CASHJOURNALDOC_CREATE ([Note 616804 - FBCJ: BAPI for saving cash journal documents|https://service.sap.com/sap/support/notes/616804])
    - For extension in BAPI accounting, check [Note 487722 - Using EXTENSION1 for accounting BAPIs|https://service.sap.com/sap/support/notes/487722]
    - For general information on ACC BAPI check [Note 306504 - Collective note: BAPIs for the AC interface|https://service.sap.com/sap/support/notes/306504]
    - If data is already in FBCJ, look at FM FCJ_POST_ALL and FCJ_POST.
    Regards,
    Raymond

  • Simulate a parked document

    Hi all,
    I created a document using F-92 transaction, simulating it to check the +/- value …
    I was surprised that it’s not possible to park the simulated document &#61516; … you have to reset it first…
    Then, I’m wondering if it’s possible to simulate a parked document using standart transaction, FM, BAPI ?
    Thanks for your help.
    Nico.

    Hi,
      Try BDC if you want the same operation... Even I had a same situation.For that I created BDc for the transaction.
    Thanks and Regards,
    Senthil Kumar Anantham.

  • Details of Parked Documents

    Hi
    We are trying to view the list of Parked documents using FBV0/FBV1. But it gives just the list of parked documents. To view the details, a document should be selected and double clicked. Is there any transaction where we can get list of parked documents along with the net amounts in the list itself. ( or without having to go in to the details ) . Is there any work around.
    Please help me out.
    Thanks

    You can goto FBL3n & give company code & pick all items & also choose 'parked items' & unclick 'Normal items' to see all your parked items. But you can either see the debit or credit side of each parked item only.
    You can do the same in FBL5n & FBL1n for customer & vendor parked items respectively..
    Award points if useful...
    REgards
    Morgan

  • RFBIBL00 - change/overwrite parked document ?

    Hi there,
    As the topic says, is it possible to change/overwrite a parked document using RFBIBL00, if so, how ?
    I managed to park a document (BBKPF-TCODE = 'FBV1'). Tried TCODE='FBV2' but this transaction is not supported.
    Tried TCODE = 'FBV1' and BELNR=/previously parked document/ - got error that I should not supply document number, the same situation happens when I try to supply document number by hand in FBV1 transaction.
    Cheers,
    Bart

    Peter-
    I just posted in another thread about someone looking to do something very similar. Have you had any luck with this? We've been looking for some combination of FM's to do this without needing to use BDC because FBV2 and other transactions that do what we want them to are Enjoy transactions making it tough to navigate the table controls.
    We are looking to Insert/Update/Delete line items in a Parked Accounting Document (This is specific, not Logistics Invoice, Accounting Document) and it sounds like we are having similar troubles.
    Regards,
    Andy

Maybe you are looking for