cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory fields in BP error

Former Member
0 Kudos

Hi Experts,

I am replicating a BP (Customer) from CRM to R3. Although currently there are no mandatory fields, I get an error to fill up mandatory fields in SMW01. How do I find which field is considered as mandatory in debugging the outbound queue? Which function module should I debug? What are the indicators for mandatory fields there?

Regards,

Abdullah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Make sure the Language feild has been filled in CRM business partner. This field can be seen in Communication data.

This error comes from R/3. Thats is when the system tries to replicated the business partner in R/3, all the requried fields in R/3 must be filled.

Just check if the all the requried fields for the account group has been filled in CRM Business partner.

Regards,

Shalini Chauhan

Former Member
0 Kudos

Hi Shalini,

I am facing one more problem. I have to use /h before save to debug and I am unable to debug function module CRM_UPLOAD_TRIGGER. If I go to the outbound queue, and click F8, I do not enter into debugging. The user I have logged in as is a dialog user but the outbound queue uses a communications user.

Regards,

Abdullah

Former Member
0 Kudos

Hi,

If you want to debug Queues, try out his method:

1. In transaction SE24, class CL_SMW_MFLOW, method __OUTBOUND_HANDLER.

Put a Break point at statement (line 51)

if in_updatetask eq c_false.

if not ch_header-qname is initial or not lt_queues is initial.

if ch_header-dbgmode eq c_false.

2. WHen u save the order, this break point will be hit. Change in_updatetask to space and ch_header-dbgmode to X.

and F8.

This shall get ur queues in intermediate stage.

3. Check in transaction SMW01, the Bdoc will be present in Intermediate stage.

Also put the breakpoint at the desired place where you wish to check the entries.

Reprocess the Bdoc, it shall hit the desired breakpoint.

Wish this helps.

Regards,

Shalini Chauhan

Former Member
0 Kudos

Hi Shalini,

Thanks a lot for your help. The accounting group was not maintained by the functional guys and I was not aware of the language being mandatory.

The debugging part, I am able to place a break point on function module CRM_UPLOAD_TRIGGER. The control stops there but it does not go inside this function module. Rather it takes me to the next line after the function module has been processed.

Anyways the main problem has been solved. Thanks a lot once again.

Regards,

Abdullah Ismail

Answers (0)