Package and User Objects of reports/macros/...

Hello,
in my program I need to find out the package of a report. So for example I have a report with an include or macro statement. I know which report is included, but not its package.
The table TRDIR seems to have no information about the containing package and TADIR contains user objects not reports.
For example a global class ZCL_CAR is realized through reports like ZCL_CAR===(...)===CP and so on. Is there a way to obtain the package of arbitrary reports and the object in TADIR that contains that report? And do you know in which cases a user object can contain other reports?
- thanks in advance

Hi clemens heppner,
Package is there in TADIR table itself
See the field DEVCLASS
Or elaborate more about ur requirement...
Also pls have a look on below tables
d010inc, trdir, eudb, title, d020t, trkey, tfdir, tmdir, tadir,
Hope it will solve your problem
Thanks & Regards
ilesh 24x7

Similar Messages

  • Difference between Adhoc package and user created package

    what is the difference between Adhoc package and user created package.
    Thanks,

    Hello Asha,
    Here are some links which would be helpful for you to get started with BPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap bw business planning and simulation - how to guides list.htm
    https://media.sdn.sap.com/public/eclasses/teched04/BW253_files/Default.htm#nopreload=1
    https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/3040dd5d-0501-0010-baa8-fc0aafa88c40 [original link is broken]
    http://help.sap.com/bp_biv235/BI_EN/html/BW/CostCtrPlan.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements bw-bps formerly sem-bps in sapnetweaver 04.ppt
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
    http://help.sap.com/saphelp_nw04/helpdata/en/05/242537cedf2056e10000009b38f936/frameset.htm
    Also sent you some useful documents. Please check your mail.
    Regards,
    Praveen

  • Package and local object?

    Hello Gurus,
    While crating condition table(M/03), I am selecting field combinations(vend, plant, matl etc). After that, I am clicking on Generate button, it is asking me package name(pop up window). If i m avoiding that and clicking on local object, it is allowing me to create condition table.
    My doubt is :
    what is the use package name and local object in this context and why it is asking?

    Hello,
    You have to assign all the transportable development objects to any package (formerly called Development Class) and then only it becomes transportable. If you assign to $TMP package, then it will become local oject which is not transportable and no change request will be generated when your try to save the object.
    Package is nothing but a logical grouping of development objects.
    Thanks,
    Venu

  • Difference in the count of deleted objects in recyclebin and user objects

    Hi
    I m using Oracle 10G in windoes 2003 server. We queried on the recycle bin and the user objects for the deleted objects and found that the count is different. Here are the queries which i used to check.
    1. select object_name from user_objects where object_name like 'BIN$%'; 
    2. select * from recyclebin;
    When i ran 1. in our user mshist and msmodel, the counts were 343 rows in mshist and 514 rows in msmodel.
    when i ran 2. in our user mshist and msmodel, the counts were 353 rows in mshist and 530 rows in msmodel.
    Kindly advise me why exactly is thr the difference as they both are checking the deleted objects in a schema.
    Thanks
    Ram

    Join to views and use MINUS to get the list of nonviewed objects and their types
    select * from recyclebin
    minus
    select object_name from user_objects where object_name like 'BIN$%'; - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • 'PICK' and User commands in reports

    I'm a bit confused about 'PICK' in PF_STATUS.
    I fI define it, does that mean It can only be recognised in LINE-SELECTION , and not in AT USER-COMMAND.
    I've defined a small program and thats what seems to be happening?

    You can see here that the function code PICK is automatically fired when a hotspot is involved and hence the AT LINE-SELECTION event is fired to handle it.
    report zrich_0001.
    data: itstc type table of tstc with header line.
    select-options : s_tcode for itstc-tcode.
    at line-selection.
      check sy-ucomm = 'PICK'.
      call transaction itstc-tcode.
    start-of-selection.
      select * into corresponding fields of table itstc
                 from tstc
                      where tcode in s_tcode.
      loop at itstc.
        format hotspot on.
        write:/ itstc-tcode.
        hide itstc-tcode.
        format hotspot off.
      endloop.
    Regards
    Rich Heilman

  • Packages and returned objects

    Hello,
    I have several packages, one of which (call it package A) has three classes that are basically just structure classes(call them classes x, y, and z). Then in another package (package B), i have a function that creates and returns an object that is of class x type. this works just fine.
    my problem comes when i have to use JNI to retrieve the object of type x. the following function call works fine (i think, doesnt return null):
    jobject jPRData = env->CallObjectMethod(obj, mid, toTN);
    now, i want to get the fields from this object. my problem is that ive tried to read it and it crashes.
         jobject jPRData = env->CallObjectMethod(obj, mid, toTN);
         if(jPRData == NULL){
              cout << "jPRData== null" << endl;
              killJVM();
         else
              cout << "found object method" << endl;
         jclass myClss = env->GetObjectClass(jPRData);
         if(env == NULL)
              cout << "env == NULL " << endl;
         else
              cout << "env okay" << endl;
         if(myClss == NULL)
              cout << "myclss is NULL" << endl;
         else {
              cout << "calling getfield" << endl;
              jfieldID myFid = env->GetFieldID(myClss, "clli", "com/intec/plantrecords/PairData");
              //CRASHES BEFORE RETURNING HERE
              cout << "back from getfieldid" << endl;
              if(myFid == NULL) {
                   cout << "couldnt find field" << endl;
         }the error i get is:
    Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    at getPairData(SByte* )
    at main(Int32 argc, SByte** argv) in c:\documents and settings\..
    but i have tested each item to see if they are null and they arent. just playing around i tried using the variable cls instead of myClss. and it just returns saying that it cant find the field. which is expected because its a different class reference. but i dont know why it is crashing w/ myClss.
    uhmmm....help!? please... :)

    just realized there was a mistake but even corrected it still crashed
    jfieldID myFid = env->GetFieldID(myClss, "clli", "com/intec/plantrecords/PairData");
    should be
    jfieldID myFid = env->GetFieldID(myClss, "clli", "Ljava/lang/String;");
    but i did change the way i found the class of the object. i used FindClass instead and it doesnt crash anymore. gotta convert data to c types and check values.

  • User and Computer memberships are missing after moving computer and user objects using ADMT

    Hi to everybody.
    Source domain Windows 2003. Destination domain Windows 2008. I use ADMT 3.2
    I have noticed 2 issues:
    1. After migrating users, membership to all Bultin domain groups, is lost. Migration of custom groups is completed without any problems prior to start migrating users.
    a. Example 1: user in source domain belongs to Domain Admins, Domain Users and a custom Domain group with the name Test. After moving the user, the membership is as follow: Domain Users and Test! And the worst of all
    is that I believe that Domain users membership was not produced by the migration but from the AD mechanism that automatically gives every new user the Domain Users membership. Look at example 2.
    b. Example 2:user in source domain belongs only to the Domain group with the name Test. After moving the user, the membership is as follow: Domain Users and Test! 
    2. After migrating a computer account from source domain to destination domain I have noticed in the "Local Users and Groups" that the Domain Admins  membership in the Administrators group is missing. 
    Any ideas? I think I am missing something fundamental here. 
    Thank you all in advance. 

    additionally, from the migration log I see the following
    WRN1:7372 ADMT does not process BUILTIN accounts or change the membership of BUILTIN groups (Administrators,
    etc.).
    there is 1 line of the above WRN for each builtin group that the user belongs in the source domain. This
    means that there I have to do this membership update manually? And what if I have 1500 users and 300 groups? 

  • Delete package of user bapi fm

    Hi everybody,
    I need an bapi or fm to delete the package and all objects in it of a user.
    I already know that it stands in the table TADIR. But it has to be a fm or bapi with the possebility of an rfc connection.
    I will have to use this function from one system on more systems.
    Kind regards, Wouter

    [<<This link >>|http://www.sap2048.com/how-to-delete-packages-1403.htm] has some solution, if you need an RFC you can write wrapper on the report mentioned in the link.

  • JAVA Calling Oracle Function and Returning OBJECT

    HI,
    I am working as a developer in java/j2ee project.
    I am facing one issue:
    I need to call Oracle function from java code. Oracle User define function is residing in oracle package and returning Object which contains data.
    Can you please help me
    With Best Regards

    golduniya wrote:
    I need to call Oracle function from java code. Oracle User define function is residing in oracle package and returning Object which contains data.
    Can you please help meIt requires a great deal of Oracle jdbc driver specific code.
    [http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/oraint.htm#1012664]

  • I am mac user and want to create Object in VBA macro. when i write "set objwrd=createObject("Word.Application")"- it returns "runtime error "492" can't create object". now what it alternative to create object for word in excel macro???

    I am mac user and want to create Object in VBA macro. when i write "set objwrd=createObject("Word.Application")"… it returns "runtime error "492" can't create object". now what it alternative to create object for word in excel macro???

    Any help here...
    http://support.microsoft.com/kb/288117
    http://www.macworld.com/article/1154785/welcomebackvisualbasic.html

  • Error trying to run SSIS Package via SQL Server Agent: DTExec: Could not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object

    Situation:
    SSIS Package designed in SQL Server 2012 - SQL Server Data Tools
    Windows 7 - 64 bit.
    The package (32 bit) extracts data from a SQL Server db to an Excel Output file, via an OLE DB connection.
    It uses 3 package variables:
    *) SQLCommand (String) to specify the SQL Statement to be executed by the package
    Property path: \Package.Variables[User::ExcelOutputFile].Properties[Value]
    Value: f:\Output Data.xls
    *) EXCELOutputFIle (String) to specify path and filename of the Excel output file
    Property path: \Package.Variables[User::SQLCommand].Properties[Value]
    Value: select * from CartOrder
    *) VarObjectDataSet (Object) to hold the data returned by SQL Server)
    Property path: \Package.Variables[User::VarObjectDataSet].Properties[Value]
    Value: System.Object
    It consists out of 2 components:
    *) Execute SQL Task: executes the SQL Statement passed on via a package variable. The resultng rows are stored in the package variable VarObjectDataSet
    *) Script Task: creates the physical output file and iterates VarObjectDataSet to populate the Excel file.
    Outcome and issue:The package runs perfectly fine both in SQL Server Data Tools itself and in DTEXECUI.
    However, whenever I run it via SQL Server Agent (with 32 bit runtime option set), it returns the errror message below.
    This package contains 3 package variables but the error stating that a package variable can not be set, pops up for the VarObjectDataSet only.  This makes me wonder if it is uberhaupt possible to set the value of a package variable
    of type Object.
    Can anybody help me on this please ?
    Message
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  6:40:20 PM  DTExec: Could
    not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object.  Started:  6:40:20 PM  Finished: 6:40:21 PM  Elapsed:  0.281 seconds.  The package execution failed.  The step failed.
    Thank you very much in advance
    Jurgen

    Hi Visakh,
    thank you for your reply.
    So, judging by your reply, not all package variables used inside a package need to be set a value for when run in DTEXEC ?
    I already tried that but my package ended up in error (something to do with "... invocation ...." and that error is anything but clearly documented. Judging by the error message itself, it looks like it could be just about anything. that is why I asked my
    first question about the object type package variable.
    Now, I will remove it from the 'set values' list and try another go cracking the unclear error-message " ... invocation ...". Does an error message about " ... invocation ..." ring any bells, now that we are talking about it here ?
    Thx in advance
    Jurgen
    Yes exactly
    You need to set values only forthem which needs to be controlled from outside the package
    Any variable which gets its value through expression set inside package or through a query inside execute sql task/script task can be ignored from DTExec
    Ok I've seen the invocation error mostly inside script task. This may be because some error inside script written in script task. If it appeared after you removed the variable then it may because some reference of variable existing within script task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Project Online - Can't Delete Resource and User from Delete Enterprise Objects

    I would like to link a resource account to a user account but I ran into an error: "The resource account
    is already in use.".  This is a known issue which I attempted to resolve by following the instructions in KB2881398.
    However when deleting the selected resource from Delete Enterprise Objects I get a message indicating success ("The
    selected Resources and Users have been deleted.") but the duplicate user is still in the listing in Delete Enterprise Objects and when attempting to link the remaining resource to a user logon account I still get the error
    "The resource account is already in use."
    Why is the user not deleted even though Delete Enterprise Objects reports success and how can I delete these duplicates to be able to successfully link the account?

    Hi,
    This might be due to your Exchange Sync issue, where your project workspace is unable to delete that user from local DB. Try following steps to diagnose the problem:
    1) Go to your Resource Pool, DELETE a resource.
    2) While resource is being Deleted, open another window 
    Server Settings -> Manage Queue Jobs
    3) Here you can view the progress of your current Resource Deletion update, check if all goes smooth and your Resource is deleted successfully by showing process completion 100% :
     ( to view any error look at the
    last column of table on Manage Queue Job page)
    4) Cross check your Resource by running Resource Availability Report.
    Basically this will give you a fair idea of your resource deletion problems and how system is responding to it.
    Regards

  • System status and user status in Line Item Reports

    Dear PS-friends,
    I have to extend the CI CI_PROJ with some new fields. These fields should be shown in diverse Line Item Reports (CJI3 u2026).
    I know how to get these customer fields into the field catalog for the reports (maintain include table CI_RKPOS, EXIT_SAPLKAEP_001 and ViewCluster V_TKALV).
    Now our customer wishes that 2 of the new fields are: system status and user status. The status should be shown in CJI3 as a concatenated field as you see it in CJ20N.
    In CN42 there is the column system status as a standard column. But I cannot find the structure CNJ_STAT included in V_TKALV for Line Item Report Object=PD.
    Has anybody an idea how it works to show the system status and user status in Line Item Reports.
    Thanks in advance!

    Problem is solved.
    I wrote a function module using FM 'STATUS_TEXT_EDIT' and concatenated line and user_line.

  • Searching and matching user objects between 2 forests

    I have two forests A (old) and B (new)
    I need to compare forest A user objects(~2000) with forest B (~14000) user objects and if they match by any one of the following attributes email, DisplayName or cn ... then, i need to csvde/ldifde the matching objects in a spreadsheet line by line for reporting
    purposes.
    I know how to manually do it using spreadsheet but i would like to automate/script it for efficiency and accuracy. Any scripting help?
    the report should look something like this for all matching objects e.g. email matched in this case, but it could it cn or email also.
    domainname dn
    cn displayname
    email Matched
    forestA fin/users
    user1 user1 last
    n [email protected]
    Y
    forestB ht/users
    user2 user2 last
    n [email protected]
    Y
    thanks
    Navgup

    Hi Navgup,
    Not exactly, however, please refer to the script below, please try to export all the users' information to separate .csv files, and compare this two files with Compare-Object:
    get-aduser -filter * -properties * |select displayname, distinguishedname|export-csv d:\oldforest.csv
    get-aduser -filter * -properties * |select displayname, distinguishedname|export-csv d:\newforest.csv
    $file1 = import-csv -Path "d:\oldforest.csv"
    $file2 = import-csv -Path "d:\newforest.csv"
    $properties=@("displayname","distinguishedname")
    foreach($property in $properties){
    Compare-Object $file1 $file2 -property $property -IncludeEqual -PassThru | Where-Object{$_.SideIndicator -eq '=='} | select displayname, distinguishedname
    I hope this helps.

  • Is Active Directory's ExtensionAttributes9 a field in user object and how to retrieve it in the class type userprincipal?

    Hi, I'm using VS2012.
    I want to use this ExtensionAttributes9 field to store date value for each user object.  I use UserPrincipal class, a collection of these objects are then bind to a gridview control.  Is ExtensionAttributes9 a field in AD user object? 
    How can I access it and bind to the gridview?
    If this field isn't available then what other field can use?
    Thank you.
    Thank you

    UserPrincipal is basically a wrapper around DirectoryEntry:
    http://msdn.microsoft.com/en-us/library/system.directoryservices.directoryentry.aspx and only provides a subset of the Active Directory, although the most common, attributes that are available for the user object.  The attribute that you
    seek is not one of them.
    By utilizing the method that I provided you a link to, it will return the underlying DirectoryEntry that was used to build the UserPrincipal object and should allow you to access the attribute that you seek.
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

Maybe you are looking for

  • Error while trying to add a SQL Script via DB02

    Good Morning and happy Sysadmin day to everyone, I have the following Problem regarding DB2 9.5 I'm trying to run a SQL Script via DB02 in an ERP 6.0 System. I'm using DB02 -> Jobs -> SQL Script Maintenenace -> Add Then there is a Textfield "Script N

  • Importing with a dvcam deck

    So I gave up on trying to import 45 min blocks of video into im08. I am now taking a dvd player, running it through a sony dvcam dsr-11. This allows me to import the 10 seconds I need from many random places. But im08 keeps force quiting. Not that it

  • Impact deletion flag set process order

    If i have "Set deletion flag for old process order" after the same any impact in Finance or production side. Chintan

  • Can Not Install New Zone

    I am encountering an issue with installing a new zone. I can complete the configuration i try to do the install and it returns the errors: # zoneadm -z test install ERROR: No such file or directory: cannot resolve path </etc/default/lu> ERROR: cannot

  • Abstract methods and subclasses

    I have a class, DfContainer that has a method whose return type is of an abstract class, DfObject. There are several classes that extend the abstract class. Each of them has methods that are unique to them. But in order to be able to execute the meth