Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dump for FM CUCB_GET_VALUES_FROM_INSTANCE

Former Member
0 Likes
840

Hi experts,

I'm using FM CUCB_GET_VALUES_FROM_INSTANCE to get values for classfication of class type 300 relative a material (view MRP3). And When I run this FM I get dump MESSAGE_TYPE_X .

I tried use TRY..CATCH, check the KMAT is fiiled (field STDPD), chech ifMARC-CUOBJ is filled. But even do that I get dump during calling FM.

Anybody knows why it happens? Or How solve this prnob?

Thanks.

Regards.

Paulo Afonso Cordeiro

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
686

hi paulo,

before call, set breakpoint at statement message an see where the x message is created. this may give you a hint.

the message class and number in the dump might have told us but you kep it confidential.

regards

clemens

3 REPLIES 3
Read only

Clemenss
Active Contributor
0 Likes
687

hi paulo,

before call, set breakpoint at statement message an see where the x message is created. this may give you a hint.

the message class and number in the dump might have told us but you kep it confidential.

regards

clemens

Read only

Former Member
0 Likes
686

Hi Paulo,

Long time ago I faced an issue where I wanted to utilize the function module (despite the fact that it's not released) and also ran into short dumps. In my case there was interference with previously running instances or the way it was called. I no longer have access to the programs, but I remember that I could get around the short dumps by calling some initialization function modules. I.e. within the same function group you find for example function CUCB_INITIALIZER. You could give it a try if calling that function prior to retrieving the configuration helps you (way back that did the trick for me).

Please note though that this is just a wild guess, because - as the previous poster mentioned - you don't have any error details from the short dump that would allow further indications as to what might be wrong.

Best wishes, harald

Read only

Former Member
0 Likes
686

OK