cancel
Showing results for 
Search instead for 
Did you mean: 

Copying the scheduline date to order from quote in sap gui COPY_CRM_BADI

Former Member
0 Kudos
177

In the CRM gui, we create a quote. Change the schedule line date and then try to create an order from that quote. The schedule line dates are being redetermined. I'm been playing with badi CRM_COPY_BADI, but it doesn't seem to stop at my break point in the SCHEDLIN_I method. If I try and read the predecessor schedule lines (quote) in another method, no problem, but nothing has been determine yet in the current schedule lines when I read the order.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

Any ideas why the break point is not getting triggered at SCHEDLIN_I method of the copy_crm_badi even when i have the details at item level. I am creating an order as a follow up doc to a quote.

Thanks and Regards,

Ali.

Former Member
0 Kudos

hello Customer,

the requested delivery date is not a field which should always be

copied to follow-up documents and so it is not copied per default.

If you like you can copy it via the customer specifc copy control

> Goto Copy control customizing

> BAdI: Enhancements for Copying Control

> Create a copy routine or change a existing one.

> Implement the method SALES

> add the following lines in the method(or similar):

data ls_input_field_names TYPE crmt_input_field_names.

ls_input_field_names-fieldname = 'REQ_DLV_DATE'.

INSERT ls_input_field_names INTO TABLE ct_input_field_names.

After that assign the 'new' copy routine

in the copy transaction types customizing for the source and target

transaction types where you like to use it.

Please check if this helps.

Former Member
0 Kudos

Hi Deepa,

Thanks for the prompt reply.

Actually i want to get the schedule line dates from quote to order. I have tried to put a break point in different methods like

ORDERADM_I

PRODUCT_I

SCHEDLIN_I

but my break point does not stop. Any idea how to stop here. And also the item details are also not copied to contract.

Thanks,

Ali.

Edited by: ali alia on Sep 26, 2011 8:27 PM