Debugging Call 'ThNoGet' statement

Hi All,
Can any please explain me the following command?
   Nummernvergabe aus Puffer aufrufen
  CALL 'ThNoGet' ID 'BNRIV'    FIELD BNRIV
                 ID 'NO'       FIELD G_NOIVBUFFER
                 ID 'QUAN'     FIELD P_QUANTITY
                 ID 'PERCENT'  FIELD TNRO-PERCENTAGE
                 ID 'NONRSWAP' FIELD TNRO-NONRSWAP.
Also, please let me know how to debug this command.
Many thanks in advance.
Best Regards,
Tarun

hi tarun gupta,
The one you have got is a system function. Kindly refer below for your reference.
Kernel C System calls are really just for SAP internal use. If SAP wants to allow a customer to use one, they will generally write a released ABAP function module to expose the Kernel Call. One example of this is the function module TH_USER_INFO. The following is from the on-line help for system call:
CALL - Call a System Function
Note
This statement is for internal use only.
Incompatible changes or further developments may occur at any time without warning or notice.
Basic form 8
CALL cfunc.
Addition:
... ID id1 FIELD f1 ... ID idn FIELD fn
Effect
Calls the system function cfunc. The relevant function must exist in the file sapactab.h. If you change or recreate a function, you have to compile and link the SAP kernel again. For this, you need the C source code files.
Normally, external programs should be called by RFC with CALL FUNCTION ... DESTINATION.
Addition
... ID id1 FIELD f1 ... ID idn FIELD fn
Effect
Passes fields to the called program by reference. With "ID id1", you specify the name of a formal parameter, and with "FIELD f1" the relevant field from the ABAP/4 program. If a formal parameter expects an internal table, the latter is passed in the form "FIELD tab[]".
Example
Код:
DATA RESULT(8).
CALL 'MULTIPLY' ID 'P1' FIELD '9999'
ID 'P2' FIELD '9999'
ID 'RES' FIELD RESULT. 
Note
With some critical C functions, the system automatically performs an authorization check. If the user does not have the appropriate authorization, a runtime error occurs. You can check the authorization with the function module AUTHORITY_CHECK_C_FUNCTION.
Runtime errors:
CALL_C_FUNCTION_NOT_FOUND: Specified system function unknown.
CALL_C_FUNCTION_NO_AUTHORITY: No authorization to call this C function.
CALL_SYSTEM-DISABLED: The system function SYSTEM is disabled (with CALL 'SYSTEM').
These are the System functions
ABAP_CALLSTACK
ABAP_CRC64
ABAP_PRECOMPILED_HEADER_USAGE
ABSTOR_TEST AB_CALL_LITL_CHECK AB_CALL_STACK_TRACE
AB_CREATE_SAPHFILE
AB_DELETE_ALL_MEM
AB_DELETE_ALL_SHARED
AB_DELETE_MEM AB_DELETE_SHARED
AB_FIELD_CHECKWRITEADDRESS
AB_FIELD_INFO
AB_FRAG_VIEW_TO_ITAB
AB_GET_CALLER AB_GET_COUNTRY
AB_GET_CX_DATA
AB_GET_CX_FOR_CUSTOMIZE
AB_GET_C_PARMS
AB_GET_DIRECTORY_DB
AB_GET_DIRECTORY_MEM
AB_GET_DIRECTORY_SHARED
AB_GET_GLOBAL_FIELDS
AB_GET_KEYS_MEM
AB_GET_KEYS_SHARED
AB_GET_NEXT_LEVEL_SHARED
AB_GET_TEXT_FROM_CLUSTER
AB_GET_VIEW_TO_ITAB AB_IMPORT_DECOMPRESS
AB_PRINT
AB_PROGTEXT
AB_P_A_CALC
AB_READTABLE_TRACE_GET AB_READTABLE_TRACE_ON
AB_READ_TEXTPOOL
AB_RFC_STATISTIC_TID
AB_RFC_X_SCRAMBLE_STRING
AB_RTM_DUMP
AB_RTM_LOAD_FILE
AB_SET_CODEPAGE_IN_CLUSTER
AB_SET_CX_DATA
AB_SET_C_PARMS
ThDisplay
ThGwMon
ThNoCall
ThNoGet -
this is the one you have got...
ThNoRead ThSndDelUser
ThSysInfo
ThTest
ThUsrInfo
ThVBCall
ThVersion
ThWpInfo
TrCall

