Reg-Logic for Query!

Hi All,
In my application, there is an requirement for generating Autogen Sequence in two ways.
First Way: Using Autogen button.
For Ex: If the old symbol: ABCDEF00, the next Autogen sequence should be i.e, new symbol: ABCDEG00 .
Similarly if the symbol has old symbol:zzzzz00 new symbol should be AAAAA00.
As of now my logic is working perfectly accordingly to the above scenario.
Note: We will be changing only first 5 characters and last two digits I am appending as 00.
Second Way: Manually there can enter the symbol.
The problem I am facing in second method, since there can enter/ create a symbol using Alphanumeric.
For Ex: old Symbol: ABCD100, the next will be ABCD200 and soon till ABCD900.. Once the symbol ends with 9 then next sequence is replacing with some special characters as ABCD:00
Note: Symbol should not accept any special characters. If the symbol ABCD900 then next should be ABCD000. ‘9’ should be replaced with ‘0’ and soon. My logic will not work for alphanumeric.
Can anyone help me out my logic should accept both characters as well as numeric’s.
Following is the logic which currently i am using
DECLARE
v_symb_code VARCHAR2(7);
new_sym_code VARCHAR2(7);
v_count NUMBER;
v_auto_count NUMBER;
symb_code_new VARCHAR2(7);
BEGIN
SELECT COUNT(*) INTO v_auto_count FROM T_AUTOGEN_SYMBOL;
IF v_auto_count=0 THEN
SELECT symb_code INTO v_symb_code FROM t_symbol WHERE SYMB_MODIFIED_DATE=(SELECT MAX(SYMB_MODIFIED_DATE) FROM t_symbol) AND ROWNUM=1;
ELSE
SELECT ATGS_SYMB_CODE INTO v_symb_code FROM T_AUTOGEN_SYMBOL;
END IF;
LOOP
SELECT
-- 1st digit of new value
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),5,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),4,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),3,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),2,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),1,1),'Z','A',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),1,1),'A','B','B','C','C','D','D','E','E','F','F','G','G','H','H','I','I','J','J','K','K','L','L','M','M','N','N','O','O','P','P','Q','Q','R','R','S','S','T','T','U','U','V','V','W','W','X','X','Y','Y','Z',
CHR(ASCII(SUBSTR(SUBSTR (v_symb_code, 1, 5),1,1))+1))),
SUBSTR(SUBSTR (v_symb_code, 1, 5),1,1)),
SUBSTR(SUBSTR (v_symb_code, 1, 5),1,1)),
SUBSTR(SUBSTR (v_symb_code, 1, 5),1,1)),
SUBSTR(SUBSTR (v_symb_code, 1, 5),1,1))
||
-- 2nd digit of new value
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),5,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),4,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),3,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),2,1),'Z','A',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),2,1),'A','B','B','C','C','D','D','E','E','F','F','G','G','H','H','I','I','J','J','K','K','L','L','M','M','N','N','O','O','P','P','Q','Q','R','R','S','S','T','T','U','U','V','V','W','W','X','X','Y','Y','Z',
CHR(ASCII(SUBSTR(SUBSTR (v_symb_code, 1, 5),2,1))+1))),
SUBSTR(SUBSTR (v_symb_code, 1, 5),2,1)),
SUBSTR(SUBSTR (v_symb_code, 1, 5),2,1)),
SUBSTR(SUBSTR (v_symb_code, 1, 5),2,1))
||
-- 3rd digit of new value
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),5,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),4,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),3,1),'Z','A',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),3,1),'A','B','B','C','C','D','D','E','E','F','F','G','G','H','H','I','I','J','J','K','K','L','L','M','M','N','N','O','O','P','P','Q','Q','R','R','S','S','T','T','U','U','V','V','W','W','X','X','Y','Y','Z',
CHR(ASCII(SUBSTR(SUBSTR (v_symb_code, 1, 5),3,1))+1))),
SUBSTR(SUBSTR (v_symb_code, 1, 5),3,1)),
SUBSTR(SUBSTR (v_symb_code, 1, 5),3,1))
||
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),5,1),'Z',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),4,1),'Z','A',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),4,1),'A','B','B','C','C','D','D','E','E','F','F','G','G','H','H','I','I','J','J','K','K','L','L','M','M','N','N','O','O','P','P','Q','Q','R','R','S','S','T','T','U','U','V','V','W','W','X','X','Y','Y','Z',
CHR(ASCII(SUBSTR(SUBSTR (v_symb_code, 1, 5),4,1))+1))),
SUBSTR(SUBSTR (v_symb_code, 1, 5),4,1))
||
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),5,1),'Z','A',
DECODE(SUBSTR(SUBSTR (v_symb_code, 1, 5),5,1),'A','B','B','C','C','D','D','E','E','F','F','G','G','H','H','I','I','J','J','K','K','L','L','M','M','N','N','O','O','P','P','Q','Q','R','R','S','S','T','T','U','U','V','V','W','W','X','X','Y','Y','Z',
CHR(ASCII(SUBSTR(SUBSTR (v_symb_code, 1, 5),5,1))+1)))||'00' INTO new_sym_code
FROM dual;
symb_code_new := UPPER(new_sym_code);
SELECT COUNT(*) INTO v_count FROM t_symbol WHERE symb_code=symb_code_new AND ROWNUM<2;
/*IF v_count<1 THEN
SELECT COUNT(*) INTO v_count FROM t_symbol_wip WHERE symb_code=symb_code_new AND ROWNUM<2;
END IF;
DELETE FROM T_AUTOGEN_SYMBOL;
INSERT INTO T_AUTOGEN_SYMBOL(ATGS_SYMB_CODE,ATGS_MODIFIED_BY,ATGS_MODIFIED_DATE) VALUES(symb_code_new,v('APP_USER'),SYSDATE); */
EXIT WHEN v_count <1;
v_symb_code:=symb_code_new;
DBMS_OUTPUT.PUT_LINE(v_symb_code);
END LOOP;
:P39_SYMBOL := symb_code_new;
END;

