Syntax error while creating a invoice

Hi I am new to this forum hope u guys can help me out,
I am ruuning following syntax for creating an invoice and for this error message is coming which is given below.
Select aadrnr astdc1 b~name1 into table inv_head1
From kna1 as a inner join adrc as b on aadrnr = baddrnumber.
Unknown column name "A~STDC1" . field list. . field list. field list.

Hi Rupesh,
u have to mention as " select ... into corresponding fields of
table ... ".
regards
Chaitanya.

Similar Messages

  • Error while creating Excise Invoice

    Hi All,
    Can any one help me on CIN?
    I am getting one error while creating "Excise Invoice [T.code J1ILN]" i.e. "System failure during locking GL account Cocode by 13113910"
    Regards
    Chowdary

    Dear Raghavendra
    Please make a try with the following but I am not sure whether it will solve your problem.
    Go to FS00, give the G/L account which has the problem and select "Control Data" tab.  Here punch as asterisk in the field "Tax category" and save.
    Now try to create the excise invoice.
    Thanks
    G. Lakshmipathi

  • 8I 681 Error While Creating Excise Invoice

    Dear All,
                Am getting error 8I 681 error while creating excise invoice,when i analysed since in the document flow the delivery document is not there, only J delivery will be allowed in creating excise invoice.
    Our client wants item level milestone,so in oder to activate that i have assigned the billing plan in the item category.But when i assighn the billing plan the system will not allow to put the billing relavance delivery relavant.So i made oder relavan in the billing relavance.So i create an oder and with that reference delivery.But when i create billing i have to refer the oder number,since in the item ctegory i have made oder relavant billing.So the result is in the billing document flow the delivery document is not flowing.Henceforth i could not be able to create J1IN.
    But this was not happening in the sand box,but only in the quality since it is superior.when we debugged we found only J(Delivery) is allowed to create excise invoice.
    Please help me to solve this issue,is there any possiblity to make the delivery document flow in the billing document.If it is done it 100%possible to create the excise invoice.
    Please share your ideas to solve this issue.....
    Best Regards,
    Venugopal

    Dear Lakshmi,
                         Thanks for your Prompt reply...
    In our case delivery is there,but when we create the invoice the delivery document is not flowing,since in the itemcategory oder relavant billing.We have billing milestone at the item level,for activating that i have to make the billing relavance as I.Other wise the system is not allowing me to select delivery relavant and billing plan.Please help me to make the delivery document flow in the billing document.Then this 8I error will be solved.
    I have alsochecked the update document flow,everything is perfect.
    Regards,
    Venugopal

  • Syntax error while creating a standard order

    Hi All,
    I created a projet in CMOD and than added the enhancement  V45A0002.The components shown as EXIT_SAPMV45A_002(Predefined sold to party when making the standard order),i double click on the exit and entered into the function module.After that i double clicked on the include ZXVVZU04 and entered in and wrote E_KUNNR=100171
    While activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite the error .After that i tried to create a order and program terminated error came after entering sold to party no. in sales order
    so now i have deactivated the project which i created in CMOD & deleted it aswell,than also i am getting the syntax error while making the order thru VA01.I want to come out of this please.
    I would be great ful if somebody helps me *** out of this syntax error.
    Thanks
    Rishi

    Hi Rishi
    As you are getting message that "The last statement is not complete (period missing)", check in your assigned project in CMOD the last statement , what is the last statement maintained in that project
    Secondly also check the closing period and the current period. as it is giving in the message that "The last statement is not complete (period missing)".So check the  current period and check the period maintained in the CMOD
    It would be better if you take ABAP'ers help . So  post in ABAP forum
    Regards
    Srinath

  • Syntax error while creating Derieved table in universe

    Hi Guru,s
    I really need help here.
    I am trying to create relational universe based on oracle 10g and while creating one of the derieved table when I am writing a SQL sysntax it gives me an Invalid prompt defination error , first of all here is the SQL syntax"
    SELECT
      ITEM.ID,
      ITEM.AMOUNT,
      ITEM.POSTEDORISSUE
    FROM
      ACCOUNT,
      ITEM,
      ITEMTYPES,
      ACCOUNTPOOL,
      COMPANY
    WHERE
      ( ACCOUNT.COMPANYID=COMPANY.ID  )
      AND  ( ACCOUNT.POOLID=ACCOUNTPOOL.ID  )
      AND  ( ACCOUNT.ID=ITEM.ACCOUNTID  )
      AND  ( ITEMTYPES.ID=ITEM.DCIP  )
      AND
       COMPANY.NAME  =  'MLC BA Cat Accounting PRD1'
       AND
       ITEM.POSTEDORISSUE  BETWEEN  @Prompt('Start Date','D','Date\Post Date',mono,free,persistent,{'01-10-2011 00:00:00'},'1')  AND  @Prompt('End Date','D','Date\Post Date',mono,free,persistent,{'01-10-2011 00:00:00'},'2')
    Now thw error I get is that when I trying to parse or validate the query.
    "Invalid Prompt defination" (WIS 00005)
    Seems like its not validating the query through database.
    I have checked the prompt sysntax and nothing seems to be wrong, Can anyone pls look into this and advise what am I doing wrong interms of syntax, I would really appreciate your help.
    Regards.
    MD

    Hi,
    I am getting the correct results, when i can use like below
    @prompt('Enter Product Equal','A',{'TTTT','YYYYY','oooo'},Mono,Constrained,Persistent,User:1,Optional)
    @prompt('Enter Product Not Equal','A',{'TTTT','YYYYY','oooo'},Mono,Constrained,Persistent,User:2,Optional)
    If i can start using like below, not getting the correct results, Any suggestion why?
    @prompt('Enter Product Equal','A','Table_Name\Product',Mono,Constrained,Persistent,User:1,Optional)
    @prompt('Enter Product Not Equal','A','Table_Name\Product',Mono,Constrained,Persistent,User:2,Optional)
    I am thinking something issue with class name/Object Name  in BI 4.0. In XIR3  I changed the same derived table with class name and object name, it;s working fine.
    Any suggestions/advice please
    Praveen

  • Syntax error while creating tax codes for sales n purchases

    Hi all,
    While creating the tax codes for sales and purchases, i got the below error:
    Report RB13A003 has a syntax error.
    What should be done?
    Thank you

    Hi,
    I believe, it's RV13A003 report and not RB13A003... What is the exact error message (or is it a dump)?
    Regards,
    Eli

  • Error while creating excise invoice cancellation thru J1IS(J1IEX Invoice)

    Dear All,
    While creating cancel of purchase excise invoice with reference to J1IEX Internal Invoice No. system is throwing a error
    "Error updating table J_1IEXCHDR"
    Message no. 8I308
    Suggest me asap,.
    Thanks & Regards,
    Radhika

    Hi Radha,
    Check the ETT Table (Excise accounts assignment table) in the config have assigned the relevant gl accounts for TType - CEIV  Update all the gl accounts in the table.
    Verify the node--> Specify Excise Accounts per Excise Transaction --- debit and credit account names to the TType -- CEIV
    Credit -- CENVAT Suspence
    Cr         RG23 AT1
    Cr         RG23 BED,RG 23 ECS,
    Dr         CENVAT Clearing
    Dr         PLA BED, PLA AED, PLA SED
    Dr         RG23 AED, BED, SED
    Same should be assigned for Sub-Transaction Type '01' for CEIV Type.
    Thanks,
    padmaja

  • Error while creating vendor invoice by FB60  Urgent!!!!!!!!!!

    While creating an vendor invoice by FB60 . the system is giving me an error message that this account cannot be directly posted to. Its an recon . Account. The user wants me to set it temporarily for some invoices and set back the GL account later on. Could anyon esuggest me. Its urgent please.
    Thanks in Advance.

    hi kavitha ,
    the acct 12501550 which is advance payments is an accrual acct which is not a recon a/c
    check the gl seetings
    in Type and Description tab
    make sure its a balance sheet acc
    in Control tab
    remove the recon. account for acct type  , i.e., leave the field blank
    generally , the line item display is clicked and sort key are filled.
    in Create/bank/interest Tab
    check the appropriate FSG and make sure to uncheck the post automatically field.
    and try to post it after the changes, it shoud work.
    regards
    Jay

  • ABAP short dump error while creating an invoice

    Hi All,
    We are creating a delivery(Unit is EA) for the material for which the Unit Conversion is maintained as 1CS = 48 EA. So while creating a delivery If I maintain the delivered quantity is less than 24, I am not able to create an invoice.It's throwing an ABAP short dump error BCD zerodivide run time error.
    If I deliver greater than or equal to 24, then the invoice is created without any issue
    I have checked if there is any  CMIR record but no record is maintained.
    Can anyone help me out on this?
    Regards,
    Manjunath

    Hi Manju,
         Can you post the dump screen shot, which should contain the source code for that dump.
    Regards,
    Krishna

  • Error while creating excise invoice J1IIN

    Hi all,
    I am into an implementation project where I am configuring CIN for Factory sale with Excise. I have gone through all the setting and done it according to the documents available. But while creating out going excise invoice (J1IIN) system giving an error "Customization for sub transaction type is missing in table excise accounts". I dont want to use a sub transaction type as there is not much variation in scenario here. However I created a new sub transaction type (SPROLogistic genTax on goods mov-Indiabasic settingmaintain sub transaction type) and assigned it Transaction type (SPROLogistic genTax on goods mov-IndiaAC determination-specify excise account per excise transaction) and G/L  (SPROLogistic genTax on goods mov-IndiaAC determination-specify G/L ac per excise transaction). But still the same problem is keep coming. Also I have tried making this sub transaction type as default  (SPROLogistic genTax on goods mov-Indiabusiness transaction outgoing excise invoice--- maintain default excise grp and series grp). but the issue remains unresolved.
    More over while doing J1IIN i have also tried selecting the sub transaction type from drop down list but the list is empty and the massage displayed is  "No values found"
    kindly help,
    BKR

    Hi,
    Yes I hv already maintained the sub transaction type for Excise TT DLFC (goods removal through sales).  the entries what i maintained is as given below
    DLFC          Credit     PLA AED account
    DLFC          Credit     PLA BED account
    DLFC          Credit     PLA cess account
    DLFC          Credit     PLA SED account
    DLFC          Credit     RG 23 AED account
    DLFC          Credit     RG 23 BED account
    DLFC          Credit     RG 23 SED account
    DLFC          Debit     CENVAT suspense account
    DLFC     10     Credit     PLA AED account
    DLFC     10     Credit     PLA BED account
    DLFC     10     Credit     PLA cess account
    DLFC     10     Credit     PLA SED account
    DLFC     10     Credit     RG 23 AED account
    DLFC     10     Credit     RG 23 BED account
    DLFC     10     Credit     RG 23 SED account
    DLFC     10     Debit     CENVAT suspense account
    Here "10" is my sub transaction type. I have maintained DLFC with and without sub transaction type for each account name. But that did not resolved the issue. More over is it mandatory to give a sub transaction type? Is there any way so that I can continue without sub transactions?

  • Error while creating an Invoice in SRM

    Hi All,
    We are on SRM 7.0, ECC 6.0 (Classic scenario).
    My SC has been approved and a PO has been created in ECC, I have also created a confirmation against this from SRM which resulted in a GR being created against the PO in ECC.
    Now when I am creating an Invoice from SRM, I get the following error messages
    1. Please enter tax amount
    2. "Term of payment does not exist in target system".
    Pl let me know where I need to maintain the payment terms in ECC and do I need to replicate it on SRM side?
    Regards

    Hi Sivakumar,
    I am also facing same issue in my current project. Can you please tell me how you resolved the issue.
    Thanks for advance helping to resolve the issue.
    Regards,
    Pijush

  • SYntax error while creating a formula for %

    Hi All,
    I have to calculate Growth percentage and creating formula.  But its giving me a syntax error.
    I am writing like this:-
    (Month to Date Sales-MTD PRior Year Sales)/ MTD PRior Year Sales*100 %
    Can anyone please tell me where I am making a mistake.
    Regards

    Syntex for Percentage Deviation (%)
    Plan Sales % Actual Sales (this will give the percentage deviation between Planned Sales and Actual Sales)
    this is identical to formula
    100 * (Planned Sales - Actual Sales) / (Actual Sales)
    please check the space in your foumula
    Dev

  • Syntax error while creating Calculation view script based

    Hi Folks,
    I'm creating Calc view based on script and drafted a simple code but I'm getting syntax error.
    Its just fetching few coloumns from two tables products and purchaseorderitem.
    /********* Begin Procedure Script ************/
    BEGIN
      var_out = select productid , category, nameid, currency, grossamount, quantity
      FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
      where P.productid = B.productid;
    END /********* End Procedure Script ************/
    Could you pls take a look and let me know what wrong I'm doing?
    Error logs are:-
    sap.hana..package.project.folder.mytest.CALCSCRIPTVIEWInternal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "democontent": line 5 col 18 (at pos 439)nSet Schema DDL statement: set schema "SYSTEM"nType DDL: create type "_SYS_BIC"."sap.hana..package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" as table ("PRODUCTID" NVARCHAR(10), "CATEGORY" NVARCHAR(2), "NAMEID" NVARCHAR(10), "CURRENCY" NVARCHAR(5), "GROSSAMOUNT" DECIMAL(15,2), "QUANITYT" DECIMAL(13,3))nProcedure DDL: create procedure "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc" ( OUT var_out "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as n /********* Begin Procedure Script ************/ n BEGIN n t var_out = select productid , category, nameid, currency, grossamount, quantityn t FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS Bn t where P.productid = B.productid;nnEND /********* End Procedure Script ************/n

    Hi Rubane,
    I don't have EPM installed here but based on this Table User Defined Functions( Table UDF ) in HANA  you are not properly defining the source table.
    In your case missing 1) schema of EPM, 2) not using double quotes, 3) separation of package and view, 4) missing camel case on purchaseOrderItem:
    FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
    On blog:
    from "SAP_HANA_EPM_DEMO"."sap.hana.democontent.epm.data::businessPartner" as a
    SAP_HANA_EPM_DEMO is the schema
    sap.hana.democontent.epm.data is the package
    businessPartner is the view
    Start simple... before the seletion try it out on Studio SQL.
    Regards, Fernando Da Rós

  • Error while creating AR Invoice from Sales order

    Hi All,
    I have created a sales order ,when i try to create AR Invoice through Copy To option i am getting an error
    Business partner of copied down payment document must be the same as business partner of target document
    Please help me to solve this issue
    Thanks in Advance
    Regards
    Arun

    Hi Arun,
    Check if you have Down payment AR Invoice created from this Sales order.
    Thanks,
    Gordon

  • Error while creating excise invoice to return Delivery (J1IS)

    Dear all,
    Plz help to solve this problem.
    After MIGO. I have done return delivery to vendor(Movt-122).
    With ref to the return delivery doc I am trying to create excise invoice to send to vendor in J1IS.
    but error appears as Vendor not related to material documents.
    Thanks & Regards
    Sanjay Larokar

    Hi Sanjay,
    Apply Below Notes
    1042131     Vendor displayed as incorrect in J1IS if no leading zeros
    1025204     Vendor not recognized in J1IS and error 076 displayed
    1008100     Error "Vendor not related to Material doc" displayed in J1IS
    1003491     Vendor not recognized in J1IS and error 076 displayed
    960564     Vendor code truncated in J1IS resulting in Error 8I 786
    Cheers...
    Santosh

Maybe you are looking for

  • Exit CL_GUI_FRONTEND_SERVICES= FILE_OPEN_DIALOG once I get the file name

    Hi I have where I have a selection screen that finds the file, you can say where to get the file. After that I need to close that window. How do I close it??? Below is an example of my program. After I choose the file and execute the program, I have

  • How do I save a customised stationary in mac mail mountain lion?

    Hi, I would like to modify the "doodles" stationery in Mac Mail and save it as a stationary I use each time. However, when I go to mail>file> the "save as stationary" is greyed out. If I do not choose a stationary and just write a blank email I can "

  • JOB error: "Select one of the installed languages"

    Dear all,          if we execute some standard program/function in background mode the job stops with the following error: " Select one of the installed languages ". If we execute the same standard program/function immediately after the above error a

  • 5.02 caused Microsoft exchange email to stop syncing

    On my work email on my Z1... Says it's a certificate issue... So I reinstalled the email account and now it won't even connect to the server... Checked wit it...Not a server issue

  • Image removed from email

    Hope someone can help me........... The message comes up "image removed" in email, not always but most of the time if there are images to view. Also when I am forwarding mail that I received with images that do open, the images do not show up in the