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

BAPI/RFC for creating MATMAS IDOC

Former Member
0 Likes
1,775

Hello,

I have a scenario where I can receive MATMAS Idocs. But in certain cases I need the MATMAS data but the ERP system hasn't send this.

So I am looking for a RFC or BAPI that I can call with basically the material number and the logical system and that then sends the MATMAS idoc.

Any ideas would be appreciated.

Kind Regards,

Christoph Mertins

Hello,

I have a scenario where I can receive MATMAS Idocs. But in certain cases I need the MATMAS data but the ERP system hasn't send this.

So I am looking for a RFC or BAPI that I can call with basically the material number and the logical system and that then sends the MATMAS idoc.

Any ideas would be appreciated.

Kind Regards,

Christoph Mertins

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,055

Try to call FM MASTERIDOC_CREATE_MATMAS or report RBDMATST in a custom BAPI.

Regards,

Raymond

Read only

brad_bohn
Active Contributor
0 Likes
1,055

I don't think there's an RFC-enabled function though. You will probably need to wrap one of the MASTERIDOC*MATMAS functions with your own RFC-enabled function or wrap the BD10 functionality with a function (both suggested by Raymond above). Take a look at the functions in BD10 or do a where-used on MASTER_IDOC_DISTRIBUTE.