Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Referencing condition values when creating return order is wrong...

aris_hidalgo
Contributor
0 Likes
676

Hello Experts,

Lets say I have a billing document that has 3 line items namely material A, B and C.

Now, I created a return order for material A with 2 separate line items because of different

storage locations. Now, is there a user-exit that lets my 2nd line item copy the condition values of the

1st line item of the reference billing document? because they are of the same material(A).

Currently, we are having problems when creating a return order having multiple line items of the same material

because the succeeding line items copies the wrong condition values of the referenced billing doc.

For example:


Original billing document:

Material 	Discount
	
A		100
	
B		200
	
C		300

Return Order:

Material	Discount

A		100
A		200
A		300

The succeeding line items of my return order must point to the first line item since they are of the

same material. Hope you can help me guys. Thank you and take care!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
648

You may need to explore in the copy control definition, especially the pricing type defined. Check if any customized requirements exists for condition which checks w.r.t to the document number instead of reference document number item.

5 REPLIES 5
Read only

aris_hidalgo
Contributor
0 Likes
648

Hi Guys,

Any help?

Read only

Former Member
0 Likes
649

You may need to explore in the copy control definition, especially the pricing type defined. Check if any customized requirements exists for condition which checks w.r.t to the document number instead of reference document number item.

Read only

0 Likes
648

Hi Eswar,

Thank you for your reply. However, I am not that familiar with the specific routines for pricing. Also, what do you mean by W.R.T?

Thanks again!

Read only

0 Likes
648

You can check with your SD consultant regarding the copy control stuff. W.R.T - with respect to

Read only

0 Likes
648

I see:) Thanks anyway!