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

Filter problem in BD64

Former Member
0 Likes
1,576

Dear All,

When I am setting the filters in Customer Distribution model no IDOCs are getting generated.

Its giving the following message when I run RBDMIDOC program manually by giving the

message type CREMAS

{

1 master IDocs set up for message type CREMAS

0 communication IDoc(s) generated for message type

CREMAS

}

When I remove the Filter from the Distribution model IDOCs are getting generated...

My requirement is I want to generate IDOCs only when the Vendor Account group is "RTO".

For setting the filter the following changes I have done.

Maintained values in View V_TBD10 with the following values

ALE Object Type - KTOKK

Segm Type - E1LFA1M

No - 1

field KTOKK

Offset 13

Int length 4

After maintaing these values am able to see the Account group in Filter group and there I have

defined the value as RTO

even if I have account group RTO or not no IDOCS are getting generated ....what could be the

problem , please give ur inputs.

One more question is instead of scheduling the RBDMIDOC in background is there any setting to generate IDOC immediately after creating/changing the Vendor master

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
771

Can any one help me on this.....

Read only

asik_shameem
Active Contributor
0 Likes
771

Hi

Sometime if you add filter, the basic type will be changed internally to the recent one.

In your case it might be changed to CREMAS06 inside I guess.

Put a break point inside the FM MASTERIDOC_CREATE_CREMAS ( at the end ),

at CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' and check the variable F_IDOC_HEADER-IDOCTP.

It should be your basic type ( whatever you used in partner profiles).

If it is not, you have to change the basic type manually using some spots.

BR

Asik.