Showing results for 
Search instead for 
Did you mean: 

Qty default to 1 when copy Controlled

Former Member
0 Kudos

Hi Guys,

Scenario, Oppt to Sample Order > Copy Controls


I enter 15000000 as Qty in Opportunity and when customer asks for a sample, Business requires to do a follow up document from oppt to Sample order. the Qty in Sample order must always be 1, becasue when the Sample order is created from Oppt the product qty is also copies int o the new doc. if someone forget to changethe Qty then there will be a delivery of 15000000 units, which will be havoc


How would i have the Qty defualted to 1 in Sample order "No matter when i create it i.e,, if i create it as a follow up or a stand alone"

Please help any help will be greately rewarded

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Venkata,

You will have to implement the BAdI CRM_COPY_BADI for your requirement. There are many sample implementation available for the BAdI.

Let me know if this helps!


Answers (1)

Answers (1)

Active Contributor
0 Kudos

Hi Vankata,

Use the BADI definition CRM_COPY_BADI to create a new BADI implementation for the same in SE19.

Write the code in COPY method to control the copying of the segements.

Write the code in PRODUCT_I method to set the default value for the Product Quantity.

<b>Reward points if it helps.</b>

Former Member
0 Kudos


Thanks for the reply, Is there anyway I can default the Qty with out Development, or Can I atleast keep the Qty at 0 instead of 1?