Changing Condition Price Value
Hi All,
I have a requirement where in i have to change the condition value. Currently if i select the item in the contract and go to Item Conditions, the condition value is calculated by the rate maintained in the condition type. But my requirement is i have to overwrite the Rate maintained in the condition type with the rate entered by the user through module pool screens. At present the values of all the conditions will be coming from XKOMV structure through FM RV_KONT_SELECT.. which is the standard requirement. Where exactly i have to overwrite the Rate which i am getting from the Condition type, so that item values (VBAP) and header value (VBAK) will also change accordingly. Pls let me know how to handle this.
Thanks,
Raju
Hi,
Basically you need some Functional Help (SD). If you are working with some SD Consultant, just discuss it with him.
Otherwise, For Pricing Procedure use T.Code V/08 and check if any routine is assigned to that particular condition.
If you want to write new routine, use T.Code VOFM.
Use MENU Option --> Formulaes, --> Condition Values.Define some number as per the displayed number in the list.
Generate it. and then open the same code routine in SE38.
Now you can write the code there to change the values during execution.
Regds,
Anil
Similar Messages
-
Change Condition Base Value in Billing Process.
Dear SAP experts
for now, In third-party process, condtion base value of billing only come from oder doc's.
but we want to change condition base value of billing from PO doc's for some condition type.
(actually, we want PO Quantity as a condition base value in billing process)
where can i apply alternative solution?
Regards.
JuyoungHI,
To elaborate, you can change the condition base value settings in the pricing procedure for the condition type.
Take help of ABAPer and let him know what exact qty or value you want system to pick up while processing billing docs.
Prior to do any changes, please also ceck if the new changes are impacting any old logics...
Hope it helps..
Regards,
SB. -
Hi SAP
in billing invoice Price condition type can be changed and deleted ?
Price condition type is in 4 % want to make it 0.
1) can change price condition type value ?
ThanksPrice condition type is in 4 % want to make it 0.
If Accounting Document has not been generated for that billing document, then yes it is possible to change the value. To achieve this, first check in billing document at item level, what date is flowing in the field Pricing Date. Make a note of this. Next go to VK12, key in the condition type and execute. There maintain the validity date prior to the date what you have seen in billing document and save.
Now again go to VF02, key in the billing document and execute. Go to condition tab and double click on "Update" button so that you can see a box where you double click on "B". Check the condition value.
As I already said above, the above change is possible only if no accounting document is generated. On the other hand, if accounting document is generated, then the condition tab will become uneditable.
thanks
G. Lakshmipathi -
Changing condition type values in Billing Doc Line Items
Hi All,
I want to change the value of condition types JLST and JCST to zero in the line items of proforma invoices. How can I do this?
Any function module or BAPI? Should I go for BDC?? I tried to find user exits. What can be the optimal way to do this?
Please help.
Thanks in Advance
- Neha.Hi Neha,
You pass 0 (zero) to the field COND_VALUE in CONDITIONSIN table alongwith other relevant data.
And pass 'X' to the field COND_VALUE in CONDITIONSINX.
hope it helps.
saroj -
Change Condition price of Contract through IDOC
Hi all,
I am changing the condition type(PB00) price (KONP-KBETR) of Contract using Inbound Idocs using message type COND_A.The price is updated correctly.
But the change is not getting reflected in the net price (EKPO-NETPR).Is it some problem in the Idoc processing?
Thanks in advance.Resolved
-
When I create item in sales order, then it will determine the price using pricing procedure, I would like to know, can I write somethings in userexit, when the item create, the price will be hardcode somethings intead of use priceing procedure. For example , When I create a Item 10 with material A, Normal, becuase i've set the conditional record, the pr00 would be 2.00. Now, I want to the material A. I hardcode it as 1.00. Then when I create a item 10 with material A, the pr00 would be 1.00 instead of 2.00. Can I do that? Thanks!
Hi ,
one way of doing it is thru Requirements,check Tcode VOFM>FORMULAS>Condition Value.
plz ask ur functional ppls to get more info abt it.
regards
prabhu -
BAPI_SALESDATA_CREATEFROMDAT2 Changing Condition Value
Hi,
when I use BAPI_SALESDATA_CREATEFROMDAT2 to changeing condition value
wa_order_conditions_in-itm_number = '000010'.
wa_order_conditions_in-COND_ST_NO = '010'.
wa_order_conditions_in-COND_COUNT = '01'.
wa_order_conditions_in-cond_type = 'PR01'.
wa_order_conditions_in-applicatio = 'V'.
wa_order_conditions_in-cond_value = '1900'.
wa_order_conditions_in-currency = 'RMB'.
wa_order_conditions_in-cond_p_unt = '1'.
wa_order_conditions_in-cond_unit = 'PC'.
wa_order_conditions_inx-itm_number = '000010'.
wa_order_conditions_inx-COND_ST_NO = '010'.
wa_order_conditions_inx-COND_COUNT = '01'.
wa_order_conditions_inx-cond_type = 'PR01'.
wa_order_conditions_inx-updateflag = 'U'.
wa_order_conditions_inx-cond_value = 'X'.
wa_order_conditions_inx-currency = 'X'.
wa_order_conditions_inx-cond_p_unt = 'X'.
wa_order_conditions_inx-cond_unit = 'x'.
APPEND wa_order_conditions_inx TO
i_order_conditions_inx.
APPEND wa_order_conditions_in TO
i_order_conditions_in.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = wa_order_header_in
order_header_inx = wa_order_header_inx
IMPORTING
salesdocument = salesdocument
TABLES
order_conditions_in = i_order_conditions_in
order_conditions_inx = i_order_conditions_inx.
run it i get a Sales order when i look the item conditions
i found it add a new condition line like :
PR01 1800.00 RMB ... (automatic price which can
be deleted and modifide manual
in 'VA02')
PR01 1900.00 RMB ... (I expected)
but I only want to get one line
PR01 1900.00 RMB ...
now i don't know the reason,
my version is R/3 3.6C
wa_order_conditions_in-itm_number = '000010'.
wa_order_conditions_in-COND_ST_NO = '010'.
wa_order_conditions_in-COND_COUNT = '01'.
'000010','010', '01'
is found in BAPISDORDER_GETDETAILEDLIST by creat in va01 and look it in BAPISDORDER_GETDETAILEDLIST.Hi Pan!
The handling of the conditions is quite tricky. Have a look at OSS 593246 for some hints.
Have also a look in some other linked topics:
BAPI_SALESORDER_CHANGE conditions
BAPI_SALESORDER_CHANGE- No Pricing Condition Change
Regards,
Christian -
How to change a condition price in line service of Purchase Order
People,
we have to do the following development in Purchase Order (ME21N, ME22N, ME23N) :
We have a developed screen in Purchase Order header, where the user provides some information. As a result, this information must be transfered to line service, under a certain condition price. Is it possible? I checked we can "put" the value using a field symbol to (SAPLMLSP)TKOMV[] internal table.
But I believe this is not the best option. Do you have an idea?
Thanks a lot!Hi,
I can see you have couple of posts regarding Service Line Condition Price. Did you find a way to change them?
I'm currently facing similar situation, and still debugging to find out possible solutions.
Thanks, -
Change the Condition base value in a Condition type.
Hi Experts,
I have a problem because I need to change the condition base value for a condition type. This condition base is calculated as a result of other condition types in the list of pricing Elements. I would need to change the base in order to solve the problem.
Thank you and best regards.Hi Alberto
if i get it correctly , this is your scenario
condition 1--- price x
condition 1--- price Y
condition 1--- price z
now you want a fourth conddition with base value total of the above 3
if so , you maybe define all the above 3 as statistical ,
in another row , create a total of the above 3,
assign a sub total this ,
create new conditon type and in its alt base value , give the formalue for the sub total
for eg 5 for sub toal 1, 6 for sub total 2
and then you would get the right base value
Hope this helps
Thanks
Akasha -
How to change the manual condition type value in change sales order BAPI
Hi All,
My scenario here is, i want to either add/change the manual condition type value during change of SO.
When i'm trying to pass the order_conditions_in and order_conditions_inx tables in 'BAPI_SALESORDER_CHANGE'.
Condition type is coming at item level but the value is setting to zero. Pls. help if anyone has any idea how to handle this.Siva,
I guess you posted in Wrong Thread. You need to post in WAS section.
check for any BAPI's available in CRM.
Nagesh Ganisetti. -
MM Pricing Condition Type values in Condition Tab updation while CHANGE PO.
Hi,
The process of PO creation and PO change is through inbound IDOC posting.
I created a PO with configured MM pricing procedure.
While creating PO, the PO is created as required with different Condition Type value break-ups [PBXX, Discount, Surcharge etc] in the PO as required via Inbound IDOC processing.
While CHANGING the same PO, the Condition Type break-ups [i.e. pricing related values] in the PO are NOT changing in the PO via Inbound IDOC processing.
What needs to be done to update the Condition Type break-ups in the PO while changing PO through IDOC processing process?
This problem is not occured while manual / on-line changing of PO valueS and saving the PO & exists through IDOC processing method ONLY.
Thanks in Adv,
RKHi
Try this function module
FM RV_CHECK_CONDITION_VALUE
Regards
Hareesh Menon -
Condition category u00B4u00B4du00B4u00B4 Confirmed purchase net price/value
Hi ,
I have created new condition with condition category ´´d´´ Confirmed purchase net price/value.
I dont know if this kind of condition needs access sequence-If yes which one?
Which routine to assign in pricing procedure?
Thanks in advance and best regards
LNo it is not required. See the SAP explanation for this
If the vendor confirms a price via EDI, the system inserts the
price in the condition type with category d.
thanks
G. Lakshmipathi -
Scheduling Agreement pricing condition PB00 value
Hi Experts.
Within pricing schema I do have pricing condition PB00 that is manually put in by the user. I have created a routine in order to calculate the PB00 value based on some logics and assign it to PB00 within the pricing schema.
So, if the custom logic are found, the price value should be change accordingly, if not the value put by the user will be kept.
The problem is that, at end of my routine the price is correctly calculated (let's say the user writes 2 and my routine calculates a price of 3) and the price is correctly updated on the scheduling agreement line field NETPR. But if i go inside the item to see the conditions I still see PB00 with the not-changed value.
Can anybody suggest? I am manipulating xkomv-kbetr and konp-kbetr.Hi, Thanks for answering.
They are set so. But i need in any case to change the value of PB00 accordingly to my routine.The problem is that, at end of my routine the price is correctly calculated. PB00 value is 2 and it correctly recalculated by my routine to 5. on the SA item I see hte net price equal to 5, but if I go in the details I see condition PB00 still equal to 2.
Do you have any hints? thanks. -
Help to change the price in sales order create bapi
hi,
i am able to change the price but not what i am trying to do.
can anybody please help . here i am submitting the code.
i am trying to enter the 40 into price field but it is takeing 400
<b>report zmybapi1 .
data : my_order_header_in like bapisdhd1 occurs 0 with header line,
my_order_header_ix like bapisdhd1x occurs 0 with header line.
data : my_orderitemsin like bapisditm occurs 0 with header line,
my_orderitemsix like bapisditmx occurs 0 with header line.
data : my_order_partners like bapiparnr occurs 0 with header line.
data : my_return like bapiret2 occurs 0 with header line.
data : w_vbeln like bapivbeln-vbeln.
data:
my_orderschedulesin like bapischdl occurs 0 with header line,
my_orderschedulesinx like bapischdlx occurs 0 with header line.
data : my_orderconditionsin like bapicond occurs 0 with header line,
my_orderconditionsinx like bapicondx occurs 0 with header line.
start-of-selection.
this is to assign values to internal table my_order_header_in
my_order_header_in-doc_type = 'TA'.
my_order_header_in-sales_org = 'JNJ1'.
my_order_header_in-distr_chan = '02'.
my_order_header_in-division = 'J1'.
my_order_header_in-sales_off = 'JNJ1'.
my_order_header_in-purch_no_c = 'testbapipo'.
my_order_header_in-purch_date = sy-datum.
my_order_header_in-req_date_h = sy-datum.
append my_order_header_in.
this is to assign values to internal table my_orderitemsin
my_orderitemsin-material = '000000000000000727'.
my_orderitemsin-plant = 'JNJ1'.
my_orderitemsin-target_qu = 'EA'.
my_orderitemsin-target_qty = '10'.
append my_orderitemsin.
this is to assign values to internal table my_order_partners
my_order_partners-partn_role = 'AG'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
my_order_partners-partn_role = 'WE'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
This is to assign values to internal table my_orderschedulesin
my_orderschedulesin-itm_number = '10'.
my_orderschedulesin-itm_number = '000010'.
my_orderschedulesin-req_qty = '10'.
my_orderschedulesin-SCHED_LINE = '0001'.
append my_orderschedulesin.
*This is to assign values to internal table my_orderconditionin
my_orderconditionsin-itm_number = '000010'.
my_orderconditionsin-cond_type = 'ZPR1'.
my_orderconditionsin-cond_value = '40'.
append my_orderconditionsin.
my_order_header_ix-updateflag = 'I'.
my_order_header_ix-doc_type = 'X'.
my_order_header_ix-sales_org = 'X'.
my_order_header_ix-distr_chan = 'X'.
my_order_header_ix-division = 'X'.
my_order_header_ix-sales_off = 'X'.
my_order_header_ix-purch_no_c = 'X'.
my_order_header_ix-purch_date = 'X'.
my_order_header_ix-req_date_h = 'X'.
append my_order_header_ix.
my_orderitemsix-updateflag = 'I'.
my_orderitemsix-material = 'X'.
my_orderitemsix-target_qty = 'X'.
my_orderitemsix-plant = 'X'.
my_orderitemsix-target_qu = 'X'.
append my_orderitemsix.
my_orderschedulesinx-updateflag = 'I'.
my_orderschedulesinx-sched_line = '0001'.
my_orderschedulesinx-req_qty = 'x'.
append my_orderschedulesinx.
my_orderconditionsinx-itm_number = '000010'.
my_orderconditionsinx-cond_type = 'ZPR1'.
my_orderconditionsinx-updateflag = 'U'.
my_orderconditionsinx-cond_value = 'X'.
append my_orderconditionsinx.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
SALESDOCUMENTIN =
order_header_in = my_order_header_in
order_header_inx = my_order_header_ix
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
importing
salesdocument = w_vbeln
tables
return = my_return
order_items_in = my_orderitemsin
order_items_inx = my_orderitemsix
order_partners = my_order_partners
ORDER_SCHEDULES_IN = my_orderschedulesin
order_schedules_inx = my_orderschedulesinx
ORDER_CONDITIONS_IN = my_orderconditionsin
ORDER_CONDITIONS_INX = my_orderconditionsinx
ORDER_CFGS_REF =
if sy-subrc ne 0.
write: my_return-message, my_return-number, my_return-type.
else.
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
write: my_return-message, my_return-number, my_return-type.
endif.</b>
Message was edited by: pavan kumar pisipatiIs there any Multiplication happening in the condition type or any other conditions executes. Please check those..
Another way is, if always a multiplication of 10 is happening then pass the value by dividing it by 10. But this way is not a nice way or programming...
Check out both and let me know if not working.
Cheers,
Thomas. -
How to display modified condition base value in Pricing Procedure?
Hi everyone:
I used a formula to change the condition base value (via the VOFM transaction) of various price conditions that are assigned to the same material. In this way, I can distribute the total quantity of the item line in smaller quantities for each price condition.
Now the problem is that in the conditions tab of the sales order, I can not see the Condition Base Value of each Price Condition, and that's a little confusing.
Did Anyone know's a way to show the modified Condition Base Value in the Pricing Procedure of the Condition Tab?
Thanks a lot,
Ginno GiuffraThanks JJ:
Yes, I can found the modified base value in the condition details, but I still need to show it in the Pricing Procedure scheme.
It is curious that the table options does not allow you to add that field to the escheme.
Does anyone knows a user exit wich can modifye the table?
Thanks again,
Ginno Giuffra
Maybe you are looking for
-
Orai18n-mapping.jar in Instant Client, but not in JDBC Driver
Hello, i searched about my question, but no answer. :( I downloaded the complete JDBC Driver packages (*ojdbc5.jar* + ojdbc6.jar + orai18n.jar) for Oracle 11g at: http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_111060.html I
-
Hello People, Our problem it's related about, a Query OLAP, we put the Period Gen 4, as rows: Jan Feb The table reflect the order in the outline, but when we add Total, the order is alphabetic, it's any workarround, to disable this automatic order? T
-
HELP NEEDED....F4 VALUE HELP IN WEB UI
Hi Experts... I am new to CRM ...and WEB UI ENHANCEMENTS... My Requirement : Provide F4 Value help for Opportunity field Partner Number Description(Component BTPARTNER, Context Node BTPARTNER,
-
PO Receipt Accounting Includes Tax
Hi, In the scenario where PO is created from a Drop Ship Sales Order, PO receipt accounting value includes tax and the same is appearing in the distributions. When the PO is created manually or from min max process, PO receipt accounting does not inc
-
50 GB of console logs! Can I delete it?
Hi, I was just wondering why I head about 50 GB less harddrivespace and checked the folders and my root library folder was suddenly about 51 GB big!! I checked the folders and found that library/logs/console is 50 GB big. Inside the console folder ar