Create a  BAPI for T-Code FBV0(Post Parking Document)

Hello Experts,
I need to create a BAPI for the T-code FBV0(Post Parking Document). Please help me with a sample code.
Thanks,
Suma

Hello There.
I would like to suggest my opinion,
To know the Function module for a particular Transaction,
1. Table TSTC gives the Program name for a particular transaction.
There are includes which contain (say) "Global data" and "Function modules".
2. To get BAPI function modules, Transaction BAPI is the most powerfull solution for any module.
One more thing, to be kept in mind while creating a BAPI is to create a function module and make it RFC enabled.
BAPIs are nothing but RFC enabled function modules.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave

Similar Messages

  • BAPI for the T-Code FBV0 post parked document

    Hello Experts,
    Is there any BAPI/Fuctional module that can be used for posting parked document(t-Code FBV0).
    Thanks,
    Srikanth

    Hi,
    Go to SE37 and type ' PRELIMINARY_POSTING_* '
    u'll get a few function modules.
    OR
    you can check in Function Group F040.
    Regards,
    Samson Rodrigues.

  • BAPI for FBV0:  Post park document

    Hi ABAPERS,
    Is there any BAPI for the transaction FBV0.If so please tell me the name of the bapi.
    Thanks,
    N.K.C

    Hi,
    Check BAPI
    PRELIMINARY_POSTING_POST_ALL
    Regards,
    Neenu.

  • FBV0 - Post Parked Document

    Hi,
    When I try to post the park document in FBV0 transaction, the following error Message showing:
    No batch input data for screen SAPLSPO1 0500
    I saw some notes, as 1226243 and others, but they just explain about SAPLSPO1 0300.
    Does anyone know how can i figure out it?
    Thanks
    Daniel Dorta

    Hello,
    Go to FBV0
    Click on Document List.
    Give the document numbers, company code and fiscal year (give the documents numbers which are problematic)
    Execute
    Select the documents with your cursor.
    List ==> Create batch input.
    A batch input session will be created for these documents to be posted.
    Go to SM35 and post them in foreground mode (not in background mode) - You need check foreground radio button.
    When you are posting in foreground, the problematic document numbers will throw you error.
    Double click on the error message. You will come to know the reason for the error.
    If you still not able to resolve, please let me know the message number.
    Regards,
    Ravi

  • BAPI for t-code F-43

    Any one can tell me, is there any BAPI for t-code F-43.
    I have a req to create BDC session for t-Code F-43.
    I think instead of BDC,better BAPI.Please anyone knows,tell me.
    Thanks

    thanks for bapi..but in this bapi,there is no field for payee(EMPFB),what it is in t-code f-43.
    So if any other bapi,pls send me
    Thanks in advance

  • BAPI for Non PO Invoice posting?

    Hi Experts,
       I am posting invoices using BAPI_INCOMINGINVOICE_CREATE. These invoices have POs associated with the Item Details. This is working fine for me.
       I want to post invoices that DO NOT have a PO. Can someone please point me to a BAPI that is similar to BAPI_INCOMINGINVOICE_CREATE in functionality but does not require a PO?
    Thanks,
    - Vik.

    I too was looking for a BAPI for non PO invoice posting.  I found that the above counsel did not work for me.  Instead of creating a buyside invoice, it just created a journal entry.  What DID work for me was BAPI_ACC_INVOICE_RECEIPT_POST.
    Below, I am pasteing the subroutines that I created for its calling.  In it, for my purposes, only the invoice amount is parameter driven.  My needs allowed all other BAPI parameters to stay the same.
    I hope that this helps someone.
    Donald Nigro
    FORM create_buyside_invoice USING value(invoice_amt) TYPE p.
      DATA:
        gd_documentheader  LIKE bapiache03,
        it_accountpayable  LIKE bapiacap03 OCCURS 0 WITH HEADER LINE,
        it_accountgl       LIKE bapiacgl03 OCCURS 0 WITH HEADER LINE,
        it_accounttax      LIKE bapiactx01 OCCURS 0 WITH HEADER LINE,
        it_currencyamount  LIKE bapiaccr01 OCCURS 0 WITH HEADER LINE,
        it_return          LIKE bapiret2   OCCURS 0 WITH HEADER LINE.
      DATA:
      wa_obj_key(20)  TYPE c.
    fill header
      gd_documentheader-username   =  sy-uname.
      gd_documentheader-header_txt = 'E-Payables Invoice'.
      gd_documentheader-comp_code  = 'EAUS'.
      gd_documentheader-doc_date   =  sy-datum.
      gd_documentheader-pstng_date =  sy-datum.
      gd_documentheader-doc_type   = 'KR'.
      CONCATENATE 'BOA' sy-datum sy-uzeit(4)
                   INTO gd_documentheader-ref_doc_no.
    fill AP (line 1)
      it_accountpayable-itemno_acc = 1.
      IF sy-sysid(3) = 'DEV'.
        it_accountpayable-vendor_no  = '0600013370'.
      ELSE.
        it_accountpayable-vendor_no  = '0600009022'.
      ENDIF.
      APPEND it_accountpayable.
    fill GL (line 2)
      it_accountgl-itemno_acc      =  2.
      it_accountgl-gl_account      = '0001112227'.
      it_accountgl-comp_code       = 'EAUS'.
      it_accountgl-pstng_date      =  sy-datum.
      it_accountgl-fisc_year       =  sy-datum(4).
      it_accountgl-fis_period      =  sy-datum+4(2).
      it_accountgl-bus_area        = '0100'.
      APPEND it_accountgl.
    fill currency ammounts for lines 1 & 2
      it_currencyamount-currency    = 'USD'.
      it_currencyamount-itemno_acc  = 1.
      it_currencyamount-amt_doccur  = invoice_amt * -100.
      APPEND it_currencyamount.
      it_currencyamount-itemno_acc  = 2.
      it_currencyamount-amt_doccur  = invoice_amt *  100..
      APPEND it_currencyamount.
      CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_CHECK'
           EXPORTING
                documentheader = gd_documentheader
           TABLES
                accountpayable = it_accountpayable
                accountgl      = it_accountgl
                accounttax     = it_accounttax
                currencyamount = it_currencyamount
                return         = it_return.
      PERFORM invoice_error_check TABLES it_return.
      CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
           EXPORTING
                documentheader = gd_documentheader
           IMPORTING
                obj_key        = wa_obj_key
           TABLES
                accountpayable = it_accountpayable
                accountgl      = it_accountgl
                accounttax     = it_accounttax
                currencyamount = it_currencyamount
                return         = it_return.
      PERFORM invoice_error_check TABLES it_return.
      COMMIT WORK.
      WRITE: / 'ePayables Bank of America'.
      WRITE: / '  Invoice Document Number:',
                  wa_obj_key(10).
    ENDFORM.
         Form  invoice_error_check
    FORM invoice_error_check TABLES it_return STRUCTURE bapiret2.
      DATA:
      bapi_success(5) TYPE c VALUE 'false'.
      LOOP AT it_return.
        IF it_return-type = 'S' AND bapi_success = 'false'.
          bapi_success = 'true'.
        ENDIF.
      ENDLOOP.
      IF bapi_success = 'false'.
        WRITE: / 'Unable to post a buyside invoice with',
                 'BAPI_ACC_INVOICE_RECEIPT_POST'.
        LOOP AT it_return.
          WRITE: / 'Message Type:   ', it_return-type,
                 / 'Message Class:  ', it_return-id,
                 / 'Message Number: ', it_return-number,
                 / 'Message:        ', (80) it_return-message.
        ENDLOOP.
        ROLLBACK WORK.
        STOP.
      ENDIF.
    ENDFORM.

  • Problem in creating a bapi for bom

    hai all,
    i am trying to create a bapi for bom using csap_mat_bom_create, but it am getting sy-subrc value as 1.
    and displaying error message as the function module name itself.
    is there any solution dor it.

    Hello,
    Try to use that bapi :
    BAPI_MATERIAL_BOM_GROUP_CREATE
    Thierry

  • BAPI for t-code MIR7

    Hi Friends,
    Can anybody help me get the BAPI for t-code MIR7? Also, please provide the code if available.
    Thanks and Regards
    Abinash Kumar

    Hi Amit,
    Can you give me a sample code for BAPI .. if you have any..... Also I need to know what all mandatory data I need to supply to HEADERDATA and  ITEMDATA.
    Thanks and Regards
    Abinash

  • BAPI FOR T-CODE PA30

    Hi GURU ,
    Is there any BAPI for T-Code PA30 .
    Please reply me.

    Hi
    Go through This link
    bapi for pa30
    Ranga

  • BAPI for Transaction Codes FMV1 and FMZ1

    hi,
    is there any bapi for transaction codes FMV1 and FMZ1?!
    please advice!
    thanks JE

    HI,
    For FMZ1
    use this
    FMFR_CREATE_FROM_DATA
    FMFR_CHANGE_FROM_DATA
    FMFR_CHANGE_COMPLETION_FLAG
    Regards
    Hiren K.Chitalia

  • What is the use of T.Code: FAGLCOFIFLUP - Post CO Documents to FI?

    Expects...
    What is the use of T.Code: FAGLCOFIFLUP - Post CO Documents to FI
    Accounting> Financial Accounting> General Ledger> Corrections> FAGLCOFIFLUP - Post CO Documents to FI
    Thanks & Regards
    Bhagiradha.P

    Hi,
    The real-time integration of Controlling with Financial Accounting was active at the time the CO documents were posted.
    CO documents could be not transferred to financial accounting on behalf of errors which are only known to occur in the following situations:
    - During mass processing such as internal CO assessments or distributions
    - Manual posting of individual CO documents is not possible if errors occur in financial accounting.
    - If real-time integration was not active when the CO document was posted, you must use the report   FAGL_COFI_TRANSFER_CODOCS to transfer these CO documents to financial accounting because they are not in the worklist.
    Regards,
    Eli

  • Pre-post / parked document in outgoing payment posting

    Hi Experts,
    could any of You, please confirm, if possible to create pre-posted / parked document for outgoing payment?
    We use F-53 / FBZ2 for this action, but sometimes takes a long time to select all items related to a bank payment note. The user want to have  only one final document, no partial bookings.
    Is there any possibility to create parked / dummy version here, to pause the administrational process and continue later, without loosing the data?
    Answers will be appreciated

    Hello,
    Please try recurring entries using transaction code F.14.
    I think there is no account assignment model or sample document where we can create for outgoing payments.
    Thanks
    Sharan

  • Validation on Post Parked Document via SAP Workflow (SAP Business Workplce)

    Hi,
    I have create validation rules, and I have excluded t-code type FBV0, FBV1 and FBV2 by following SAP Notes 158739 in that validation prerequisites, so when user post parked document using t-code FBV0 the validation is not carried out and it's work perfectly.
    But when user try to post parked document using SAP workflow, the validation was carried out hence, user can't post the parked document. Does anyone now how to resolve this? Appreciate your advise to solve this issue. Thanks.
    Regards,
    Bobby

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

  • Posting Parked Document

    Hi experts,
    While trying to post parked documents, Iam getting the following message.
    "Could not determine reciepients for message type FIDCMT"
    the document is not being posted.
    can anyone tell me what could be the problem?
    Thanking you in anticipation.
    Deepak

    One user created the parked document from F-65. And the approver has to post the document. From FBV0, when i enter the parked socument no, and enter, i can see the parked document, and i can channge it too. but when i select Post, its gng to normal screen, but with some message
    "Could not determine receipient for message type FIDMT"
    And the document status is still 'Parked'.
    Do you have any idea, what could be the problem?
    Thanks & regards
    Deepak

  • Not able to post parked document

    Hello All,
    I am unable to post parked documents.
    I enter one credit memo from vendor vide menu FB65.   I could NOT post the document.   The option was greyed out.  I could only park it.  I parked it.
    I am not able to post this parked document.  I tried posting this parked document vide menu FBV0 / FBV60.  The post option is not available and is greyed out.
    Regards
    Rao

    Hi Kasturi,
    On the same screen where you are trying to post the invoice type /nSU53 and take the snap shot of the screen (authorization missing objects). Send it to your SAP secutiry team or the team who gives you authorization for any transaction.
    They will provide you the required access to post the invoice.
    Please let me know if it helps!!
    Regards.

Maybe you are looking for

  • [Urgent Help Required] Report not displaying

    Dear All, Please help me with a issue in running report from form. I am using the following code to run a report from a form. The issue is that when i click the button i get all the success messages which are in the code and a new browser window open

  • How do i put the row into the target rowset

    hi am trying to add new row to another table,by selecting taking values from one table to another,i have below code but its not adding vlues,how can i Creates and initializes a new Row object, and insert it into the Row Set. my code is     public voi

  • Muse submenu

    I have this issue with my submenus, they're not showing up. I've used the widget from Muse and even with its default configuration the submenus are not showing in Muse preview or browser preview. See below an image of my site's map. Any help, really

  • Why does iphoto open when i plug in my iphone instead of itunes?

    Why does iphoto open when I plug my phone into computer?  I thought itunes was supposed to open and it wont.

  • What styles are lost when importing/converting PS text to editable text?

    In CS5.5, when I import a PSD file with one or more text layers (retaining layer styles and editable layer styles) some of the layer styles change upon import. In addition, after import, in the Comp panel, sometimes there are no visual differences be