Error in Get Tax data.

Dear all,
I want three field in my Sales report like Jive, Jivp, Zivp. i coded my report with out error but  out put null.
i disply respective code below .......
SELECT * FROM KONV
                INTO TABLE IT_KONV
                FOR ALL ENTRIES IN IT_VBaK
                WHERE  KNUMV = IT_VBaK-KNUMV
                AND  KSCHL IN  ('JIVC','JIVP','ZIVP').
loop at it_konv where knumv = it_vbak-knumv.
      if it_konv-kschl = 'JIVC'.
        V_JIVC = V_JIVC + IT_KONV-KWERT.
      elseif it_konv-kschl = 'JIVP'.
        V_JIVP = V_JIVP + IT_KONV-KWERT.
      ELSEIF it_konv-kschl = 'ZIVP'.
        V_ZIVP = V_ZIVP + IT_KONV-KWERT.
      ENDIF.
   endloop.
      Move v_jivc to itab-jivc.
      Move v_jivp to itab-jivp.
      Move v_zivp to itab-zivp.
      MOVE it_vbap-netwr to itab-wot.
     itab-jivc = v_jivc.
     itab-jivp = v_jivp.
     itab-zivp = v_zivp.
     itab-wot = it_vbak-netwr.
      append itab.
      CLEAR:v_jivc,v_jivp,v_zivp.
in this code i am not able to enter in loop means where condition is false. so now what can i do  for this logical error.
Please help me out as soon as possible.
Thanks

keyur chauhan wrote:>
> Dear all,
>
> I want three field in my Sales report like Jive, Jivp, Zivp. i coded my report with out error but  out put null.
>
> i disply respective code below .......
>
> SELECT * FROM KONV
>                 INTO TABLE IT_KONV
>                 FOR ALL ENTRIES IN IT_VBaK
>                 WHERE  KNUMV = IT_VBaK-KNUMV
>                 AND  KSCHL IN  ('JIVC','JIVP','ZIVP').
>
Have a sy-subrc check after this statement.
One more what is it_vbak internal table? i mean, is it with header line? if yes, why dont you read or loop it first.
Put a break point and check the value of IT_VBAK-KNUMV.
>  loop at it_konv where knumv = it_vbak-knumv.
>       if it_konv-kschl = 'JIVC'.
>         V_JIVC = V_JIVC + IT_KONV-KWERT.
>       elseif it_konv-kschl = 'JIVP'.
>         V_JIVP = V_JIVP + IT_KONV-KWERT.
>       ELSEIF it_konv-kschl = 'ZIVP'.
>         V_ZIVP = V_ZIVP + IT_KONV-KWERT.
>       ENDIF.
>    endloop.
>
>       Move v_jivc to itab-jivc.
>       Move v_jivp to itab-jivp.
>       Move v_zivp to itab-zivp.
>       MOVE it_vbap-netwr to itab-wot.
> *      itab-jivc = v_jivc.
> *      itab-jivp = v_jivp.
> *      itab-zivp = v_zivp.
> *      itab-wot = it_vbak-netwr.
>       append itab.
>       CLEAR:v_jivc,v_jivp,v_zivp.
>
>
> in this code i am not able to enter in loop means where condition is false. so now what can i do  for this logical error.
That is the only possible mistake i can see in this code. Check the IT_VBAK-KNUMV first.

