cancel
Showing results for 
Search instead for 
Did you mean: 

Routine that copies condition values from billing to sales doc...

aris_hidalgo
Contributor
0 Kudos

Hello Experts,

I am an abaper and recently, we are encountering an error whenever we

create a return order in reference to a billing document. What happens

is that whenever we create a sales order with multiple line items of the

same material the succeeding line items(20 and so on) points to

the same line item in the original billing document. For example:


Original billing document:

Line item	Material	Discount
10		A		100
20		B		200
30		C		300

Return order

Line item	Material	Discount
10		A		100
20		A		200
30		A		300

Line items 20 and 30 of the created return order has the wrong

discount. They both must also have 100 as doscount. So what I

need to do is that everytime a user adds or modifies a line item

in the return order, it must point to the correct line item in the

billing document.

Please help me on what routine to modify. Hope you can help me guys.

Thank you and take care!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I this problem being encountered in output or in the transaction.

Considering that it is being encountered in transaction:

In this case ask the Functional consultant to check copy control settings in T.Code: VTAF i.e for combination (Billing to Sales Order) F2 --> RE. Ensure to check the settings in copy control at Item level, for Item Category REN. Incase if using ant other combination of Billing Type, Sales order or Item Category, ensure that the configuration for same is maintained, similar to above combination. alternatively, it can be Copied by using 'copy as' functionality. This should resolve the issue.

Considering that it is being encountered in output:

in that case Material is not getting refreshed & the coding required to bechecked for the same.

Regards,

Rajesh Banka

aris_hidalgo
Contributor
0 Kudos

Hi,

This is encountered during transaction(VA01).

Answers (1)

Answers (1)

aris_hidalgo
Contributor
0 Kudos

Hello guys,

Any help would do...

Thanks!