cancel
Showing results for 
Search instead for 
Did you mean: 

issue regarding condition pricing date as system date for some condition types in sales order

Former Member
0 Kudos


Hi

I have already created a sales order on 30.04.2014. Today I am adding new line item to sales order in VA02 transaction. in this order new line items condition pricing date for conditions JEX2,JECX should show as 12.06.2014. But currently it is showing as 30.04.2014. I need condition pricing date as system date for above conditions.

Regards

prashant

Accepted Solutions (0)

Answers (5)

Answers (5)

ajitsingh6
Active Contributor
0 Kudos

Hi,

System determine pricing date for condition type is based on configuration done in V/06 for condition type as shown in screen shot,

and select pricing date as per your requirement.In your case it should be 'D'.

If your requirement does not meet with this config then pls take help of ABAPER and use following user exist to achieve the same,

User exit

When the requirements can’t be achieved with standard solution explained above, we can use following user exits:

User exit MV45AFZZ, form USEREXIT_MOVE_FIELD_TO_VBKD to update field VBKD-PRSDT (pricing date).

User exit RV60AFZZ, form USEREXIT_PRICING_PREPARE_TKOMK to update field TKOMK-PRSDT (pricing date).

Regards,

Ajit K Singh

Former Member
0 Kudos

Hi Prashant,

try user exit MV45AFZZ form USEREXIT_MOVE_FIELD_TO_VBKD to update field VBKD-PRSDT.

Regards,

JM

Former Member
0 Kudos


the added new line item is not showing in VBKD table but it is showing in VBAP table . Can you please suggest how can this userexit  be used for updating the VBKD-PRSDT.

Regards

Prashant

Former Member
0 Kudos

Hi Prashant,

currently I have authorization to change values while debugging. Have you tried to set a breakpoint a the said userexit and change date field to today´s date? What where the results?

Regards,

JM

Former Member
0 Kudos

Hi

When I am changing pricing date VBKD-PRSDT in sales order header . It is changing the condition pricing date for all. Sales order is created on 04.06.2014. I have added line item 150 on 14.06.2014.

After adding line item 150 , there I have changed the pricing date as 14.06.2014. in sales A tab of item 150. But still it is taking from Sales order header date as 04.06.2014 for all conditions. But my requirement is for line item it should take as system date for some conditions like JEX2,JECX& JA1Y but for other conditions it will take as Order creation date. Please suggest. I have also attached screen shot below. please go through it.

Regards

PK

Sales order header change mode VA02

Here pricing date VBKD-PRSDT = 04.06.2016

Item change mode

I have added new line item 150 on 14.06.2014

Changed the condition pricing date to 14.06.2014 & saved
.

After saving I have gone to Va02 screen of line item 150
& there I have gone to condition pricing date field from item condition tab
for JEX2 condition type but still here condition pricing date is showing as
04.06.2014 as below.

Condition pricing date

My requirement is like this

For some particular conditions like JEX2  condition pricing date will take as system
date instead sales order creation date when I will add a new item 150 on
14.06.2014.but for other conditions it will show as order creation date for the
same line item 150 .

Former Member
0 Kudos


Hi

Can anybody answer on the above query. It is very urgent.

Regards

PK

Former Member
0 Kudos

Hi,

can´t you change VBKD-PRSDT at line ítem (VBKD-POSNR) instead of changing it at header?

Regards,

JM

Former Member
0 Kudos


Hi

After changing VBKD-PRSDT at line item (VBKD-POSNR) still condition  pricing date takes Sales order Header i.e creation date. Can you please suggest.

Regards

PK

former_member187610
Active Participant
0 Kudos

Hi Prashant,

You can double click on the line item in Sales Order and then can change the price date manually in Sales tab.

Regards,

Sharan

former_member662097
Active Participant
0 Kudos

Hi Prashant,

As Krishna already explained that this is standard behavior of SAP. If you want to change the price at item level than double click on line item material which you want to change and in SALES A tab you can change the price date manually at item level.

Regards,

Shatrughan Singh

former_member183879
Active Contributor
0 Kudos

Hi Prashant,

You have the pricing date customising only at the document header level and not at the item level. Hence your sales order header creation date may be coming as pricing date. This is the normal expected behaviour.

If you want to change this behaviour, you can enable that only by means of user exit the relevant one may be USEREXIT_PRICING_PREPARE_TKOMP in the include MV45AFZZ.

Former Member
0 Kudos

Hi

I have discussed this ABAPER this is not possible through Userexit  USEREXIT_PRICING_PREPARE_TKOMP. can you please suggest.