FM for Finding Dependent Objects
Hi ,
We are in need of a Function Module, which would be able to list all the dependent Objects of a Field.
For eg : Field - zsodtest contains Data Element - zsodde
Which uses the domain zsoddom.
When the Field is passed as the input parameter for the FM, it should List the DE and the Domain, of the Field.
Hope the Problem is clear.
Expecting reply at the earliest.
Thanks and Regards,
Ajaz
Hello Ajaz
There are two ways to get the required information:
(1) DB View <b>DD03M</b>
(2) Function module <b>DDIF_FIELDINFO_GET</b>
When you provide TABNAME and FIELDNAME the function module will return all meta data in structure DFIES.
Please read the FM documentation and pay special attention to parameter ALL_TYPES.
Regards
Uwe
Similar Messages
-
How to create the change document functionality for a dependent objects?
May I please know how to create the change document functionality for a dependent objects?
I have done it follow the same process as for business process objects. But when i try to test it in BOBT, there is no records under "FIELD_CHANGE_WITH_FILTER". It seems the change hasn't been recorded.
If the way I did to create change document for dependent object is correct, please also kindly advise the possibilities for why there is no record during testing.
thanks in advance.I also have some doubts about the business object.In this case,one abstract BO hase a subnode wihich is root extended.I added the change document for this node under the category "root_extended" and then tested the function in BOBT.I got some error message "can't find the root key".Shall i redefine the method /BOFU/IF_CDO_CREATION~IS_CDO_CREATION_ACTIVE so as to solve the problem?
Thx. -
How to make a script for find text object?
Hi everyone
I want to make a script for find and select text object and then find next, find next, and so on, but without any open dialog
Is that possible make a script for this?
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "(\[\x{2022}\])|(\x{25CF})";
app.findGrep();
thanks
RegardYou already have that. A script does not 'find, select, find next' - it finds all texts as soon as you execute the 'app.findGrep' command.
-
Hi Experts,
I have a transport request having many custom programs in it. I need to transport it to another system. Is there any way to know all the dependant objects for the programs. Are there any tables which store the dependant objects like tables, views, includes, message class, domains, functions etc.
Thank you
Lijo P RajHi,
Otherwise try this .Goto se38 custom program.Click on Display object list -->CtrlShiftF5.It will take you to se80(ABAP Workbench).You will get the used objec list in that custom program in a tree format .You will be able to see the includes,Dictionary structures used,Function modules ,transactions ,and so on used in this program.
There you will get some idea on what are all the dependent objects used in the program
Regards,
Lakshman.
Edited by: Lakshman N on Dec 31, 2009 7:04 AM -
Bex query-KEY date for time dependent objects
Hi
I have one infoobject called 0customer that has one time dependent attribute .called status. I would know how the system works in the following senario for the a given key date(which in bex properties).
question 1)
customer todate fromdate status
1 20071231 20070101 Y
1 20081231 20080101 N
1 20091231 20081101 X
can the data in the infoobject be overlapped? is the 3 rd record is valid in the above example - as months(11&12of2008) overlapping with second record? ? pls advise
question 2)
customer todate fromdate status
1 20071231 20070101 Y
1 20081231 20080101 N
1 20091231 20090101 X
If the keydate is 20080201 which record will it return?would it return the record that has status 'N'?
what does the keydate is compared against? is it with from date or todate or between fromdate and todate? does the query return only one customer record for a given customer when it runs in the query?
Please advise.
Thanks
Vennela1) Normally you cannot activate the data with this constellation. If you have inconsistent master data you can repair with transaction RSRV.
2) The system returns N for key data 20080201.
Best regards
Dirk
Edited by: Dirk Herzog on Nov 19, 2008 1:16 PM -
How to Find Business Objects for any Tranaction .
Hi Abapers,
How to find Business objects for any transcation..... and how to connect the Work flow to any Trancation so that for example any body changes the date of Birth ...... so that the work flow should trigger .
Thanks & Regards
Bhaskar Rao.MHi Bhaskar,
For finding business object,you can try transaction SWO4 and by checking the documentation in it you can find your required business object.
Another method is:
1) Go to Trx SWE4 and switch on the event trace.
2) Run your transaction which you want to use for triggering your workflow.
3) Run transaction SWEL and find your Business Object and related event in it.
For connnecting your WF to your transaction you have to create a start event in your WF in SWDD,where in you specify the Business Object and start event which you find using above method.
Eg.You want your WF to be triggered whenever you have an error in your idoc.For this your BO will be IDOCAPPL and your event will be (inputErrorOccurred).This you will give in header data in SWDD.
Neerja -
Need to find the dependent object details for an object.
Hi,
Is there any query to find the dependent object details for any object. Like if mview is built on a table, then i should be able to find the table name with out checking code of the mview. Thanks in-advance for your support. similar way for view and functions or procedures etc...
Regards
DBA.Hi all,
Thanks a lot for your inputs. seems i have not given full details in my post. I need to have a SQL Query to find the dependent object details not DDL.
if i give a metriealized view name, i should get the base table names directly not DDLs...
if i give index name i should get its corresponding table name(off course i got this already)...
if i give a function name, i should get all the tables which are being in the function...etc...
i am looking for a script which will cover all the aspects.....i hope i have given now enough information for this....
Regards
DBA. -
How to find the number of references created for a given object ??
How to find the number of references created for a given object in a big application environment.
That means, if i give any object name (of my application) as input, then how can i find the[b] number of references created for that particular object ??Please do not post the same question multiple times.
As for your original question, there is no direct way to do it.
Especially not the way you phrased it,
since objects don't have "names".
Applications also don't have "names".
They have classes and instances.
Also, there are 2 related issues, and I'm not sure which one is the one you asked.
#1. Finding the number of references to the same object.
Eg.
Map<String,String> a = new HashMap<String,String>();
Map<String,String> b = new HashMap<String,String>();
Map<String,String> c = a;In this case, there are only 2 objects.
The first object has (at least) 2 references pointing to it.
The second object has (at least) 1 reference pointing to it.
(There may be more, if the HashMap library keeps
references to these things, or if the HashMap object has
some internal cyclic references...)
If you're asking this, then it can't be done.
It's an active research topic in universities
and software research labs, called "alias analysis".
Type it in google, and you'll see people are working hard
and having little success so far.
#2. Finding the number of instances created from a class.
In this case, what you have to do is to add a counter to
the constructor of the class. Every time an object is constructed,
you increment the counter. Like this:
class MyClass
public static int counter = 0;
public MyClass( ) { counter++; }
// Then later in your program, you can do this:
MyClass a = new MyClass();
MyClass b = new MyClass();
System.out.println(MyClass.counter); // It should show 2Note: you won't be able to do this to every class in the system.
For every class you care about, you have to modify its constructor.
Also: when an object is deleted, you won't always know it
(and thus you won't always be able to decrement the counter).
Finalizers cannot always work (read Joshua Bloch's
"Effective Java" book if you don't believe me), but basically
(1) finalizers will not always be called, and
(2) finalizers can sometimes cause objects to not be deleted,
and thus the JVM will run out of memory and crash -
More than one entity found for a single-object find method
Hi everyone...
I have this error when my webservice is running..I don't know what it means and what would be the best solution..
<pns:message>More than one entity found for a single-object find method.</pns:message>
it throws an Exception..
Thanks!= More than one row found in a DB with the "unique" key supplied...
Your method is returning an object where it should return a collection ?
Enjoy -
Need help for finding objects impacted by size change for an infoobject
hi all,
need help for finding objects impacted by size change
for xxx infoobject, due to some requirements, the size to be changed from
char(4) to char(10), in the source database tables as well as adjustment
to be done in BI side.
this infoobject xxx is nav attribute of YYY as well as for WWW
infoobjects. and xxx is loaded from infopkg for www infoobject load.
now that i have to prepare an impact analysis doc for BI side.
pls help me with what all could be impacted and what to be done as a
solution to implement the size change.
FYI:
where used list for xxx infoobject - relveals these object types :
infocubes,
infosources,
tranfer rules,
DSO.
attribute of characteristic,
nav attribute,
ref infoobject,
in queries,
in variablesHi Swetha,
You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
How to adjust tables :
Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
How to collect the changes in TR:
You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
Hope it helps!
Regards,
Pavan -
Consider Dynamic pegging in Strategy parameters for dependent objects
Dear All,
I have specified "Consider Dynamic pegging within the propagation range" in the DS strategy profile for strategy parameters of Dependent objects"
However still when i Do a drag and drop functionality on the detailed scheduling board, system allows me to schedule the operations as and when required without the respecting the pegging.
As per the documentation on help.sap.com , I expect system to move the dependent objects ( dymanically pegged receipts ) as soon as the requirement element is moved on the dashboard so that the dynamic pegging relationship is maintained.
However system is not doing so - it allows me to move the parent requirement anywhere and breaks the dymanic pegging with the dependent receipt.
Has anyone worked with such a scenario earlier.
Thanks for the help!!
Thanks
AmeetHi Tiago,
Thanks for your reply. However I have maintained the said settings in the strategy profile. Also I am not getting any scheduling error for the system to break the pegging relations. Instead I am getting the message "Rescheduling Successful" but with broken pegged relations.
My requirement is that the end time of one order should always exactly correspond to the start time of the subsequent order.
I planned to achieve it by making "Maximum Earliness of the Receipt" as 00:01 in the product master - Pegging tab.
Hence I expected the system to preserve the dynamic pegging between 2 pegged orders as and when any of the two orders is moved on the Detail scheduling board. This seemed to be possible theoretically based on the documentation on help.sap.com. However it is not working as expected - may be I am missing something.
Please let me know if there is any other better way to achieve this functionality.
Thanks
Ameet -
How to find business object for particular tcode at particular event
Hi,
I want to know how i can find particular business object for particular tcode for certain event?
For example suppose for tcode PA40, if i create infotype for employee and when i save it after creating it then it must be stored in certain object. How i can find business object where all data realted to emp. get saved?
Thanks & Regards,
ParagHi Parag,
To get the business object for given transaction,
1) Go to transaction SWELS
2) Switch on the event trace.
3) Go to the given transaction (For which you want to know the business object)
4) Execute the transaction
5) Go back to SWELS and Switch off the event trace
6) Go to transaction SWEL.. Here you will get the Business Object name (one which starts with BUS)
Hope this will help you.
Best Regards,
Deepa Kulkarni -
Unable to find a qualifications catalog for the root object specified-ESS
Hi SDN,
We are getting following exception Unable to find a qualifications catalog for the root object specified when click on Add New Skill in Skills Profile, ESS . It is working fine , if user is assigned sap_all role. This is issue with permissions. Which role need to be assigned to work with Skills Profile in r3. Please help me out.
regards,
Sree.Have a look in table T77S0 for an entry called QUALI ESSST and make sure the object ID stored there matches the appropriate node in your qualifications catalogue.
This setting is designed to be used for restricting ESS users to a particular part of the Quals Catalogue.
If the table entry was configured in your development system, it may not match the obect numbers in your production system. -
D3L "produce" error: unable to find attribute object for top node
Hi
I'm new to this forum, hope someone can help me with this because it's really been causing a headache for a few days now.
I'm trying to deliver a flat file message with an interconnect standard ftp adapter. All the transformations go well but then i get this error message:
oracle.oai.agent.adapter.technology.D3LException: [SmartQueueDispatcher] <struct id="GallupData" name="" comment="" ...>: unable to find attribute object for top node, got `[ stationId: 01
startDate: 040801
(messsage truncated)
emission: 1
]' instead
at oracle.oai.agent.adapter.technology.D3L.produce(D3L.java:391)
at oracle.oai.agent.adapter.technology.TechBridge.messageReceived(TechBridge.java:876)
at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher.java:451)
at java.lang.Thread.run(Unknown Source)
The message is exactly 65570 bytes (in the format written to the log).
Any help appreciated.
Leon SimonsenI finally solved the problem: The name of the d3l xml file must be named with the name of the data type. Just thought i'd let anyone know.
-
How to find the WhereUsed List for a Business Object Event?
How to find the WhereUsed List for a Business Object Event?
Can anybody let me know how to get which
Whereused function will get the data from
different Werks in multi-level?
Any sample program please!!!
Maybe you are looking for
-
Formula for multiple columns in a new table
Hi, I've been using Numbers '08 for a while, but I've only been using rudimentary formulae such as "SUMIF" and "WEEKDAY." Recently I've been trying to put Numbers to better use. One major problem I've run into while writing a formula is this (I'm sur
-
Purchase Requisition with wrong details - Sending back to Originator
Hi Experts, In SAP Purchase Requisition contents found incorrect on the stand of technical specification then buyer do not have provision to send back it through SAP to the originator (Design department) for correction. At present buyer are resolving
-
Different btn dotmatrix print and laser print
hello sap experts how can i print my pld report in dotmatrix print and what is the difference btn dotmatrix print anda laser print thanks in advance regards Jenny
-
Hello, my email is connected to Lotus Notes. When I updated my iPad to iOS 6, it REQUIRED that I have a password for the iPad or else my email wouldn't work or synchronize with Lotus Notes (on my work laptop). This is really frustrating, because I ca
-
This is meant as a general thread for arch users with a Asus Zenbook UX302LG laptop. Sound (ALSA) Put the following in /etc/modprobe.d/alsa.conf for example. options snd_hda_intel enable=0,1 options snd slots=snd_hda_intel options snd_hda_intel index