Question:
what do you want to know??
RLX
Answer:
Hi RLX
You are quiet right - my question was quit open and big!!
But I would like to know how to implement the BADI.
If I look in the SE18 I can see the definition of CRM_COPY_BADI.
The I want to implement it in the SE19 transaction. But because of
the poor documentation, I really do not know how and what to do!
First, is et just enough to make the implementation and activate it?
Will the badi and the newly constructed class/methods be excecuted?
Or is there other places I have to do modifications, inserting something
in some unknown tables or what?
And when I tried to implement the badi, i have problems with saving it,
because of the option "Filter Dependent" is checked! What do I have to do?
Best regards
And thanks in advance
Carsten
Answer:
Hi,
There is a lot of documentation at
http://help.sap.com/sapdocu/crossind/crm/crm31/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm .
The concise steps for implementation are the same however. They are as under.
Prerequisites
In order that you can use a Business Add-in, an implementation must be generated for the existing definition of the BAdI, and the corresponding methods must be programmed.
Standard settings
Activities
1. Create an implementation.
2. Assign the BAdI definition to the implementation.
3. Double-click to navigate to one or several methods in the editor, to program the methods.
4. Activate the methods.
5. Activate the implementation
Regarding the filter setting this you need to maintain the FLT_VAL in the importing parameters.
Regards
RLX
Answer:
Hi again.
Now I have come so far:
I have made an implementation (via transaction SE19) of the
CRM_COPY_BADI, methods DATES and SERVICE_I.
Right now, the only ABAP code in these methods is a BREAK-POINT!
OK. The goal is to have the duration time from the Service Order copied to the Service Confirmation. So in the customizing under
CRM->Transaction->Copying Control for Business Transactions->Define Copying Control for Transaction Types.
I go to the line with the Service Process to Service Feed back and enters the number/name of the copyroutine implementede in the BADI.
Now I can see i come to the break-points. Jubiii!
But what do I now have to do to get the duration time from the Service Order to the Service Confirmation???
I have the duration time in both the structure IS_REF_SERVICE_I and the
structure IT_REF_DATES. But where do I have to move the duration time so it, in the end, is to be found on the Service Confirmation beeing created??
I hope someone has tried this before and can give me some hints!!
Best regards
Carsten