cancel
Showing results for 
Search instead for 
Did you mean: 

Error in method CONFIRM_BP_FROM_ONEORDER, line 28

former_member227595
Active Participant
0 Kudos

Hi gurus,

When I am trying to save a order. I am receiving this dump.

CL_CRM_IC_BOL_TX_HANDLER->CONFIRM_BP_FROM_ONEORDER error in line 28.

It appears in this part of the code:

READ TABLE cl_crm_aui_service=>st_inbox_item_types INTO ls_item WITH KEY item_type = 'ONEORDER'.
CREATE OBJECT lr_oneorder_ TYPE (ls_item-classname) EXPORTING iv_bol_entity = ir_oneorder.

Cannot find the record 'ONEORDER' so in the create object line, it dumps.


Does anybody know how could be ?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

former_member182421
Active Contributor
0 Kudos

Hi Diego,

Did you call yourself the method or is triggered by the standard?

Cheers!

Luis

former_member227595
Active Participant
0 Kudos

is triggered by the standard

former_member182421
Active Contributor
0 Kudos

I tried to use another BOL "method" and It didn't work well, debugging I saw a bug in the program, so I raised a message, as I was using the method from custom code, SAP didn't support me, In your case maybe is a config error, I'm not sure about this, maybe you should give more detail about what are you doing, from a process point of view, looks like is an IC scneario with a services order,  but anyway I would rasie to SAP an error message.

Cheers!

Luis

former_member227595
Active Participant
0 Kudos

Hi,

I am trying to set up a layout with a

CALL METHOD me->set_config_keys
         EXPORTING
           iv_object_type          = lv_ctype
           iv_object_sub_type      = lv_subtype
           iv_propagate_2_children = 'X'.


former_member227595
Active Participant
0 Kudos

Ive my code in DO_CONFIG_DETERMINATION

former_member188098
Active Contributor
0 Kudos

Hi,

Try with the following to check whether error is due to your enhancement or in standard  .Ignore your custom enhancements by adding Parameter in SU01 as :-

WCF_IGNORE_ENHANCEMT = A .

Regards,

former_member227595
Active Participant
0 Kudos

Hi, It doesn't work.

former_member182421
Active Contributor
0 Kudos

Doesn't make sense to me, it's hard to belive your code force this method triggering.

Are you in web client or in the Iteraction center? Are you creating a sales order or a service order? In which CRM version/SP are you?

BTW if what Harish Kumar suggested is not avoiding the DUMP then probably you have something wrong in config, and I mean functional config, otherwise I still recommend you to raise a message.

Cheers!

Luis

former_member227595
Active Participant
0 Kudos

Hi, I'm in the web client.

When I create an order, I fill all the field. Save > and the message appears.

I've configured a layout (<Z***> <ZCP1>). But I think ive something wrong with this. Because when I modify an order works well (has another layout <Default> <Default>).

former_member182421
Active Contributor
0 Kudos

hmmmm what's the differences with both layouts? Maybe you should copy again the <defautl> in order to test and start to removing/adding fields one by one to see if there's a hidden logic in a spefici field, do you know what I mean?

former_member227595
Active Participant
0 Kudos

Hi Luis,

I've found the error via debug.

The error is here in the below image.

When I create the Order It's entering in this check:

CHECK lr_entity EQ mr_current_uiu_entity.

And then it's raising a dump.

Instead when I modify a Order its not entering in the check. > Working fine.

Regards

former_member182421
Active Contributor
0 Kudos

Weird, each instance to which entity is pointing to? Looks like the system is comparing different BOL instances, can you check that? You will find he mane in the attribute CONTAINER_PROXY->DATA_REF of each instance

former_member227595
Active Participant
0 Kudos

its comparing BTOrder with BTOrder

former_member182421
Active Contributor
0 Kudos

I'm missing something, The dumps is rased because the check sentence? or is raised where you specified in the first screenshoot? in case the dump is raised by the check, can you give me the screenshoot ?

former_member227595
Active Participant
0 Kudos

Yes ..

The dump is raised because of the below read

this is inside of method after_edit().

The class don't exist.

Regards

former_member182421
Active Contributor
0 Kudos

Can you check the content of the table crmc_aui_itemscl?

Take a look at the following spro path

Customer Relationship Management/Interaction Center WinClient/Bandeja de entrada del agente/Parametrizaciones básicas para clases de elemento/Asignar clases de implementación

You should have ONEORDER pointing to the class CL_CRM_AUI_ONEORDER per default, anyway this is Interaction center maybe you also need to check other customizing related,

former_member227595
Active Participant
0 Kudos

You are a MASTER !!! .

Was that, I add the entry and now its working SUPER !!

THANKS a LOT!!!!

former_member182421
Active Contributor
0 Kudos

Glad to help

Take care!

Luis

Answers (0)