2006 Oct 20 1:32 PM
Hi,
A quick question.
At a customer, I need to create a targetgroup in a CRM system from an ABAP program
I found that there exists the standard business object type BUS1185, what in fact has several methods which call BAPI functions ( for example BAPI_TARGETGROUP_CREATE )
My question is know what is the best way to create the targetgroup, call the BAPI directly or use the object type ( via include <CNTN01> and the macro's SWC...
Thanks in advance for your advice
Erwin
Hi,
A quick question.
At a customer, I need to create a targetgroup in a CRM system from an ABAP program
I found that there exists the standard business object type BUS1185, what in fact has several methods which call BAPI functions ( for example BAPI_TARGETGROUP_CREATE )
My question is know what is the best way to create the targetgroup, call the BAPI directly or use the object type ( via include <CNTN01> and the macro's SWC...
Thanks in advance for your advice
Erwin
2006 Oct 20 2:29 PM
Hi,
Ue BAPI for your requiremnet as
BAPI are RFC enabled FM so that external system can
access BAPI.
Regrads
Amole
2006 Oct 23 4:31 PM
the only reason for using the BO macro's in regular ABAP programming, is if you want to emulate workflow behaviour, or if extra logic of the business object is needed (for instance if you have to know the content of several (virtual) attributes)). In the last case you also have to instantiate the BO.
Other than that, just use the BAPI.
Kind regards, Rob dielemans
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |