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: 

BD10 and BD21 - Idoc custom segment - Error in BD21 but no error in BD10

Former Member
0 Kudos

Hi All,

I have a custom segment 'ZXXXXX' added to MATMAS05 idoc type.

When I use BD10 to send a material to another system I don't have any errors but when I use BD21 Change pointers I'm getting an internal error.

Is there something I need to add so that it works both for BD10 and BD21 without any errors?

Please help.

Meghna

4 REPLIES 4

alex_m
Active Contributor
0 Kudos

BD10 & BD21 shares the common exit include, whether the idoc got created via BD10 has the custom segment populated?

Whats the error you got while executing BD21?..

Former Member
0 Kudos

Thanks.

When I use BD10 I can see the IDOC with status 03 ( Data transferred to port OK )

when I use BD21 Internal error: Program read table idoc_structure, command data_select_for_block, argument ZXXXXX

(argument ZXXXXX - referring to the custom segment I believe..)

Please help.

Meghna

Former Member
0 Kudos

Do you have a filter in the distribution model for a field in your custom segment ?

If yes ... you have to assign parameter CIMTYP (changing parameter) in your customer exit with the Value of your "IDoc Extensionname"

Example:

IDOCTP = MATMAS05

Extzension = ZZMATMAS

P_CIMTYP = 'ZZMATMAS'.

That´s all !

0 Kudos

Hi Gordon Breuer,

Thank you very much it helped to resolve my issue.