How to find the GL number(SAKNR) using Order number (AUFNR)

I need to find out the GL number (SKB1-SAKNR) associated with the order (AUFK-AUFNR). Can somebody tell me to link the AUFNR to SKB1-SAKNR.
Thanks,
mini

Hi,
Orders are not associated with the G/Ls. The intersection between the two comes from the document itself; the documents are stored in CEOP table. However, you might have defaults for G/L; they are entered via KA02 or OKB9 transactions or via substitutions.
Regards,
Eli

Similar Messages

  • How to find the columns and tables used in a stored procedure?

    Hi,
    Can someone suggest how to find the columns and tables used within a stored procedure?
    Thanks
    VBK

    For example:
    SQL> create or replace
      2    procedure p1
      3      is
      4          cnt number;
      5      begin
      6          select count(*) into cnt from emp;
      7  end;
      8  /
    Procedure created.
    SQL> select  referenced_owner,
      2          referenced_name
      3    from  dba_dependencies
      4    where owner = 'SCOTT'
      5      and name = 'P1'
      6      and referenced_type = 'TABLE'
      7  /
    REFERENCED_OWNER               REFERENCED_NAME
    SCOTT                          EMP
    SQL> SY.

  • How to find the message_ID/Reference_ID from a IDOC number

    hi
    can some one tell me how to find the message_ID/Reference_ID from a IDOC number
    regards
    Buddhike

    hi,
    check the t.code IDX5 .
    also check the below link for reference
    Monitoring the IDOC Adapter in XI/PI using IDX5                         
    Monitoring the IDOC Adapter in XI/PI using IDX5                         
    regards
    kummari
    Edited by: kummari on Jul 28, 2008 9:20 AM

  • How to find the standard Idoc for Transfer Order (LT03)

    hi
    How to find the standard Idoc for Transfer Order (LT03)
    How to create the Idoc on LT03
    plz help me out
    Thank u
    Ram

    Someone is using FM: L_IDOC_INPUT_WMTORD, message type WMTORD and basic type WMTOID01 in doing this when trying to send an Idoc to an external system when a transfer order for a delivery note is created (LT03). Is it OK
    Please reward points

  • How to find the common dimension tables used in Finance AR/PR and GL,

    Hi All,
    I need to find the common dimension table used in the Finance modules (AP,AR,PO,GL...), Since separate teams are working on populating each modules, and we need to find the dependency so that our loads shouldn’t impact others.
    Thanks!
    OBI

    Hi Guys,
    Thanks for all your answers.
    Yes....You are all right. We can list out the used tables upto certain extent. Anyhow, I have done some R&D to derive the SQL's which is given below:
    SELECT TABLE_NAME FROM USER_TABLES
    MINUS
    SELECT DISTINCT UPPER(REFERENCED_NAME)
    FROM user_dependencies
    where
    referenced_type='TABLE' and UPPER(NAME) in
    select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
    'MATERIALIZED VIEW',
    'PACKAGE',
    'PACKAGE BODY',
    'PROCEDURE',
    'TRIGGER',
    'VIEW',
    'FUNCTION'
    UNION
    SELECT UT.TABLE_NAME FROM
    SELECT TABLE_NAME FROM USER_TABLES
    MINUS
    SELECT DISTINCT UPPER(REFERENCED_NAME)
    FROM user_dependencies
    where
    referenced_type='TABLE' and UPPER(NAME) in
    select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
    'MATERIALIZED VIEW',
    'PACKAGE',
    'PACKAGE BODY',
    'PROCEDURE',
    'TRIGGER',
    'VIEW',
    'FUNCTION'
    AND REFERENCED_OWNER=(SELECT sys_context('USERENV', 'CURRENT_SCHEMA') FROM dual)
    ) UT,
    ( SELECT * FROM USER_SOURCE
    WHERE NAME IN
    ( SELECT DISTINCT NAME FROM USER_SOURCE
    WHERE TYPE NOT IN ('TYPE')
    AND
    UPPER(TEXT) LIKE '%EXECUTE IMMEDIATE%'
    ) US
    WHERE
    UPPER(US.TEXT) LIKE '%'||UPPER(UT.TABLE_NAME)||'%'
    AND
    (UPPER(US.TEXT) NOT LIKE '%--%')
    The above SQL Query can list out unused tables by checking the Dynamic SQL Statement also upto some level only.
    Once we extracted the list of unused tables, having a manual check would be also greater to verify as it is should not impact the business applications.
    Regards,
    Subramanian G

  • How to find the Invoice available for Purchase orders

    Hi friends,
    How to find the Invoice available for PO. Please give me the tcodes also.
    Is one PO can have multiple Invoice, then what is the relation between those PO and Invoices.
    Thanks,
    Veerendra.

    Hi,
    Goto ME23N and in the line item choose the PO History tab..
      There you can check if there is any invoice created for that PO..
      Yes one PO can have multiple invoices...
      Check the table RSEG where it has references to a PO and PO line items..
    THanks,
    Naren

  • How to find the list of users  used  transcation from last 2 days plz urgen

    hi friendd
                   i am in need of  knowing the list of users used transcation in last 2 days
    can any one help me . how to find out the list of  users and used trancation in detail or step by step
    thanks in advance .i know that i can see in st03 but i dont find any user list or trancations .
    apart from that so we have any other transcation to see the user in sap abap box
    regards
    raja

    This info has been posted before but here you go (this is an alternative way to Bernhards):
    ST03N, make sure you are in Expert Mode (not Service Engineer)
    Expand Workload
    Expand Total
    Double Click on the day you want to analyse
    You can see transaction details under Transaction Profile -> Standard
    You can see what tx a user has started under User & Settlement Statistics -> User Profile
    If you are not seeing any data then speak to your Basis administrator about what they are doing with the log files.

  • How to find the Navigation in peoplesoft using SQL

    Hi All ,
    I would like to know what are the possiblilites ways to find the navigation in peoplesoft.
    Is it possible to find using only RUN_CONTROL_ID same like Process name , component name ? .
    Please provide the SQL to find the possible ways.
    Advance thanks for your great help ,
    Vinoth Kumar C
    Edited by: 962735 on Mar 14, 2013 4:28 PM

    Hi Vinoth,
    Try this one..
    select distinct prcstype, ltrim (sys_connect_by_path (portal_label, ' > '), ' > ') path from (select * from (select * from psprsmdefn, ps_prcsdefnpnl where portal_name = 'EMPLOYEE' and prcsname = upper('&PrcsName')) connect by prior portal_prntobjname = portal_objname start with ( portal_uri_seg2 = pnlgrpname and portal_reftype = 'C' and portal_cref_usgt = 'TARG')) where portal_reftype = 'C' connect by portal_prntobjname = prior portal_objname start with (portal_objname = 'PORTAL_ROOT_OBJECT' and portal_reftype = 'F')
    Regards,
    Gaurav

  • How to find the objects that are used for a particular BEx query

    Hi ,
    I am preparing the inventory for BEx queries. Means for a particular BEx query I want to know the correcsponding
    1. Selection screen variables
    2. Characteristics
    3. Restrcited, Calculated and normal key figures.
    I have checked all the BEx query related tabe but unable to find the proper relation between these tables to get the desired output.
    Can you help for table joins to get the output as mentioned above.
    Thanks in advance.
    Regards,
    Sai

    Hi,
    you want find the total information about query details use the T  CODE - RSRTQ.
    give the proper selection then execute.
    please find the doc.
    RSRTQ – Query Definition – Multipurpose T-Code on BEx Queries
    Thanks,
    Phani.

  • How to find the users of teamviewer using oracle database?

    Friends,
    DB: 9iR2
    OS: RHEL AS 3
    Client pc: win xp
    We have 3 branches. One of our user accessed our application from the other branch using teamviewer.
    is it possible to find the user from the database side?
    i mean from the v$session or from any other table.
    thanks

    Hello,
    you can use folloiwng script to see the OS user, database user and the programme they are using to connect to database.
    SET TRIMSPOOL ON TRIMOUT ON ECHO OFF VERIFY OFF HEAD OFF FEEDBACK ON LIN 150 PAGES 10000
    set linesize 150
    CLEAR BREAKS COMPUTES
    COL type_grp NOPRINT
    COL logon_time NOPRINT
    COL logontime FOR A14
    COL osuser FOR A21
    COL username FOR A28
    COL lastcall FOR A14
    COL program FOR A50
    --COL program   FOR A&plen
    BREAK ON type_grp SKIP 1
    --PROMPT
    PROMPT **************************************************************** SESSIONS INFORMATION ****************************************************************
    PROMPT
    PROMPT |------- O/S -------|--------- ORACLE ----------| Logon | Last Call | |
    PROMPT |Username | Pid |Username | Pid | 'SID,Ser#'| DateTime | DateTime | TYPE | PROGRAM
    PROMPT |_________|_________|_________|_____|___________|______________|______________|__________|____________________________________________________________
    SELECT ' '||rpad(nvl(osuser,p.username), 9) ||lpad(nvl(s.process,p.spid), 10) osuser,
    rpad(nvl(s.username,' '),9) ||lpad(decode(s.sid,'','',p.spid), 6) ||lpad(decode(s.sid,'','',''''||s.sid||','||s.serial#||''''),12) username,
    to_char(logon_time,'mm/dd hh24:mi:ss') logontime,
    to_char(sysdate - (s.LAST_CALL_ET / 86400),'mm/dd hh24:mi:ss') lastcall,
    s.type,
    nvl(s.program, p.program) program,
    s.type type_grp,
    logon_time
    FROM v$session s, v$process p
    WHERE spid is not null
    AND s.paddr (+) = p.addr and s.username not in('SYS','SYSTEM','SYSMAN','DBSNMP')
    ORDER BY s.type, logon_time, s.sid;
    set head on;
    Regards,
    Anil Malkai

  • Urgent-How to find the tables which are used in  DB02 transaction

    Hi,
    Can anybody help me in finding the tables  in Tablespaces tabstrip & Tables n Indexes tabstrip  in DB02 transaction??

    Hi,
    open the following link.
    http://books.google.co.in/books?id=jTTrZjucb_QC&pg=PA37&lpg=PA37&dq=dbo2%2Bsap&source=web&ots=FgA9pC3u24&sig=sOG3EJRm5HGW2aFpkVVH_oxBjjo&hl=en#PPP1,M1
    Master data load failure
    Reward if Helpful
    Jagadish

  • How to find the attachemnts attached to an order

    Hi,
    I would like to find the attachments for an order both in header level and line level.
    I need to print the attachments in the invoice I'm going to generate.
    Can any one help me how I can find the order attachments.
    I have added a short text as an attachment to one of the orders and I could find the attached short text in
    FND_DOCUMENTS_SHORT_TEXT.
    But how can I join FND_DOCUMENTS_SHORT_TEXT with OE_ORDER_HEADERS_ALL???
    What is the way to find out the attachments of an order?
    T&R
    Balu

    Following query will help you to find out the attachments.
    SELECT a_header.*
    FROM fnd_attached_docs_form_vl a_header
    , fnd_documents_short_text b_header
    , oe_order_headers_all header
    , oe_order_lines_all line
    , fnd_attached_docs_form_vl a_line
    , fnd_documents_short_text b_line
    WHERE a_header.media_id = b_header.media_id
    AND header.header_id = a_header.pk1_value
    AND header.header_id = line.header_id
    AND line.line_id = a_line.pk1_value
    AND a_line.media_id = b_line.media_id
    Regards,
    Ram

  • How to find the list of un used table names in a schema?

    Hi,
    I have a doubt in Oracle. The doubt is that If we are using any tables in Function Or Proc.... Then...We can list all those used table names from USER_DEPENDENCIES system table. Right...
    But, If the table is used with Execute Immediate Statement, then, those table names are not coming out with USER_DEPENDENCIES system table. Because they are identified at run time and not compile time.
    It is fine. And I agree.. But, If I want to list out those tables also...then...How to do? Any idea?
    I think ‘USER_SOURCE’ system table may not be the right one. If there is any other system table avails for this purpose...then..it would be very grateful to extract right...
    So I am wanting that exact system table.
    Please let me know about this, if you have any idea or check with your friends if they have any idea.
    Regards,
    Subramanian G

    Hi Guys,
    Thanks for all your answers.
    Yes....You are all right. We can list out the used tables upto certain extent. Anyhow, I have done some R&D to derive the SQL's which is given below:
    SELECT TABLE_NAME FROM USER_TABLES
    MINUS
    SELECT DISTINCT UPPER(REFERENCED_NAME)
    FROM user_dependencies
    where
    referenced_type='TABLE' and UPPER(NAME) in
    select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
    'MATERIALIZED VIEW',
    'PACKAGE',
    'PACKAGE BODY',
    'PROCEDURE',
    'TRIGGER',
    'VIEW',
    'FUNCTION'
    UNION
    SELECT UT.TABLE_NAME FROM
    SELECT TABLE_NAME FROM USER_TABLES
    MINUS
    SELECT DISTINCT UPPER(REFERENCED_NAME)
    FROM user_dependencies
    where
    referenced_type='TABLE' and UPPER(NAME) in
    select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
    'MATERIALIZED VIEW',
    'PACKAGE',
    'PACKAGE BODY',
    'PROCEDURE',
    'TRIGGER',
    'VIEW',
    'FUNCTION'
    AND REFERENCED_OWNER=(SELECT sys_context('USERENV', 'CURRENT_SCHEMA') FROM dual)
    ) UT,
    ( SELECT * FROM USER_SOURCE
    WHERE NAME IN
    ( SELECT DISTINCT NAME FROM USER_SOURCE
    WHERE TYPE NOT IN ('TYPE')
    AND
    UPPER(TEXT) LIKE '%EXECUTE IMMEDIATE%'
    ) US
    WHERE
    UPPER(US.TEXT) LIKE '%'||UPPER(UT.TABLE_NAME)||'%'
    AND
    (UPPER(US.TEXT) NOT LIKE '%--%')
    The above SQL Query can list out unused tables by checking the Dynamic SQL Statement also upto some level only.
    Once we extracted the list of unused tables, having a manual check would be also greater to verify as it is should not impact the business applications.
    Regards,
    Subramanian G

  • How to find the processor we are using in C code

    I have to run a code on both solaris and linux.But before running the code i want to know which processor it is going to run and accordingly i can insert processor specific functions or code........is there are any preprocessors in c which can help to find it

    By "processor" do you mean the computer chip compiling the code, the computer chip executing the application, or something else?
    Standard C provides no way to find out what chip you are using, but most platforms provide a way, different for every platform. By "platform", I mean the combination of computer and operating system.
    Using Sun Studio on Solaris, the compiler predefines some macros that tell you the class of computer being compiled for. See the C Users Guide for details. On a SPARC system, the compiler predefines the macro __sparc. If I'm compiling for 64 bits, it predefines the macro __sparcv9. On an x86 or Opteron system, it predfines the macro __i386. On an Operton system in 64-bit mode, it predefines the macros
    __x86_64 __x86_64__ amd64   _amd64__
    The Solaris OS provides ways to find out the architectural characteristics, mostly via command-line utilities such as prtconf, psrinfo, and others. Linux provides x86conf.

  • How to find the currently running packages using SSISDB

    Hi,
        I have developed a solution and deployed into the server. So, its under "Integration Services Catalog". I have created SQL server Agent job also to execute it.
    Now, If anyone executes a package using SQL server Agent job or directly from the catalog, is it possible for me to see which package is running currently, using Management Studio?  Is there any inbuilt stored procedure or Table or Function in SSISDB
    to find out which package is running currently?
    In SSISDB, there is a view called calalog.executions - Will that work? The description says, it displays the instances of package execution
    in the Integration Services catalog. But I am not finding anything. Am I doing anything wrong?
    We can right click the package and Go for 'Reports' --> Standard Reports - which is not permitted in my project. I would like to see using Management studio - SSISDB.
    Please help me to find out.
    Thanks in advance!!

    Hi,
    Below query will give you the load details like insertion happening to which table and if you know which table is used in which ETL you can determin what ETL is running. 
    SELECT 
    T.TEXT, 
    R.STATUS, 
    R.COMMAND, 
    DATABASENAME = DB_NAME(R.DATABASE_ID),
    R.START_TIME,
    ESTIMATED_COMPLETION_TIME_In_Hours=(R.ESTIMATED_COMPLETION_TIME/1000)/(60*60),
    CPU_TIME_In_Minutes=(R.CPU_TIME/1000)/(60), 
    TOTAL_ELAPSED_TIME_In_Minutes=(R.TOTAL_ELAPSED_TIME/1000)/(60), 
    R.PERCENT_COMPLETE
    FROM SYS.DM_EXEC_REQUESTS R
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(R.SQL_HANDLE) T
    WHERE T.TEXT NOT LIKE 
    'SELECT 
    T.TEXT, 
    R.STATUS, 
    R.COMMAND,%'
    Thanks Shiven:) If Answer is Helpful, Please Vote

Maybe you are looking for

  • Why won't my USB external keypad work?

    Hi there, I'm trying to set up my Targus Wireless Numeric Keypad (AKP11CA) to my MacBook (OS X). Nothing seems to work. I am supposed to plug in the USB receiver, then turn the keypad on. The first time I did this, the computer recognized that I was

  • Why is the jpg file so large?

    I can't find the reason why this attached image file is so huge?! Lately, when saving an image from Photoshop cc to a jpg image file, the file size has gone up 10 times. It is almost the same as when saving a PNG file. I normally use 9 in jpg quality

  • Dynamic change of PropFlags_IncludeInReport doesn't change data in XML report

    Hi, I have tried to change the contents of my XML report generated in TS3.1 by changing the PropFlags_IncludeInReport. This works for some simple data types like numericteststep where I have removed the limits and step result from the report if the s

  • Performance Appraisal: Automatic updation in case of Manager's Transfer

    Dear All, In performance appraisal Manager(n) is Appraiser and Manager's Manager(n1)  is included as further participant so that he can view appraisals of all employees who indirectly report to him. Now whenever this higher Manager (n1) is transferre

  • Editting a scanned document

    Hello everyone i am new to this forum.  But i am going crazy trying to figure out how to make changes to the text of a scanned document but not change the background picture.  is this possible with adobe acrobat? if not any suggestions?