cancel
Showing results for 
Search instead for 
Did you mean: 

BP deletion

Former Member
0 Kudos

Hello everyone,

I am trying to delete a BP(vendor) via BBPMAININT.When i do it,an error

pops up saying <b>"error in master condition maintenance".</b>

On further analysis(error dump analysis),i have

=====================================================================

Runtime errors: uncaught exception

Exceptn : <b>CX_BBP_PD_ABORT</b>

Since exceptions represent error situations, and since the system could not

react adequately to this error, the current program, 'SAPLBBP_PDH' ,had to be

terminated.

Missing Handling of Application Exception:

Program BBP_VENDOR_CREATE

======================================================================

Can someone help me/give me some direction.

Thanks

Priya

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Priya,

can you send us the call stack of your dump from ST22 (between BBP_VENDOR_CREATE and CX_BBP_PD_ABORT) ?

Rgds

Christophe

Former Member
0 Kudos

Hi Christophe,

I am not a technical person as such..but by call stack,i am assuming it is the source code that the dump has thrown.Here it is.If this is not what you are asking?Please let me know exactly(am sorry for the trouble,Chris)

====================================

Error analysis

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assinged to the class 'CX_BBP_PD_ABORT', was not

caught,

which led to a runtime error.

The reason for this exception is:

Übernehmen

Line SourceCde

43

44 READ TABLE lt_callstack INTO ls_callstack2 INDEX 4.

45 CONCATENATE '/' ls_callstack2-eventtype

46 ls_callstack2-eventname ls_callstack2-progname

47 INTO lv_msgarg3 SEPARATED BY space.

48

49 CALL FUNCTION 'BBP_ALERT_INTERNAL_OT'

50 EXPORTING

51 msgid = gc_msgid_bbp_pd

52 msgno = 047

53 msgarg1 = lv_msgarg1

54 msgarg2 = lv_msgarg2

55 msgarg3 = lv_msgarg3.

56

57 MESSAGE ID gc_msgid_bbp_pd TYPE c_msgty_i NUMBER iv_msg_no

58 WITH ls_callstack1-eventtype

59 ls_callstack1-eventname

60 ls_callstack1-progname.

61

62 ROLLBACK WORK. "833442

63

64 * get the messages from the application log

65 TRY.

66 CALL FUNCTION 'BBP_PD_LOG_GET_MESSAGES'

67 TABLES

68 e_messages = lt_messages.

69 CATCH cx_bbp_pd_abort.

70 REFRESH lt_messages.

71 ENDTRY.

72

>>>>> RAISE EXCEPTION TYPE cx_bbp_pd_abort EXPORTING

74 worked_on_document = lv_guid

75 t100_msgid = gc_msgid_bbp_pd

76 t100_msgno = iv_msg_no

77 t_appl_log_messages = lt_messages.

78

79 ENDFUNCTION.

====================================================

Thanks a lot.

Priya

Former Member
0 Kudos

Hi Priya,

The call stack in a dump is the list of programs/functions/forms called each one after the other.

It starts will BBP_VENDOR_CREATE that calls form XXX of FM YYY, that calls method ZZZ, ... and finally form AAAA where a serious error occurs.

The code you sent me if the last used code that generated this error. Why I need is the patch back to the initial run of BBP_VENDOR_CREATE.

You can find it going down in the dump, not far after this part. There is a list with numbers like this:

...

5 form AAA of program SAPLBBP...

4 method EEE of class CL_...

3 function YYY of program SAPLBBP...

2 form XXX of program SAPLBBP...

1 program BBP_VENDOR_CREATE...

When deleting vendors, via event customizing, few functions are in charge of deleting BUPA data. In your case, it seams that it tries to delete some conditions, like if CRM deletion function was called.

Or, do you have some product price defined in your SRM products for some suppliers (interlinkage) ?

Rgds

Christophe

yann_bouillut
Active Contributor
0 Kudos

Hi Priya,

Did you check Program BBP_CND_CUSTOMIZING_CHECK ?

maybe IPC or CET issue (time zone parameter).

I have cheched with deleting timezone parameter (undo configuration step) ann when i try now to delete a vendor, i do have a dump in program bbp_vendor_create...

If i redo the configuration step for time zone and set value to CET (in my case), vendor deletion is working fine.

Please check this !

Kind regards,

Yann

Former Member
0 Kudos

Hi Chris,

Sory for the delay.Here it is..thanks for being so clear.

=====================

Active Calls/Events

No. Ty. Program Include Line

Name

8 FUNCTION SAPLBBP_PDH LBBP_PDHU08 73

BBP_PD_ABORT

7 FORM SAPLBBP_PDCND LBBP_PDCNDF05 13

ABORT

6 FORM SAPLBBP_PDCND LBBP_PDCNDF02 100

CONDITIONS_MAINTAINCE_INIT

5 FORM SAPLBBP_PDCND LBBP_PDCNDF45 32

CONDITIONS_CRM_BUPA_USAGE_CHK

4 FUNCTION SAPLBBP_PDCND LBBP_PDCNDU21 10

BBP_PDCND_USEBP_CHECK

