2005 Dec 03 8:13 AM
Friends,
We are uploading the flat file to create a business partners through External List Management using the SAP provided BADI, 'CRM_MKTLIST_BADI' . We created an implementation 'ZCRM_MKTLIST_BADI' and added the custom code in the method 'create_business_partner'. I kept so many break points and try to debug the transaction , we are not able to debug the BADI. It is skipping all the break points and running the code. This makes me difficult to find the bugs and to see the data flow in the BADI.
Actually i extended the structure CRMT_MKTLIST_CP_EXT with some custom fields i want to upload custom data through transaction CRMD_MKTLIST.But the data from flat file is not uploading to table CRMT_MKTLIST_CP.
The table CRMT_MKTLIST_CP is not populating in BADI Method MAP_AND_CONVERT_DATA. please give me the suggestion .
Friends,
We are uploading the flat file to create a business partners through External List Management using the SAP provided BADI, 'CRM_MKTLIST_BADI' . We created an implementation 'ZCRM_MKTLIST_BADI' and added the custom code in the method 'create_business_partner'. I kept so many break points and try to debug the transaction , we are not able to debug the BADI. It is skipping all the break points and running the code. This makes me difficult to find the bugs and to see the data flow in the BADI.
Actually i extended the structure CRMT_MKTLIST_CP_EXT with some custom fields i want to upload custom data through transaction CRMD_MKTLIST.But the data from flat file is not uploading to table CRMT_MKTLIST_CP.
The table CRMT_MKTLIST_CP is not populating in BADI Method MAP_AND_CONVERT_DATA. please give me the suggestion .
2005 Dec 03 8:17 AM
2005 Dec 03 8:18 AM
For debugging, Try to set the System Debugging and Update Debugging check boxes in debugger screen(Press Settings button and check the System Debugging and Update Debugging).
Regards,
Ravi
2005 Dec 03 1:11 PM
Check couple of things
1) IS the BADI active?
2) If the BADi is active, does it have any filters which are not allowing the BADI to get executed?
If the BADI is getting triggered, then put "break-point" as first line of the BADI implementation and see if it comes there. If the break point is not reached, then find out the main program which calls the BADI and see where is BADI being called. BADI gets called by the method CALL METHOD cl_exithandler=>get_instance. If this line is not executed, then you know BADI is not getting triggered at all. If this line gets triggered, then in the next few lines you will see the program calling the BADI. See what is happening there. Good luck
Hari
2006 Feb 22 1:06 PM
Hi,
Try to put into the Badi an endless while like this:
data d_aux value 0.
WHILE d_aux = 0.
ENDWHILE.
After, when the program is hanging, go to the SM50 transaction, select your process, and go to the menu option: Program/Mode -> Program -> Debugging
Regards,
Roberto
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |