FB01 or FB60

Hi all,
While posting invoice i.e FB01,fb60 and FB70 with tax code getting below dump and without tax code we are not getting dump.
untime Errors         SAPSQL_INVALID_FIELDNAME
xcept.                CX_SY_DYNAMIC_OSQL_SEMANTICS
ate and Time          30.11.2011 19:06:31
Short text
    A dynamically specified column name is unknown.
What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLV61Z" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
     not caught in
    procedure "SEL_KONDTAB" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    An Open SQL clause was specified dynamically. The contained field name
    "WERKS" does not exist in any of the database tables from the FROM clause.
Missing RAISING Clause in Interface
    Program                                 SAPLV61Z
    Include                                 LV61ZU01
    Row                                     260
    Module type                             (FORM)
    Module Name                             SEL_KONDTAB
Trigger Location of Exception
    Program                                 SAPLV61Z
    Include                                 LV61ZU01
    Row                                     701
    Module type                             (FORM)
    Module Name                             SEL_KONDTAB
Please let us know  the reason for the same.
Thanks
Chinna

HI,
The error you are facing is usually caused by one of the
following reasons:
1. Inconsistencies in your access sequences and condition tables.
2. Program error in SEL_KONDTAB.
To rule out the program error possibility, please implement the
corrections from the following SAP Note:
  #1493481 - Short dump for multiple-value access and access type "A"
In case the problem persists after that, it might be related to the
following actions:
1. Deleting a condition table (which is referred to in an access
   sequence) before removing this table from the access sequence itself.
2. Using an access sequence which is not generated yet, so the system
   already tries to use it while the entries in the corresponding table
   aren't there yet.
Please check this customizing in transactions V/05, V/06 and V/07. In
order to solve this problem, please follow these steps:
1. Find out the access sequence which is used.
2. Check all the fields in each access of the access sequence
3. Make sure that all the fields found in step 2 exist in access
   sequence table to which condition type is assigned.
4. Delete the access which contains fields not in T681-KOTAB.
Please carry out the above actions and redo the test.
Regards
Madhu M

