How to post vnedor invoice by fb60 using special gl indicator

HI guys,
I want to post an vendor invoice by t-code FB60 using Special GL Indicator but system
"Posting key 31 does not permit specification of a special G/L indicator".
How can I resolve this issue.
Thanks
Khalid

Hi,
     Down payment                              
T-Code     PK     Description               Gl              Doc Type          Amount
F-47      Cr     39                                               KA     F           -1000
F110      Dr     29     Vendor (Spl G/L)     1222152     ZP     A              1000
      Cr     50     Bank                             1311401                        -1000
FB01Cr     31     Vendor     1420139     KR          -1000
      Dr     50     Expenses     4110302               1000
F-54      Cr     50     Vendor (Spl Gl)     1222152     KA     A     -1000
      Dr     50     Vendor     1420139     KA          1000
F110      Dr     50     Vendor     1420139     AB          -1000
      Cr     50     Vendor     1420139               1000
     BOE                              
T-Code          PK     Description     Gl      Doc Type          Amount
FB01     Cr      31     Vendor     1420139     KR          -1000
     Dr      40     Expenses     4110302               1000
F-40     Cr      39     Bank Vendor     1311401     KZ          -1000
     Dr      25     Vendor      1420139               1000
F-40     Cr      39     Bank Vendor     1311401     KZ     L     -1000
     Dr      25     Vendor      1420139               1000
SKS

