‎2008 Nov 11 6:12 AM
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
‎2008 Nov 13 5:10 AM
‎2008 Nov 13 5:24 AM
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.