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

Unable to create SO with reference

Former Member
0 Likes
1,738

I wasnt able to copy the item from my previous SO created, the material seems to be disabled, why is that?

thanks!

I wasnt able to copy the item from my previous SO created, the material seems to be disabled, why is that?

thanks!

14 REPLIES 14
Read only

Former Member
0 Likes
1,674

Can u please elaborate ur issue?

And what u mean that 'the material seems to be disabled'?

Regards,

Sendil

Read only

0 Likes
1,674

when i tried to copy the previous SO, i came with this error: Item is not copied. Copy requirement 302 has not been met.

what do you suppose cause this error?

thanks!

Read only

0 Likes
1,674

check in transaction VTAA for the order-type SO and the item type you have in that SO and then display details. the rules that apply for copying item lines are explained there...

Read only

0 Likes
1,674

should I just check the copy item number and complete reference?

Read only

0 Likes
1,674

you should check the rule no. 302 for copying the items ... there has to be a reason, why that rule applies and thereby prevents the copy from SO/XXXX to SO/XXXX.

Read only

0 Likes
1,674

When a sales order is copied from another sales order, a copy control is executed.

The list of allowed source and target order types will be maintained in transaction VTAA. Check the order type you tried to copy from and to is available in the list.

If yes, select it and double click on the items in the left.

The list of item categories will be displayed. When any one is double clicked, in the new screen, you can see a field called Copy REquirements.

Press F4 and select the routine, which is provided there and press the source text button in the bottom..

The code executed during copy is available here. Place a break point here and check what condition fails.

Read only

0 Likes
1,674

I am trying to create ZCPV and refer it to ZPLV - I looked at the VTAA table and found the following details,

TargetSalesDocTyp: ZCPV FromSalesDocType - ZPVL

DataT: 302,907,001 respectively

Copying reruirements:002

Im not sure why the sytem raise error 32

Please advice!

Read only

0 Likes
1,674

do as janani advised. check the coding of the copy routines 302, 907, 001. most likely 907 is the one. janani also wrote how to proceed to view the coding ... that's your next step.

Read only

0 Likes
1,674

thanks to you both your answers helps a lot hope to catch the error now.

gracias!!!!

Read only

0 Likes
1,673

hi this function failed,

can you please advice

thanks

Read only

0 Likes
1,673

Please elaborate on what function failed?

Regards,

Janani

Read only

0 Likes
1,673

RV_DOCUMENT_COPY_ITEM_CHECK

Read only

0 Likes
1,673

The only option is to debug and determine the error. If they FM gives any errors, you can create a watch point on the keyword MESSAGE and determine the error

Regards,

Janani

Read only

Former Member
0 Likes
1,673

Check if the material is marked for deletion - MM02 - Material - Flag for Deletion, if so the material cannot be used.

Else, check in MM02 - SAles Org Data - X - Distribution Chain Status - If value is set to something called disabled.

Regards,

Janani