Determine the superior Org Unit for a given Organisation Unit.
Hi,
I am using the Sequential Access method of accessing the PCH Logical Database.
Is there any macro available to determine the superior Org Unit of the current Organisation Unit being looped at using the GET OBJEC statement.
I cannot access the STRUC internal table as I do not want to use structural access.
At the moment I am using the function module RH_ENTH_READ_STRUCTURE. Is this a good way of doing this or is there any PCH functionality for this?
Any help would be much appreciated.
Thanks and regards,
Priya
Thanks for the input.
I just was concerned if either way would cause a performance issue while i'm already in the GET OBJEC loop.
Anyway, for now I think I'll continue using the function module. I guess a direct SELECT on HRP1001 would require explicit authority check.
If someone else has a comment on this topic do post it in. I have time till next week to finalize on my approach.
Thanks once again Suresh!!!
Regards,
Priya
Similar Messages
-
How to get subordinate org units for a given org unit within specific dates
hi,
How to get subordinate org units for a given org unit within specific datesUse the following Func module ..
HRWPC_RFC_STRUCTURE_GET
*--Get the sub org.unts for the given selection.
CALL FUNCTION 'HRWPC_RFC_STRUCTURE_GET'
EXPORTING
ROOT = root_org <-- Give the Org unit
EVPATH = 'O-O_DOWN'
BEGDA = s_date-low
ENDDA = s_date-high
TABLES
T_OBJEC = t_objec
T_STRUC = t_struc
EXCEPTIONS
NOTHING_FOUND = 1
INTERNAL_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE i000 WITH 'No Sub Orgunits for ' s_objid-low.
else.
*--Prepare final sub org.units tabl.
loop at t_objec.
if t_objec-objid ne s_objid-low.
it_orgunit = t_objec-objid.
it_orgunit-begda = t_objec-begda.
it_orgunit-endda = t_objec-endda.
APPEND it_orgunit.
endif.
endloop.
endif. -
Tour Synchronization issues "determining the root conf name for main system
During sync set up (first attempt) after selecting the sync button during the "determining the root conf main for main system I keep getting a "unknown error".
I have removed the desktop manager, re-installed, updated and same issue.Hey,
Accounts not showing up in the office 365 portal has not got anything to do with ADFS. Generally speaking, the reason that accounts don't show up is because they are not within Dirsync scope.
There are a number of reasons that this could happen:
1.Internal domain name has a '@local' upn suffix. Accounts with this specified as their primary upn will not sync.
2. Any custom sync rules that have been configured within Dirsync may not allow accounts to be synced. For example, if the entire organizational unit structure is not syncing, then not all accounts will appear in the O365 console.
Has the dirsync rules been customized since it was configured?
Regards,
Adrian -
Getting Parent Consolidation Groups for a given Consolidation Unit
Hi Friends,
I am writing a program wherein i need to get parent Consolidation Groups and their Hierarchy levels for a given Consolidation Unit. If anyone has worked on a similar requirement, Please provide me with Function module or logic for the same.
Thanks
Suryahi,
asset-nr = ILOA-ANLNR
Andreas -
How to find Handling unit for a given Sales order...
From which table can we find the Handling unit for a given Sales order?
hi this will help u.
SALES AND DISTRIBUTION TABLES
KONV Conditions for Transaction Data
KONP Conditions for Items
LIKP Delivery Header Data
LIPS Delivery: Item data
VBAK Sales Document: Header Data
VBAP Sales Document: Item Data
VBBE Sales Requirements: Individual Records
VBEH Schedule line history
VBEP Sales Document: Schedule Line Data
VBFA Sales Document Flow
VBLB Sales document: Release order data
VBLK SD Document: Delivery Note Header
VBPA Sales Document: Partner
VBRK Billing: Header Data
VBRP Billing: Item Data
VBUK Sales Document: Header Status and Administrative Data
VBUP Sales Document: Item Status
VEKP Handling Unit - Header Table
VEPO Packing: Handling Unit Item (Contents)
VEPVG Delivery Due Index
with regards,
Hema Sundara,
pls reward if u find it helpful. -
The company I work for has given me an iPhone, but I haven't been able to download any apps. I've created an apple ID account, it claimed that it had been verified, but everytime I go to download something, it verifies again and claims there's an error. I've tried this now with 3 different emails, and the message reads: go to the iTunes support page. I've emailed Apple, and they were extremely unhelpful. I was given the most vague responses by Bidyut from the iTunes Store Customer service team. I would just like to be able to use this phone since I'm paying for it.
It might be helpful if you told us exactly what the error was... If you don't give us specifics, the best you're going to get is vague responses.
-
I am trying to determine the new project preset for a multi-camera video shot as follows: 3 Canon camcorders,
Main shot is DV (tape) (720x480, 29fps) - ceremony and reception
b-roll is DVD (mini-disk) (720x480, 29fps) - bride preparations
additional b-roll is AVCHD (1920x1080, 29fps) - groom preparations and misc all day ceremony and reception.
Film is from a wedding, DV contains main footage so I assume it will need to be the base. I am planning to use the preset for DV-Widescreen. Is there a better option? I'm concerned about playback as the three appear to have different PAR. I'm using Premiere Elements 10 on W8.
Ultimately this will be burned for two formats - one for a DVD that can be watched on a widescreen TV, second for a short clip trailer to go on vimeo.
(And no I won't be doing this again for a wedding that I shoot.)VDRAVES
Please review since I am not sure how you obtained Video 3 tall when you scaled Video 3 with Constrain Proportions in effect.
Before
After
It becomes a zoomed in effect to get rid of the black borders. But, there is no tall and thin involved anywhere.
And, after the Scale increase, you can always click on the screen and move the image around a bit
(without overdoing it to get black borders again).
After and an adjust
Please let us know if you are OK with the information above.
Thank you.
ATR -
FM/Class to find the class and characterstics for a given material
Hi All,
Is there any Class/FM to find the class and characterstics for a given material.I tried some BAPI_OBJCL* BAPI's but lot of the BAPI's need classnum as input parameter. But i need a BAPI or tables or class which can give the class and its characterstic values for a given material.Hi Ben
Try ..
BAPI_OBJCL_GETCLASSES
BAPI_OBJCL_CREATE -
How to determine the creation date/time for a file?
The important operating systems maintain both a creation date/time and last modified date/time for files. But in the File class there is only a lastModified() method. How does one determine the creation date/time for a file?
As far as i know, there is no way to know creation time, since it is a OS dependant information.
-
Unable to determine the install root path for the LabVIEW Runtime Engine
Hi,
i have an issue with using a LabVIEW interop assembly in a .NET application. I get an exception "Unable to determine the install root path for the LabVIEW Runtime Engine" when calling the assembly.
The little test program is attached below. It's called dotNETHost.exe. If you excecute the programm a dialog with an button appears. Clicking the button shall open another dialog (the LabVIEW Interop component). But the only thing I get is the exception message. The ZIP folder also contains the complete exception meassage (ExceptionMessange.jpg & ExceptionDetails.txt).
The Interop Assembly was built with LabVIEW 2011. We use Visual Studio 2010 and .NET 4.0.. The dotNETHost.exe.config file is prepared as mentioned in Knowledge base - Loading .NET 4.0 assemblies.
The Interop assembly contains only one simple dialog (loop is finished by clicking OK) without calling any other VIs or other DLL's. In case of this there's also no support directory generated by the build process.
I have no idea why it doesn' work. I hope anyone can help me.
Thanks in advance
Kay
Attachments:
Debug.zip 75 KBThis may be unrelated, but Labview and .Net4.0 dont work well together. Not yet anyway. I had to compile my assembly in 3.5 to get it to work.
Please read the following:
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/configuring_clr_version/
http://digital.ni.com/public.nsf/allkb/32B0BA28A72AA87D8625782600737DE9
http://digital.ni.com/public.nsf/allkb/2030D78CFB2F0ADA86257718006362A3?OpenDocument
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community. -
How to find out the corresponding planning area for a given infosource?
Hi,
We are in the process of implementing BW-APO in our project.
We have got couple of standard BI infosources and now the task is to identify the corresponding planning area for a given infosource..
Let' say for 0APO_DP_ORDERANALYTICS_1
what is the planning area?
Any help is appreciatable!!!
Regards,
Swapna.GHi Swapna.
You are at risk of putting the cart before the horse here. As Sujay asks, it is important to understand whether you are using the standard provided planning areas. Even then there are a number of different planning areas that may be deployed depending upon the required planning functionality. There then may be the case where standard planning areas are not being used (this is very often the case) which means that your InfoSources might only be good as a template.
All this makes your question virtually impossible to answer.
Maybe if you gave some background as to the status of your project we could help more.
From your question it looks as if you are working on APO-BW outbound (i.e., reporting after the planning has taken place) which would suggest that the design and build of APO-BW inbound and the planning functionality has taken place. Is this the case?
If so, then you need to touch base with your APO technical guys to understand the design of the planning areas and whether your standard 0APO_* InfoSources are suitable.
If not, I suggest you are working back to front and you should be focussing on the APO-BW inbound required to support the planning requirements.
Regards, Mark. -
How to calculate the next incoming PO for a given material/plant in an elegant way
Hi experts,
Given a material and a plant i want to find out when the next PO is arriving. Is there a function module to calculate it?
This is the values i want to retrieve, but this method is not very optimized and can have performance issues:
"Entry un EKPO with material (MATNR), plant (WERKS), and Delivery Completed Indicator (ELIKZ) = blank, select the PO
numbers.
For all the POs, sort in EKET for the field ‘Delivery Date’ (EINDT) to get the next delivery date being
EINDT ≥ Todays day
Take the next PO to be received. Do the calculation (MENGE – WEMNG) for the item
The result of the calculation is the amount still open and that is supposed to be received. "Hi,
You can use the FM: MD_STOCK_REQUIREMENTS_LIST_API. Execute the FM with plant and material number in selection. Now, check the structure: MDEZX which will give you all the requirements for the item. You can filter the items in the structure where MDEZX - DE = BE which will give you only the purchase orders. Also, the items will be sorted automatically based on the date.
Please check the same and revert back.
Regards,
AKPT -
How to find the name of query for a given report
Hi All,
I am having the name of a report and i need to find out the name of query for that report . Plz tell me how to find out the name of the query for a given report.
Thanks.
Regards,
Pooja Joshi.Use this FM
RSAQ_DECODE_REPORT_NAME
This FM takes program name as I/P and gives Query Name as O/P.
This FM uses the structure AQADEF to fetch the data.
Hope this helps.
Regards
Vinayak -
What determines the price and tax for consignment stock?
Hi All,
anyone knows how the price and tax are calculated for consignment stock? in other word, among the info record , contract or material master, what determines the price and the tax calculation for consignment stock?
please advise, your input will be rewarded.
thanks,Ravi,
I have almost same Nancy's problem. I change tax code indicator on ME12 from N0 to N2, after that, I made the invoice verification on MRKO for a consignment material, however tax code N0 (original) was taked for the withdrawal.
I followed up notes:
Note 87860 - Consignment: determining tax code as of 4.0
140675 - Consignment: Determination of tax code transition
But these notes doesn't apply for 4.7. Do you know any note that apply on this version?
Thanks in advance.
Myriam -
How to trace the RevTrac carrying changes for a given system table?
Hi everyone!
In our company we have a case of a change no one in the team states to have done, therefore we do not know the RevTrac number that carries the changes. Currently, the development system is different from the QA, staging and production systems for our ERP.
Is there a transaction/program that traces changes for a given table and field specified accross a given environment-client?HI Nicolas,
I chatted with Rev-Trac support earlier today and here is what they have come back to me with.
Assuming the change in question was carried out in the development system. Changes to fields in tables should in most cases be captured in transports. Assuming it was a transportable change then go to the development system and execute transaction SE16 and query Rev-Trac table /RSC/T_MFM_4T filtering by TABLENAME.
On executing the query you should see a list of transports involved with changes to the transport. You can then check to see if there is a recent transport associated with the change - if so then you can find out who created the transport by using standard SAP functionality."
If you find this doesn't help, then please contact your Rev-Trac Administrator who can then log a support request on our support portal at www.xrsc.com
Hope this helps, Rick
Maybe you are looking for
-
To extend a clip I have `Show Fine Tuning controls' turned on in my iMovie 11 preferences, but the blue forward/backward buttons don't appear. To get the orange handle bar, is there a hotkey?
-
Newly created item through personalization not visible
Hi All, I have added on new item , in a page, Howerver when I clicked apply on that item , once I define the required properties of the item. I am getting this error "Attachment item "%ITEM" has been created successfully, however, it does not have an
-
Creative Video Blaster Webcam Go Mini
I got the Creative Video Blaster Webcam Go Mini with an old computer a long i time ago and im trying to install it into a new computer. I dont have the cd that it came with. Is there a way i can still install it. Its saying that theres something wron
-
Hello All, I am having a two quires , in which one gives the customer order total details, and another query gives the customer order total with refunds and returns. How can I validate my results? I need to verify my query is giving exact results or
-
I have an iPod Classic 160GB and iTunes (Windows 8.1 64bit Computer) won't copy songs to it. It either goes incredibly slow or it just hangs. I can connect the same iPOd to another computer, running Windows 7 64bit, iTunes 11.1.5.5, etc. and it all w