I'd use a slightly different approach with the same end result: use and store numbers instead of this "Autogen sequence". When you use a number, you can easily add 1 or subtract 1. You probably only need that string for display. So use a function like below:
SQL> create function number2weirdstring (p_num in number) return varchar2
  2  as
  3    --
  4    -- The string looks like this AAAAA00.
  5    -- Define for each A what the acceptable characters can be
  6    -- For instance I'm defining them to accept [a-z] and [A-Z]
  7    -- And they are mapped to [0-25] and [26-51]. This leads to
  8    -- 52^5 possible combinations.
  9    --
10    l_character1 varchar2(1);
11    l_character2 varchar2(1);
12    l_character3 varchar2(1);
13    l_character4 varchar2(1);
14    l_character5 varchar2(1);
15  begin
16    l_character5 := chr( case when mod(p_num,52)                    < 26 then 97 else 39 end + mod(p_num,52) );
17    l_character4 := chr( case when mod(trunc(p_num/52),52)          < 26 then 97 else 39 end + mod(trunc(p_num/52),52) );
18    l_character3 := chr( case when mod(trunc(p_num/52/52),52)       < 26 then 97 else 39 end + mod(trunc(p_num/52/52),52) );
19    l_character2 := chr( case when mod(trunc(p_num/52/52/52),52)    < 26 then 97 else 39 end + mod(trunc(p_num/52/52/52),52) );
20    l_character1 := chr( case when mod(trunc(p_num/52/52/52/52),52) < 26 then 97 else 39 end + mod(trunc(p_num/52/52/52/52),52) );
21    return l_character1 || l_character2 || l_character3 || l_character4 || l_character5 || '00';
22  end number2weirdstring;
23  /
Functie is aangemaakt.And to show how the function works:
SQL> select number2weirdstring(0)
  2       , number2weirdstring(25)
  3       , number2weirdstring(26)
  4       , number2weirdstring(51)
  5       , number2weirdstring(52)
  6       , number2weirdstring(52*52-1)
  7       , number2weirdstring(52*52)
  8       , number2weirdstring(12893571)
  9    from dual
