Pricing Procedure vs Taxation Procedure
Dear all
Can any one explain the link between Pricing Procedure and Taxation Procedure with an example Please?
HI
1.Tax on Purchases - > we will be using " TAX PROCEDURE "
2.Tax on Sales - > we will be using " PRICING PROCEDURE"
Regards,
senthil.
Similar Messages
-
Hi SAP Gurus,
As we can view the pricing procedure and can add/remove condition types to it. similarly can we view the taxation procedure (so as to do the necessary/required modifications in it)
I'm aware of FTXP, FV11and assigning Taxation procedure to country code (TAXINN have been assigned to Countery India)
Ragards,
rajanHi,
Go to SPRO> SAP reference IMG>Financial Accounting (New)-->Financial Accounting Basic Settings (New)>Tax on Sales/Purchases>Basic Settings>Check Calculation Procedure--->Define Procedures. Here TAXINN will be there if u r maintained. U can change it as u want. But It is typical FI area.
Venkatesh -
How to copy total freight value from pricing procedure to TAXINN procedure
Dear Experts,
I want to copy the total freight value from pricing procedure to TAXINN procedure , i think i have to use SUBROUTINE for that but can you guide me what is the routine number and in which coloum i i have to use e.g. requirement, or ALt CAl Typ, or cond Base value ???
e.g.
freight condition type (QTY , freight) will enter manually e.g. 100 Rs and material qty 4 so total freight is 400 Rs this value (400 Rs) i want to copy from Pricing procedure to TAXINN
How can achieve this ????
Thanks and regards
Hanumant NimbalkarHello,
If you want to calculate VAT above Freight, then in Pricing procedure make the Sub total as blank for Freight confition types.
And in Tax procedure, make the condition base value as 363 for VAT condition type.
Make the tax code for 4 % VAT and u'll get the desired result.
This will solve ur purpose.
Regards
Prabhjot Singh Nayyar -
Can crystal allow to call procedure from a procedure?
Hi,
Currently I am using crystal to call a procedure. The procedure will call another procedure by doing some insert statement in the second procedure. I heard that this could not be work, is that true? Is there any other way to do?here is an example of a procedure calling another procedure to do the insert:
SQL> create table test_tab
2 (id number);
Table created.
SQL> create or replace procedure procedure_1 as
2 begin
3 insert into test_tab
4 select nvl(max(id),0)+1 from test_tab;
5 end;
6 /
Procedure created.
SQL> create or replace procedure procedure_2 as
2 begin
3 -- now we call the other procedure
4 procedure_1;
5 commit;
6 end;
7 /
Procedure created.
SQL> execute procedure_2;
PL/SQL procedure successfully completed.
SQL> select * from test_tab;
ID
1
SQL> execute procedure_2;
PL/SQL procedure successfully completed.
SQL> select * from test_tab;
ID
1
2 -
Calling another procedure in a procedure
How can we execute procedure in another procedure?
Try running following code
create or replace procedure child is
begin
dbms_output.put_line('This text from Child');
end;
create or replace procedure parent is
begin
child;
end;
exec parent;
null -
Can we define cursors from in procedure while using .procedure file?
Hi Team,
Can we define cursors from in procedure while using .procedure file?
I have a catalog procedure in which am using cursors and it is working fine. But while trying to create the same procedure using .procedure , the validation is failing with "An error occurred while parsing your procedure".
Request your suggestions.
Regards,
Krishna TanguduHi Krishna,
I also tried to find the validation for procedure and failed. What was on my mind when I posted earlier was related to Window -> Properties -> SAP HANA -> Modeler -> Validation Rules but this is not the same for procedure.
Also the validation error seems to not being raised by Studio but the server, so it's not a frontend validation anyway.
Trying to replicate your error I create two procedures here and both worked fine with cursor.
The behavior you found was the same I found, the .procedure goes to repository and _SYS_BIC after activation and .hdbprocedure goes to catalog only.
As far as I understood as you are moving from catalog (manually) and it worked on catalog (.hdbprocedure), I could check the declaration of table types of header as it's the main difference.
Despite this investigation of declaration, you can try create it on modeler direct and see what you found on .procedure created. This can speed up investigation.
Regards, Fernando Da Rós
BTW: I'm faced an very strange behavior that each caracter I type on .procedure or .hdbprocedure freezes studio by around 15 seconds ?!?!?!?! (studio rev73) -
Call a procedure within a Procedure
hi
How can i call a procedure within a procedure
Thanks in advanceSQL> create procedure b as
2 begin
3 null;
4 end;
5 /
Procedure created.
SQL> create procedure a as
2 begin
3 b;
4 end;
5 /
Procedure created.
SQL> -
Call procedure from another procedure
Hi All,
I have a requirement to call a procedure from another procedure and don't want to return to the main procedure again.please suggest me how to achive this .
thanksuser13424229 wrote:
I have a requirement to call a procedure from another procedure and don't want to return to the main procedure again.please suggest me how to achive this .A very strange requirement.. that perhaps you should expand on in order to get proper technical input and advice from forum members.
Assuming a valid requirement, it should be implemented in the following way:
SQL> create or replace procedure ProcB is
2 begin
3 DBMS_OUTPUT.put_line( 'ProcB(): executing...' );
4 end;
5 /
Procedure created.
SQL>
SQL>
SQL>
SQL> create or replace procedure ProcA is
2 E_CEASE_PROCESSING exception;
3 pragma exception_init(E_CEASE_PROCESSING, -20000 );
4 begin
5 DBMS_OUTPUT.put_line( 'ProcA(): executing...' );
6 DBMS_OUTPUT.put_line( 'ProcA(): doing stuff 1...' );
7 raise E_CEASE_PROCESSING; --// typically a conditional instruction
8 DBMS_OUTPUT.put_line( 'ProcA(): doing stuff 2...' );
9
10 exception when E_CEASE_PROCESSING then
11 ProcB;
12 end;
13 /
Procedure created.
SQL>
SQL>
SQL> exec ProcA
ProcA(): executing...
ProcA(): doing stuff 1...
ProcB(): executing...
PL/SQL procedure successfully completed.
SQL> -
Text Determination Procedure and Incompletion Procedure
Hi Every one,
I want to maintain Two different Text Determination and Incompletion Procedure at Sales Order Header and Item Level.
Can any one send me the complete cofiguration guide for "Text Determination Procedure and Incompletion Procedure for maintaining two Different Procedures at Header-level and Item Level.
Please send it on Priority Basis........
Thanks in advance
Regards
SubramanyamHi,
The fields {Revenue Recognition, Delimit.Start Date, Incompletion Procedure, Partner determination procedure, Text determination procedure and item category statistics grp} which you've mentioned are coming from assignment in spro, so they would remain as it is if you're copying the item category from an existing one...
I believe you create a new one with the existing one in open in one more session.
Hope this will help.
Hrishi -
Unable to call a procedure from another procedure
Hi there,
I have created two procedures under my user login. Both of them have the same parameters.
I was trying to call the other procedure from one procedure and am getting error message.
Both the procedures are saved in different files. I am using LINUX command editor.
Precedure1:
CREATE PROCEDURE remove_emp (emp_no number) as
BEGIN
delete from sailors s where s.s_no = remove_emp.emp_no;
END;
Procedure2:
CREATE PROCEDURE u_table (del_emp number) as
BEGIN
exec remove_emp(del_emp);
END;
/While am calling, this is what I am getting
SQL> exec u_table(1003);
BEGIN u_table(1003); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00905: object RAJIV.U_TABLE is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignoredPlease help me with this.
Thanks
Rajiv
Message was edited by:
RajivTxFirst thing..
PLS-00905: object RAJIV.U_TABLE is invalidMeans..the procedure is not valid...meaning not compiled properly...because...u were using "exec remove_emp(del_emp);".... reason being is exec is valid in Sql*Plus... and u cant use it in a procedure ..with the same syntax ( dont ask me why..) unless u use dynamic sql.. u can directly call the procedure like...
CREATE PROCEDURE u_table (del_emp number) as
BEGIN
remove_emp(del_emp);
END;
delete from sailors s where s.s_no = remove_emp.emp_no;Secondly ... (Just a suggestion).... aliases are better used when u have multiple tables and complex queries..or may be sometimes the table name is too long and confusing... avoid them when not neccessary -
Can we create a procedure inside a procedure
DB version:11g
hi ,
Just wanted to ask you guys like can we create a procedure inside a procedure...if not is there any alternative??
in db2 it is allowed so do oracle support this????
thanksYou probably would have been able to tell quicker if you'd just given it a go yourself.
As Justin showed it's perfectly possible, though I don't personally subscribe to Justin's view that it's rarely appropriate. I go on the principle that if the functionality of a procedure/function is to be used in more than one place then it should be declared independently, but if it's a case of writing a procedure that has to perform a lots of functionality, some of which may be re-used several time within that procedure, then breaking that down into nested procedures for modularity and re-use within it is good practice and makes for more readable and maintainable code.
So, I would say it's more a case of "it depends" and good design will dictate whether procedures should be nested or seperate. -
Calling a oracle procedure within a procedure - Urgent
Hi
Can some one tell me, how to call a oracle procedure within a procedure ?
Thanks
MuraliYou could always try looking in the manuals.
-
Executing procedure within same procedure
Hi all,
Can any one tell me what would be happen if execute procedure within same procedure.
Example :
create or replace procedure print(str in varchar2)
is
begin
print(str);
dbms_output.put_line(str);
exception
when others then
null;
end print ;
Regards,
P PrakashBut, you could call the same procedure in recursion procedure.
This kind of procedure has :
1) action of the recursion procedure
2) condition to go out from the same recursive procedure
SQL> create or replace procedure print(str in varchar2) is
2 num_letters natural;
3 string_tmp varchar2(50);
4 begin
5 -- recursion action
6 dbms_output.put_line(str);
7
8 -- recursion condition
9 num_letters := nvl(length(str), 0);
10 if num_letters > 0 then
11 print(substr(str, 1, num_letters - 1));
12 end if;
13 end print;
14 /
Procedure created
SQL> exec print('abcdefghijkl');
abcdefghijkl
abcdefghijk
abcdefghij
abcdefghi
abcdefgh
abcdefg
abcdef
abcde
abcd
abc
ab
a
PL/SQL procedure successfully completed
SQL> -
Approval Procedures and Stored Procedures
Hi All
I have a problem with approval procedures and stored procedures.
I created an approval procedure to check if a value in the udf is selected or not . if not then a messge is produced to ask the user to select the person to approve the PO.
Biut now the problem is the PO's are linked approval templates to the error messge don't show before the approval template screen.
Please assist.
Thanks
Bongani DlaminiHi Gordon
The stored procedure is just for validating if the user has selected the udf value.
It is not for approval*
I created an approval template for this purpose. So my problem is when I add the Po to the system the SP doesn't kick-in and alert the user to select the person to approve the PO.
Process Flow.
User captures PO then select the value on the UDF Field ( Approver) The value selected is linked to a query which is used by the Approval Template
If this method is still not supported then please let me know .
Thanks
Bongani Dlamini -
Call Sub Procedure in Main Procedure
Dear all,
I write the follow code,but it does not work. Please help, thanks !
CREATE OR REPLACE PROCEDURE CCC_BOM_PRC
IS
PROCEDURE CCC_BOM_CRE_SEQ_PRC
IS
BEGIN
xxxx.....
END;
PROCEDURE CCC_BOM_CRE_TABS_PRC
IS
BEGIN
xxxx....
END;
PROCEDURE CCC_BOM_SPLIT_PRC
IS
BEGIN
xxxx........
END;
PROCEDURE CCC_BOM_UPD_DATA_PRC
IS
BEGIN
xxxx.....
END;
BEGIN
CCC_BOM_CRE_SEQ_PRC;
CCC_BOM_CRE_TABS_PRC;
CCC_BOM_SPLIT_PRC;
CCC_BOM_UPD_DATA_PRC;
END;
SQL> @D:\CCC_BOM_PRC
已建立程序.
SQL> EXEC CCC_BOM_PRC
PL/SQL 程序順利完成.
SQL>you can create 5 procedure in a package (Pakage1). All of the procdures are independent in package. You can call 4 procedure in the 5th (main) procdure in the same way like
CREATE OR REPLACE PROCEDURE CCC_BOM_PRC
IS
BEGIN
CCC_BOM_CRE_SEQ_PRC;
CCC_BOM_CRE_TABS_PRC;
CCC_BOM_SPLIT_PRC;
CCC_BOM_UPD_DATA_PRC;
END;
To run this code your statement in SQLPLUS will be like that
Exec Pack1.CCC_BOM_PRC ;
Maybe you are looking for
-
Link to directories containing index.htm
I've got a question that I've been trying to figure out for some time. I'm fairly well versed with dreamweaver, but some of the server stuff is a bit hazy to me. Question: Within dreamweaver, if I link to a subdirectory that has an index.htm page in
-
I just recently upgraded from an iPhone 4 to an iPhone 5. I went to plug it in to iTunes to get everything back on to my new phone and it says it cannot do anything until I update to the latest version of iTunes. But, when I go to upgrade my iTunes i
-
Af:clientlistener not working in af:column header
Hi I am using jdeveloper 11.1.1.5.0 and my browser is IE 8. i have added client listener property in af:column to show the tooltip message on 'mouseover' action. This property is working fine If i am using inside the af:inputDate components. but, sam
-
Two scripts not aligning correctly, 200px Width each, Link inside
Hello all, I have a slight problem, I am attempting to align a twitter script and another script on one page, next to eachother, yet no matter how small I make the width of the style div, they remain on two individual alignments, one below the other.
-
Lookup while you type feature in OBIEE
Hi I am looking for a "lookup while you type" feature for dashboard prompts in OBIEE 11g. The feature should let the user type in the search term for a filter/dimension and should suggest all possible values based on the partial search term the user