Getting Pricing Procedure Name CRM_COND_COM_BADI- item
Is there any function module that I can call to get the Pricing Pricedure name used in the order. I want to determine the same in the CRM_COND_COM_BADI - ITEM_COMMUNICATION_STRUCTURE. So What I have is the irem GUID.
Thanks,
Ravi
Hi Shanto,
Thanks for the response.
But which structure from this FM has the pricing procedure name? can you give me more details to the field and the structure level because I cehceked the structures from this function module and it does have pricing conditions details but I could not find the Pricing procedure name field.
I might be missing it so it would be great if you could get me the field level deails.
Ravi
Similar Messages
-
How to create pricing procedure with these items
hello sd gurus,
i am to configure pricing procedure with this items
condition type : Price --> statics
cost
FOC with tax base
FOC with tax
profit margin
discount
this is for free of charge item...'
is this possible?
thank you very much!hello sd gurus,
i am to configure pricing procedure with this items
condition type : Price --> statics
cost
FOC with tax base
FOC with tax
profit margin
discount
this is for free of charge item...'
is this possible?
thank you very much! -
How do I get the procedure name
Hi,
With help of our application we are updating one table (P_Balance) in this account status and date through some procedures.
in some situation only account status column get proper value, but date column having NULL value.
Now we decided to track this, through which procedure this date column get updated null value.
For this I decided to write one trigger for the table "P_BALANCE" through which procedure this update is happening.
How do I get the procedure name.You could use DBMS_UTILITY.FORMAT_CALL_STACK and do it. Something like this.
SQL> create table track_call_stack
2 (
3 program_name varchar2(30),
4 call_stack varchar2(4000)
5 );
Table created.
SQL> create table t
2 (
3 no integer
4 );
Table created.
SQL> create or replace trigger t_trig before insert on t for each row
2 begin
3 if :new.no is null then
4 insert into track_call_stack
5 (
6 program_name,
7 call_stack
8 )
9 values
10 (
11 'T_TRIG',
12 dbms_utility.format_call_stack
13 );
14 end if;
15 end;
16 /
Trigger created.
SQL> insert into t values (null);
1 row created.
SQL> select * from track_call_stack;
PROGRAM_NAME CALL_STACK
T_TRIG ----- PL/SQL Call Stack -----
object line object
handle number name
3a7ac0ea8 1 anonymous block
3a2bb9d78 3 ARBORU.T_TRIG
SQL> create or replace procedure p1
2 as
3 begin
4 insert into t values (null);
5 end;
6 /
Procedure created.
SQL> create or replace procedure p2
2 as
3 begin
4 insert into t values (1);
5 p1;
6 end;
7 /
Procedure created.
SQL> exec p2;
PL/SQL procedure successfully completed.
SQL> select * from track_call_stack;
PROGRAM_NAME CALL_STACK
T_TRIG ----- PL/SQL Call Stack -----
object line object
handle number name
3a7ac0ea8 1 anonymous block
3a2bb9d78 3 ARBORU.T_TRIG
T_TRIG ----- PL/SQL Call Stack -----
object line object
handle number name
3a7ac0ea8 1 anonymous block
3a2bb9d78 3 ARBORU.T_TRIG
3a2b32a10 4 procedure ARBORU.P1
3a61db6a8 5 procedure ARBORU.P2
3a653c3a0 1 anonymous block -
Get pricing procedure data in COND_COM BADI
Hi All,
Does any one know which FM i need toc all to get the Pric procedure info in COND_COM BADI??
Regards
VijayHi,
It would be wiser to call two FM's instead of one to get the required info....since most of the CR_ISA* FM would again internally call a BADI which may be a problem or if you do a CRM_ORDER_READ it would unnecessary be a performance issue at times when you have lot of items in the basket.
So the best approach would be to call as follows:
CRM_ISA_SHOP_READ - Read the process type from Shop
CRM_ORDER_DOC_P_PROC_SEL_CB - Then read the pricing procedure
Regards
Sidd -
Is it possible to get oracle procedure name from an ORA-06576
I got a 'ORA-06576: not a valid function or procedure name' exception from java, is there any generic way to get the actual procedure name once this exception happens?
Edited by: qjvictor on Aug 27, 2012 9:08 AM>
// following is a simple function which call a SP.
>
Thanks for posting the sample code. I can reproduce what you are reporting. That error message is a generic Oracle error and, as you indicate, does not include any specifics about what was being searched for and not found.
If you have an Oracle support contract you might check MOS to see if there have been any similar requests submitted or you could file an SOR with Oracle.
There are no workarounds that I am aware of other than to use a variable to hold the name of the procedure and then on an exception use the variable as part of your error reporting. So instead of this
final CallableStatement c = con.prepareCall("call SP_NAME(?,?)");you would need to split out the procedure name and construct the string dynamically
String procName = "SP_NAME";
final CallableStatement c = con.prepareCall("call " + procName + "(?,?)"); -
How to get the store procedure name inside this store procedure?
how to get the store procedure name inside this store procedure?
Why cant you get the procedure name as hard code as the proc name is going to change.
Are you looking for getting the parent proc name from child proc name which is getting executed within parent proc?
Try the below:
--Parent Proc
Alter Proc sp_test
as
Begin
Declare @s varbinary(MAX) = Cast('sp_test' as Varbinary(MAX));
SET CONTEXT_INFO @s;
exec sp_test2
End
--Child proc
Alter proc sp_test2
as
SELECT Cast(CONTEXT_INFO() as varchar(100));
--Test execution
Exec sp_test
Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
[Blog] -
How to get Stored Proc name from ReportClientDoc object (java)
Post Author: cpriyanka
CA Forum: Exporting
We are using Crysta Report 9 and Java.
We create ReportClientDocument by mentioning report template name ("rassdk://" + report template file path).
Once I open ReportClientDocument, is there way I can get stored procedure name that is used (associated to report template) to get data in report.
Thanks,
PriyankaPost Author: cjmorris1201
CA Forum: Exporting
Priyanka,
I am not too sure about the ReportClientDocument and java.
Where I work we use 8.5, .Net. We use ttx files to define our data source.
I can use something similar to below to retrieve the ttx name programmatically. Perhaps you can use something similar:
oCrystalSession.oRpt.Database.Tables.Item(1).Name
Good luck! -
Making Customer Pricing procedure mandatory in BP Role-CRM 5.0
Hi
Our requirement is to make Customer Pricing procedure mandatory in BP Role "Sold to Party"-CRM 5.0. I have configured for the same in IMG Field Grouping. Now when a end user goes for BP creation & goes to Sales area maintenance then an error message is displayed for the same.
But if only general data is maintained then this message is not displayed. Now requirement is to display an error message if a person leaves without maintaining sales data.
Please help me in resolving this.
Thanx in advance.
Cheers
HitsIn the completeness procedure detail, use the object Pricing and field Customer pricing procedure. relevance header / item or both, message category - Error
Hope this helps
<b> <i> IceCube </i> </b> -
Pricing procedures and condition type table relation
Hi all
i m facing a problem while printing the tax procedures description in debit note and creditt note a Zprogram.
im not able to link between Pricing procedures and condition types , that is how to get pricing procedure from a condition type ? which tables can be used for this?
already i ve checked T007s,t007a,t685t,t683..
how to get the pricing procedures acording to condition type and tax code?
please reply me as soon as possible?
thanks
sachhidanandaHi,
Check out the Table KONV
This will help u
Rgrds
Sandeep -
Pricing Procedure in Opportunity
Hai Experts,
Where can we see the Pricing procedure in Opportunity Transaction, for example we can see the pricing procedure in Prices Tab for Quotation, similarly where can we see that for Opportunity?
Thanks and Regards,
TejaHi Teja,
In opportunity the Pricing Procedure is not viewable directly as in Quotation or sales Transaction.
But you may view the Pricing Procedure in the Item Level Accesses information for a particular Condition record.
Also for checking what Pricing Procedure is assigning you may also check for Assignments carried out for Pricing Procedure assignments in "Determine Pricing Procedures"
Refer the Link for Detailed Info:http://help.sap.com/saphelp_crm50/helpdata/en/8c/1d4c4059466f13e10000000a1550b0/frameset.htm
Hope it Answers your Queries..
Revert Back for Further Doubts..
Thanks and Regards,
RK. -
Hi Freinds
How do we do the pricing procedure for import items in TAXINN.
Here for local items we define the calculation procedure by going into fin acc(new)- Fin Acc Global setting(New)-Basic Setting-Check Calculation Procedure. There we define Access sequence, define conditions and procedures.
By selecting procedures - we select TaxINN and select Control data were we sequence the steps.
Then using FTXP we just create Tax codes.
Then we go to FV11 and for comb of vendor-material-plant we assign the conditions and the tax code.
I hope i have done all necessary things.
Now how do i cater to imports?
Kindly help.
Regards
EldeeHi Edlee
as far as Import PO is concern you will have to define the Pricing Procedure for Import PO by including the CVD condition Type like
JCDB Basic customs duty
JCV1 CVD Percentage
JECV Edu Cess on CVD
J1CV SECess on CVD
JEDB ECess Basic customs
after that you will have to maintained the CVD Percentage condition-JCV1 in in first column of Excise default against TAXINN
Thanks -
Getting the item name in the pricing procedure
Hello Experts,
I am working in VMC Pricing exits for CRM 5. I am writing the java pricing user-exit in which i am trying to find the name of item on which the exit is called.
I tried methods of pricingItem like getId(), getExternalId etc but none of those are returning the item numbers.
does anyone know how to retreive the same?
thanks in advance.
regards
rajeevGetting Id was sufficient
-
Hi,
I have a scenario wherein in a sales order, for two different material, the tax base of pricing should get triggered on the basis of sold to party and the material entered at line item level.
Logic triggers on the basis of Region of Customer & a unique field in the Material Master but problem comes in the calculation of Tax base as the sequence of condition type (from – to) is already defined in the pricing procedure to pick from a particular step but in second line item the base is different i.e. the sequence of condition types that are maintained in pricing procedure should be different for Tax to calculate differently.
Kindly suggest if the same can be handled in a single pricing procedure and dynamically taking care of condition type sequence through Alt Cal Base Formula, so far I’ve tried both Alt Cal Formula & Base but it is not working
Client doesn’t want to go ahead by creating two different orders (through separate Pricing Procedure) for that. They want to have both materials in same order.
Kindly suggest a suitable way to handle this scenario.
Regards,
Aashika AgarwalHi,
Click on the ''check availability'' button at item overview and then click on ''One-time delivery'' on the top. This will ensure that you will have only one delivery for whatever quantity is confirmed on that date.
If you want to apply this rule for all orders across a sales area, then you can do the below configuration step :
SPRO->sales and distribution->basic functions->availability check with ATP logic->Define default settings-> Here in avail. checking rule select A (one time delivery). This will ensure that all orders created for a particular sales area will have only one delivery.
Hope this helps.
Regards,
Palani -
How to apply a fee in the pricing procedure without getting discounted
I have added manual condition to a Pricing procedure (ZEKK and ZEAA). During order processing, these conditions are added manually to Order-Items. These are environmenr fee conditions, added to charge Environment disposal fee
Now when a cash discount or any other discount is applied, these condition values get added to total, and also gets discounted. The requirement is to add these condition value at the end of dicounted price before taxes. The taxes are to be charged on these condition value.
Express replies are appreciated and rewardedHi D M ,
here you have to place the item condtions in the pricing procedure in the below format.
STEP NO. C.TYPE FROM TO
10 PR00
20 Z001 10 10
25 net value 10 20
30 ZEKK 10 10
40 ZEAA 10 10
45 net value2 25 40
NOW HERE THE system will calucate you said discount on the value of the basic picice of the sales order material
also the environment condition types will calculate the value on the basis of sales price as well
and in the end the system will total the values as net vaue 2
test n revert
Mohit Singh -
Different pricing procedures for two different items in a sales order.
Hi ,
In a sales order I have two items , one is TAN item and other item is TAD (services).. Since the tax structure is different for above mentioned items, user wants to apply two different pricing procecdures for two items in a sales order.
Can any one suggest how to get this functionality.
Thanks,
Ashok SDear Ashok,
As Rithivika rightly mentioned that in one sales oder you can't get two pricing procedures.
Because pricing procedure determination will takes place based on these combination
Sales areaDocument pricing procedureCustomer pricing procedure-->Pricing procedure.
So If you want different pricing procedure either one of the combination should be different.
But you try this
You can maintain service related tax condition types also in the same procedure,but when you maintain condition record you can maintain material wise.
So when you create sales order system will pick the pricing based on the material(standard item or service item).
I hope this will help you,
Regards,
Murali.
Maybe you are looking for
-
Tape Drives set automatically to 1
Hi all, After I set some configuration in the "Backup Settings", I found that "Tape Drives" filed is automatically filled with the value: "1". I tested the issue on may machines and the result was the same. Steps to generate the issue: 1. Login to th
-
My iphone connect to wifi, but it wont use it. How do i fix it?
My IPhone 4 connects to wifi, but it does not use it, it refers back to 3G.
-
I currently have a 1.66mhz Intel Mac Mini with 2 GB of operating memory, and a 23-inch HD Display. I would like to add another display. What do I need technically???
-
How to delete objects created in Integration repository(IR)
Hi, I have created software componant in SLD and then imported that into IR. Now i want to delete all objects from SLD as well as IR. I have deleted theobjects from SLD but i am unable to delete the software componant objects from IR. Can anyone plea
-
How to get my camcorder recognize
Our Church uses a HRV-HD1000u camcorder for the last two years it would be recognize by computer when tape is turned on. Recently when the camcorder is turn on the compu.ter doesn't recognize the camcorder. I have tried another computer and the cam