Application Development 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: 

IDOC filter problem in BD64

Former Member
0 Kudos

Hi,

I created a filter in BD64 for message type ZDEBMAS with account group(ZSB) of customer as the filter. If you give other than ZSB customer account group, it is suppose to skip the IDOC.

But it is throwing error "internal error: Program read table idoc_structure, command data_select_for_block, argument Z1ADRC".

Here Z1ADRC is the custom segment in ZDEBMAS.

What can be the problem. Please help me out of this .

13 REPLIES 13

bpawanchand
Active Contributor
0 Kudos

hi

Refer the thread

Regards

Pavan

Former Member
0 Kudos

Hi,

Please check that segment is relased or not.

Regards

Jana

0 Kudos

Hi Janardhan,

I have released the both the IDOC type as well as Z1ADRC segment.

any other clue?

Hi Pavan,

I already see that thread and implemented the same , still i am facing the problem.

0 Kudos

hi,

Are you generated Modelveiw-->Distribute.

regards

jana

0 Kudos

Hi Janardhan,

I had created the model view for ZDEBMAS and generated partner profile. As i am sending to non SAP system (Siebel) no need to distribute the model view.

IDOC getting generated for ZSB account group customers, problem is with the other account group customers.

The Error i got after adding the filter in BD64 for account group.

Any other clue.

0 Kudos

Hi ,

I solved the problem on my own.. This was happened because of the basic type and extension type were not updated when calling the MASTER_IDOC_DISTRIBUTE FM inside the program. So i updated the basic type and extension type in the enhancement spot based on the message type.

0 Kudos

Hi Rajesh,

I have the same problem with Message Type Z_X_MATMAS, what do you mean with update the basic type and extension type in the enhancement spot ?

Could you plese give me more details or add part of that code if possible ?

Thanks in advance

Juan Garcia

0 Kudos

Juan,

go to CMOD

Choose your IDOC_OUTPUT FM and go to the export Parameter.

There is one like "extension" or "cimtyp".

fill this parameter with your IDoc Extension Name like "Z_X_MATMAS".

activate and go

0 Kudos

Hi Gordon,

I did as you advice, but now I got this message:

1 master IDocs set up for message type

Z_X_MATMAS

0 communication IDoc(s) generated for message type

Z_X_MATMAS

No IDOC is generated, please help.

0 Kudos

Hi Gordon,

Tcode BD10 is working properly with Idoc filtering, the message I replied you is the rigth one when the material not meet with filters, so there's no problem, I guess I was sleepy trying to find something else.

Thanks a Lot !!! Your help was very useful.

Juan Garcia

0 Kudos

you´re welcome !

Regards,

Gordon

0 Kudos

Rajesh,

Can you explain how you found enhancement spot? I am running into same issue while trying to send IDocs from ECC to E-Recruitment for some (additional) infotypes. Specifically, I am trying to find an enhancement spot/section in include LBD11F0G. We are on ECC 6.0.

Thanks,

Atif

0 Kudos

In the FM MASTERIDOC_CREATE_<Message type name>, Enhancement has to be implemented.

The IDoc Extension Name has to be passed to the CIMP field of the structure 'F_IDOC_HEADER'. for eg. if your IDoc Extension name is 'Z_IDOC_EXTEND' the code would be :

F_IDOC_HEADER-CIMP = 'Z_IDOC_EXTEND'.