10  /
NUMBER2WEIRDSTRING(0)
NUMBER2WEIRDSTRING(25)
NUMBER2WEIRDSTRING(26)
NUMBER2WEIRDSTRING(51)
NUMBER2WEIRDSTRING(52)
NUMBER2WEIRDSTRING(52*52-1)
NUMBER2WEIRDSTRING(52*52)
NUMBER2WEIRDSTRING(12893571)
aaaaa00
aaaaz00
aaaaA00
aaaaZ00
aaaba00
aaaZZ00
aabaa00
bNKrp00
1 rij is geselecteerd.You only need to modify the function to accept the characters you want. But hopefully this example will get you started.
Regards,
Rob.

Similar Messages

  • Reg : Logic for Report

    Hi ,
    I would like to know one logic for preparing functional specification for one MM report. This report should fetch all materials that are below safety stock.
    Please help me.

    HI,
    The logic is you take the current unresticted stock of a material from MARD table, field name is LABST.now you check for the safety stock of the particular in MARC table Field name-EISBE.
    Now compare the current stock with the safety stock,generate a report for the materials whose present stock is less than the safety stock.
    for this requirement safety stock should be maintained in the material master,other wise your report will not work.
    Regards,
    velu

  • Reg: Logic for context change

    Dear friends,
    I have a scnario where i need to  uploade the sumary of financial entries.
    For every one line item i need to create a target side as 2 line item for debit and credit entry.
    I achived this by using  duplicatesubtree.
    Now the issue is  for all the entries there should only one debit entry by summing all the line item amout and all the credit item entries.
    Even this is achived by using the context change at the sum function.
    In fico we can uploade only 900 line item not more that. for this i have make use of counter and udf to resolve this.
    But now for context change i need to genarate one debit entry for every 899 credit entrries(input line items).
    It mean for 899 input item sum to be taken in to one debit line item at target in the duplicatesubtree
    For this i have a udf it gives a counter change after 899 line items.
    Now on this change how should i change the context..for sum and create the debit item after every 899.
    I have refered this thread .
    [context change  in message mapping]
    Regards
    Vijay

    Hi Vijay,
    To get Sum
    Source item (0 .. outbound)
               line1 (0..1)
               line2 (0..1)
               line3 (0..1)
               line4 (0..1)
               line5 (0..1)
               line6 (0..1)
    Now map Line6 --> (RemoveContext) u will get all values ===> Write UDF1 ===> Map to first element under Item1
    ===> Write UDF2 ===> Map to first element under Item1
    UDF1
    public void CreditSum(String[] a,ResultList result,Container container){
    float count = a.length;
    float c = count/2;
    int d = (int)c;
    int sum=0;
    String Sum_str = " ";
    for(int i=0;i<=d-1;i++)
    sum = sum+Integer.parseInt(a<i>);
    Sum_str =Integer.toString(sum);
    result.addValue(Sum_str);
    UDF2
    public void Credit2Sum(String[] a,ResultList result,Container container){
       //write your code here
        //write your code here
    float count = a.length;
    float c = count/2;
    int d = (int)c;
    int sum=0;
    String Sum_str = " ";
    for(int i=d;i<=count-1;i++)
    sum = sum+Integer.parseInt(a<i>);
    Sum_str =Integer.toString(sum);
    result.addValue(Sum_str);
    Thx
    Srini

  • Extracting the Logical sql query for the specified report  in OBIEE 11g

    Hi ,
    I want to extract the logical SQL Query for the Particular report in OBIEE 11.1.1.5.
    Any pointers related to this will be very helpful.
    Thanks,
    Sonali

    for a try please add Logical sql view to ur report it will dispaly the Logical sql for that Report..
    Hope it will helps you.

  • Reg logic required for selection-screen.

    Hi,
    i have one requirement
    on selection screen 2 radio button
    1 for service
    2 for account
    Parameter      FILE     LOCALFILE     Filename
    If the radiobutton ACCOUNT is selected the default name for file will be:
         ‘Rev_acc_com_&system_time_stamp&.dat’
    Elseif the radiobutton SERVICE is selected the default name for file will be:
         ‘Rev_srv_com_&system_time_stamp&.dat’
    some body can give the logic for this.

    take the following solution
    data: tstamp type TZNTSTMPS.
    data: filename type string.
    call function 'CONVERT_INTO_TIMESTAMP'
    exporting
       I_DATLO  = sy-datum
       I_TIMLO   = sy-uzeit
    importing
       E_TIMESTAMP = tstamp.
    if ACCOUNT is selected then
    concatenate 'Rev_srv_com_' tstamp '.dat' into filename.
    else if SERVICE is selected then
    concatenate 'Rev_srv_com_' tstamp '.dat' into filename.
    the filename variable will be containing ur required file name..
    reward points if useful....

  • Detection logic for Shockwave Installations

    We'd like to deploy the latest Shockwave update but are stumped on what the best detection logic is. Is there a registry key to look for under HKCU or HKLM? I read that you used to be able to use swdir.dll to pinpoint the current version installed. Also, what to do about the Macromedia installed versions versus the Adobe versions?

    I don't know what type of OS or script you are using.. But there is a file or registry on the system that is named after the installed version of Shockwave.
    I'll start with File First:
    If you have x64 bit OS.. the path would be:
    C:\Windows\SysWOW64\Adobe\Shockwave 12
    32 Bit OS:
    C:\Windows\System32\Adobe\Shockwave 12?? (not too sure, dont have any 32 bit os to test)
    the file in question is SWHelper_1207148.exe
    The 1207148 is the version number:
    12.0.7.148 (latest)
    So if you have
    SwHelper_1204144.exe ( Version 12.0.4.144 )
    its outdated.. or if you dont have that file period its outdated or not installed.
    Now For Registry:
    on a 32 bit OS you would look inside:
    HKEY_LOCAL_MACHINE\Software\microsoft\windows\currentversion\uninstall\
    on a 64 bit OS you would look inside:
    HKEY_LOCAL_MACHINE\Software\wow6432Node\microsoft\windows\currentversion\uninstall\
    Inside there you should be able to find the shockwave GUID (usually looks like {NUMBER AND DASHES AND LETTERS} ) and inside of each, it should tell you what the program is and the version..
    For this software, with the most recent version at time of writing (12.0.7.148) the GUID is:
    {AA3B06B1-E89A-43C6-A26B-7109DB4BEE7B}
    If you look inside you will see DisplayVersion = 12.0.7.148
    So you can use that to your advantage as a check.
    And personally, you can use both file and reg check for installs, I know I do.
    so you would need to do a reg query to see what the version is, and with that, install or don't
    Dimitri
    The Tech Guru

  • How to set reg.cgi for VideoPhoneLabs

    i start with stratus .i try set it to work with my dedicated apache server and sql but have no clue how to do it or where to put this file on my server.
    i realy have probleme with reg.cgi
    for now i did www/cgi-bin/reg.cgi and in the xml i set my websiteurl = "http://88..../cgi-bin/"
    also how to complete reg.cgi for have it to talk with my db ?
    here the reg.cgi file.
    help please ...
    #! /usr/bin/python --
    reg.cgi by Michael Thornburgh.
    This file is in the public domain.
    IMPORTANT: This script is for illustrative purposes only. It does
    not have user authentication or other access control measures that
    a real production service would have.
    This script should be placed in the cgi-bin location according to
    your web server installation. The database is an SQLite3 database.
    Edit the location of the database in variable "dbFile".
    Create it with the following schema:
    .schema
    CREATE TABLE registrations (
        m_username VARCHAR COLLATE NOCASE,
        m_identity VARCHAR,
        m_updatetime DATETIME,
        PRIMARY KEY (m_username)
    CREATE INDEX registrations_updatetime ON registrations (m_updatetime ASC);
    # CHANGE THIS
    dbFile = '.../registrations.db'
    import cgi
    import sqlite3
    import xml.sax.saxutils
    query = cgi.parse()
    db = sqlite3.connect(dbFile)
    user = query.get('username', [None])[0]
    identity = query.get('identity', [None])[0]
    friends = query.get('friends', [])
    print 'Content-type: text/plain\n\n<?xml version="1.0" encoding="utf-8"?>\n<result>'
    if user:
        try:
            c = db.cursor()
            c.execute("insert or replace into registrations values (?, ?, datetime('now'))", (user, identity))
            print '\t<update>true</update>'
        except:
            print '\t<update>false</update>'
    for f in friends:
        print "\t<friend>\n\t\t<user>%s</user>" % (xml.sax.saxutils.escape(f), )
        c = db.cursor()
        c.execute("select m_username, m_identity from registrations where m_username = ? and m_updatetime > datetime('now', '-1 hour')", (f, ))
        for result in c.fetchall():
            eachIdent = result[1]
            if not eachIdent:
                eachIdent = ""
            print "\t\t<identity>%s</identity>" % (xml.sax.saxutils.escape(eachIdent), )
            if f != result[0]:
                print "\t\t<registered>%s</registered>" % (xml.sax.saxutils.escape(result[0]), )
        print "\t</friend>"
    db.commit()
    print "</result>"

    Persistent binding is effectively provided by STMS (MPxIO) - is there anything in particular you're wanting to do that STMS doesn't provide?

  • Can Any one helpme with logic for fortnight

    Hi All,
              I need the logic for Fortnight of the year for drill in reports . Can any one help me regarding this.
    Thanks in Advance

    Hi,
    I have built this logic to display the fortnights of current month plz modify this according to you requirmenet.
    Here is the query....
    SELECT case when getdate() between  DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)
                     and
                     dateadd(dd,14,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0) ) then 'Fnight-1' else 'Fnight-2' end
    Cheers,
    Ravichandra K

  • Need of ABAP logic for 0CDFY variable

    Hi Everyone,
    Iam trying to use the Current Fiscal Year--0CDFY variable in one of query.
    I want to know the ABAP logic for that variable.
    anyone please help me out
    Thankyou
    ARUN

    This variable brings in the current fiscal year.
    If you want to see code behind it than go to Tcode SE37
    type in RSVAREXIT_0CDFY and click on disply

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts,
    Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
    Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
    As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
    have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
    Header 1
    Header 2
    Header 3
    Header 4
    LFGJA/LFMON
    ROH (MT)
    HALB (MT)
    FERT (MT)
    11.2013
    100.000
    121.000
    121.00
    12.2013
    50.000
    12.000
    123.00
    01.2014
    23.231
    .23.234
    45.342
    02.2014
    23.231
    34.094
    45.098
    03.2014
    34.098
    98.983
    00.000
    04.2014
    00.000
    69.093
    98.098
    05.2014
    00.000
    89.098
    00.000
    For Example Break up of ROH material plant wise in below mention format.
    LFGJA/LFMON
    WERKS
    MENGE (MT)
    11.2013
    P001
    30.000
    11.2013
    P002
    50.000
    11.2013
    P003
    20.00
    Thanks in advance,
    SKN

    Hi,
       The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
    Regards,
    AKPT

  • How to create the layout for query in Bex 3.5

    Hi All,
    i have one requirement to do layout for query. Report like after passing the variable values and then they will select the required layout. It has to get output according layout selection fields.
    i have no idea about how to create layout.
            thanks in advance...
    Thanks & Regards,
    Mallikarjuna.k

    Hi Gregor,
    In the note 1149346 that you have mentioned, it says -
    You must start the input-ready query in change mode.
    BEx Analyzer: In the properties of the analysis grid, the switch
    "Suppress new rows" must not be set.  Furthermore,
    the switch "Allow entry of plant values"
    must be set in the local query properties.
    I have not seen this setting Allow entry of plant values in a query - can you tell what is refers to?

  • In MVC, do i need a View or Page with flow logic for POPUP window

    Hi All,
    I have the below scenario using the MVC pattern.
    I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create  to create order.
    But as per the MVC pattern I canu2019t call the view (popup) from another view(main view).  So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
    I need 6 popup to be called from the main view and once the function is done close the popup.
    Please suggest me the flow for this scenario.
    Cheers,
    Srini.

    Srini,
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout:
          function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Option2:
    Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
    Raja
    Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM

  • Error: Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.

    Hello,
    I have a lightswitch web-application in development, which I need to copy from one computer to the other. I have tried doing it both through Git and by simply copying the solution and opening the project on another machine. The project builds without errors,
    but when I try to debug it, it opens a web-browser, loads to 100% and pops up an error - Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.
    Now, I have tried repairing Visual Studio on my machine, reinstalling .NET framework and setting  <basicAuthentication enabled="false" /> in web.config, yet it still does not run.
    When using Fiddler, it shows an error while loading the application - "HTTP/1.1 500 Internal Server Error" , which I honestly don't know what it means.
    The application uses ComponentOne and Telerik modules, but they are both installed on both machines. 
    The application does run perfectly on the original machine, but it is not working on any other one.
    Both machines are using Win 8.1 and Visual Studio 2013 Update 4.
    I have tried to look this up online, but most people's problem are when they are deploying the app, not just debugging. I would be really happy for any help with this issue.
    Thanks!

    I have the same problem on one of my development machines. Whenever I create a new project, the System.IdentityModel.Tokens.Jwt nuget package is not referenced properly. The project compiles correctly but you are not able to debug as I get the same error
    as you.
    If you open up your references and there is an error next to any of your references make sure that you correct them. In the case of the jwt reference error, I have to remove the jwt reference and then add it back from the packages folder.
    This may not be your problem but could point you in a direction?

  • Transaction Code assignment for Query created in SQVI

    Dear All,
    Good morning I hope you are doing great...
    Can any body help me out to assign transaction code for Query which was created through SQVI transaction.
    Regards,
    Murali.

    Hi Murali Mohan
    1>go to SQVI t code and  enter your query name and press enter
    2>In the menu path select Quick view--> additional functions-->Generate Program
    3>After Generating the program In the menu path select Quick view--> additional functions-->Display report Name
    4>Now in se38 enter the report name in Program field and execute
    5>You will get the Initial Selection screen of the report . Go to Menu of System -->Status
    6> Note down the Program name and Screen number
    7>Go to SE93 and Create a Z tcode for the query, Enter the description  and importantly you have to select the 2nd Option radio Button Program and Selection Screen (Report Transaction) and Press enter
    8>In the next screen enter the Report name In Program field and enter the screen number
    9>In the classification Section select Professional user  Transaction
    10>In GUI support section select all the options  i.e SAPGUI for HTML,Java,Windows
    and save
    the system will ask for Package select your package if not there then select local object
    now execute the Z tcode your report will run sucessfully
    Regards
    Vijay hebbal

  • What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?

    Hi, Experts:
    I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR  use for this?
    Many thanks!
    Jenny

    Hi, Ram:
    Thank you for the reply!
    The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
    Thanks,
    Jenny
    Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
    Edited by: Jenny Chen on Dec 2, 2009 7:55 PM

Maybe you are looking for

  • Error in setting CTX_DLL prpperties

    when i try to set those properties, errors occurs: Begin      CTX_DDL.CREATE_PERFERENCE('ENG_LEXER', 'BASIC_LEXER');      CTX_DLL.SET_ATTRIBUTE('ENG_LEXER', 'INDEX_THEMES','YES');      CTX_DLL.SET_ATTRIBUTE('ENG_LEXER', 'THEME_LANGUAGE','ENGLISH'); E

  • Why it is not working?

    hai all, i am new to jsp. please help me with the necessary corrections of the code given below. <%@ page import="java.io.*, java.sql.*" %> <%      ResultSet rs;      Class.forName("oracle.jdbc.driver.OracleDriver()");      Connection Con=DriverManag

  • MKPF & MSEG Performance issue : Join on table  MKPF & MSEG  taking too much time ..

    Hello Experts, I had a issue where we are executing one custom report in which  i used inner join on table  MKPF & MSEG,  some time join statement  took  9-10 min to excute and some time execute within  1-2 min with same test data . i am not able to

  • How to create new or check current business event in Oracle INV/PO?

    Hi Gurus, How can i define/create new business event related to items or suppliers? I know we need to login to WF admin responsibility. But i just wanted to where we can able to create event from frontend and that too from inventory or purchasing res

  • MSI 655 and CL=2

    hi guys, I'm looking to upgrade my mobo to a 655 but I have some questions. I've read a few reviews and alot said they had troubles running the ram modules (ddr333) at CL2. Have any of you guys experienced any problems with your ram running at CL2? T