Similar Messages

  • Default Posting date should not be changed / Field status in FB01

    Dear FI gurus,
    In Transactions like FB01, MIRO, FB60, FB70 posting date is appearing automatically. But this date can be changed by the users. We want that the posting date should be made "Display only". How this can be done. Kindly guide.
    thanks in advance.

    Hello,
    There is slight modification in the above mentioned answer:
    Company code = XXXX
    Check
    Posting Date (BKPF-BUDAT) <> Current Date (SYST-DATUM)
    Otherwise
    Give the message number and E (Error)
    regards

  • BTE , Userexit and BADI  available for FB60

    Hi Folks,
    I have a requirement where as whnever i save a document in FB01 or FB60 ..i need to take the print out .
    presntly we are doing this once the document is created....
    Can anyone throw light on this..
    Regards,
    Nagaraj

    For FB60
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    For Fb01
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    Regards
    Shashi

  • Problem with "Tax Code" and "Calculate tax automatically" fields

    Hi again.
    I have made a program which posts account documents through the BAPI_ACC_DOCUMENT_POST function module, and, since there were some fields which weren't available for me to fill having the FM by itslef, I have implemented the AC_DOCUMENT BAdI.
    All document data is provided by means of an SAP XI interface, through a Z IDoc.
    When I create the Account Receivable (and/or Payable) structure, I fill, through the BAdI, the BKPF-XMWST (Calculate tax automatically) and BSEG-MWSKZ (Tax code) fields. However, even the resulting posted document does have the Tax Information fields completed (the ones in the BSET table), the BAPI doesn't create the tax position automatically (just like the FB01 or FB60 transactions do). Note that the amounts are sent in their gross value by the interface (that's why the debit and credit sides remain consistent and the document is posted correctly).
    How can I have that position created? Is there a function module which I can call or something?
    Thanks a lot in advance.

    Hi
    I only use the fm CALCULATE_TAX_FROM_NET_AMOUNT or CALCULATE_TAX_FROM_GROSSAMOUNT in order to get all information I need to transfer to the BAPI. Both fms return the data by table parameter T_MWDAT.
    U can read this table and get all information u need, these code is from my old program, I hope it can help you:
    - Calculate tax data:
    CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT'
            EXPORTING
              I_BUKRS           = BUK_TO
              I_MWSKZ           = T_BASE-MWSKZ_OUT
              I_WAERS           = _BKPF-WAERS
              I_WRBTR           = T_BASE-WRBTR
            TABLES
              T_MWDAT           = T_MWDAT
           EXCPTIONS.
          IF SY-SUBRC <> 0.
          ELSE.
    * Load tax item
            LOOP AT T_MWDAT.
              CLEAR W_GL_ITEM.
              W_GL_ITEM-HKONT   = T_MWDAT-HKONT.
              W_GL_ITEM-MWSKZ   = T_BASE-MWSKZ_OUT.
              IF T_BASE-KBETR = T_MWDAT-KBETR.
                W_GL_ITEM-WRBTR   = T_BASE-FWSTE.
              ELSE.
                W_GL_ITEM-WRBTR   = T_MWDAT-WMWST.
              ENDIF.
              W_GL_ITEM-IVA   = 'X'.
              W_GL_ITEM-KTOSL = T_MWDAT-KTOSL.
              W_GL_ITEM-TXJCD = T_MWDAT-TXJCD.
              W_GL_ITEM-KSCHL = T_MWDAT-KSCHL.
              W_GL_ITEM-TXJCD_DEEP = T_MWDAT-TXJCD_DEEP.
              W_GL_ITEM-TXJLV = T_MWDAT-TXJLV.
              W_GL_ITEM-BASE  = T_BASE-WRBTR.
              COLLECT W_GL_ITEM INTO GL_ITEM.
    - Append GL or Tax item for the BAPI
    LOOP AT GL_ITEM INTO W_GL_ITEM .
        ITEMNO_ACC = ITEMNO_ACC + 1.
        IF W_GL_ITEM-IVA = SPACE.
    * GL item
        ELSE.
    * Tax item
          ACCOUNTTAX-ITEMNO_ACC = ITEMNO_ACC.
          ACCOUNTTAX-TAX_CODE   = W_GL_ITEM-MWSKZ.
          ACCOUNTTAX-ACCT_KEY   = W_GL_ITEM-KOSTL.
          ACCOUNTTAX-COND_KEY   = W_GL_ITEM-KSCHL.
          ACCOUNTTAX-TAXJURCODE = W_GL_ITEM-TXJCD.
          ACCOUNTTAX-TAXJURCODE_DEEP  = W_GL_ITEM-TXJCD_DEEP.
          ACCOUNTTAX-TAXJURCODE_LEVEL = W_GL_ITEM-TXJLV.
          APPEND ACCOUNTTAX.
          PERFORM FILL_AMOUNT USING W_GL_ITEM-WRBTR W_GL_ITEM-BASE.
        ENDIF.
      ENDLOOP.
    Max
    Edited by: max bianchi on Nov 25, 2009 7:43 PM

  • Diferences between BAPIs for post of FI Documents

    Hi,
      Does anyone know the differences between BAPI_ACC_GL_POSTING_POST and BAPI_ACC_DOCUMENT_POST ?
      I need to post some FI documents like manually in transaction FB01, and i found this 2 bapis. But now i don't know witch should i use to do it, or also if there are another one more convenient. I only know that we'll have interfaces with documents related with customers, vendors and also employers, but we won't have any information to load in SD, MM or HR modules.
    Thanks,
    Paulo Sousa

    Hi,
    We are making use of the BAPI_ACC_DOCUMENT_POST to create invoices in R/3 system. This is similar to process in FB01 or FB60.
    Hope this helps,
    Sumant.

  • BAPI for post Tax Amount

    Hi,
    Please tell me BAPI for post Tax Amount.
    Which tcode use for Post tax code, is it FB01 or FB60.
    Regards
    Jana

    Hi,
    Use BAPI_ACC_DOCUMENT_POST
    TCodes
    FB41    Post Tax Payable
    FB05    Post with Clearing
    FB01    Post Document
    Edited by: Neenu Jose on Nov 18, 2008 1:15 PM
    Edited by: Neenu Jose on Nov 18, 2008 1:16 PM
    Edited by: Neenu Jose on Nov 18, 2008 1:17 PM
    Edited by: Neenu Jose on Nov 18, 2008 1:18 PM

  • Manually clearing for consignment liability account

    Hi all,
    we have to manually do a FI posting to clear the consignment liability account, but there are 2000 line items, so I'm wondering if there is any automatic clearing process like GR/IR clearing ( MR11) for consignment liability account? Or can we run a program to clear this account?
    please advise.

    Hi Anand,
    I havn't got any solution on that, based on SAP notes 487162, the solution is:
    In this case, you either must not use such taxes or you must carry out a manual clearing between the consignment liabilities account and a suitable account in FI using Transaction FB01 or FB60.
    so I think this is our solution for now,I'll keep u update if we found a better solution.

  • Control Document Posting for value range

    Hi All,
    I have requirment in which if a user tries to post a doument via T Codes ( FB01, FB50, FB60, FB70, FBV2 and a custom program which would use BAPI / BDC) and if the total amount of the document ie >999 $, the document should not get posted instead it should get parked and a workflow should be triggered for Approval.
    I think i need to use FIPP~CREATED event to trigger the workflow.
    But is there any FI configuration that i need to do so that the document does not get posted but automatically gets parked if it's value >999 $ and user tries to post it.
    How can I achieve this functionality of not allowing a user to Post but to Park if amount >999$.
    I tried searching BAIDs not able to fnid a suitable BADI.
    What is the functionality of configuration in tcodes OBWA and OBWJ.
    Thanks in advance.
    -Sameer.

    Hi Atif,
    Thanks for the response.
    How can we do this using Exit / BADI?
    Is it that we will have to display an error message to the user that he cannot post the document for the particular amount and will have to select/click the PARK option instead of POST option ?
    Thanks,
    Sameer.

  • Data Transfer Using ALE/IDOC

    Dear All,
              I have to implement an ALE\IDOC scenario and i am totally new to this.I have a web based software from where i need to pull data into SAP.
               The moment billing takes place in my web based software i have to pull the required data and generate an accounting document number in SAP using transactions FB01 er FB60 and FB70 depending on vendor or customer Invoice which means i need to have my vendor and customer master data in place before this.The IDOC  which i would be using is FIDCCP01.My question is:
    The web based software can generate both an XML and EDI file into a domain from where SAP can fetch it. Now,
    1. If they can generate an EDI file which format should it be in?
    2.If EDI file generation is possible through that web based software its structure should be exactly the same as my IDOC structure right?
    3. What would then be the process on SAP side to pick that   EDI file data?
    4. Does the transaction WE16 help in picking up an XML file format or an EDI format and convert it automatically into an IDOC and how do we go about it?
    5. Now when this idoc is going to generate accounting documents against those billing documents if the customer or vendor does not exist is there a way by which i can first create this vendor\customer in the master and then continue using some other abap tool?
    6. Could an email be generated automatically when teh document is posted?
    I know these are a lot of  questions but i really need an answer to this.
    If u have an answer my alternate email id is [email protected]
    Awaiting your reply shortly.
    Thanks & Regards,
    Lailu Philip.

    1. XML Format
    2. Message type INVOIC01 or INVOIC02 format
    3. You need to write a Z program to read data from that path and use FM IDOC_XML_FROM_FILE to convert that XML file to IDOC.
    4. Use transaction we60 with above message type it will all help you need. we16 is for testing it could not be used for a solution.
    5. In your Z program check before the XML is ubmitted for processing whether the customer exist by select on KNA1 if not use FM BAPI_CUSTOMER_CREATE to create and same for vendor.
    6. You need to implement workflow for this.....
    Reward points it this helps

  • User Exit or BADI for catch the document number after saving the document

    Hi ,
    I am working on data conversion where Document number(BELNR),BKPF and BSEG  data should
    transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
    Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
    BADI.So Could you please suggest me any User exit or BADI ASAP.
    Waiting for reply.
    Thanks
    Lakshmi

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • Duplicate invoices verification not working in FI

    Hi all,
    We experienced the problem with duplicate invoices posting check in FI (not logistics).
    The indicator Chk double inv. (LFB1-REPRF) is checked in Vendor master data. However, we are still able to post several documents with these fields identical: BUKRS, LIFNR, WAERS, XBLNR, WRBTR, BLDAT in FB01 or FB60.
    The message F5 117 should appear but it does not - when I check OBA5 for area F5 the message is not here at all.
    What could be the problem?
    ECC 6 EHP 6 SAPKH60605
    thanks to all
    Jan

    Hi
    Go to transaction OBMSG and add the message 117 in application area F5 as below:-
    Application Area - F5
    Message - 117
    Allowed - EWS
    Standard - W
    Switch Off-Select the check box.
    Now go to transaction OBA5 and application area F5, maintain an entry as below:-
    Message - 117
    Online -E (Error)
    Batch - E (Error)
    https://scn.sap.com/docs/DOC-35459
    Regards
    Nakul

  • Consignment Reconciliation

    Dear All,
    I am trying to run Subcontracting Cycle.
    I am doing foll Steps:
    Create Subcontracting PO : 450000001
    Ordered Material: M1 -quantity 2
    Materials Sent: M2 - quantity 10
                           M3 - quantity 6
    ME2O: 490000023 for Materials M2 and M3
    I create Subcontracting Challan wrt Mat Doc 4900000023... Chalan number 1001
    When i recieve Material M1 from the Vendor there is wastage of the materials M2 and M3 and hence M1 material only 1 quantity was posted in GR against PO. Material Document generated was 5500000034.
    I did not capture any excise invoice during this.
    Now i still have some quanitities of materials M2 and M3 pending as subcontracting Stock in my system, but it was lost by subcontractor during the processing.
    I also am trying to reconcile the Subcontracting challan 1001 created earlier.
    But which of the above material documents should i use to reconcile.
    Please tell me whether i am following the right steps.
    Also could anyone explain what steps to follow to reconcile the challan and what input material document should be given.
    Please help. it is very urgent.
    thanks.

    Hi guys,
    I found OSS notes Note 487162 - MRKO: Manual clearing of consignment liabilities account
    2. You determine the taxes via tax jurisdiction code or you use NVV taxes which are not taken into account in inventory management during the consignment withdrawal but only in the consignment settlement, Transaction MRKO.
    During the material withdrawal, you post without taxes, in the settlement, however, you post with taxes. Example: A material withdrawal item for DEM 100 is withdrawn from the consignment stock into your own warehouse. Taxation for the material occurs with 15 % NAV. Consequently, the following posting record occurs for the material withdrawal:
    Own stock to consignment payables 100,-
    Correctly, however, this should be
    Own stock to consignment payables 115,-
    Solution
    The functions which exist in the invoice verification for the GR/GR clearing account do not exist in Transaction MRKO for the consignment liabilities account. This means that in some cases, this account is not cleared after the posting of the invoice and remains open. In this case, you either must not use such taxes or you must carry out a manual clearing between the consignment liabilities account and a suitable account in FI using Transaction FB01 or FB60. You can fill the 'Assignment' field on the detail screen as it is filled with invoice document and fiscal year in the posted invoice document. For this, consider Note 135238.
    problem solved, thanks for your input .

  • Badi for FB01  F-43  FB60

    Hi,
    I need Badi's for this tcode FB01,F-43,FB60( When i am posting Invoice with this Transaction). I need to be blocked for payment upon posting in order.
    Thanks
    Moderator message: please do more research before asking.
    Edited by: Thomas Zloch on Apr 6, 2011 12:43 PM

    Hi,
    You can implement the BTE as said above:
    00001020     POST DOCUMENT:       Prior to final checks  -- This triggers on Save Button
    00001010     POST DOCUMENT:       Check customer line item  -- This triggers on Customer Line item when you press enter key
    00001011     POST DOCUMENT:       Checks at line item level  --- This Triggers for all line items when enter key is pressed.
    Go to transaction FIBF to find the BTE and you will have the documentation for each BTE there.
    Hope this helps
    Regards
    Shiva

  • BSEG.CREATED event not triggering when a document is posted in FB60

    Hi All,
    I have a requirement in which i need to post documents in FB60/FB65/FB01 tcode. But when i post the document in FB60 the event BSEG.CREATED is not triggering. I could not see any trace in SWEL. But when i park the document in FB60, FIPP.CREATED event is getting triggerd.
    Can anyone tell me why this BSEG.CREATED event is not triggering.
    Thanking you in advance,
    satheesh.

    Hi Viji,
    Thanks for your quick reply.
    We have maintained the required configurations in the system related to this. But still the event BSEG.CREATED is not triggering.
    for this the alternative solution is to implement the BTE '1030'. But our functional team is asking us to check whey standard business object BSEG.CREATED is not triggering when we post a document. So that particular reason we are not able to find out.
    Configuration maintained.
    1) Created a workflow variant and assigned it to particular company code(OBWA and OBWJ).
    2) Checked the 'Posting' release' and 'Release payments' checkboxes in the OBWA transaction.
    3) Event linkage for BSEG is active.(SWETYPV)
    Thanks,
    satheesh

  • Problem in BDC while going back to previous screen in FB60

    Dear All,
        I have a problem in BDC my BDc stops when it tries to go back to previous screen then manually i have to click on the back button then it gets posted. the previous screen recording for FB60 is
    SAPMSSY0     0120     X                                                                               
    BDC_CURSOR     16/32
                                                                BDC_OKCODE     =&IC1
    When we do back by clicking on the screen is not getting recorded. Kindly suggest a suitable Solution for the same.
    Reagrds

    FB60 is an EnjoySAP transaction and not well suited to batch input (look for notes). Better to use a BAPI or batch input on FB01.
    Rob

Maybe you are looking for

  • Multiple Airport Express issues revisted

    I've been trying to set up multiple airport expresses. I want to wirelessly connect to two stereos and stream to both at the same time. Any help would be greatly appreciated. So far I tried the directions below. But after following them, when I was i

  • How to add custom barcolor in ProgressIndicator?

    Hi, I want to add custom color to barColor property of ProgressIndicator. How user defined color can be added to barColor? Thanks, Shashi

  • Qmaster compressor and wmv

    Hello, I have constructed a qmaster cluster with two 8 core mac pros. The cluster was manually configured using Qadministrator. One Mac Pro is the cluster controller with services and one is just services for the node. When I submit batches to the cl

  • I have RPMs installed for flash on my Fedora Linux server. How do I get firefox to recognize it?

    The flash library is there: [root@cbar-linux] /root/.history # find / -name libflashplayer.so -print /usr/lib64/mozilla/plugins-wrapped/libflashplayer.so /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib

  • Crash after opening International menu

    I found serious bug. Everytime, when I try to open International menu system crash and show error report. Process: System Preferences [469] Path: /Applications/System Preferences.app/Contents/MacOS/System Preferences Identifier: com.apple.systemprefe