Similar Messages

  • Why I get "Error in getting session data" error when running report?

    Hello,
    I have reporting services on one server, and SharePoint 2010 on other server. When I view report from browser, I got blank page. From Report Server Log file, I got below error:
    v VERBOSE: writting session cookie: ekkrjbubp00t5wzc3rzspvzb
    v VERBOSE: Saved report snapshot to session in a background thread <for same session id>
    e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database.;
    e ERROR: Error in getting session data: Expired Session: ekkrjbubp00t5wzc3rzspvzb
    e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: , Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: The report execution ekkrjbubp00t5wzc3rzspvzb has expired or cannot be found
    Are there anyone getting the same issue as mine? I did not see any solutions for this issue when I searched.
    Thanks,
    Megan

    There are a number of timeouts in SSRS; session timeout, report execution timeouts, http request timeouts.  A session timeout in SSRS is not the same as a session timeout in ASP.NET.  Below are some articles that can help you understand the timeouts
    and hopefully lead you down the path of discovery.
    This articles is a good article as it discusses the session timeout and the keep alive that is sent from the report viewer.
    http://blogs.msdn.com/b/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx
    This article is good as well in describing some of the timeouts.
    http://blogs.msdn.com/b/dynamicsaxbi/archive/2013/02/14/how-to-addressing-ssrs-session-timeouts.aspx

  • ERROR: Error in getting session data: Invalid or Expired Session

    Hi,
    We are using ssrs 2008 r2 and have a report which has links that allow the user to drill down.
    When the link is clicked the same report is run but shows more detail. This works fine but we are now getting the error below for a user. 
    I have increased the time out for the report to 600 seconds.
    Error in getting session data: Invalid or Expired Session: fnxgxhjuveugvd552qfyv3fw
    session!ReportServer_0-6!4b0!03/18/2015-10:51:29:: i INFO: LoadSnapshot: Item with session: fnxgxhjuveugvd552qfyv3fw, reportPath: , userName: doman/user not found in the database
    Any ideas how this can be resolved?

    Hi Nasa1999,
    Based on your error message, If the all the users will sometimes got the same issue, it can be caused by the timeout issue. It happens a lot when rendering big report, and it exceeds the default Session Timeout. You can execute script
    to increase the Session Timeout time. Please refer to following blog:
    Session Timeout during execution. Also increase the value of <Query Timeout> in rsreportserver.config file. This file locate at XX:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
    Please also check to set the <legacyImpersonationPolicy> back to true(https://support.microsoft.com/en-us/kb/972328).
    Locate the Aspnet.config file in the following folder:
     %windir%\Microsoft.NET\Framework64\v2.0.50727
    If Microsoft Visual Studio is installed on the computer that is running SQL Server 2005, double-click
    Aspnet.config. If Visual Studio is not installed on the computer, follow these steps:
            a. Right-click Aspnet.config, point to
    Open with, and then click Choose program.
            b. In the Programs list, click
    Notepad, and then click OK.
    Locate the following tag in the <runtime> section of the code.
            <legacyImpersonationPolicy enabled="false"/>
    Change the tag to:
            <legacyImpersonationPolicy enabled="true"/>
    Save the Aspnet.config file.
    Reset IIS.
    Try your report again.
    Similar Thread for your reference:
    Using SharePoint Report Viewer
    Web Part: Error in getting session data: Invalid or Expired Session: xxxxxxxxxxx
    If only the one user or several users will got the issue, the issue can be caused by the permission setting, please reference to below blog:
    http://answers.flyppdevportal.com/categories/sqlserver/sqlreportingservices.aspx?ID=3506231b-9f4d-4f5a-884d-157137c56336
    http://blog.goobol.com/the-permissions-granted-to-user-domainusername-are-insufficient-for-performing-this-operation/
    If your problem still exists, please try to provide more details information as below:
    Did you reporting service installed in native mode or sharepoint mode, If in native mode, please try to provide more error message from the log file:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Error while getting SSM75 data to Xcelsius (WSDL)

    Hello Everyone,
    Recently weu2019ve been assigned to an Xcelsius 2008 SP3 dashboard implementation over Strategy Management data.
    We are trying to reach SSM´S data through the strategy management SMData Service and the CubeService web services so Xcelsius can later consume the corresponding WSDL files.
    We are also trying to establish a connection between Business Objects Enterprise XI 3.1 Designer and Strategy Management with the Strategy Management ODBO Provider.
    The documentation we are following is the u201CConfiguration Help SAP BusinessObjects Strategy Management 7.5u201D, following each procedure step by step but we are not getting the expected results pointed out on the documentation:
    Process for Xcelsius
    1. Add users of the SMDataService Web Service to SAP NetWeaver UME.
    2. Add users of the CubeService Web Service to SAP NetWeaver UME.
    3. Set Basic Authentication for the SMDataService Web Service.
    4. Set Basic Authentication for the CubeService Web Service.
    5. Export the WSDL files from SAP NetWeaver CE.
    6. Prepare the WSDL files for importing into Xcelsius.
    7. Import the strategy management WSDLs into Xcelsius.
    8. Map input and output values to the Xcelsius Excel spreadsheet.
    9. Configure Xcelsius Components to use data from the Excel Spreadsheet.
    1. Start Web Services Administration in SAP NetWeaver using the following URL:http://nwa/WSAdmin
    2. In the Search By drop-down list, select Service Definition Name and click Go.
    3. From the list of services, select jee-default_SMDataService.
    4. Click the WSDLs tab.
    5. Click the WSDL links for SMDataService. A window appears with SMDataServiceWSDL data.
    6. Click File Save As and save the opened WSDL file using the .wsdl extension to a directory accessible by Xcelsius.
    7. From the list of services, select jee-default_CubeService.
    8. Click the WSDLs tab.
    9. Click the WSDL links for CubeService.A window appears with CubeService WSDL data.
    10. Click File Save As and save the opened WSDL file using the .wsdl extension to a directory accessible by Xcelsius.
    After this step while attempting to import the wsdl URL we get the u201CUnable to load the URLu201D pop up error. We were wondering if we have to pass certain parameters as login credentials or query type functions from Xcelsius to SSM. Also we are not sure if we have security issues.
    Procedure for Universe Designer connection
    1. Start BusinessObjects Enterprise, open Designer, and log in as the administrator.
    2. Click the Create Universe button on the toolbar to launch the wizard for creating a universe. If this is your first time running Designer, the wizard appears automatically.
    3. In the Welcome Screen, click Begin.
    4. In the Enter the universe name box, specify the name for the universe.
    5. Click New to create a new database connection to the strategy management Provider.
    6. In the first Define a new connection window, click Next.
    7. In the Define a new connection window for database middleware selection, do the following:
    1. In the hierarchical list, select Strategy Management. Strategy Management appears because you defined this value in the oledb_olap.sdo file.
    2. In the Connection Type drop-down list, specify whether to make this a secured connection.
    3. In the Connection Name box, specify a connection a name.
    4. Then click Next.
    8. In the Define a new connection window for login parameters, do the following:
    1. In the Authentication Mode drop-down list, select the method of
    authentication such as single sign or user specified username and password.
    2. Specify the username, password, and server for the connection, and then
    click Next.
    We cannot pass from this step, Designer fails to connect and displays message stating Designer has an error to connect to database.
    Hope somebody can help us out, thanks in advance...

    Thanks ,I have been gone through <Projection Type='System.WorkItem.Incident.ProjectionType">.
    Now i am getting many errors while importing data.I have customized fields in servicedesk and i have created same fields in scsm incident form.When i am imported
    data i am getting below error.
    Please let me know how can i import customized feilds data to SCSM without issues.
    Regards, H@ri

  • Error in getting Long data type from Table

    Hi All,
    I have one table say xx_long. In this table one column is having Long data type.
    Now I want this values will get in to the PL/SQL variable. I taken variable data type as long but it is showing error "ORA-00997: illegal use of LONG datatype".
    Sample code with which I tried:
    declare
    a long;
    begin
    select slno into a from xx_long where slno = 100;
    dbms_output.put_line('Value:'||a);
    end;
    Please help me on this.
    Thanks in advance.
    Regards,
    Hari

    LONG columns cannot appear in certain parts of SQL statements:
    WHERE clauses, GROUP BY clauses, ORDER BY clauses, or CONNECT BY clauses or with the DISTINCT operator in SELECT statements
    The UNIQUE operator of a SELECT statement
    The column list of a CREATE CLUSTER statement
    The CLUSTER clause of a CREATE MATERIALIZED VIEW statement
    SQL functions (such as SUBSTR or INSTR)
    Expressions or conditions
    SELECT lists of queries containing GROUP BY clauses
    SELECT lists of subqueries or queries combined by the UNION, INTERSECT, or MINUS set operators
    SELECT lists of CREATE TABLE ... AS SELECT statements
    SELECT lists in subqueries in INSERT statements

  • Error in getting a date from DateField

    Hi,
    I am using a DateField on a form. Initially it has been to set to the current date. But if the user makes changes and selects a new date, I need to save this new date. I use dt = date.getDate() to get the util date and then convert it to string using toString() method. But instead it returns me some hexdecimal number.Can anybody please reply what is the problem.

    I think you better save the date as a long.
    /* getting time as long (represents milliseconds since January 1, 1970, 00:00:00 GMT */
    long lngDate = date.getDate().getTime();To retrieve the Date you simply create a new Date object...
    /* retrieve Date from time */
    Date date = new Date(lngDate);or you use the setTime(long time) method of the Date class.

  • Sales tax data in the posting term is not consistent (Real Estate Contract)

    Hi  Experts ,
    getting the following error in while creating a "Rental Contract" through the T. Code RECN while trying to enter data in the " Conditions" tab page of the contract . Have made all the entries in in the Posting Parameters tab ( e.g. Payment Method ,House Bank ,House Bank Acct ,Bank Details ,Tax Type ,Tax Group) but still getting this error
    ERROR MESSAGE
    Sales tax data in the posting term is not consistent
    Message no. RECD076
    Diagnosis
    The sales tax data in the posting term is inconsistent.
    Procedure
    Switch to maintenance of posting terms and correct all errors that are shown there.
    Please help ....

    Hi Ananda.
    What did you do to resolved this problem?
    Could you help?
    Tks
    Lucas

  • Sales tax data in the posting term is not complete

    Hi
    i did the customisation for for new condition type and contract in configration
    but the problem is while creating the contract in recn based on the new contract type and condition type i got the error like
    Sales tax data in the posting term is not complete
    can anyone give any suggestions on this.

    Hi Franz.
    The error continues.
    Sales tax code not found for company code 7000 IC0 GRP.IMPOSTO SIA 01.01.2010
    Message no. REEXFI000
    Follow my customizing:
    - Integration FI-GL, FI-AR, FI-AP - Taxes
    - Assign Tax Codes
    Country       tax type               tax group                         valid from       tax code
    BR     IC0     GRP.IMPOSTO SIA     10.06.2010           B0
    I have not found the parameter "Company"
    Next configuration:
    - Integration FI-GL, FI-AR, FI-AP - Taxes
    - Assign Tax Code (for FI Document)
    Country        tax code        valid from         valid to        tax type          tax group
    BR     B0     01.01.2010     31.12.2010         IC0     GRP.IMPOSTO SIA
    You think you have more configurations to be made?
    Tks
    Lucas

  • Hello Technical Experts... please help me on this error :- 'Tax data is missing ArrayOffset 12, srcLineNum 0, srcGroupNum -1'.

    In my A/P credit memo screen i have incorporated a column for adding reference to closed A/P Invoices. upon filling this field with DocNum of APInvoice certain other fields also get filled from an SQL query. One among them is the TaxCode. My problem is that the TaxAmount(LC) field at the last row of the matrix is not filled with the appropriate value, it remains 0. On trying to add the document or pressing the link button on the TaxAmount field a status bar error message pops up showing, 'Tax data is missing ArrayOffset 12, srcLineNum 0, srcGroupNum -1'.
    Please Help me solve this issue.
    Thanks in Advance
    Rajeev

    Hi,
    Please check SAP note:
    1860926 - When updating a Purchase Order via DI API "-12109 Tax data
    is missing..." Error occurs
    Thanks & Regards,
    Nagarajan

  • Getting an error while viewing a data in owb

    Hi,
    I created an External table based on a flat file. But I am not able to view the data in the external table while the flat file has the data.
    I am using this external table as a source in my mapping but no data is getting loaded even after the successful execution of the mapping.I am getting the following error while viewing the data
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04040: file ATLAS in ATLAS_LOCATION1 not found
    Please help me regarding this. I am new to the owb 11g.

    Thanks for you reply. Still I can't view the data. Actually what i did is imported a .csv file using files then created a external table configured , validated and deployed.In next step created a mapping with this excel this using table operator validated and genrated code. In next step using the control center manager i deployed it. But i can't view the data still in the external table.
    Is this procedure is correct for loading the excel sheet in to databse. My client environment is on windows xp and database is on linux environment.
    Please help me regarding this.I am new to owb.

  • I get error message iTunes could not sync calendars to iPhone because an error occurred while merging data

    I get error message iTunes could not sync calendars to iPhone because an error occurred while merging data on my wifes phone how do you correct problem without losing calendars info on phone.

    One thing that might help.
    1. open itunes preferences from the edit menu and click on the devices tab.
    2. check the box to disable syncing for iphones connected to itunes and click ok.
    3. Then click the button to reset sync history.
    4. Now click ok to close the preferences window.
    5. connect the iphone to itunes and go to the info tab.
    6. scroll to the bottom of the info page and check the box to replace the ical data on the iphone.
    7. then click apply on the bottom right of itunes.
    This will overwrite any events on the iphone, including any events that has become corrupted.
    Hope this helps

  • While doing MIRO i am getting an error: Enter a tax jurisdiction code

    Hi,
    While doing a MIRO, i am getting an error :
    Enter a tax jurisdiction code
    Message no. M8757
    How to Resolve
    Pratik

    Hi
    Try this
    1.To enter the tax amounts of the G/L account items, choose Extras ® Tax amounts. The Tax Amounts screen appears.
    You can branch to this screen at any point during document entry.
    The Tax Amounts screen shows the tax amount, tax code, posting key, tax base amount, and jurisdiction code for all the items already entered. When you call up this screen after entering the G/L account items, it displays the amounts that have already been entered.
    2.You can now choose how you want to enter the taxes.
    The tax jurisdiction codes represent the different taxing authorities to which you submit payment for taxes EG: the state, county, city etc. 
    In SAP you can have as many as 4 levels. Configuration is done in 2 steps :
    First step :
    The tax jurisdiction structure (structure of the tax code) is set up with following menu path : 
    IMG >Financial accounting> Fi Accounting basic settings> tax on sales/purchases > basic settings > specify structure for tax jurisdiction code.
    Alternatively you can use t-code OBCO
    This step allows you the enter the character length of your various level of hierarchy within your tax jurisdiction code structure (State 2 char, county 3, city 4, etc...).
    Second step:
    You configure the tax jurisdiction code using the structure defined earlier, menu path :
    IMG >Financial accounting> Fi Accounting basic settings> tax on sales/purchases > basic settings > define tax jurisdiction codes.
    Alternatively t-code  OBCP
    Define your tax jurisdiction codes, EG GA0000000 for Georgia, GA001000 for Georgia, douglas county, GA001001 for georgia, douglas county, city of lithia springs.

  • Getting error while tring to Check in any document in Sharepoint 2007. Error - "Unable to validate data. System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) ...

    Hi Team,
    I am getting error while tring to Check in any document in Sharepoint 2007. Error - "Unable to validate data. System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength).
    Anybody please let me know how to resolve the issue. It has affected our 9 site collection with almost 2000+ sites. Please email me your your suggestion or you can share your ideas here also.
    Tried to reset the IIS, checked the Internet connection speed (8MBps). Cleared the cache and all but no luck.
    Thanks,
    Pronob

    Hello,
    I have found this support window for you:
    http://support.microsoft.com/kb/556031
    http://technet.microsoft.com/en-in/library/cc298582%28v=office.12%29.aspx
    This may help you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Getting Error while accessing the data using odata service

    Hi All,
    Iam new to SAP FIORI. 
    Iam getting the below error while accessing the data using odata service.
    "Failed to load resource: the server responded with a status of 404 (Not found)"
    "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin "
    i have tried all the solutions like changing the url pattern "proxy/htttp".
    and disabled - security in chrome (Chrome is Updated version).
    i tried with IE still got the same problem.
    And installed all the required software in eclipse
    While installing GWPA plugin i got the following error.
    let me know if any one have idea.
    Thanks in advance.

    > Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
    >
    > so in that way :
    > bot the options are fine what ever take less time.
    Sorry mate, but YOU have to know what you want here.
    I gave you an easy to follow set of steps.
    As you don't seam to mind the outcome, just might just use them...
    > I wanted to know weathe i can use the  loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
    We had this discussion before...
    >
    > For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
    >
    > For ease of use you could also just do:
    > - logon as superdba
    > - drop user SAPR3
    > - create user SAPR3 password SOMEPW not exclusive dba
    >
    > After these steps you can easily pump the data into the database again.
    >
    > So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
    >  i already have that user SAPR3 can i use the same.
    Yes, you do have the SAPR3 user.
    But you don't seem to like to read documentation or learn about how the tools work or anything like that.
    Therefore I gave you s simple way to reach your goal.
    Of course it's possible to reuse the user.
    But then you would have to deal with already existing tables, already existing data etc.
    You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
    regards,
    Lars

  • Getting Duplicate data Records error while loading the Master data.

    Hi All,
    We are getting Duplicate data Records error while loading the Profit centre Master data. Master data contains time dependent attributes.
    the load is direct update. So i made it red and tried to reloaded from PSA even though it is throwing same error.
    I checked in PSA. Showing red which records have same Profit centre.
    Could any one give us any suggestions to resolve the issues please.
    Thanks & Regards,
    Raju

    Hi Raju,
            I assume there are no routines written in the update rules and also you ae directly loading the data from R/3 ( not from any ODS). If that is the case then it could be that, the data maintained in R/3 has overlapping time intervals (since  time dependency of attributes is involved). Check your PSA if the same profit center has time intervals which over lap. In that case, you need to get this fixed in R/3. If there are no overlapping time intervals, you can simply increase the error tolerance limit in your info-package and repeat the load.
    Hope this helps you.
    Thanks & Regards,
    Nithin Reddy.

Maybe you are looking for

  • Is it possible for smart mailboxes on iPhone and iPad in iOS5

    Hello, I've tried googling this to find an answer but had no definitive luck. Is it possible on iOS 5 to setup mailbox rules (like in mail on my mac), or any other way to send messages from sepcific senders, or with specific subjects etc to a separat

  • In-App purchases not working on iPad.

    I've checked all my Resrections, synced my iPad and made sure all updates were current and made sure all games were updated. Every time I try to buy an in-app purchase it just shows loading until I turn the game off. Anyone have any ideas? I'm not su

  • Records Management: Content Model format in the Records Browser

    I am new to Records Management.  I have added attributes to a Content Model and I want to modify how it is displayed in the Records Browser of Records Management.  How do I do this?

  • Question about backing up library in iTunes

    Before I post my question, I just wanted to say that I did searches for the answers but couldn't find a concrete answer, so here I am. I am using iTunes 7.x for Windows (Thinkpad X41 Tablet, Windows XP Pro, 2GB RAM) and it works fine (except for burn

  • How to acces music files on a synology server

    Hello, I just upgrade my itunes 10 to 11. And I cannot anymore acces my music files on my Synology server (DSM4.1 last update done), but only the video files. I need help !