Similar Messages

  • Debugging call transaction statement

    hi,
    I am triggering a remotely enabled function module from a webdynpro application from portal. i am debugging this process from SM50 transaction. The function module has a call transaction statement calling VA42 transaction.
    I tried below options and these did not work.
    I tried changing the mode in debug mode to 'A'.
    I tried to complete execution of this statement in background mode only, giving a breakpoint after this statement so that i can get bdcmsgcoll table and see the details.
    But at the call transaction statement, the debug operation fails and the process is end abruptly.
    Please tell me whether debugging for a call transaction statement from SM50 screen is possible and how?
    Thanks in advance,
    Padmini
    Message was edited by:
            Padmini Manickaraj

    If this is a custom code, modify it to write the contents of the internal table of type BDCMSGCOLL to a file in the unix system (the files that you can view using transaction AL11). The error message will probably give you an idea as to why the BDC has failed. Make sure that this piece of code should be executable only by you. This is just for debugging. You can remove this code after you have finished analysing it.
    IF sy-uname EQ <your user id>.
    ...code to transfer data to the unix file
    endif.

  • How to call UPDATE statements in the timesten

    Hi i want to know how can i call UPDATE statements from the c program
    as of now i am using SQLPREPARE and SQLEXECUTE for the same.
    but i get the following error.
    Is there any special way of calling UPDATE and INSERT routines.
    As my select statements are doing fine, but i m getting error with UPDATE and INSERT. I am getting the following error
    Can Anyone guide me ?
    ========================================================
    [TimesTen][TimesTen 6.0.4 ODBC Driver][TimesTen]TT5102: Cannot load backend library 'libttorD.a' for Cache Connect. OS error message 'Symbol resolution failed
    for /disk3/users/timesten/TimesTen/TT_EUDEV10G/lib/libttorD.a because:
    Symbol ora_ldap_unbind (number 224) is not exported from dependent
    module /disk1/users/oracle/product/9.2.0/lib/libclntsh.a[shr.o].
    Symbol ora_ldap_memfree (number 225) is not exported from dependent
    module /disk1/users/oracle/product/9.2.0/lib/libclntsh.a[shr.o].
    Symbol
    *** ODBC Error/Warning = S1000, Additional Error/Warning = 5102
    *** (Note: error message was truncated.
    Disconnecting from the data source...
    ==========================================================

    Hi,
    It looks like you are using either :
    1. A READONLY CACHE GROUP with PassThrough > 0.
    or
    2. An SWT CACHE GROUP
    Is that correct? This looks like a mismatch between the TT Oracle library and the version of the Oracle client that you have installed (or maybe a bad setting of LD_LIBRARY_PATH).
    What is the exact version of TimesTen you are using (output of ttVersion command)?
    What is the exact version of Oracle?
    Thanks, Chris

  • How to call SQL statements in InDesign CS6?

    Hi,
         My plug-in needs to interact with the database, and update the database content, how should I do, can I call SQL statements in InDesign CS6?
         Thanku very much.

    The same way you'd call them from any C++ program. You don't mention which platform, and that probably makes a difference.
    I'm accessing an SQL database in InDesign CS6 on Windows. I'm using the ODBC interface to SQL database that Windows provides, via the nanodbc wrapper. So I'm linking to odbc32.lib and odbccp32.lib, and including the nanodbc.cpp and nanodbc.h files. (See http://lexicalunit.github.io/nanodbc/ )
    Paul.

  • How to Debug  Call transaction  ?

    Hi ,
    I want to debug a  BDC program  . In the debug I want to  change the  MODE value to 'A '. Currently it is hard coded . Statement in the code looks like this
    CALL TRANSACTION 'VL01N' USING bdcdata
                                    MODE 'N'
                                    UPDATE 'S'
                                    MESSAGES INTO messtab.
    I dont have the  option to modify or copy the code. 
    Please let me know is theer a way to do it ? Thank you very much in advance.
    Thanks & regards
    Nanaiah

    HI,
    Put a Break point in the Call transcation and change the mode value to 'A' during the Debugging or change the mode value to 'A' for the testing part or do the below declaration
    DATA opt TYPE ctu_params.
    opt-dismode = 'E'.
    opt-defsize = 'X'.
    In that give the dismode = 'A'.
    CALL TRANSACTION 'VL01N' USING bdcdata_tab OPTIONS FROM opt
    UPDATE 'S'
    MESSAGES INTO messtab.
    While doing that take care u r not saving any data .
    With Regards,
    Sumodh.P
    Edited by: Sumodh P on May 11, 2010 11:09 AM

  • Handle to error object after calling the statement execute - SQLDBC

    Topic related to SQLDBC inteface to MaxDB
    =======================
    In C++ while i was executing the statement
    rc = stmt->execute("SELECT 'Hello SAPDB' from DUAL");
    i could get a handle to the error object by a call to
    stmt->error().getErrorText()
    Now while using SQLDBC_C i am using
    rc = SQLDBC_Statement_execute(stmt,tempstr,strlen(tempstr),encodAsciiType);
    Now how do i get the handle to the error object ??
    Call like the above one
    fprintf(stderr, "Executed SQLDBC_Statement %s",stmt->error().getErrorText());
    gives me compilation error:
    error: invalid use of undefined type `struct SQLDBC_Statement'
    /opt/sdb/programs/sdk/sqldbc/incl/SQLDBC_C.h:125: error: forward declaration of `struct SQLDBC_Statement'
    Please Help and feel free to ask me if the question is not clear.
    Regards
    Raja

    Sorry. This question doesn't make sense. So, i withdraw the question.
    Basically what I had confused with earlier and got clarified now is:
    Just like when we make a call to SQLDBC_Connection_connect and after that use the SQLDBC_Connection_getError to get a handle to the SQLDBC_ErrorHndl.
    I wanted to know how should we get a handle to the SQLDBC_ErrorHndl after we have made a call to the SQLDBC_Statement_<function call>.
    I got the answer after looking through the SQLDBC_C.h file. It will be SQLDBC_Statement_getError and similarly SQLDBC_PreparedStatement_getError.
    Wish i could award myself the 10 points for solving the problem
    Regards
    Raja

  • Create a link in a table calls sql statement

    Hello,
    I'm very new to htmldb but need to complete a project within a tight timeline. I created a sql report in a region. On each row, I have an on/off link, which used to trigger a sql statement. It turns a flag on and off in a table. Key needs to be passed with the link to be used in sql. How do I passed the key in the link and how can I call the sql statement? Where can I put the sql statement? Can someone give me some tips?
    Your help is greatly appreciated!
    Jun

    if you take a look at the "Understanding URL Syntax" section in chapter 6 of our User Guide, you'll see that you can set item values in html db via the URL by passing name/value pairs through the url. to see it in action, use our "Report with links to form on a table (2 Pages)" wizard to generate a form and a report on some table of yours. when you run that report page and click an edit link on it, you'll see how it passes its values to the form page using our URL syntax. in your case you'd want to create an item like MY_PROD_KEY_ITEM and set its value via your link. you'd then run your pl/sql block referring to the value of that item. when doing so, you'd probably want to use the bind variable syntax that's also explained in chapter 6, "Referencing Session State".
    --raj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Successor of CALL DIALOG statement?

    Hi Experts,
    We used to have a statement called CALL DIALOG in previous versions which was helpful in the following ways:
    1.Calling a dialog program(module pool) from another program.
    2.Data Traffic between two programs.
    3.Both program work in Same LUW.
    THIS STATEMENT IS NOW OBSOLETE !
    Now i have a legacy program doing the same activity where the dialog program is being called using the calll dialog technique into a FM  and which in turn is being called in a user exit.
    I have done research but could not find an alternate to this technique.
    Any one out there got some solution to this?
    Thanks,
    Sachin

    Hello Ramond,
    Thanks for your answer.
    I do have this idea in mind but thanks for sharing it.
    The only problem here is the program i need to call is already working and morever from a diffrent workstream so i do not have a control over it.I could only request the other developer to analyse this option as well.
    I was thinking of any other option that we might have to achieve this.
    Thanks,
    Sachin

  • Call sql statement from JComboBox component

    Hi there,
    I Have created a frame to populate two JComboBoxs, I'm populating the first one from a database using SQL, this datable is showing the category to below every report.
    anybody know how can I select from my first JComboBox a record a call a second SQL statement acutomatic, the idea is populate me second JCombox with data like my first one, remember the first one is a header

    With a JComboBox you have to be careful that you don't run a query when just the cursor is moved up or down the list. If you want the listener to fire just when enter is pressed or the mouse is clicked, then do this:
    //This stops events being fired when the cursor is used on the list
    comboBox.putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE);You should also attach an event listener like this one:
    comboBox.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent evt) {
                            executeSomeQuery(comboBox.getSelectedItem().toString());               }
              });Or something similar to above, have a play around with it and it should work how you want it to.
    Message was edited by:
    JStudent911

  • Call Transaction statement Obsolete

    Hi,
    We are upgrading our system from 4.6 B to Ecc 6.0.
    What are the statements obsolete in ECC 6.0 due to Unicode, what is the replacement for Call Transaction.
    Can any one give me a step by step procedure to use UCCHECK and SPAU?
    My email ID is [email protected]
    Regards,
    Abhishek...

    Hi,
    You can use the Function Module COPF_CALL_TRANSACTION
    CALL FUNCTION 'COPF_CALL_TRANSACTION'
            EXPORTING
              TCODE = '<tcode>'
              NEW_SESSION = ' '.
    if NEW_SESSION = 'X' then transaction will open in a new window
    Regards,
    Samson Rodrigues.

  • Find perform statement in MB1B which is calling Form statement in Zprogram

    Hi,
    we written form statement in zprogram, it is called in MB1B transaction.this linked
    to one output type.my problem is how to find  perform statement in MB1B.
    Do help at earliest.
    Thanks in advance.
    Rama.
    SAP-Techincal consultant.

    Thanks for reply.
    in zprogram we have been updating ztables.problem here is even we set break point here, cursor  not coming into that subroutine when we run transaction MB1B.
    CAN U PLZ say how to stop execution in subroutine.
    YOURS
    RAM

  • Calling SQL statements from Shell scripts

    Hi,
    I want to call external package procedures, declare some variables & do some oracle validations in the shell script.
    How SQL environment is set in shell script & is this one time process or I have to write few statements before every SQL statement.
    Please explain with an example.
    Thanks..

    is this one time process Yes. Example :
    $ cat script.sh
    export ORACLE_HOME=/home/oracle/base/OraHome10
    export ORACLE_SID=db102
    export PATH=$ORACLE_HOME/bin:$PATH
    sqlplus -s / as sysdba << EOF
    select to_char(sysdate,'dd/mm/yyyy hh24:mi:ss') date_time
    from dual;
    exit
    EOF
    sqlplus -s / as sysdba << EOF
    col global_name for a60
    select * from global_name;
    exit
    EOF
    $ ./script.sh
    DATE_TIME
    27/02/2008 11:11:27
    GLOBAL_NAME
    DB102
    $

  • Call cfunc statement

    HI,
    I would like to know what action the below statement performs
          CALL 'C_RSTS_WRITE'
               ID 'HANDLE'  FIELD hlp_handle
               ID 'BUFF'    FIELD <f>.
    and how can I see the value if written.
    Thanks
    Chaitanya.

    hi this is Calling  a System Function ..
    Effect
    Passes fields to the called program by reference. With "ID id1", you specify the name of a formal parameter, and with "FIELD f1" the relevant field from the ABAP/4 program. If a formal parameter expects an internal table, the latter is passed in the form "FIELD tab[]".
    Example
    DATA RESULT(8).
    CALL 'MULTIPLY' ID 'P1'  FIELD '9999'
                    ID 'P2'  FIELD '9999'
                    ID 'RES' FIELD RESULT.
    Note
    With some critical C functions, the system automatically performs an authorization check. If the user does not have the appropriate authorization, a runtime error occurs. You can check the authorization with the function module AUTHORITY_CHECK_C_FUNCTION.

  • Calling SQL statement from a script problem

    Hello,
    I have a script e.g query.sh:
    #!/bin/sh
    sqlplus -s ${ORACLE_USER} << HIC
    set heading off
    set newpage none
    SELECT 'ALTER TABLE '||'TEST_TABLE'||' ADD PARTITION '||' P'|| TO_CHAR(TRUNC(sysdate+7), 'IYYY')||'W'|| TO_CHAR(TRUNC(sysdate+7), 'IW')||' VALUES LESS THAN(TO_DATE('''|| TO_CHAR(sysdate + 14, 'YYYYMMDD')||''',''YYYYMMDD''));' FROM DUAL;
    exit
    HIC
    This will actually give me: ALTER TABLE TEST_TABLE ADD PARTITION P2010W46 VALUES LESS THAN(TO_DATE('20101122','yyyymmdd'));
    I am executing this output from the second script. e.g create_part.sh
    #!/bin/sh
    SQL=`/home/bill/scripts/query.sh`
    sqlplus ${ORACLE_USER} << EOF
    set serveroutput on size 1000000
    set heading off
    $SQL
    exit
    EOF
    When I am running the 2nd script I am getting:
    SQL> SQL> SQL> SQL> 2 ALTER TABLE test_table ADD PARTITION P2010W46 VALUES LESS THAN(TO_DATE('20101122','yyy
    ERROR at line 1:
    ORA-01861: literal does not match format string
    I suspect that the output from the 1st script wraps to a second line, and it failes to execute properly.
    Oracle is 9i
    Please suggest a way to overcome this problem.
    Thank you in advance.

    If you are not passing in any variable values that you need the shell to substitute intot he source then placing the SQL into a separate .sql file and then just using start scriptname from the shell can simplify the code especially if any shell script meta-characters like '$' appear in the SQL. Otherwise you have to escape the meta-characters.
    sqlplus /nolog <<EOF
    start script_name
    exit
    EOF
    It is also possible to write the sqlplus script to accept substitution variable from the caller so the line above would look like start script_name $var1 $var2
    HTH -- Mark D Powell --

  • How do I call a state change from within a view

    Hey guys,
    I think I might understand how to do this, but I wanted to run it by the forums to see if I understand it correctly..
    So I have a base view (base.mxml) which contains 3 separate 'state' view components - like thus...
    <s:states>
            <s:State name="MinimisedState" />
            <s:State name="MaximisedState" />
            <s:State name="LoginState" />
        </s:states>
    <view:MinimisedView includeIn="MinimisedState" width="100%" height="100%" />
    <view:MaximisedView includeIn="MaximisedState" width="100%" height="100%" />
    <view:LoginPane includeIn="LoginState" width="100%" height="100%" />
    Apologies if this sounds like a gumby question, but how do I get the LoginPane state/view (to dispatch an event) to tell the base view (container) to change states? Say to MinimisedState or MaxmisedState.
    I'm sure this is something really simple, and I don't have a problem doing this when all the states are registered/contained within the same base MXML file - but when it comes to passing events up to the parent (from seperate external mxml views/components) i'm a little confused.
    Any help appreciated

    If I understood your question correctly, there is a tutorial on that in 'Flex in a Week' :
    http://www.adobe.com/devnet/flex/videotraining/flex4beta/index.html
    It covers dispatching events from custom component to main application.
    HTH
    FTQuest

Maybe you are looking for

  • Downpayment is not clearing even after invoice has been fully paid

    Good day to everyone, I am currently having an issue with a down payment not clearing even though the invoice has been fully paid. to my understanding, once the order is fully invoiced- down payments should be cleared as well, am i correct? The order

  • Blackberry IP 74.82.85.5 is blocked with BackScatte​r.

    Hi - I have not been receiving my emails to my BB for 2 days now.  I have just been told that this is because a Blackberry IP address ( 74.82.85.5 ) is blocked with BackScatter.  How long until this is fixed?  2 days is far too long for a simple issu

  • The upgrade N70 is sucks No More Support Chinese C...

    It make me quite frastrated, after I have upgrade the firm for my N70 it no more support chinese character. The worst the font size is ugly and big. Really need helps where to find the firmware. Nokia Online Update really sucks!!!!!

  • Have the Clips, Lost the Timeline

    I've read through the forums a bit, and have not found a specific answer to my problem. I'm sure it's out there, but I'm stressed so I'm throwing it out. I run an old G4 Cube, updated to OSX 10.4. The 20 Gigabyte hard drive is pretty much full, so I

  • Restrict IDoc creation by using deactivate change pointers

    Hi Experts, I am trying to restrict the creation of IDOCS by deactivate the change pointers from a ztable. if the record in ztable and BDCP table match then i should deactivate the change pointer. And restrict the creation of Idocs. pls, suggest me s