Similar Messages

  • How to post Excise Invoice in GR using BAPI BAPI_GOODSMVT_CREATE ?

    Hi,
    I want to post Goods Receipt job (MB01) through BAPI 'BAPI_GOODSMVT_CREATE'.
    But is there any parameter to post 'Excise Information' through (this/any) BAPI ?
    Pls...... answer me soon.
    thanks by advance.

    SEE THE FOLLOWING EXAMPLE
    report zbapi_goodsmovement.
    parameters: p-file like rlgrap-filename default
                                     'c:\sapdata\TEST.txt'.
    parameters: e-file like rlgrap-filename default
                                     'c:\sapdata\gdsmvterror.txt'.
    parameters: xpost like sy-datum default sy-datum.
    data: begin of gmhead.
            include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
            include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
            include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
            include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
          errflag.
    data: begin of pcitab occurs 100,
            ext_doc(10),           "External Document Number
            mvt_type(3),           "Movement Type
            doc_date(8),           "Document Date
            post_date(8),          "Posting Date
            plant(4),              "Plant
            material(18),          "Material Number
            qty(13),               "Quantity
            recv_loc(4),           "Receiving Location
            issue_loc(4),          "Issuing Location
            pur_doc(10),           "Purchase Document No
            po_item(3),            "Purchase Document Item No
            del_no(10),            "Delivery Purchase Order Number
            del_item(3),           "Delivery Item
            prod_doc(10),          "Production Document No
            scrap_reason(10),      "Scrap Reason
            upd_sta(1),            "Update Status
          end of pcitab.
    call function 'WS_UPLOAD'
      exporting
        filename                      = p-file
        filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      exit.
    endif.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'.   "01 - MB01 - Goods Receipts for Purchase Order
    loop at pcitab.
      itab-move_type  = pcitab-mvt_type.
      itab-mvt_ind    = 'B'.
      itab-plant      = pcitab-plant.
      itab-material   = pcitab-material.
      itab-entry_qnt  = pcitab-qty.
      itab-move_stloc = pcitab-recv_loc.
      itab-stge_loc   = pcitab-issue_loc.
      itab-po_number  = pcitab-pur_doc.
      itab-po_item    = pcitab-po_item.
      concatenate pcitab-del_no pcitab-del_item into itab-item_text.
      itab-move_reas  = pcitab-scrap_reason.
      append itab.
    endloop.
    loop at itab.
      write:/ itab-material, itab-plant, itab-stge_loc,
              itab-move_type, itab-entry_qnt, itab-entry_uom,
              itab-entry_uom_iso, itab-po_number, itab-po_item,
                                                  pcitab-ext_doc.
    endloop.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    clear errflag.
    loop at errmsg.
      if errmsg-type eq 'E'.
        write:/'Error in function', errmsg-message.
        errflag = 'X'.
      else.
        write:/ errmsg-message.
      endif.
    endloop.
    if errflag is initial.
      commit work and wait.
      if sy-subrc ne 0.
        write:/ 'Error in updating'.
        exit.
      else.
        write:/ mthead-mat_doc, mthead-doc_year.
        perform upd_sta.
      endif.
    endif.
          FORM UPD_STA                                                  *
    form upd_sta.
      loop at pcitab.
        pcitab-upd_sta = 'X'.
        modify pcitab.
      endloop.
      call function 'WS_DOWNLOAD'
        exporting
          filename                      = p-file
          filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
        tables
          data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    ENDFORM.

  • Issue while posting the invoice in background using the WF-BATCH user

    Hi Friends,
      I am facing an issue while posting the invoice in background using the WF-BATCH user. I am using a invoice approval workflow where in when the approver approvers the invoice the invoice document get posted using a background method, which uses BO FIPP and Method POST and i am returning the Message Text to my workflow container from this method. When i see the log an exception is rasied from this method with an error  message "V004: You are not authorized to change this document", but WF-BATCH is having SAP_ALL and SAP_NEW authorizations. If i try to post the invoice using the method from my user id it is getting posted. What could be the issue. Please advice.

    Hi Sapient,
    The Parameter, Roles would be different for the LOGIN USER and WF-BATCH.. So ask your administrator
    to set the Roles & Parameters similar to that of LOGIN USER to WF-BATCH.
    For further refrence check in SU01 giving the LOGIN USER and then check with WF-BATCH... you would
    find the difference...
    Hope this would help you..
    Good luck
    Narin

  • Error while using Special GL indicator H for Customer Down Payment

    Dear Friends,
    I have configured the Special GL Indicator H (Security Deposit) for Customer Down Payment received. I also make the necessary settings in OBXY for assignment of Special GL against the reconciliation account.
    When I am doing the Customer Down Payment entry through F-29 using special GL indicator H system giing me the following error message
    Special G/L indicator H is not defined for down payments
    Message no. F5053
    Diagnosis
    The specified special G/L indicator is not classified as "down payment" or not listed in the list of the target special G/L indicators for indicator "F".
    System Response
    The entry is not accepted.
    Procedure
    Enter an allowed special G/L indicator or initiate a change of the default settings
    I also check the configuration again but still systems is giving me the same above error.
    Kinldy give me the solution or way of doing this ASAP because I am working in an implementation Prj.
    Regards,
    Sandeep

    Dear Surya,
    I have made the necessary changes in Special GL Indicator F in their properties I assign target spl GL indicator H but while in spl GL indicator H when I assign target spl GL indicator F system gives me following error
    Delete target special G/L indicator
    Message no. F4137
    Diagnosis
    In the SAP system, you can only use "Target special G/L indicators" with "Down payment/down payment request" when "Noted item" is also selected at the same time. These requirements are not fulfilled in the special G/L indicator "H".
    Procedure
    Delete the specified target special G/L indicator.
    Effects on Customizing
    You can define when this system message is to be issued in accordance with your requirements.
    You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.
    The application area and message number can be taken from the technical documentation.
    Thanks,
    Sandeep

  • How to Post Parked Invoice Document

    Hi ,
       Some basic FI functional qry ... How to post the parked invoice document .If any one can give me the transaction code will be great .
    Thanks in advance.
    Bye
    Raj

    FBV0.
    Below given is the list of all transactions related to parked documents.
    [code]
    FBV0                 Post Parked Document                 
    FBV1                 Park Document                        
    FBV2                 Change Parked Document               
    FBV3                 Display Parked Document              
    FBV4                 Change Parked Document (Header)      
    FBV5                 Document Changes of Parked Documents 
    FBV6                 Parked Document $                    
    FBVB                 Post Parked Document                 
    FV50                 Park G/L Account Items              
    FV53                 Display Parked G/L Account Document 
    FV60                 Park Incoming Invoices              
    FV63                 Displayed Parked Vendor Document    
    FV65                 Park Incoming Invoices              
    FV73                 Display Parked Customer Document    
    FV75                 Park Outgoing Credit Notes          
    [/code]
    Regards
    Raja

  • How to post parked (invoice verification document)

    Hi All,
    We have created a document through MIRO and in GOTO tab selected "switch to parked document ". the document get parked.
    When we are going to post the document system is not showing up the "post" tab.
    Can any body tell me how we can post the invoice verification tab.
    Thanks

    Hi,
    Try to post the parked document thru FBV0 transaction code.
    Hope this will help you.
    Cheers
    Raja

  • How to use Special GL Indicator in Treasury?

    In Business Partner Master Data you assign only one reconciliation account per BP.... in this case I will have to make use of the "Special GL Indicator" where I can post to another reconciliation account which is different from the one that is already defined in the BP master data. How do I go about this in Treasury (account determination)?

    Hi Rick:)
    Sad to say, nobody gave me an answer to this one..... But I believe that after the research i've done (going through all the transactions and in spro)..... Treasury has really no functionality for GL indicator because as you know.... we don't indicate any posting keys and accounts during the transaction since everything is pre-defined based on our configuration in account determination. If you have other ideas and if you get an answer to this one, please keep me updated.
    Thanks:)

  • How to post this invoice ?

    Hi,
    i want to post a vendor invoice with Tcode FB60 because i can't post it with Tcode MIRO (i have a lot of errors due to a PO).
    - So How to close this PO without invoice it by MIRO ?
    - and how to regularize GR/IR account ?
    Please help
    Regards.

    I can suggest one solution:
    For corresponding GR/IR u could pass a journal entry to regularise the GR/IR account
    GR/IR account DR
    to Customer account CR
    That PO u have to block for no further use
    If this not solves ur situation then define urn inconsistencies in the PO can solve via that way
    Regards

  • How to Create AP Invoice from PO using SDK

    Hi,
    I want to create an A/P Invoice thru SDK for which already the Purchase Order has been entered thru the front-end. How to do it? Using SBO objects I am loading the particular PO. But after that how to transfer everything in the PO to AP Invoice.
    Thanx in advance.
    with regards,
    Ram.

    Hi Ram,
    Herewith an example:
            oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseInvoices)
            oPOrder.GetByKey(sOrder)
            oInvoice.CardCode = oPOrder.CardCode
            oInvoice.CardName = oPOrder.CardName
            oInvoice.Address = oPOrder.Address
            oInvoice.Address2 = oPOrder.Address2
            oInvoice.AgentCode = oPOrder.AgentCode
            oInvoice.Comments = oPOrder.Comments
            oInvoice.ContactPersonCode = oPOrder.ContactPersonCode
            oInvoice.DocDate = oPOrder.DocDate
            oInvoice.DocDueDate = oPOrder.DocDate
            oInvoice.FederalTaxID = oPOrder.FederalTaxID
            oInvoice.JournalMemo = "Based on Sales Order " & sOrder
            oInvoice.NumAtCard = oPOrder.NumAtCard
            oInvoice.Project = oPOrder.Project
            oInvoice.Reference1 = oPOrder.Reference1
            oInvoice.Reference2 = oPOrder.Reference2
            oInvoice.SalesPersonCode = oPOrder.SalesPersonCode
            oInvoice.SummeryType = oPOrder.SummeryType
            For i = 0 To oPOrder.Lines.Count - 1
                oPOrder.Lines.SetCurrentLine(i)
                If i > 0 Then
                    oInvoice.Lines.Add()
                End If
                oInvoice.Lines.BaseEntry = oPOrder.DocEntry
                oInvoice.Lines.BaseLine = oPOrder.Lines.LineNum
                oInvoice.Lines.BaseType = 22
            Next
            If oInvoice.Add() <> 0 Then
                oApplication.MessageBox("Error: " & oCompany.GetLastErrorDescription)
            End If
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oInvoice)
    Hope it helps,
    Adele

  • How to print the invoice(Billing document) using program RSNAST00

    Hi,
      I want to print the invoice using the program RSNAST00,
    but when i fill in selection screen with the following details,
    Output Application : V3
    Object Key : Billing Document Number
    Output Type : ZPFM
    Transmission Medium : 1
    But it is throwing an Information Message "0 outputs were processed in total (0 successfully,0 incorrectly)
    So please guide me, what are settings i have to do and what abap code i have to write to overcome this error.
    Regards,
    Shasiraj.C

    Hi,
      As you told I am using the function module RV_MESSAGE_DIALOG in my program when I directly execute my program its not printing invoice,but when i keep the break point and execute a pop up comes in which i click on the PRINT button that time it is printing the invoice.
    But I dont want to click on Print button manually, my code should automatically take care of printing also.
    Can guide me in this issue.
    Regards,
    Shasiraj.C

  • How to Post Customer invoice and Incoming Payment?

    Hi,
    Please give me some inputs for the below scenario. Please help me where i can do this..I could not find the T.Codes..
    1. Customer Invoice
    2. Customer Payment at Desk
    3. Down payment
    4. Down Payment Clearing
    I could able to find the t.code for Down payment, But i could not find the T.Codes for Invoice and Incoming Payment and Payment Drawer.
    Please help me..its bit urgent...

    Hi Kishore
    IS-H only generates invoices from a pseudo SD. In SD are seen as invoices entered form an external systems and transfered to FI.. So, no posible to do a FI invoice directrly in IS-H.
    Regarding the payment, once the invoice is created in NA30N and correctly transfered to FI, you will see a tab called Incomming, Payments. That tab is shown only when a valid cash desk to the user using the user parameter N_CASH_DESK besides, permitted values for the user parameter are all values that are stored for the field "Cash Desk" in the Customizing table  TN21Z1 (Set Up Cash Desk).
    I hope it helps.
    With best regards
    Matías

  • Baseline date control in FB60 with Special GL Indicator

    Good Morning Experts,
    T Code: FB60
    Scenario 1: Post invoice without SGL Ind.
    Result: Baseline date has been picked authomatically from Posting date.
    Scenario 2: Post invoice with SGL Ind
    Result: Baseline date has not been picked.
    Analysis: The payment terms setting has been checked.
    Requirement: I need the Baseline date to be picked authomatically from Posting date entered in scenario 2.
    Edited by: Bibhuranjan Das on Mar 11, 2011 6:31 AM

    Hi,
    First check in F-43 transaction to see if baseline date is calculated.
    As you have said that you checked the payemtn term where everything is correct. Still.....
    If Vendor is diffrent...
    1. Check Payment term is entered in the master and called up in the document.
    2. Substitution has been defined but failed to apply.
    3. Check the field status of GL (Recon A/c) for vendor if Baseline date is optional.
    If at all you fail to identify, i will recommend to involve your ABAPer that will solve your problem as well as save your time.
    Regards,
    Chintan Joshi

  • How to create PO based invoice in FB60!!

    hi ,
    i have created an invoice in fb60 now i just want to know can i create an invoice in fb60 using
    po reference. if so plz provide a brief steps of the same.
    Thanks,

    Is there a reason you dont use MIRO or MIRA transactions for purchase order based vendor invoice ?
    (Check [Note 904652 - MIRO: Different from FB60|https://service.sap.com/sap/support/notes/904652] and [Note 395043 - FAQ: Posting invoices using Transaction MIRO|https://service.sap.com/sap/support/notes/395043])
    Regards,
    Raymond

  • Vendor Invoice through FB60

    Hi Experts,
    I have very urgent requirement to Post Vendor Invoice Through
    FB60.
    Please suggest me BAPI for this ans suggest code to use that.

    hi,
    check this link.
    http://www.geocities.com/rmtiwari/main.html?http://www.geocities.com/rmtiwari/Resources/MySolutions/Dev/Codes/Report/Z_BAPI_INCOMINGINVOICE_CREATE.html

  • Posting incoming invoice

    Hi,
    I defined a new "Terms of Payment" in configuration and defined the appropriate cash discount percentage rate.  I also created a customer master record and assigned the newly created terms of payment.  Using this new master record, I successfully posted an invoice in AR using FB70.  Now, I am trying to post an incoming invoice using F-28.  But for some reason unknown to me, the terms of payment (that I just created and assigned to the customer master record) is not being shown in the "Post Incoming Payments Process Open Items" screen in the Cash discnt field. 
    I have no problems posting the invoice without the cash discount percentage rate.  However, when I manually try to give a discount rate, I get a warning message that says Cash discount-relevant amount is zero; check entry at the bottom left corner of the screen.  When I click this warning, I get a pop-up screen with the same message and message no. F5073.
    I am sure I am missing a key configuration step in this process, but am not able to understand where.  Any light you can throw on this situation is greatly appreciated.
    Thanks,
    Vijay.

    Hi,
    In the FB70 you can see the payment term in the tab Payments in the header data.
    In F-22, the payment term is displayed in the screen where you enter the amount for customer invoice.
    For payment transaction F-28 is not relevant as payment term is entered in invoice and the discount etc for that invoice is calculated based on that payment term. In F-28 you are just making the payment for the net amount. However you can change the discount amount here.
    ( Also check that in transaction OB41, Payment term is maintained as optional field in field status group Payment Transactions for posting key 31.
    Also go to FS00 for the reconciliation account assigned to your vendor, the go to tab 'Create/bank/interest" and double click on the field status gorup.Check that in group Payment Transactions, the field Payment term is marked as optional field.)
    Regards,
    Gaurav

Maybe you are looking for