3 FORM BBP_VENDOR_CREATE BBP_VENDOR_CREATE_F06 3178

CHECK_CONTRACT_CONDITION

2 FORM BBP_VENDOR_CREATE BBP_VENDOR_CREATE_F06 1845

DELETE_ORGANIZATION

1 MODULE (PAI) BBP_VENDOR_CREATE BBP_VENDOR_CREATE_PAI 226

OK_CODE_0020

==========================================

Can you make any sense of it?

Yann,

I will check on the time zone factor.I will let you know the result.

Thanks guys.

Priya

yann_bouillut
Active Contributor
0 Kudos

Hi Priya,

Please check also the IPC ! (same check program)

Kind regards,

Yann

Former Member
0 Kudos

Hi Priya,

you dump, because one of those exceptions is raised by FM /SAPCND/MNT_INIT_OW (except n° 2):

EXCEPTIONS

exc_stop_work = 1

exc_rfc = 2

exc_timezone = 3

exc_t688c_f = 4

exc_creating_debug_trace_log = 5

exc_adding_debug_trace_msg = 6

OTHERS = 7.

If you can try to find the exception # in the dump details...

For the time zone error, the system checks that the global timezone is maintained in the customizing of the pricing (parameter TIMEZONE_MASTER_DATA_DB).

Look at note 673372 Short dumps UNCAUGHT_EXCEPTION in SRM 3.0, 4.0, and 5.0:

Solution point 2 if for you: Execute report BBP_CND_CUSTOMIZING_CHECK in Transaction SE38. This report should not display any error messages or warning messages. You must maintain missing Customizing accordingly, for example: condition tables, time zone (TIMEZONE_MASTER_DATA_DB) and others.

For time zone, go to SPRO --> SRM Server --> Cross-Application Basic Settings --> Pricing --> General Configuration Parameters, and set parameter TIMEZONE_MASTER_DATA_DB

Rgds

Christophe

Former Member
0 Kudos

Hi Chris,

Thanks for all the info.You are simply amazing.I will try to find the exception number.Another thing:

--Where did you find the list of exceptions?And how do you find out which FM is raising the exception?

--I am looking...but,can you tell me where to find the exception number?

Please,please tell me how you check the call stacks,source code and find the info related to exceptions and function modules.

Yes,Yann had suggested the timezone setting change.Thanks for the extra info on the note number.I will check them out both and let you guys know.

Thanks so much.

Priya

Former Member
0 Kudos

Thank you Priya for the compliment

There is a lot of information in the trace dump. In the call stack, you can see what is the call sequence of programs until the final error, and at which line the call occurs.

In your case, you can see which form was raising this "abort" --> the step #6 (FORM conditions_maintaince_init, line 100). Then in SE37 or SE80, I navigate to this object and analyze the program.

Goto line 100 of FORM conditions_maintaince_init (include LBBP_PDCNDF02), and you can see that the PERFORM abort is called just after the call to FM /SAPCND/MNT_INIT_OW, that contains those exceptions. You can go into this FM to look what raises those exceptions (for example, the time zone exception is raiser when /SAPCND/GET_GLOBAL_PARAMETER tries to read parameter TIMEZONE_MASTER_DATA_DB).

Rgds

Christophe

yann_bouillut
Active Contributor
0 Kudos

Hi Priya,

What is your SRM release AND patch level ?

Kind regards,

Yann

Former Member
0 Kudos

Sorry abt that,Yann.

It is SRM 4.0

srm_server release 500

Level 0008

Highest support SAPKIBKS08

Please let me know,if there is anyway i can resolve this issue.

Thanks

Priya

yann_bouillut
Active Contributor
0 Kudos

Hi Priya,

I have Sp9 and through the web interface, i do not have any issue...

Nothing found so far in OSS.

It should be a configuration issue.

kind regards

Yann

Former Member
0 Kudos

Hi Yann,

Can you be a little more specific on 'where i can check' in the configuration?

All i did was transfer a vendor master from R/3(4.6c)and integrated the vendor in the organization.

Now,if i want to delete a specific vendor in BPMAININT...its throwing up that error.

I cannot think of any possible config step.Can you please tell me...in which configuration areas i need to check to clear this

error?

thanks for your inputs.

Priya

yann_bouillut
Active Contributor
0 Kudos

Hi Priya,

There is no bp configuration steps.

However, did you already create SC, PO, GR ... so far as it maybe an unrelated issue... as timezone...

Please confirm

Kind regards,

Yann

Message was edited by: Yann Bouillut

Former Member
0 Kudos

No.I have not created a SC yet.I have to activate the standard workflow settings(finished replication of categories from backend,though)...after which i will

try to create a SC.

But,i do not think that the BP deletion is in anyway related to it,is it?

What is the timezone,you were mentioning?

Any other ideas you can bounce off....no clue from the error log i had pasted?This is driving me crazy.

Please let me know.

Priya

yann_bouillut
Active Contributor
0 Kudos

Hi Priya,

Did you check BP with following programs ?

BBP_CHECK_BP_DELETE_ERRORS

BBP_CHECK_BP_ORG_ASSIGNMENT

Kind regards,

Yann