How to determine current tax configuration owner (content_owner_id)
I am attempting to query zx_rates_b to find a record where tax_rate_code = '6X' to find only the record for the current configuration owner. In 11i, we used the organziation id to identify the correct record.
The following query returns too many records and need to be limited by content_owner_id.
SELECT zrat.tax_rate_id, zrat.tax_rate_code --atco.tax_id, atco.tax_rate
INTO v_tax_code_id, v_ap_tax_rate
FROM --ap_tax_codes_all atco,
po_vendor_sites_all pvsi, zx_rates_b zrat
WHERE pvsi.vendor_site_id = r_ooli.execute_vendor_site_id
--AND atco.name = pvsi.vat_code
AND zrat.tax_rate_code = pvsi.vat_code
--AND atco.org_id = r_ooli.debited_org_id
--AND atco.enabled_flag = 'Y';
AND zrat.active_flag = 'Y'
AND trunc(sysdate) between zrat.effective_from and zrat.effective_to;
How should I determine the content_owner_id?
This code is executed during a concurrent request
ZX_TAXES_B, ZX_STATUS_B and ZX_RATES_B tables contain content Owner Id column... you have to first find out the relevant content owner id from the complete list of options that are available, then hardcode the same to your SQl query to narrow down on unique record ...
Regards,
Ivruksha
Similar Messages
-
How to determine current period start and end dates
Hi All,
If given previous period start date and end date, how to determine current period start date and end date?
Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
Can you please suggest an FM to determine the current period dates?
Thanks & Regards
Gowthami>
gowthami karunya wrote:
> If given previous period start date and end date, how to determine current period start date and end date?
> Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
Hello,
I am assuming you have the Company Code with you & proposing this solution.
TABLES: bkpf.
PARAMETERS:
p_bukrs TYPE bukrs.
SELECT-OPTIONS:
s_date FOR bkpf-budat.
DATA :
l_perio LIKE bkpf-monat,
l_poper TYPE poper,
l_year LIKE bkpf-gjahr,
l_spmon TYPE spmon,
l_periv TYPE periv,
l_date1 TYPE datum,
l_date2 TYPE datum.
CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
EXPORTING
companycodeid = p_bukrs
posting_date = s_date-high
IMPORTING
fiscal_year = l_year
fiscal_period = l_perio.
CONCATENATE l_year l_perio INTO l_spmon.
* Get the next period
IF l_perio < 12.
l_perio = l_perio + 1.
ELSE.
l_perio = '01'.
l_year = l_year + 1.
ENDIF.
MOVE l_perio TO l_poper.
SELECT SINGLE periv INTO l_periv
FROM t001
WHERE bukrs = p_bukrs.
IF sy-subrc = 0.
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = l_year
i_periv = l_periv
i_poper = l_poper
IMPORTING
e_date = l_date1
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = l_year
i_periv = l_periv
i_poper = l_poper
IMPORTING
e_date = l_date2
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE: / l_date1, l_date2.
ENDIF. -
How to incorporate Current Tax Period in Select Query.
i need to extract the data based on the Current Tax Period
say current tax perios is
06-04-2007 to 05-04-2008
how to incorporate this in my select query.
i need to fetch
PERNR
BEGDA
ENDDA
STAT2
FROM PA0001 INTO TABLE IT_P0001
for all entries in T_TXT_UPLOAD
WHERE PERNR = T_TXT_UPLOAD-PERNR.
In this t_txt_upload is an internal table.(input file which is taking using GUI_UPLOAD).Use this FM HR_ID_TAX_YEAR to get the starting and end date for tax year and pass the date to your SELECT command for BEGDA & ENDDA.
Regards,
Amit
Reward all helpful replies.
<b>P.S</b> Close the queries when get solved. -
11i: How to determine current CU level?
I'm new to 11i and would like to know how to determine if we are running 11.5.10 CU2?
I was hoping to find a SQL statement or some configuration file somewhere that would provide definitive information about the installed "consolidated update".
Thx.
Don903322 wrote:
I'm new to 11i and would like to know how to determine if we are running 11.5.10 CU2?
I was hoping to find a SQL statement or some configuration file somewhere that would provide definitive information about the installed "consolidated update".SQL> select release_name
from fnd_product_groups;
https://forums.oracle.com/forums/search.jspa?threadID=&q=RELEASE_NAME+AND+fnd_product_groups&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
From the application: Help > About
Thanks,
Hussein -
How to determine current ORACLE XE db has been used
I installed the BPA Architect, and it seems all right.
during stalling process, I've choiced using XE db, but can't find any schema throug XE admin tools.
how to determine which db is been used in Architect?Hi,
Lockservice.cfg file in your config folder contains the details of Database being used by your Business Process Repository.
Regards
ashish -
How to determine Service Tax in sales order
Dear Guru's
What all the configuration setting that are required for determine the Service Tax in the sales order for service Item we are using Tax procedure for India u2013 TAXINN.
Regards,
BhanuFollowing SAP Notes to be referred for Service Tax:
1. 778976 u2013 Service Tax and Ecess on Service Tax
2. 1032265 - SEcess on Service Tax
Regards
AK -
How to determine current used ip address is from company wifi
Hello guys, currently doing an attendance app (ios / android) for user to check in / out (will capture location coordinate, current used IP and etc, then send back to the server). Besides will use C# web as back-end reporting.
At back-end reporting how do I determine or check the IP address being used is from company WiFi or not ?
The purpose of this is because ensure the user check in / out within the office area. On the other hand, sometimes user will outstation at client side and check in / out by using the app (ios / android).
Besides, any better ways to do this ?
ThanksHi loonloon,
Based on your description, your case related to ios / android app. Both of them are third-patry mobile product. I am afraid this is out of our support. Thanks for your understanding and effort.
Best regards,
kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Graphics2D: How to determine current stroke width?
I am trying to do something that sounds like it should be easy: I need to determine the current width of the stroke that is currently in effect in a Graphics2D. Graphics2D has a method called getStroke() which returns a Stroke. This in turn is an interface to BasicStroke which does have a getLineWidth() method.
I don't seem to be able to conect the two. I don't know how to call a method in an object to which I only have an interface. Any advice on how to do this?Thanks Kaj. That is the right answer. I was screwing it up by having the cast nested inside a bigger expression. Made me doubt my own knowledge. All is OK now.
-
How to determine current state of resource group?
Good morning!
I'm in the process of creating a monitoring policy which would alert if a specific resource group is in a state other than "online". Is there a command line executable available that I could utilize which would return the current status of a resource group? I know that the status is written to the /var/adm/messages file, but parsing that would be my last resort.
Thanks!Check out:
man -M /usr/cluster/man scha_resourcegroup_get
in particular the options:
-O RG_STATE
and
-O RG_STATE_NODE
Tim
--- -
How to determine raw disks configured for OCR/voting disk, ASM spfile
I have a two-node Oracle 10gR2 RAC configuration using raw disks. Basically, raw disks are used for CRS's OCR/voting disks, ASM's ASM spfile and disk groups.
Is there a better way to figure out what raw disks are configured in Oracle using methods other than those shown below:
- To find out votedisk:
# crsctl query css votedisk
0. 0 /dev/ora_crs_vote1
1. 0 /dev/ora_crs_vote2
2. 0 /dev/ora_crs_vote3
- To find out OCR:
# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 525836
Used space (kbytes) : 3856
Available space (kbytes) : 521980
ID : 1603037329
Device/File Name : /dev/ora_ocr_file1
Device/File integrity check succeeded
Device/File Name : /dev/ora_ocr_file2
Device/File integrity check succeeded
Cluster registry integrity check succeeded
- Is there a way to figure out what disk device is used for ASM spfile?
- To find out raw disks configured for disk groups:
while connected to the ASM instance in sqlplus:
SQL> select name,path from v$asm_disk where name like 'DG%';
NAME
PATH
DG_DC_ASM_0000
/dev/rhdiskpower13
DG_DC_ASM_0001
/dev/rhdiskpower14
DG_DC_ASM_0002
/dev/rhdiskpower15
NAME
PATH
DG_DC_ASM_0003
/dev/rhdiskpower22http://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABFFBBA
and
Configuring raw devices (singlepath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 465001.1]
Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 564580.1] -
How to determine current SIMMs installed in 2801?
Hi,
I have a remote 2801 with 128MB DRAM installed, but need to know if it exists of 1 x 128MB SIMM or 2x 64MB SIMM. Is there any way to determine this remotely (like you can with the 3640 series)?
If not, any one happen to know what is the default (1 or 2 banks) for the CISCO2801?
Thanks,
LeoHi Leo
Cisco 2801 routers have 128 MB of SDRAM soldered onto the system board.. You can install an additional DIMM in the DIMM connector to expand system memory to a maximum of 384 MB.
For more info:
http://www.cisco.com/en/US/products/ps5854/products_installation_guide_chapter09186a00802c5ad8.html#wp1026137
HTH -
Apple Configurator: "Unable to determine current price of app"
I'm trying to import an free app to the Apple Configurator. Every time I attempt this I get the error message "Unable to determine current price of app."
I've tried creating a new Apple ID to download the app, swapping the Apple ID associated with Apple Configurator, different phones (I have 25 to deploy) and all with the same problem.
I can only find one other mention of this problem http://techrecess.com/2012/03/supervising-devices-with-apple-configurator/ and there's no solution. I'm hoping somebody else will ahve experienced this and found an answer.
Thanks in advance for any help you can provide.I think you may have given me the solution. I'll ask the company to make the app available on the US store too and I'll see what happens then.
I might file a bug report or similar with Apple. It would be useful if the configurator checked via the store relevant to the country that the account is registered with. Partially defeats the point of setting an account in the configurator.
Thanks for your help. -
How to determine which configuration is being used within a page/view?.
If I click on the little cog icon to take me into the AET for a given assignment block, how do I know which configuration is being used?. Usually one is highlighted, but the case of the Accounts main address assignment block these details are not shown. As there probably 30 of them I though there must be a quick way to determine which is being used from within the view/page.
Anyone
JasHi Jason, (great performance at the Transporter, but go easy on the steroids )
There are 2 ways to know that:
1. put your focus (not in the configuration mode) on one of the fields that are on the block. then press F2. Here you get a popup where there is the configuration searched for and the configuration found.
2. Within the configuration, when there is no configuration with the configuration key linked to your business role present, the system takes the <DEFAULT> one. there should at least one be highlighted, otherwise you get a dump NO_CONFIG_FOUND.
When you just press the copy button on the configurations tab, you get your configuration defaulted, this being, the configuration key linked to your business role + the search for component, usage, and subcomponent. here you see what was searched for.
Hopefully this helps you out a bit.
KR,
Micha
Edited by: Micha Van Nijen on Apr 20, 2010 3:03 PM
Edited by: Micha Van Nijen on Apr 20, 2010 3:07 PM -
How do I determine current firmware version for WRT54G
I've been poking around the site a bit, and note that there are mandatory upgrades to various firmware versions. I'd like to upgrade if necessary, but have no idea how to determine what firmware version I have right now.Message Edited by shelmart on 12-17-200605:36 AM
What is the excact hardware version # of your router? U can find that underneath the router itself, there's a sticker there & its just right below the Linksys Logo. If its version 5 or 6, u can go to this website: www.linksys.com/connect . Download & save Easylink Firmware Tool & then before u run that file after saving, disable first all your internet security like firewalls & anti- virus coz it will block the connection of this software from running properly. That EFL will automatically upgrade the firmware of your router.
-
How to manual maintain TAX condition value while creating sales order
Hi
I am creating one Tax condition suppose JLST without access sequence .
while creating sales order I am manually maintain the % value of TAX. suppose it is 1%
then I see It show some value in TAX .
save that sales order & creating delivery document for that but when I create Invoice its show error.
" Tax code in procedure CMTAXP is invalid ".
I know the configuration only for Tax condition with vk11 condition record .
BUT now I want to maintain TAX condition at the time of creating sales order.
so I remove the access sequence of that condition .
but It shows tax code error while billing.
My main question is that If i maintain condition record while creating sales order then how i can assign Tax code .
Can it is possible ?
if yes then How?
please help me.
thank youHi,
The "straight-forward" answer for Tax Code creation is contact the FI consultant. He shall help you, by creating Tax codes.
I have tested, with creating a tax cond type (copy of MWST) & manually entering values. I can create Sorder, Dlv and Bill but I cannot create an Accounting document. That is because of every line (amount) a Tax code is necessary.
I THINK, you can NOT have manually filled tax codes; access sequence is needed to get the tax value (%) and the Tax code from the condition record.
There is lot of material on the web to understand Tax classification, code etc. etc. See a useful link below -
http://www.sapgeek.net/2010/04/sd-determines-tax-code/
In short Tax code is a must and take the help of your FI consultant for the configuration of the same.
BTW - Tax code is already made created for MWST, therefore I suggested that you can use MWST. Furthermore, you can change the values corresponding to Tax codes in FTXP.
But if you are a beginner in these things, better take help.
Maybe you are looking for
-
Libx32-glibc fails to build - /usr/bin/ld: cannot find -lgcc
I am trying to run steam using my own runtime libraries, however I'm missing libcrypt.so.11 After trawling through a chain of dependencies, I'm stuck on libx32-glibc. When attmpting to build libx32-glibc I encounter an error while gcc is trying to co
-
Change default language in SU01 (CUA)
When starting transaction SU01 in the CUA (ECC 5.0) the language field is already filled in with EN. I want this field to be empty when starting thsi transaction OR I want to be able to change the default language to NL. Could anyone explain me how
-
K7N2G + Athlon1700XP = no boot plz help!
hEY! i just bought my system and i have a similar problem that lots of people had before. When i turn my PC on (my monitor is connected to the integrated video card) there is no signal and there is no sound beeps, on the D-bracket the leds are 1-red,
-
ORA-30014: error while database is getting created
hi , I ma trying to create a database in oracle10g, My sql file is as follows: create database foo maxlogfiles 16 maxlogmembers 3 maxdatafiles 30 maxinstances 1 maxloghistory 100 datafile '/db05/foo/system.dbf' size 300M extent management local sysau
-
What is a self-assigned ip address
I am unable to get a wi-fi signal when I go into system preferences/network it says self-assigned ip ? Does any know what this is and how do I get a wifi signal.