cancel
Showing results for 
Search instead for 
Did you mean: 

FM for copying SO item condition value to Return SO item condtion value.

Nataraju
Explorer
0 Kudos

Dear All,

We had prcing procedure for eg.ZSALES  now we have changed to YSALES with a new feight condition to YFRT ( ZFRT was old freight condition).

Our requirement is when we create return order with new PP - YSALES, old ZFRT value is to be copied to  new freight condition YFRT.

I shall be thankful if someone  can help me in finding function module which can be used with cal-type ( routine) .

Thanks in advance

Regards

Nataraju

Accepted Solutions (1)

Accepted Solutions (1)

jignesh_mehta3
Active Contributor
0 Kudos

Hello Nataraju,

There are two options I will sugest here:

Option 1:

Reference Condition:

Go to T-Code V/06 & open YFRT Condition Type.

Under Master Data there is a field called - RefConType here enter ZFRT & under RefApplicatio enter V3 - Billing

This will ensure that for determining value for YFRT system will search Condition Records for ZFRT.

Option 2:

I think this requirement of copying ZFRT value in YFRT will be for a temporary period. I mean once the regular Sales doucments start using YSALES pricing procedure, YFRT will be present & same will be copied in Returns Orders.

Now evven if you manage to handle the requirement through SAP Standard or Z-settings, in future will will lead to confusion because some Returns will be with reference to ZSALES pricing procedure & others will be with reference to YSALES pricing procedure.

Instead, I will suggest to insert Returns Doucment Type in YFRT Access Sequence & maintain condition records for the same. This Condition Records will be same as ZFRT's condition records.

Thanks,

Jignesh Mehta

Answers (3)

Answers (3)

Nataraju
Explorer
0 Kudos

Thanks every one.Issue is solved.

moazzam_ali
Active Contributor
0 Kudos

Hi Nataraju

I think you can do this with standard settings. What you need to do is just add ZFRT in YSALES pricing procedure as a statistical condition. Follow these steps.

Add ZFRT in your new schema YSALES as statistical condition. with this system will copy its value from ZSALES to YSALES in same condition.

In YSALES copy the value of ZFRT condition to your YFRT condition by following the condiion record logic. Maintain condition record as 100% and take YFRT step as base. System will calculate 100% of your ZFRT condition in YFRT and you can then use it for further processing.

Please test this and update.

Thank$

former_member184065
Active Contributor
0 Kudos

Dear,

I am not getting you .Please let me know in detail ( Step by step If possible ).

Thanks,

Naren

moazzam_ali
Active Contributor
0 Kudos

Hi NArendra

I have already explained step by step. Please test this and update with your findings.

Thank$

former_member184065
Active Contributor
0 Kudos

Dear,

Not possible your requirement because of that kind of functionality doesnt have in SAP.

Better to add that new condition type to return Pricing Procedure and maintain manually condition record .

If you have any doubts please let me know .

Thanks,

Naren